1 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
3 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
5 * docs/manual/appendix-integration.xml:
6 * docs/manual/appendix-licensing.xml:
7 * docs/manual/basics-elements.xml:
8 * docs/manual/basics-helloworld.xml:
9 * docs/manual/basics-pads.xml:
10 * docs/manual/highlevel-components.xml:
11 * docs/manual/highlevel-xml.xml:
12 * docs/manual/intro-basics.xml:
13 * docs/manual/intro-preface.xml:
14 Typo and formatting fixes (#538594).
16 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
18 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
19 Fix some memory leaks and uses of object instances that we don't
22 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
24 * plugins/elements/gstmultiqueue.c:
25 Add functionality to extra-size-buffers property.
27 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
29 * plugins/elements/gstmultiqueue.c:
30 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
31 activate the pads if they are added in STATE_NULL.
33 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
35 * docs/libs/gstreamer-libs-sections.txt:
37 * libs/gst/check/gstcheck.c:
38 * libs/gst/check/gstcheck.h:
39 API: gst_check_teardown_pad_by_name
41 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
43 * libs/gst/check/gstcheck.c:
44 * libs/gst/check/gstcheck.h:
45 Also setup request pads and allow setup pads by name (#537812)
46 API: gst_check_setup_src_pad_by_name
47 API: gst_check_setup_sink_pad_by_name
49 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
51 * tests/check/gst/gstbuffer.c:
52 * tests/check/pipelines/parse-launch.c:
53 Use HAVE_VALGRIND_H some more.
55 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
57 * scripts/cvs-update.sh:
58 Pass arguments to make.
59 Run autoregen.sh if Makefile is not there.
61 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
65 Don't assume that <valgrind/valgrind.h> exists just because
68 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
70 * tests/check/Makefile.am:
71 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
72 (gst_test_trans_class_init), (gst_test_trans_init),
73 (gst_test_trans_set_data), (result_sink_chain),
74 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
76 * tests/check/libs/transform1.c: (GST_START_TEST),
77 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
78 Add some test basetransform element and the beginnings of various
81 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
83 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
84 Increase code readability.
85 Don't try to compare buffer offsets when ther are invalid.
87 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
89 * docs/design/Makefile.am:
90 Dist some more design docs.
92 * docs/random/moving-plugins:
93 Small addition: good plugins mustn't have functional code
94 within assertion macros.
96 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
98 * docs/design/draft-framestep.txt:
99 Some ideas about a framestep API
101 * docs/design/part-element-transform.txt:
102 Start design and use cases for basetransform in order to get it
105 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
108 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
109 be in UTF-8 encoding.
111 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
114 Make it known that gst_bus_poll() is pure evil (fixes #538810).
116 2008-06-20 Stefan Kost <ensonic@users.sf.net>
118 * plugins/elements/gstcapsfilter.c:
119 * plugins/elements/gstfakesink.c:
120 * plugins/elements/gstfakesrc.c:
121 * plugins/elements/gstfdsink.c:
122 * plugins/elements/gstfdsrc.c:
123 * plugins/elements/gstfilesink.c:
124 * plugins/elements/gstfilesrc.c:
125 * plugins/elements/gstidentity.c:
126 * plugins/elements/gstmultiqueue.c:
127 * plugins/elements/gstqueue.c:
128 * plugins/elements/gsttee.c:
129 * plugins/elements/gsttypefindelement.c:
130 Remove short_description. Add basic docs for gsttypefindelement.
131 Simplify markup for fakesrc/fdsrc.
133 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
135 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
138 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
140 Patch by: joel larsson <tilljoel at gmail dot com>
142 * docs/plugins/gstreamer-plugins.args:
143 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
144 (gst_fd_src_init), (gst_fd_src_update_fd),
145 (gst_fd_src_set_property), (gst_fd_src_get_property),
147 * plugins/elements/gstfdsrc.h:
148 Add timeout property like udpsrc. Fixes #538628.
149 Add some more docs and example pipelines.
151 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
153 * docs/libs/gstreamer-libs-sections.txt:
154 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
155 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
156 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
157 (gst_base_sink_do_sync):
158 * libs/gst/base/gstbasesink.h:
159 * win32/common/libgstbase.def:
160 Add method to allow sinks to specify additional delay between the sync
161 times and the actual rendering of the data.
162 API: gst_base_sink_set_render_delay()
163 API: gst_base_sink_get_render_delay()
165 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
168 Bump version number back to dev -> 0.10.20.1
170 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
172 * docs/gst/gstreamer-sections.txt:
173 * gst/gsttaglist.c: (_gst_tag_initialize):
175 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
178 2008-06-20 Stefan Kost <ensonic@users.sf.net>
180 * libs/gst/controller/gstcontroller.c:
181 Revert one change, that make ret value possible uninitialized.
183 2008-06-20 Stefan Kost <ensonic@users.sf.net>
185 * libs/gst/controller/gstcontroller.c:
186 Use freeze/thaw notify to sync notify emission a bit (its also more
187 efficient). Move debug output to LOG (is called a lot in a loop).
188 Always unset g_values if the have been initialized.
190 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
192 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
193 (gst_base_sink_wait_eos), (gst_base_sink_event):
194 If we have not seen a buffer before EOS, use the segment values to
195 report the current position instead of invalid positions.
197 2008-06-20 Stefan Kost <ensonic@users.sf.net>
199 * docs/plugins/tmpl/.cvsignore:
200 * tests/check/gst/.cvsignore:
203 2008-06-20 Stefan Kost <ensonic@users.sf.net>
205 * libs/gst/controller/gstinterpolation.c:
206 * libs/gst/controller/gstinterpolationcontrolsource.c:
207 * tests/check/libs/controller.c:
208 Rewrite handling of default values. Fix overflow with unsigned types
209 in linear interpolation. Remove now obsolete _first_value() function.
210 Add more tests. Fixes #538201.
212 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
214 * libs/gst/base/gstbasetransform.c:
215 (gst_base_transform_class_init), (gst_base_transform_init),
216 (gst_base_transform_transform_caps),
217 (gst_base_transform_prepare_output_buffer):
219 When a buffer is writable, its metadata is also writable so we don't
220 need to subbuffer (which then makes the buffer not-writable anymore).
222 === release 0.10.20 ===
224 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
227 releasing 0.10.20, "You Crazy Diamond"
229 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
232 0.10.19.3 pre-release
234 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
238 Rename DATADIR to GST_DATADIR to avoid build problems
239 on win32. Patch By: David Schleef <ds@schleef.org>
242 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
245 Explicitely link with -ldl if dladdr() is found there. Before it was
246 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
247 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
249 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
251 * gst/gsterror.c: (_gst_stream_errors_init):
252 Fix typo (spotted by Fabricio Godoy, #536723).
254 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
257 0.10.19.2 pre-release
259 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
261 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
262 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
264 Make sure we don't generate invalid QoS messages.
266 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
268 * gst/gstevent.c: (gst_event_new_qos):
269 Add some assert and docs for invalid input to the qos function.
271 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
273 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
274 (gst_base_sink_get_position):
275 The reported position must always be smaller than the last seen
276 timestamps (or timestamp + duration for reverse).
278 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
280 Patch by: Rob Bradford <rob at robster dot org dot uk>
282 * gst/gstregistry.c: (gst_registry_scan_path_level):
283 Don't recurse into .debug directories as some distros install
284 the debugging symbols next to the plugins in .debug directories
285 and dlopen() crashes on them sometimes. Fixes bug #508070.
287 Add FIXME for 0.11 to not recurse into directories at all because
288 it's very inconsistent to the behaviour of other PATH environment
291 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
293 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
294 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
295 Fix position query range checks in reverse playback.
297 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
301 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
302 clear of the reference to the resulting pad must be released later
303 or not, resulting in possible leaks. Fixes bug #533865.
305 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
307 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
309 * gst/gstelementfactory.c:
310 Small doc fix. Fixes #535285.
312 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
314 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
316 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
317 (gst_base_src_get_range), (gst_base_src_pad_get_range),
318 (gst_base_src_loop), (gst_base_src_set_flushing),
319 (gst_base_src_change_state):
320 Make sending an EOS event to the basesrc non-blocking even if the
321 implementation does blocking waits in the create function. This is done
322 by unlocking the create function when EOS is sent.
325 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
327 * tools/gst-inspect.c: (print_element_properties_info):
328 If possible print the element type of GValueArray properties.
330 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
333 Remove an unused field from the private GstListIterator struct.
335 2008-05-27 Stefan Kost <ensonic@users.sf.net>
337 * libs/gst/controller/gstcontroller.c:
338 Add parameter guards.
340 2008-05-27 Stefan Kost <ensonic@users.sf.net>
342 * tests/check/gst/gstpipeline.c:
343 Revert test change and add comment why it should not work.
345 2008-05-27 Stefan Kost <ensonic@users.sf.net>
347 * tests/check/gst/gstpipeline.c:
348 Extending the test a little to verify that we also get the NULL state-
351 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
353 * gst/gstpreset.c: (gst_preset_default_get_meta),
354 (gst_preset_get_preset_names), (gst_preset_get_property_names),
355 (gst_preset_load_preset), (gst_preset_save_preset),
356 (gst_preset_rename_preset), (gst_preset_delete_preset),
357 (gst_preset_set_meta):
358 Add Since: markers to docs blurbs.
360 * win32/common/libgstreamer.def:
361 Add recently-added API.
363 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
365 Patch by: Stefan Kost <ensonic@users.sf.net>
368 Add DATADIR for storing presets.
370 * docs/gst/gstreamer-docs.sgml:
371 * docs/gst/gstreamer-sections.txt:
372 * docs/gst/gstreamer.types.in:
373 Add GstPreset to docs.
377 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
378 (preset_open_and_parse_header), (preset_parse_version),
379 (preset_merge), (preset_get_keyfile),
380 (gst_preset_default_get_preset_names),
381 (gst_preset_default_get_property_names),
382 (gst_preset_default_load_preset),
383 (gst_preset_default_save_presets_file),
384 (gst_preset_default_save_preset),
385 (gst_preset_default_rename_preset),
386 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
387 (gst_preset_default_get_meta), (gst_preset_default_randomize),
388 (gst_preset_default_reset), (gst_preset_get_preset_names),
389 (gst_preset_get_property_names), (gst_preset_load_preset),
390 (gst_preset_save_preset), (gst_preset_rename_preset),
391 (gst_preset_delete_preset), (gst_preset_set_meta),
392 (gst_preset_get_meta), (gst_preset_class_init),
393 (gst_preset_base_init), (gst_preset_get_type):
395 Add GstPreset to core. Fixes #396779
397 * tests/check/Makefile.am:
398 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
399 (gst_preset_test_set_property), (gst_preset_test_class_init),
400 (gst_preset_test_base_init), (gst_preset_test_get_type),
401 (gst_preset_test_plugin_init), (GST_START_TEST),
402 (remove_preset_file), (test_setup), (test_teardown),
404 Add GstPreset unit tests.
406 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
408 * gst/gstpad.c: (gst_pad_event_default_dispatch):
409 The default event function on a sinkpad should return TRUE when
410 there are no internal links but should collect the return values from
411 the internal links otherwise.
413 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
415 * plugins/elements/gsttypefindelement.c:
416 (gst_type_find_element_src_event),
417 (gst_type_find_element_handle_event):
418 Use faster and safer _pad_push_event().
420 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
422 * docs/gst/gstreamer-sections.txt:
423 * gst/gstutils.c: (element_find_unlinked_pad),
424 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
426 API: add gst_bin_find_unlinked_pad()
427 API: deprecate gst_bin_find_unconnected_pad() (#401456)
429 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
435 Fixed a bunch of typos.
437 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
440 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
441 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
442 (gst_parse_bin_from_description_full):
444 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
446 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
448 * docs/pwg/advanced-tagging.xml:
449 Small docs update, can't be bothered to rewrite the nonsensical
452 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
455 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
457 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
459 * gst/parse/grammar.y:
460 Remove unneeded casts.
462 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
464 * gst/parse/grammar.y:
465 * tests/check/pipelines/parse-launch.c:
466 Get all missing elements from a parse launch string if possible
467 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
469 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
471 * tests/check/Makefile.am:
472 * tests/check/pipelines/parse-launch.c:
473 Add some unit tests for the new gst_parse_launch*_full() API.
474 (Exposes a previously-existing memory leak in the error code
475 path, so adding to VALGRIND_TO_FIX for now).
477 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
479 * docs/gst/gstreamer-sections.txt:
480 * gst/gst.c: (init_post):
481 * gst/gst_private.h: (_GstParseContext):
482 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
483 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
484 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
485 (gst_parse_launch_full):
486 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
487 (GstParseFlags), (GstParseContext):
488 * gst/gstutils.c: (gst_parse_bin_from_description),
489 (gst_parse_bin_from_description_full):
491 * gst/parse/grammar.y:
493 * win32/common/libgstreamer.def:
494 Add new gst_parse_*_full API (#528178):
495 API: gst_parse_launch_full()
496 API: gst_parse_launchv_full()
497 API: gst_parse_bin_from_description_full()
498 API: gst_parse_context_new()
499 API: gst_parse_context_free()
500 API: gst_parse_context_get_missing_elements()
502 2008-05-23 Stefan Kost <ensonic@users.sf.net>
504 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
506 * docs/faq/gst-uninstalled:
507 Also support ffmpeg in gst-uninstalled.
509 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
512 After discussion on IRC use the binary registry as default
513 but allow to disable it with --disable-binary-registry.
515 * win32/common/libgstreamer.def:
516 Add the two new symbols for the binary registry.
518 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
520 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
521 * gst/gstutils.c: (gst_parse_bin_from_description):
522 * gst/parse/grammar.y: (graph):
523 More guards against bad input; typo fix; some minor clean-ups.
525 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
527 Patch by: Sjoerd Simons <sjoerd at luon dot net>
529 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
530 If nothing else can be used, use the last buffer's start time as
531 the segment's last stop. Fixes bug #534258.
533 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
535 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
536 Move size sanity check to the right place: downstream may return
537 a buffer with a smaller size if the buffer caps are different than
538 the requested ones, as may happen when doing reverse negotiation.
540 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
542 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
543 (gst_file_sink_render):
544 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
545 (gst_file_src_start):
546 Small cleanups. Add note adbout g_fopen() on windows and why we don't
549 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
551 * gst/gstpad.c: (gst_pad_load_and_link):
552 * gst/gstutils.c: (gst_element_link_pads),
553 (gst_element_unlink_pads):
554 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
555 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
556 (gst_check_teardown_sink_pad),
557 (gst_check_element_push_buffer_list):
558 * tests/check/elements/fakesink.c: (GST_START_TEST):
559 * tests/check/elements/filesink.c:
560 * tests/check/elements/filesrc.c: (GST_START_TEST):
561 * tests/check/elements/multiqueue.c: (setup_multiqueue),
562 (mq_sinkpad_to_srcpad):
563 * tests/check/elements/tee.c: (GST_START_TEST):
564 * tests/check/generic/sinks.c: (GST_START_TEST):
565 * tests/check/gst/gstbin.c: (GST_START_TEST):
566 * tests/check/gst/gstevent.c: (GST_START_TEST):
567 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
568 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
569 * tests/check/gst/gstquery.c: (GST_START_TEST):
570 * tests/check/gst/gstutils.c: (GST_START_TEST):
571 * tests/check/libs/basesrc.c: (GST_START_TEST):
572 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
573 (gst_parse_test_element_change_state):
574 Don't use gst_element_get_pad().
576 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
579 Fix installing plugin documentation when gtk-doc is disabled.
581 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
583 * docs/manual/advanced-autoplugging.xml:
584 * docs/manual/basics-helloworld.xml:
585 * docs/manual/basics-pads.xml:
586 * docs/manual/highlevel-components.xml:
587 Avoid using a bad function in the example code.
589 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
591 * gst/gstclock.c: (gst_clock_set_calibration):
592 Fix debug of the new clock rate.
594 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
596 * win32/common/libgstbase.def:
597 Add gst_base_sink_wait_clock() to the exported symbols.
599 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
601 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
603 * libs/gst/base/gstbasetransform.c:
604 (gst_base_transform_sink_event):
605 Unref events that the GstBaseTransform::event vfunc didn't want to
606 have forwarded by the base class. Closes a leak in identity.
609 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
611 * docs/libs/gstreamer-libs-sections.txt:
612 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
613 * libs/gst/base/gstbasesink.h:
614 Expose a method that was previously used internally to synchronize
615 against the clock because it can be useful for subclasses too.
616 API: GstBaseSink::gst_base_sink_wait_clock()
618 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
620 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
621 Add sanity check to make sure we don't get smaller buffers
622 than requested (and fallback to normal buffer alloc if we do).
624 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
626 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
627 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
628 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
629 Refactor adjusting the running_time with latency and offset into a
631 When doing clipping, we still want to use the subclass get_times method,
632 just in case the DURATION or TIMESTAMP are not set.
634 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
636 * docs/gst/gstreamer-sections.txt:
637 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
639 * win32/common/libgstreamer.def:
640 API: add gst_type_find_suggest_simple(), #533740.
642 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
644 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
645 Use right error code when typefinding fails, so we can use
646 the default (translated) error messages.
648 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
650 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
651 (gst_base_src_start):
652 When the subclass did not set caps on outgoing buffers, configure the
653 caps we negotiated on the source pad.
654 When the typefind helper does not find caps, error out properly instead
655 of doing things with NULL caps.
657 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
660 Tabs to spaces, oh yes!
662 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
664 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
665 Add David's and Benjamin's tests for array intersection to the
666 unit test suite (#147931).
668 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
671 Document that gst_event_new_tag() and gst_event_new_navigation()
672 take ownership of the taglist/structure passed to them. (#533635).
674 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
677 Don't descend into the plugins dir if plugin docs building
681 Add a note about the new type:GTypeName syntax for the plugin
682 documentation .types file.
684 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
686 * gst/gstmessage.c: (gst_message_new_error),
687 (gst_message_new_warning), (gst_message_new_info):
689 Mark the debug string parameters as const. Fixes bug #533490.
691 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
693 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
694 Sort buffer cache list by end offsets. This makes sure that we don't
695 stop to search for a cached buffer that contains the requested data
697 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
698 more efficient. Fixes bug #459862.
700 2008-05-14 Stefan Kost <ensonic@users.sf.net>
703 Explain why we copy the list.
709 Add one debug-log statement to help tracing probelms with linking pads.
711 2008-05-12 Stefan Kost <ensonic@users.sf.net>
713 * tests/check/gst/gstinfo.c:
714 Add a test for removing the default log handler. Seems to fail under
717 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
719 * gst/gstpad.c: (gst_pad_peer_accept_caps):
720 Release pad lock before calling out to avoid a possible deadlock.
722 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
724 * gst/parse/grammar.y:
725 Remove unneeded value unset.
727 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
728 Add unit test for de/serialization of caps.
730 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
732 * plugins/elements/gstfakesink.c:
733 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
734 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
735 (gst_fake_src_class_init):
736 Use custom marshalers that take GstMiniObject as first parameter.
737 Using OBJECT as parameter while a GstMiniObject is given will lead
738 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
740 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
742 * plugins/elements/gsttypefindelement.c:
743 (gst_type_find_element_handle_event),
744 (gst_type_find_element_send_cached_events),
745 (gst_type_find_element_change_state):
746 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
749 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
751 * plugins/elements/gsttypefindelement.c:
752 (gst_type_find_handle_src_query), (stop_typefinding),
753 (gst_type_find_element_handle_event),
754 (gst_type_find_element_send_cached_events),
755 (gst_type_find_element_change_state):
756 Forward FLUSH_START events immediately and clean up instead of
759 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
761 Patch by: Sjoerd Simons <sjoerd at luon dot net>
763 * libs/gst/base/gstbasetransform.c:
764 (gst_base_transform_buffer_alloc):
765 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
766 fall back to default negotiation in the chain function if the caps
767 are different from what was requested. Fixes bug #526768.
769 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
772 * tests/check/gst/gstsegment.c:
773 No, let's not use g_slice_{dup|copy} here, since they only exist
774 since GLib 2.14 and we still depend only on >= 2.12. Also add
775 unit test for gst_segment_copy().
777 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
779 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
780 Try to fix 'dereferencing type-punned pointer will break strict
781 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
782 changed the default GType typedef from gulong to gsize at some point,
783 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
784 g_once_* functions all take a gsize * though, so work around the type
785 mismatch for C++ by doing everything in gsize and casting to GType
788 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
790 * plugins/elements/gstmultiqueue.c:
791 Add documentation for the signals to push our core plugin docs
792 coverage back up to 100%.
794 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
796 * gst/gstinfo.h (GST_FUNCTION):
797 Reverted GST_FUNCTION to the old version as we don't want the
798 full signature in C++ code. Also added support for MSVC.
800 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
803 Intern the type name string, similar to what G_DEFINE_TYPE does.
805 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
808 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
810 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
812 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
814 * libs/gst/base/gstbasetransform.c:
815 (gst_base_transform_buffer_alloc):
816 Don't passthrough buffer allocation too easily if the caps change.
817 This breaks when working in passthrough mode and upstream changes
818 it's caps. Fixes bug #526768.
820 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
822 * gst/gstinfo.c (gst_debug_log_valist):
823 Improved the __FILE__ part of debug output for MSVC.
825 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
827 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
828 Declaration after statement fix for compilers like MSVC.
830 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
832 * win32/common/config.h.in:
833 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
834 use the real thing than having "???" unconditionally.
836 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
838 * gst/gstinfo.h (GST_FUNCTION):
839 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
841 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
843 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
846 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
847 (gst_base_sink_set_flushing):
848 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
851 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
853 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
854 (gst_fake_src_init), (gst_fake_src_set_property),
855 (gst_fake_src_get_property), (gst_fake_src_start):
856 * plugins/elements/gstfakesrc.h:
857 Added format property to control the format of the newsegment events.
858 API: GstFakeSrc:format
860 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
862 * win32/common/libgstreamer.def:
863 Add gst_pad_has_name() to the exported symbols.
865 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
867 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
868 * libs/gst/base/gstbasetransform.c:
869 (gst_base_transform_prepare_output_buffer):
870 Don't allow negative sizes when allocating new buffers.
873 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
875 Patch by: Sjoerd Simons <sjoerd at luon net>
877 * gst/gstbus.c: (gst_bus_source_dispatch):
878 Don't print a warning if the queue is empty when we try to pop
879 here. That could happen if another thread or callback set the
880 bus to flushing between the source's check/prepare and the
881 dispatch being called (#531538).
883 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
885 * plugins/elements/gstmultiqueue.c:
888 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
890 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
891 Add unit test for deserializing uint64s and check some really large
892 numbers in the int64 test.
894 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
896 * tools/gst-inspect.c: (n_print), (print_hierarchy),
897 (print_interfaces), (print_element_properties_info),
899 Use "%s" as format string instead of printing strings directly.
901 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
903 * gst/gstclock.c: (gst_clock_set_calibration):
904 Make some checks actually useful.
906 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
907 Remove some unused code. Unsigned integers tend to be >= 0.
909 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
911 * gst/gstminiobject.c: (gst_value_get_mini_object):
912 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
913 function was not in the unscheduled 0.10.19 release.
915 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
917 * gst/gstregistry.c: (gst_registry_scan_path_level):
918 Only print one log message per non-plugin file.
920 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
922 * gst/gstinfo.c: (gst_debug_log_default):
923 Fix alignment of debug log columns on 64-bit.
925 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
927 * docs/libs/Makefile.am:
928 * docs/libs/gstreamer-libs-sections.txt:
929 Ignore private controller headers for docs.
931 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
933 * libs/gst/controller/gstcontrollerprivate.h:
934 * libs/gst/controller/gsthelper.c:
935 * libs/gst/controller/gstinterpolation.c:
936 * libs/gst/controller/gstinterpolationcontrolsource.c:
937 (gst_interpolation_control_source_set_interpolation_mode):
938 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
939 * libs/gst/controller/lib.c:
940 Move some private declarations into private headers.
942 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
944 * gst/gstdebugutils.c: (debug_dump_element_pad):
945 Remove some code that is unused after Stefan's refactoring and uses
946 uninitialized variables now, resulting in a compiler warning.
948 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
950 * gst/gstregistry.c: (gst_registry_scan_path_level):
951 Run g_str_has_suffix() only on the file name, not the
954 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
956 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
957 Since we're not called only from the chain function any longer,
958 we can't assume that there's always data in the queue, so move
959 the is_full check to the beginning of the loop (otherwise we'd
960 hit the assert when changing the limit properties while the
961 queue is empty or not running yet).
962 Also, only set a discont if items were actually removed from
965 * tests/check/elements/queue.c: (test_leaky_downstream):
966 Test case for the above.
968 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
970 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
972 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
973 (gst_queue_chain), (queue_capacity_change),
974 (gst_queue_set_property):
975 When changing thr max capacity of a leaky queue, immediatly drop buffers
976 instead of waiting for a push on the sinkpad. Fixes #530637.
978 2008-04-30 Stefan Kost <ensonic@users.sf.net>
980 * gst/gstdebugutils.c:
981 Refactor code and fix handling of ghostpads and their proxypads.
983 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
985 * docs/gst/gstreamer-sections.txt:
986 * gst/gstevent.c: (gst_event_has_name):
988 * tests/check/gst/gstevent.c: (GST_START_TEST):
989 Add method to conveniently check the name of a custom event with
990 gst_event_has_name().
991 Reformat the event docs so that related methods are put together instead
992 of the default alphabetical sort.
993 Update unit test with new method.
994 API: GstEvent::gst_event_has_name()
996 2008-04-28 Michael Smith <msmith@songbirdnest.com>
998 * libs/gst/check/Makefile.am:
999 Don't add an explicit link to libgstreamer-0.10.la; it's already
1000 included in GST_OBJ_LIBS.
1002 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1005 Register GstClock type from a type-safe context. Fixes bug #530317.
1007 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1009 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1011 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1013 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1015 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1017 Use the GLib stuff to create a private structure.
1018 Add some locking around some dispose methods to make them a little
1019 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1021 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1023 * libs/gst/base/gstbasesink.h:
1024 * libs/gst/base/gstbasesrc.h:
1025 * libs/gst/base/gstbasetransform.h:
1026 * libs/gst/base/gstcollectpads.h:
1027 Fix doc typos and unify caps a bit.
1029 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1031 * tools/gst-launch.1.in:
1032 Forgot to also add the envvar docs here.
1034 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1036 * gst/gst.c: (init_post), (gst_deinit):
1037 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1038 (test_concurrent_create), (gst_pipeline_suite):
1039 Ref some more classes in gst_init() to work around thread-safety
1040 issues in pre-2.16 GLibs, and add basic unit test.
1042 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1044 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1045 (gst_base_sink_send_event):
1046 Rearrange the latency query code. We always want to do the upstream
1047 query, even if we are not live so that the upstream elements can get the
1048 latency results too. If we fail doing the query and we are live, we
1049 return TRUE afterwards.
1051 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1053 patch by: Jason Zhao <e3423c@motorola.com>
1055 * docs/gst/running.xml:
1057 Enable/disable scan_and_update_registry() based on commandline switch
1058 or environment variable. Fixes #520468.
1061 Fix typo in my previous commit.
1063 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1065 * gst/gstregistrybinary.c:
1066 Add a warning if we hit unhandled factories when saving.
1067 More debug logging detail, but move to LOG category.
1069 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1071 * gst/gstregistry.c:
1072 Tell the *truth* when improving the documentation.
1074 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1076 * gst/gstelementfactory.c: (gst_element_factory_make):
1077 Unref the factory after it was used the last time, not before.
1079 * gst/gstindexfactory.c: (gst_index_factory_make):
1080 Improve debugging a bit and don't leak a ref to the index factory with
1083 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1085 * gst/gstregistry.c:
1086 Improve the documentation.
1088 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1091 The glib macro seems to be borked. Use g_slice_copy directly and cast
1092 in the hope that this fixes the warning on 64bit.
1094 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1097 Document the new function. Use g_slice_dup() (no need for
1098 gst_segment_init()).
1100 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1102 * docs/gst/gstreamer-sections.txt:
1103 Move GParamSepc macros to standart section.
1106 Dn't document _get_type - its in private section in docs anyway and
1107 this doc-blob was incomplete.
1110 Fix wrong symbol names in docs.
1113 Add once doc sentence.
1115 * tests/check/gst/.cvsignore:
1118 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1120 * docs/gst/Makefile.am:
1121 And remove those libs here.
1123 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1125 * docs/libs/Makefile.am:
1126 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1128 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1130 Patch by: Olivier Crete <tester at tester dot ca>
1132 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1133 Add the min-threshold to the min latency if possible. Fixes #529148.
1135 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1137 * docs/gst/gstreamer.types.in:
1138 Stupid editor, I removed that line as it should go in yet.
1140 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1142 * docs/gst/gstreamer.types.in:
1143 * docs/libs/gstreamer-libs.types:
1144 Remove library types fro core docs and have them in libs docs.
1145 Reformat and cleanup. Add comment for miniobject types.
1147 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1149 * gst/gsturi.c: (gst_uri_get_protocol):
1150 Fix leak: g_strdown operates on the string in place, while
1151 g_ascii_strdown() returns a newly-allocated string.
1153 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1155 * tools/gst-inspect.c: (print_uri_handler_info),
1156 (print_element_info):
1157 Print the URI protocols and the URI type supported by the element.
1159 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1161 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1162 Use g_value_take_string() instead of the deprecated
1163 g_value_set_string_take_ownership().
1165 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1167 * gst/gstregistrybinary.c: (_gst_crc32):
1168 Return the old CRC instead of 0 if we give a NULL buffer
1169 or a buffer with a length of 0.
1171 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1173 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1174 (gst_uri_get_protocol), (gst_uri_has_protocol),
1175 (gst_uri_construct), (gst_uri_handler_set_uri):
1176 A valid URI scheme can also include '+', '-' and '.' additional
1177 to alphanumeric characters as per RFC 3986 Section 3.1.
1179 Handle URI schemes case insensitive in all places and convert
1180 to lower-case when constructing an URI or setting an URI with
1181 the GstURIHandler interface. Fixes bug #528868.
1182 All elements can still assume (as before) that they will
1183 get passed URIs with a lower-case URI scheme by the GstURIHandler
1186 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1188 * gst/gstcaps.c: (gst_static_caps_get):
1189 * gst/gstclock.c: (gst_clock_entry_new):
1190 Don't use g_atomic_set_int where it's not needed.
1192 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1194 * gst/gstvalue.c: (gst_value_deserialize_caps):
1195 * gst/parse/grammar.y:
1198 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1200 * gst/gstutils.c: (gst_atomic_int_set):
1201 Use g_atomic_int_set() here too instead of assignment +
1204 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1208 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1209 now that we depend on new enough GLib.
1211 * gst/gstcaps.c: (gst_static_caps_get):
1212 * gst/gstclock.c: (gst_clock_entry_new):
1213 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1214 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1215 (gst_debug_category_set_threshold):
1216 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1217 (gst_base_sink_set_qos_enabled):
1218 * libs/gst/net/gstnettimeprovider.c:
1219 (gst_net_time_provider_set_property):
1220 Use g_atomic_int_set() instead of gst_atomic_int_set().
1222 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1225 Also use G_GINT64_CONSTANT for the queries.
1227 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1230 Use G_GINT64_CONSTANT in varargs function.
1232 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1234 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1235 Initialize the registry magic with zeroes.
1237 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1239 * gst/gstregistrybinary.c: (_gst_crc32),
1240 (gst_registry_binary_write),
1241 (gst_registry_binary_initialize_magic),
1242 (gst_registry_binary_write_cache),
1243 (gst_registry_binary_check_magic),
1244 (gst_registry_binary_read_cache):
1245 * gst/gstregistrybinary.h:
1246 Add crc32 checksum to the binary registry file and check this before
1247 accepting a registry file.
1249 Also free the data list when writing to the registry file fails.
1251 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1253 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1254 (gst_registry_binary_load_feature),
1255 (gst_registry_binary_load_plugin):
1256 If an element supports the Uri interface, returns a valid pointer
1257 to the supported URI protocols but this pointer contains nothing
1258 don't try to save that as it will corrupt the registry.
1260 Don't unref the plugin if we added it to the registry already but
1261 fail to load a feature as gst_registry_add_plugin() takes ownership
1264 Improve debugging a bit.
1266 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1269 Clarify some tag item docs after discussion on irc.
1271 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1273 * docs/gst/gstreamer-docs.sgml:
1274 Remove commented out plugins (they have their own docs). Update
1277 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1279 * docs/gst/gstreamer-docs.sgml:
1280 * docs/gst/gstreamer-sections.txt:
1281 * gst/gstparamspecs.c:
1282 * gst/gstparamspecs.h:
1283 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1284 docs to own section.
1287 This now only documents GValue.
1289 * docs/libs/gstreamer-libs-sections.txt:
1290 * libs/gst/controller/gstcontroller.h:
1291 Remove GST_PARAM_CONTROLLABLE.
1293 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1296 Correct file path. Tell about how to use -overrides.txt.
1297 * docs/design/draft-tagreading.txt:
1298 Small design update.
1300 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1302 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1303 (gst_registry_binary_load_plugin):
1304 Fix a typo in a debug message and revert change from yesterday as
1305 gst_registry_add_plugin() will only fail if something is really wrong
1306 already and we can't survive it anyway.
1308 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1310 * gst/gst.c: (init_post), (gst_deinit):
1311 Pre-register GstGError GType from a thread-safe context
1312 (fixes #527967); unref enum type classes in deinit.
1314 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1316 Patch by: Rene Stadler <mail at renestadler de>
1318 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1319 Merging an empty list with another list in KEEP_ALL mode should
1320 yield an empty list as result and not the second list (#512578).
1322 * tests/check/gst/gsttagsetter.c:
1323 Add unit test for tag merge modes and the aforementioned bug.
1325 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1327 Patch by: Rene Stadler <mail at renestadler de>
1330 Fix description to match the order in the table (#512577).
1332 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1334 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1336 * libs/gst/net/gstnettimepacket.h:
1337 * docs/libs/gstreamer-libs-sections.txt:
1338 Define socklen_t as int if it's not defined yet. Fixes compilation
1339 with MSVC6 and other versions where socklen_t is not defined in
1340 the windows headers (#518022).
1342 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1344 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1345 If gst_registry_add_plugin() fails our reference to the plugin is
1346 invalid so don't try to use it anymore and instead error out.
1348 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1350 * tools/gst-xmlinspect.c: (print_element_info), (main):
1351 De-cruft a bit. If no argument is specified, print all elements in
1352 XML syntax rather than a freestyle list of elements like gst-inspect.
1353 Also, don't print XML header chunk unless we actually have something
1354 to print (ie. don't print it before an error message); print error
1355 message to stderr not stdout. Remove support for printing plugin
1356 info (it would just output something freestyle along the lines of
1357 gst-inspect so far), which fixes #514507. Also add license header.
1359 2008-04-11 Julien Moutte <julien@fluendo.com>
1362 * configure.ac: Merge platform specific defines, introduce a new
1363 define on OS X to remember that forking when updating registry is
1365 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1367 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1369 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1370 condition that leads to absolutely no plugins being registered on
1373 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1375 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1377 * gst/gstutils.c: (gst_pad_add_data_probe),
1378 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1379 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1380 (gst_pad_add_buffer_probe_full):
1382 * docs/gst/gstreamer-sections.txt:
1383 * win32/common/libgstreamer.def:
1384 Add gst_pad_add_*_probe_full() functions with a notify callback that
1385 lets the caller free the data it passes to the probe functions. This
1386 is useful for bindings such as gst-python or gstreamermm (#526814).
1387 API: gst_pad_add_data_probe_full
1388 API: gst_pad_add_buffer_probe_full
1389 API: gst_pad_add_event_probe_full
1391 * tests/check/gst/gstutils.c:
1392 Add minimal unit test to make sure freeing the data actually works
1395 * tests/benchmarks/.cvsignore:
1396 Random cvsignore addendum.
1398 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1400 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1401 (GST_DEBUG_BIN_TO_DOT_FILE):
1402 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1403 to it in the docs (since these are macros the types of the arguments
1404 won't be shown in the docs otherwise).
1406 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1409 Do not abort on out of memory for pad_alloc_buffer.
1411 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1413 * libs/gst/check/gstcheck.c:
1414 Remove blank line between symbol name ad parameters to fix gtkdoc
1417 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1419 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1421 * docs/gst/gstreamer-sections.txt:
1424 * win32/common/libgstreamer.def:
1425 Expose gst_segment_copy() to make things easier for the c++ bindings.
1427 API: gst_segment_copy()
1429 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1431 * gst/gst.c: (gst_init_get_option_group), (init_post):
1432 Fix const position; ref GType classes for enum types to work
1433 around thread-safety issues in GLib versions < 2.16.
1435 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1437 * docs/design/part-buffering.txt:
1438 Fix some typos and set the estimated total for push mode to -1.
1440 * gst/gstquery.c: (gst_query_new_buffering):
1441 Set buffering-left to 0 as we're not buffering by default.
1443 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1444 Implement BUFFERING query.
1446 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1448 Based on patch by: Milosz Derezynski <internalerror gmail com>
1450 * gst/gsterror.c: (_gst_stream_errors_init):
1452 Add two new error codes for encrypted content. Fixes #524659.
1453 API: GST_STREAM_ERROR_DECRYPT
1454 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1456 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1461 * win32/common/libgstreamer.def:
1464 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1466 * plugins/elements/gstidentity.c: (gst_identity_event),
1467 (gst_identity_start):
1468 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1469 event after processing some data. Fixes bug #526042.
1471 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1473 * docs/gst/gstreamer-sections.txt:
1474 * gst/gstquery.c: (gst_query_parse_latency),
1475 (gst_query_set_buffering_percent),
1476 (gst_query_parse_buffering_percent),
1477 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1479 Rename _avail -> _range
1480 API: gst_query_set_buffering_range
1481 API: gst_query_parse_buffering_range
1483 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1485 * docs/design/part-buffering.txt:
1488 * gst/gstquery.c: (gst_query_parse_latency),
1489 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1490 (gst_query_parse_buffering_percent):
1492 Add busy field and quark for the buffering query so that the app can
1493 only use the query to see if buffering is in progress.
1495 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1497 * docs/gst/gstreamer-sections.txt:
1498 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1499 (gst_message_parse_buffering_stats):
1501 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1502 (gst_query_parse_latency), (gst_query_new_buffering),
1503 (gst_query_set_buffering_percent),
1504 (gst_query_parse_buffering_percent),
1505 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1506 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1508 Reorder the message docs and headers for clarity.
1509 Add aditional buffering stats API for messages.
1510 Add buffering query.
1511 Convert some leftover queries to use GstQuark.
1512 API: gst_message_set_buffering_stats
1513 API: gst_message_parse_buffering_stats
1514 API: GST_QUERY_BUFFERING
1515 API: GstBufferingMode
1516 API: gst_query_new_buffering
1517 API: gst_query_set_buffering_percent
1518 API: gst_query_parse_buffering_percent
1519 API: gst_query_set_buffering_stats
1520 API: gst_query_parse_buffering_stats
1522 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1524 * gst/gstmessage.c: (gst_message_new_error),
1525 (gst_message_new_warning), (gst_message_new_info),
1526 (gst_message_new_buffering), (gst_message_new_state_changed),
1527 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1528 (gst_message_new_new_clock), (gst_message_new_segment_start),
1529 (gst_message_new_segment_done), (gst_message_new_duration),
1530 (gst_message_new_async_start), (gst_message_parse_buffering),
1531 (gst_message_parse_state_changed),
1532 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1533 (gst_message_parse_new_clock), (gst_message_parse_error),
1534 (gst_message_parse_warning), (gst_message_parse_info),
1535 (gst_message_parse_segment_start),
1536 (gst_message_parse_segment_done), (gst_message_parse_duration),
1537 (gst_message_parse_async_start):
1538 Use GstQuark for messages.
1540 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1542 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1544 Add some more quarks needed for messages and queries.
1546 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1548 * docs/design/part-buffering.txt:
1549 Remove the "none" buffering mode, STREAM is a good default.
1550 Move estimated-time to the avail query, that's when it will be needed.
1551 Other small typo fixes and updates.
1553 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1555 * gst/gstindex.c: (gst_index_resolver_get_type):
1556 Don't put descriptions into the nick field of a GEnumValue: it's not
1557 meant for that and some language bindings rely on the nick field to
1558 construct constants and the like. Fixes #526705.
1560 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1565 Merge other changes from 0.10.19 release branch.
1567 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1569 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1572 Actually build dlls when cross-compiling with mingw32.
1575 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1577 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1580 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1582 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1584 * docs/design/draft-latency.txt:
1587 * docs/design/part-buffering.txt:
1588 Update design docs with more buffering ideas.
1590 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1593 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1595 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1598 Revert part that belongs to the preset patch.
1600 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1603 Add qoutes to the define. Fixes # 525961.
1605 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1607 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1608 (gst_file_index_load), (gst_file_index_add_id),
1609 (gst_file_index_get_assoc_entry):
1610 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1611 (gst_mem_index_free_id), (gst_mem_index_add_id),
1612 (gst_mem_index_index_format):
1613 Use GSlice when possible.
1615 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1617 * libs/gst/controller/gstinterpolationcontrolsource.c:
1618 (gst_control_point_free),
1619 (gst_interpolation_control_source_set_internal):
1620 Use GSlice for allocating the control points.
1622 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1624 * plugins/elements/gsttypefindelement.c:
1625 (gst_type_find_element_class_init),
1626 (gst_type_find_element_set_property),
1627 (gst_type_find_element_get_property),
1628 (gst_type_find_element_activate):
1629 * plugins/elements/gsttypefindelement.h:
1631 Fix pad leak when peer query fails.
1632 We can still typefind when the peer returns -1.
1633 Add property to force caps and bypass typefinding. This will be used in
1637 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1642 * gst/glib-compat-private.h:
1643 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1644 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1645 Unconditionally use GSlice for allocation.
1647 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1648 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1649 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1650 (gst_structure_free):
1651 Use GSlice for allocation.
1653 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1655 * gst/parse/Makefile.am:
1656 * gst/parse/grammar.tab.pre.c:
1657 * gst/parse/grammar.tab.pre.h:
1658 * gst/parse/lex._gst_parse_yy.pre.c:
1659 Require a new enough flex and bison and remove the parser hacks to use
1660 a pre-regenerated version.
1662 2008-04-01 Julien Moutte <julien@fluendo.com>
1664 patch by: Jason Zhao <E3423C@motorola.com>
1666 * configure.ac: Add a configure switch to disable option parsing
1670 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1673 * gst/gstregistry.c:
1674 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1675 and handle this case.
1678 Add a comment here describing, why we stat each plugin and not try to
1681 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1683 * libs/gst/base/gstbasetransform.c:
1684 (gst_base_transform_prepare_output_buffer):
1685 Also unset the GAP flag on buffers if we're working inplace but
1686 the element is not GAP-aware.
1688 Mark a comment as FIXME 0.11.
1690 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1693 Fix type in log message and add one to ease seeing how long registry
1694 cache verification takes.
1696 * gst/gstregistry.c:
1697 Only test plugin filenames against G_MODULE_SUFFIX.
1699 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1701 * gst/gstdebugutils.c:
1702 Improve handling ghost/proxy pads.
1704 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1706 * docs/gst/gstreamer-sections.txt:
1709 Expose macro to docs and fix link to it.
1711 2008-03-27 Michael Smith <msmith@fluendo.com>
1713 * libs/gst/dataprotocol/dataprotocol.c:
1714 (gst_dp_packet_from_event_1_0):
1715 When calculating GDP body CRC, use the correct pointer.
1716 Fixes part of #522401.
1718 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1720 Patch by: Mark Nauwelaerts <manauw at skynet be>
1722 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1723 (gst_identity_init), (gst_identity_prepare_output_buffer):
1724 Identity is not always a passthrough element, it can modify the buffer
1725 timestamps when it has a datarate and operates in single-segment mode.
1726 We therefore make it an in_place filter with a custom buffer prepare
1727 function that conditionally makes the input buffer metadata writable
1728 when needed. Fixes #523985.
1730 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1732 Patch by: Mark Nauwelaerts <manauw at skynet be>
1735 * libs/gst/base/gstbasesrc.h:
1736 * libs/gst/base/gstbasetransform.c:
1737 * libs/gst/check/gstcheck.c:
1738 Small documentation fixes. Fixes #523978.
1740 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1742 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1743 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1744 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1746 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1748 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1749 (single_queue_underrun_cb):
1750 When trying to make room in the queue, bump the max allowed buffers
1751 bigger than the current amount of buffers in the queue. this fixes some
1752 nasty deadlocks in multiqueue when dynamically changing the limits of
1755 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1757 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1759 * gst/gstcaps.c: (gst_caps_set_simple),
1760 (gst_caps_set_simple_valist), (gst_caps_intersect):
1762 Constify the field gchar * params in set_simple and friends.
1765 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1767 * gst/gstvalue.c: (gst_value_transform_object_string):
1768 Transform a GstObject to a more meaningfull string that includes the
1769 object type in addition to its name.
1771 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1774 ChangeLog surgery to add bugnumber to commit.
1776 2008-03-23 Rene Stadler <mail@renestadler.de>
1778 * libs/gst/base/gstbasetransform.c:
1779 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1781 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1783 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1784 Rename constant everywhere and don't forget one occurence.
1786 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1788 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1789 Align memory to the pointer size even if the architecture allows
1790 unaligned memory access. Unaligned memory access usually comes with
1791 performance penality.
1793 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1795 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1796 (gst_registry_binary_check_magic),
1797 (gst_registry_binary_load_pad_template),
1798 (gst_registry_binary_load_feature),
1799 (gst_registry_binary_load_plugin):
1800 Align memory to the pointer size instead of always 32 bit. Fixes
1801 unaligned memory accesses on ia64 and friends.
1803 * gst/gstregistrybinary.h:
1804 Bump binary registry format version for this as it changes the
1805 format on those architectures that don't have unaligned access
1806 and 64 bit pointers.
1808 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1810 * docs/pwg/advanced-dparams.xml:
1811 * docs/pwg/building-props.xml:
1812 * docs/pwg/other-source.xml:
1813 * gst/glib-compat.h:
1814 * gst/gstbin.c: (gst_bin_class_init):
1815 * gst/gstclock.c: (gst_clock_class_init):
1816 * gst/gstindex.c: (gst_index_class_init):
1817 * gst/gstobject.c: (gst_object_class_init):
1818 * gst/gstpad.c: (gst_pad_class_init):
1819 * gst/gstpipeline.c: (gst_pipeline_class_init):
1820 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1821 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1822 * libs/gst/base/gstbasetransform.c:
1823 (gst_base_transform_class_init):
1824 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1825 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1826 (_gst_check_fault_handler_sighandler),
1827 (_gst_check_fault_handler_setup), (gst_check_init):
1828 * libs/gst/controller/gstcontroller.c:
1829 (_gst_controller_class_init):
1830 * libs/gst/controller/gstlfocontrolsource.c:
1831 (gst_lfo_control_source_class_init):
1832 * libs/gst/net/gstnetclientclock.c:
1833 (gst_net_client_clock_class_init):
1834 * libs/gst/net/gstnettimeprovider.c:
1835 (gst_net_time_provider_class_init):
1836 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1837 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1838 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1839 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1840 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1841 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1842 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1843 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1844 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1845 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1846 * plugins/elements/gsttee.c: (gst_tee_class_init):
1847 * plugins/elements/gsttypefindelement.c:
1848 (gst_type_find_element_class_init):
1849 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1850 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1851 use it everywhere for GParamSpecs that use static strings (i.e. all).
1852 This gives us less memory usage, fewer allocations and thus less
1853 memory defragmentation. Fixes bug #523806.
1855 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1857 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1858 (gst_param_spec_mini_object):
1859 * gst/gstminiobject.h:
1860 * win32/common/libgstreamer.def:
1861 * docs/gst/gstreamer-sections.txt:
1862 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1863 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1864 GstParamSpecMiniObject into a public header for this.
1866 This make GstMiniObject a bit more consistent with GObject and makes
1867 it possible to extend the param specs.
1869 gst_value_dup_mini_object is mainly useful for set_property methods.
1873 * tools/gst-inspect.c: (print_element_properties_info):
1874 Print something useful for GstMiniObject properties and not just
1877 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1879 * docs/gst/gstreamer-sections.txt:
1880 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1881 (gst_registry_binary_check_magic):
1882 * gst/gstregistrybinary.h:
1883 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1884 and add it to the (private part) of the docs to fix the build.
1886 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1888 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1889 (gst_registry_binary_check_magic),
1890 (gst_registry_binary_read_cache):
1891 * gst/gstregistrybinary.h:
1892 Don't use GST_MAJORMINOR for the binary registry version. Instead
1893 hardcode a value that must be changed whenever the format changes
1894 in an incompatible way.
1895 Also don't GST_ERROR when there is a version mismatch, just
1896 regenerate the registry silently.
1898 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1901 Back to development - 0.10.18.1
1903 === release 0.10.18 ===
1905 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1908 releasing 0.10.18, "So far away"
1910 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1913 * win32/common/config.h:
1914 0.10.17.4 pre-release
1916 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1918 Patch by: Ole André Vadla Ravnås
1919 <ole dot andre dot ravnas at tandberg dot com>
1921 * docs/gst/gstreamer-sections.txt:
1922 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1923 (gst_poll_update_winsock_event_mask),
1924 (gst_poll_prepare_winsock_active_sets),
1925 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1926 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1927 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1928 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1929 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1931 * win32/common/libgstreamer.def:
1932 Add new function gst_poll_fd_ignored() for improved Windows
1934 Various minor fixes and cleanups. See #520808.
1936 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1938 * gst/gstindex.c: (gst_index_entry_free):
1940 Don't free key strings which we don't own. Fixes crash in
1941 gst_index_entry_free() (#522741).
1943 * tests/check/Makefile.am:
1944 * tests/check/gst/.cvsignore:
1945 * tests/check/gst/gstindex.c: (test_index_entries),
1946 (gst_index_suite), (gst_index):
1947 Add unit test for the above.
1949 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1951 * win32/common/libgstreamer.def:
1952 Remove symbols that were removed recently. Fixes bug #521740.
1954 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1957 * win32/common/config.h:
1958 0.10.17.3 pre-release
1960 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1962 Patch by: Ole André Vadla Ravnås
1963 <ole dot andre dot ravnas at tandberg dot com>
1965 * docs/gst/gstreamer-sections.txt:
1966 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1967 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1968 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1969 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1970 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1971 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1972 (gst_poll_fd_can_write), (gst_poll_wait),
1973 (gst_poll_set_controllable), (gst_poll_restart),
1974 (gst_poll_set_flushing):
1976 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1977 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1978 (gst_net_time_provider_new):
1979 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1980 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1981 * tests/benchmarks/gstpollstress.c: (main):
1982 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1983 Remove GstPollMode from the API, it does not make sense to let the
1984 application control this.
1985 Add support for Win32.
1986 Fix the testsuite. Fixes #520671.
1988 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1990 Patch by: Ole André Vadla Ravnås
1991 <ole dot andre dot ravnas at tandberg dot com>
1993 * gst/gstregistrybinary.c:
1994 Include io.h for write() and close() when building with MSVC. Fixes
1997 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2000 * gst/gst_private.h:
2001 * gst/gstconfig.h.in:
2002 * gst/gstregistry.h:
2003 * gst/gstregistrybinary.c:
2004 * win32/common/gstconfig.h:
2005 Move registry backend API to private headers where we can. Add
2006 fixme-0.11 comments for the others. Add stubs for the xml backend when
2007 using the binary to ensure they functions exists (they should not be
2008 used though). Fixes #520756.
2010 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2013 * win32/common/config.h:
2016 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2018 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2019 (gst_registry_binary_read_cache):
2020 * gst/gstregistryxml.c: (gst_registry_save):
2021 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2022 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2023 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2024 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2025 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2028 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2030 * gst/gstminiobject.c:
2031 Import gst_private.h before any other header that might include other
2032 glib headers. This fixes the build on windows using native compilers.
2034 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2036 * win32/common/gstconfig.h:
2037 Add here too, just for completeness.
2039 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2042 * gst/gstconfig.h.in:
2043 * gst/gstregistry.h:
2044 Fix broken use of config.h-defined preprocessor directive in a public
2045 header file. Add a corresponding define to gstconfig.h, since we can't
2046 really remove those function declarations from the header file now
2047 (or can we? and why are they there in the first place?).
2049 2008-03-03 Andy Wingo <wingo@pobox.com>
2051 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2054 * gst/gststructure.c (gst_structure_from_string): Warn if
2055 structure_from_string didn't consume the whole string, but the
2056 caller did not provide an end pointer.
2058 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2060 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2062 * gst/gstregistryxml.c: (read_string), (load_feature):
2063 Strings allocated by libxml2 should be freed with xmlFree(), not
2064 with g_free(). Fixes issues on windows in certain contexts (#519698).
2066 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2068 * gst/gstinterface.c: (gst_element_implements_interface):
2069 Don't crash if the element supports the interface queried, but does
2070 not implement GstImplementsInterface. Fixes #519584.
2072 * tests/check/Makefile.am:
2073 * tests/check/gst/.cvsignore:
2074 * tests/check/gst/gstinterface.c:
2075 Add unit test for the above.
2077 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2079 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2082 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2084 * gst/gstsegment.c: (gst_segment_set_seek),
2085 (gst_segment_to_stream_time):
2086 Improve some comment.
2087 Update variables where it makes more sense.
2089 2008-02-29 Rene Stadler <mail@renestadler.de>
2091 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2092 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2093 URIHandlers implemented using language bindings.
2095 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2097 * gst/gstelementfactory.h:
2098 * tests/check/elements/fakesink.c:
2099 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2100 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2101 * tests/check/elements/filesink.c: (setup_filesink):
2102 * tests/check/elements/filesrc.c: (setup_filesrc):
2103 * tests/check/elements/identity.c: (setup_identity):
2104 * tests/check/elements/tee.c:
2105 * tests/check/generic/sinks.c:
2106 * tests/check/generic/states.c: (setup), (teardown):
2107 * tests/check/gst/gst.c:
2108 * tests/check/gst/gstabi.c:
2109 * tests/check/gst/gstbin.c:
2110 * tests/check/gst/gstbus.c: (pull_messages):
2111 * tests/check/gst/gstcaps.c:
2112 * tests/check/gst/gstelement.c:
2113 * tests/check/gst/gstevent.c:
2114 * tests/check/gst/gstghostpad.c:
2115 * tests/check/gst/gstiterator.c:
2116 * tests/check/gst/gstmessage.c:
2117 * tests/check/gst/gstminiobject.c: (my_foo_init):
2118 * tests/check/gst/gstobject.c: (thread_name_object),
2120 * tests/check/gst/gstpad.c:
2121 * tests/check/gst/gstplugin.c:
2122 * tests/check/gst/gstpoll.c:
2123 * tests/check/gst/gstquery.c:
2124 * tests/check/gst/gstsegment.c:
2125 * tests/check/gst/gststructure.c:
2126 * tests/check/gst/gstsystemclock.c:
2127 * tests/check/gst/gsttask.c:
2128 * tests/check/gst/gstutils.c:
2129 * tests/check/gst/gstvalue.c:
2130 * tests/check/gst/struct_hppa.h:
2131 * tests/check/gst/struct_i386.h:
2132 * tests/check/gst/struct_ppc32.h:
2133 * tests/check/gst/struct_ppc64.h:
2134 * tests/check/gst/struct_x86_64.h:
2135 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2136 * tests/check/libs/basesrc.c:
2137 * tests/check/libs/controller.c: (GST_START_TEST):
2138 * tests/check/libs/gdp.c:
2139 * tests/check/libs/gstnetclientclock.c:
2140 * tests/check/libs/gstnettimeprovider.c:
2141 * tests/check/libs/libsabi.c:
2142 * tests/check/libs/struct_hppa.h:
2143 * tests/check/libs/struct_i386.h:
2144 * tests/check/libs/struct_ppc32.h:
2145 * tests/check/libs/struct_ppc64.h:
2146 * tests/check/libs/struct_x86_64.h:
2147 * tests/check/pipelines/cleanup.c:
2148 * tests/check/pipelines/simple-launch-lines.c:
2149 * tests/check/pipelines/stress.c:
2150 And correct even more valid sparse warnings.
2152 * win32/common/libgstreamer.def:
2153 Add gst_poll_fd_init to the list of symbols.
2155 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2157 * gst/gstconfig.h.in:
2158 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2159 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2160 (gst_check_log_critical_func), (gst_check_drop_buffers),
2161 (gst_check_element_push_buffer_list):
2162 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2163 (gst_controller_get_type):
2164 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2165 (gst_object_get_controller), (gst_object_get_control_source):
2166 * libs/gst/controller/gstinterpolationcontrolsource.c:
2167 (gst_interpolation_control_source_new):
2168 * libs/gst/controller/gstlfocontrolsource.c:
2169 (gst_lfo_control_source_new):
2170 * libs/gst/dataprotocol/dataprotocol.c:
2171 (gst_dp_event_from_packet_0_2):
2172 * plugins/elements/gstfdsrc.c:
2173 * plugins/elements/gstmultiqueue.c:
2174 * plugins/elements/gsttee.c:
2175 * plugins/elements/gsttypefindelement.c:
2176 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2177 (gst_file_index_add_association):
2178 * plugins/indexers/gstmemindex.c:
2179 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2180 * tests/check/elements/queue.c: (setup_queue):
2181 * tests/check/gst/gstpipeline.c:
2182 * tests/check/libs/collectpads.c: (setup), (teardown),
2183 (gst_collect_pads_suite):
2184 * tests/examples/adapter/adapter_test.c:
2185 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2186 * tests/examples/xml/createxml.c:
2187 * tests/examples/xml/runxml.c:
2188 * tools/gst-inspect.c:
2190 Correct all relevant warnings found by the sparse semantic code
2191 analyzer. This include marking several symbols static, using
2192 NULL instead of 0 for pointers, not using variable sized arrays
2193 on the stack, moving variable declarations to the beginning of
2194 a block and using "foo (void)" instead of "foo ()" for declarations.
2196 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2198 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2199 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2200 Don't reset GstPollFDs, this is not necessary at all.
2202 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2203 (delayed_restart), (delayed_control):
2204 Use GST_POLL_FD_INIT.
2206 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2208 * gst/gstpoll.c: (gst_poll_fd_init):
2212 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2213 Use some more init macros.
2215 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2217 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2218 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2219 Use init macros and functions.
2221 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2223 * docs/gst/gstreamer-sections.txt:
2224 * gst/gstpoll.c: (gst_poll_fd_init):
2226 Add INIT macro and _init method for initializing the GstPollFD.
2228 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2230 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2231 (gst_fd_sink_update_fd):
2232 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2233 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2234 (delayed_restart), (delayed_control):
2235 Initialize some uninitialized variables as spotted by valgrind.
2237 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2239 * tests/benchmarks/Makefile.am:
2240 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2242 Add poll stress test.
2244 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2246 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2248 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2249 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2250 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2251 * plugins/elements/gstfdsink.h:
2252 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2253 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2254 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2255 (gst_fd_src_uri_set_uri):
2256 * plugins/elements/gstfdsrc.h:
2257 Port to GstPoll. See #505417.
2259 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2261 * win32/common/libgstreamer.def:
2262 Add new gst_poll_ symbols to win32 defs.
2264 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2266 * docs/libs/gstreamer-libs-sections.txt:
2267 * libs/gst/net/gstnetclientclock.c:
2268 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2269 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2270 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2271 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2272 * libs/gst/net/gstnetclientclock.h:
2273 * libs/gst/net/gstnettimeprovider.c:
2274 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2275 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2276 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2277 (gst_net_time_provider_new):
2278 * libs/gst/net/gstnettimeprovider.h:
2279 Use a private stuct to not break ABI.
2281 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2283 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2285 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2286 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2287 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2288 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2289 * libs/gst/net/gstnetclientclock.h:
2290 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2291 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2292 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2293 (gst_net_time_provider_new):
2294 * libs/gst/net/gstnettimeprovider.h:
2295 Massive code removal and cleanups because of GstPoll.
2298 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2301 Add checks for poll, ppoll and pselect.
2303 * docs/gst/gstreamer-docs.sgml:
2304 * docs/gst/gstreamer-sections.txt:
2305 Add docs for GstPoll.
2309 * gst/gstpoll.c: (find_index), (selectable_fds),
2310 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2311 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2312 (gst_poll_set_mode), (gst_poll_get_mode),
2313 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2314 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2315 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2316 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2317 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2318 (gst_poll_fd_can_write), (gst_poll_wait),
2319 (gst_poll_set_controllable), (gst_poll_restart),
2320 (gst_poll_set_flushing):
2322 Add generic poll abstraction. We ideally don't want to have this in core
2323 here but in glib intead...
2324 This code will be used in various network elements and ultimately for
2325 the nanosecond precision monotonic clock (that's why it's here in core).
2326 It'll allow us to implement cancelable socket operations for windows too.
2328 * tests/check/Makefile.am:
2329 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2330 (delayed_stop), (delayed_restart), (delayed_flush),
2331 (delayed_control), (gst_poll_suite):
2332 Add GstPoll unit test.
2334 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2337 Improve documentation of gst_filter_run(). Fixes #518627.
2339 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2342 Add a few lines about the new 'check-inspected-versions' target.
2344 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2346 * tests/check/gst/gstevent.c:
2347 Add qos to the event test. Rename tcase/tsuite; is not only about
2350 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2352 * plugins/elements/gstqueue.c:
2353 Ensure that buffer metadata is writeable, before modifying. Spotted by
2356 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2358 * plugins/elements/gstqueue.c:
2359 * plugins/elements/gstqueue.h:
2360 When dropping buffers in leaky modes, mark next buffers we sent as
2363 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2365 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2366 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2368 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2370 * plugins/elements/Makefile.am:
2371 * plugins/elements/gstbufferstore.c:
2372 * plugins/elements/gstbufferstore.h:
2373 * plugins/elements/gsttypefindelement.h:
2374 Remove GstBufferStore, no idea why we were still building it.
2375 It's not used anywhere and superseded by GstAdapter.
2377 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2378 (gst_file_src_create_mmap):
2379 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2380 Printf format fixes for 64-bit integers.
2382 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2385 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2386 We're not in 0.8 times anymore.
2388 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2390 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2391 (gst_check_element_push_buffer_list):
2392 * libs/gst/check/gstcheck.h:
2393 Make the declaration in the header for
2394 gst_check_element_push_buffer_list match the implementation.
2396 Fix up spelling, grammar and wording of the documentation in a few
2397 places, and add the Since keyword to new API functions.
2398 Use g_list_delete_link instead of g_list_remove in
2399 gst_check_drop_buffers, since it's immeasurably more efficient.
2401 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2402 Use new gst_check_drop_buffers function where appropriate.
2404 * win32/common/libgstbase.def:
2405 * win32/common/libgstreamer.def:
2406 Add new symbols gst_collect_pads_take_buffer,
2407 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2410 Changelog surgery to add API keyword to new gst_check API.
2412 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2414 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2415 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2416 Update pre-generated flex files with flex 2.3.34.
2418 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2420 * gst/gstminiobject.c:
2421 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2422 friendly to subclasses and not require them to know all internals
2423 of their parent class.
2425 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2427 * docs/libs/gstreamer-libs-sections.txt:
2428 * libs/gst/base/gstcollectpads.c:
2429 * libs/gst/base/gstcollectpads.h:
2430 Add sub-buffer functions to collectpads. Fixes #516187.
2431 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2433 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2436 Copy selected buffer-flags when creating subbuffers.
2439 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2441 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2442 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2443 * gst/gstmessage.c: (gst_message_class_init),
2444 (gst_message_finalize):
2445 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2446 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2447 (gst_mmap_buffer_finalize):
2448 Properly chain up finalize functions to the parent class.
2450 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2452 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2454 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2455 (gst_index_set_resolver_full):
2457 Add new function with option to dispose of user_data in resolver.
2458 Actually call the dispose function when finalizing the object and not
2459 just when changing the resolver/filter.
2460 API: GstIndex::gst_index_set_resolver_full()
2462 * docs/gst/gstreamer-sections.txt:
2463 Add new function to docs. Fixes #515469.
2465 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2467 * gst/gstindex.c: (gst_index_finalize):
2468 Chain up finalize to the parent class. Fixes leaking the GstObject
2469 name and other things.
2471 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2474 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2475 pre-releases or releases.
2477 * docs/faq/gst-uninstalled:
2480 * docs/random/release:
2481 Change one of the steps - we only upload core & base to Gnome FTP
2483 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2485 * gst/gstconfig.h.in:
2486 Add 'id' for example.
2490 * plugins/elements/gstfdsink.c:
2491 Link to signals. Doc and comment fixes.
2493 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2495 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2496 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2497 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2498 unused and unimplemented; finally, it is plugin features, not
2499 plugins, that have ranks.
2501 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2503 * gst/gstpluginfeature.h:
2504 Clarify GstRank range docs.
2506 2008-02-05 David Schleef <ds@schleef.org>
2508 * gst/gst.c: Add a separate gst_deinitialized that prevents
2509 gst_init() from being called after gst_deinit(). Fixes #509559
2511 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2513 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2514 (gst_bin_class_init):
2515 * gst/gstelement.c: (gst_element_base_class_init),
2516 (gst_element_class_add_pad_template):
2517 * gst/gstpadtemplate.c: (gst_pad_template_init):
2518 * gst/gstpipeline.c: (gst_pipeline_get_type),
2519 (gst_pipeline_base_init), (gst_pipeline_class_init):
2520 * libs/gst/base/gstbasesink.c:
2521 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2522 (gst_base_src_base_init), (gst_base_src_class_init):
2523 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2524 (gst_capsfilter_class_init):
2525 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2526 (gst_fake_sink_class_init):
2527 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2528 (gst_fake_src_class_init):
2529 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2530 (gst_fd_sink_class_init):
2531 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2532 (gst_fd_src_class_init):
2533 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2534 (gst_file_sink_class_init):
2535 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2536 (gst_file_src_class_init):
2537 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2538 (gst_identity_class_init):
2539 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2540 (gst_multi_queue_class_init):
2541 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2542 (gst_queue_class_init):
2543 * plugins/elements/gsttee.c: (gst_tee_base_init),
2544 (gst_tee_class_init):
2545 * plugins/elements/gsttypefindelement.c:
2546 (gst_type_find_element_base_init),
2547 (gst_type_find_element_class_init):
2548 * tests/check/gst/gstelement.c: (gst_element_suite):
2549 Revert previous changes to the behaviour of GstPadTemplates, etc
2550 and the possiblity to call them in class_init as it breaks too
2551 many elements. Reopens bug #491501.
2553 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2556 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2558 * tools/gst-launch.c:
2559 Dump one graph per pipeline state-change and state change name
2560 (if GST_DEBUG_DUMP_DOT_DIR is set).
2562 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2565 * tests/check/gst/gstpad.c:
2566 Be sure that we have a new copy of the caps and not
2567 reffed caps from a template
2569 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2571 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2572 * gst/gstpipeline.c: (gst_pipeline_get_type),
2573 (gst_pipeline_class_init):
2574 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2575 (gst_base_sink_class_init):
2576 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2577 (gst_base_src_class_init):
2578 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2579 (gst_base_transform_class_init):
2580 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2581 (gst_collect_pads_class_init):
2582 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2583 * libs/gst/net/gstnettimeprovider.c:
2584 (gst_net_time_provider_base_init),
2585 (gst_net_time_provider_class_init):
2586 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2587 (gst_capsfilter_class_init):
2588 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2589 (gst_fake_sink_class_init):
2590 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2591 (gst_fake_src_class_init):
2592 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2593 (gst_fd_sink_class_init):
2594 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2595 (gst_fd_src_class_init):
2596 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2597 (gst_file_sink_class_init):
2598 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2599 (gst_file_src_class_init):
2600 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2601 (gst_identity_class_init):
2602 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2603 (gst_multi_queue_class_init):
2604 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2605 (gst_queue_class_init):
2606 * plugins/elements/gsttee.c: (gst_tee_base_init),
2607 (gst_tee_class_init):
2608 * plugins/elements/gsttypefindelement.c:
2609 (gst_type_find_element_base_init),
2610 (gst_type_find_element_class_init):
2611 Don't use base_init where not absolutely necessary. For example it's
2612 not necessary anymore for adding pad templates or setting element
2615 Leave empty base_init functions in several places as GST_BOILERPLATE
2616 still defines and uses them.
2618 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2620 * gst/gstelement.c: (gst_element_base_class_init),
2621 (gst_element_class_add_pad_template):
2622 * gst/gstpadtemplate.c:
2623 Make it possible (and recommended) to set element details and add
2624 pad templates in the class_init functions by copying the details/pad
2625 templates in GstElement's base_init.
2627 Also make it possible to replace existing pad templates by adding
2628 a new one with the same name. This was done in a hackish fashion
2629 in same elements before already.
2631 Don't reference pad templates that are added a second time. A
2632 new pad template has a refcount of one and is not floating anymore
2633 and to be owned by the element's class. Make this more explicit by
2634 mentioning it in the docs of gst_element_class_add_pad_template().
2636 These changes are backwards compatible. Fixes bug #491501.
2638 * tests/check/gst/gstelement.c:
2639 Add unit test for setting element details, adding pad templates and
2640 replacing them in a subclass.
2642 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2644 * tools/gst-inspect.c: (print_interfaces),
2645 (print_element_properties_info), (print_pad_info),
2646 (print_signal_info), (print_element_info):
2647 Fix a few memory leaks.
2649 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2651 * docs/libs/gstreamer-libs-sections.txt:
2652 * libs/gst/check/gstcheck.c:
2653 * libs/gst/check/gstcheck.h:
2654 Add more functions for unit testing: gst_check_drop_buffers,
2655 gst_check_caps_equal, gst_check_element_push_buffer_list,
2656 gst_check_element_push_buffer
2657 API: gst_check_drop_buffers
2658 API: gst_check_caps_equal
2659 API: gst_check_element_push_buffer_list
2660 API: gst_check_element_push_buffer
2662 2008-02-01 Julien Moutte <julien@fluendo.com>
2664 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2665 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2666 (gst_index_finalize), (gst_index_entry_free),
2667 (gst_index_add_association): Fix memory leaks.
2668 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2669 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2670 (gst_mem_index_free_format), (gst_mem_index_free_id),
2671 (gst_mem_index_finalize): Fix memory leaks.
2672 * win32/common/config.h: Updated to CVS HEAD.
2674 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2677 Some more details about how the plugin docs works.
2679 * docs/plugins/gstreamer-plugins-sections.txt:
2682 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2684 * gst/parse/grammar.tab.pre.c:
2685 * gst/parse/grammar.tab.pre.h:
2686 * gst/parse/grammar.y:
2687 * gst/parse/lex._gst_parse_yy.pre.c:
2688 Add delayed set-property. This allows to set properties on dynamicaly
2689 created objects (pads in videomxer). Fixes #509391.
2691 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2694 Check if caps are not NULL (fix bug #510194)
2696 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2698 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2699 (gst_base_sink_get_position_paused):
2700 Add fixme regarding EOS in pull mode.
2701 Fix position reporting in PAUSED for negative rates.
2703 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2705 * gst/gstminiobject.c: (gst_mini_object_replace):
2706 When replacing a miniobject, do a quick equality check first so that we
2707 can avoid a ref/unref pair.
2709 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2711 * docs/design/part-synchronisation.txt:
2714 * docs/plugins/Makefile.am:
2715 * docs/plugins/gstreamer-plugins-docs.sgml:
2716 * docs/plugins/gstreamer-plugins-sections.txt:
2717 * plugins/elements/gstmultiqueue.c:
2718 Add multiqueue to the docs.
2720 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2725 === release 0.10.17 ===
2727 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2730 releasing 0.10.17, "Due Negligence"
2732 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2735 Revert caps != NULL check temporarily for 0.10.17 release.
2737 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2740 Check if caps are not NULL (fix bug #510194)
2742 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2745 Fix compilation on systems that have posix timers but no
2748 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2751 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2753 * tools/gst-inspect.c:
2754 Revert previous commit in preparation for an impromptu 0.10.17 release
2756 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2758 * tools/gst-inspect.c: (print_interfaces),
2759 (print_element_properties_info), (print_pad_info),
2760 (print_signal_info), (print_element_info):
2761 Fix a few memory leaks.
2763 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2768 === release 0.10.16 ===
2770 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2773 releasing 0.10.16, "Special Dispensation"
2775 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2778 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2779 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2780 not fail when trying to crosscompile on OpenEmbedded (#511750).
2782 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2785 Use $(MAKE) instead of make to fix the build if GNU make is
2786 called different. Fixes bug #510747.
2788 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2790 * gst/gstplugin.c: (_gst_plugin_initialize):
2791 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2792 again, which I broke two commits ago when changing the API
2793 of gst_plugin_register_static(): the g_list_foreach() in
2794 _gst_plugin_register_static still assumed the old function
2795 signature and would therefore fail (re-fixes #510187).
2797 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2798 (_gst_plugin_register_static), (gst_plugin_register_static):
2799 Revert the (technically correct) change to call g_thread_init() from
2800 the pre-main() constructor. This will break programs which call
2801 g_thread_init() without an if (!g_thread_supported()) guard in their
2802 main function. We could just blame it on GLib or the application, but
2803 it's probably best to just avoid this altogether and simply not use
2804 any GLib functions here and use plain old malloc() with a simple
2805 array to store the plugins to register later when gst_init() is
2806 finally called (re-fixes #510187).
2808 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2809 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2810 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2811 (GST_START_TEST), (gst_plugin_suite):
2812 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2815 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2817 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2818 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2819 This makes gtk-doc complain, but results in slightly better
2820 compiler errors. The old _gst_plugin_register_static() is
2821 still guarded, so there'll be a compiler warning about that
2822 instead. Fixes #510187 too.
2824 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2826 * gst/gst.c: (init_post):
2827 * gst/gstplugin.c: (_gst_plugin_register_static),
2828 (gst_plugin_register_static), (_gst_plugin_initialize):
2829 * gst/gstplugin.h: (GstPluginFilter):
2830 Change API of gst_plugin_register_static() to not take
2831 a GstPluginDesc, but rather just take all the arguments
2832 in a GstPluginDesc directly. This is more intuitive and
2833 avoids certain mistakes when porting code from
2834 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2837 * tests/check/gst/gstplugin.c:
2838 Fix up for changed API.
2840 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2842 * docs/faq/legal.xml:
2843 Update FAQ, Totem actually has an exception these days.
2845 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2847 * win32/common/libgstreamer.def:
2848 Add new API declarations
2850 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2852 * gst/gstminiobject.c:
2853 Spelling fixes for the API docs.
2855 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2857 * libs/gst/base/gstbasetransform.c:
2858 Fix long property description for QoS.
2860 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2863 _gst_trace_on is already provided by gsttrace.h, no need to declare
2866 * docs/libs/gstreamer-libs-sections.txt:
2867 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2868 and remove strange tcase_add_test which is outputting a warning.
2870 * libs/gst/check/gstcheck.c:
2871 * libs/gst/check/gstcheck.h:
2872 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2873 and define them in gstcheck.c instead of having every .c file whcih
2874 includes gstcheck.h be defining its own copy and relying on symbol
2875 interposing to marry them all, which doesn't work on Solaris.
2877 * tests/check/elements/identity.c: (GST_START_TEST):
2878 Don't define 'buffers' locally, it comes from libgstcheck.
2880 * tests/check/generic/sinks.c: (send_buffer):
2881 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2883 * tests/check/gst/gststructure.c: (GST_START_TEST):
2884 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2885 * tests/check/gst/gstutils.c: (GST_START_TEST):
2886 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2887 Add a bunch of casts to make various constants fit the types
2888 they're being assigned to.
2890 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2892 * gst/gstchildproxy.c:
2893 Improve docs and add some ideas for making this more general-purpose.
2895 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2897 * gst/gst_private.h: (GST_CAT_TYPES):
2898 Add GST_CAT_TYPES, for consistency, and so that the other
2899 debug categories don't make fun of it. Spotted by Saur on IRC.
2901 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2903 * gst/parse/Makefile.am:
2904 Move types.h from EXTRA_DIST to noinst_HEADERS.
2906 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2909 Add -Wno-portability to the automake parameters to stop warnings
2910 about GNU make extensions being used. We require GNU make in almost
2911 every Makefile anyway.
2914 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2915 at the same time is required for per target flags.
2917 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2920 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2921 __GNUC__ is defined before using it.
2923 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2925 * docs/gst/gstreamer-sections.txt:
2926 * gst/gst.c: (init_post):
2927 * gst/gstplugin.c: (_gst_plugin_register_static),
2928 (gst_plugin_register_static), (_gst_plugin_initialize),
2929 (gst_plugin_register_func):
2930 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2931 API: add gst_plugin_register_static() and deprecate
2932 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2934 Also, in _gst_plugin_register_static(), make sure to call
2935 g_thread_init() before calling GLib functions such as
2936 g_list_append() if we're not initialised yet, since that
2937 may lead to random crashes with older GSlice/GLib versions.
2939 * tests/check/gst/gstplugin.c:
2940 Adapt unit test to above changes.
2942 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2944 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2945 * gst/gstcaps.c: (gst_caps_to_string):
2946 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2947 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2948 Yet another gratuitous GString micro-optimisation: add a (private)
2949 function that serialises a structure appending to an existing
2950 GString, so that when we serialise caps we don't need to alloc+free
2951 a throwaway GString for each structure (each of which also entailing
2952 multiple reallocs on the way); also use g_string_sized_new() in
2953 various places with an approximate string length to avoid reallocs
2954 within GString. See #500143.
2956 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2958 * gst/gststructure.c: (gst_structure_id_set_value):
2959 Always check UTF-8 conformance of structure strings and not only
2960 if the debugging system is enabled; reasoning: the behaviour of
2961 the actual code shouldn't really change depending on whether the
2962 debugging system is enabled or not (#508291).
2964 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2967 Remove old coverage target in favour of "make lcov".
2969 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2971 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2972 (gst_base_src_loop):
2973 The start segment for reverse playback goes from start to last_stop.
2975 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2977 Patch by: Peter Kjellerstedt <pkj axis com>
2980 Cast the results from the timeval/spec_to_time macros to what the
2981 docs say it casts to, a GstClockTime. fixes #508175.
2983 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2986 Update some comments.
2988 * tools/gst-inspect.c: (print_element_properties_info):
2989 Improve printing of flags.
2991 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2993 * libs/gst/base/gstbasetransform.c:
2994 (gst_base_transform_transform_size):
2995 Print element name with g_warning() if there's a problem
2998 2008-01-07 David Schleef <ds@schleef.org>
3000 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3002 * libs/gst/controller/gstcontroller.h:
3003 * libs/gst/controller/gstcontrolsource.h:
3004 * libs/gst/controller/gstinterpolationcontrolsource.h:
3005 * libs/gst/controller/gstlfocontrolsource.h:
3006 * libs/gst/dataprotocol/dataprotocol.h:
3007 Fix empty prototypes. Fixes bug #507957.
3009 2008-01-07 David Schleef <ds@schleef.org>
3011 * docs/faq/dependencies.xml: Fix typo.
3013 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3015 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3016 (gst_base_src_loop):
3017 Don't update the last_stop position in do_seek, that's the position we
3019 Read backwards when we have a negative rate.
3021 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3022 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3024 Add check for reverse reading.
3026 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3028 Patch by: Alexis Ballier <aballier at gentoo org>
3030 * tests/check/gst/gstabi.c:
3031 * tests/check/gst/struct_ppc64.h:
3032 * tests/check/libs/libsabi.c:
3033 * tests/check/libs/struct_ppc64.h:
3034 Decide which header to include based on the userland ABI target
3035 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3036 for 64-bit userland (#503590). Might need something similar for
3039 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3041 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3042 Log the reason why fopen fails in addition to the fact that it failed.
3044 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3046 * gst/parse/parse.l:
3047 Use "%option never-interactive" to prevent useless calls to isatty()
3048 on every input when parsing. Also use "%option noinput" to not define
3049 the static input/yyinput functions which we don't use anyway. This
3050 removes a compiler warning with gcc 4.3 and saves some bytes in the
3053 * gst/parse/lex._gst_parse_yy.pre.c:
3054 Regenerated for the above change.
3056 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3058 * gst/gstpad.c: (fixate_value):
3059 Don't crash when trying to fixate and empty list.
3062 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3064 * docs/faq/gst-uninstalled:
3065 Clarify the comments to make the usage of this script and what it
3066 does easier to understand.
3068 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3070 * tools/gst-plot-timeline.py:
3071 Add more options to gst-plot-timeline
3073 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3075 * docs/design/part-synchronisation.txt:
3076 Some more info on how the stream_time in GstBaseSink is done.
3078 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3080 * tests/check/generic/sinks.c: (gst_sinks_suite):
3081 Put back the tcase_set_timeout(), apparently it's needed after
3082 all; fix it up in a way that makes things work with valgrind too.
3084 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3086 * gst/gstdebugutils.c:
3087 Add warning when failed to open file for writing.
3089 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3091 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3093 * gst/gstvalue.c: (gst_value_is_fixed):
3094 Optimisation: bail out of the loop as early as possible (#500143).
3096 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3098 * gst/gstcaps.c: (gst_caps_to_string):
3099 * gst/gstinfo.c: (gst_debug_construct_term_color):
3100 * gst/gstparse.c: (gst_parse_launchv):
3101 * gst/gstutils.c: (gst_util_dump_mem):
3102 * gst/gstvalue.c: (gst_value_serialize_any_list),
3103 (gst_value_transform_any_list_string):
3104 Bunch of gratuitous nano-optimisations.
3106 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3108 * tests/check/generic/sinks.c: (async_done_func),
3109 (async_done_eos_func):
3110 Fix leak in unit test (bus sync handler must unref the message
3111 if it returns GST_BUS_DROP). Don't fiddle with the default test
3112 timeout, this is smaller than the current preconfigured value
3113 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3114 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3116 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3118 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3121 Check for stdio_ext.h for the filesink changes.
3123 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3124 (gst_file_sink_class_init), (gst_file_sink_init),
3125 (gst_file_sink_dispose), (gst_file_sink_set_property),
3126 (gst_file_sink_get_property), (gst_file_sink_open_file),
3127 (gst_file_sink_close_file):
3128 * plugins/elements/gstfilesink.h:
3129 Add two properties to control the buffering mode and size.
3130 API: GstFileSink::buffer-mode
3131 API: GstFileSink::buffer-size
3134 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3136 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3137 Add some more docs to explain why a FIXME was wrongly added.
3139 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3142 Fix typo in the gst_object_{ref,unref} documentation.
3144 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3146 * tests/check/libs/controller.c:
3147 * tests/check/libs/typefindhelper.c:
3148 * tests/check/pipelines/parse-launch.c:
3149 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3150 going to be deprecated (see #498924).
3152 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3154 * gst/gsttypefind.c: (gst_type_find_register):
3155 Make gst_type_find_register work for static typefind functions,
3156 ie. allow passing plugin == NULL (prerequisite for #498924).
3158 * gst/gstelementfactory.c: (gst_element_register):
3159 Small docs addition.
3161 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3163 * gst/gstpad.c: (gst_pad_dispose):
3164 Really unlink the peer pad instead of setting the peer pointer to NULL
3165 when we dispose the pad.
3166 This correctly calls the unlink functions and makes sure that the peer
3167 does not have a handle to invalid memory. See #504671.
3169 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3170 Add testsuite for above case.
3172 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3174 Patch by: Peter Kjellerstedt <pkj axis com>
3176 * libs/gst/check/gstcheck.h:
3177 Fix detection of the check version we're compiling against (would
3178 otherwise break if check goes v0.10.0); correctly report the
3179 name of the failed test again in case of failure, instead of
3180 just 'tf' (fixes #504499).
3182 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3184 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3185 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3186 (gst_base_src_loop), (gst_base_src_set_flushing),
3187 (gst_base_src_change_state):
3188 Allow sending EOS to the source to make it send out an EOS event from
3189 the streaming thread.
3190 Update docs and deprecate the old NULL/READY shutdown method.
3192 * tests/check/libs/basesrc.c: (GST_START_TEST),
3193 (gst_basesrc_suite):
3194 Add unit test for controlled shutdown.
3196 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3198 * docs/design/part-synchronisation.txt:
3201 * gst/gstsegment.c: (gst_segment_set_seek),
3202 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3203 (gst_segment_to_running_time):
3204 The seek format can be different from the segment format when the start
3205 and stop values are not to be updated, when we only do a rate change for
3208 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3209 (gst_segment_suite):
3210 Add a testcase for the rate-only seeks, checking that the format is
3211 correctly ignored when start and stop are not updated.
3213 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3215 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3217 * win32/vs8/grammar.vcproj:
3218 * win32/vs8/libgstcontroller.vcproj:
3219 * win32/vs8/libgstreamer.vcproj:
3220 Fix compilation with VS8 and include some missing files.
3222 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3225 Small docs addition: mention that the strings returned by
3226 gst_tag_list_get_string*() are in UTF-8 encoding.
3228 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3231 The check-exports stuff moved to common/win32.mak, so include that.
3233 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3235 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3236 (gst_base_src_perform_seek), (gst_base_src_get_range),
3237 (gst_base_src_set_playing), (gst_base_src_change_state):
3238 Make _wait_playing() not check any variables so that we can call this
3239 function from subclasses. Move the checks elsewhere similar to
3240 _wait_preroll() in basesink.
3242 Only signal the LIVE cond when we are going back to PLAYING.
3244 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3246 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3247 Use g_remove() and g_rename(). Check result of g_rename(), and
3248 don't leak the open file descriptor if we error out when writing.
3250 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3251 Must check the return value of close() after writing out the new
3252 registry file. Sometimes write problems such as out-of-diskspace
3253 are only reported when the file is closed and not already during
3254 the write. This may have caused partial/broken registry files in
3255 some rare circumstances. Should fix #503675.
3257 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3259 * docs/gst/.cvsignore:
3260 * docs/libs/.cvsignore:
3261 * docs/plugins/.cvsignore:
3262 Ignore files generated by new common/* modifications
3264 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3266 * win32/common/libgstbase.def:
3267 Yes, you can also have a <TAB> if you want.
3269 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3271 * win32/common/libgstbase.def:
3272 Add new basetransform API to win export file.
3274 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3276 * tests/check/gst/gstbin.c:
3277 Adjust the test to the refcount change two days ago.
3279 2007-12-14 David Schleef <ds@schleef.org>
3281 * docs/faq/getting.xml: Fix typo.
3283 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3285 * docs/libs/gstreamer-libs-sections.txt:
3286 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3287 (gst_base_transform_prepare_output_buffer),
3288 (gst_base_transform_set_gap_aware):
3289 * libs/gst/base/gstbasetransform.h:
3290 API: Add gst_base_transform_set_gap_aware() to control whether
3291 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3292 get buffers with this flag at all. Fixes #503231.
3294 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3296 * libs/gst/base/gstbasesink.c:
3297 * libs/gst/base/gstbasesrc.c:
3298 * libs/gst/base/gstbasetransform.c:
3299 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3300 thread. Correct log message in gstbasesrc.c.
3302 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3304 * gst/gstutils.c: (element_find_unconnected_pad):
3305 Fix possible compiler warning (#503417).
3307 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3309 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3310 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3312 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3314 * tools/gst-inspect.c: (print_element_properties_info):
3315 Add support for GstFraction properties.
3317 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3320 Add check-exports target and run it as part of 'make check'
3321 (see #499140 and #493983).
3323 * gst/gst_private.h:
3324 * gst/gstelementfactory.h:
3325 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3326 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3327 (_priv_gst_in_valgrind):
3328 * gst/gstinfo.h: (GstLogFunction):
3329 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3330 (gst_type_find_register):
3331 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3332 (gst_type_find_factory_get_type):
3333 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3334 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3335 (gst_controller_new_valist), (gst_controller_new_list),
3336 (_gst_controller_dispose), (_gst_controller_class_init):
3337 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3338 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3339 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3340 (gst_object_get_controller), (gst_object_set_controller),
3341 (gst_object_suggest_next_sync), (gst_object_sync_values),
3342 (gst_object_set_control_source), (gst_object_get_control_source),
3343 (gst_object_get_value_arrays), (gst_object_get_value_array),
3344 (gst_object_get_control_rate), (gst_object_set_control_rate):
3345 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3346 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3347 Make some functions that should be static static; rename some
3348 private symbols so that they don't get exported; add some FIXME
3349 comments so we can move accidentally exported functions into
3350 our private section in 0.11.
3352 * win32/common/libgstreamer.def:
3353 Add gst_utils_get_timestamp().
3355 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3359 Add more missing "Since:" tags to docs.
3361 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3364 Add mising "Since:" to docs.
3366 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3369 Include "glib-compat-private.h" to fix the build on system with
3370 glib < 2.10. Fixes #503131.
3372 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3376 Actually its not PURE as it gets the time from elsewhere.
3378 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3380 * docs/gst/gstreamer-sections.txt:
3382 * gst/gstdebugutils.c:
3386 * libs/gst/base/gstbasesink.c:
3387 * tools/gst-launch.c:
3388 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3389 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3390 Thanks Tim for spotting.
3391 API: gst_util_get_timestamp
3393 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3396 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3398 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3400 * gst/gststructure.c: (gst_structure_validate_name),
3401 (gst_structure_new_valist), (gst_structure_parse_value),
3402 (gst_structure_from_string):
3403 Don't crash in _from_string() if the structure name is not valid
3404 (fixes #501560). Allow structure names to start with a number
3405 again (this apparently broke the ubuntu codec installer).
3407 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3409 Add unit test for the crash; update unit tests for new behaviour.
3411 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3414 Clarify gst_element_get_compatible_pad() documentation.
3417 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3419 * tests/check/Makefile.am:
3420 Don't forget to dist {gst,libs}/struct_hppa.h.
3422 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3424 * libs/gst/base/gstbasesink.c:
3425 Use new API to get elapsed time.
3427 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3429 * gst/gstdebugutils.c:
3431 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3433 * tools/gst-launch.c:
3434 Use new API to get elapsed time.
3436 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3438 * docs/gst/gstreamer-sections.txt:
3440 * gst/gstdebugutils.c:
3442 Rename new API + ChangeLog surgery to remove old name from last entry..
3444 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3446 * docs/gst/gstreamer-sections.txt:
3448 * gst/gstdebugutils.c:
3450 Now hide the different clock stuff behind a macro.
3452 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3455 * gst/gstdebugutils.c:
3457 Apply the posix-timer check from #361155. Conditionally use the posix
3458 timer for logging. This gives better timestamp precission, less
3459 overhead and no ntp jitter.
3461 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3463 * gst/gstminiobject.c: (gst_mini_object_get_type),
3464 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3465 (gst_mini_object_finalize), (gst_mini_object_copy),
3466 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3467 (gst_mini_object_replace), (param_mini_object_validate),
3468 (gst_param_spec_mini_object_get_type):
3469 Some cleanup and checking against invalid function parameters.
3471 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3473 * docs/gst/gstreamer-sections.txt:
3475 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3476 (gst_systemclock_suite):
3477 Start merging in the easy bits of #361155, the monotonic clock patch.
3478 This one adds a few handy macros with docs and a testsuite.
3480 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3482 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3483 Be a bit smarter when seeking, like, don't try to do a seek when it's
3484 not needed. This avoids errors when the file is not seekable.
3487 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3489 * docs/gst/gstreamer-docs.sgml:
3490 * docs/gst/gstreamer-sections.txt:
3491 * docs/gst/gstreamer.types.in:
3496 * plugins/elements/gstqueue.c:
3497 Due to popular request remove preset interface again. :-(.
3499 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3501 * tools/gst-inspect.c:
3502 Print 'default value' for enums and flags too.
3504 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3506 * docs/random/ensonic/profiling.txt:
3510 Fix typo and give better log output.
3512 * gst/gstdebugutils.c:
3513 * gst/gstdebugutils.h:
3514 More ideas, make graphs a bit smaller and fix param name in macro.
3516 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3519 Try harder to use the return value from fgets().
3521 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3524 For theses two fgets we handle the error below.
3526 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3528 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3529 Only send upstream events upstream. Fixes #498746.
3531 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3533 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3535 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3536 (gst_identity_init), (gst_identity_transform_ip),
3537 (gst_identity_set_property), (gst_identity_get_property):
3538 * plugins/elements/gstidentity.h:
3539 Add property to disable handoff signal emission. Fixes #498694.
3540 API: GstIdentity::signal-handoffs
3542 2007-11-21 Julien Moutte <julien@fluendo.com>
3544 * docs/faq/gst-uninstalled: Yet another missing library for the
3545 uninstalled script (fft)
3547 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3549 * docs/faq/developing.xml:
3550 Add a question about how to submit new translations.
3552 * docs/random/release:
3553 Update the contact email address for the Translation Project
3555 * plugins/elements/gstfdsrc.c:
3556 The parent_class for fdsrc is pushsrc, not GstElement.
3558 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3561 Plug a leak and fix saving.
3563 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3565 * docs/gst/gstreamer-sections.txt:
3566 Add new gst_preset__get_property_names() function to the docs
3569 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3573 Change _get_preset_names API to return a strv with copies. Add
3574 _get_property_names to allow implementations to filter and provide
3575 good default implementation.
3577 2007-11-20 Julien MOUTTE <julien@moutte.net>
3579 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3582 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3585 More cleanups, docs, and TODOs from comments that now slowly come in.
3587 2007-11-19 Julien MOUTTE <julien@moutte.net>
3589 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3592 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3595 Fix bogus warning and make the property type specific code more
3598 2007-11-19 Julien MOUTTE <julien@moutte.net>
3600 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3603 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3605 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3606 (gst_bin_add_func), (gst_bin_remove_func),
3607 (gst_bin_change_state_func), (gst_bin_continue_func):
3608 Change email, cleanups add some more debug and comments.
3609 Also set bus and clock on new elements when the pipeline was in error.
3611 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3614 * gst/gstdebugutils.c:
3615 Fix build with --disable-gst-debug. Fixes #497859.
3616 Spotted by Sameer Naik.
3618 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3621 Little documentation improvment.
3624 More TODO cleanups. Remove c++ comments.
3626 * libs/gst/controller/gstcontroller.c:
3627 Add TODO and use quark from static string.
3629 * tests/check/gst/gstmessage.c:
3630 * tests/check/gst/gststructure.c:
3631 Use quark from static string.
3633 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3636 Add some comments and TODOs.
3639 Add padding for future changes.
3641 * plugins/elements/gstqueue.c:
3642 Implement the iface.
3644 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3646 * docs/gst/gstreamer-docs.sgml:
3647 * docs/gst/gstreamer-sections.txt:
3648 * docs/gst/gstreamer.types.in:
3653 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3655 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3661 === release 0.10.15 ===
3663 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3666 releasing 0.10.15, "October"
3668 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3670 * win32/vs6/libgstreamer.dsp:
3671 Convert line endings back to DOS.
3673 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3675 * docs/design/draft-tagreading.txt:
3676 * docs/random/ensonic/profiling.txt:
3677 Update fast tagreading draft and performance profiling ideas.
3679 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3681 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3682 Don't hold the object lock when unreffing a buffer because it could
3683 cause a deadlock when the finalize function wants to grab the object
3684 lock too. Fixes #495133.
3686 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3688 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3689 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3690 Also accumulate time correctly when doing reverse playback. Fixes
3692 When converting to running and stream time, use default values for
3693 start/stop/time/accum when comparing different formats. Fixes #494245.
3695 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3696 Do running/stream time in TIME format.
3698 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3699 (gst_segment_suite):
3700 2 new unit tests for segment accumulation.
3702 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3704 * gst/gst.c: (init_pre):
3705 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3706 (_gst_debug_bin_to_dot_file):
3707 Move getenv() back into gst_init, so everyone can live happily
3708 ever after. Make sure the symbol isn't exported though.
3710 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3712 Patch by: Sebastien Moutte <sebastien moutte net>
3714 * win32/common/gstenumtypes.c:
3715 * win32/common/gstenumtypes.h:
3718 * win32/vs6/libgstreamer.dsp:
3719 Update vs6 project files (#494343).
3721 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3723 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3724 (gst_base_src_perform_seek), (gst_base_src_default_event),
3725 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3726 (gst_base_src_activate_pull):
3727 Unify flushing code, remove some old unlock code that is no longer used.
3728 Take the streaming lock when seeking to avoid races. Fixes #492729.
3729 Added some more comments.
3731 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3733 * gst/gst.c: (_gst_disable_segtrap):
3734 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3735 we can use gst_segtrap_is_enabled() there now that we have that API.
3736 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3737 to do the getenv here (and export the variable).
3739 * gst/gstdebugutils.c: (debug_dump_element),
3740 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3741 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3743 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3744 (gst_debug_log_default):
3745 Rename _gst_info_start_time to priv_gst_info_start_time so it
3746 doesn't get exported (was never in any header).
3748 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3749 (gst_plugin_loading_mutex):
3750 Make static mutex gst_plugin_loading_mutex really static (was never
3751 in any header), and use gst_segtrap_is_enabled() instead of
3752 _gst_disable_segtrap.
3754 * gst/gsttrace.c: (_gst_trace_default):
3755 Make local _gst_trace_default static (was never in any header).
3757 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3759 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3761 * win32/common/libgstbase.def:
3762 * win32/common/libgstcontroller.def:
3763 * win32/common/libgstdataprotocol.def:
3764 * win32/common/libgstnet.def:
3765 * win32/common/libgstreamer.def:
3766 Add more missing symbols, remove some duplicates, and sort
3767 as the 'sort' command sorts it (partially fixes #493983).
3769 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3771 * gst/gstelement.c: (gst_element_set_state_func):
3772 Only change the state cookie if a different state was set on the
3773 element. See #492729.
3775 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3778 Remove unused and uninitialised type variables that were still
3779 exported for some reason (they were never in any header files
3782 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3784 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3785 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3786 (gst_base_sink_event), (gst_base_sink_get_position_last),
3787 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3788 (gst_base_sink_change_state):
3789 Don't try to report a 0 position when we don't know, return -1 and FALSE
3790 instead. This mostly happens when we are prerolling.
3791 Make sure we can report the right position before we post the ASYNC_DONE
3792 message so that a message handler can query position without races.
3794 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3795 (async_done_handoff), (async_done_func), (send_buffer),
3796 (async_done_eos_func), (gst_sinks_suite):
3797 Add two tests for the above.
3799 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3802 Update with new email address.
3804 * docs/design/part-TODO.txt:
3805 Add some more info about future pad-block and negotiation changes.
3807 * docs/design/part-buffering.txt:
3808 Add some ideas about buffering reporting.
3810 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3812 * tests/check/gst/gstobject.c:
3813 Disable silly racy test that always fails on this combination of CPU
3816 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3818 Patch by: Murray Cumming <murrayc@murrayc.com>
3821 Corrected the registration of the parent-set and parent-unset
3822 signals: The parameter is a GstObject, not a GObject (#493134).
3824 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3826 * gst/gst_private.h:
3835 Move declaration of private _gst_foo_initialize() functions into
3836 our private header file where they should have been all along.
3838 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3840 * docs/plugins/gstreamer-plugins-sections.txt:
3841 * gst/gstdebugutils.h:
3843 * plugins/elements/gstqueue.c:
3844 gtk-doc fixes; trailing-comma-in-enum fix.
3846 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3848 * gst/gst.c: (gst_deinit):
3849 Clean up on deinit (not the external ones though, doesn't seem to be
3850 needed for some reason).
3852 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3854 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3855 Remove __declspec(dllimport) for MSVC that was copied over into core
3856 from a plugin, obviously without ever having been tested (note the
3857 single underscore in _declspec in the initial commit), and that doesn't
3858 really make sense. See #492077.
3860 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3862 * gst/gst.c: (init_post):
3863 * gst/gstevent.c: (_gst_event_initialize):
3864 * gst/gstquery.c: (_gst_query_initialize):
3865 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3866 g_type_class_ref() other types as well, see #349410 and #64764.
3868 * gst/gstbuffer.c: (_gst_buffer_initialize):
3869 * gst/gstmessage.c: (_gst_message_initialize):
3870 Simplify existing g_type_class_ref().
3872 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3874 * gst/gstformat.c: (_gst_format_initialize):
3875 g_type_class_ref() our GstFormat type to make sure we avoid the
3876 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3877 bug #64764. Should fix intermittent tee unit test failures (#474823).
3879 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3881 * tests/check/elements/tee.c: (test_num_buffers):
3882 Simplify, simplify, simplify - or not. Rewrite unit test
3883 not to use gst_parse_launch(); allow N sub-streams. Increasing
3884 the number of sub-streams seems to reproduce #474823 more easily.
3886 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3888 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3891 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3892 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3893 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3894 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3895 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3896 so use _pipe() directly (#492077).
3898 * win32/common/dirent.c: (_treaddir):
3899 Add a couple of casts to make it build without warnings with MSVC.
3901 * win32/common/libgstreamer.def:
3902 Add some more symbols that need to be exported.
3904 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3906 * tests/examples/metadata/read-metadata.c: (message_loop):
3907 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3908 arriving in a second or third tag message are added to
3909 the tag list as well.
3911 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3913 * libs/gst/base/gstbasesrc.c:
3914 Its "Since:" and not "@Since:". And remove an superflous cast.
3916 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3918 * docs/libs/gstreamer-libs-sections.txt:
3919 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3920 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3921 (gst_base_sink_get_property), (gst_base_sink_render_object),
3922 (gst_base_sink_preroll_object),
3923 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3924 (gst_base_sink_change_state):
3925 * libs/gst/base/gstbasesink.h:
3926 Add a new last-buffer property that contains the last buffer used in
3927 basesink for preroll or rendering. useful for making snapshots.
3928 API: gst_base_sink_get_last_buffer()
3929 API: GstBaseSink::last-buffer
3931 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3933 * docs/gst/running.xml:
3935 * gst/gstdebugutils.c:
3936 * gst/gstdebugutils.h:
3937 * tools/gst-launch.c:
3938 Improve bin graph dumping, by using the envvar to specify a path.
3939 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3941 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3943 * plugins/elements/gsttypefindelement.c:
3944 (gst_type_find_element_handle_event),
3945 (gst_type_find_element_activate):
3946 Post special error message if we can't determine the type of a stream
3949 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3951 * docs/gst/running.xml:
3952 * gst/gstdebugutils.c:
3953 Document new env-var. Add one log-line after dumpng a graph.
3955 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3958 Ugly hack to put the (recently removed and non-portable, apparently)
3959 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3960 GNU ld, because without that 'make check' fails miserably on my debian
3961 stable box. Someone with more knowledge of linker intricacies and
3962 portability issues than me fix this properly please.
3964 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3966 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3967 Reset last seen position after flushing so that we don't report the old
3970 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3972 * gst/gstelementfactory.c: (gst_element_register):
3974 Patch from Alessandro Decina adding get_type_full and
3975 get_protocols_full private vfuncs to the URIHandler interface
3976 to allow bindings to support creating URI handlers.
3977 Partially fixes: #339279
3978 API: GstURIHandlerInterface::get_type_full
3979 API: GstURIHandlerInterface::get_protocols_full
3981 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3983 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3984 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3985 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3986 Make it so that pads are considered linked until a buffer is pushed
3987 and discovered otherwise. This avoids problems with decodebin2 hanging
3988 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3991 Make sure we lock the multiqueue when updating the max-size properties.
3993 Fix a crash on Solaris in a debug statement in get_request_pad that
3994 passes a NULL string to GST_DEBUG.
3996 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3997 (run_output_order_test):
3998 Fix the test to allow the first buffer on not-linked pads to come out
3999 of sequence while multiqueue discovers that they are not-linked.
4001 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4004 * libs/gst/check/Makefile.am:
4005 Use a custom export symbol regex for libgstcheck, as it needs
4006 to export symbols that don't match the standard GStreamer gst_*
4007 pattern, and --export-dynamic is not portable (only works on
4010 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4011 (gst_check_setup_sink_pad):
4012 Make sure to pass a message parameter to the fail_* macros.
4014 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4015 Fix some compiler warnings.
4017 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4019 * tests/check/gst/gststructure.c: (test_to_string):
4020 Disable test that checks that white spaces are not allowed
4021 in structure names or field names, since we need to
4022 support that for now for backwards compatibility reasons.
4024 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4026 * docs/gst/gstreamer-sections.txt:
4029 API: add GST_TAG_ARTIST_SORTNAME
4030 API: add GST_TAG_ALBUM_SORTNAME
4031 API: add GST_TAG_TITLE_SORTNAME
4032 Add tag variants for sorting (#414539).
4034 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4036 * gst/gststructure.c:
4037 Also allow white space for names so we don't break
4038 backwards compatibility.
4040 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4042 * docs/design/part-TODO.txt:
4043 * docs/design/part-segments.txt:
4044 * docs/design/part-streams.txt:
4047 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4049 * docs/gst/gstreamer-sections.txt:
4050 Fixed documentation from my previous commit (added new API add
4051 gst_value_set_structure(), add gst_value_get_structure() and
4052 GST_VALUE_HOLDS_STRUCTURE).
4054 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4056 * gst/gstdebugutils.c:
4057 Reflow code to fix uninitialized variable warning.
4059 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4061 * gst/gstcaps.c: (gst_caps_to_string),
4062 (gst_caps_from_string_inplace):
4063 * gst/gststructure.c: (gst_structure_get_abbrs),
4064 (gst_structure_to_string), (gst_structure_from_string):
4065 * gst/gstvalue.c: (gst_value_set_structure),
4066 (gst_value_get_structure), (gst_value_serialize_structure),
4067 (gst_value_deserialize_structure), (_gst_value_initialize):
4069 * tests/check/gst/gststructure.c: (GST_START_TEST),
4070 (gst_structure_suite):
4071 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4072 Added GstStructure to gst_value_table and its related functions.
4073 Changed gst_structure_to_string to print ';' in the end.
4074 Changed gst_caps_to_string to not print ';' beteween its
4075 fields (structures) anymore and remove the lastes ';' from latest
4076 structure. Now it is possible to have nested structures.
4077 In addition, backward compatibilty is assured by accepting '\0' as
4078 end delimiter. Fixes: #487969.
4079 API: add gst_value_set_structure()
4080 API: add gst_value_get_structure()
4081 API: add GST_VALUE_HOLDS_STRUCTURE
4083 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4086 When no GSource callback has been set up, tell developer
4087 to use a function that actually exists.
4089 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4091 * docs/gst/gstreamer-sections.txt:
4095 * gst/gstdebugutils.c:
4096 * gst/gstdebugutils.h:
4099 * tools/gst-launch.c:
4100 Allow dumping pipelines as dot graphs. Fixes #456573.
4102 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4104 * gst/gststructure.c:
4105 Allow '+' as well, it can be part of media or mime types
4106 such as image/svg+xml.
4108 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4110 * docs/gst/gstreamer-sections.txt:
4113 API: add gst_bus_pop_filtered
4114 API: add gst_bus_timed_pop_filtered
4115 Two new functions for waiting for specific message types on the
4116 bus for a specified amount of time without iterating any main
4117 loops or main contexts.
4119 * tests/check/gst/gstbus.c:
4120 Some tests for the new functions.
4122 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4124 * docs/libs/gstreamer-libs-sections.txt:
4125 Make gtk-doc ignore stuff it should ignore.
4127 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4129 * libs/gst/check/gstcheck.c:
4130 * libs/gst/check/gstcheck.h:
4131 Allow runtime selection of unit tests to run via the GST_CHECKS
4132 environment variable (test case function names, comma-separated).
4134 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4136 * gst/gststructure.c:
4137 * tests/check/gst/gststructure.c:
4138 Revert serialisation change and constrain structure-names after
4139 consensus on irc. Update api documentation to reflect the change.
4141 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4143 * gst/gststructure.c:
4144 Improve serialization and fix tests.
4146 * tests/check/gst/gststructure.c:
4147 Add another test that covers why I actually did the previous structure
4150 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4152 * tools/gst-inspect.c: (print_element_info):
4153 Don't crash when inspecting an element.
4155 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4157 * tests/check/gst/gststructure.c:
4158 Add unit test for escaping of structure name when serialising
4159 and deserialising to/from strings.
4161 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4163 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4164 (gst_single_queue_new):
4165 * plugins/elements/gstqueue.c: (gst_queue_init),
4166 (gst_queue_push_one):
4167 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4168 upstream is tricked into thinking it can suggest a format downstream
4169 while downstream does not support that format. The real problem is that
4170 core calls acceptcaps when pushing a buffer with new caps, for which we
4171 do a little workaround by setting the caps on the srcpad ourselves
4172 before pushing the buffer (until this is figured out). Fixes #486758.
4174 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4176 * gst/gststructure.c:
4178 Add some more comments and debug output. Quote structure name to fix
4179 deserialisation of some strings.
4181 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4184 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4185 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4187 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4189 * tools/gst-inspect.c:
4190 Save approx. 400 1 byte allocs when printing. Use API to acces element
4196 * tools/gst-xmlinspect.c:
4197 Use API to acces element details.
4199 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4202 Fix some spelling errors.
4204 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4206 * gst/gstbin.c: (bin_handle_async_done):
4207 Correctly set the next state if all of our async children commited their
4208 state. This makes sure we can actually cancel the state change in
4209 progress. Fixes a regression in Rhythmbox when seeking.
4211 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4214 Don't shadow local variable.
4217 Don't shadow global function name.
4219 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4221 * gst/gstelementfactory.c:
4222 * gst/gstpluginfeature.c:
4223 * gst/gstpluginfeature.h:
4224 * gst/gstregistrybinary.c:
4225 * gst/gstregistryxml.c:
4226 * gst/gsttypefind.c:
4227 Use already-interned string for the private GstPluginFeature
4230 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4232 * docs/libs/gstreamer-libs-sections.txt:
4233 Add new API to docs; fixes the build.
4235 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4237 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4239 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4240 (gst_base_sink_event):
4241 * libs/gst/base/gstbasesink.h:
4242 Add function to wait for EOS, subclasses can use this to correctly wait
4243 for devices to drain before performing the EOS logic. Fixes #485343.
4244 API: gst_base_sink_wait_eos()
4246 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4249 Cast description string constants in GST_PLUGIN_DEFINE macros
4250 to a (gchar*) to make C++ code using these macros compile
4251 without warning with g++-4.2 (see #462737). Even if slightly
4252 ugly, this seems preferable to putting the description strings
4253 into the GLib quark table or making the structure member a
4254 const gchar * and doing casts in core code that allocs and
4255 frees these strings, or requiring a cast in the C++ code.
4257 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4260 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4261 to print the entire class/function signature into the log
4262 file for C++ code. This only affects C++ code, for C code
4263 everything remains the same.
4265 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4267 * gst/gstbin.c: (remove_from_queue):
4268 Work around a problem with pipelines containing (semi)loops until a
4269 proper, more complicated solution is ready. See #475455.
4271 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4275 * gst/gstregistrybinary.c:
4276 * gst/gstregistryxml.c:
4277 Put more strings into the GLib quark table. No need to keep
4278 a hundred-something copies of identical version strings,
4279 license strings, package name strings and package origin
4282 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4284 * docs/manual/advanced-dataaccess.xml:
4285 Don't imply that it's okay to unconditionally change
4286 buffer data or buffer metadata in a pad probe callback,
4287 and a bunch of other comments. Fixes #430031.
4289 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4291 * win32/common/gstenumtypes.c:
4292 * win32/common/gstenumtypes.h:
4293 * win32/common/gstversion.h:
4294 Update generated files.
4296 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4298 * docs/manual/advanced-autoplugging.xml:
4299 Prefix section with broken code with a warning (see #342432).
4301 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4303 * docs/manual/appendix-integration.xml:
4304 * docs/manual/basics-init.xml:
4305 Call g_thread_init() before g_option_context_new() to
4306 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4308 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4310 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4311 (gst_base_sink_queue_object_unlocked),
4312 (gst_base_sink_queue_object), (gst_base_sink_event),
4313 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4314 When we received EOS and are waiting for when to post the EOS message,
4315 our state is prerolled and we should not return ASYNC.
4316 Reorganize some code paths to implement this behavior.
4318 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4320 Add unit test to verify above EOS fix.
4322 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4324 * plugins/elements/gsttypefindelement.c:
4325 (gst_type_find_element_have_type), (gst_type_find_element_init),
4326 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4327 Move detecting the input caps of the sinkpad to the setcaps function.
4328 This allows us to update the output caps when we receive new input caps
4329 instead of always using the first detected caps.
4331 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4333 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4334 (gst_base_sink_get_position):
4335 Don't try to preroll non-async elements after a flush.
4336 Subtract latency form clock times when reporting position.
4338 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4340 * gst/gstpad.c: (gst_pad_pause_task):
4342 Small comment and documentation update.
4344 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4346 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4347 (gst_base_src_set_live), (gst_base_src_is_live),
4348 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4349 (gst_base_src_default_event), (gst_base_src_wait),
4350 (gst_base_src_do_sync), (gst_base_src_get_range),
4351 (gst_base_src_pad_get_range), (gst_base_src_loop),
4352 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4353 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4354 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4355 (gst_base_src_change_state):
4356 Rework the locking of basesrc in a similar fashion to basesink. We
4357 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4358 us to handle live sources and semi live ones much better.
4360 Fix unlocking when seeking, shutting down and pausing in live sources.
4362 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4364 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4365 Fix compilation again.
4367 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4370 Use meaningful categories for the logs to clean the default one.
4372 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4374 * tests/check/pipelines/cleanup.c:
4375 Print message name and not just number.
4377 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4379 * docs/design/draft-tagreading.txt:
4380 Add some more thoughts.
4382 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4384 * tests/check/pipelines/simple-launch-lines.c:
4385 Print message name and not just number.
4387 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4389 * libs/gst/base/gsttypefindhelper.c:
4390 Speedup typefinding. This is work in progress (see #459862).
4392 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4395 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4396 Spotted by Josep Torra Valles <josep@fluendo.com>.
4398 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4401 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4402 field has moved to GstObject.
4404 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4406 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4407 (gst_base_src_get_range), (gst_base_src_change_state):
4408 Call unlock for live sources so that they can't get stuck in _create and
4409 produce a buffer before they are set back to PLAYING.
4411 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4413 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4414 (gst_queue_locked_dequeue):
4415 Comment the segment-related code... in the PROPER function.
4416 See #482147 and my commit from yesterday.
4418 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4420 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4421 Also initialize the counter that calculates the first timestamp on a
4422 buffer correctly for non-live sources.
4424 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4426 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4427 Disable code that's breaking the current-time-level reporting.
4430 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4432 * docs/gst/gstreamer-sections.txt:
4433 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4434 as they shouldn't show up. Fixes the docs build.
4436 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4439 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4440 Define M_PI which is used in files which are including gstinfo.h.
4441 VS6 includes doesn't define it.
4442 * win32/common/libgstbase.def:
4443 * win32/common/libgstcontroller.def:
4444 * win32/common/libgstreamer.def:
4445 Add new exported functions and variables.
4446 * win32/vs6/libgstcontroller.dsp:
4447 * win32/vs6/libgstreamer.dsp:
4448 Update the list of files to build.
4450 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4452 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4454 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4455 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4456 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4457 Improve debugging. Fixes #480858.
4459 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4461 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4463 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4464 First patch of code cleanups, use the macros and right arguments in the
4465 macros to signal and lock the queue. See #480858.
4467 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4469 * gst/gstbus.c: (poll_func):
4470 Improve debugging when dealing with _poll().
4472 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4474 * gst/gstregistryxml.c:
4475 Fix memory leak I introduced a few days ago.
4477 2007-09-26 Michael Smith <msmith@fluendo.com>
4479 * gst/gstbuffer.c: (gst_buffer_finalize):
4480 Make it once again possible to free GstBuffers in the default
4482 The poisoning scribbles on parts of the miniobject we need in
4486 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4488 * docs/gst/gstreamer-sections.txt:
4491 API: add GST_TAG_COMPOSER, fixes #459809.
4493 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4497 Add the 3-clause BSD license and the MIT/X11 license to the license
4498 list. Fixes #479784.
4500 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4502 * docs/faq/getting.xml:
4503 Add Q+A about different GStreamer versions (#364056).
4505 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4507 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4508 (gst_base_sink_event), (gst_base_sink_change_state):
4509 Return correct gboolean from query function.
4511 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4513 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4514 (gst_base_sink_event), (gst_base_sink_query),
4515 (gst_base_sink_change_state):
4516 Simplify latency query.
4517 When not synchronizing, we can report latency without querying the peer
4520 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4524 Fix small typos in the docs.
4526 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4528 * docs/design/draft-latency.txt:
4529 * docs/design/draft-push-pull.txt:
4530 * docs/design/draft-tagreading.txt:
4531 * docs/design/part-MT-refcounting.txt:
4532 * docs/design/part-activation.txt:
4533 * docs/design/part-block.txt:
4534 * docs/design/part-element-source.txt:
4535 * docs/design/part-events.txt:
4536 * docs/design/part-gstbin.txt:
4537 * docs/design/part-gstelement.txt:
4538 * docs/design/part-gstobject.txt:
4539 * docs/design/part-gstpipeline.txt:
4540 * docs/design/part-messages.txt:
4541 * docs/design/part-preroll.txt:
4542 * docs/design/part-push-pull.txt:
4543 * docs/design/part-qos.txt:
4544 * docs/design/part-query.txt:
4545 * docs/design/part-scheduling.txt:
4546 * docs/design/part-seeking.txt:
4547 * docs/design/part-segments.txt:
4548 * docs/design/part-states.txt:
4549 Documentation updates and typo fixes.
4551 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4553 * plugins/elements/gstfakesink.c:
4554 Add some debug text to error message to indicate that
4555 we errored out on request.
4557 * tools/gst-launch.c:
4558 When the state change to PLAYING fails, check for an
4559 error message on the bus and print it.
4561 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4563 translated by: Jorge González González <aloriel@gmail.com>
4567 Added Spanish translation.
4569 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4571 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4572 Fix printf arguments.
4574 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4576 * tests/check/generic/states.c:
4577 Improved state change unit test.
4579 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4582 Move priv to the right place.
4584 * gst/gstsystemclock.c:
4585 Add FIXME: and improve log.
4587 * tests/check/Makefile.am:
4588 * tests/examples/manual/Makefile.am:
4589 Work with all types of registries.
4591 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4593 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4594 Don't unref the event after pushing it. Fixes #478401.
4596 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4599 * tests/examples/manual/.cvsignore:
4600 Ignore registries in any format.
4602 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4604 * gst/glib-compat-private.h:
4605 Add compatibility macro for g_intern_string() for
4606 GLib-2.8 (any reason we can't just bump the
4607 requirement to at least 2.10?)
4609 * gst/gstpadtemplate.h:
4610 * gst/gstelementfactory.c:
4611 * gst/gstregistryxml.c:
4612 * gst/gstregistrybinary.c:
4613 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4614 up the internal code accordingly. This shouldn't be a problem, since
4615 there is no reason external code could ever assume the string in such
4616 a structure is dynamically allocated unless it did that itself; the
4617 use of g_strdup() is private to element factories. The new code also
4618 saves some memory by putting pad template name strings into the GLib
4619 quark table instead of allocating them dynamically.
4620 Declaring this field constant fixes warnings with g++-4.2 when using
4621 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4623 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4625 * gst/gstelementfactory.c:
4626 Release static caps. Fixes #475723.
4628 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4632 Make some internal API take const gchar * instead of just
4633 gchar * to avoid compiler warnings with g++-4.2.2 when
4634 passing string constants (partially fixes #478092).
4636 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4638 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4639 A latency query fails when one of the sinks fail.
4641 * gst/gstelement.c: (gst_element_set_base_time):
4644 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4646 * gst/gstbin.c: (gst_bin_continue_func):
4647 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4648 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4649 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4651 Fix minor compilation warnings shown with Forte.
4653 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4655 * plugins/elements/gstqueue.c: (apply_buffer),
4656 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4657 Measure queue level based on the diff between head and tail timestamps
4658 even when pushing the first buffer.
4660 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4662 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4663 (gst_base_sink_event), (gst_base_sink_change_state):
4664 Sinks that don't preroll can always be queried for the latency.
4665 Don't post ASYNC start when we are not async.
4667 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4669 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4670 (gst_queue_handle_sink_event), (gst_queue_chain),
4671 (gst_queue_push_one), (gst_queue_handle_src_query),
4672 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4673 * plugins/elements/gstqueue.h:
4674 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4675 push more buffers but allow pushing of EOS and NEWSEGMENT.
4676 Add some more debug info here and there. Fixes #476514.
4678 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4680 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4681 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4682 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4683 (gst_base_sink_set_flushing), (gst_base_sink_query),
4684 (gst_base_sink_change_state):
4685 Latency query is allowed after we are prerolled. Introduce a new flag
4686 for this and stop abusing other variables.
4688 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4690 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4691 Push OOB events downstream when we get them in send_event. This allows
4692 the application to insert events in the pipeline.
4693 Add some more comments.
4695 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4697 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4698 (do_bin_latency), (gst_bin_change_state_func):
4699 * gst/gstpipeline.c: (gst_pipeline_change_state):
4700 Move latency query from GstPipeline to GstBin so that we can also
4701 use it when async-handling is enabled on bins.
4703 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4705 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4706 (gst_base_src_do_sync), (gst_base_src_change_state):
4708 Clean up the timestamping and syncing code for pseudo live sources.
4710 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4712 Patch by: Steve Fink <sphink gmail com>
4714 * docs/manual/appendix-checklist.xml:
4715 Mention less -R switch in the section about debug output (#474055).
4717 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4719 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4720 Queue can latency to the pipeline up to the configured max size in time.
4721 Report this fact in the latency query.
4723 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4725 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4727 * libs/gst/controller/gstinterpolation.c:
4728 * libs/gst/controller/gstlfocontrolsource.c:
4729 Use gst_guint64_to_gdouble() when converting from a uint64 or
4730 GstClockTime to double to fix the build on win32. Fixes #474371.
4732 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4734 * gst/gstbuffer.c: (gst_buffer_finalize):
4735 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4736 When finalizing a buffer the complete struct is filled with 0xff,
4737 thus making a use of the buffer after the final unref impossible.
4739 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4741 * tests/check/libs/controller.c: (GST_START_TEST):
4742 Use fail_unless_equals_int(a, b) instead of
4743 fail_unless_equals (a == b) to get better output on failures.
4745 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4747 * tests/check/gst/gsturi.c:
4748 Also check for the other file URI variant on win32.
4750 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4752 * gst/gsturi.c: (gst_uri_get_location):
4753 If there's no hostname, we want to return 'c:/foo/bar.txt'
4754 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4756 * tests/check/gst/gsturi.c:
4757 Unit test for the above and a few more things.
4759 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4761 * docs/design/part-live-source.txt:
4762 Add docs on how live sources should timestamp.
4764 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4765 Add some more debug info.
4766 For subclasses that are live and like to sync, add aditional startup
4767 latency to sync time and timestamps so that we timstamp according to the
4770 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4773 Also do a g_type_class_ref() for the subbuffer type in
4776 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4778 * docs/gst/gstreamer-sections.txt:
4779 * gst/gstpad.c: (gst_pad_peer_query):
4781 Add function to perform a query on the peer of a pad.
4782 API: gst_pad_peer_query()
4784 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4786 * tests/check/gst/gstsystemclock.c:
4787 Cleanup the test a little (use gst-logging and not g_message). Improve
4788 test to check if a wait reached the target.
4790 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4792 * docs/libs/gstreamer-libs-sections.txt:
4793 Add new API to docs and fix the build.
4795 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4797 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4798 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4799 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4800 (gst_base_src_get_property), (gst_base_src_do_sync):
4801 * libs/gst/base/gstbasesrc.h:
4802 Add property to make the basesrc timestamp buffers based on the current
4804 API: GstBaseSrc::do-timestamp
4805 API: gst_base_src_set_do_timestamp()
4806 API: gst_base_src_get_do_timestamp()
4808 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4810 * docs/random/release:
4811 Really make sure translations are up-to-date before
4812 a release (#465010).
4814 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4816 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4817 Always destroy the timer, also in error cases.
4819 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4821 * docs/manual/highlevel-xml.xml:
4822 Fix XML example code. Fixes #472714.
4824 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4826 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4827 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4828 (gst_base_sink_query):
4829 Protect eos and have_preroll with the OBJECT lock so we don't need to
4830 take the PREROLL lock when querying the latency. Fixes #473846.
4832 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4835 Give some log-messages a category.
4837 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4839 * gst/gststructure.c:
4840 (gst_structure_fixate_field_nearest_fraction):
4841 Fix fraction list fixation code. Take the fraction with the smallest
4842 difference with the target instead of the first one in the list.
4844 * tests/check/gst/gststructure.c: (GST_START_TEST),
4845 (gst_structure_suite):
4846 Added test to verify correct fraction list fixation behaviour.
4848 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4850 * win32/common/libgstreamer.def:
4851 Export gst_bus_add_signal_watch too.
4853 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4855 * docs/libs/gstreamer-libs-sections.txt:
4856 Add new methods to docs.
4858 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4859 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4860 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4861 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4862 * libs/gst/base/gstbasesink.h:
4863 Add ts-offset property to fine-tune the synchronisation.
4864 API: GstBaseSink::ts-offset property
4865 API: gst_base_sink_set_ts_offset()
4866 API: gst_base_sink_get_ts_offset()
4868 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4870 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4871 (gst_base_sink_init), (gst_base_sink_set_sync),
4872 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4873 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4874 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4875 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4876 (gst_base_sink_get_property), (gst_base_sink_change_state):
4877 * libs/gst/base/gstbasesink.h:
4878 Add async property to instruct the sink never to inform the parent about
4879 ASYNC state changes, update docs.
4880 Check argument with g_return_* for the public functions.
4881 API: GstBaseSink::async property
4882 API: gst_base_sink_set_async_enabled()
4883 API: gst_base_sink_is_async_enabled()
4885 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4887 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4890 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4891 (gst_base_src_default_query), (gst_base_src_wait),
4892 (gst_base_src_do_sync), (gst_base_src_change_state):
4893 Rearrange some code so that we can add support for measuring the
4896 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4898 * docs/random/ensonic/dynlink.txt:
4899 More thoughs on this.
4901 * plugins/elements/gstcapsfilter.c:
4902 Add bugzilla ticket number to FIXME comment.
4904 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4906 * docs/design/part-TODO.txt:
4907 * docs/design/part-block.txt:
4910 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4913 Revert patch which uses $(gst_headers) instead of $^ because it
4916 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4918 * tests/check/gst/gstbin.c: (GST_START_TEST):
4919 Fix leaks in the new unit test.
4921 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4924 Don't use GST_INFO before the debug system is actually initialised
4925 (shouldn't do any harm, but won't print anything either, so we can
4926 just as well remove it).
4929 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4930 compilers that don't support variadic macros (such as MSVC), should
4931 check for debug_level <= __gst_debug_min as well, since that's the
4932 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4933 inline helper functions. Should improve performance a bit, but also
4934 makes sure uses of GST_INFO et.al are ignored if the debugging
4935 system isn't initialised yet (instead of printing an assertion
4938 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4940 patch by: David Nečas <yeti@physics.muni.cz>
4943 Replace some non portable makefile constructs.
4945 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4947 * common/gtk-doc-plugins.mak:
4948 Grrrrr. Don't remove the types file on make clean.
4950 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4952 * tools/gst-launch.1.in:
4953 Add colorspace to example pipeline. Fixes #458274.
4955 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4957 * docs/random/release:
4958 The release manager should run 'make download-po' before making a
4959 release to make sure translations are up-to-date.
4965 Add some new translations.
4967 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4969 * tools/gst-launch.c: (event_loop), (main):
4970 Don´t try to do any state management when a live pipeline posts
4972 Also make the buffering string translatable.
4974 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4976 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4977 (bin_handle_async_start), (gst_bin_handle_message_func):
4979 When adding elements, insert messages into the bus of the newly added
4980 element and make sure the element is the source of the message. This
4981 allows the parent bin to intercept the message and do the
4982 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4983 messages to the app (which is not allowed).
4986 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4987 Fix testsuite so that is does not work around messages that should not
4988 have been posted in the first place.
4990 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4992 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4993 (update_degree), (gst_bin_sort_iterator_next):
4994 Fix annoying bug in the sorted iterator where a sink that is not really
4995 a sink (when it has downstream links) screwed up the iterator.
4997 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4998 Unit test to verify the fix.
5000 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5003 Add some more docs for the messages.
5005 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5006 (gst_base_sink_query):
5007 Add some more debugging.
5009 * tools/gst-launch.c: (event_loop):
5010 When interrupting, don't try to set pipeline to PAUSED twice.
5012 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5015 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5016 (bin_handle_async_start), (gst_bin_handle_message_func):
5017 Move ASYNC_START message posting to where it belongs, similar to
5019 Don't post ASYNC_START when we are in error.
5020 Post ASYNC_START when we added an async element to a bin.
5022 2007-08-14 Julien MOUTTE <julien@moutte.net>
5024 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5025 generation from vargs. Fixes #466595.
5027 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5029 * gst/gstbin.c: (gst_bin_element_set_state):
5030 Always change the state of a NO_PREROLL element even if it has ASYNC
5031 elements inside (in case of a bin).
5033 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5034 Unit test for this case.
5036 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5038 * libs/gst/check/gstbufferstraw.c:
5039 * libs/gst/check/gstcheck.h:
5040 * libs/gst/controller/gstcontroller.c:
5041 * libs/gst/controller/gstcontrolsource.h:
5042 * libs/gst/controller/gstlfocontrolsource.h:
5043 * plugins/elements/gstcapsfilter.h:
5044 * plugins/elements/gstfdsink.h:
5045 * plugins/elements/gstfdsrc.h:
5046 Add more missing docs.
5048 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5050 * gst/gststructure.c:
5051 Add Since tag to docs.
5053 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5055 * docs/gst/gstreamer-sections.txt:
5056 * gst/gststructure.c: (gst_structure_get_uint):
5057 * gst/gststructure.h:
5058 Add function to get uint from a structure.
5059 API: gst_structure_get_uint()
5061 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5063 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5064 (gst_caps_intersect):
5065 Fix proper check for simple caps.
5067 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5069 * docs/gst/Makefile.am:
5070 * docs/libs/Makefile.am:
5071 Remove cruft and do some cleanups.
5073 * docs/gst/gstreamer-docs.sgml:
5074 * docs/libs/gstreamer-libs-docs.sgml:
5075 Prepare for comming gtkdoc features (rebase against online docs).
5077 2007-08-10 Michael Smith <msmith@fluendo.com>
5079 * docs/gst/gstreamer-sections.txt:
5080 Add gst_registry_add_path to docs.
5082 2007-08-10 Michael Smith <msmith@fluendo.com>
5084 * gst/gstregistry.h:
5085 Add gst_registry_add_path, which was missing from this header.
5087 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5089 * libs/gst/controller/gstlfocontrolsource.c:
5092 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5094 * libs/gst/base/gstbasesink.c:
5095 Don't send an async_start message during downwards state change if
5096 target state is less than READY
5098 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5100 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5104 Added Hungarian translation.
5106 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5113 Updated translations.
5115 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5117 * libs/gst/controller/Makefile.am:
5118 Dist gstlfocontrolsourceprivate.h
5120 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5122 * docs/libs/gstreamer-libs.types:
5123 Don't register the enum type gst_lfo_waveform_get_type() in the
5124 .types file - only GObject derived types belong.
5126 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5128 Patch by: <arenevier at fdn dot fr>
5131 Remove comma from last element in enum to avoid compile errors when
5132 using -pendantic. Fixes #464366.
5134 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5136 * docs/design/part-TODO.txt:
5137 Add some more TODO items
5139 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5142 * gst/gstcaps.c: (gst_caps_intersect):
5143 Optimize trivial intersection case between identical caps pointers.
5145 * gst/gstelement.c: (gst_element_continue_state),
5146 (gst_element_set_state_func):
5148 Fix spelling and grammar mistakes.
5150 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5154 Update POTFILES. Fixes #461599.
5156 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5159 Fix confusing typo in debug output.
5161 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5163 reviewed by: Stefan Kost <ensonic@users.sf.net>
5165 * libs/gst/controller/Makefile.am:
5166 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5167 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5168 (gst_lfo_control_source_new),
5169 (gst_lfo_control_source_set_waveform),
5170 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5171 (gst_lfo_control_source_finalize),
5172 (gst_lfo_control_source_dispose),
5173 (gst_lfo_control_source_set_property),
5174 (gst_lfo_control_source_get_property),
5175 (gst_lfo_control_source_class_init):
5176 * libs/gst/controller/gstlfocontrolsource.h:
5177 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5178 API: Add GstLFOControlSource, a control source that gives values
5179 for specific timestamps based on several periodic waveforms.
5182 * tests/check/libs/controller.c: (GST_START_TEST),
5183 (gst_controller_suite):
5184 * docs/libs/gstreamer-libs-docs.sgml:
5185 * docs/libs/gstreamer-libs-sections.txt:
5186 * docs/libs/gstreamer-libs.types:
5187 Add documentation and unit tests for GstLFOControlSource.
5189 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5194 === release 0.10.14 ===
5196 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5199 releasing 0.10.14, "Breathing Vacuum"
5201 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5203 * gst/gstelement.c: (gst_element_class_set_details_simple):
5205 Make strings passed to gst_element_class_set_details_simple()
5206 constant, as they should be (#462752).
5208 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5210 * gst/gstbin.c: (gst_bin_change_state_func),
5211 (bin_handle_async_done), (gst_bin_handle_message_func):
5212 Don't forget about the fact that some element went ASYNC even after a
5213 resync. This makes us post the ASYNC_DONE message correctly.
5216 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5218 * gst/gstregistry.c: (gst_registry_add_feature):
5219 When replacing an existing feature in the registry, make sure to
5220 continue holding a reference until we've replaced the name string
5221 within our feature hash table. Make sure to use g_hash_table_replace
5222 instead of g_hash_table_insert to ensure the new name string is used
5223 as a key instead of the old one that we're about to free.
5226 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5228 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5229 (gst_plugin_feature_set_name):
5230 Revert patch from #459466 until after the release and we can work
5231 out exactly what the problem is (if any).
5233 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5235 * docs/gst/gstreamer-sections.txt:
5238 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5240 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5242 * docs/libs/Makefile.am:
5243 Include our build-prefix libs and includes before the generic ones to
5244 avoid linking against the installed libs when we want the build-tree
5247 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5249 Patch by: Steve Fink <sphink gmail com>
5251 * docs/pwg/building-testapp.xml:
5252 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5253 if people try to build or install the example from the plugin
5254 template against a GStreamer from package using the configure
5257 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5259 Patch by: Steve Fink <sphink gmail com>
5261 * tools/gst-inspect.1.in:
5262 Document --print-all and --print-plugin-auto-install-info command
5263 line options in man page.
5265 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5267 * docs/gst/gstreamer-sections.txt:
5268 Add docs for new api function.
5270 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5272 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5273 * gst/gstelementfactory.h:
5274 API: gst_element_factory_has_interface()
5275 Added method to check if an element factory implements a named
5278 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5281 * docs/gst/gstreamer.types.in:
5282 Another conditional doc check.
5285 * gst/gstparamspecs.h:
5286 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5291 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5293 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5294 (gst_registry_binary_load_feature),
5295 (gst_registry_binary_load_plugin),
5296 (gst_registry_binary_read_cache):
5297 Print error just once and with additional info.
5299 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5301 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5302 (helper_find_suggest), (helper_find_get_length),
5303 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5304 (gst_type_find_helper_for_buffer):
5305 Cleanup the typefindhelper code and add private doc comments.
5307 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5309 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5310 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5311 Fix capsfilter for cases where the caps set on capsfilter will provide
5312 additional information.
5315 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5317 * gst/gsttypefindfactory.c:
5318 Fix docs that recommened wrong function to use.
5320 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5322 * tools/gst-inspect.c: (print_plugin_features):
5323 Also give media-type for typefinders in element output.
5325 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5327 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5328 (gst_registry_remove_features_for_plugin_unlocked),
5329 (gst_registry_add_feature), (gst_registry_remove_feature),
5330 (gst_registry_lookup_feature_locked):
5331 * gst/gstregistry.h:
5332 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5335 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5337 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5338 (gst_plugin_feature_set_name):
5339 Avoid double memory usage for pluginfeature names. Fixes #459466.
5341 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5344 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5345 driving the pipeline may need to explicitly check for NOT_LINKED as
5346 well, since IS_FATAL doesn't cover that.
5348 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5350 * docs/pwg/advanced-types.xml:
5351 Fix typo and duplicate entry in video formats list.
5353 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5355 * libs/gst/controller/gstinterpolation.c:
5356 Also round to the nearest int when using cubic interpolation.
5358 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5360 * libs/gst/controller/gstinterpolation.c:
5361 When linearly interpolating integer types, round to the nearest int
5362 by adding 0.5. Don't do it for float/double types.
5363 Fixes the failing controller test on my machine, which is somehow
5364 rounding differently than on the buildbots.
5366 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5368 * tools/gst-plot-timeline.py:
5369 Better log parsing (categories can have -). Adjust text vs. lines, so
5370 that they span the same y-range.
5372 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5374 * docs/random/ensonic/audiobaseclasses.txt:
5375 * docs/random/ensonic/dynlink.txt:
5376 * docs/random/ensonic/profiling.txt:
5379 * docs/random/moving-plugins:
5380 Add note to use g_assert type macros.
5382 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5385 * libs/gst/check/Makefile.am:
5386 Add libm check as we use in for plugins.
5388 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5390 * gst/gstbin.c: (gst_bin_continue_func):
5391 Check that the state_cookie hasn't changed since the continue_func
5392 was scheduled. Avoids problems where the state changes back to
5393 something it shouldn't be because it was changed in the meantime.
5395 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5397 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5398 (gst_registry_binary_save_string),
5399 (gst_registry_binary_save_pad_template),
5400 (gst_registry_binary_save_feature),
5401 (gst_registry_binary_save_plugin),
5402 (gst_registry_binary_load_feature),
5403 (gst_registry_binary_load_plugin),
5404 (gst_registry_binary_read_cache):
5405 Fix memory leak. Be less verbose in the log.
5407 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5409 * tests/check/elements/.cvsignore:
5410 Add file to cvsignore as commanded.
5412 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5414 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5415 (mq_dummypad_event), (run_output_order_test):
5416 Use a GStaticMutex to protect all cases where libcheck
5417 fail_if/fail_unless macros might be called from multiple threads
5418 simultaneously to avoid errors like:
5419 "check_pack.c:107: :-1081725400:Bad message type arg"
5421 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5423 * tests/check/pipelines/stress.c: (GST_START_TEST):
5424 Make sure we set the pipeline back to the NULL state before
5425 dropping our final reference.
5427 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5429 * tests/check/elements/tee.c: (GST_START_TEST):
5430 Make the tee stress-test a little less stressful so it doesn't just
5431 time out on slow-machines, and remove a small race when it's starting
5432 up by adding a get_state() call.
5434 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5437 Avoid reading registry twice on startup. Fixes #457322.
5439 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5441 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5442 * pkgconfig/gstreamer-check.pc.in:
5443 Substitute the CFLAGS for libcheck into our .pc file too so that
5444 dependent modules will pick it up properly if libcheck is installed
5445 into some other prefix.
5447 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5450 Revert the pkg-config check for libcheck, since it pulls in the
5451 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5452 a proper solution, either from the check project, or something else.
5454 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5457 Use pkg-config to locate check.
5459 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5466 Add deprecation guards.
5468 * libs/gst/base/gstcollectpads.h:
5469 Don't document object (this is implicitly private).
5471 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5473 * gst/gststructure.c: (gst_structure_parse_value):
5474 When deserialising foo=bar without a type cast, check if it's a
5475 boolean before falling back to a string type, otherwise things like
5476 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5477 because the filtercaps end up having a signed=(string)true field,
5478 which causes problems later when intersection caps.
5480 * tests/check/gst/gststructure.c: (GST_START_TEST):
5481 Add a unit test for this.
5483 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5485 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5487 * libs/gst/controller/Makefile.am:
5488 * libs/gst/controller/gstcontroller.c:
5489 (gst_controlled_property_add_interpolation_control_source),
5490 (gst_controlled_property_new), (gst_controlled_property_free),
5491 (gst_controller_find_controlled_property),
5492 (gst_controller_new_valist), (gst_controller_new_list),
5493 (gst_controller_new), (gst_controller_remove_properties_valist),
5494 (gst_controller_remove_properties_list),
5495 (gst_controller_remove_properties),
5496 (gst_controller_set_property_disabled),
5497 (gst_controller_set_disabled), (gst_controller_set_control_source),
5498 (gst_controller_get_control_source), (gst_controller_get),
5499 (gst_controller_sync_values), (gst_controller_get_value_array),
5500 (_gst_controller_dispose), (gst_controller_get_type),
5501 (gst_controlled_property_set_interpolation_mode),
5502 (gst_controller_set), (gst_controller_set_from_list),
5503 (gst_controller_unset), (gst_controller_unset_all),
5504 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5505 * libs/gst/controller/gstcontroller.h:
5506 * libs/gst/controller/gstcontrollerprivate.h:
5507 * libs/gst/controller/gstcontrolsource.c:
5508 (gst_control_source_class_init), (gst_control_source_init),
5509 (gst_control_source_get_value),
5510 (gst_control_source_get_value_array), (gst_control_source_bind):
5511 * libs/gst/controller/gstcontrolsource.h:
5512 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5513 (gst_object_get_control_source):
5514 * libs/gst/controller/gstinterpolation.c:
5515 (gst_interpolation_control_source_find_control_point_node),
5516 (gst_interpolation_control_source_get_first_value),
5517 (_interpolate_none_get), (interpolate_none_get),
5518 (interpolate_none_get_boolean_value_array),
5519 (interpolate_none_get_enum_value_array),
5520 (interpolate_none_get_string_value_array),
5521 (_interpolate_trigger_get), (interpolate_trigger_get),
5522 (interpolate_trigger_get_boolean_value_array),
5523 (interpolate_trigger_get_enum_value_array),
5524 (interpolate_trigger_get_string_value_array):
5525 * libs/gst/controller/gstinterpolationcontrolsource.c:
5526 (gst_control_point_free), (gst_interpolation_control_source_reset),
5527 (gst_interpolation_control_source_new),
5528 (gst_interpolation_control_source_set_interpolation_mode),
5529 (gst_interpolation_control_source_bind),
5530 (gst_control_point_compare), (gst_control_point_find),
5531 (gst_interpolation_control_source_set_internal),
5532 (gst_interpolation_control_source_set),
5533 (gst_interpolation_control_source_set_from_list),
5534 (gst_interpolation_control_source_unset),
5535 (gst_interpolation_control_source_unset_all),
5536 (gst_interpolation_control_source_get_all),
5537 (gst_interpolation_control_source_get_count),
5538 (gst_interpolation_control_source_init),
5539 (gst_interpolation_control_source_finalize),
5540 (gst_interpolation_control_source_dispose),
5541 (gst_interpolation_control_source_class_init):
5542 * libs/gst/controller/gstinterpolationcontrolsource.h:
5543 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5544 API: Refactor GstController into the core controller which can take
5545 a GstControlSource for providing actual values for timestamps.
5546 Implement a interpolation control source and use this for backward
5547 compatibility, deprecate a bunch of functions that are now handled
5548 by GstControlSource or GstInterpolationControlSource.
5549 Make it possible to disable the controller completely or only for
5550 specific properties. Fixes #450711.
5551 * docs/libs/gstreamer-libs-docs.sgml:
5552 * docs/libs/gstreamer-libs-sections.txt:
5553 * docs/libs/gstreamer-libs.types:
5554 Add new functions and classes to the docs.
5555 * tests/check/libs/controller.c: (GST_START_TEST),
5556 (gst_controller_suite):
5557 * tests/examples/controller/audio-example.c: (main):
5558 Port unit test and example to the new API and add some new
5561 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5563 Patch by: Mark Nauwelaerts <manauw at skynet be>
5565 * plugins/elements/gstmultiqueue.c:
5566 (gst_multi_queue_get_internal_links), (apply_buffer),
5567 (single_queue_overrun_cb), (gst_single_queue_new):
5568 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5569 the pipeline layout can be tracked correctly. Fixes #453732.
5571 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5573 * docs/gst/Makefile.am:
5574 * docs/libs/Makefile.am:
5575 * docs/plugins/Makefile.am:
5576 Simplify --extra-dir as gtkdoc scans recursively.
5578 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5580 * tools/gst-launch.c: (main):
5581 When we got an error, there is no point in waiting for preroll when
5584 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5586 * plugins/elements/gsttee.c: (gst_tee_base_init),
5587 (gst_tee_request_new_pad), (gst_tee_release_pad),
5588 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5589 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5591 Be a lot smarter when deciding what srcpad to use for proxying
5592 the buffer_alloc. Also handle pad added/removed when doing so.
5594 Keep track of what pads we already pushed on in case we have pads
5595 added/removed while pushing. Fixes #374639
5597 * tests/check/Makefile.am:
5598 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5600 Added unit test for pad resync.
5602 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5606 Updated translations.
5608 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5610 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5614 Added new Finnish translation.
5616 2007-06-28 Wim Taymans <wim@fluendo.com>
5618 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5619 (single_queue_overrun_cb):
5620 When figuring out when a queue is filled, use our internal time estimate
5621 based on segments, just like check_full does.
5623 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5625 * gst/gstminiobject.c: (gst_mini_object_get_type):
5626 Remove 3 do-nothing methods.
5628 2007-06-27 Wim Taymans <wim@fluendo.com>
5630 Patch by: Tim Angus <tim at ngus dot net>
5632 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5633 (gst_capsfilter_set_property):
5634 Take a reference instead of a copy when setting "caps".
5635 Fix documentation to clarify this behaviour. Fixes #449414.
5637 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5639 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5640 * gst/gstplugin.c: (gst_plugin_init):
5641 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5642 * gst/gstquery.c: (gst_query_get_type):
5643 * gst/gstregistry.c: (gst_registry_init):
5644 * gst/gsturi.c: (gst_uri_handler_base_init):
5645 Remove empty instance_init() functions to save relocs and lessen the
5646 noise. Remove some of the function prototypes that are doubled by
5649 2007-06-27 Wim Taymans <wim@fluendo.com>
5651 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5653 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5654 Add peer and direction in the XML serialisation of ghostpads.
5657 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5660 Preserve useful information, thanks Tim.
5662 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5664 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5665 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5666 (gst_single_queue_push_one), (gst_multi_queue_loop),
5667 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5668 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5669 (compute_high_id), (gst_single_queue_new):
5670 * plugins/elements/gstmultiqueue.h:
5671 Take the multiqueue lock when updating the fill level so we don't get
5674 After applying a buffer or event on the src pad segment, make sure to
5675 call gst_data_queue_limits_changed() to get the data queue to unblock
5676 and check the filled state again.
5678 Rework the not-linked pad handling so the logic is that not-linked
5679 pads can push as fast as they like, but only so they never get
5680 ahead of any linked pads.
5682 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5683 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5684 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5686 Add a test to check that not-linked pads always stay behind
5691 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5693 * docs/random/release:
5694 Some updates to the release procedure.
5696 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5698 * gst/gstelementfactory.c: (__gst_element_details_clear):
5699 Microoptimization that saves stunning 80 bytes.
5701 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5703 * docs/plugins/gstreamer-plugins.args:
5704 * docs/plugins/inspect/plugin-coreelements.xml:
5705 * docs/plugins/inspect/plugin-coreindexers.xml:
5706 Update docs with caps info.
5708 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5711 Updated Italian translation.
5713 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5717 Update Vietnamese translations.
5719 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5721 * libs/gst/base/gstbasesink.c:
5722 Remove unused signal enum.
5724 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5726 * docs/gst/gstreamer-sections.txt:
5728 * gst/gstutils.c: (gst_type_register_static_full):
5729 Beef up and include the docs for gst_type_register_static_full and
5730 gst_element_class_set_details_simple and add the API keyword
5733 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5735 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5736 (update_time_level), (gst_single_queue_push_one),
5737 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5738 (single_queue_overrun_cb), (single_queue_underrun_cb),
5739 (single_queue_check_full):
5740 Fix setting max-* properties after adding queues.
5741 Use IS_FILLED for checking visible items.
5742 Signal overrun if multiple queues overrun.
5743 Add extra debug output.
5744 Patch by: Wim Taymans <wim@fluendo.com>
5746 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5748 * gst/gstelement.c: (gst_element_class_set_details_simple):
5750 * gst/gstutils.c: (gst_type_register_static_full):
5752 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5753 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5754 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5755 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5756 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5757 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5758 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5759 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5760 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5761 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5762 (apply_buffer), (gst_queue_chain):
5763 * plugins/elements/gsttee.c: (gst_tee_base_init):
5764 * plugins/elements/gsttypefindelement.c:
5765 (gst_type_find_element_base_init),
5766 (gst_type_find_element_class_init):
5767 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5768 API: add gst_type_register_static_full
5769 API: add gst_element_class_set_details_simple
5771 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5773 * docs/pwg/advanced-types.xml:
5774 Fix typo in iana.org URI.
5776 2007-06-19 Andy Wingo <wingo@pobox.com>
5778 * tests/check/pipelines/simple-launch-lines.c
5779 (test_state_change_returns): Enable pull-mode tests now that
5780 basesink has been fixed.
5782 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5783 Changed from gst_base_sink_is_prerolled, reversing the sense of
5784 the return value. Returns FALSE also if the sink is in pull mode,
5785 in which case it needs no preroll.
5786 (gst_base_sink_query, gst_base_sink_change_state): Update for
5787 needs_preroll change.
5788 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5789 chaining up, in which we return SUCCESS directly if we activated
5790 in pull mode instead of ASYNC. Involves countering an async_start
5791 message sent before chaining up; not sure if this is correct, in
5792 an ideal world we only send async-start when activating in push
5795 * tests/check/pipelines/simple-launch-lines.c
5796 (test_state_change_returns): New test, partially disabled until
5799 2007-06-19 Wim Taymans <wim@fluendo.com>
5801 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5802 (gst_multi_queue_sink_event):
5805 2007-06-19 Wim Taymans <wim@fluendo.com>
5807 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5808 (gst_bin_change_state_func), (bin_push_state_continue),
5809 (bin_handle_async_start), (bin_handle_async_done),
5810 (gst_bin_handle_message_func):
5811 Move the common code for posting state-change messages into
5813 Broadcast the state signal after we posted the messages.
5814 Mark the bin as busy when it's doing a state-change.
5815 Make sure async-start/done messages don't interfere with the bin's
5816 state when it's busy.
5817 After the state change, let the bin check which elements completed the
5818 state change while it was busy so that it can update its state.
5820 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5822 * docs/random/release:
5823 Add a note about updating the doap file to the release checklist
5825 2007-06-18 Wim Taymans <wim@fluendo.com>
5827 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5828 (gst_single_queue_push_one), (gst_multi_queue_chain),
5829 (gst_multi_queue_sink_event):
5830 Make sure we don't reference the buffer/event after we have given away
5831 ownership in the queue.
5833 2007-06-18 Wim Taymans <wim@fluendo.com>
5835 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5836 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5837 Update queue state _after_ adding the item in the queue because else we
5838 could end up being full without the element added yet.
5840 2007-06-18 Wim Taymans <wim@fluendo.com>
5842 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5843 (gst_bin_remove_func), (gst_bin_get_state_func),
5844 (gst_bin_element_set_state), (gst_bin_continue_func),
5845 (bin_push_state_continue), (bin_handle_async_start),
5846 (bin_handle_async_done), (gst_bin_handle_message_func):
5848 Immediatly commit the toplevel bin state when receiving an async-done
5849 message. This enables us to avoid spawning a thread to commit the state
5850 in some common cases and it also avoids some races.
5851 Avoid spawning a state thread when adding/removing async elements to a
5852 toplevel bin. Instead we immediatly update the bin state.
5853 Get rid of iterating all the children when getting the state in the bin
5854 because it is now always up-to-date.
5855 Fix bug where locked elements would always return _SUCCESS even it they
5856 returned NO_PREROLL before being locked.
5857 Fix the order of the state_change, async-start/done messages that was
5858 sometimes incorrect.
5859 Mark the state_dirty field as deprecated, we don't need it anymore as we
5860 are always up-to-date.
5862 * gst/gstelement.c: (gst_element_get_state_func),
5863 (gst_element_continue_state):
5864 Small debug inprovements.
5865 Return the previous element state return when nothing is pending instead
5866 of blindly returning SUCCESS.
5868 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5870 Add a whole bunch of new testcases.
5872 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5876 Update translations.
5878 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5881 Fix typo in the docs.
5883 2007-06-15 Wim Taymans <wim@fluendo.com>
5885 * docs/libs/gstreamer-libs-sections.txt:
5886 Add docs for new methods.
5888 2007-06-15 Wim Taymans <wim@fluendo.com>
5890 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5891 (gst_multi_queue_item_new):
5892 Don't use GSlice because we don't depend on >= 2.10 yet.
5894 2007-06-15 Wim Taymans <wim@fluendo.com>
5896 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5897 (update_time_level), (apply_segment), (apply_buffer),
5898 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5899 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5900 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5901 (single_queue_underrun_cb), (single_queue_check_full):
5902 Remove debug printf.
5904 2007-06-15 Wim Taymans <wim@fluendo.com>
5906 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5907 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5908 (gst_data_queue_set_flushing), (gst_data_queue_push),
5909 (gst_data_queue_pop), (gst_data_queue_drop_head),
5910 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5911 * libs/gst/base/gstdataqueue.h:
5913 Added methods to get the current levels and to inform the queue that the
5914 'full' limits changed.
5916 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5917 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5918 (gst_single_queue_flush), (update_time_level), (apply_segment),
5919 (apply_buffer), (gst_single_queue_push_one),
5920 (gst_multi_queue_item_steal_object),
5921 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5922 (gst_multi_queue_loop), (gst_multi_queue_chain),
5923 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5924 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5925 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5926 (single_queue_underrun_cb), (single_queue_check_full),
5927 (gst_single_queue_new):
5928 Keep track of time in the queue by measuring the difference between
5929 running_time on input and output. This gives more accurate results and
5930 can compensate for segments correctly.
5931 Make a queue by default only 5 buffers deep. We will now increase the
5932 buffer size depending on the filledness of the other queues.
5933 Factor out commong flush code.
5934 Make sure we don't add additional refcounts to buffers when we can avoid
5936 Propagate GstFlowReturn differently.
5937 Use GSlice for intermediate GstMultiQueueItems.
5939 Resize queues on over and underruns based on filled level of other
5941 When checking if the queue is filled, prefer to measure in time if we
5942 can and fall back to bytes when no time is known.
5944 * plugins/elements/gstqueue.c:
5947 2007-06-15 Wim Taymans <wim@fluendo.com>
5949 * libs/gst/base/gstbasetransform.c:
5950 (gst_base_transform_sink_event):
5951 Work around the brokenness of the event vmethod in basetransform. Prefer
5952 to return TRUE when the subclass returned FALSE (meaning don't forward
5955 * libs/gst/base/gstbasetransform.h:
5958 2007-06-15 Wim Taymans <wim@fluendo.com>
5960 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5961 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5962 (gst_base_src_default_query), (gst_base_src_get_range),
5963 (gst_base_src_start):
5964 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5967 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5969 * docs/pwg/advanced-types.xml:
5970 Added more formats to caps table.
5972 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5974 * tools/gst-launch.c: (main):
5975 Remove crufy code. GOption does not need this workaround.
5977 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5979 * libs/gst/controller/gstcontroller.c:
5980 (gst_controlled_property_set_interpolation_mode):
5981 Fix wrong getter for enums in controller.
5983 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5985 * libs/gst/check/gstcheck.c: (gst_check_init):
5986 Intercept criticals and warnings in the Gst-Phonon log domain, so
5987 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5990 2007-06-14 Edward Hervey <edward@fluendo.com>
5992 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5993 Since this file doesn't include "gst.h" it will not go through the
5994 macros that disable GST_LOG if debugging was disabled.
5996 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5998 * libs/gst/check/Makefile.am:
5999 * libs/gst/check/gstcheck.h:
6000 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6001 * pkgconfig/gstreamer-check.pc.in:
6002 Ugly 'fix' for the controller unit test on the p5 bot: in
6003 fail_unless_equals_float() check whether the values are 'almost
6004 equal' by allowing a small absolute error, which should be good
6005 enough for our use cases (normal numbers and values close to 0).
6006 Proper fixage left to floating point arithmetic aficionados.
6008 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6010 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6011 (gst_base_sink_render_object), (gst_base_sink_get_position):
6012 Add two breaks thats where missing.
6014 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6016 * docs/libs/gstreamer-libs-sections.txt:
6017 * libs/gst/check/gstcheck.h:
6018 API: add fail_unless_equals_float() and assert_equals_float().
6019 Add documentation for some of the macros.
6021 * tests/check/libs/controller.c: (GST_START_TEST):
6022 Use newly-added asserts.
6024 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6026 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6027 Show the caps change in the log to help spotting the case of not
6028 exactly matching caps.
6030 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6032 * docs/pwg/building-boiler.xml:
6033 Fix typos, spotted by Thijs Vermeir (#447190).
6035 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6037 * docs/plugins/tmpl/.cvsignore:
6038 Ignore file to keep the buildbots happy
6040 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6042 * docs/plugins/Makefile.am:
6043 * docs/plugins/gstreamer-plugins-docs.sgml:
6044 * docs/plugins/gstreamer-plugins-sections.txt:
6045 Pull fdsink into the docs too.
6047 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6049 * libs/gst/controller/gstinterpolation.c:
6050 Actually use the new functions with min/max checks for the trigger and
6051 none interpolation modes for get() and get_value_array() instead of
6054 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6056 * libs/gst/controller/gstcontroller.c:
6057 (gst_controlled_property_free):
6058 Unset the minimum and maximum GValues when freeing the corresponding
6059 GstControllerProperty struct.
6061 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6063 * libs/gst/controller/gstcontroller.c:
6064 (gst_controlled_property_new):
6065 * libs/gst/controller/gstcontrollerprivate.h:
6066 * libs/gst/controller/gstinterpolation.c:
6067 (gst_controlled_property_find_control_point_node),
6068 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6069 (interpolate_none_get_string_value_array),
6070 (interpolate_trigger_get),
6071 (interpolate_trigger_get_enum_value_array),
6072 (interpolate_trigger_get_string_value_array):
6073 Protect against values larger or smaller than the minimum or maximum
6074 allowed value for the property when using values that can be compared.
6076 Optimize trigger interpolator a bit by taking the last requested value
6077 into account instead of always looping through the complete list.
6079 Fix coding style a bit, everywhere else we use "return foo" instead
6082 * tests/check/libs/controller.c: (GST_START_TEST),
6083 (gst_controller_suite):
6084 Add unit test for the protection against too large or too small
6087 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6089 * docs/random/slomo/controller.txt:
6090 Add some thoughts about the future of the controller.
6092 2007-06-08 Wim Taymans <wim@fluendo.com>
6094 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6095 Don't overflow in retimestamping code.
6097 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6099 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6100 Use gst_util_guint64_to_gdouble for conversions.
6101 * win32/common/libgstreamer.def:
6102 Add new exported functions.
6104 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6107 Small docs addition.
6109 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6112 Remove that test line again.
6114 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6117 Test commit mail sending.
6119 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6122 Fix typo and test commit mail sending.
6124 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6126 * tests/examples/controller/audio-example.c:
6127 Improve comment and test commit mail sending.
6129 2007-06-07 Wim Taymans <wim@fluendo.com>
6131 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6132 (gst_bin_remove_func), (gst_bin_element_set_state),
6133 (bin_handle_async_start), (bin_handle_async_done),
6134 (gst_bin_handle_message_func):
6135 Add helper function to find messages.
6136 Generate the async-done messages together with the state change
6138 Small cleanups in handling toplevel bins.
6140 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6142 * libs/gst/base/gstdataqueue.c:
6143 * libs/gst/base/gstdataqueue.h:
6144 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6145 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6146 (gst_multi_queue_sink_event):
6147 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6148 Fix multiqueue leaking buffers and events when downstream or the
6149 queue are flushing. Make refcounting assumptions explicit and
6150 document them (shouldn't break existing code that uses it other than
6151 maybe leak miniobjects, but that already happens anyway). Add unit
6152 test for the most common flushing case. Fixes #423700.
6154 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6156 * libs/gst/controller/gstcontroller.c:
6157 Clarify docs: The get_all, get_value_array(s) functions
6158 don't modify the GObject properties.
6160 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6162 * libs/gst/controller/gstcontroller.c:
6163 (gst_controlled_property_set_interpolation_mode),
6164 (gst_controlled_property_prepend_default),
6165 (gst_controlled_property_new), (gst_controller_set_unlocked),
6166 (gst_controller_set), (gst_controller_set_from_list),
6167 (gst_controller_unset), (gst_controller_unset_all):
6168 * libs/gst/controller/gstcontrollerprivate.h:
6169 * libs/gst/controller/gstinterpolation.c:
6170 Factor out the 'set' logic into gst_controller_set_unlocked for the
6171 gst_controller_set and gst_controller_set_from_list functions.
6173 To make life of the interpolators easier always add a control point
6174 at timestamp zero with the default value.
6176 In the linear interpolator make things more obvious by better variable
6179 Implement cubic interpolation mode (by using a natural cubic spline)
6180 and map the quadratic interpolation mode to this too (as quadratic
6181 doesn't make much sense, see discussion on the list).
6183 * tests/check/libs/controller.c: (GST_START_TEST),
6184 (gst_controller_suite):
6185 Add unit test for the cubic interpolation mode and check everywhere
6186 if the interpolation mode could be set as expected.
6188 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6190 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6191 Don't use GLib-2.10 functions, we still depend on
6192 GLib-how-old-is-it-again-2.8.
6194 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6196 * docs/gst/gstreamer-sections.txt:
6200 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6201 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6202 (_gst_param_fraction_values_cmp),
6203 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6204 * gst/gstparamspecs.h:
6206 * tests/check/Makefile.am:
6207 * tests/check/gst/.cvsignore:
6208 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6209 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6210 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6211 (GST_START_TEST), (gst_param_spec_suite):
6212 API: add GstParamSpecFraction, so elements can have fraction
6213 properties without lots of painful string parsing (#444648).
6215 2007-06-05 Wim Taymans <wim@fluendo.com>
6217 * gst/gstobject.c: (gst_object_class_init):
6218 Fix signal signature.
6221 Add small clarification in the api docs.
6223 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6224 States are protected with object lock.
6226 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6229 I should probably be listed as an author by now.
6231 * docs/random/release:
6232 Update the release doc
6234 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6237 Make docs for gst_value_compare() mention return enums that
6240 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6245 === release 0.10.13 ===
6247 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6250 releasing 0.10.13, "With or without you"
6252 2007-05-25 Wim Taymans <wim@fluendo.com>
6254 * gst/gstbin.c: (bin_handle_async_done):
6255 Make sure that the child bin stops after completing the async state
6256 change so that the parent can continue the state change to PLAYING.
6259 2007-05-25 Wim Taymans <wim@fluendo.com>
6261 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6262 (unref_data), (gst_collect_pads_remove_pad),
6263 (gst_collect_pads_check_pads):
6264 Use additional refcounting to avoid crashes when dynamically adding and
6265 removing pads. Fixes #420206.
6267 2007-05-24 Wim Taymans <wim@fluendo.com>
6269 * tools/gst-launch.c: (event_loop):
6270 When buffering goes from a two digit to a single digit number, make sure
6271 to remove the old second digit by writing a blank over it.
6273 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6275 * libs/gst/base/gstdataqueue.c:
6276 Eliminate tabs and trailing comma in enum list; fix some typos.
6278 2007-05-24 Wim Taymans <wim@fluendo.com>
6280 * tests/check/gst/gstbin.c: (GST_START_TEST):
6281 Allow refcount of 3 and 4 because some state thread might still be busy
6284 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6286 * plugins/elements/Makefile.am:
6287 * plugins/elements/gstmultiqueue.h:
6288 * plugins/elements/gstqueue.h:
6289 These are not installed headers, no need for padding.
6291 2007-05-24 Wim Taymans <wim@fluendo.com>
6293 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6294 (gst_bin_continue_func):
6295 Enable latency for next release.
6296 Restore STATE_LOCK around recalc_state that was left out during the
6297 rewrite and could result in racy behaviour when _get_state and
6298 recalc_state are run concurrently. See #440463.
6300 2007-05-23 Wim Taymans <wim@fluendo.com>
6302 * tests/check/gst/gstsystemclock.c: (store_callback),
6304 Improve test_async_order to also work when both timers are already
6305 expired when we get scheduled to check it.
6307 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6309 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6310 (gst_bin_set_property), (gst_bin_get_property),
6311 (gst_bin_remove_func), (gst_bin_handle_message_func):
6313 'private' is a c++ keyword, let's not use that in header files,
6314 otherwise c++ compilers will throw a tantrum.
6316 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6318 * plugins/elements/gstelements.c:
6319 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6320 (gst_file_sink_get_current_offset):
6321 * plugins/indexers/gstindexers.c: (plugin_init):
6322 Use #ifdef for HAVE_XYZ for consistency.
6324 * tests/check/Makefile.am:
6325 * tests/check/elements/.cvsignore:
6326 * tests/check/elements/filesink.c: (setup_filesink),
6327 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6328 Add some unit tests for filesink.
6330 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6332 Patch by: Mark Nauwelaerts <manauw at skynet be>
6334 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6335 (gst_file_sink_query), (gst_file_sink_do_seek),
6336 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6337 * plugins/elements/gstfilesink.h:
6338 Fix position reporting; rename data_written member to current_pos to
6339 reflect its real meaning (fixes #412648).
6341 2007-05-22 Edward Hervey <edward@fluendo.com>
6343 * docs/gst/gstreamer-sections.txt:
6344 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6345 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6346 (gst_bin_remove_func), (gst_bin_handle_message_func):
6348 Add a property for bins that handle the state change of their childs.
6351 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6353 * libs/gst/controller/gstinterpolation.c:
6354 Use an array of the correct type when using _get_value_array with
6355 linear interpolation.
6357 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6359 * gst/gstelement.c (gst_element_requires_clock,
6360 gst_element_provides_clock, gst_element_request_pad,
6361 gst_element_class_set_details, gst_element_class_set_details_simple,
6362 gst_element_default_send_event, gst_element_abort_state,
6363 gst_element_continue_state, gst_element_set_state,
6364 gst_element_set_state_func, iterator_activate_fold_with_resync):
6365 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6366 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6367 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6368 gst_pad_get_range, gst_pad_pull_range):
6369 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6370 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6371 GstPadActivateModeFunction, GstPadChainFunction,
6372 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6373 GstPadFixateCapsFunction, GstPadTemplate):
6374 * gst/gstpipeline.c (gst_pipeline_change_state,
6375 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6376 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6377 gst_pipeline_get_delay):
6378 Whitespace and docs fixes.
6380 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6382 * libs/gst/controller/gstinterpolation.c:
6383 (interpolate_trigger_get_enum_value_array),
6384 (interpolate_trigger_get_string_value_array):
6385 Add support for retrieving value arrays when using the trigger
6388 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6390 * libs/gst/controller/gstcontroller.c:
6391 (gst_controller_get_value_array):
6392 * libs/gst/controller/gstcontroller.h:
6393 Clarify the docs of gst_controller_get_value_array(): The array where
6394 the values should be written to must be allocated as there seems to be
6395 no way to get the size of a random GType. This doesn't change any
6396 behaviour. Also fix some typos all over the place and remove an unused,
6397 commented function that is not necessary as g_object_set() could be
6399 * tests/check/libs/controller.c: (GST_START_TEST),
6400 (gst_controller_suite):
6401 Add unit test for gst_controller_get_value_array().
6403 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6405 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6407 Disable part of the gst_buffer_try_new_and_alloc test, because
6408 it can happily succeed on 64-bit systems where there's more address
6411 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6413 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6414 Add unit test for the improved caps checking from bug #421543.
6416 2007-05-21 Wim Taymans <wim@fluendo.com>
6418 * docs/design/part-synchronisation.txt:
6421 * gst/gstbin.c: (gst_bin_query):
6422 * plugins/elements/gstqueue.c: (apply_segment):
6428 2007-05-21 Wim Taymans <wim@fluendo.com>
6430 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6431 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6432 (gst_pad_configure_src):
6433 Added simple version of improved caps checking. It was previously
6434 assumed that a setcaps function would check the validity of the caps but
6435 people prefer us to check caps against the template automatically.
6438 2007-05-21 Wim Taymans <wim@fluendo.com>
6440 * libs/gst/base/gstbasetransform.h:
6441 Fix macro for locking/unlocking the transform lock.
6443 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6445 * docs/plugins/tmpl/.cvsignore:
6448 2007-05-18 Edward Hervey <edward@fluendo.com>
6450 * plugins/elements/gstqueue.c: (gst_queue_loop):
6451 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6452 for the subtle art of warning a potentially blocking thread that it
6453 should check the source pad return value, and relay the information
6456 2007-05-18 Edward Hervey <edward@fluendo.com>
6458 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6459 Release the queue lock !
6461 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6463 * docs/libs/gstreamer-libs-sections.txt:
6464 Add the two new controller functions to the appropiate places.
6466 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6468 reviewed by: Stefan Kost <ensonic@users.sf.net>
6470 * libs/gst/controller/gstcontroller.c:
6471 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6472 (_gst_controller_get_property), (_gst_controller_set_property),
6473 (_gst_controller_init), (_gst_controller_class_init):
6474 * libs/gst/controller/gstcontroller.h:
6475 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6476 (gst_object_get_control_rate), (gst_object_set_control_rate):
6477 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6478 Add API that provides sync suggestion timestamps for elements that
6479 call gst_object_sync_values() from which those elements can subdivide
6480 their processing loop to get the best results for the controlled
6481 properties. For now it just suggests last_sync + control_rate as
6482 new timestamp but this will be improved in the future.
6484 While doing that change the control-rate property to a GstClockTime
6485 from guint and change it's meaning from samples to nanoseconds as
6486 the GstController doesn't know anything about sampling rate. Strictly
6487 speaking this breaks ABI but as the control-rate property didn't do
6488 anything in the past and as such couldn't be used this should be no
6491 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6493 reviewed by: Stefan Kost <ensonic@users.sf.net>
6495 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6496 (gst_controller_unset_all):
6497 * libs/gst/controller/gstcontrollerprivate.h:
6498 * libs/gst/controller/gstinterpolation.c:
6499 (gst_controlled_property_find_control_point_node):
6500 Save last synced value from the list to continue searching from there
6501 in future syncs. This speeds everything up a bit.
6503 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6505 reviewed by: Stefan Kost <ensonic@users.sf.net>
6507 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6508 (gst_control_point_find), (gst_controlled_property_new),
6509 (gst_control_point_free), (gst_controlled_property_free),
6510 (gst_controller_set), (gst_controller_set_from_list),
6511 (gst_controller_unset), (gst_controller_unset_all),
6512 (gst_controller_sync_values):
6513 * libs/gst/controller/gstcontroller.h:
6514 * libs/gst/controller/gstcontrollerprivate.h:
6515 * libs/gst/controller/gstinterpolation.c:
6516 (gst_controlled_property_find_control_point_node),
6517 (interpolate_none_get), (interpolate_trigger_get):
6518 Add a new private GstControlPoint struct which "inherits" from
6519 GstTimedValue to allow different interpolators to store internal
6520 values next to each control point. From the outside everything is
6521 still a GstControlPoint so we don't loose binary compatibility.
6522 Also fixup all the GValue handling to not leak GValues or list nodes.
6523 * tests/check/libs/controller.c: (GST_START_TEST):
6524 Free the list nodes and GValues in the controller_misc test.
6526 2007-05-17 Edward Hervey <edward@fluendo.com>
6531 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6533 * gst/gstplugin.c: (gst_plugin_load_file):
6534 If we fail to load a plugin because of unresolved symbols or missing
6535 libraries and spew a warning to stderr, we may just as well mention
6536 which plugin it was that failed to load.
6538 2007-05-13 David Schleef <ds@schleef.org>
6540 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6541 handles the case when ENABLE_GTK_DOC is false, and installs
6542 the prebuilt documentation. So gtk-doc subdirs are
6543 unconditionally enabled. Fixes: #349099.
6545 2007-05-13 David Schleef <ds@schleef.org>
6547 * gst/gstutils.h: Reword some documentation.
6549 2007-05-12 David Schleef <ds@schleef.org>
6551 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6552 do anything with the passed "module" parameter, so remove it.
6553 Allows removal of additional vestigal code.
6555 2007-05-12 David Schleef <ds@schleef.org>
6558 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6559 Switch to using g_stat() because it's more portable.
6561 2007-05-12 David Schleef <ds@schleef.org>
6564 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6565 parsing for embedded systems.
6566 * gst/gstelementfactory.c:
6567 Allow gst_element_register() to be called with plugin==NULL.
6568 Did nobody notice that static elements were broken?
6570 2007-05-12 Wim Taymans <wim@fluendo.com>
6572 * tools/gst-launch.c: (event_loop):
6573 Give more interesting info when buffering starts and stops.
6574 Fix case where buffering starts but we fail to update the buffering flag
6575 because the target state is not PLAYING.
6577 2007-05-12 Wim Taymans <wim@fluendo.com>
6579 * plugins/elements/gstqueue.c: (gst_queue_init),
6580 (gst_queue_finalize), (update_time_level), (apply_segment),
6581 (apply_buffer), (gst_queue_locked_flush),
6582 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6583 (gst_queue_handle_sink_event), (gst_queue_chain),
6584 (gst_queue_push_one), (gst_queue_loop):
6585 * plugins/elements/gstqueue.h:
6586 Refactor an cleanup queue a bit.
6587 Do better time level calculations that also work when the srcpad is not
6589 Remove some unneeded debug lines.
6591 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6592 Added testcase for time level measurement.
6593 Try to make some stuff more racefree.
6595 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6597 * gst/gsturi.c: (gst_element_make_from_uri):
6598 Don't leak plugin feature.
6600 * tests/check/Makefile.am:
6601 * tests/check/gst/.cvsignore:
6602 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6603 Add brain-dead unit test.
6605 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6607 Patch by: Jeroen Wouters <woutersj at gmail com>
6609 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6610 Treat protocol strings in a case-insensitive way (#437563).
6612 2007-05-11 Michael Smith <msmith@fluendo.com>
6614 * gst/gstplugin.c: (gst_plugin_load_file):
6615 * gst/gstregistry.c: (gst_registry_scan_path_level):
6616 Don't print a g_warning for any failure to load a shared object.
6617 Instead, push this down into gstplugin.c, and warn _only_ if we
6618 failed to open the module (i.e. failure to link).
6619 Avoids warnings on normal, working, non-plugin .so files.
6621 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6623 * gst/gstplugin.c (gst_plugin_load_file):
6624 * gst/gstregistry.c (GST_CAT_DEFAULT,
6625 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6626 Print a g_warning if there was an error when loading a plugins during
6627 registry scan. The shuld help beginners starting with gst-plugin
6630 2007-05-10 Wim Taymans <wim@fluendo.com>
6632 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6633 (update_time_level), (gst_queue_locked_flush),
6634 (gst_queue_handle_sink_event), (gst_queue_chain),
6635 (gst_queue_push_one), (gst_queue_loop):
6636 * plugins/elements/gstqueue.h:
6637 Be smarter when calculating the current amount of data in the queue by
6638 measuring the difference between start and end timestamps (in running
6639 time) inside the queue. Fixes #432876.
6640 API: GstQueue::pushing to notify elements that we are pushing data again
6641 since the running signal is rather broken for this purpose.
6643 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6645 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6646 gst_queue_base_init, gst_queue_init):
6649 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6651 * win32/common/libgstreamer.def:
6652 Add new exported functions.
6653 * win32/vs6/grammar.dsp:
6654 Use grammar pre-generated files.
6656 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6658 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6661 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6663 * gst/gstutils.c: (gst_parse_bin_from_description):
6665 Maintain API and ABI when --disable-parse is used. Now that
6666 we have an appropriate error code, we can just return NULL and the
6667 appropriate error when gst_parse_launch() is used despite it having
6668 been disabled (#342564).
6670 * tests/check/Makefile.am:
6671 * tests/check/pipelines/.cvsignore:
6672 * tests/check/pipelines/parse-disabled.c:
6673 Make sure these functions exist and return NULL plus a GError when
6674 --disable-parse is used.
6676 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6678 * tests/benchmarks/complexity.c: (main):
6679 * tests/benchmarks/mass-elements.c: (main):
6680 Set a good example and don't leak messages.
6682 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6684 * docs/gst/Makefile.am:
6685 * docs/libs/Makefile.am:
6686 Correct fixxrefs options.
6688 * docs/plugins/Makefile.am:
6689 * docs/plugins/gstreamer-plugins-docs.sgml:
6690 * docs/plugins/gstreamer-plugins-sections.txt:
6691 * plugins/elements/Makefile.am:
6692 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6693 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6694 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6695 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6696 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6697 _GstCapsFilterClass, trans_class):
6698 * plugins/elements/gstelements.c (name, rank, type, _elements):
6699 * plugins/elements/gstidentity.c
6700 (gst_identity_check_imperfect_timestamp,
6701 gst_identity_check_imperfect_offset):
6702 Document capsfilter and add doc-blurb to identity.
6704 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6706 * libs/gst/controller/gstcontroller.c:
6707 (gst_controlled_property_set_interpolation_mode):
6708 * libs/gst/controller/gstinterpolation.c:
6709 Don't crash if someone tries to set an interpolation mode that
6710 is invalid or that isn't supported yet. Fixes #422295.
6712 * tests/check/libs/controller.c: (GST_START_TEST),
6713 (gst_controller_suite):
6714 Add a test case for the above.
6716 2007-05-03 Edward Hervey <edward@fluendo.com>
6718 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6719 Properly set the last_stop position on GstSegment. This will only happen
6720 if there is a buffer to push out.
6722 2007-05-03 Wim Taymans <wim@fluendo.com>
6724 * libs/gst/base/gstbasetransform.c:
6725 (gst_base_transform_buffer_alloc):
6726 always_in_place does not mean that the sink and source caps are the
6727 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6729 2007-05-03 Wim Taymans <wim@fluendo.com>
6731 * docs/libs/gstreamer-libs-sections.txt:
6732 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6733 (gst_base_src_default_query), (gst_base_src_get_range):
6734 * libs/gst/base/gstbasesrc.h:
6735 API: gst_base_src_query_latency(). Added method so that subclasses can
6736 easily get the latency values of the base source class.
6738 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6740 * tools/gst-inspect.c (print_implementation_info):
6743 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6745 * tools/Makefile.am:
6746 * tools/gst-launch.1.in:
6747 Don't create a customised man page based on the host architecture,
6748 describe the default registry path generically. That way the man
6749 page is the same for all architectures and packagers have one
6750 multilib issue less to deal with. Fixes #434926.
6752 2007-05-02 Wim Taymans <wim@fluendo.com>
6755 Fix documentation as spotted by rg on IRC.
6757 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6760 Improve docs for gst_element_{link,unlink}.
6762 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6764 * docs/design/part-events.txt:
6765 * docs/design/part-overview.txt:
6769 * libs/gst/base/gstbasesink.c:
6770 Typo fixes; minor docs addition.
6772 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6774 * docs/gst/gstreamer-sections.txt:
6775 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6776 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6778 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6779 or src that supports a given URI protocol exists.
6781 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6783 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6784 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6785 Set the location to NULL if "file://" is set as URI. Otherwise
6786 some random previous URI would still be set if "file://" is
6787 set on an already used filesink/filesrc.
6789 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6791 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6792 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6793 Special case the "file://" URI as as this is used by some
6794 applications to test with gst_element_make_from_uri if there's
6795 an element that supports the URI protocol.
6796 Also move the g_path_is_absolute() check for the location part
6797 of the URI to also check this for "file://localhost/bla" URIs.
6799 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6801 * docs/gst/gstreamer-sections.txt:
6802 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6804 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6806 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6808 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6810 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6811 (gst_registry_binary_load_pad_template),
6812 (gst_registry_binary_load_plugin),
6813 (gst_registry_binary_read_cache):
6814 * gst/gstregistrybinary.h:
6815 Implement no-mmap alternative for registry reading. Do code cleanups.
6816 Add more comments about avoiding strdups for all text data. Comments
6819 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6821 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6822 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6823 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6824 Comment structs and reformat to fix the build (that stuff should go
6825 into a priv. header).
6827 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6829 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6830 (gst_registry_binary_load_feature):
6831 * gst/gstregistrybinary.h:
6832 Refactor so that we can implement multiple features. Add support for
6833 TypeFindFactory features.
6835 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6837 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6840 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6842 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6844 * gst/gstbin.c: (gst_bin_element_set_state),
6845 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6846 (bin_handle_async_done), (gst_bin_handle_message_func):
6847 Fix build with --gst-disable-gst-debug
6849 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6851 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6852 Make sure streaming has finished before calling the ::stop() vfunc,
6853 since that vfunc might clear state which is being used in the
6854 streaming thread. This fixes a race that caused crashes in
6855 audioresample when shutting down a pipeline (#420106).
6857 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6859 * docs/gst/gstreamer-sections.txt:
6860 That was one byte missing.
6862 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6865 * docs/gst/gstreamer-sections.txt:
6867 * gst/gstconfig.h.in:
6868 * gst/gstobject.c: (gst_object_class_init),
6869 (gst_signal_object_class_init):
6871 2nd attempt to have a xml-less build as a joined effort of #413123
6874 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6876 * docs/design/draft-tagreading.txt:
6877 Added open issues/thoughts to draft.
6879 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6881 * gst/parse/grammar.tab.pre.c:
6882 * gst/parse/grammar.tab.pre.h:
6883 * gst/parse/lex._gst_parse_yy.pre.c:
6884 Update the prebuild parser sources.
6886 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6888 * gst/parse/Makefile.am:
6889 And now fix the building of the flex sources. Now everything should
6892 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6894 * gst/parse/Makefile.am:
6895 Now hopefully fix the build failures by setting proper rule
6896 dependencies and moving instead of copying.
6898 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6900 * tests/benchmarks/complexity.gnuplot:
6901 * tests/benchmarks/complexity.scm:
6902 * tests/benchmarks/mass-elements.gnuplot:
6903 * tests/benchmarks/mass-elements.scm:
6904 Total licensification.
6906 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6908 * gst/parse/Makefile.am:
6909 Fix the build by correcting the rule that gave wrong files to flex.
6911 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6913 * tests/benchmarks/complexity.c:
6914 * tests/benchmarks/mass-elements.c:
6915 Change licence to LGPL as granted by Benjamin and Andy.
6917 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6919 * gst/parse/Makefile.am:
6920 Add correct grammar.tab.h dependency if compiling without new enough
6921 flex. Fixes #431150.
6923 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6925 * gst/parse/Makefile.am:
6926 Fix typo and use outdated sources if the flex/bison sources are newer
6927 than the pregenerated ones but flex is too old. Print a warning in
6928 that case. This should fix the build on the build bot.
6930 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6932 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6933 * gst/parse/Makefile.am:
6934 * gst/parse/grammar.y:
6935 * gst/parse/parse.l:
6936 Make the parser reentrant and recursively callable. This requires flex
6937 >= 2.5.31, for older versions pregenerated sources are used as we
6938 can't bump the build dependency. Finally fixes #349180.
6940 * gst/gstparse.c: (gst_parse_launch):
6941 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6944 * docs/gst/Makefile.am:
6945 * docs/gst/Makefile.am:
6946 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6947 (__gst_parse_strfree), (__gst_parse_link_new),
6948 (__gst_parse_link_free), (__gst_parse_chain_new),
6949 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6950 (gst_parse_element_set), (gst_parse_free_link),
6951 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6952 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6953 (_gst_parse_launch):
6954 * gst/parse/grammar.tab.pre.h:
6955 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6956 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6957 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6958 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6959 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6960 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6961 (_gst_parse_yypop_buffer_state),
6962 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6963 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6964 (yy_fatal_error), (_gst_parse_yyget_extra),
6965 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6966 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6967 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6968 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6969 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6970 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6971 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6972 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6973 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6974 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6975 (_gst_parse_yyfree):
6976 If the installed flex version is too old use pre-generated parser
6977 sources. These pre-generated parser sources are always updated when
6978 the actual flex/bison sources change but require everybody who wants
6979 to change something in the parser to have flex >= 2.5.31 installed.
6981 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6983 * common/m4/gst-gettext.m4:
6984 * gst/gst-i18n-lib.h:
6985 Make --disable-nls to work
6987 2007-04-17 Wim Taymans <wim@fluendo.com>
6989 * gst/gstconfig.h.in:
6990 Revert previous change that broke the build.
6992 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6996 * gst/gstconfig.h.in:
6997 Drop libxml2 dependency when building with
6998 --enable-binary-registry --disable-loadsave
7000 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7002 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7003 (gst_registry_binary_read_cache):
7004 * gst/gstregistrybinary.h:
7005 Remove unnecessary <sys/mman.h> include which broke the win32 build
7006 with MingW; move includes from header file to .c file, even if the
7007 header file isn't installed; use g_strerror() where UTF-8 strings
7008 are expected, such as in GST_DEBUG messages.
7010 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7012 * docs/libs/gstreamer-libs-sections.txt:
7013 Remove bogus addition for API I didn't end up keeping.
7015 * libs/gst/base/gstbasesrc.h:
7016 Mention Since: 0.10.13 in the documentation.
7018 Add the API keyword to the previous ChangeLog entry.
7020 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7022 * docs/libs/gstreamer-libs-sections.txt:
7023 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7024 (gst_base_src_default_prepare_seek_segment),
7025 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7026 * libs/gst/base/gstbasesrc.h:
7027 Allow basesrc derived classes to execute seeks in other formats
7028 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7029 to prepare the GstSegment in any format that their perform_seek method
7030 will be able to understand. The default implementation provides the
7031 old behaviour of attempting to convert the seek offsets to the
7032 configured native format.
7034 API: basesrc::prepare_seek_segment vmethod.
7036 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7038 * gst/gstelement.c: (gst_element_get_state_func):
7039 Don't output the same debug statement twice.
7041 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7042 (gst_adapter_peek), (gst_adapter_take_buffer):
7043 Optimise the case where we have buffers at the head of the queue that
7044 can be joined quickly (because they're contiguous sub-buffers) by
7045 merging them together rather than copying data out into new memory.
7047 * gst/parse/grammar.y:
7048 * tests/check/pipelines/parse-launch.c:
7049 Fix a leak in an error path for parse_launch, and add a check
7050 for it to the testsuite.
7052 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7054 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7055 Don't deadlock when releasing a pad - gst_pad_set_active may try
7056 and take the multiqueue lock too.
7058 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7060 * gst/gsterror.c: (_gst_core_errors_init):
7062 API: add GST_CORE_ERROR_DISABLED (#392804).
7064 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7066 * docs/faq/gst-uninstalled:
7067 don't get empty paths on the PATH variables
7068 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7069 Don't format for the uncommon terminal width of 84 characters.
7071 2007-04-06 Wim Taymans <wim@fluendo.com>
7073 * gst/gstpipeline.c: (reset_stream_time),
7074 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7075 Only try to select a different pipeline clock when we went back to
7076 PAUSED and not when we merely got flushed.
7078 2007-04-05 Michael Smith <msmith@fluendo.com>
7080 * tools/gst-launch.1.in:
7081 fractions are better supported in gstreamer than ractions, so
7082 suggest using those.
7084 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7086 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7090 Added Danish translation.
7092 2007-04-05 Wim Taymans <wim@fluendo.com>
7094 * libs/gst/base/gstbasesink.c:
7095 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7096 Fix leak caused when refusing newsegment after EOS.
7098 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7099 (gst_fake_sink_init), (gst_fake_sink_set_property),
7100 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7101 (gst_fake_sink_render), (gst_fake_sink_change_state):
7102 * plugins/elements/gstfakesink.h:
7103 Add num-buffers property to make the element generate EOS after a
7104 configurable amount of buffers.
7105 API: fakesink::num-buffers property.
7107 * tests/check/elements/fakesink.c: (GST_START_TEST),
7109 Fix GstBus leak in test.
7110 Test for fakesink num-buffers.
7112 2007-04-05 Wim Taymans <wim@fluendo.com>
7114 * libs/gst/base/gstbasesink.c:
7115 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7116 (gst_base_sink_change_state):
7117 Don't accept anything after an EOS, return UNEXPECTED instead.
7119 * tests/check/elements/fakesink.c: (GST_START_TEST),
7121 Unit test for new EOS behaviour.
7123 2007-04-05 Wim Taymans <wim@fluendo.com>
7125 * gst/gstelement.c: (gst_element_get_request_pad):
7126 Make padtemplates also work when they don't contain %s or %d.
7128 2007-04-05 Wim Taymans <wim@fluendo.com>
7130 * docs/gst/gstreamer-sections.txt:
7131 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7132 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7134 Improve _adjust_unlocked() so that it overflows less.
7135 Add gst_clock_unadjust_unlocked to convert from external time to
7136 internal time based on calibration.
7137 Add some more debug.
7138 API: GstClock::gst_clock_unadjust_unlocked()
7140 2007-04-03 Wim Taymans <wim@fluendo.com>
7142 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7144 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7145 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7146 when releasing sink pad. Fixes #425400.
7148 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7150 * docs/random/ensonic/dynlink.txt:
7151 More work on proposal for new core api.
7153 * docs/libs/gstreamer-libs-sections.txt:
7154 * libs/gst/base/gstbasetransform.h:
7155 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7157 * libs/gst/controller/gstcontroller.c:
7158 (on_object_controlled_property_changed),
7159 (gst_controller_sync_values),
7160 (gst_controller_set_interpolation_mode):
7161 * libs/gst/controller/gstcontroller.h:
7162 Less verbose logging add docs for unimplemented parts and correctly
7163 return when using unavailable parts.
7165 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7167 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7168 Move all the debug to the CLOCK category, and associate it with
7171 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7173 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7174 Make take_buffer a bit quicker by removing redundant checks
7175 caused by calling gst_adapter_take.
7177 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7179 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7182 * tests/check/Makefile.am:
7183 * tests/check/elements/.cvsignore:
7184 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7185 (GST_START_TEST), (multiqueue_suite):
7186 Add some dead simple unit tests for the 'multiqueue' element
7187 (some bits don't work yet and are disabled for now).
7189 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7191 * gst/gstelement.c: (gst_element_get_request_pad),
7192 (gst_element_class_get_request_pad_template):
7193 Make gst_element_get_request_pad() create request pads only for
7194 request pad templates and not for, say, sometimes pad templates.
7196 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7198 * docs/design/draft-klass.txt:
7199 Add example that needs more thinking.
7201 * docs/design/draft-missing-plugins.txt:
7202 More thoughts about wrapper plugins.
7204 * docs/random/ensonic/embedded.txt:
7205 * docs/random/ensonic/profiling.txt:
7208 2007-03-25 Wim Taymans <wim@fluendo.com>
7210 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7211 (gst_base_src_loop):
7212 Only push the segment events in the PLAYING state for live sources.
7214 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7216 * gst/gstpipeline.c: (gst_pipeline_change_state):
7217 Modify the clock distribution path in PAUSED->PLAYING so that we
7218 never attempt to choose a new clock unless we're actually leaving
7219 the PAUSED state for the first time. This prevents choosing a
7220 different clock when the state_change gets called for a 2nd time due
7221 to some element doing an async state change.
7223 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7225 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7226 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7227 (gst_pad_chain_unchecked), (gst_pad_push):
7228 Revert last commit. This needs some more thoughts.
7230 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7232 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7233 (gst_pad_chain_unchecked), (gst_pad_push):
7234 Check in set_caps if the caps are compatible with the pad and remove
7235 two functions that are redundant now. Fixes #421543.
7237 2007-03-22 Wim Taymans <wim@fluendo.com>
7239 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7240 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7241 Unref some more to make valgrind happy.
7243 2007-03-22 Wim Taymans <wim@fluendo.com>
7245 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7246 (gst_system_clock_id_wait_jitter),
7247 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7248 Fix anoying regression that survived a few releases. When adding an
7249 async entry while blocking on a sync entry, the sync entry will unblock
7250 but still be busy, so it should continue to wait instead of returning
7252 Add some comments here and there.
7254 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7255 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7256 Add testcase for this.
7258 2007-03-22 Wim Taymans <wim@fluendo.com>
7260 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7261 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7262 WRONG_STATE and can silently pause the task. All other cases should
7265 2007-03-22 Wim Taymans <wim@fluendo.com>
7267 Patch by: Ville Syrjala <syrjala at sci dot fi>
7269 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7270 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7273 2007-03-21 Michael Smith <msmith@fluendo.com>
7275 * docs/pwg/advanced-types.xml:
7276 Fix some errors in the typefinding docs pointed out on irc.
7278 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7280 * libs/gst/base/gstbasesrc.c:
7281 Clarify FIXME comment in the face of having added unlock_stop()
7283 2007-03-21 Wim Taymans <wim@fluendo.com>
7285 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7286 Prepare for release where we warn against possible app breakage in the
7287 case of live pipelines along with an env var to enable/disable live
7288 preroll mode (GST_COMPAT=[no-]live-preroll).
7290 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7292 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7293 So we should use correct constants for checking for None offset.
7295 2007-03-20 Wim Taymans <wim@fluendo.com>
7297 * docs/design/part-block.txt:
7298 Mention the fact that the newly switched element should be set to at
7301 2007-03-20 Wim Taymans <wim@fluendo.com>
7304 Fix compilation with registry disabled as spotted by Saur.
7306 2007-03-20 Wim Taymans <wim@fluendo.com>
7308 Patch by: Olivier Crete <tester at tester dot ca>
7310 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7311 Look at the pending state too when syncing the element state to the
7312 parent. Fixes #420133.
7314 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7316 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7317 (gst_base_sink_change_state):
7318 * libs/gst/base/gstbasesink.h:
7319 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7320 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7321 (gst_base_src_deactivate):
7322 * libs/gst/base/gstbasesrc.h:
7323 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7324 for sub-classes to correctly clear any state they set trying to
7325 unlock, such as clearing out unlock commands from a command fd.
7326 API: basesrc::unlock_stop
7327 API: basesink::unlock_stop
7329 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7330 (gst_fd_sink_render), (gst_fd_sink_unlock),
7331 (gst_fd_sink_unlock_stop):
7332 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7333 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7334 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7336 Implement unlock_stop in fdsrc and fdsink.
7337 Implement seeking in fdsrc when a seekable fd is passed, as in
7338 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7340 2007-03-19 Wim Taymans <wim@fluendo.com>
7342 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7344 * gst/gstelement.c: (gst_element_class_init):
7345 Fix pad-added and pad-removed signal signatures so that the pad type is
7346 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7348 2007-03-19 Wim Taymans <wim@fluendo.com>
7350 * docs/gst/gstreamer-sections.txt:
7351 Add new element field and method.
7353 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7354 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7355 (gst_bin_recalc_state), (gst_bin_get_state_func),
7356 (gst_bin_element_set_state), (gst_bin_change_state_func),
7357 (gst_bin_continue_func), (bin_bus_handler),
7358 (bin_push_state_continue), (bin_handle_async_start),
7359 (bin_handle_async_done), (gst_bin_handle_message_func):
7360 Make async state changes a bit smarter by using new ASYNC_START and
7361 ASYNC_DONE messages. This reduces the number of times we run the state
7362 recalculation thread.
7363 Don't change state of element with a pending ASYNC_START message.
7364 Deprecate STATE_DIRTY messages.
7366 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7367 (gst_element_get_state_func), (gst_element_continue_state),
7368 (gst_element_lost_state), (gst_element_set_state_func),
7369 (gst_element_change_state):
7371 Keep the state that was last set by the app in a new element field.
7372 Don't allow state changes when handling an element event.
7373 Post ASYNC_START and ASYNC_DONE messages.
7374 Change lost_state so that we go to PAUSED and wait for the parent to set
7375 us to PLAYING again (so latency calculation can be performed)
7376 Export gst_element_change_state() method so that subclasses can use it.
7377 API: gst_element_change_state()
7378 API: GST_STATE_TARGET
7380 * gst/gstpipeline.c: (gst_pipeline_class_init),
7381 (reset_stream_time), (gst_pipeline_change_state),
7382 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7383 Using the new ASYNC_START message we can reset the base_time when
7384 needed. This can then be used to implement base_time redistribution in
7385 flushing seeks so that we can remove the explicit seek handling.
7386 Perform latency query and configuration when going to PLAYING.
7388 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7389 (gst_base_sink_query), (gst_base_sink_change_state):
7390 Post new ASYNC_START/ASYNC_DONE messages.
7392 * tests/check/generic/sinks.c: (GST_START_TEST):
7393 Fix test because the bin will not set the async element to PLAYING right
7396 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7397 Make the message check a little stronger.
7398 Handle ASYNC messages.
7400 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7401 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7402 Expect ASYNC_DONE messages.
7404 2007-03-19 Wim Taymans <wim@fluendo.com>
7406 * docs/gst/gstreamer-sections.txt:
7407 * gst/gstmessage.c: (gst_message_new_async_start),
7408 (gst_message_new_async_done), (gst_message_parse_info),
7409 (gst_message_parse_async_start):
7411 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7414 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7416 * tools/gst-inspect.c:
7417 (print_plugin_automatic_install_info_codecs):
7418 Now that we don't check for the 'Codec' keyword any longer in the
7419 klass, we shouldn't spew a warning if the klass isn't a decoder or
7420 encoder (since it might be a Source/Network, for example).
7422 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7424 * tools/gst-inspect.c:
7425 (print_plugin_automatic_install_info_codecs):
7426 Don't require decoder/demuxer/depayloader elements or
7427 encoder/muxer/paylader elements to have 'Codec' as part of their
7428 factory class string when introspecting a plugin's capabilities.
7429 draft-klass.txt mentions that it might be removed in future, and
7430 flump3dec doesn't have it as part of its class string, so chances
7431 are others might also not have it.
7433 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7455 Update translations from translation project
7457 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7459 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7460 (gst_child_proxy_set_property):
7461 Invert precondition check to be alike the ones in the mimiced gobject
7464 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7466 * docs/design/draft-tagreading.txt:
7467 * docs/random/ensonic/audiobaseclasses.txt:
7468 Do some Architect work.
7470 * gst/gstobject.c: (gst_object_set_name):
7474 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7476 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7478 * gst/gstsystemclock.c: (gst_system_clock_init),
7479 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7480 Defer starting the async system clock thread until the first async
7481 wait is scheduled. Fixes #414986.
7483 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7485 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7486 (gst_single_queue_free):
7487 Fix small leak (free GstSingleQueue structure too, not only contents).
7489 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7491 * gst/gstbin.c:(gst_bin_add):
7492 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7493 * win32/common/libgstbase.def:
7494 * win32/common/libgstreamer.def:
7495 Add new exported functions.
7497 2007-03-09 Wim Taymans <wim@fluendo.com>
7499 * docs/plugins/gstreamer-plugins-sections.txt:
7502 2007-03-09 Wim Taymans <wim@fluendo.com>
7504 * docs/gst/gstreamer-sections.txt:
7505 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7507 Add metadata copy functions. Fixes #393099.
7508 API: gst_buffer_copy_metadata()
7510 * gst/gstutils.c: (gst_buffer_stamp):
7511 * libs/gst/base/gstbasetransform.c:
7512 (gst_base_transform_prepare_output_buffer):
7513 Use new metadata copy functions.
7515 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7517 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7518 (gst_identity_init), (gst_identity_check_perfect),
7519 (gst_identity_check_imperfect_timestamp),
7520 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7521 (gst_identity_set_property), (gst_identity_get_property):
7522 * plugins/elements/gstidentity.h:
7523 Separate out check-imperfect-timestamp and check-imperfect-offset.
7524 Put back check-perfect as it was to keep compatibility.
7526 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7528 * gst/gstelement.c: (gst_element_dispose):
7529 There's no need to warn if VOID_PENDING is not NONE here, as
7530 long as the state is NULL it's ok, and that's checked immediately
7533 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7535 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7536 Fix check for perfect stream to ignore buffers with -1
7537 offsets/offset ends when checking data contiguity.
7539 2007-03-08 Wim Taymans <wim@fluendo.com>
7541 * tools/gst-launch.c: (event_loop):
7542 Print INFO messages.
7544 2007-03-08 Wim Taymans <wim@fluendo.com>
7546 * libs/gst/base/gstbasetransform.c:
7547 (gst_base_transform_sink_eventfunc),
7548 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7549 (gst_base_transform_activate):
7550 * libs/gst/base/gstbasetransform.h:
7551 Add support for dropping buffers with custom GstFlowReturn.
7552 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7553 buffers or dropped buffers.
7555 * docs/libs/gstreamer-libs-sections.txt:
7556 docs for new custom return code.
7558 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7559 Use drop support in base class to implement drop-probability.
7561 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7563 * gst/gst.c: (load_plugin_func):
7564 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7565 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7566 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7567 Remove newlines at end of debug log strings.
7569 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7571 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7572 Only post bus message at max, once per buffer received.
7574 2007-03-07 Wim Taymans <wim@fluendo.com>
7576 * docs/design/Makefile.am:
7577 * docs/design/part-synchronisation.txt:
7578 Add doc about synchronisation
7580 * docs/design/draft-latency.txt:
7581 * docs/design/part-TODO.txt:
7582 * docs/design/part-clocks.txt:
7583 * docs/design/part-events.txt:
7584 * docs/design/part-gstbus.txt:
7585 * docs/design/part-gstpipeline.txt:
7586 * docs/design/part-live-source.txt:
7587 * docs/design/part-messages.txt:
7588 * docs/design/part-overview.txt:
7589 * docs/design/part-streams.txt:
7590 * docs/design/part-trickmodes.txt:
7591 Documentation updates.
7593 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7596 Update the doap file.
7598 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7600 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7601 Rename non-perfect to imperfect for Mike and for the sanctity of the
7603 Also make sure bus message gets emitted for data-incontiguities.
7605 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7607 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7608 (gst_identity_start):
7609 * plugins/elements/gstidentity.h:
7610 Emit bus message if check-perfect is true and we encounter a
7611 non-perfect stream between 2 consecutive buffers.
7614 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7619 === release 0.10.12 ===
7621 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7624 releasing 0.10.12, "Inevitable Demise"
7626 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7629 Version 0.10.11.2 (0.10.12 pre-release)
7630 Bump libtool versioning.
7632 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7634 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7635 Log flow-names and not numbers.
7637 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7640 Convert to new AG_GST style.
7642 2007-02-28 Wim Taymans <wim@fluendo.com>
7644 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7645 Don't unref query twice.
7647 2007-02-28 Wim Taymans <wim@fluendo.com>
7649 * gst/gstvalue.c: (gst_value_transform_object_string),
7650 (_gst_value_initialize):
7651 Implement GstObject -> string transform so we print object names
7652 when serializing GValues containing GstObjects.
7654 2007-02-28 Wim Taymans <wim@fluendo.com>
7656 * docs/gst/gstreamer-sections.txt:
7657 Add new stuff to docs.
7659 2007-02-28 Wim Taymans <wim@fluendo.com>
7661 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7662 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7663 (gst_base_sink_change_state):
7664 Improve latency query code.
7665 Don't leak latency events.
7667 * tests/check/gst/gstbin.c: (GST_START_TEST):
7670 2007-02-28 Wim Taymans <wim@fluendo.com>
7672 * gst/gstelement.c: (gst_element_message_full),
7673 (gst_element_get_state_func):
7675 Improve docs a little. Added Since: for new macro.
7677 * gst/gstobject.c: (gst_object_sink):
7678 * gst/gstpipeline.c: (gst_pipeline_change_state),
7679 (gst_pipeline_set_new_stream_time):
7680 * gst/gstpipeline.h:
7681 Improve debugging and docs.
7683 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7686 2007-02-28 Wim Taymans <wim@fluendo.com>
7688 * gst/gstelement.c: (gst_element_message_full),
7689 (gst_element_set_locked_state), (gst_element_get_state_func),
7690 (gst_element_change_state):
7691 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7692 Documentation updates.
7693 Small code cleanups.
7695 * gst/gstmessage.c: (gst_message_new_info),
7696 (gst_message_parse_info):
7698 API: gst_message_new_info()
7699 API: gst_message_parse_info()
7700 Add INFO message create and parse code.
7702 2007-02-28 Wim Taymans <wim@fluendo.com>
7704 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7705 (bin_query_latency_done):
7706 Also report the live parameter of a latency query.
7708 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7710 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7711 Copy the current generic/states example from -base and adapt so
7712 we can use the exact same code everywhere.
7713 Check a STATES_IGNORE_ELEMENTS env var which can be used
7714 to ignore certain element factories for this test, which is
7715 what is being done in -base
7716 * tests/check/Makefile.am:
7717 Mention this environment variable.
7719 2007-02-27 Wim Taymans <wim@fluendo.com>
7721 * docs/gst/gstreamer-sections.txt:
7722 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7723 (gst_bus_timed_pop), (gst_bus_pop):
7725 API: gst_bus_timed_pop()
7726 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7727 message to arrive on the bus.
7729 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7731 Two unit tests for new _timed_pop() function.
7733 2007-02-23 Wim Taymans <wim@fluendo.com>
7735 * gst/gstpipeline.c: (gst_pipeline_change_state),
7736 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7737 Don't ref a NULL clock in _provide_clock_func().
7738 Don't allow an INVALID delay.
7739 Don't try to calculate base_time with an invalid start_time.
7740 Also distribute and notify a NULL clock when it was selected.
7742 * tools/gst-launch.c: (event_loop):
7743 Don't crash when a NULL clock was selected in the pipeline.
7745 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7747 * docs/design/Makefile.am:
7748 * docs/design/draft-missing-plugins.txt:
7749 * docs/random/draft-missing-plugins.txt:
7750 Some small updates: update plugin system identifier prefix
7751 ('gstreamer.net' to 'gstreamer'), mention our new install
7752 API in libgstbaseutils rather than libgimme-codec, add
7753 reference to the online docs.
7755 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7757 * win32/common/config.h:
7758 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7759 use moap cl ci to only check in what is mentioned in the ChangeLog.
7761 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7763 * docs/gst/gstreamer-sections.txt:
7765 Fix up documentation to link to the correct GstGError section.
7766 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7768 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7770 * tools/gst-launch.c: (event_loop):
7771 Make sure that we actually show the important message part of a
7773 No need to check if the gerror is not NULL to free; first of all
7774 g_free accepts NULL; and second the default error handler would
7775 segfault if gerror was NULL.
7777 2007-02-21 Wim Taymans <wim@fluendo.com>
7779 * docs/gst/gstreamer-sections.txt:
7780 Removed docs as well.
7782 2007-02-21 Wim Taymans <wim@fluendo.com>
7784 * gst/gstmessage.c: (gst_message_parse_duration):
7786 Remove new messages for release.
7788 2007-02-20 Wim Taymans <wim@fluendo.com>
7790 * docs/design/part-gstghostpad.txt:
7791 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7792 (gst_ghost_pad_new_full):
7793 Make the ghostpad a parent of the internal pad again for better backward
7794 compatibility. Don't write code that relies on this however.
7796 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7797 (gst_pad_link_check_hierarchy):
7798 Require that parents should be GstElements in the hierarchy check.
7800 2007-02-20 Wim Taymans <wim@fluendo.com>
7802 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7803 (gst_bin_change_state_func), (bin_query_min_max_init),
7804 (bin_query_latency_fold), (bin_query_latency_done),
7807 Implement latency query.
7809 2007-02-20 Wim Taymans <wim@fluendo.com>
7811 * docs/design/part-gstghostpad.txt:
7812 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7813 (gst_ghost_pad_internal_do_activate_push),
7814 (gst_ghost_pad_internal_do_activate_pull),
7815 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7816 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7817 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7818 Do not set the internal pad as a parent anymore so we can avoid
7819 hierarchy linking errors when the ghostpad has no parent yet. This also
7820 fixes failed activation because of unlinked internal pads, which in
7821 turn fixes the impossible case where you have to activate a pad before
7822 you can add it to a running element.
7825 * gst/gstpad.c: (pre_activate), (post_activate),
7826 (gst_pad_set_active), (gst_pad_activate_pull),
7827 (gst_pad_activate_push), (gst_pad_check_pull_range):
7828 Add some more debug info.
7829 Mark activation mode in pre_activate so that we don't try to activate in
7830 endless loops. Fixes #385084.
7832 2007-02-19 Wim Taymans <wim@fluendo.com>
7834 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7835 (gst_base_transform_check_get_range):
7836 Implement a checkgetrange function instead of relying on the default
7837 core behaviour that assumes we can operate in pull mode if we have a
7838 getrange function. First step at fixing #385084.
7840 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7842 * gst/gstchildproxy.h:
7843 * libs/gst/base/gstbasesink.h:
7844 * libs/gst/base/gstbasesrc.h:
7845 * libs/gst/base/gstbasetransform.h:
7846 More docs coverage and some ChangeLog surgery (add missing names)
7848 2007-02-15 Wim Taymans <wim@fluendo.com>
7850 * docs/design/part-TODO.txt:
7851 * docs/design/part-activation.txt:
7852 * docs/design/part-block.txt:
7853 * docs/design/part-buffering.txt:
7854 * docs/design/part-clocks.txt:
7855 * docs/design/part-element-source.txt:
7856 * docs/design/part-events.txt:
7857 * docs/design/part-gstbin.txt:
7858 * docs/design/part-gstbus.txt:
7859 * docs/design/part-gstpipeline.txt:
7860 * docs/design/part-live-source.txt:
7861 * docs/design/part-messages.txt:
7862 * docs/design/part-overview.txt:
7863 * docs/design/part-qos.txt:
7864 * docs/design/part-query.txt:
7865 * docs/design/part-states.txt:
7866 * docs/design/part-trickmodes.txt:
7867 Some doc updates. Start renaming from stream_time to running_time where
7868 it was used wrongly.
7870 2007-02-15 Wim Taymans <wim@fluendo.com>
7872 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7873 Answer LATENCY query.
7875 2007-02-15 Wim Taymans <wim@fluendo.com>
7877 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7881 2007-02-15 Wim Taymans <wim@fluendo.com>
7883 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7884 (gst_pad_dispatcher):
7885 Improve debugging of default pad dispatcher and query functions.
7887 2007-02-15 Wim Taymans <wim@fluendo.com>
7889 * docs/gst/gstreamer-sections.txt:
7890 Remove old unused method.
7892 2007-02-13 Wim Taymans <wim@fluendo.com>
7894 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7897 2007-02-13 Wim Taymans <wim@fluendo.com>
7899 * docs/design/part-seeking.txt:
7902 * gst/gstsegment.c: (gst_segment_set_seek):
7903 Revert old bogus change that should make seeking work again.
7905 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7907 * docs/random/ensonic/dynlink.txt:
7908 * docs/random/ensonic/interfaces.txt:
7909 * docs/random/ensonic/receipies.txt:
7910 Possible dynamic reconnection api, plus some type fixes the other two
7913 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7915 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7916 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7917 Also check for an absolute path following file:// in the filesrc
7918 element. Remove redundant check and call g_path_is_absolute() on the
7921 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7923 * docs/design/draft-klass.txt:
7924 Add existing category analysis.
7927 Fix doc example, framerate is a fraction.
7929 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7932 * docs/gst/Makefile.am:
7933 * docs/gst/gstreamer-sections.txt:
7934 * docs/libs/Makefile.am:
7935 Erm, forgot a bunch of --extra-dir.
7937 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7940 * docs/gst/Makefile.am:
7941 * docs/libs/Makefile.am:
7942 * docs/plugins/Makefile.am:
7943 Add crossreferences to glib/gobject docs.
7945 2007-02-12 Wim Taymans <wim@fluendo.com>
7947 * docs/design/draft-latency.txt:
7950 * docs/libs/gstreamer-libs-sections.txt:
7951 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7952 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7953 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7954 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7955 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7956 (gst_base_sink_get_position), (gst_base_sink_query),
7957 (gst_base_sink_change_state):
7958 * libs/gst/base/gstbasesink.h:
7959 API: gst_base_sink_query_latency() to let subclasses query the upstream
7961 API: gst_base_sink_get_latency() to let subclasses query the configured
7962 latency in the sink.
7963 Implement query and set latency.
7965 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7966 don't continue preroll when we are flushing. Fixes #405284.
7968 * tests/check/pipelines/stress.c: (change_state_timeout),
7969 (quit_timeout), (GST_START_TEST), (stress_suite):
7972 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7974 Patch by: René Stadler <mail at renestadler de>
7976 * docs/gst/gstreamer-sections.txt:
7977 * gst/gsttaglist.c: (_gst_tag_initialize):
7979 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7981 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7983 * docs/libs/Makefile.am:
7984 Fix path to core docs.
7986 * gst/gstbin.c: (gst_bin_get_by_interface),
7987 (gst_bin_iterate_all_by_interface):
7988 Refix docs by also renaming 'interface' to 'iface' in implementation.
7990 * docs/gst/gstreamer-sections.txt:
7992 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7993 * gst/gstchildproxy.h:
7994 * gst/gstelementfactory.c:
7995 * gst/gstpadtemplate.h:
7996 * libs/gst/controller/gstcontroller.c:
7997 (gst_controlled_property_new):
8000 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8002 * gst/gstbin.h:(gst_bin_get_by_interface),
8003 (gst_bin_iterate_all_by_interface):
8004 Replace interface parameter name by iface as interface is
8005 a reserved keyword in Visual Studio for C++ projects so it removes
8006 a build error for application developpers using VS.
8007 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8008 Fix a bug on Windows in uri format check. Now the prefix checked
8009 is file:// and next we check if the path after file:// is absolute.
8010 * win32/common/libgstbase.def:
8011 * win32/common/libgstdataprotocol.def:
8012 * win32/common/libgstgstreamer.def:
8013 Add new exported functions.
8015 2007-02-09 Andy Wingo <wingo@pobox.com>
8017 * tests/check/pipelines/simple-launch-lines.c
8018 (simple_launch_lines_suite, test_tee): Disable tee test until I
8019 have time to fix it :-(
8021 * tests/check/Makefile.am (noinst_HEADERS):
8022 * tests/check/libs/libsabi.c:
8023 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8024 * tests/check/gst/gstabi.c:
8025 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8027 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8028 tests for push and pull tee behavior.
8030 * plugins/elements/gsttee.h:
8031 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8032 mark as deprecated as well as unimplemented. It was a crack idea.
8033 Add support for tee operating in pull mode, off by default.
8035 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8036 normal-case logs down to LOG, raise errors to WARNING.
8037 (gst_registry_xml_read_cache): Don't log before calling a function
8040 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8041 exit (registry finalize).
8042 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8043 DEBUG log when we emit signals that people don't even have the
8044 chance to connect to.
8045 (gst_registry_scan_path_level): Less logging in the normal case.
8047 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8049 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8051 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8052 Correctly generate EOS for non-seekable files. We don't have a total
8053 length for them and would get an unexpected end of file if we only
8054 special-cased for regular files. (Fixes: #404569)
8056 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8058 * tests/check/elements/filesrc.c: (GST_START_TEST),
8060 Add unit test for the GstURIHandler interface in filesrc. This also
8061 tests the newly added file://localhost/foo/bar support.
8063 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8065 * gst/gstelementfactory.h:
8066 The klass string is not a hierarchy. Add reference to the design doc
8067 for more information and common types.
8069 2007-02-02 Wim Taymans <wim@fluendo.com>
8071 * gst/gstquery.c: (gst_query_new_latency):
8072 Remove old structure field.
8074 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8076 * tools/gst-launch.1.in:
8077 Give example for network streaming (#351998)
8079 2007-02-02 Wim Taymans <wim@fluendo.com>
8081 * docs/gst/gstreamer-sections.txt:
8082 Add docs for new methods.
8084 * gst/gstevent.c: (gst_event_new_latency),
8085 (gst_event_parse_latency):
8087 Add new LATENCY event to configure latency in a pipeline.
8088 API: gst_event_new_latency
8089 API: gst_event_parse_latency
8091 * gst/gstmessage.c: (gst_message_new_buffering),
8092 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8093 (gst_message_new_latency), (gst_message_parse_buffering),
8094 (gst_message_parse_lost_preroll):
8096 Added messages used in draft-latency.
8097 API: gst_message_new_lost_preroll
8098 API: gst_message_parse_lost_preroll
8099 API: gst_message_new_prerolled
8100 API: gst_message_new_latency
8102 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8103 (gst_query_parse_latency):
8105 Implemented new latency query as in design doc.
8106 API: gst_query_new_latency
8107 API: gst_query_set_latency
8108 API: gst_query_parse_latency
8110 2007-02-02 Wim Taymans <wim@fluendo.com>
8112 * docs/design/draft-latency.txt:
8113 Slight redesign to allow for dynamic latency adjustments.
8115 * docs/design/part-negotiation.txt:
8118 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8120 reviewed by: Wim Taymans <wim@fluendo.com>
8122 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8123 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8124 Allow file://localhost/foo/bar URLs and correctly fail for every other
8125 hostname that one sets. This was gnomevfssrc is linked for those if
8126 installed as it can handle it (#403172)
8128 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8130 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8132 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8133 (unref_data), (gst_collect_pads_add_pad_full):
8134 * libs/gst/base/gstcollectpads.h:
8135 Don't put the previously added destroy notify in the GstCollectData
8136 struct as all it's padding is already used and we don't want to break
8137 ABI. Instead put in the pad's GObject data for now. This should be
8138 cleaned up for 0.11 (#402393).
8140 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8142 reviewed by: Wim Taymans <wim@fluendo.com>
8144 * docs/libs/gstreamer-libs-sections.txt:
8145 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8146 (unref_data), (gst_collect_pads_add_pad),
8147 (gst_collect_pads_add_pad_full):
8148 * libs/gst/base/gstcollectpads.h:
8149 API: Add function to specify a destroy notification for custom
8150 GstCollectData when adding new pads in GstCollectPads (#402393).
8152 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8155 Update Swedish translation (#378255).
8157 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8159 * docs/design/draft-klass.txt:
8160 Fix the previous change, this is a list of categories and not a hierarchy.
8162 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8164 * docs/design/draft-klass.txt:
8165 Add info about how to get a list of used classes.
8167 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8169 * plugins/elements/gsttypefindelement.c:
8170 (gst_type_find_element_chain_do_typefinding),
8171 (gst_type_find_element_change_state):
8172 Don't leak found caps in chain function (no idea why that never
8173 showed up as a leak anywhere).
8175 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8178 Fix and expand GstPluginDesc API docs.
8180 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8183 * gst/gstelementfactory.c:
8184 * gst/gstpadtemplate.h:
8187 * libs/gst/controller/gstcontroller.c:
8188 (gst_controlled_property_new):
8189 * tests/examples/controller/audio-example.c:
8192 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8195 comment about refining the xml deps
8198 comments about moving away from jade for docs
8201 recommit the ifdefs to use the binary registry
8203 * gst/gstbin.c: (gst_bin_change_state_func):
8204 this break is obsolete
8206 * gst/gstelementfactory.h:
8207 better GST_ELEMENT_DETAILS docs, add comment about translation
8212 * gst/gstobject.c: (gst_signal_object_get_type):
8213 add G_UNLIKELY as usual
8215 * gst/gstpad.c: (gst_pad_event_default):
8216 add fall trhu comment
8218 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8219 (gst_registry_binary_initialize_magic),
8220 (gst_registry_binary_save_string),
8221 (gst_registry_binary_save_pad_template),
8222 (gst_registry_binary_save_feature),
8223 (gst_registry_binary_save_plugin),
8224 (gst_registry_binary_write_cache),
8225 (gst_registry_binary_check_magic),
8226 (gst_registry_binary_load_pad_template),
8227 (gst_registry_binary_load_feature),
8228 (gst_registry_binary_load_plugin),
8229 (gst_registry_binary_read_cache):
8230 comment typo and formatting
8232 * gst/gstutils.c: (gst_element_state_get_name),
8233 (gst_element_state_change_return_get_name):
8234 remove obsolete breaks
8236 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8237 add FIXME 0.11 and remove cpp comment
8239 2007-01-29 Edward Hervey <edward@fluendo.com>
8241 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8242 Fix print statement in an even more portable way.
8244 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8246 * docs/gst/gstreamer-sections.txt:
8248 API: add GST_ROUND_DOWN_* macros (#401781).
8250 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8252 * docs/gst/gstreamer.types.in:
8253 * gst/gstregistry.c: (gst_registry_class_init):
8254 Document registry signals and make gtk-doc pick them up (#401381).
8256 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8258 * docs/pwg/building-testapp.xml:
8259 Add some audioconverts and audioresample to the pipeline, and some
8260 more comments and error handling.
8262 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8264 * docs/manual/manual.xml:
8268 2007-01-26 Wim Taymans <wim@fluendo.com>
8270 * gst/gstcaps.c: (gst_static_caps_get):
8271 Init caps flags too.
8273 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8275 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8277 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8278 If not using mmap'ed files try to seek to the end instead of the
8279 start to determine whether we can seek at all. This fixes the case
8280 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8281 seeks for everything afterwards fail. Fixes #400656
8283 2007-01-25 Wim Taymans <wim@fluendo.com>
8285 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8286 Add some refcount debugging.
8287 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8288 in multiple streaming threads.
8290 2007-01-25 Wim Taymans <wim@fluendo.com>
8292 Patch by: David Schleef <ds at schleef dot org>
8294 * docs/libs/gstreamer-libs-sections.txt:
8295 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8296 * libs/gst/base/gstadapter.h:
8297 API: gst_adapter_copy() that can reduce the amount of memcpy when
8298 getting data from the adapter. Fixes #388201.
8300 2007-01-25 Edward Hervey <edward@fluendo.com>
8302 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8303 In print statements, "%x" is for guint. Fixes build on macosx.
8305 2007-01-24 Edward Hervey <edward@fluendo.com>
8307 * plugins/elements/gstmultiqueue.c:
8308 (gst_multi_queue_loop):
8310 (single_queue_overrun_cb), (single_queue_underrun_cb),
8311 (single_queue_check_full), (gst_single_queue_new):
8312 Implement single queue growth system.
8313 This uses the extra-size properties, and will grow single queues by
8314 that much if one goes full whereas there are others empty. This is
8315 called extra-mode in the code.
8316 When a single queue's levels go back below the initial max-size
8317 limits, it is no longer in extra-mode. This is to ensure we don't
8318 consume too much memory.
8321 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8323 * gst/gst.c: (gst_init_get_option_group):
8324 Make warning about late g_thread_init() calls a bit more explicit,
8325 so that it's more obvious to application developers what they need
8326 to do if a user files a bug against their application.
8328 2007-01-22 Edward Hervey <edward@fluendo.com>
8330 * plugins/elements/gstmultiqueue.c:
8331 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8332 Remove previous hack of unsetting the flushing flag for the source pad
8333 instead of activating it. Instead, fix the source pad activate function
8334 so that it no longer depends on having a parent set or not.
8336 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8338 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8340 * docs/manual/basics-bus.xml:
8341 Fix example code, gst_element_unref() doesn't exist any longer.
8343 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8345 Patch by: Mark Nauwelaerts <manauw at skynet be>
8348 Fix two docs typoes (#399094).
8350 2007-01-19 Edward Hervey <edward@fluendo.com>
8352 * docs/faq/gst-uninstalled:
8353 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8354 depending on libgstbaseutils can work in uninstalled environment.
8356 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8359 * gst/gsttagsetter.c:
8360 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8361 statement for new tag.
8363 2007-01-17 Edward Hervey <edward@fluendo.com>
8365 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8366 When dynamically creating single queues, activate sinkpad before adding
8368 We should be doing the same thing for the source pad, but we can't
8369 since it would call a method which needs the parent to be set in order
8370 to work propertly. Instead of activating the source pad, we just unset
8371 the flushing flag, which is the minimal requirement for adding a pad
8372 to an element in a state greater than READY.
8374 2007-01-17 Edward Hervey <edward@fluendo.com>
8376 * docs/faq/gst-uninstalled:
8377 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8380 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8382 * tests/check/gst/gstabi.c:
8383 * tests/check/gst/struct_hppa.h:
8384 * tests/check/libs/libsabi.c:
8385 * tests/check/libs/struct_hppa.h:
8386 Add ABI structs for HPPA (see #393796).
8388 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8390 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8391 Actually write ABI structs to the file specified in the GST_ABI
8392 environment variable, as the message we print claims we would.
8394 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8396 * tests/check/gst/gsttask.c:
8399 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8401 * gst/gsttaglist.c: (_gst_tag_initialize):
8402 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8403 previous two entries.
8405 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8407 * docs/gst/gstreamer-sections.txt:
8408 * gst/gsttaglist.c: (_gst_tag_initialize):
8410 Add tag support for beat-per-minute.
8412 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8414 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8415 (gst_registry_binary_initialize_magic),
8416 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8417 (gst_registry_binary_save_pad_template),
8418 (gst_registry_binary_save_feature),
8419 (gst_registry_binary_save_plugin),
8420 (gst_registry_binary_write_cache),
8421 (gst_registry_binary_check_magic),
8422 (gst_registry_binary_load_pad_template),
8423 (gst_registry_binary_load_feature),
8424 (gst_registry_binary_load_plugin),
8425 (gst_registry_binary_read_cache):
8426 * gst/gstregistrybinary.h:
8427 Use glib types, cleanup comments, impement interfaces and uri-types.
8429 2007-01-13 Andy Wingo <wingo@pobox.com>
8431 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8432 getrange() to return buffers with other caps, while we fix
8433 demuxers and typefind, or otherwise change part-negotiation.txt.
8435 2007-01-12 Andy Wingo <wingo@pobox.com>
8437 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8438 Factor start/stop into this private function instead of partially
8439 in activate functions and partially in the change_state function.
8440 Fixes setup before the element has changed from READY->PAUSED, as
8441 is the case in pull-mode pipelines.
8442 (gst_base_transform_sink_activate_push)
8443 (gst_base_transform_src_activate_pull): Refactor to use
8444 gst_base_transform_activate().
8445 (gst_base_transform_change_state): Removed, not needed any more.
8447 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8448 Truncate before fixating.
8450 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8451 Don't set_caps() if the result of fixating is ANY, as it's not
8452 supported, and not necessary in the case of a link with no
8453 template caps on either side. Fixes tests/check/libs/basesrc in
8454 some pull-mode tests.
8456 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8457 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8458 (gst_base_transform_src_activate_pull):
8459 Track the activation mode.
8460 (gst_base_transform_setcaps): In pull mode, when activating the
8461 src pad, after activating the sink pad, activate the sink pad's
8462 peer, as discussed in part-negotiation.txt.
8464 * libs/gst/base/gstbasesrc.h:
8465 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8466 vmethod, as in basesink.
8468 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8470 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8471 mode, first proxy the setcaps to the peer pad.
8472 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8474 (gst_base_sink_default_activate_pull): Rename from
8475 gst_base_sink_activate_pull.
8476 (gst_base_sink_negotiate_pull): New function, performs negotiation
8477 in pull mode before calling ::activate_pull().
8478 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8479 vmethod instead of the default implementation. I have no idea how
8480 this worked before. Negotiate before calling activate_pull.
8482 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8483 sink pads in pull mode. In addition to being correct, fixes
8484 filesrc ! decodebin ! identity ! fakesink.
8485 (gst_pad_get_range, gst_pad_pull_range): Don't call
8486 gst_pad_set_caps() if the caps changes; instead error out with
8487 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8489 2007-01-12 Andy Wingo <wingo@pobox.com>
8491 * docs/design/part-negotiation.txt: Update with more policy.
8493 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8495 * libs/gst/check/gstbufferstraw.h:
8496 * libs/gst/check/gstcheck.h:
8497 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8500 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8502 * tests/check/Makefile.am:
8503 * tests/check/gst/.cvsignore:
8504 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8505 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8506 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8507 (GST_START_TEST), (gst_tag_setter_suite):
8508 Add minimal unit test for beforementioned GstTagSetter bug.
8510 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8512 Patch by: René Stadler <mail at renestadler dot de>
8514 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8515 gst_tag_list_merge() returns a new list, so it's not the best idea
8516 to ingore its return value. Effectively meant that tags could only
8517 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8518 Also add function guard to require a non-NULL taglist as input (has
8519 always been so due to gst_tag_list_copy(), just making it explicit).
8521 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8523 * docs/random/draft-missing-plugins.txt:
8524 Some additions: mention new API that is supposed to be used at the
8525 various stages; short blob about new gst-inspect introspection
8526 option; mention potential future problem with plugins that have
8527 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8529 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8531 * tools/gst-inspect.c:
8532 (print_plugin_automatic_install_info_codecs),
8533 (print_plugin_automatic_install_info_protocols),
8534 (print_plugin_automatic_install_info), (main):
8535 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8536 introspect plugin files and get machine-parsable output that corresponds
8537 to the last bit of the missing-plugin installer string (small gotcha:
8538 doesn't take into account ranks).
8540 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8543 * docs/gst/gstreamer-sections.txt:
8545 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8546 (gst_registry_lookup_locked):
8547 * gst/gstregistry.h:
8548 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8549 (gst_registry_binary_initialize_magic),
8550 (gst_registry_binary_save_string),
8551 (gst_registry_binary_save_pad_template),
8552 (gst_registry_binary_save_feature),
8553 (gst_registry_binary_save_plugin),
8554 (gst_registry_binary_write_cache),
8555 (gst_registry_binary_check_magic),
8556 (gst_registry_binary_load_pad_template),
8557 (gst_registry_binary_load_feature),
8558 (gst_registry_binary_load_plugin),
8559 (gst_registry_binary_read_cache):
8560 * gst/gstregistrybinary.h:
8561 * gst/gstregistryxml.c: (load_feature),
8562 (gst_registry_xml_read_cache):
8563 commit binary registry (disabled by default, see #359653)
8565 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8567 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8568 Fix 'make check' too.
8570 2007-01-10 Andy Wingo <wingo@pobox.com>
8572 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8575 * docs/design/part-negotiation.txt: Update with, um, one way that
8576 pull-mode negotiation might work?
8579 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8580 that the pad must be a src pad; makes sense to call it the other
8581 way in pull mode, and the logic is symmetric anyway.
8583 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8585 * plugins/elements/gstfilesink.c:
8586 Include <stdio.h> for fseeko().
8588 2007-01-10 Wim Taymans <wim@fluendo.com>
8592 Reserve LATENCY event.
8594 2007-01-09 Wim Taymans <wim@fluendo.com>
8596 * docs/design/draft-latency.txt:
8599 2007-01-09 Wim Taymans <wim@fluendo.com>
8601 * docs/design/draft-latency.txt:
8605 * gst/gststructure.c:
8609 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8611 * tests/check/.cvsignore:
8612 Ignore test-registry.xml as well.
8614 2007-01-09 Wim Taymans <wim@fluendo.com>
8616 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8617 unref data at the end when we are done with the pad.
8619 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8621 * docs/gst/gstreamer-sections.txt:
8622 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8623 (init_post), (gst_deinit), (gst_update_registry):
8625 API: add gst_update_registry() (#391296).
8627 * tests/check/Makefile.am:
8628 * tests/check/gst/gstregistry.c:
8629 * tests/check/gst/.cvsignore:
8630 Simple unit test for the above.
8632 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8634 * gst/gstregistry.c: (gst_registry_scan_path_level):
8635 Plugin extension on HP-UX is .sl, add that to the list of approved
8636 plugin extensions (see #393796).
8638 * tests/check/gst/gstpad.c: (GST_START_TEST):
8639 ulong => gulong. Fixes compilation with HP-UX compiler.
8641 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8642 Fix compilation if valgrind headers are not available.
8644 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8646 * win32/common/libgstreamer.def:
8647 Add new exported function.
8648 * win32/vs6/libgstbase.dsp:
8649 Add gstdataqueue.c to the build.
8650 * win32/vs6/libgstcoreelements.dsp:
8651 Add gstmultiqueue.c to the build.
8653 2007-01-06 Andy Wingo <wingo@pobox.com>
8655 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8656 activate_pull(), providing for a way to specialize the process of
8657 spawning a thread to pull on the sink pad. There is a default
8660 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8661 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8662 (gst_base_sink_init): Renamed pad activation functions (inserting
8663 "_pad" in their names). Refactor to use the new activate_pull
8664 vmethod, as appropriate.
8665 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8666 default activate_pull function to start a task pulling from the
8667 sink pad, as before.
8669 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8670 on the pads if necessary, as in push()/chain(). Update docs.
8671 Shouldn't affect existing pull() usage as it is currently only
8672 being used on buffers without caps.
8674 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8676 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8678 Call g_thread_init() first thing in gst_init() / gst_check_init().
8679 When initialisation is done via gst_init_get_option_group() and
8680 GOption parsing, issue a warning if the GLib thread system has not
8681 been initialised yet by the time gst_init_get_option_group() is
8682 called, as it's quite likely other GLib functions such as
8683 g_option_context_new() have been called already then, and
8684 g_thread_init() must be called before any other GLib function. The
8685 application in question must be fixed in that case, since memory
8686 corruption might happen otherwise.
8687 We issue the warning because even if the GLib folks decide to work
8688 around the problem on their end in future, this is still an issue
8689 with all GLib versions >= 2.10.0, so we should warn until we depend
8690 on a GLib version we know to be safe.
8691 Update documentation as well.
8694 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8696 * tools/gst-inspect.c: (main):
8697 * tools/gst-launch.c: (main):
8698 * tools/gst-typefind.c: (main):
8699 * tools/gst-xmlinspect.c: (main):
8700 Call g_thread_init() really really early, before any other GLib
8701 function (see #342564 and recent discussion on gtk-devel-list).
8703 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8705 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8707 * gst/gst_private.h:
8708 * gst/gstconfig.h.in:
8710 On win32, all the __declspec stuff for symbol exporting is
8711 apparently only needed with MSVC, but doesn't work with MingW.
8712 Fixes compilation with MingW and #391909.
8714 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8716 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8717 Change some GST_ERROR_OBJECT that aren't really errors to
8718 GST_WARNING_OBJECT in order to reduce terminal spam.
8720 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8722 * tests/check/Makefile.am:
8723 disable test again, as there seem to be still race problems
8725 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8727 * tests/check/Makefile.am:
8728 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8729 (GST_START_TEST), (queue_suite):
8730 enable queue test again, add tests for the leaky behaviour
8732 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8735 * tests/examples/Makefile.am:
8736 Compile adapter test/example only if the required headers are
8737 available (fixes #391915).
8739 2007-01-01 David Schleef <ds@schleef.org>
8742 Restore the previous signal handler for SIGSEGV instead of
8743 setting to default, since we may have stolen it away from
8744 someone. (i.e., Mono)
8746 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8748 * docs/random/draft-missing-plugins.txt:
8749 Some small additions and clarifications.
8751 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8753 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8754 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8755 since that can lead to random memory corruptions and crashes
8756 (may or may not be related to #383244, #386711, and #386711).
8758 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8760 * tests/check/.cvsignore:
8761 * tests/check/Makefile.am:
8762 sync .cvsignome and CLEANFILES
8764 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8766 * tests/check/Makefile.am:
8769 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8771 * docs/design/part-states.txt:
8772 two tiny additional comments
8774 * gst/gststructure.c:
8777 * tests/check/Makefile.am:
8778 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8780 disable test for now, unless it gets fixed
8782 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8784 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8786 fix race in underrun test
8788 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8790 * tests/check/elements/.cvsignore:
8793 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8795 try to narrow test failure
8797 2006-12-21 David Schleef <ds@schleef.org>
8799 * plugins/elements/gstfakesrc.c:
8800 Use g_random_int_range(), since it produces better random
8801 numbers in a range than almost-correct floating point code.
8803 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8805 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8806 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8807 (gst_check_teardown_sink_pad):
8808 do not automatically (de)activate pads
8810 * tests/check/Makefile.am:
8811 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8812 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8813 add new, yet simple tests for queue
8815 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8816 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8817 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8819 * tests/check/elements/identity.c: (cleanup_identity):
8820 consistent pad (de)activation
8822 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8824 Patch by: Sebastian Dröge <slomo ubuntu com>
8826 * libs/gst/base/gstcollectpads.c:
8827 Fix two doc typos (#387866).
8829 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8831 * docs/manual/advanced-dparams.xml:
8832 Fix typo (g_object_control_properties() doesn't exist).
8834 2006-12-19 Edward Hervey <edward@fluendo.com>
8836 * gst/gstsegment.c: (gst_segment_set_seek):
8837 Fine tune the cases where the segment start/stop values are really
8839 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8840 Add tests for the return values of gst_segment_set_seek().
8842 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8847 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8849 Fix incorrect documentation and flesh it out a bit more.
8850 Set default values for the max properties on the GParamSpec as well,
8851 so it shows up correctly in gst-inspect.
8853 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8855 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8856 Correct docs of queue, add more detail and crosslink it more.
8858 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8860 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8861 Print additional debug info when the stream isn't perfectly
8862 timestamped; don't try to use invalid durations.
8864 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8866 * docs/design/Makefile.am:
8867 Dist new design docs.
8869 2006-12-16 Wim Taymans <wim@fluendo.com>
8871 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8873 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8874 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8875 (gst_collect_pads_stop), (gst_collect_pads_event),
8876 (gst_collect_pads_chain):
8877 * libs/gst/base/gstcollectpads.h:
8878 Add refcounting to the collectpads data so we can track when it's safe
8879 to free the data. Fixes #383382.
8881 2006-12-15 Wim Taymans <wim@fluendo.com>
8883 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8884 (gst_collect_pads_remove_pad):
8885 Automatically activate/deactivate pads when they are added to a
8886 started/stoped collectpads.
8888 2006-12-15 Wim Taymans <wim@fluendo.com>
8890 * gst/gstelement.c: (gst_element_add_pad):
8891 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8892 * gst/gstpad.c: (gst_pad_init):
8893 Set pads to FLUSHING when they are created. Check, warn and fix when a
8894 demuxer adds an inactive pad to itself when running. Fixes #339326.
8896 2006-12-15 Wim Taymans <wim@fluendo.com>
8898 * gst/gstelement.c: (gst_element_class_init),
8899 (gst_element_default_send_event), (gst_element_send_event),
8900 (gst_element_default_query), (gst_element_query):
8901 Expose default element send_event and query handling as vmethods that
8902 subclasses can chain up to.
8904 2006-12-15 Wim Taymans <wim@fluendo.com>
8906 * gst/gstelement.c: (gst_element_set_state_func):
8907 Small documentation fixes.
8909 2006-12-15 Wim Taymans <wim@fluendo.com>
8911 * docs/design/draft-latency.txt:
8912 Checked in draft for handling latency in pipelines.
8914 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8918 * gstreamer.spec.in:
8921 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8923 * gst/gst.c: (init_pre), (init_post):
8924 init_pre() and init_post() might be called via our GOptionGroup or
8925 from gst_init(), and we should skip both of them if we've already
8926 been initialised, otherwise we will init some things twice or add
8927 two default log functions.
8929 2006-12-13 Edward Hervey <edward@fluendo.com>
8931 * docs/manual/basics-bus.xml:
8932 No, gst_main_loop does not exist. Its g_main_loop.
8933 Discovered by somebody who abused the copy-paste technique of coding :)
8935 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8937 * gst/gstghostpad.c:
8938 Log ghostpad debug stuff to the GST_PADS category as well rather
8939 than just to the default category.
8941 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8944 * gst/gst.c: (init_pre):
8945 Add some basic system details such as OS and architecture
8946 to the debug output if possible, courtesy of uname().
8948 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8950 * docs/gst/running.xml:
8951 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8952 environment variables.
8954 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8956 * tests/check/gst/gstbin.c: (GST_START_TEST):
8957 It is acceptable to have a refcount of 2 or 3 at this point in the
8958 test, because the pipeline might be just posting its state_change
8959 message. The next line then waits for that message to appear using
8960 bus_poll, so that should be fine too.
8962 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8964 * gst/gst.c: (ensure_current_registry_forking):
8965 Ignore EINTR when reading from the child registry pipe.
8966 Explicitly ignore the return value from close, since it makes no
8969 * gst/gstminiobject.c: (gst_mini_object_ref),
8970 (gst_mini_object_unref):
8971 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8973 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8974 When removing cached plugins, remove their features too, so they're
8975 not visible after they've disappeared.
8977 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8978 In the unlikely case that we are linking pads with no parents, don't
8979 crash trying to get the non-existent parent bin.
8981 * gst/parse/grammar.y:
8982 Output debug in the PIPELINE category
8984 2005-03-08 Wim Taymans <wim@fluendo.com>
8986 Patch by: René Stadler <mail at renestadler dot de>
8988 * gst/gstclock.c: (gst_clock_new_periodic_id):
8989 Reject invalid clock times for interval of periodic ids.
8992 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8994 * gst/gstelementfactory.c: (gst_element_factory_create):
8995 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8996 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8997 * tools/gst-inspect.c: (print_element_info):
8998 Fix refcounting of gst_plugin_feature_load to match the docs.
9001 2006-12-07 Wim Taymans <wim@fluendo.com>
9003 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9004 (gst_base_sink_get_position):
9005 Improve debugging of events.
9007 2006-12-07 Wim Taymans <wim@fluendo.com>
9009 Patch by: René Stadler <mail at renestadler dot de>
9011 * gst/gstclock.c: (gst_clock_id_wait):
9012 Make period ids add the interval to the origial requested time instead
9013 of the possibly updated time which can be wrong when there are multiple
9014 waiters for the same id. Fixes #382592.
9016 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9017 (gst_system_clock_id_wait_jitter_unlocked),
9018 (gst_system_clock_id_wait_jitter):
9019 Fix restart in the async notify thread when an async entry is added to
9020 the front of the list. Fixes #381492.
9022 * tests/check/gst/gstsystemclock.c: (store_callback),
9023 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9024 Added test for multiple async waits.
9025 Added test for async wait order.
9027 2006-12-07 Wim Taymans <wim@fluendo.com>
9029 * gst/gstbin.c: (gst_bin_query):
9030 Add some more docs about the POSITION query.
9032 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9035 Bump version nano - back to CVS.
9037 === release 0.10.11 ===
9039 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9042 releasing 0.10.11, "Love never runs on time"
9044 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9046 * win32/common/libgstbase.def:
9047 * win32/common/libgstreamer.def:
9048 * win32/vs8/libgstbase.vcproj:
9049 * win32/vs8/libgstcoreelements.vcproj:
9050 * win32/vs8/libgstreamer.vcproj:
9051 Fix compilation on win32 under VS8
9052 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9053 Partially fixes #381175
9055 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9057 * gst/gstvalue.c: (gst_value_compare_fraction):
9058 If someone is foolish enough to compare 2 fractions with denominator =
9059 0, return UNORDERED rather than aborting.
9061 2006-11-28 Edward Hervey <edward@fluendo.com>
9063 * libs/gst/base/Makefile.am:
9064 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9065 (gst_data_queue_base_init), (gst_data_queue_class_init),
9066 (gst_data_queue_init), (gst_data_queue_new),
9067 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9068 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9069 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9070 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9071 (gst_data_queue_set_flushing), (gst_data_queue_push),
9072 (gst_data_queue_pop), (gst_data_queue_drop_head),
9073 (gst_data_queue_set_property), (gst_data_queue_get_property):
9074 * libs/gst/base/gstdataqueue.h:
9075 New GstDataQueue object for threadsafe queueing. Most useful for
9076 elements that need some queueing functionnality.
9077 * docs/libs/gstreamer-libs-docs.sgml:
9078 * docs/libs/gstreamer-libs-sections.txt:
9079 Insert documentation for GstDataQueue
9080 * plugins/elements/Makefile.am:
9081 * plugins/elements/gstelements.c:
9082 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9083 (gst_multi_queue_class_init), (gst_multi_queue_init),
9084 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9085 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9086 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9087 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9088 (gst_multi_queue_loop), (gst_multi_queue_chain),
9089 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9090 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9091 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9092 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9093 (wake_up_next_non_linked), (compute_next_non_linked),
9094 (single_queue_overrun_cb), (single_queue_underrun_cb),
9095 (single_queue_check_full), (gst_single_queue_new):
9096 * plugins/elements/gstmultiqueue.h:
9097 New multiqueue element, using GstDataQueue. Used for queuing multiple
9099 Closes #344639 and #347785
9101 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9103 * docs/pwg/advanced-types.xml:
9104 add more missing type details
9106 * tools/gst-run.c: (main):
9107 remove unused variable
9109 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9111 * docs/libs/Makefile.am:
9112 * docs/libs/gstreamer-libs.types:
9113 add types of base classes to enable gobject specific stuff in the docs
9115 * docs/random/ensonic/embedded.txt:
9116 more ideas about isolating platform specific things
9118 2006-11-20 Wim Taymans <wim@fluendo.com>
9120 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9122 * libs/gst/check/gstcheck.h:
9123 Fix compilation and running against 0.9.4. Fixes #377332.
9125 2006-11-20 Wim Taymans <wim@fluendo.com>
9127 * gst/gstsegment.c: (gst_segment_set_seek),
9128 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9129 (gst_segment_to_running_time):
9130 Fix boundary checking in to_running_time() and to_stream_time().
9133 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9134 stream and running time can now be calculated for the complete
9137 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9139 * gst/gstpad.c: (gst_pad_push_event):
9140 Can't access event structure after giving away ownership of
9143 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9145 * docs/random/ensonic/embedded.txt:
9146 * docs/random/ensonic/profiling.txt:
9147 * docs/random/ensonic/receipies.txt:
9150 2006-11-13 Wim Taymans <wim@fluendo.com>
9152 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9155 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9157 2006-11-13 Wim Taymans <wim@fluendo.com>
9159 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9161 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9162 Store new length in segment duration so we don't keep on calling the
9163 potentially expensize get_size() call. Fixes #370865.
9165 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9167 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9169 * win32/common/libgstreamer.def:
9170 Add two missing symbols (#366492).
9172 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9174 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9175 (gst_adapter_take_buffer):
9176 Fix format string to use all its arguments.
9177 Remove useless >= check on a guint
9179 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9181 * tests/examples/adapter/.cvsignore:
9182 Ignore build file as commanded by the build-bot
9184 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9186 * tests/examples/adapter/Makefile.am:
9187 * tests/examples/adapter/adapter_test.c: (run_test_take),
9188 (run_test_take_buffer), (run_tests), (main):
9190 Add new files from the previous commit
9192 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9196 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9197 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9198 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9199 * libs/gst/base/gstadapter.h:
9200 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9201 (GST_START_TEST), (gst_adapter_suite):
9202 * tests/examples/Makefile.am:
9203 Do some optimisation work in GstAdapter to avoid copies in more cases.
9204 It could still do slightly better by merging buffers when
9205 gst_buffer_is_span_fast is true, but is already faster.
9207 Also, avoid traversing a single-linked list to append each incoming
9208 buffer inside the adapter.
9210 Add simple test app that times the adapter behaviour in different
9211 situations, and extend the unit test to check that bytes enter and
9212 exit the adapter in their original order.
9214 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9216 * docs/random/draft-missing-plugins.txt:
9217 Update: use element message instead of adding a new message
9218 type to the core; don't provide GStreamer API to initiate the
9219 plugin download, just provide API to compose the strings needed
9220 and let an external libgimmestuff handle the rest.
9222 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9224 * tools/gst-inspect.c: (print_element_properties_info):
9225 Print a string instead of 'unknown type' for GValueArray properties
9227 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9229 * docs/random/draft-missing-plugins.txt:
9232 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9234 * tests/examples/typefind/typefind.c: (type_found), (main):
9235 Make typefind element example work again (#371894); add a
9238 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9240 * docs/random/draft-missing-plugins.txt:
9241 Commit initial draft about how to deal with missing plugins,
9242 needs work (API too).
9244 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9246 * docs/pwg/advanced-types.xml:
9247 documents the new caps elements (see #363118)
9249 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9251 * gst/gstplugin.c: (gst_plugin_load_file):
9252 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9253 (gst_file_src_map_region), (gst_file_src_start):
9254 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9255 (gst_file_index_commit):
9256 Use g_strerror() instead of strerror() - we want UTF-8.
9258 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9260 Patch by: Peter Kjellerstedt <pkj at axis com>
9262 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9263 Another printf fix (#371493).
9265 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9267 * tests/check/gst/gsttag.c:
9268 relicence (okay with author=company)
9270 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9272 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9273 (gst_pad_push_event):
9274 Enhance debug and improve docs
9279 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9281 * docs/random/ensonic/distributed.txt:
9282 * docs/random/ensonic/profiling.txt:
9285 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9287 * docs/gst/gstreamer-sections.txt:
9288 add new API and fix the build
9290 * gst/gstbin.c: (gst_bin_recalc_state):
9291 * gst/gstelement.c: (gst_element_message_full),
9292 (gst_element_get_state_func), (gst_element_set_state_func):
9293 use new API and improve logging
9295 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9297 API: add function to get StateChangereturn names to improve logs
9299 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9301 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9302 I'm considering shooting the next person to put strerror stuff
9303 in the translateable part of the message.
9305 2006-11-03 Wim Taymans <wim@fluendo.com>
9307 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9308 Get the type and printf conversion specifiers right.
9310 2006-11-03 Wim Taymans <wim@fluendo.com>
9312 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9314 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9315 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9316 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9317 Some small cleanups. Improve debugging.
9319 Signal all waiting threads with a broadcast instead of just one.
9322 2006-11-03 Wim Taymans <wim@fluendo.com>
9324 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9325 (gst_fd_src_create):
9327 Only update fd when it's different from the old.
9329 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9331 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9332 Printf fixes for PPC/OSX, take two (#369366).
9334 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9336 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9338 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9339 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9340 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9341 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9342 don't cast to long long for portability reasons, but use
9343 GLib's types instead.
9345 2006-10-30 Michael Smith <msmith@fluendo.com>
9347 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9348 Get the arguments to lseek() the right way around.
9351 2006-10-30 Wim Taymans <wim@fluendo.com>
9353 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9356 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9358 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9360 Patch by: Kjartan Maraas <kmaraas at gnome org>
9362 * docs/design/part-MT-refcounting.txt:
9363 * docs/random/wtay/capsnego2-docs:
9366 Typo fixes (#366212).
9368 2006-10-28 Wim Taymans <wim@fluendo.com>
9370 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9373 * win32/common/libgstbase.def:
9374 * win32/common/libgstreamer.def:
9375 * win32/vs8/libgstbase.vcproj:
9376 * win32/vs8/libgstcontroller.vcproj:
9377 Add needed entries in .def files.
9379 Rearrange def files in vs8 solutions. Fixes #366286.
9381 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9383 * win32/common/gstconfig.h:
9384 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9385 hand-made win32 gstconfig.h. Fixes #366321.
9387 2006-10-27 Wim Taymans <wim@fluendo.com>
9389 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9390 (gst_ghost_pad_new_full):
9391 Make acceptcaps return TRUE when we don't have a target, just like
9394 2006-10-27 Wim Taymans <wim@fluendo.com>
9396 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9397 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9399 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9401 * gst/gststructure.c: (gst_structure_id_set_value):
9402 If someone tries to set a non-UTF8 string field on a structure,
9403 don't just print a warning, but also ignore the request and do
9404 not change/add that field to the structure.
9406 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9409 2006-10-25 David Schleef <ds@schleef.org>
9412 g_hash_table_insert() needs a cast to a non-const pointer duh.
9414 2006-10-25 David Schleef <ds@schleef.org>
9418 Change name parameter of _gst_debug_register_funcptr to const
9419 to reflect the constness of its use in the function as well
9420 as to quiet a gcc warning.
9422 2006-10-25 Edward Hervey <edward@fluendo.com>
9424 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9425 Don't push the buffer if it's empty.
9428 2006-10-24 Wim Taymans <wim@fluendo.com>
9433 * libs/gst/base/gstbasetransform.c:
9434 (gst_base_transform_sink_eventfunc):
9435 Debug segment values *after* updating them as this is more
9438 2006-10-23 Wim Taymans <wim@fluendo.com>
9440 * docs/design/part-events.txt:
9443 * docs/design/part-block.txt:
9444 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9445 (gst_pad_push_event):
9446 Revert BLOCKING patch, it tries to be smart without really having a
9447 clear idea what or how. So, now we discard all FLUSHING events again on
9448 a blocking pad. Should fix gnonlin again.
9450 2006-10-23 Wim Taymans <wim@fluendo.com>
9452 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9454 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9455 (gst_base_src_start), (gst_base_src_activate_push):
9456 Make sure size is always initialized. Fixes #364388.
9458 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9460 * docs/random/ensonic/distributed.txt:
9461 add some ideas about doing distributed processing
9463 * docs/random/ensonic/profiling.txt:
9464 get_rusage look promising
9466 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9468 * docs/manual/basics-helloworld.xml:
9469 Add a cast in example to fix compile warning
9471 2006-10-18 Wim Taymans <wim@fluendo.com>
9473 * gst/gstsegment.c: (gst_segment_set_last_stop),
9474 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9475 Relax arg checking again, -1 is allowed.
9477 2006-10-18 Wim Taymans <wim@fluendo.com>
9479 * gst/gstsegment.c: (gst_segment_set_last_stop),
9480 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9481 _set_last_stop() must be with a value != -1
9482 A _TYPE_SET to -1 means seek to 0.
9483 Calc last_stop correctly for negative rates.
9484 Make sure we work with positive durations when updating a segment.
9486 2006-10-18 Wim Taymans <wim@fluendo.com>
9488 * docs/design/part-live-source.txt:
9492 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9495 Add an explicit cast to GstBuffer** to keep old code that added an
9496 explicit cast to GstMiniObject** for gst_mini_object_replace()
9497 compiling without warning.
9499 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9501 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9502 check for validity of dates
9504 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9506 * docs/gst/gstreamer-sections.txt:
9507 Forgot this one, makes gtk-doc shut up.
9509 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9511 Patch by: Peter Kjellerstedt <pkj at axis com>
9514 Don't define xmlNodePtr to gpointer if the core was built with
9515 --disable-loadsave and --disable-registry, this will break
9516 applications that want to use libxml2 but are buildling against a
9517 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9518 instead so we don't have to mess with the libxml2 namespace
9521 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9524 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9525 type-punned pointer warnings.
9527 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9530 Add casts to the correct return type to state <=> state transition
9533 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9535 * docs/design/part-live-source.txt:
9536 describe howto handle latency
9538 * docs/random/ensonic/profiling.txt:
9541 * tools/gst-plot-timeline.py:
9542 fix log parsing for solaris, remove unused function
9544 2006-10-16 Wim Taymans <wim@fluendo.com>
9546 * docs/design/part-trickmodes.txt:
9548 Update some docs regarding reverse playback.
9550 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9552 Patch by: Marcus Granado <mrc dot gran at gmail com>
9554 * win32/vs8/grammar.vcproj:
9555 Error out with a warning if glib-genmarshal.exe is not in path,
9556 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9558 2006-10-13 Wim Taymans <wim@fluendo.com>
9560 * gst/gstsegment.c: (gst_segment_set_seek):
9561 When seeking to stop -1, set last_stop (current position) to the
9562 duration of the segment.
9564 2006-10-13 Wim Taymans <wim@fluendo.com>
9567 Clarify _NO_PREROLL a bit more.
9572 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9573 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9574 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9575 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9576 due to wrong locking order. Fixes #361769.
9577 Remove some redundant/misplaced checks in pad_block.
9579 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9580 For negative rates, count backwards from the duration.
9582 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9584 * gst/gsterror.c: (_gst_library_errors_init):
9585 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9586 up with something better).
9588 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9590 * win32/vs6/libgstreamer.dsp:
9591 * win32/vs7/libgstreamer.vcproj:
9592 * win32/vs8/libgstreamer.vcproj:
9593 Don't reference glib-compat.c which is currently not used and not
9594 disted; add gstquark.c which was recently added. Fixes #361730.
9596 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9598 * win32/common/libgstbase.def:
9599 * win32/common/libgstcontroller.def:
9600 * win32/common/libgstreamer.def:
9601 Add gst_caps_merge() and a bunch of other recently-added functions.
9604 2006-10-11 Wim Taymans <wim@fluendo.com>
9606 * docs/plugins/gstreamer-plugins.args:
9607 * docs/plugins/inspect/plugin-coreelements.xml:
9608 * docs/plugins/inspect/plugin-coreindexers.xml:
9609 Update element args.
9611 * gst/gstsystemclock.c:
9612 Small comment update.
9614 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9615 (gst_tee_request_new_pad), (gst_tee_release_pad),
9616 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9617 (gst_tee_sink_activate_pull):
9618 * plugins/elements/gsttee.h:
9620 Add default property defines.
9621 Implement release pad function.
9622 Give properties better blubs etc.
9623 Activate pads before adding them to a running tee.
9624 Do simple buffer_alloc on the first requested pad.
9625 Post error when activation fails.
9627 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9629 * gst/gst.c: (ensure_current_registry_forking):
9630 Check return value of write() to make compiler happy.
9632 2006-10-11 Wim Taymans <wim@fluendo.com>
9634 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9636 * plugins/elements/gstqueue.c: (gst_queue_chain):
9637 Recheck queue filledness after signalling the overrun when we're about
9638 to leak downstream because we released the lock when emitting the signal
9639 and the queue could be empty again. Fixes #352345.
9641 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9643 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9644 Fix refcounting here too, just like we did for _new_valist() a few
9645 days ago (#357180) (thanks to René Stadler). Also remove all those
9646 'Since: 0.9' from the gtk-doc blobs.
9648 * tests/check/libs/controller.c: (controller_refcount_new_list),
9649 (gst_controller_suite):
9650 Unit test for the above.
9652 2006-10-10 Wim Taymans <wim@fluendo.com>
9654 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9656 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9657 (gst_pad_save_thyself):
9659 Write pad direction in XML output. Fixes #345496.
9661 2006-10-10 Wim Taymans <wim@fluendo.com>
9663 Patch by: René Stadler <mail at renestadler dot de>
9665 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9666 (gst_controller_new_list), (_gst_controller_dispose),
9667 (_gst_controller_finalize), (_gst_controller_class_init):
9668 Take ref to controlled object so that it cannot disappear.
9671 2006-10-10 Wim Taymans <wim@fluendo.com>
9673 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9674 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9675 (gst_check_teardown_sink_pad):
9676 Activate/deactivate pads in setup/teardown respectively.
9678 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9680 Patch by: Josep Torra Valles <josep@fluendo.com>
9683 Cast values when making gstenumtypes.h. This pacifies Forte
9684 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9687 2006-10-09 Wim Taymans <wim@fluendo.com>
9689 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9690 Rename some more @cur to @start to fix docs.
9692 * gst/gstsegment.c: (gst_segment_set_seek):
9694 time and start must always stay in sync as defined in design doc.
9696 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9697 Rename param to fix docs.
9699 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9700 Check that start and time are in sync.
9702 * tests/check/pipelines/parse-launch.c:
9703 (gst_parse_test_element_change_state):
9704 Activate pad before adding to the element.
9706 2006-10-09 Wim Taymans <wim@fluendo.com>
9708 * docs/design/part-qos.txt:
9713 Update seek event docs regarding negative rates.
9714 Rename @cur to @start.
9716 * gst/gstsegment.c: (gst_segment_set_seek):
9718 Update set_seek docs regarding negative rates.
9719 Correctly update last_stop to @stop when dealing with negative
9721 Rename @cur to @start.
9723 * tests/check/gst/gstpad.c: (GST_START_TEST):
9724 Activate pads before trying to use them.
9726 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9727 (gst_segment_suite):
9728 Add simple check for segments and negative rates.
9730 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9732 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9734 * docs/gst/gstreamer-sections.txt:
9735 API: add gst_tag_list_is_empty() (#360467).
9737 * tests/check/gst/gsttag.c: (GST_START_TEST):
9740 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9743 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9744 a value that doesn't fit on enumeration.
9746 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9748 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9749 Remove local debugging system and use Gstreamer's instead.
9751 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9753 Patch by: Josep Torra Valles <josep@fluendo.com>
9755 * common/m4/gst-error.m4:
9756 Disable warning of statement not reached on Forte.
9758 Fix warning on Forte (value doesn't fit on enumeration).
9759 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9760 Fix warning on Forte (value doesn't fit on enumeration).
9761 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9762 DEBUG macro says it takes minimum of 2 args and so Forte
9763 complains about the use with just 1 arg.
9764 * plugins/elements/gstfdsink.c:
9765 * plugins/elements/gstfdsrc.c:
9766 * plugins/elements/gstfilesink.c:
9767 * plugins/elements/gstfilesrc.c:
9768 Use correct return type for the uri handler implementations.
9770 All these fix warnings in Forte. Fixes bug #360860.
9772 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9775 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9776 format string, so don't use G_GNUC_PRINTF for those versions.
9778 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9780 * gst/gsttaglist.c: (gst_is_tag_list):
9782 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9784 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9785 Small test for the above.
9787 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9790 Less tabs, more spaces.
9792 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9795 Those two function declarations do actually belong there, revert
9796 commit from yesterday that turned them intro macros.
9798 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9800 Patch by: Josep Torra Valles <josep@fluendo.com>
9802 * gst/gst.c: (gst_init_get_option_group):
9803 Fix empty declaration and type mismatch.
9804 * gst/gstbin.c: (gst_bin_change_state_func):
9806 * gst/gstelement.c: (gst_element_continue_state),
9807 (gst_element_set_state_func), (gst_element_change_state),
9808 (gst_element_change_state_func):
9809 Fix type mismatches.
9810 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9811 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9812 Cast as appropriate.
9813 * gst/gstobject.c: (gst_class_signal_connect):
9814 Cast as appropriate. The function pointer parameter really
9815 has the wrong type but would break API if we change it.
9817 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9818 order of including string.h.
9819 * gst/gstutils.c: (gst_element_state_get_name):
9820 Remove unreachable line.
9821 * gst/gstxml.c: (gst_xml_parse_doc):
9823 All these caught by Forte.
9825 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9827 Patch by: Josep Torra Valles <josep@fluendo.com>
9829 * common/m4/gst-error.m4:
9831 We need to disable warnings on Forte for empty declarations
9832 due to gst-indent adding ;s to lines that just use macros
9833 where the macro actually doesn't need a ; at end to end
9836 2006-10-06 Wim Taymans <wim@fluendo.com>
9838 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9839 (gst_file_sink_close_file), (gst_file_sink_event),
9840 (gst_file_sink_render):
9841 Add some FIXME for the NEWSEGMENT handling.
9843 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9845 * gst/parse/grammar.y:
9846 Remove static function gst_parse_element_lock as all it does
9847 is return. Looks like cruft from 0.8.
9849 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9851 Patch by: Josep Torra Valles <josep@fluendo.com>
9853 * common/m4/gst-error.m4:
9855 * libs/gst/net/Makefile.am:
9856 Fix a compilation issue with Forte on Solaris. inet_aton is in
9859 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9861 * gst/gstpad.c: (pre_activate):
9862 * gst/gstregistry.c: (gst_registry_scan_path_level):
9863 * gst/gstregistryxml.c: (load_plugin):
9864 * libs/gst/controller/gstcontroller.c:
9865 (gst_controlled_property_set_interpolation_mode):
9866 * libs/gst/dataprotocol/dataprotocol.c:
9867 (gst_dp_packet_from_event_1_0):
9868 * libs/gst/net/gstnetclientclock.c:
9869 (gst_net_client_clock_observe_times):
9870 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9873 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9876 * docs/gst/gstreamer-sections.txt:
9877 * gst/gstconfig.h.in:
9880 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9881 whether we can use G_GNUC_PRINTF in other header files and at
9882 least check the printf format/arguments of debug messages and
9883 GST_ELEMENT_ERROR messages when the printf extension is not
9885 Replace more tabs with spaces in gstinfo.h and remove two spurious
9886 function declarations in GST_DISABLE_DEBUG part with macros.
9888 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9890 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9891 More docs for the sync-message signal (mention that it is not
9892 emitted by default); log message structures of messages posted on
9895 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9897 * gst/gst.c: (ensure_current_registry_forking):
9898 Use a pipe pair to receive status results from the forked child, and
9899 ignore the result from waitpid. Fixes #355499
9901 2006-10-02 Wim Taymans <wim@fluendo.com>
9903 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9904 (gst_ghost_pad_suite):
9907 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9910 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9912 2006-10-02 Edward Hervey <edward@fluendo.com>
9914 * docs/design/part-block.txt:
9915 Further explain the use of flushing on blocked pads.
9916 * docs/gst/gstreamer-sections.txt:
9917 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9918 (gst_pad_push_event):
9920 Added new GstPadFlag : GST_PAD_BLOCKING.
9921 Adds the notion of pads really blocking, which enables to properly
9922 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9924 API: gst_pad_is_blocking()
9925 API: GST_PAD_IS_BLOCKING() macro
9926 API: GST_PAD_BLOCKING GstPadFlag
9928 2006-10-02 Wim Taymans <wim@fluendo.com>
9930 Patch by: mrcgran <mrc.gran at gmail dot com>
9932 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9933 Filter the proxied caps against the padtemplate if we have one.
9935 * gst/gstquery.c: (gst_query_new_segment):
9936 Add include for gstinfo.h so that compilation with
9937 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9939 2006-10-02 Wim Taymans <wim@fluendo.com>
9941 Patch by: Alessandro Decina <alessandro at nnva org>
9943 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9944 (gst_file_sink_set_location), (gst_file_sink_open_file),
9945 (gst_file_sink_close_file), (gst_file_sink_event),
9946 (gst_file_sink_render):
9947 Set file to NULL when closing filesink so that we can set a new filename
9948 in READY. Fixes #358613.
9950 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9952 Patch by: Alessandro Decina <alessandro at nnva org>
9954 * gst/gstevent.c: (_gst_event_copy):
9955 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9956 with event structures by setting the parent refcount address of the
9957 copied structure to the address of the refcount member of the newly
9958 copied event rather than the address of the refcount member of the
9959 original event. Fixes #358737.
9961 * tests/check/gst/gstevent.c: (GST_START_TEST):
9962 Unit test for the above.
9964 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9966 * docs/design/Makefile.am:
9967 Dist some more files.
9969 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9971 * tests/check/libs/controller.c: (GST_START_TEST),
9972 (gst_controller_suite):
9973 Add test for the previous fix; add some more tests
9974 for correct refcounting behaviour; fix a few leaks
9975 in test cases; call gst_controller_init() at start
9978 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9980 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9981 (gst_controller_set_from_list):
9982 Don't g_return_val_if_fail() on timed values with invalid timestamps
9983 inside a critical section without unlocking the mutex. Spotted by
9984 René Stadler. (#357617)
9985 Also, fix up refcounting properly: when returning an existing
9986 controller, we should increase the reference only once and not
9987 once per property and when trying to control a property again
9988 we should also increase the refcount.
9990 2006-09-29 Wim Taymans <wim@fluendo.com>
9992 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9993 * libs/gst/net/gstnettimeprovider.c:
9994 (gst_net_time_provider_thread):
9995 Stop reading commands when EOF as well.
9997 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9998 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9999 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10000 Unify description of the dump property.
10002 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10004 * tests/examples/manual/.cvsignore:
10005 OK, so it's actually cvsignore that needs changing. Stop laughing.
10007 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10009 * tests/examples/manual/Makefile.am:
10010 Gah, declare vars *before* using them
10012 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10014 * gst/gst.c: (init_pre), (scan_and_update_registry),
10015 (ensure_current_registry_nonforking),
10016 (ensure_current_registry_forking), (ensure_current_registry),
10017 (init_post), (gst_debug_help), (gst_deinit):
10018 * gst/gst_private.h:
10019 * gst/gstregistry.c: (gst_registry_finalize),
10020 (gst_registry_remove_features_for_plugin_unlocked),
10021 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10022 (gst_registry_scan_path),
10023 (_priv_gst_registry_remove_cache_plugins),
10024 (_priv_gst_registry_cleanup):
10025 * gst/gstregistry.h:
10026 Re-commit the registry changes, along with an extra fix:
10027 When a cached plugin is encountered at a different file path,
10028 update the stored path in the registry cache so that the parent
10029 process knows where it actually is now when it re-reads the registry
10030 cache. Fixes the thing that broke distcheck with the previous commit.
10032 * tests/check/Makefile.am:
10033 Clean up files named 'core' too when running make clean.
10035 * tests/examples/manual/Makefile.am:
10036 Set up a registry path for running these tests, and clean it properly
10039 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10042 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10043 want gmodule-no-export-2.0.pc instead so that we don't drag in
10044 --export-dynamic on every project that links to GStreamer.
10046 Also, make our export regex only match the start of symbols, rather
10047 than any symbol that contains '_gst' somewhere.
10049 * libs/gst/check/Makefile.am:
10050 The libgstcheck we build does however need export-dynamic, as it
10051 produces some symbols that don't match our _gst... style regex.
10054 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10056 * gst/gst.c: (init_pre), (scan_and_update_registry),
10057 (ensure_current_registry_nonforking),
10058 (ensure_current_registry_forking), (ensure_current_registry),
10059 (init_post), (gst_debug_help), (gst_deinit):
10060 * gst/gst_private.h:
10061 * gst/gstregistry.c: (gst_registry_finalize),
10062 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10063 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10064 (_gst_registry_cleanup):
10065 * gst/gstregistry.h:
10066 Revert previous change until I figure out why it breaks distcheck.
10068 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10070 * gst/gst.c: (init_pre), (scan_and_update_registry),
10071 (ensure_current_registry_nonforking),
10072 (ensure_current_registry_forking), (ensure_current_registry),
10073 (init_post), (gst_debug_help), (gst_deinit):
10075 Make init_pre and init_post take the full complement of GOptionFunc
10076 args so they can return useful GErrors. Make the registry updating
10079 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10080 ensure that the registry we're about to write out doesn't contain
10081 stale information about old-deleted plugin files.
10083 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10084 that deletion of plugin files is considered a registry change.
10086 * gst/gst_private.h:
10087 * gst/gstregistry.c: (gst_registry_finalize),
10088 (gst_registry_remove_features_for_plugin_unlocked),
10089 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10090 (gst_registry_scan_path),
10091 (_priv_gst_registry_remove_cache_plugins),
10092 (_priv_gst_registry_cleanup):
10093 * gst/gstregistry.h:
10094 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10095 by adding _priv prefix, so that they won't appear in the global
10096 symbol table. They still do atm though because of #318031. Move the
10097 prototypes to gst_private.h
10099 When removing a plugin, remove all features for that plugin too.
10102 2006-09-27 Wim Taymans <wim@fluendo.com>
10104 * docs/random/moving-plugins:
10105 Make it clear that the "compiled-in descriptions" really mean
10106 the element details.
10108 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10109 (gst_base_sink_wait_preroll):
10112 * docs/libs/gstreamer-libs-sections.txt:
10113 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10114 (gst_base_src_get_range), (gst_base_src_activate_push):
10115 * libs/gst/base/gstbasesrc.h:
10116 Added function to block while waiting for PLAYING, this function
10117 is used by live sources that block on the clock.
10118 API: gst_base_src_wait_playing()
10120 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10122 Patch by: Peter Kjellerstedt <pkj at axis com>
10125 gst-element-check.m4 is generated and should therefore be
10126 copied from the build dir rather than the source dir (#357593).
10127 'make distcheck' hasn't noticed this because we were disting
10128 the file as well, so stop doing that.
10130 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10132 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10133 Add some tests for gst_caps_intersect().
10135 * tools/gst-launch.c: (event_loop):
10136 Print all buffering percentages we get, even the 100% one.
10138 2006-09-26 Wim Taymans <wim@fluendo.com>
10140 * tools/gst-inspect.c: (print_element_properties_info),
10141 (print_signal_info):
10142 Fix printing of flags to match the look of enums.
10144 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10146 * gst/gstelementfactory.c:
10147 Fix typo in docs blurb.
10149 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10151 * gst/gsturi.c: (search_by_entry):
10152 Don't assert/crash here if a uri handler doesn't return any
10153 supported protocols. The list of protocols could be generated
10154 dynamically at runtime or at plugin registration, and an error
10155 in the underlying library shouldn't be fatal (#353301).
10157 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10160 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10161 (spotted by Peter Kjellerstedt).
10163 2006-09-23 Wim Taymans <wim@fluendo.com>
10165 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10167 * libs/gst/base/gstbasesrc.c:
10168 (gst_base_src_default_check_get_range), (gst_base_src_start),
10169 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10170 (gst_base_src_change_state):
10171 Match _start/_stop calls in the activate functions. Remove redundant
10172 _stop call from the state change function. Fixes #356910.
10173 Turn failure DEBUG into ERROR.
10175 2006-09-22 Wim Taymans <wim@fluendo.com>
10177 * docs/design/part-buffering.txt:
10178 * gst/gstmessage.c: (gst_message_new_buffering),
10179 (gst_message_parse_buffering):
10180 Update docs about buffering.
10182 * docs/design/part-trickmodes.txt:
10185 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10187 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10188 (gst_controller_new_list):
10189 Ref instances when returning them again (fixes #357180)
10191 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10193 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10194 Don't forget to release proxy lock when there's an error.
10196 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10199 Add extra initialisers for Caps things, to fix some plugin warnings
10202 2006-09-18 Wim Taymans <wim@fluendo.com>
10204 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10205 Also set template on the internal pad so that a getcaps from the
10206 target pad returns the template caps.
10208 2006-09-18 Wim Taymans <wim@fluendo.com>
10210 * gst/gstelement.c: (gst_element_post_message),
10211 (gst_element_dispose):
10212 Use _DEBUG_OBJECT some more.
10214 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10217 * tools/gst-launch.c: (main):
10218 If the toplevel element is not a GstPipeline, it must be put in a
10219 pipeline so that a bus and clock is selected.
10221 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10223 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10224 JITTER, RATE, and LATENCY query should be handled by the
10225 default case and not by the CONVERT query code.
10227 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10229 * gst/gstformat.c: (gst_format_register):
10230 Fix locking order (must take lock before using n_values).
10232 * gst/gstvalue.c: (gst_value_serialize_enum),
10233 (gst_value_deserialize_enum_iter_cmp),
10234 (gst_value_deserialize_enum):
10235 Fix serialisation/deserialisation of custom registered GstFormats.
10237 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10238 Unit test for custom format serialisation/deserialisation.
10240 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10242 * docs/pwg/building-boiler.xml:
10243 * plugins/elements/gstcapsfilter.c:
10244 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10247 2006-09-16 Edward Hervey <edward@fluendo.com>
10249 * libs/gst/base/gstbasetransform.c:
10250 (gst_base_transform_buffer_alloc):
10251 Check if requested caps are the same as the sinks caps IF
10252 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10254 This fixes the renegotiation issues stated in #352827.
10256 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10259 * docs/manual/advanced-autoplugging.xml:
10260 * tests/examples/Makefile.am:
10261 * tests/examples/manual/.cvsignore:
10262 * tests/examples/manual/Makefile.am:
10263 * tests/examples/manual/extract.pl:
10264 Extract the manual examples again like we used to do.
10267 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10269 * win32/common/config.h:
10272 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10275 Documents how to receive errors.
10277 2006-09-15 Wim Taymans <wim@fluendo.com>
10279 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10280 (event_loop), (main):
10281 Added some comments here and there.
10282 Post an application message when an interrupt is caught instead of doing
10283 an uncontrolled state change.
10284 Clean up the event loop.
10285 Handle buffering messages, pause/resume the pipeline.
10286 Make shutdown because of an interrupt more reliable.
10288 2006-09-15 Wim Taymans <wim@fluendo.com>
10290 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10291 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10292 (gst_base_sink_preroll_object):
10293 Make sure that our internal state is correct when we commit our state
10294 asynchronously. This solves a race where a state change to PLAYING
10295 could cause the sink to remain blocked in preroll in some situations.
10297 2006-09-15 Wim Taymans <wim@fluendo.com>
10299 * tools/gst-inspect.c: (print_element_properties_info),
10300 (print_signal_info):
10301 List flags as hex so it's easier to deal with.
10303 2006-09-15 Wim Taymans <wim@fluendo.com>
10305 * docs/libs/gstreamer-libs-sections.txt:
10306 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10307 (gst_base_sink_do_sync):
10308 * libs/gst/base/gstbasesink.h:
10309 Expose logic to wait for preroll so that subclasses such as audiosink
10310 can also use this method.
10311 API: gst_base_sink_wait_preroll()
10313 2006-09-15 Wim Taymans <wim@fluendo.com>
10315 * gst/gstobject.c: (gst_object_set_parent):
10316 * gst/gstpipeline.c: (do_pipeline_seek):
10317 Small cleanups in docs and code.
10319 * gst/gstsegment.c: (gst_segment_clip):
10320 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10321 if stop == start and start is in the segment, no clipping should be
10322 done. Also add a test for this.
10324 2006-09-15 Wim Taymans <wim@fluendo.com>
10326 * docs/design/part-buffering.txt:
10327 * docs/gst/gstreamer-sections.txt:
10328 * gst/gstmessage.c: (gst_message_new_buffering),
10329 (gst_message_parse_buffering):
10330 * gst/gstmessage.h:
10331 Added methods to create and parse BUFFERING messages.
10332 Added preliminary docs about buffering.
10333 API: gst_message_new_buffering
10334 API: gst_message_parse_buffering
10336 2006-09-06 Wim Taymans <wim@fluendo.com>
10339 Update documentation.
10341 * gst/gstelement.c: (gst_element_class_init),
10342 (gst_element_release_request_pad), (gst_element_set_clock),
10343 (gst_element_get_index), (gst_element_add_pad),
10344 (gst_element_remove_pad), (gst_element_get_random_pad),
10345 (gst_element_send_event), (gst_element_get_query_types),
10346 (gst_element_query), (gst_element_post_message),
10347 (gst_element_message_full), (gst_element_continue_state),
10348 (gst_element_lost_state), (gst_element_save_thyself),
10349 (gst_element_restore_thyself):
10350 Documentation updates.
10351 Rename last bit of the new-pad -> pad-added signal rename.
10352 Fix the case where an element query would only work if the source
10354 Avoid some useless type checking in message handling.
10359 Documentation updates.
10361 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10363 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10364 add an INFO line for when we actually update the fd
10366 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10371 === release 0.10.10 ===
10373 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10376 releasing 0.10.10, "Pais"
10378 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10380 * docs/manual/advanced-position.xml:
10381 Fix typo in sample code.
10383 2006-09-05 Wim Taymans <wim@fluendo.com>
10385 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10386 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10387 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10388 * libs/gst/net/gstnetclientclock.h:
10389 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10390 * libs/gst/net/gstnettimepacket.h:
10391 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10392 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10393 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10394 * libs/gst/net/gstnettimeprovider.h:
10395 Make stuff compile on windows. Fixes #345295.
10397 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10399 * gst/gst.c: (ensure_current_registry_forking):
10400 Print better details when child was terminated by signal.
10402 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10404 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10405 Print a warning rather than g_assert() if a plugin feature
10406 is a URI handler but returns no protocols (#353976).
10408 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10410 * docs/random/moving-plugins:
10413 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10415 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10416 Fix locking order, handle NULL function values properly.
10421 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10422 Initialise variable before using it and fix debug statement to
10423 print the address of the function rather than the address of the
10424 variable on the stack holding the address of the function.
10426 2006-09-01 Wim Taymans <wim@fluendo.com>
10428 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10429 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10430 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10431 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10432 (gst_ghost_pad_parent_unset),
10433 (gst_ghost_pad_internal_do_activate_push),
10434 (gst_ghost_pad_internal_do_activate_pull),
10435 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10436 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10437 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10438 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10439 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10440 (gst_ghost_pad_new_no_target_from_template),
10441 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10443 Avoid needless typechecking in macros.
10444 Since the internal pad is always present and never changes, there is
10445 no need to locking or ref when retrieving it.
10446 Improve debugging a bit.
10447 Handle link errors when setting the target. Fixes #341029.
10449 2006-09-01 Wim Taymans <wim@fluendo.com>
10451 * docs/libs/gstreamer-libs-sections.txt:
10452 * docs/plugins/gstreamer-plugins-sections.txt:
10453 Fix docs some more.
10455 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10456 (gst_collect_pads_event):
10457 * libs/gst/base/gstcollectpads.h:
10458 Documentation updates.
10459 Free queued buffer when removing a pad.
10461 2006-08-31 Michael Smith <msmith@fluendo.com>
10463 * gst/gstutils.c: (gst_element_link_pads),
10464 (gst_element_link_pads_filtered):
10465 Ensure that we set a capsfilter to NULL if we failed to link it
10466 when doing filtered linking, to avoid criticals.
10468 No need to check for unreffing srcpad, which is explicly NULLed
10469 above (a trivial code cleanup).
10471 2006-08-31 Wim Taymans <wim@fluendo.com>
10473 * docs/design/part-gstghostpad.txt:
10474 Update ascii art in documentation.
10476 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10477 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10478 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10479 (gst_ghost_pad_internal_do_activate_push),
10480 (gst_ghost_pad_internal_do_activate_pull),
10481 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10482 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10483 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10484 (gst_ghost_pad_set_target):
10485 Small cleanups and leak fixes.
10486 Remove some checks now that the internal pad is never NULL.
10487 Fix the case where linking pads without a target would create nasty
10488 criticals. Fixes #341029.
10489 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10490 value of _set_target().
10492 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10493 (gst_ghost_pad_suite):
10494 Some more tests for creating and linking untargeted ghostpads.
10496 2006-08-31 Edward Hervey <edward@fluendo.com>
10498 * docs/gst/gstreamer-sections.txt:
10499 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10500 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10501 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10502 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10503 (gst_ghost_pad_new_from_template),
10504 (gst_ghost_pad_new_no_target_from_template):
10505 * gst/gstghostpad.h:
10506 Refactored *_new() functions.
10507 Templates are now used as a g_object_new() parameter.
10508 Use template in _do_getcaps() if we don't have a target.
10509 Small documentation cleanups.
10510 Added two new constructors:
10511 gst_ghost_pad_new_from_template()
10512 gst_ghost_pad_new_no_target_from_template()
10513 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10514 (gst_ghost_pad_suite):
10515 Added tests for new ghostpad instanciation functions.
10517 API additions: gst_ghost_pad_new_from_template,
10518 gst_ghost_pad_new_no_target_from_template
10520 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10522 * docs/random/ensonic/profiling.txt:
10523 Ideas about qos profiling.
10525 2006-08-29 Wim Taymans <wim@fluendo.com>
10527 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10531 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10534 Improve and detypofy docs.
10536 * tests/check/Makefile.am:
10537 * tests/check/gst/.cvsignore:
10538 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10539 Add a basic test suite for GstXML.
10541 2006-08-29 Wim Taymans <wim@fluendo.com>
10543 * gst/gstelement.c: (activate_pads), (clear_caps),
10544 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10545 Clear the pad caps when the element shut down all of the pads and
10546 is not streaming data that could modify the caps.
10549 2006-08-28 Michael Smith <msmith@fluendo.com>
10551 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10552 Revert previous change; I misunderstood single-segment mode.
10554 2006-08-28 Michael Smith <msmith@fluendo.com>
10556 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10557 Unset DISCONT on buffers when using single-segment mode.
10559 2006-08-28 Wim Taymans <wim@fluendo.com>
10561 * gst/gstcaps.c: (gst_caps_merge_structure):
10563 Fix docs and indentation again.
10565 * tests/check/gst/gstquery.c: (GST_START_TEST):
10566 Fix leak in tests and add some more tests.
10568 2006-08-28 Edward Hervey <edward@fluendo.com>
10570 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10571 Inform GstSegment of the last stop position in order for the current
10572 segment to have a proper duration if it doesn't have a specific stop
10573 position from which a duration could be calculated.
10574 This bug was noticeable when a non-flushing, non-update new segment was
10575 followed by another segment (all buffers from the new segment were being
10578 2006-08-28 Wim Taymans <wim@fluendo.com>
10580 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10581 Small comment update.
10583 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10584 (gst_identity_transform_ip):
10585 Drop-probability is broken, mention this in the code with a
10586 FIXME and also in the property description.
10587 Make silent also be silent about the drop messages.
10589 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10591 * docs/manual/appendix-win32.xml:
10592 Remove mention of popt, we don't depend on that any
10593 longer (#353136). Add some comments pointing out that
10594 this section is slightly outdated.
10596 2006-08-28 Wim Taymans <wim@fluendo.com>
10598 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10600 * gst/gstquery.c: (gst_query_new_segment):
10601 * tests/check/gst/gstquery.c: (GST_START_TEST):
10602 Initialize variables when creating a new segment query.
10605 2006-08-28 Wim Taymans <wim@fluendo.com>
10607 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10609 * gst/gstelement.c: (gst_element_get_bus):
10610 * tests/check/gst/gstelement.c: (GST_START_TEST):
10611 Check for NULL before _reffing the bus. Fixes #353122.
10613 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10615 * docs/manual/basics-bus.xml:
10616 Docs update: fix wrong callback return value explanation; add
10617 some lines about the implicit relationship between main loop
10618 and main context; remove duplicate main loop variable declaration.
10620 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10622 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10623 Don't leak caps in unit test; add a few more simple
10626 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10628 * docs/gst/gstreamer-sections.txt:
10629 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10630 (gst_caps_structure_is_subset), (gst_caps_merge),
10631 (gst_caps_merge_structure):
10633 * libs/gst/base/gstbasetransform.c:
10634 (gst_base_transform_transform_caps):
10635 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10636 implement caps merging (fixes #352580)
10638 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10640 * tools/Makefile.am:
10641 * tools/gst-plot-timeline.py:
10642 add debug-log plotting developer tool (#340674)
10644 2006-08-23 Wim Taymans <wim@fluendo.com>
10646 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10647 (gst_pad_stop_task):
10648 Improve debugging for task functions.
10650 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10651 (gst_task_start), (gst_task_pause), (gst_task_join):
10652 Make sure that the task function started and finished after a
10654 Don't try to push the task function on the threadpool multiple
10656 Improve the g_warning message with some useful suggestions
10657 about how to fix the problem.
10659 2006-08-23 Wim Taymans <wim@fluendo.com>
10661 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10662 Handle RESYNC correctly in _proxy_getcaps.
10664 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10666 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10667 (gst_xml_parse_memory), (gst_xml_get_element):
10668 Chain up to parent class in dispose function and also
10669 unref the elements in the toplevel_elements GList.
10670 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10671 Always return a reference in gst_xml_get_element() rather
10672 than only sometimes.
10674 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10675 Don't leak GstXml object.
10677 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10679 * docs/gst/gstreamer-sections.txt:
10680 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10683 * libs/gst/base/gstbasetransform.c:
10684 (gst_base_transform_transform_caps):
10685 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10688 2006-08-21 Edward Hervey <edward@fluendo.com>
10690 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10691 Implement GObject::dispose virtual method in GstXML so we can free the
10692 top_elements GList.
10694 2006-08-21 Wim Taymans <wim@fluendo.com>
10696 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10697 (gst_buffer_create_sub):
10698 Copy duration/offset_end/caps when creating a subbuffer of the
10700 Make the subbuffer read-only when we make the metadata writable for
10701 now. Fixes #351768.
10703 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10704 Added check for metadata copy when creating subbuffers.
10706 2006-08-21 Edward Hervey <edward@fluendo.com>
10708 * libs/gst/base/gstbasetransform.c:
10709 (gst_base_transform_buffer_alloc):
10710 Only call downstream buffer_alloc if transform element is passthrough
10711 or always_in_place. Closes #350449.
10713 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10716 ChangeLog surgery to add comments to previous changes
10718 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10723 * gst/gstpad.c: (gst_pad_set_active):
10724 Be more verbose in the log
10726 * libs/gst/base/gstbasetransform.c:
10727 (gst_base_transform_transform_caps):
10728 Simplify caps to get rid of duplicates, fixes #345444
10730 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10734 Use these optimizations only internally.
10736 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10738 * gst/gstvalue.c: (gst_value_compare_list),
10739 (gst_value_compare_fraction_range),
10740 (gst_value_intersect_fraction_fraction_range),
10741 (gst_value_intersect_fraction_range_fraction_range),
10742 (gst_value_subtract_fraction_fraction_range),
10743 (gst_value_subtract_fraction_range_fraction_range),
10744 (gst_value_get_compare_func), (gst_value_compare),
10745 (gst_value_compare_with_func):
10747 Saves the expensive lookup of the compare function in many cases
10750 2006-08-18 Edward Hervey <edward@fluendo.com>
10752 * tests/check/gst/gstinfo.c: (gst_info_suite):
10753 Disable test that require gstdebug if it wasn't built in core.
10755 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10757 * docs/random/ensonic/logging.txt:
10760 * gst/gstinfo.c: (gst_debug_log_default):
10761 reorder fields, save some columns, add optional color codes for log
10764 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10766 * docs/random/ensonic/logging.txt:
10767 add ideas about making the logs a bit more useful
10769 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10771 * docs/pwg/advanced-events.xml:
10772 * docs/pwg/titlepage.xml:
10773 Update for 0.10 API (#340627). Add myself
10776 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10778 * docs/libs/gstreamer-libs-docs.sgml:
10779 * docs/libs/gstreamer-libs-sections.txt:
10780 * libs/gst/check/gstbufferstraw.c:
10781 Make gstcheck stuff show up in docs (still needs to
10782 be documented properly though).
10784 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10786 * docs/gst/gstreamer-sections.txt:
10788 * gst/gst.c: (init_post):
10789 * gst/gst_private.h:
10790 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10792 * gst/gstquery.c: (gst_query_new_position),
10793 (gst_query_set_position), (gst_query_parse_position),
10794 (gst_query_new_duration), (gst_query_set_duration),
10795 (gst_query_parse_duration), (gst_query_new_convert),
10796 (gst_query_set_convert), (gst_query_parse_convert),
10797 (gst_query_new_segment), (gst_query_set_segment),
10798 (gst_query_parse_segment), (gst_query_new_seeking),
10799 (gst_query_set_seeking), (gst_query_parse_seeking):
10800 Add internal helpers for pre-registering quarks from static strings
10801 and using the quark values directly instead of looking them up when
10802 creating and parsing queries. Can be used for event construction too.
10805 2006-08-16 Wim Taymans <wim@fluendo.com>
10810 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10812 * gst/gstutils.c: (gst_util_set_value_from_string):
10813 Fix memleak (#351502).
10815 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10816 Add unit test for most of gst_util_set_value_from_string()
10817 (not that one would want to encourage use of this function).
10819 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10821 * libs/gst/check/gstcheck.h:
10822 Use const gchar * variables in fail_unless_equals_string
10823 macro to avoid compiler warnings (and don't use tabs for
10826 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10828 * tools/gst-launch.c: (print_tag):
10829 More space on the left for the tag names, to cater
10830 for the 'extended comment' tag (not touching the
10831 string for the first line since it's translated).
10833 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10835 * libs/gst/check/gstcheck.h:
10836 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10837 print something when they fail.
10839 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10841 * docs/gst/gstreamer-sections.txt:
10842 * gst/gsttaglist.c: (_gst_tag_initialize):
10843 * gst/gsttaglist.h:
10844 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10845 Also change merge function for GST_TAG_COMMENT to
10848 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10850 * gst/gstinfo.c: (gst_debug_print_object):
10851 Make GST_PTR_FORMAT print messages as well.
10853 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10854 (GST_START_TEST), (gst_info_suite):
10857 2006-08-14 Edward Hervey <edward@fluendo.com>
10859 * gst/gstelementfactory.c: (gst_element_register):
10860 If the GstElementClass doesn't have a GstElementDetails with all fields
10861 filled up correctly (longname, description AND author), then error out
10862 nicely instead of crashing.
10864 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10866 * gst/gststructure.c:
10867 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10870 Expand on the difference between arrays and lists as we use them.
10872 2006-08-14 Wim Taymans <wim@fluendo.com>
10874 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10875 If the parent state change function failed, don't assume we can safely
10876 stop the source, this will be done when the pads are deactivated.
10878 2006-08-14 Wim Taymans <wim@fluendo.com>
10881 * gst/gsttask.c: (gst_task_join):
10884 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10885 (gst_pad_stop_task):
10886 When pad (de)activation failed for some reason, restore the old
10887 activation mode and set the pad to flushing instead of assuming the
10888 pad is deactivated.
10889 If the _task_join() failed, reinstall the task on the pad so that it can
10890 be stopped later and return an error.
10892 2006-08-11 Andy Wingo <wingo@pobox.com>
10895 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10896 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10897 is only for users of API that don't want to see deprecated
10898 functions in the headers; people that want to compile out
10899 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10900 CFLAGS. Fixes the build of multifdsink, or will soon..
10902 2006-08-11 Wim Taymans <wim@fluendo.com>
10904 * docs/gst/gstreamer-sections.txt:
10905 Add GstClockClass vmethod docs.
10908 Mark #endif with comment for associated #if
10910 * gst/gstclock.c: (gst_clock_id_wait):
10912 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10913 most clock implementations.
10915 Flesh out docs about resolution methods.
10916 API: GstClockClass::wait_jitter
10918 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10919 (gst_system_clock_async_thread),
10920 (gst_system_clock_id_wait_jitter_unlocked),
10921 (gst_system_clock_id_wait_jitter):
10922 Use base class wait_jitter variant for improved performance
10923 due to less clock polling.
10925 2006-08-11 Edward Hervey <edward@fluendo.com>
10927 * gst/gst.c: (gst_init_check), (init_post):
10928 Set gst as being initialized before scanning/updating the registry,
10929 since there might be my python plugin loader that calls gst_init() and
10930 we don't want to loop back in.
10933 2006-08-11 Wim Taymans <wim@fluendo.com>
10935 * docs/design/part-qos.txt:
10936 Bring docs in line with the code. Mostly the sign of the jitter was
10937 wrong in the docs. Fixes #349943.
10940 Fix the docs for the jitter.
10942 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10943 (gst_event_parse_tag), (gst_event_new_buffer_size),
10944 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10945 (gst_event_new_seek), (gst_event_parse_seek),
10946 (gst_event_new_navigation):
10947 Make sure the GstStructure has no parent when creating custom
10949 Add some more argument checking so that we avoid 0.0 rates.
10950 Flesh out the docs for the QoS event some more.
10952 2006-08-11 Wim Taymans <wim@fluendo.com>
10954 * docs/gst/gstreamer-sections.txt:
10955 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10956 (ensure_current_registry_forking), (ensure_current_registry),
10957 (parse_one_option), (parse_goption_arg), (gst_deinit),
10958 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10961 Added API and command line option to disable registry forking in
10962 addition to the environment variable.
10963 Constify some static arrays.
10964 Added some more debug.
10965 Don't deinit twice.
10966 API: gst_registry_fork_is_enabled()
10967 API: gst_registry_fork_set_enabled()
10968 API: --gst-disable-registry-fork command line option
10971 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10973 * gst/gst.c: (gst_init):
10974 Fix typo in error message.
10976 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10978 * libs/gst/controller/gstcontroller.h:
10979 fix ABI size-correction
10981 * tests/check/libs/gdp.c: (gst_dp_suite):
10982 make tests that use deprecated API conditional
10984 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10986 * docs/libs/gstreamer-libs-sections.txt:
10987 * libs/gst/controller/gstcontroller.c:
10988 (_gst_controller_get_property), (_gst_controller_set_property),
10989 (_gst_controller_init), (_gst_controller_class_init):
10990 * libs/gst/controller/gstcontroller.h:
10991 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10992 (gst_object_set_control_rate):
10993 API: add gst_object_{s,g}et_control_rate(), add private data section,
10996 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10997 * libs/gst/dataprotocol/dataprotocol.h:
10998 add deprecation guards to make gtk-doc happy and allow disabling cruft
11000 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11002 * tests/check/Makefile.am:
11003 * tests/check/gst/.cvsignore:
11004 Let's enable the new unit test as well.
11006 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11009 * docs/gst/gstreamer-sections.txt:
11010 * gst/gstconfig.h.in:
11011 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11012 (_gst_info_printf_extension_ptr),
11013 (_gst_info_printf_extension_segment):
11014 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11015 register that lets us easily dump GstSegments into debug
11018 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11019 (info_segment_format_printf_extension), (gst_info_suite):
11020 Add simple unit test that logs a bunch of different segments (not
11021 valgrinded at the moment because of leaks in
11022 gst_debug_add_log_function).
11024 2006-08-09 Edward Hervey <edward@fluendo.com>
11026 * libs/gst/base/gstbasetransform.c:
11027 (gst_base_transform_buffer_alloc):
11028 Even if we can't figure out the proper format to request downstream,
11029 call buffer_alloc() downstream with the input parameters without setting
11030 the caps on the srcpad. This will force negotiation in the chain
11034 2006-08-08 Edward Hervey <edward@fluendo.com>
11036 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11037 Unlinking from a pad without a target is now a perfectly valid case
11038 which should NOT raise an assertion.
11039 This case would happen if a linked ghostpad its target set to NULL after
11040 it was previously linked.
11042 2006-08-08 Edward Hervey <edward@fluendo.com>
11044 * tests/check/libs/gdp.c:
11045 Also comment out the test (see below).
11047 2006-08-08 Edward Hervey <edward@fluendo.com>
11049 * tests/check/libs/gdp.c: (gst_dp_suite):
11050 Use the architecture information from config.h and not gcc macros
11051 in order to properly disable a test that fails on PPC64.
11053 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11055 * gst/gstelement.c: (gst_element_remove_pad):
11056 Don't crash printing the warning if the pad has no parent.
11058 2006-08-02 Wim Taymans <wim@fluendo.com>
11060 * libs/gst/dataprotocol/dataprotocol.c:
11061 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11062 (gst_dp_crc), (gst_dp_header_payload_length),
11063 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11064 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11065 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11066 (gst_dp_event_from_packet), (gst_dp_validate_header),
11067 (gst_dp_validate_payload):
11068 Make debug category static
11069 Constify the crc table.
11070 Do some more arg checking in public functions.
11071 Fix some docs and do some small cleanups.
11073 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11074 Add some more checks to see if GDP deals with bogus input.
11076 2006-07-31 Wim Taymans <wim@fluendo.com>
11078 * gst/gstvalue.c: (gst_value_compare_list):
11079 Fix GstValueList comparison code. Fixes #347293.
11081 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11082 Check to test GstValueList comparison.
11084 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11086 * gst/gstelementfactory.c: (gst_element_factory_create):
11087 Remove unnecessary ref/unref pair
11089 * gst/parse/grammar.y:
11090 Make sure to free the parse buffer on all code paths.
11091 Move a g_free up to the error handler where it's easier to see.
11093 * tests/check/gst/gstevent.c: (test_event):
11094 Extending timeout for downstream travelling events to 10 seconds to
11095 hopefully avoid intermittent failure on the buildbots.
11097 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11098 Don't manually set the state of the src element - it will happen as a
11099 natural consequence of the pipeline changing state, and that way it
11100 will do it in the right order too.
11102 2006-07-31 Wim Taymans <wim@fluendo.com>
11104 * libs/gst/base/gstbasetransform.c:
11105 (gst_base_transform_buffer_alloc):
11106 Use OBJECT_LOCK and refcounting to get the pad caps in the
11107 buffer_alloc function because the caps could change while we are
11108 busy with them. Fixes #349105
11110 2006-07-31 Wim Taymans <wim@fluendo.com>
11112 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11113 Protect _PAD_CAPS with OBJECT_LOCK.
11115 2006-07-31 Wim Taymans <wim@fluendo.com>
11117 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11118 (gst_pad_get_property), (gst_pad_activate_pull),
11119 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11120 (gst_pad_set_activate_function),
11121 (gst_pad_set_activatepull_function),
11122 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11123 (gst_pad_set_getrange_function),
11124 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11125 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11126 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11127 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11128 (gst_pad_set_acceptcaps_function),
11129 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11130 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11131 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11132 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11133 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11134 (gst_pad_configure_sink), (gst_pad_configure_src),
11135 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11136 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11137 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11138 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11139 (gst_pad_send_event):
11140 Use _DEBUG_OBJECT when it makes sense.
11141 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11142 Small cleanups and code reflows.
11143 Avoid caps refcounting in _accept_caps.
11144 Refactor alloc_buffer so that the code performed on the peer is in a
11145 separate function. Also if the pad does not implement a buffer alloc
11146 function, we should still check if the pad is flushing before falling
11147 back to the default allocator.
11149 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11151 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11152 Make all uses of identity and fakesink have silent=true to avoid
11153 serialising every passing data structure, which is breaking tests
11154 on FC4 for some unknown reason.
11156 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11158 * gst/parse/Makefile.am:
11159 * gst/parse/grammar.y:
11160 * gst/parse/parse.l:
11161 Reverted previous patch as it required to bump the flex dependency to
11162 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11164 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11166 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11168 * gst/parse/Makefile.am:
11169 * gst/parse/grammar.y:
11170 * gst/parse/parse.l:
11171 push & pop the state of the lexer for reentrant use case
11174 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11176 * libs/gst/base/gstbasesrc.h:
11177 Note in the docs that the ::newsegment vfunc is not actually used by
11180 2006-07-28 Wim Taymans <wim@fluendo.com>
11182 * libs/gst/base/gstcollectpads.c:
11183 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11184 (gst_collect_pads_clear), (gst_collect_pads_flush),
11185 (gst_collect_pads_event), (gst_collect_pads_chain):
11186 When flushing a pad, also clear the queued buffer so that we don't
11187 accidentally use it when we shouldn't.
11188 Fix leaks by inreffing incomming buffer.
11189 Flush out queued buffers in case of errors.
11192 2006-07-28 Wim Taymans <wim@fluendo.com>
11194 * docs/random/phonon-gst:
11195 Random notes about a Phonon backend.
11197 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11199 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11201 * tests/check/libs/gdp.c: (gst_dp_suite):
11202 Take a whack at fixing the ppc compile using a different define to
11203 disable the broken test.
11205 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11206 Remove excess g_print()
11208 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11210 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11211 Oops, meant to uncomment this line too to dampen the noise a bit.
11213 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11215 * gst/parse/grammar.y:
11216 * gst/parse/parse.l:
11217 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11218 (GST_START_TEST), (parse_suite):
11219 Fix some of the leaks exposed by extending the parse-launch testsuite,
11220 and move the 3 I can't figure out into a separate test that won't run
11221 the pipelines unless the appropriate line is uncommented.
11223 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11225 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11226 Requesting 0 bytes before the end of the file should result in
11227 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11230 2006-07-27 Wim Taymans <wim@fluendo.com>
11232 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11233 Fix useless assert, a uint is always positive.
11235 * gst/gststructure.c: (gst_structure_nth_field_name),
11236 (gst_structure_foreach), (gst_structure_map_in_place):
11237 Check input arguments for public functions to avoid obvious crashes.
11239 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11240 * plugins/elements/gstfakesink.h:
11241 Do less useless typechecking.
11243 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11245 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11246 Do not use mmap() by default since there are a number of error
11247 conditions that we would like to handle in a non-fatal way that
11248 will result in a SIGBUS if we use mmap(). Examples: external
11249 devices (USB harddrive, portable music player) being unplugged
11250 while in use; file on mounted CD/DVD that can't be read because
11251 the medium is partly damaged. Fixes #348455 and #348475.
11253 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11256 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11257 rates are a gdouble
11259 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11261 * gst/gstregistry.c:
11262 Move big documentation comment into class section header, so that it
11263 appears in the API docs.
11265 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11267 * docs/gst/gstreamer-sections.txt:
11268 Oops. Commit the docs additions too for new API.
11269 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11271 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11273 * gst/gststructure.c: (gst_structure_id_set),
11274 (gst_structure_id_set_valist):
11275 * gst/gststructure.h:
11276 Add API for setting values into structures without performing
11277 a quark lookup, if the appropriate quark is already known.
11279 API: gst_structure_id_set
11280 API: gst_structure_id_set_valist
11282 * gst/parse/grammar.y:
11283 * gst/parse/parse.l:
11284 Remove some dead code shown by the coverage information.
11285 Don't throw a critical g_warning when encountering a syntax error,
11286 just warn and let the normal error path handle it.
11288 * plugins/elements/gstelements.c:
11289 Bump the rank of filesink up to PRIMARY so that it is preferred over
11290 gnomevfssink for file:// sink uri's
11292 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11293 (GST_START_TEST), (run_delayed_test),
11294 (gst_parse_test_element_base_init),
11295 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11296 (gst_parse_test_element_change_state),
11297 (gst_register_parse_element), (parse_suite):
11298 Beef up the tests for parse syntax to check that more error cases
11299 fail as they are supposed to. Increases the test coverage a bit.
11301 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11303 * docs/manual/basics-elements.xml:
11304 Fix gst_element_link() example.
11307 Mention in API docs that one should usually gst_bin_add()
11308 elements to a bin or pipeline before doing the linking.
11310 2006-07-26 Wim Taymans <wim@fluendo.com>
11312 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11313 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11314 Avoid function call for known types by keeping the buffer and
11315 subbuffer GType global.
11317 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11318 Random silly optimisations in read() path.
11320 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11322 * tools/gst-launch.c: (main):
11323 If the top-level of the parse is a normal bin, it doesn't do the
11324 right logic to run as a top-level element, so place it inside a
11327 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11329 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11330 Remove superfluous g_object_notify() calls, GObject does
11331 that for us automatically.
11333 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11336 on Win32, use dllspec to export the debug category symbols
11338 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11340 * gst/gsttaglist.c: (_gst_tag_initialize):
11341 Allow more than one GST_TAG_IMAGE per taglist.
11343 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11345 * gst/gstminiobject.c:
11347 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11348 (gst_fd_src_create):
11349 log recurring events at LOG level
11350 add more debug for when the fd gets set
11352 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11354 * gst/gstparse.c: (gst_parse_launch):
11355 Also remove reentrance checks if flex is MT safe (#348179)
11356 Fix my empty ChangeLog entry below
11358 2006-07-21 Andy Wingo <wingo@pobox.com>
11360 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11362 * libs/gst/check/Makefile.am
11363 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11364 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11365 * libs/gst/check/gstbufferstraw.h:
11366 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11367 functions, thus proving I am still a GStreamer haxor. OK I wrote
11368 them a long time ago, but anyways.
11370 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11373 * gst/gstparse.c: (gst_parse_launch):
11374 Check for flex version and omit mutex if we have a MT save flex
11377 2006-07-21 Wim Taymans <wim@fluendo.com>
11379 * gst/gstparse.c: (gst_parse_launch):
11380 Protect recursive calls to _parse with a recursive mutex
11383 2006-07-21 Wim Taymans <wim@fluendo.com>
11385 * tests/check/gst/gstpad.c: (GST_START_TEST):
11388 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11390 * gst/gstparse.c: (gst_parse_launch):
11391 Do not hang on recursive usage of gst_parse_launch()
11393 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11395 * gst/gsttaglist.c:
11396 Add some more docs, comments and FIXME 0.11s here and there
11397 and also fix some typos.
11399 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11401 * gst/gstsegment.h:
11402 Convert tabs to spaces for better readability.
11404 2006-07-20 Edward Hervey <edward@fluendo.com>
11406 * tests/check/libs/gdp.c: (gst_dp_suite):
11407 the test_buffer test fails at line 140 on ppc64 at the following
11409 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11410 GST_BUFFER_FLAG_IN_CAPS),
11411 "GST_BUFFER_IN_CAPS flag should have been copied !");
11412 See bug #348114 for more details.
11414 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11416 * docs/pwg/advanced-scheduling.xml:
11418 Fix typos (#348000).
11420 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11422 * docs/pwg/intro-basics.xml:
11423 Fix wrong links (#347927).
11425 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11427 * gst/gstregistry.h:
11428 * gst/gstregistryxml.c: (load_feature),
11429 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11430 * win32/common/config.h:
11431 make --disable-index work (#342564)
11433 2006-07-18 Wim Taymans <wim@fluendo.com>
11435 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11439 The attached patch adds two missing defines to gsttrace.h when tracing
11440 is disabled. It also corrects one existing define.
11443 2006-07-17 Wim Taymans <wim@fluendo.com>
11445 * docs/gst/gstreamer-sections.txt:
11446 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11448 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11449 Add two functions to check and change the SIGSEGV behaviour
11450 when loading plugins.
11451 Don't mess with the SIGSEGV handler when we were told not to.
11453 API: gst_segtrap_is_enabled
11454 API: gst_segtrap_set_enabled
11456 2006-07-14 Wim Taymans <wim@fluendo.com>
11458 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11459 * tests/check/elements/filesrc.c: (GST_START_TEST):
11460 Revert fix for regression in #347408 after release.
11462 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11464 Patch by: Antoine Tremblay <hexa00 at gmail com>
11466 * gst/gstutils.c: (gst_element_unlink):
11467 Free iterator when done (#347311).
11469 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11470 And add a test case for this.
11472 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11475 Bump nano back to CVS
11477 === release 0.10.9 ===
11479 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11482 releasing 0.10.9, "On the road again"
11484 2006-07-13 Wim Taymans <wim@fluendo.com>
11486 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11487 * tests/check/elements/filesrc.c: (GST_START_TEST):
11488 Revert pull-0 fix for release. Disable check. Fixes #347408.
11490 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11492 * libs/gst/dataprotocol/dataprotocol.c:
11493 (gst_dp_event_from_packet_1_0):
11494 Fixes #347337: failure to deserialize event packets with
11495 empty payload (only event type)
11497 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11500 do not install a .c file in the header directory
11502 2006-07-13 Edward Hervey <edward@fluendo.com>
11504 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11505 GhostPad no longer implicitely use the padtemplates of the targets.
11508 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11510 * gst/gstvalue.c: (gst_value_compare_list),
11511 (gst_value_compare_array), (_gst_value_initialize):
11512 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11513 Make GstValueArray comparison be order dependent as designed.
11514 Add checks for value lists and value array comparisons.
11517 2006-07-11 Edward Hervey <edward@fluendo.com>
11519 * gst/gstbin.c: (activate_pads),
11520 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11521 (gst_bin_change_state_func):
11522 (de)activate src pads before calling state_change on the childs.
11523 This is to avoid the case where a src ghostpad is blocked (holding the
11524 stream lock), which would block the deactivation of the ghostpad's
11526 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11527 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11528 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11529 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11530 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11531 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11532 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11533 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11534 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11535 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11536 (gst_ghost_pad_class_init),
11537 (gst_ghost_pad_internal_do_activate_push),
11538 (gst_ghost_pad_internal_do_activate_pull),
11539 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11540 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11541 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11542 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11543 GhostPads now create their internal GstProxyPad at creation (and not
11544 when they're linked, as it was being done previously).
11545 The internal and target pads are linked straight away.
11546 The data will also travel through the other pad in order to make
11547 pad blocking and probes non-hackish (the probe/block now really happens
11548 on the GhostPad and not on the target).
11549 * gst/gstpad.c: (gst_pad_set_blocked_async),
11550 (gst_pad_link_prepare), (gst_pad_push_event):
11551 Remove previous ghostpad cruft.
11552 * gst/gstutils.c: (gst_pad_add_data_probe),
11553 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11554 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11555 (gst_pad_remove_buffer_probe):
11556 Remove previous ghost pad cruft.
11557 Added more detailed debug statements.
11558 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11559 Fix the testsuite for refcounting changes.
11560 The comments about who has references were correct, but the refcount
11561 being checked wasn't the same (!?!).
11565 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11567 * docs/gst/gstreamer-sections.txt:
11568 * gst/gstconfig.h.in:
11569 More docs for configuration options, add docs to gtk-doc.
11571 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11574 * gst/gstconfig.h.in:
11575 * win32/common/config.h:
11576 Fix build when disabling tracing (fixes #344016). Also start to document
11577 the defines that disable the sub-systems.
11579 2006-07-10 Edward Hervey <edward@fluendo.com>
11581 * gst/gst.c: (ensure_current_registry_forking):
11582 let's make valgrind happy...
11584 2006-07-09 Wim Taymans <wim@fluendo.com>
11586 * gst/gstelement.c: (activate_pads),
11587 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11588 Better pad activation code: Reset the collect value too on resync.
11591 2006-07-09 Wim Taymans <wim@fluendo.com>
11593 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11594 (gst_pad_activate_push):
11595 Use some more macros where it makes sense.
11596 Allow pad mode switching instead of asserting. When a pad
11597 is activated in one mode and we activate it in another,
11598 deactivate it first before activating it in a different mode.
11601 2006-07-08 Andy Wingo <wingo@pobox.com>
11603 * tools/gst-launch.c (main): Handle err == NULL.
11605 * gst/gst.c (init_post, ensure_current_registry)
11606 (ensure_current_registry_forking)
11607 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11608 factoring out the registry scanning into separate functions. Don't
11609 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11610 Better environment var name/interface suggestions accepted.
11612 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11614 * gst/gstobject.c: (gst_object_set_name_default),
11615 (gst_object_set_name):
11616 Random micro-optimisation: don't use a hash table
11617 with strings as keys and the usual strdup/strcmp
11618 involved, but rather just use the GQuark of the
11619 type name as key, since it needs to be looked up
11620 anyway to get the type name string.
11622 * tests/check/gst/gstobject.c: (GST_START_TEST):
11625 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11627 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11628 (gst_bin_iterate_all_by_interface):
11629 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11630 GTypes are gulongs and thus the top 4 bytes might be cut
11631 off on some platforms when doing GPOINTER_TO_INT, leading
11632 to invalid GTypes and bad things happening (see RH bug #179654).
11633 Also add a check to make sure the type passed in is really
11636 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11641 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11645 * gst-element-check.m4:
11646 * gst-element-check.m4.in:
11647 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11648 instead of the unversioned gst-inspect (#324176, #168659).
11650 2006-07-06 Wim Taymans <wim@fluendo.com>
11652 * gst/gstmessage.h:
11653 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11656 2006-07-06 Wim Taymans <wim@fluendo.com>
11658 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11659 (gst_base_src_wait), (gst_base_src_update_length),
11660 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11661 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11662 (gst_base_src_loop), (gst_base_src_start),
11663 (gst_base_src_activate_pull):
11665 blocksize == 0 now means the default blocksize when working in push
11667 Remove some pointless asserts in _wait function.
11668 Fix offset/length calculations and EOS handling. We can now pull 0
11669 bytes as well, which is allowed.
11670 use _check_get_range() to decide if we can operate in _pull based
11672 Fix refcounting leak when check_get_range function was not
11674 API GstBaseSrc::blocksize range can be 0 too now (default)
11676 * tests/check/elements/filesrc.c: (GST_START_TEST),
11678 Added check to test _get_range() behaviour.
11680 2006-07-06 Wim Taymans <wim@fluendo.com>
11682 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11683 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11684 (gst_pad_pull_range):
11686 Lots of comments and docs added to the pad functions.
11687 Flesh out the expected behaviour of the get_range() functions.
11689 2006-07-06 Wim Taymans <wim@fluendo.com>
11694 * gst/gstiterator.h:
11698 Remove comma at end of enumerator list.
11700 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11702 * win32/common/libgstbase.def:
11703 * win32/common/libgstdataprotocol.def:
11704 * win32/common/libsgtreamer.def:
11705 Add new exported functions.
11707 2006-07-05 Wim Taymans <wim@fluendo.com>
11709 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11710 Add some more docs here and there.
11712 2006-07-05 Wim Taymans <wim@fluendo.com>
11714 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11715 (gst_base_sink_loop), (gst_base_sink_get_position):
11716 When operating in pull mode update the offset so that we
11719 2006-07-05 Wim Taymans <wim@fluendo.com>
11721 * gst/gstregistryxml.c: (read_string):
11722 Avoid strdup. (will happen in libxml, but hey!)
11725 Add some more docs.
11727 2006-07-05 Wim Taymans <wim@fluendo.com>
11729 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11730 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11731 (gst_buffer_suite):
11732 No point in checking if the size of the subbuffer > 0, the
11733 code handles it correclty as demonstrated by unit test.
11734 Also add a unit test for the zero sized _new_and_alloc and
11735 _copy. Fixes #346663.
11737 2006-07-05 Wim Taymans <wim@fluendo.com>
11739 * libs/gst/base/gstbasetransform.c:
11740 (gst_base_transform_prepare_output_buffer),
11741 (gst_base_transform_buffer_alloc),
11742 (gst_base_transform_handle_buffer):
11743 Make sure the buffer we pass to transform_ip has a refcount of
11744 1 and thus is writable. Fixes #343196
11746 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11748 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11749 (gst_file_src_init), (gst_file_src_set_property),
11750 (gst_file_src_get_property), (gst_file_src_map_region):
11751 * plugins/elements/gstfilesrc.h:
11752 Add "sequential" property, off by default, to use madvise and hint
11753 to the kernel that sequential access is desired.
11754 Touch all retrieved pages by default to ensure they are pulled
11755 into memory. (Closes #345720)
11757 2006-07-03 Wim Taymans <wim@fluendo.com>
11759 * docs/design/part-block.txt:
11760 * docs/design/part-dynamic.txt:
11761 Small docs updates.
11763 2006-07-03 Wim Taymans <wim@fluendo.com>
11765 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11766 (gst_caps_unref), (gst_static_caps_get),
11767 (gst_caps_append_structure):
11768 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11769 Use GSlice when the glib we build against is >= 2.10
11771 2006-07-03 Wim Taymans <wim@fluendo.com>
11773 * gst/gstelement.c: (gst_element_pads_activate):
11774 Small cleanup in pad activation code.
11776 2006-07-03 Wim Taymans <wim@fluendo.com>
11778 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11780 * gst/gst-i18n-app.h:
11781 * gst/gst-i18n-lib.h:
11782 * tools/gst-inspect.c: (print_signal_info):
11783 The attached patch will make the inclusion of gettext.h unconditional in
11784 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11785 libintl.h in tools/gst-inspect.c.
11786 This allows use of --disable-nls again and fixes #344642.
11788 2006-07-03 Edward Hervey <edward@fluendo.com>
11790 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11791 Implement pad blocking on events according to part-block.txt.
11792 More comments on behaviour.
11793 * tests/check/gst/gstevent.c: (test_event):
11794 Send event to peer pad of blocked pad (else it will block).
11796 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11798 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11799 (gst_check_run_suite):
11800 if we get the wrong message, give us the types as string
11801 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11803 * tests/check/elements/filesrc.c: (GST_START_TEST):
11804 add a test for trying to open a non-existing file
11806 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11808 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11809 add a test for adding self
11811 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11813 * libs/gst/check/gstcheck.h:
11814 add some assert_ as alias for fail_unless_*
11815 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11816 increase test coverage
11818 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11821 include lcov.mak for lcov coverage generation
11822 * tools/Makefile.am:
11825 2006-07-02 Edward Hervey <edward@fluendo.com>
11827 * tests/check/elements/.cvsignore:
11830 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11833 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11834 * tests/check/Makefile.am:
11835 clean up gcov files
11837 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11839 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11840 remove gst_caps_simplify; it was not declared and not used
11841 and deprecated in 0.8
11843 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11845 * docs/faq/gst-uninstalled:
11846 don't put empty paths on PYTHONPATH
11847 * docs/gst/gstreamer-sections.txt:
11848 remove some symbols that are not there
11850 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11852 * gst/gstcaps.c: (gst_caps_compare_structures):
11854 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11855 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11858 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11860 * libs/gst/dataprotocol/Makefile.am:
11861 build dataprotocol test by linking to the lib, instead of
11862 compiling the source, so we get coverage
11863 * tests/check/Makefile.am:
11864 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11865 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11866 add a test for filesrc
11868 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11870 * tests/check/gst/gststructure.c: (GST_START_TEST),
11871 (gst_structure_suite):
11872 Push coverage from 59.04% to 70.00%
11874 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11876 * tests/check/Makefile.am:
11877 gst-inspect every element; this makes sure that we also get
11878 coverage on element's get/set functions
11880 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11883 set CFLAGS and friends to -O0 if gcov is being used
11886 * libs/gst/base/Makefile.am:
11887 * libs/gst/check/Makefile.am:
11888 * libs/gst/controller/Makefile.am:
11889 * libs/gst/dataprotocol/Makefile.am:
11890 * libs/gst/net/Makefile.am:
11891 * plugins/elements/Makefile.am:
11892 * plugins/indexers/Makefile.am:
11893 add makefile rules to generate gcov data and clean up
11894 * tests/check/Makefile.am:
11895 add a coverage target that generates an html overview
11898 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11900 * tests/check/elements/fakesink.c:
11901 * tests/check/elements/fakesrc.c:
11902 * tests/check/elements/fdsrc.c:
11903 * tests/check/elements/identity.c:
11904 * tests/check/generic/sinks.c: (gst_sinks_suite):
11905 * tests/check/generic/states.c:
11906 * tests/check/gst/gst.c:
11907 * tests/check/gst/gstabi.c:
11908 * tests/check/gst/gstbin.c:
11909 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11910 * tests/check/gst/gstbus.c: (gst_bus_suite):
11911 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11912 * tests/check/gst/gstelement.c:
11913 * tests/check/gst/gstevent.c: (gst_event_suite):
11914 * tests/check/gst/gstghostpad.c:
11915 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11916 * tests/check/gst/gstmessage.c: (gst_message_suite):
11917 * tests/check/gst/gstminiobject.c:
11918 * tests/check/gst/gstobject.c:
11919 * tests/check/gst/gstpad.c:
11920 * tests/check/gst/gstpipeline.c:
11921 * tests/check/gst/gstplugin.c:
11922 * tests/check/gst/gstquery.c: (gst_query_suite):
11923 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11924 * tests/check/gst/gststructure.c:
11925 * tests/check/gst/gstsystemclock.c:
11926 * tests/check/gst/gsttag.c:
11927 * tests/check/gst/gsttask.c: (gst_task_suite):
11928 * tests/check/gst/gstutils.c:
11929 * tests/check/gst/gstvalue.c:
11930 * tests/check/libs/adapter.c:
11931 * tests/check/libs/basesrc.c:
11932 * tests/check/libs/collectpads.c:
11933 * tests/check/libs/controller.c:
11934 * tests/check/libs/gdp.c: (gst_dp_suite):
11935 * tests/check/libs/gstnetclientclock.c:
11936 * tests/check/libs/gstnettimeprovider.c:
11937 * tests/check/libs/libsabi.c: (libsabi_suite):
11938 * tests/check/libs/typefindhelper.c:
11939 * tests/check/pipelines/cleanup.c:
11940 * tests/check/pipelines/parse-launch.c:
11941 * tests/check/pipelines/simple-launch-lines.c:
11942 * tests/check/pipelines/stress.c: (stress_suite):
11945 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11947 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11948 * libs/gst/check/gstcheck.h:
11949 create a macro and function so that the simple unit test
11950 case can be just one macro to create main()
11952 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11954 * gst/gstbin.c: (gst_bin_restore_thyself):
11955 * gst/gstxml.c: (gst_xml_make_element):
11956 Fix deserialisation from XML. Set parent manually
11957 instead of using gst_bin_add(), since gst_bin_add()
11958 will unlink all pads of the element being added.
11961 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11963 Patch by: Peter Kjellerstedt <pkj at axis com>
11965 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11966 Fix missing g_strdup() and double free when using the
11967 --gst-plugin-load command line option (#346097).
11969 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11972 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11974 * libs/gst/net/gstnetclientclock.c:
11975 * libs/gst/net/gstnettimeprovider.c:
11976 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11978 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11980 * docs/manual/advanced-dataaccess.xml:
11981 Fix buffer probe example compilation in
11984 2006-06-22 Edward Hervey <edward@fluendo.com>
11986 * gst/gstelement.c: (gst_element_pads_activate):
11987 We need to deactivate src pads first and then sink pads.
11988 The reason is the src pads might be blocking while holding the streaming
11989 lock, so we need to deactivate them first so that deactivating the sink
11990 pads doesn't block (since it will require the streaming lock).
11992 2006-06-22 Wim Taymans <wim@fluendo.com>
11994 * libs/gst/base/gstbasetransform.c:
11995 (gst_base_transform_buffer_alloc):
11996 Forgot to remove two unneeded unrefs.
11997 Simplify a check _is_equal allready checks the obvious case.
11999 2006-06-22 Wim Taymans <wim@fluendo.com>
12001 * docs/design/part-block.txt:
12002 Some docs about what pad_block should do.
12004 2006-06-22 Wim Taymans <wim@fluendo.com>
12006 * gst/gstcaps.c: (gst_caps_replace):
12007 Fix crasher when passed NULL. Doc clarification.
12008 Optimize for the trivial case.
12010 * gst/gstpipeline.c: (gst_pipeline_change_state):
12013 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12014 Small documentation cleanup.
12016 * libs/gst/base/gstbasetransform.c:
12017 (gst_base_transform_buffer_alloc):
12018 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12019 is what we need and it avoids a whole lot of redundant
12020 refcount operations.
12022 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12024 Patch by: Philip Jägenstedt <philip at lysator liu se>
12026 * docs/manual/advanced-dataaccess.xml:
12027 Fix 'Embedding static elements' section to use
12028 GST_PLUGIN_DEFINE_STATIC (#345607).
12030 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12032 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12033 Attempt to 'fix' spuriously failing test case: it seems like the
12034 timeout of half a second is simply too small when the system is under
12035 load otherwise, and the timeout doesn't really seem to serve any
12036 particular purpose here. Give the pipeline a few seconds to preroll
12037 first, and then give it another half a second to go from PAUSED to
12038 PLAYING and marshal the message into the main thread.
12040 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12042 * tools/gst-feedback-m.m:
12043 Don't only use unversioned tools, try versioned tools as well
12046 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12048 * gst/gstbus.c: (gst_bus_class_init):
12049 Fix some typos, make docs more explicit.
12051 2006-06-20 Wim Taymans <wim@fluendo.com>
12053 * tests/check/gst/gstghostpad.c: (block_callback),
12054 (GST_START_TEST), (gst_ghost_pad_suite):
12055 Added some more ghostpad tests, mainly blocking
12058 2006-06-16 Wim Taymans <wim@fluendo.com>
12060 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12061 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12062 (gst_file_sink_event), (gst_file_sink_render):
12063 * plugins/elements/gstfilesink.h:
12064 Check if we can seek in the file instead of assuming
12065 we always can. Post an error when we are asked to seek in a
12066 non-seekable file (like a fifo). Fixes #343312.
12069 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12071 * tools/gst-launch.1.in:
12072 Un-garble (fourcc) bit in filtered caps section.
12074 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12076 * docs/manual/advanced-autoplugging.xml:
12077 * docs/manual/basics-helloworld.xml:
12078 * docs/manual/highlevel-components.xml:
12079 Don't leak bus reference in sample code.
12081 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12084 Add default for new --enable-plugin-docs switch.
12087 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12090 * docs/Makefile.am:
12091 Use new ENABLE_PLUGIN_DOCS conditional.
12093 2006-06-14 Wim Taymans <wim@fluendo.com>
12095 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12096 Make it clear with a FIXME and a real define what the #if 0
12097 previously disabled.
12099 2006-06-14 Wim Taymans <wim@fluendo.com>
12101 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12102 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12103 * libs/gst/base/gstbasetransform.c:
12104 (gst_base_transform_sink_eventfunc):
12105 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12106 Don't randomly and silently reset a segment when the format
12107 changes as this is a bug somewhere upstream. Fixes #330379.
12109 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12111 Patch by: Wouter Paesen <wouter at kangaroot net>
12113 * libs/gst/controller/gstcontroller.c:
12114 (gst_controlled_property_new):
12115 Fix controlling of float properties (#344849).
12117 * tests/check/libs/controller.c:
12118 (gst_test_mono_source_get_property),
12119 (gst_test_mono_source_set_property),
12120 (gst_test_mono_source_class_init), (GST_START_TEST):
12121 While we're at it, add some float stuff to unit test.
12123 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12126 * docs/images/gdp-header.svg:
12128 * docs/libs/Makefile.am:
12129 * docs/libs/gdp-header.png:
12130 * libs/gst/dataprotocol/dataprotocol.c:
12131 add it to the API docs
12132 * docs/manual/intro-motivation.xml:
12135 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12137 * gst/gst.c: (scan_and_update_registry), (init_post):
12138 If the fork()'ed child process can't write the updated registry cache
12139 file to disk for some reason, make it exit with a failure exit code,
12140 so that the parent can then re-scan the plugins itself and update the
12141 registry structures in memory and work with that (rather than failing
12142 when creating elements because seemingly no plugins are available).
12143 Refactor registry scanning code into separate function for this and
12144 also separate fork() and non-fork() code paths. Fixes #344748.
12146 2006-06-13 Wim Taymans <wim@fluendo.com>
12148 * docs/manual/advanced-dataaccess.xml:
12149 Fix wrong PluginDesc. Fixes #344755.
12151 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12153 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12154 Fix silly bug that prevented us from creating
12155 ~/.gstreamer-0.10 and writing the registry in one
12156 go (the first call to g_mkstemp() would overwrite the
12157 placeholder in the template string, so the second call
12158 to g_mkstemp() after creating the missing directory
12159 would then error out with 'invalid argument').
12161 2006-06-13 Edward Hervey <edward@fluendo.com>
12163 * gst/gst.c: (init_post):
12166 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12168 * gst/glib-compat-private.h:
12169 * gst/glib-compat.c:
12170 * gst/glib-compat.h:
12171 * gst/gstvalue.c: (gst_value_serialize_flags):
12172 remove GLib 2.6 compatibility code
12174 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12176 * gst/parse/Makefile.am:
12177 Fix build with 'make -j N' even more (#340016).
12179 2006-06-12 Wim Taymans <wim@fluendo.com>
12181 * docs/gst/gstreamer-sections.txt:
12184 2006-06-12 Wim Taymans <wim@fluendo.com>
12186 * gst/gstsegment.c: (gst_segment_set_duration),
12187 (gst_segment_set_last_stop), (gst_segment_set_seek),
12188 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12189 (gst_segment_to_running_time), (gst_segment_clip):
12190 Use G_UNLIKELY to help the compiler a bit.
12192 2006-06-12 Wim Taymans <wim@fluendo.com>
12194 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12196 * gst/gstevent.c: (gst_event_get_type):
12197 * gst/gstmessage.c:
12198 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12200 constify quark registration strings. Fixes #344115
12201 Avoid unneeded type checking is _pad_push() by internally
12202 calling gst_pad_chain_unchecked().
12204 2006-06-12 Wim Taymans <wim@fluendo.com>
12206 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12207 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12208 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12209 (gst_buffer_is_span_fast), (gst_buffer_span):
12210 Init _type for consistency.
12211 Use _FLAGS macro to avoid type check.
12212 Avoid unneeded type checks in subbufer code.
12214 2006-06-12 Wim Taymans <wim@fluendo.com>
12216 * gst/gst.c: (gst_debug_help):
12217 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12218 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12219 (gst_plugin_feature_list_free):
12220 * gst/gstregistry.c: (gst_registry_add_plugin),
12221 (gst_registry_add_feature), (gst_registry_plugin_filter),
12222 (gst_registry_feature_filter), (gst_registry_find_plugin),
12223 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12224 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12225 * gst/gstregistryxml.c: (load_feature),
12226 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12227 * gst/gstminiobject.c: (gst_mini_object_unref),
12228 (gst_mini_object_replace), (gst_value_mini_object_free),
12229 (gst_value_mini_object_copy):
12230 Use _CAST macros to avoid unneeded type checking.
12231 Added some more G_UNLIKELY.
12233 2006-06-12 Wim Taymans <wim@fluendo.com>
12236 Avoid unneeded type checking.
12237 API: GST_BUFFER_IS_DISCONT
12239 * gst/gstminiobject.h:
12240 Avoid type check in flag accessor.
12242 * gst/gstelementfactory.h:
12244 * gst/gstpluginfeature.h:
12246 API: GST_ELEMENT_FACTORY_CAST
12247 API: GST_PLUGIN_CAST
12248 API: GST_PLUGIN_FEATURE_CAST
12250 2006-06-12 Wim Taymans <wim@fluendo.com>
12252 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12253 (gst_object_unref):
12254 Add G_UNLIKELY in type registration.
12255 Avoid type check in _ref/_unref since that is also
12258 2006-06-12 Wim Taymans <wim@fluendo.com>
12260 * gst/gsterror.c: (gst_g_error_get_type):
12261 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12262 (gst_static_pad_template_get_type):
12263 * gst/gsttaglist.c: (gst_tag_list_get_type):
12264 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12265 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12266 * gst/gsturi.c: (gst_uri_handler_get_type):
12267 * gst/gstvalue.c: (gst_date_get_type):
12268 * gst/gstxml.c: (gst_xml_get_type):
12269 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12270 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12271 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12272 Add G_UNLIKELY in type registration.
12274 2006-06-12 Wim Taymans <wim@fluendo.com>
12276 * tools/gst-inspect.c: (print_signal_info):
12277 Properly print enum values.
12279 2006-06-12 Wim Taymans <wim@fluendo.com>
12281 * gst/gstinfo.c: (gst_debug_set_active),
12282 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12284 Add some G_[UN]LIKELY.
12285 Maintain __gst_debug_min to avoid formatting the arguments of
12286 debug messages that will be dropped anyway to avoid a lot of
12287 overhead from the debugging system.
12289 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12292 * po/POTFILES.skip:
12293 add missing files containing translatable strings, tell intltool about
12296 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12298 * tests/check/libs/.cvsignore:
12299 add test-binary to ignore list
12301 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12303 * docs/libs/gstreamer-libs-docs.sgml:
12304 reorder (put dp into a chapter) and indent
12306 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12311 === release 0.10.8 ===
12313 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12316 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12318 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12320 * gst/gst.c: (init_post):
12321 move pid declaration to declaration block
12323 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12325 * gst/gst.c: (init_post):
12326 use _exit() instead of exit() in our forked child; this ensures
12327 that none of the registered exit handlers from whatever is using
12328 GStreamer get executed. This fixes gnome-mixer-applet failing
12329 to load, because ORBit would shut down.
12330 Spotted by: Edward Hervey <edward@fluendo.com>
12331 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12334 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12339 === release 0.10.7 ===
12341 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12344 releasing 0.10.7, "Soepeke, ik zie ou"
12346 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12369 * win32/common/config.h:
12370 0.10.6.2 prerelease
12372 2006-06-07 Wim Taymans <wim@fluendo.com>
12374 * gst/gstindex.c: (gst_index_gtype_resolver):
12375 * tools/gst-xmlinspect.c: (print_plugin_info):
12376 Fix leak spotted by coverity checker. Fixes #343827
12377 Fix another other leak found by paolo borelli.
12379 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12381 * libs/gst/dataprotocol/dataprotocol.c:
12382 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12383 (gst_dp_version_get_type), (gst_dp_init),
12384 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12385 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12386 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12387 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12388 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12389 (gst_dp_packetizer_free):
12390 * libs/gst/dataprotocol/dataprotocol.h:
12391 API: add a GstDPPacketizer object, and create/free functions
12392 API: add GstDPVersion enum
12393 Add 1.0 event function that uses the string serialization
12394 Serialize more useful buffer flags
12397 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12399 * tests/check/Makefile.am:
12400 * tests/check/gst/gstabi.c:
12401 * tests/check/gst/struct_ppc64.h:
12402 * tests/check/libs/libsabi.c:
12403 * tests/check/libs/struct_ppc64.h:
12404 add ppc64 structure sizes
12406 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12408 * tests/check/Makefile.am:
12409 * tests/check/gst/gstabi.c:
12410 * tests/check/gst/struct_x86_64.h:
12411 * tests/check/libs/libsabi.c:
12412 * tests/check/libs/struct_x86_64.h:
12413 generate and add structure size lists for x86_64
12415 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12417 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12418 * libs/gst/check/gstcheck.h:
12419 factor out the method from tests that checks size of structures,
12420 and add code to generate the header containing these sizes
12421 * tests/check/gst/gstabi.c: (GST_START_TEST):
12422 * tests/check/gst/struct_i386.h:
12423 * tests/check/libs/libsabi.c: (GST_START_TEST):
12424 * tests/check/libs/struct_i386.h:
12427 2006-06-06 Michael Smith <msmith@fluendo.com>
12429 * gst/gstsegment.h:
12430 Don't use c++-style comments, fixes #343929
12432 2006-06-05 Edward Hervey <edward@fluendo.com>
12435 plugin_paths is not used if we build without registry support.
12437 * gst/gstsegment.c: (gst_segment_copy):
12438 _copy() was always returning NULL...
12440 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12442 * libs/gst/dataprotocol/dataprotocol.c:
12443 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12444 (gst_dp_packet_from_event):
12445 factor out CRC code
12447 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12449 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12450 make sure we unset caps
12452 2006-06-02 Michael Smith <msmith@fluendo.com>
12454 * libs/gst/check/gstcheck.c: (gst_check_init),
12455 (gst_check_chain_func):
12456 * libs/gst/check/gstcheck.h:
12457 Add a cond/mutex to the check support lib, signal this whenever we
12458 add to the buffers list. This will allow tests to not busy-wait on
12461 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12463 * libs/gst/dataprotocol/dataprotocol.c:
12464 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12465 (gst_dp_packet_from_event):
12466 factor out some common header init code
12468 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12470 * docs/libs/gstreamer-libs-sections.txt:
12471 * docs/libs/tmpl/gstdataprotocol.sgml:
12472 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12473 * libs/gst/dataprotocol/dataprotocol.h:
12474 API: make gst_dp_crc() public
12476 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12478 * plugins/indexers/gstindexers.c: (plugin_init):
12479 conditionally register fileindexer (fixes #343598)
12481 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12483 * gst/gsttagsetter.h:
12484 Can't cast ifaces to a class
12486 * libs/gst/net/gstnetclientclock.h:
12487 * libs/gst/net/gstnettimeprovider.h:
12488 * plugins/elements/gstfakesink.h:
12489 * plugins/elements/gstfakesrc.h:
12490 * plugins/elements/gstfdsink.h:
12491 * plugins/elements/gstfdsrc.h:
12492 * plugins/elements/gstfilesink.h:
12493 * plugins/elements/gstfilesrc.h:
12494 * plugins/elements/gstidentity.h:
12495 * plugins/elements/gstqueue.h:
12496 * plugins/elements/gsttee.h:
12497 * plugins/indexers/gstfileindex.c:
12498 * plugins/indexers/gstmemindex.c:
12499 * tests/old/examples/plugins/example.h:
12500 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12502 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12504 * libs/gst/dataprotocol/dataprotocol.c:
12505 (gst_dp_header_from_buffer):
12506 make sure we zero the whole ABI-compatible area
12508 2006-06-01 Wim Taymans <wim@fluendo.com>
12510 Patch by: Alessandro Decina <alessandro at nnva dot org>
12512 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12513 Make sure the EOS flag is cleared from pads after a flush
12514 or stop. Fixes #343538.
12516 * tests/check/libs/collectpads.c: (GST_START_TEST),
12517 (gst_collect_pads_suite):
12518 Added test for collectpads reusage after EOS.
12520 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12523 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12524 * win32/common/libgstbase.def:
12525 export gst_collect_pads_set_flushing
12526 * win32/common/libgstreamer.def:
12527 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12528 gst_value_fraction_multiply
12529 * win32/vs6/gst_inspect.dsp:
12530 add a link to intl.lib
12532 2006-05-30 Wim Taymans <wim@fluendo.com>
12534 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12535 (gst_collect_pads_chain):
12536 Handle the case where a pad is removed from the collection
12537 that could cause the other pads to become collectable.
12539 2006-05-30 Wim Taymans <wim@fluendo.com>
12541 * gst/gstelement.c:
12542 Clarify the use of _release_request_pad() and
12543 _get_request_pad() a bit better.
12545 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12546 (gst_adapter_take_buffer):
12547 Fix some doc and comment typos.
12549 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12551 * docs/gst/gstreamer-sections.txt:
12552 * docs/libs/gstreamer-libs-sections.txt:
12553 add declared symbols
12555 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12557 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12558 Add debug that can be enabled using a #define at the top of the file,
12559 for dumping stats about how late/early we were when waking up from
12560 waiting on the clock.
12562 2006-05-30 Wim Taymans <wim@fluendo.com>
12564 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12565 When rebuilding the pad list, don't leak the previous list.
12567 2006-05-30 Wim Taymans <wim@fluendo.com>
12569 Patch by: Lutz Mueller <lutz at topfrose dot de>
12571 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12572 (gst_base_src_get_query_types), (gst_base_src_update_length):
12573 Publish supported query types.
12574 Update last_stop field in get_range mode so the position
12575 query works. Fixes #342321.
12577 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12579 * docs/gst/gstreamer-sections.txt:
12580 * gst/gsttaglist.c: (_gst_tag_initialize):
12581 * gst/gsttaglist.h:
12582 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12584 2006-05-30 Wim Taymans <wim@fluendo.com>
12586 Patch by: Alessandro Decina <alessandro at nnva dot org>
12588 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12589 Unlock mutex when removing an unknown pad.
12592 * tests/check/Makefile.am:
12593 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12594 (push_event), (setup), (teardown), (GST_START_TEST),
12595 (gst_collect_pads_suite), (main):
12596 Added collecpads check, disabled for now as check crashes for
12599 2006-05-29 Wim Taymans <wim@fluendo.com>
12601 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12602 Don't leak pads lists.
12604 2006-05-29 Wim Taymans <wim@fluendo.com>
12606 * docs/libs/gstreamer-libs-sections.txt:
12607 * libs/gst/base/gstcollectpads.c:
12608 (gst_collect_pads_set_flushing_unlocked),
12609 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12610 (gst_collect_pads_stop):
12611 * libs/gst/base/gstcollectpads.h:
12612 API: gst_collect_pads_set_flushing()
12613 Added api to set the pads to flushing, useful for seeking
12614 code in elements using collectpads.
12615 Clear segment when receiving a flush.
12617 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12619 * gst/gst.c: (add_path_func), (init_post):
12620 Don't scan registry paths passed via --gst-plugin-path immediately
12621 (will crash, because absolutely nothing is set up and no types are
12622 registered etc.); do this later in init_post(). Fixes #343057.
12624 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12626 * gst/gst.c: (init_post):
12627 if we have fork, fork while reading/rebuilding the registry
12628 so the parent doesn't take the hit of having all plugins loaded
12629 in memory. Fixes #342777.
12631 Check if we have fork()
12632 * win32/common/config.h.in:
12635 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12637 * plugins/elements/gstelements.c:
12638 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12639 (gst_file_src_init), (gst_file_src_set_property),
12640 (gst_file_src_get_property), (gst_file_src_start):
12641 * plugins/elements/gstfilesrc.h:
12642 API: GstFileSrc::use-mmap
12644 Add a use-mmap property to enable easier testing of all code paths.
12645 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12646 in the absence of gnomevfssrc. (Closes #340501)
12648 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12650 * tools/gst-inspect.c:
12651 Add missing include, removes warning of ngettext not being defined on
12654 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12656 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12657 Handle NULL input and output pointers silently as a failed conversion,
12658 rather than g_warnings.
12660 2006-05-25 Wim Taymans <wim@fluendo.com>
12662 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12663 Initialize variable before using. Fixes #342820.
12665 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12667 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12668 Fix off-by-one bug that would only allow peeks of N-1 bytes
12669 from the start even if the buffer to typefind on contains
12670 in fact N bytes of data (makes vorbis typefinding from a
12671 vorbis identification header buffer work).
12673 * tests/check/Makefile.am:
12674 * tests/check/libs/.cvsignore:
12675 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12676 (gst_typefindhelper_suite), (main), (foobar_typefind),
12678 Add very basic unit test for gst_type_find_helper_for_buffer()
12679 that checks for the problem fixed above.
12681 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12683 * tools/gst-inspect.c: (print_interfaces),
12684 (print_element_properties_info), (print_element_list), (main):
12685 add more translatable strings
12687 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12689 Patch by: Julien Moutte <julien at moutte net>
12691 * docs/gst/gstreamer-sections.txt:
12692 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12694 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12695 (gst_fake_sink_preroll):
12696 * plugins/elements/gstfakesink.h:
12697 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12699 2006-05-23 Wim Taymans <wim@fluendo.com>
12701 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12703 Added _CUSTOM error and success GstFlowReturn that can be
12704 used be elements internally.
12705 Added macro to check for SUCCESS flowreturns.
12706 API: GST_FLOW_CUSTOM_SUCCESS
12707 API: GST_FLOW_CUSTOM_ERROR
12708 API: GST_FLOW_IS_SUCCESS
12710 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12711 Added check for GstFlowReturn sanity.
12713 2006-05-23 Wim Taymans <wim@fluendo.com>
12715 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12717 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12718 (gst_collect_pads_event):
12719 clear/reset segment info in FLUSH_STOP.
12722 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12724 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12725 (gst_collect_pads_check_collected):
12726 Flush queued buffer on _stop(), fixes playing again (#342454)
12728 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12730 * tests/check/gst/gststructure.c: (GST_START_TEST),
12731 (gst_structure_suite):
12732 add a test for a complete structure
12734 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12736 * docs/faq/developing.xml:
12737 * docs/faq/faq.xml:
12738 * docs/faq/troubleshooting.xml:
12739 * docs/faq/using.xml:
12740 Some minor FAQ updates that won't change the fact that
12741 our FAQ is badly structured, full of information hardly
12742 anyone new to GStreamer needs to know and lacking lots
12743 of information people constantly ask for.
12745 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12747 * gst/gstpad.c: (gst_pad_set_caps):
12748 Short-circuit gst_pad_set_caps if setting the existing
12749 caps pointer again, and avoid printing debug and
12750 reffing/unreffing the caps.
12752 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12753 There's actually no need to set the caps before pushing -
12754 the acceptcaps method will handle it anyway.
12756 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12758 * docs/gst/gstreamer-sections.txt:
12759 * win32/common/libgstreamer.def:
12760 * gst/gstutils.c: (gst_element_seek_simple):
12762 API: add gst_element_seek_simple() (#342238).
12764 2006-05-18 Edward Hervey <edward@fluendo.com>
12766 * gst/gsttypefind.c: (gst_type_find_get_type):
12767 * gst/gsttypefind.h:
12768 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12769 registered for GstTypeFind pointers. This allows wrapping the structure
12770 in bindings (i.e. gst-python).
12772 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12774 * gst/gsttagsetter.c:
12775 Docs additions and fixes (see #339918).
12777 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12779 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12780 The caps intersection algorithm can produce multiple copies of the
12781 caps. Until that is fixed, we need to simplify the result to be
12782 sure whether the allowed caps are fixed or not.
12784 * plugins/elements/gstqueue.c: (gst_queue_init),
12785 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12786 (gst_queue_push_one):
12787 Proxied buffer alloc should not set the caps on the source pad.
12788 When pushing buffers, we always accept the caps change that triggers.
12789 This prevents negotiation errors caused by caps changing mid-stream
12790 and then being refused on our source pad (because upstream is now
12791 refusing those caps).
12793 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12795 * tests/examples/helloworld/helloworld.c: (main):
12796 Must plug audioconvert and audioresample between decoder
12799 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12801 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12802 (load_feature), (load_plugin):
12803 Allow empty strings for some of the plugin fields so we don't
12804 drop valid plugin entries that were written out correctly
12807 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12809 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12810 Use g_remove and g_rename instead of remove and rename that don't
12811 handle utf8 characters. rename was failing for users who had specific
12812 characters in their name then the registry was built at each
12814 * win32/vs6/gst_inspect.dsp:
12815 * win32/vs6/gst_launch.dsp:
12816 * win32/vs6/libgstbase.dsp:
12817 * win32/vs6/libgstcoreelements.dsp:
12818 * win32/vs6/libgstreamer.dsp:
12819 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12820 build of libgstreamer and clean unused libraries in projects link
12823 2006-05-17 Edward Hervey <edward@fluendo.com>
12825 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12826 The queue is not responsible for pushing an EOS when receiving a fatal
12827 flow error. It's up to the real element driving the pipeline to do that.
12829 2006-05-16 Edward Hervey <edward@fluendo.com>
12831 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12832 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12833 buffer returned a fatal error. It should just send an EOS and stop
12835 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12836 when pushing buffers on the queue and will be able to handle the event.
12838 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12840 * docs/manual/basics-bins.xml:
12841 * docs/manual/basics-init.xml:
12842 Fix typos and minor errors in sample code (#341856).
12844 2006-05-16 Wim Taymans <wim@fluendo.com>
12846 * docs/design/part-qos.txt:
12847 Fix indexes in formulas to make more sense.
12849 2006-05-15 Wim Taymans <wim@fluendo.com>
12851 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12852 Don't report POSITION based on clock time if sync is
12853 disabled in a sink.
12855 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12858 Add cast to make compiler happy - refcount variable was a gint
12859 in GstObject but is a guint in GObject and g_atomic_int_get()
12862 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12864 * gst/parse/Makefile.am:
12865 chain commands using &&, which also makes parallel make work
12867 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12869 * docs/gst/gstreamer-sections.txt:
12872 * gst/gstmessage.h:
12875 === release 0.10.6 ===
12877 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12880 releasing 0.10.6, "Take the cannoli"
12882 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12884 * tools/gst-launch.c: (print_tag):
12885 Fix use of uninitialized variable in the hypothetical
12886 case that some broken plugin creates a GST_TAG_IMAGE
12887 tag containing a NULL buffer (#341667).
12889 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12891 * tools/gst-launch.c: (print_tag):
12892 Print something more intelligible for image tags when
12893 using the -t switch (#341556).
12895 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12900 define GST_MAJORMINOR so we have it available in win32/common/config.h
12901 Possibly remove it from our Makefile.am files later
12902 * win32/common/config.h:
12903 * win32/common/config.h.in:
12904 added GST_MAJORMINOR
12905 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12906 * win32/common/gstversion.h:
12909 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12912 Update win32 files listing.
12913 * win32/common/gstversion.h:
12914 Add GST_MAJORMINOR definition.
12915 * win32/common/libgstreamer.def:
12916 Add new exported functions.
12918 2006-05-12 Michael Smith <msmith@fluendo.com>
12920 * gst/gstplugin.c: (gst_plugin_load_file):
12921 If an so file has no plugin entry point, unload the module.
12923 2006-05-11 Wim Taymans <wim@fluendo.com>
12925 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12926 (gst_queue_set_property):
12927 Don't forget to signal the _chain or _loop function
12928 when the queue size or thresholds change since that might
12929 cause them to make progres again.
12931 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12933 * gst/gstclock.c: (gst_clock_class_init):
12934 * gst/gstindex.c: (gst_index_class_init):
12935 * gst/gstobject.c: (gst_object_class_init):
12936 * gst/gstpad.c: (gst_pad_class_init):
12937 * gst/gstpipeline.c: (gst_pipeline_class_init):
12938 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12939 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12940 * libs/gst/base/gstbasetransform.c:
12941 (gst_base_transform_class_init):
12942 * libs/gst/net/gstnetclientclock.c:
12943 (gst_net_client_clock_class_init):
12944 * libs/gst/net/gstnettimeprovider.c:
12945 (gst_net_time_provider_class_init):
12946 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12947 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12948 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12949 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12950 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12951 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12952 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12953 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12954 * plugins/elements/gsttee.c: (gst_tee_class_init):
12955 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12956 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12957 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12959 2006-05-11 Wim Taymans <wim@fluendo.com>
12961 * gst/gstbuffer.c: (_gst_buffer_initialize):
12962 Register subbufer along with the buffer type so that
12963 it does not accidentally gets registered from N
12964 different streaming threads in a non threadsafe way.
12966 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12970 * gst/gstmessage.h:
12971 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12972 gst_event_ref() and gst_message_ref() functions again
12973 (ugly hack, please do fix if there's a better way besides
12974 overrides.txt, which doesn't seem to work).
12976 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12978 * libs/gst/check/gstcheck.h:
12979 add an assert for setting state to avoid lots of repetitive code
12982 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12984 * gst/gstvalue.c: (gst_value_serialize_flags):
12985 fix a leak if no flags are set
12986 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12989 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12991 * docs/manual/basics-pads.xml:
12992 Expand a bit on caps and filtered links and update
12993 examples that were still using the no longer existing
12994 gst_pad_link_filtered() (#338206).
12996 2006-05-10 Wim Taymans <wim@fluendo.com>
12998 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12999 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13000 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13001 (gst_collect_pads_stop):
13002 * libs/gst/base/gstcollectpads.h:
13003 No need to call _stop in _finalize.
13004 Iterate the main pad list in _finalize.
13005 Added some more debug.
13006 Free lists and data in the right order.
13007 Also free data whem doing _remove_pad when stopped for
13008 backward compatibility protect ::started with PAD_LOCK as
13011 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13013 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13014 (gst_structure_parse_value):
13016 rename a method so that it actually says what it does better
13018 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13020 * gst/gstevent.c: (_gst_event_initialize):
13021 * gst/gstformat.c: (_gst_format_initialize):
13022 make sure some essential types used by events are registered
13023 as part of gst_init()
13024 * gst/gstvalue.c: (gst_value_serialize_flags):
13025 if no flags are set, serialize them to a value that represents NONE
13026 so that deserializing them works
13027 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13028 add tests for serialization and deserialization of flags
13030 2006-05-10 Wim Taymans <wim@fluendo.com>
13032 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13033 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13034 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13035 (gst_collect_pads_event), (gst_collect_pads_chain):
13038 Catch and return errors from the collect function
13039 Refuse data on eos pads.
13041 2006-05-10 Edward Hervey <edward@fluendo.com>
13043 * gst/gstinterface.h:
13044 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13045 GInterface type checking.
13046 They were previously using non-defined macros.
13048 2006-05-09 Wim Taymans <wim@fluendo.com>
13050 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13051 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13052 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13053 (gst_collect_pads_start), (gst_collect_pads_stop),
13054 (gst_collect_pads_peek), (gst_collect_pads_pop),
13055 (gst_collect_pads_available), (gst_collect_pads_read),
13056 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13057 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13058 (gst_collect_pads_chain):
13059 * libs/gst/base/gstcollectpads.h:
13060 Clean up the mess that is collectpads, add comments and
13061 FIXMEs where needed.
13062 Maintain a separate pad list so we can add pads while
13063 collecting the other ones. For this we need a new separate
13065 Fix memory leak in finalize.
13066 Refactor some weird code to set/unset pad flushing flags, mark
13068 Don't crash in _available, _read, _flush when we're EOS.
13070 * tests/check/libs/.cvsignore:
13071 Ignore adapter check binary.
13073 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13075 * gst/gstindex.c: (gst_index_resolver_get_type):
13076 * plugins/elements/gstfakesink.c:
13077 (gst_fake_sink_state_error_get_type):
13078 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13079 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13080 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13081 Const-ify GEnumValue arrays.
13083 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13085 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13086 Add test case for flags + gst_buffer_make_metadata_writable().
13088 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13090 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13091 gst_buffer_make_metadata_writable() should maintain the
13092 buffer flags (those that make sense at least) (see #340859).
13094 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13096 * tools/gst-inspect.c:
13097 * tools/gst-launch.c:
13098 * tools/gst-typefind.c:
13099 * tools/gst-xmlinspect.c:
13101 Fix up includes: need to include stdlib.h in tools.h for exit().
13103 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13105 * gst/gsttaglist.c: (_gst_tag_initialize):
13106 * gst/gsttaglist.h:
13107 API: add GST_TAG_IMAGE tag (#340721).
13109 2006-05-08 Wim Taymans <wim@fluendo.com>
13112 Added some docs for the segment query.
13114 2006-05-08 Wim Taymans <wim@fluendo.com>
13116 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13117 (gst_base_src_loop), (gst_base_src_change_state):
13118 Always push non-flushing serialized events in the streaming
13121 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13123 * gst/gsterror.c: (_gst_stream_errors_init):
13124 Add a missing error string.
13126 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13128 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13129 Add applied_rate to the debug
13131 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13132 Copy applied_rate into the outgoing NEWSEGMENT event
13134 2006-05-08 Wim Taymans <wim@fluendo.com>
13136 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13138 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13139 (gst_base_sink_change_state):
13140 call ::unlock before taking the PREROLL_LOCK so we can safely
13141 handle elements that lock in ::render.
13144 2006-05-08 Edward Hervey <edward@fluendo.com>
13146 * autogen.sh: (CONFIGURE_DEF_OPT):
13147 Darwin's libtoolize is in fact called glibtoolize.
13148 Adding glibtoolize to the list of accepted names for libtoolize.
13150 2006-05-08 Wim Taymans <wim@fluendo.com>
13152 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13153 Unify error handling, don't post an error message
13154 when a push() returns EOS but perform our normal EOS
13155 handling code. Fixes #340772.
13157 2006-05-08 Wim Taymans <wim@fluendo.com>
13159 * docs/design/part-overview.txt:
13160 Make upsteam/downstream concepts more clear.
13161 Give an example of serialized/non-serialized events.
13163 * docs/design/part-events.txt:
13164 * docs/design/part-streams.txt:
13165 Mention applied_rate.
13167 * docs/design/part-trickmodes.txt:
13168 Mention applied rate, flesh out some more use cases.
13170 * gst/gstevent.c: (gst_event_new_new_segment),
13171 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13172 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13173 (gst_event_parse_tag), (gst_event_new_buffer_size),
13174 (gst_event_parse_buffer_size), (gst_event_new_qos),
13175 (gst_event_parse_qos), (gst_event_parse_seek),
13176 (gst_event_new_navigation):
13178 Add applied_rate field to NEWSEGMENT event.
13179 API: gst_event_new_new_segment_full()
13180 API: gst_event_parse_new_segment_full()
13182 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13183 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13184 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13185 * gst/gstsegment.h:
13186 Add applied_rate to GstSegment structure.
13187 Make calculation of stream_time and running_time more correct
13188 wrt rate/applied_rate.
13189 Add some more docs.
13190 API: GstSegment::applied_rate field
13191 API: gst_segment_set_newsegment_full();
13193 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13194 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13195 * libs/gst/base/gstbasetransform.c:
13196 (gst_base_transform_sink_eventfunc),
13197 (gst_base_transform_handle_buffer):
13198 Parse and use applied_rate in the GstSegment field.
13200 * tests/check/gst/gstevent.c: (GST_START_TEST):
13201 Add check for applied_rate field.
13203 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13204 (gstsegments_suite):
13205 Add more checks for various GstSegment operations.
13207 2006-05-08 Wim Taymans <wim@fluendo.com>
13209 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13210 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13211 (gst_base_sink_get_position), (gst_base_sink_change_state):
13212 Store the sync time of the buffer end position separatly in a
13213 new variable eos_rtime so we can properly sync the EOS event.
13215 Fix the docs for gst_base_sink_set_qos_enabled().
13216 Don't set segment start to invalid value when we receive a
13217 non TIME newsegment.
13218 get closer to handling position reporting for negative rates
13221 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13224 Docs about how to print caps for debug purposes.
13226 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13227 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13229 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13231 * gst/gstelement.c:
13232 use full enum names and preprend a '%' in docs strings to make recent
13233 gtk-doc turn that into a link
13235 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13237 * docs/manual/basics-bins.xml:
13238 * docs/manual/basics-bus.xml:
13239 * docs/manual/basics-pads.xml:
13240 Some typo fixes, some additions, some clarifications.
13242 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13244 * tools/gst-inspect.c: (main):
13245 * tools/gst-launch.c: (main):
13246 * tools/gst-run.c: (main):
13247 * tools/gst-typefind.c: (main):
13248 * tools/gst-xmlinspect.c: (main):
13249 Use the string passed to g_option_context_new() for
13250 what it's intended for - the program name is already
13253 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13255 * tools/Makefile.am:
13256 * tools/gst-inspect.c: (main):
13257 * tools/gst-launch.c: (main):
13258 * tools/gst-xmlinspect.c: (main):
13260 Add back --version command line option (#340460).
13262 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13263 Add --version option and use GOption for argument parsing; refactor a
13264 bit; accept directories as arguments and recurse into them; lastly,
13265 print a decent error message when things go wrong.
13267 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13269 * docs/manual/basics-bins.xml:
13270 Don't mention GstThread (#340611)
13271 * docs/manual/basics-elements.xml:
13272 Update link to GObject tutorial (#340607)
13274 2006-05-05 Wim Taymans <wim@fluendo.com>
13277 * gst/gstminiobject.c:
13278 Add note about refcounting and miniobject/buffer writeability
13279 to docs. Fixes #340604
13281 * gst/gstelementfactory.h:
13282 Added some explanation about @klass.
13284 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13286 * docs/manual/intro-motivation.xml:
13287 * docs/manual/manual.xml:
13288 Avoid CORBA & Bonobo references (#340598)
13290 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13292 * docs/manual/basics-bus.xml:
13293 * docs/manual/basics-pads.xml:
13294 Fix up some inaccuracies and omissions (#340609)
13296 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13298 * gst/gstghostpad.c:
13299 Small typo in docs (#340625)
13301 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13303 * gst/parse/Makefile.am:
13304 Make 'make -j' proof (see #340698).
13306 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13309 Require GLib-2.8 here as well.
13311 2006-05-05 Wim Taymans <wim@fluendo.com>
13313 * gst/glib-compat.c:
13314 * gst/gst.c: (init_pre):
13315 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13316 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13317 (gst_object_dispatch_properties_changed):
13319 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13320 * gst/gststructure.c: (gst_structure_set_valist):
13321 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13322 Remove pre glib2.8 compatibility, fixes #340508
13324 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13326 * gst/gsttaglist.h:
13327 Mention type of tags in doc blurbs.
13329 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13331 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13332 (gst_pad_configure_src), (gst_pad_push):
13333 Restore acceptcaps checking behaviour now that good plugins have
13336 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13338 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13345 * gst/gstmessage.c:
13349 * gst/parse/Makefile.am:
13350 * libs/gst/base/gstadapter.c:
13351 * libs/gst/base/gstbasesrc.c:
13352 * libs/gst/base/gstpushsrc.c:
13353 * libs/gst/base/gsttypefindhelper.c:
13354 * plugins/elements/gstfakesrc.c:
13355 * plugins/elements/gstidentity.c:
13356 Make sure gstprivate.h and/or config.h are
13357 always included first, otherwise some of our
13358 defines (like _FILE_OFFSET_BITS) might be
13359 redefined in the system headers. Fixes build
13360 on opensolaris (#340016).
13362 2006-05-04 Wim Taymans <wim@fluendo.com>
13364 * docs/libs/gstreamer-libs-sections.txt:
13365 API: addition: gst_adapter_take_buffer()
13367 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13368 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13369 (gst_adapter_available_fast):
13370 * libs/gst/base/gstadapter.h:
13371 Prepare for optimizing the hell out of this hugely inefficient
13373 Added gst_adapter_take_buffer() so we can at least start thinking
13374 about subbuffering and merging.
13375 Added some comments.
13377 * tests/check/Makefile.am:
13378 * tests/check/libs/adapter.c: (GST_START_TEST),
13379 (gst_adapter_suite), (main):
13380 Added GstAdapter check.
13382 2006-05-04 Wim Taymans <wim@fluendo.com>
13384 * docs/design/part-overview.txt:
13385 Fix some typos, add blurb about buffer flags.
13387 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13389 * docs/libs/gstreamer-libs-sections.txt:
13390 make sure GstBaseTransformClass shows up in the docs
13391 * libs/gst/base/gstbasetransform.c:
13392 * libs/gst/base/gstbasetransform.h:
13393 move docs so gtk-doc picks it up now
13395 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13397 * docs/libs/gstreamer-libs-sections.txt:
13398 add missing symbols to docs
13400 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13402 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13403 back out the newsegment handling change, see #340060 for ongoing
13406 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13408 * tools/gst-run.c: (get_candidates), (main):
13409 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13410 work); fix typo in error message. Fixes #340079.
13412 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13414 * common/Makefile.am:
13415 * docs/Makefile.am:
13416 * docs/faq/Makefile.am:
13417 * docs/gst/Makefile.am:
13418 * docs/libs/Makefile.am:
13419 * docs/manual/Makefile.am:
13420 * docs/plugins/Makefile.am:
13421 * docs/pwg/Makefile.am:
13422 * docs/slides/Makefile.am:
13424 * common/upload.mak:
13425 move upload.mak to common
13427 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13429 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13430 add more asserts on refcounts
13431 do more cleanup at end of tests
13432 fix test leaks showing in FC5
13434 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13436 * plugins/elements/gsttypefindelement.c:
13437 (gst_type_find_element_handle_event):
13438 reverted wrong change and reflowed code to avoid others falling into
13441 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13443 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13444 fix changelog entry about last collectpads change,
13445 add notes about proper fix
13447 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13450 * gst/gstregistry.c: (gst_registry_scan_path_level),
13451 (gst_registry_scan_path):
13452 * gst/gstregistry.h:
13453 only write out registry if it has changed, fixes #338339
13455 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13458 * gst/gstpipeline.c:
13459 * plugins/elements/gstcapsfilter.c:
13460 * plugins/elements/gstfakesink.c:
13461 * plugins/elements/gstfakesrc.c:
13462 * plugins/elements/gstfdsink.c:
13463 * plugins/elements/gstfdsrc.c:
13464 * plugins/elements/gstfilesink.c:
13465 * plugins/elements/gstfilesrc.c:
13466 * plugins/elements/gstidentity.c:
13467 * plugins/elements/gstqueue.c:
13468 * plugins/elements/gsttee.c:
13469 * plugins/elements/gsttypefindelement.c:
13470 (gst_type_find_element_handle_event):
13471 make GstElementDetails const
13473 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13475 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13476 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13477 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13478 more detailed debug and formatting cleanup,
13479 forward newsegments to src-pad (so that e.g. adder not eats them)
13481 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13483 * gst/gstutils.c: (gst_element_link_pads):
13484 cleanup double code
13486 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13488 * libs/gst/controller/gstcontroller.c:
13489 (gst_controller_sync_values):
13491 * tests/check/libs/controller.c: (GST_START_TEST),
13492 (gst_controller_suite):
13493 a new test for live value handling
13495 2006-04-28 Wim Taymans <wim@fluendo.com>
13497 * gst/gstutils.c: (push_and_ref):
13498 Added some more docs.
13499 Fix refcount issue whith gst_element_found_tags() helper
13500 function. Fixes #338335
13502 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13503 Added testsuite for gst_element_found_tags().
13505 2006-04-28 Michael Smith <msmith@fluendo.com>
13507 * gst/gstvalue.c: (gst_value_serialize_flags):
13508 Avoid NULL dereference when trying to serialize flags containing
13511 2006-04-28 Michael Smith <msmith@fluendo.com>
13513 * plugins/elements/gsttypefindelement.c:
13514 (gst_type_find_element_handle_event):
13515 If we get EOS before any data is accumulated, don't use
13516 uninitialised local variables.
13518 2006-04-28 Michael Smith <msmith@fluendo.com>
13520 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13521 (gst_dp_event_from_packet):
13522 Fixes in reading/writing events over GDP (not currently used?) -
13523 dereferencing NULL events for unknown/invalid event types, memory
13524 leak, and change g_warning to GST_WARNING.
13526 2006-04-28 Wim Taymans <wim@fluendo.com>
13528 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13529 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13530 (gst_base_sink_get_position), (gst_base_sink_change_state):
13531 When frame dropping is enabled, we should not ignore frames
13532 without a duration.
13533 Update some documentation.
13535 2006-04-28 Wim Taymans <wim@fluendo.com>
13537 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13538 (gst_base_src_send_event), (gst_base_src_change_state):
13539 Documentation updates.
13541 2006-04-28 Wim Taymans <wim@fluendo.com>
13543 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13544 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13545 handle EAGAIN, EINTR and short writes correctly. Also clean
13546 up some error cases, avoid a deadlock on bad file descriptors and
13547 use GST_DEBUG_OBJECT.
13550 2006-04-28 Wim Taymans <wim@fluendo.com>
13552 * gst/gstvalue.c: (gst_value_serialize_buffer),
13553 (gst_value_deserialize_buffer):
13554 Don't try to serialize a GValue with a NULL buffer.
13557 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13558 Added check for serialisation of NULL buffers.
13560 2006-04-28 Wim Taymans <wim@fluendo.com>
13562 * gst/gstminiobject.c: (gst_value_take_mini_object):
13563 Taking a NULL miniobject is valid, fix the case where
13564 we try to unref the NULL miniobject.
13566 2006-04-28 Wim Taymans <wim@fluendo.com>
13568 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13570 * gst/gstbin.c: (gst_bin_handle_message_func):
13572 Don't leak bin refcount when a state recalc is
13573 in progress and we delay another one #339808.
13575 2006-04-28 Wim Taymans <wim@fluendo.com>
13577 * docs/design/part-TODO.txt:
13578 Mention QoS as an ongoing work item.
13580 * docs/design/part-buffering.txt:
13581 New doc about buffering that needs to be fleshed out
13584 * docs/design/part-qos.txt:
13585 More QoS policy for decoders/demuxers/transforms
13587 * docs/design/part-trickmodes.txt:
13590 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13595 === release 0.10.5 ===
13597 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13600 releasing 0.10.5, "Fogo"
13602 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13604 patch by: Wim Taymans
13606 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13607 (gst_pad_configure_src), (gst_pad_push):
13608 * gst/gstpipeline.c: (gst_pipeline_init):
13609 Fix internal data flow errors. Fixes #338711.
13611 2006-04-12 Wim Taymans <wim@fluendo.com>
13613 * tests/check/gst/gstelement.c: (GST_START_TEST):
13614 Don't leak the factory.
13616 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13619 * win32/common/config.h:
13622 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13624 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13625 (gst_controller_unset_all):
13626 Free allocated GstTimedValues when freeing list nodes.
13627 Should fix leaks 'make check-valgrind' complains about.
13629 * win32/common/libgstcontroller.def:
13630 Add gst_controller_unset_all.
13632 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13634 * docs/libs/gstreamer-libs-sections.txt:
13635 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13636 (gst_controller_unset_all):
13637 * libs/gst/controller/gstcontroller.h:
13638 API: Added new method gst_controller_unset_all()
13639 fixed gst_controller_unset()
13640 * tests/check/libs/controller.c: (GST_START_TEST),
13641 (gst_controller_suite):
13642 Added two testcases for new and fixed method
13644 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13646 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13647 MSG_DONTWAIT is not defined on Cygwin, so work
13648 around that (fixes #317048).
13650 2006-04-11 Wim Taymans <wim@fluendo.com>
13652 * gst/gstelementfactory.c: (gst_element_register),
13653 (gst_element_factory_create), (gst_element_factory_make):
13656 Updated docs (Fixes #131079)
13658 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13661 * tests/check/gst/gstelement.c: (GST_START_TEST),
13662 (gst_element_suite):
13663 Added testcase for elementfactory class field.
13665 2006-04-10 Wim Taymans <wim@fluendo.com>
13667 * gst/gstsegment.c:
13668 Added some more docs.
13670 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13671 (gst_base_sink_reset_qos):
13672 Calculate more accurate rate values.
13674 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13676 * gst/gst_private.h:
13677 add a new #ifdef to use __declspec(dllimport) only for
13678 other modules and not for gstreamer core
13679 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13680 use gst_guint64_to_gdouble for conversion
13681 * win32/common/libgstreamer.def:
13682 add new exported functions
13683 * win32/vs6/gst_inspect.dsp:
13684 * win32/vs6/gst_launch.dsp:
13685 * win32/vs6/libgstbase.dsp:
13686 * win32/vs6/libgstcontroller.dsp:
13687 * win32/vs6/libgstcoreelements.dsp:
13688 * win32/vs6/libgstdataprotocol.dsp:
13689 * win32/vs6/libgstnet.dsp:
13690 update project files
13692 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13694 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13695 * gst/gstclock.c: (gst_clock_class_init):
13696 * gst/gstelement.c: (gst_element_class_init):
13697 * gst/gstindex.c: (gst_index_class_init):
13698 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13699 * gst/gstobject.c: (gst_object_class_init),
13700 (gst_signal_object_class_init):
13701 * gst/gstpad.c: (gst_pad_class_init):
13702 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13703 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13704 * gst/gstregistry.c: (gst_registry_class_init):
13705 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13706 * gst/gsttask.c: (gst_task_class_init):
13707 * gst/gstxml.c: (gst_xml_class_init):
13708 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13709 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13710 (gst_base_src_loop):
13711 * libs/gst/controller/gstcontroller.c:/
13712 (_gst_controller_class_init):
13713 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13714 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13715 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13716 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13717 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13718 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13720 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13722 * gst/gstpad.c: (gst_pad_link):
13723 Must set peer pads before calling the link function, otherwise
13724 a task started from a link function might get a flow-not-linked
13725 result when trying to push because the other thread where the
13726 linking happens hasn't had a chance to set the peers yet. This
13727 might happen for example when a queue gets linked to a downstream
13728 element, as queue starts a streaming task when its source pad
13729 gets linked. Happens in real life when playing back flac/musepack
13730 files in playbin (#332390).
13732 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13736 * libs/gst/base/gstadapter.h:
13737 * libs/gst/base/gstbasesink.h:
13738 * libs/gst/base/gstbasesrc.h:
13739 * libs/gst/base/gstbasetransform.h:
13740 * libs/gst/base/gstcollectpads.h:
13741 * libs/gst/base/gstpushsrc.h:
13742 Fix broken GObject macros
13744 2006-04-07 Wim Taymans <wim@fluendo.com>
13746 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13747 Initialize start and stop times, thanks valgrind.
13749 2006-04-07 Wim Taymans <wim@fluendo.com>
13751 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13752 Be a bit nicer to badly behaving upstream elements that expect
13753 us to deal with non TIME segments and timestamps (such as fakesrc
13756 2006-04-07 Wim Taymans <wim@fluendo.com>
13759 Small documentation clarification about the signal watch.
13761 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13762 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13763 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13764 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13765 (gst_base_sink_get_position_last),
13766 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13767 Convert and store timestamps in stream time and running time, the
13768 raw timestamps are not useful, also document this better.
13769 Use different window sizes for good and bad QoS observations so
13770 we react to badness a little quicker.
13771 Keep track of the amount of rendered and dropped buffers.
13772 Send QoS timestamps in running time.
13774 * libs/gst/base/gstbasetransform.c:
13775 (gst_base_transform_sink_eventfunc),
13776 (gst_base_transform_handle_buffer):
13777 Compare QoS timestamps against running time.
13779 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13782 Typo fixes in docs.
13784 2006-04-06 Michael Smith <msmith@fluendo.com>
13786 * gst/gstpad.c: (gst_pad_set_property):
13787 Use g_value_get_object() instead of g_value_dup_gst_object(),
13788 to avoid double-reffing the pad template (which we then sink,
13789 so this worked previously if (and only if) the pad template
13792 * gst/gstpadtemplate.c: (gst_pad_template_init),
13793 (gst_pad_template_pad_created):
13794 Never return floating references to pad templates, create
13795 them as initially-sunken.
13797 Document an extra function (and make this stop sinking our
13798 pad template, since that is now guaranteed to do nothing,
13799 since we created it sunken).
13801 * gst/gstghostpad.c:
13804 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13806 * gst/gstinfo.c: (__gst_in_valgrind):
13809 * plugins/elements/gsttypefindelement.c:
13810 (gst_type_find_element_chain):
13811 Don't leak buffer caps.
13813 2006-04-06 Michael Smith <msmith@fluendo.com>
13815 * gst/parse/grammar.y:
13816 Fix a leak in parse-launch for any source-or-sink named element
13819 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13820 Unref the pipeline if it exists after we've failed parsing.
13822 2006-04-05 Michael Smith <msmith@fluendo.com>
13824 * gst/gstpipeline.c: (gst_pipeline_init):
13825 When we create a pipeline bus, initially create it in flushing mode.
13826 Fixes leaks in at least one test, and makes a new pipeline work the
13827 same as one that has gone to READY and then back to NULL.
13829 * gst/gstelement.c:
13832 2006-04-05 Michael Smith <msmith@fluendo.com>
13834 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13835 Unref a pad we reffed.
13836 * tests/check/gst/gstutils.c: (GST_START_TEST):
13839 2006-04-05 Michael Smith <msmith@fluendo.com>
13841 * gst/gstquery.c: (gst_query_set_formats),
13842 (gst_query_set_formatsv):
13843 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13845 2006-04-05 Michael Smith <msmith@fluendo.com>
13847 * tests/check/generic/sinks.c: (GST_START_TEST):
13848 Fix a variety of memleaks in sinks check, which are only sometimes
13849 shown by running the tests under valgrind (weird?).
13851 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13853 * docs/version.entities.in:
13854 Fix the substituted entity name after thomas' changes on the
13857 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13859 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13862 2006-04-05 Andy Wingo <wingo@pobox.com>
13864 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13866 * libs/gst/base/gstbasetransform.c
13867 (gst_base_transform_sink_eventfunc): When resetting our segment on
13868 FLUSH_STOP, also update the flag saying we haven't seen a
13871 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13873 Patch by: Paolo Borelli <pborelli at katamail dot com>
13875 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13876 (gst_plugin_check_license):
13877 minor clean-ups: G_DEFINE_TYPE already takes care of the
13878 parent_class stuff, no need to do it twice. Mark array of
13879 license strings as constant. (#337103)
13881 2006-04-04 Michael Smith <msmith@fluendo.com>
13883 * tools/gst-inspect.c: (print_element_list):
13884 Free the right plugin list; fixes a memory leak.
13886 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13888 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13890 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13891 Don't error out on empty buffers (#336945).
13893 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13895 * docs/libs/gstreamer-libs-sections.txt:
13896 * gst/gsttaglist.c:
13897 * libs/gst/base/gstbasesink.c:
13898 * libs/gst/base/gstbasesink.h:
13899 * libs/gst/base/gstbasesrc.c:
13900 * libs/gst/base/gstbasesrc.h:
13901 Documentation updates. Make BaseSink and BaseSrc docs contain the
13902 class structure so that people can actually see the prototypes for
13903 virtual functions they're supposed to be overriding.
13905 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13907 * plugins/elements/gsttypefindelement.c:
13908 (gst_type_find_element_chain):
13909 More debug info; when skipping typefinding, send cached
13910 events in all cases.
13912 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13915 use new AS_VERSION and AS_NANO macros
13916 * gst/gst-i18n-lib.h:
13919 * gst/gstversion.h.in:
13920 * win32/common/config.h:
13921 * win32/common/config.h.in:
13924 2006-03-31 Michael Smith <msmith@fluendo.com>
13926 * plugins/elements/gsttypefindelement.c:
13927 (gst_type_find_element_chain):
13928 Do not typefind content if the buffers already have caps.
13929 Neccesary for icydemux (#333657), and the right thing to do anyway.
13931 2006-03-30 Wim Taymans <wim@fluendo.com>
13933 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13934 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13935 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13936 (gst_base_sink_record_qos_observation),
13937 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13938 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13939 (gst_base_sink_change_state):
13940 More QoS measurements as described in the design doc.
13941 Get rid of ringbuffer with observations, running average is
13942 more simple and equally good.
13943 Calculates valid proportion now.
13944 Added beginning of flood measurement.
13946 2006-03-29 Wim Taymans <wim@fluendo.com>
13948 * docs/design/part-qos.txt:
13950 Small documentation updates and additions.
13952 2006-03-29 Wim Taymans <wim@fluendo.com>
13954 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13955 (gst_base_src_send_event), (gst_base_src_loop),
13956 (gst_base_src_change_state):
13957 Perform the EOS logic when we reach the segment stop position.
13958 Fix compilation on gcc4.1
13960 2006-03-29 Wim Taymans <wim@fluendo.com>
13962 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13964 * plugins/elements/gstqueue.c: (gst_queue_init),
13965 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13966 (gst_queue_set_property):
13967 * plugins/elements/gstqueue.h:
13968 In queue, when EOS is received, if minimum threshold > max_size -
13969 current_level, there is chance that queue blocks forever in conditional
13970 item del wait. This is because the queue is not emptied completely due
13971 to minimum threshold. Here is another approach. Instead of setting
13972 cur_levels to max in EOS, just zero all minimum threshold levels. This
13973 should make sure that queue gives out all data. When going to READY
13974 (stop) state, just reset the original minimum threshold levels.
13977 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13979 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13980 (gst_type_find_element_handle_event),
13981 (gst_type_find_element_send_cached_events),
13982 (gst_type_find_element_change_state):
13983 * plugins/elements/gsttypefindelement.h:
13984 When typefinding is done in push mode, we should cache
13985 events we receive during typefinding instead of just
13986 dropping them (e.g. newsegment, custom events from
13987 dvdreadsrc etc.) and then send them out once we've
13988 determined the type of the stream (and decodebin
13989 has had a chance to plug in a decoder/demuxer).
13991 2006-03-27 Wim Taymans <wim@fluendo.com>
13993 * docs/design/part-qos.txt:
13996 2006-03-27 Wim Taymans <wim@fluendo.com>
13998 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14000 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14001 (gst_base_src_send_event), (gst_base_src_change_state):
14002 Handle element seek correctly when we are streaming.
14005 2006-03-24 Michael Smith <msmith@fluendo.com>
14007 * docs/faq/gst-uninstalled:
14008 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14009 allow you to correctly run intalled applications built against old
14010 core, using plugins that require updated core (e.g. running
14011 installed totem against a full uninstalled gstreamer stack)
14013 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14015 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14018 2006-03-24 Wim Taymans <wim@fluendo.com>
14020 * docs/gst/gstreamer-sections.txt:
14021 Rearrange the order of the methods so that related methods
14022 are grouped together in sections.
14024 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14026 * gst/gstelement.c:
14027 Little clarification in the docs
14029 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14033 * plugins/elements/gstidentity.c:
14034 * plugins/elements/gstqueue.c:
14035 * plugins/elements/gsttee.c:
14036 * plugins/elements/gsttypefindelement.c:
14037 GST_ELEMENT_DETAILS formatting
14039 2006-03-24 Wim Taymans <wim@fluendo.com>
14041 * libs/gst/base/gstbasesink.h:
14042 Only add fields, not insert or we break ABI.
14044 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14046 * win32/common/libgstbase.def:
14047 * win32/common/libgstreamer.def:
14048 Update, add recently added functions.
14050 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14052 * docs/gst/gstreamer-sections.txt:
14053 * gst/gstutils.c: (gst_pad_query_peer_position),
14054 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14056 API: add some new utility functions:
14057 - gst_pad_query_peer_position()
14058 - gst_pad_query_peer_duration()
14059 - gst_pad_query_peer_convert()
14061 2006-03-23 Wim Taymans <wim@fluendo.com>
14063 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14064 (gst_base_sink_init), (gst_base_sink_finalize),
14065 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14066 (gst_base_sink_set_property), (gst_base_sink_get_property),
14067 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14068 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14069 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14070 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14071 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14072 (gst_base_sink_preroll_object), (gst_base_sink_event),
14073 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14074 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14075 (gst_base_sink_query), (gst_base_sink_change_state):
14076 Decouple max-lateness and the fact that QoS messages are generated
14077 with a new property (qos).
14078 added API: GstBaseSink::async_play()
14079 Add vmethod so subclasses can be notified of ASYNC playing
14081 Collect timestamp start and stop to report better current
14082 position in EOS/PLAYING/PAUSED/READY/NULL.
14083 Refactor QoS/frame dropping and other measurements.
14084 API: GstBaseSrc::qos
14087 * libs/gst/base/gstbasesink.h:
14088 Added Private struct.
14089 API: gst_base_sink_set_qos_enabled()
14090 API: gst_base_sink_is_qos_enabled()
14092 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14094 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14095 If compiling against GLib-2.8 or newer, try to read the
14096 registry file using GMappedFile first before falling back
14097 to fopen() + fread() (#332151).
14099 2006-03-22 Wim Taymans <wim@fluendo.com>
14101 * gst/gstinfo.c: (gst_debug_set_active),
14102 (gst_debug_category_set_threshold):
14103 Disable debugging unless explicitly activated.
14106 2006-03-22 Wim Taymans <wim@fluendo.com>
14108 * gst/gstelement.c: (gst_element_set_locked_state),
14109 (gst_element_dispose):
14110 Cleanup the error case.
14112 * gst/gstobject.c: (gst_object_dispose):
14113 print a critical when some object was disposed with
14114 a parent, also revive the object since it might
14117 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14119 * tools/gst-launch.1.in:
14122 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14125 * tests/check/Makefile.am:
14126 disable some tests when we don't have a registry
14127 * tests/check/gst/gstutils.c: (gst_utils_suite):
14128 don't build the part that needs parsing
14130 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14133 * tests/examples/Makefile.am:
14134 fix --disable-parse build
14136 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14138 * tools/gst-feedback.1.in:
14139 Fix typo: s/feeback/feedback/ (#133494).
14141 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14143 * tools/Makefile.am:
14144 * tools/gst-launch.1.in:
14145 Add FILES section and correct entry about GST_REGISTRY_PATH
14146 environment variable (#133495; #133494).
14148 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14150 * tools/Makefile.am:
14151 * tools/gst-md5sum.1.in:
14152 * tools/gst-md5sum.c:
14153 Remove gst-md5sum and man page (the md5sink element
14154 required was removed ages ago)
14156 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14158 * gst/gststructure.c: (gst_structure_id_set_value):
14159 Make sure that string fields in structures/taglists
14160 contain valid UTF-8 - we don't want to pass rubbish to
14161 applications because of a buggy plugin (cp. #334167).
14163 2006-03-21 Edward Hervey <edward@fluendo.com>
14165 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14166 (gst_bin_handle_message_func):
14167 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14168 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14169 (gst_element_set_bus_func):
14170 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14171 * gst/gstminiobject.c: (gst_value_set_mini_object),
14172 (gst_value_take_mini_object):
14173 * gst/gstpad.c: (gst_pad_set_pad_template):
14174 * gst/gstpipeline.c: (gst_pipeline_dispose),
14175 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14176 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14177 (gst_collect_pads_chain):
14178 * libs/gst/net/gstnettimeprovider.c:
14179 (gst_net_time_provider_set_property):
14180 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14181 It's in fact all issues with gst_*object_replace().
14183 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14185 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14187 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14188 * pkgconfig/gstreamer-check.pc.in:
14189 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14191 2006-03-21 Edward Hervey <edward@fluendo.com>
14195 * gst/gstmessage.h:
14196 gst_[buffer|event|message]_ref() macros are replaced by a static
14197 inline functions because gcc-4.1 will about if the return value
14199 * tests/check/gst/gstevent.c: (event_probe):
14200 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14202 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14205 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14206 the type' case. (Closes: #335195 for now). In the future, when we
14207 depend on GLib 2.10, we could also intern the type name using
14208 g_intern_static_string()
14210 2006-03-20 Wim Taymans <wim@fluendo.com>
14212 * gst/gstbin.c: (gst_bin_handle_message_func),
14213 (bin_query_max_init), (bin_query_position_fold),
14214 (bin_query_position_done), (gst_bin_query):
14215 Position query should also take max of all streams.
14217 2006-03-20 Wim Taymans <wim@fluendo.com>
14219 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14220 (gst_fake_src_finalize):
14221 Fix leaks in fakesrc.
14223 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14224 Fix leaks in the testcase.
14226 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14228 * gst/gst_private.h:
14229 add win32 specific import decoration(__declspec(dllimport))
14230 for all extern GstDebugCategory * variables
14231 * win32/common/libgstbase.def:
14232 * win32/common/libgstcontroller.def:
14233 * win32/common/libgstreamer.def:
14234 Add some exports, remove empty lines
14235 * win32/common/libgstdataprotocol.def:
14236 * win32/common/libgstdataprotocol.dsp:
14237 * win32/common/libgstnet.def:
14238 * win32/common/libgstnet.dsp:
14239 new project files and exportation files added
14241 2006-03-19 Wim Taymans <wim@fluendo.com>
14243 * tests/check/libs/basesrc.c: (eos_event_counter):
14244 Use proper return value for probe.
14246 2006-03-17 Wim Taymans <wim@fluendo.com>
14248 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14250 Don't leak buffers, caps and pads on negotiation errors.
14252 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14254 * docs/faq/cvs.xml:
14255 * docs/faq/dependencies.xml:
14256 * docs/faq/developing.xml:
14257 * docs/faq/faq.xml:
14258 * docs/faq/general.xml:
14259 * docs/faq/getting.xml:
14260 * docs/faq/legal.xml:
14261 * docs/faq/troubleshooting.xml:
14262 * docs/faq/using.xml:
14263 Faq review and update.
14265 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14267 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14269 Don't pound the cpu to pieces by checking get_caps when accept_caps
14270 is called with the same caps as the pad already has.
14271 Use GST_DEBUG_OBJECT when outputting caps change information.
14273 2006-03-15 Wim Taymans <wim@fluendo.com>
14275 * gst/gstclock.c: (gst_clock_class_init):
14278 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14283 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14284 (gst_pad_accept_caps), (gst_pad_configure_sink),
14285 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14286 Make the default acceptcaps behaviour be to check the requested
14287 caps against the gst_pad_get_caps output.
14289 Ensure that gst_pad_accept_caps is used to check caps when a pad
14290 doesn't have a setcaps function, so that pads automatically refuse
14291 caps that they don't allow in their pad template. (Fixes #332986)
14293 When a buffer with attached caps is pushed, ensure that the source
14294 pad receives those caps even if the element didn't call
14295 gst_pad_set_caps first.
14297 2006-03-15 Wim Taymans <wim@fluendo.com>
14299 * libs/gst/base/gstadapter.c:
14302 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14304 * win32/common/libgstbase.def:
14305 * win32/common/libgstcontroller.def:
14306 * win32/common/libgstreamer.def:
14307 Add a whole bunch of missing functions (#334434).
14309 2006-03-14 Wim Taymans <wim@fluendo.com>
14311 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14312 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14313 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14314 Better debug info when we receive a segment event.
14315 Reorganize a bit so we can pass the get_times() results around.
14316 Use the segment format when calculating the running time.
14317 Don't do QoS is sync is disabled or we have no clock or the
14318 element does not want us to sync to the clock.
14319 Don't drop buffers if QoS is disabled for now.
14321 2006-03-14 Wim Taymans <wim@fluendo.com>
14323 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14324 Marked the stats property as unimplemented so people don't get
14326 Add debug message when regression goes wrong.
14327 Added some more docs.
14329 2006-03-14 Wim Taymans <wim@fluendo.com>
14331 * gst/gstsegment.c: (gst_segment_to_stream_time):
14332 Return correct return type in case of errors.
14334 2006-03-14 Wim Taymans <wim@fluendo.com>
14336 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14337 Don't segfault on invalid formats.
14339 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14341 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14342 Can't use gst_segment_to_running_time() when the segment
14343 is not in GST_TIME_FORMAT (like with filesink, for example).
14344 Stops flac encoding pipelines from spewing critical warnings
14347 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14349 * gst/gstpipeline.c: (gst_pipeline_class_init):
14350 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14352 * plugins/elements/gsttypefindelement.c:
14353 (gst_type_find_element_handle_event):
14354 Don't try to typefind empty streams.
14356 2006-03-14 Wim Taymans <wim@fluendo.com>
14358 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14359 (gst_base_sink_do_qos):
14360 Separate QoS calculation.
14361 Only drop buffers when lateness is bigger than the
14362 duration of the buffer.
14364 2006-03-13 Wim Taymans <wim@fluendo.com>
14366 * gst/gstpipeline.c: (gst_pipeline_set_property),
14367 (gst_pipeline_get_property), (do_pipeline_seek),
14368 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14369 (gst_pipeline_get_delay):
14370 Don't deadlock when reading properties.
14372 2006-03-13 Wim Taymans <wim@fluendo.com>
14374 * libs/gst/base/gstbasetransform.c:
14375 (gst_base_transform_class_init), (gst_base_transform_init),
14376 (gst_base_transform_sink_event),
14377 (gst_base_transform_sink_eventfunc),
14378 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14379 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14380 (gst_base_transform_set_property),
14381 (gst_base_transform_get_property),
14382 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14383 (gst_base_transform_set_qos_enabled),
14384 (gst_base_transform_is_qos_enabled):
14385 * libs/gst/base/gstbasetransform.h:
14386 Make basetransform virtual method for src events too.
14387 Handle QOS in basetransform.
14388 API: gst_base_transform_update_qos()
14389 API: gst_base_transform_set_qos_enabled()
14390 API: gst_base_transform_is_qos_enabled()
14392 2006-03-13 Wim Taymans <wim@fluendo.com>
14394 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14395 (gst_base_sink_do_sync):
14397 Use QOS debug category.
14399 2006-03-13 Wim Taymans <wim@fluendo.com>
14401 * plugins/elements/gstqueue.c:
14402 Very small doc update.
14404 2006-03-13 Wim Taymans <wim@fluendo.com>
14406 * gst/gst_private.h:
14407 * gst/gstinfo.c: (_gst_debug_init):
14408 Added QOS debug category
14410 2006-03-13 Wim Taymans <wim@fluendo.com>
14412 * docs/gst/gstreamer-sections.txt:
14413 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14415 * gst/gstbus.c: (gst_bus_class_init):
14418 * gst/gstelement.c: (gst_element_set_locked_state):
14419 * gst/gstsegment.c:
14420 Documentation updates.
14422 * gst/gstpipeline.c: (gst_pipeline_get_type),
14423 (gst_pipeline_class_init), (gst_pipeline_init),
14424 (gst_pipeline_dispose), (gst_pipeline_set_property),
14425 (gst_pipeline_get_property), (do_pipeline_seek),
14426 (gst_pipeline_send_event), (gst_pipeline_change_state),
14427 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14428 (gst_pipeline_get_delay):
14429 * gst/gstpipeline.h:
14430 Added methods for setting the delay.
14431 API: gst_pipeline_set_delay()
14432 API: gst_pipeline_get_delay()
14433 Add pipeline debug category
14436 Don't reset stream time when seek failed.
14438 2006-03-13 Wim Taymans <wim@fluendo.com>
14440 * docs/design/draft-klass.txt:
14441 * docs/design/part-clocks.txt:
14442 * docs/design/part-events.txt:
14443 * docs/design/part-gstbin.txt:
14444 * docs/design/part-gstpipeline.txt:
14445 * docs/design/part-messages.txt:
14446 * docs/design/part-negotiation.txt:
14447 * docs/design/part-overview.txt:
14448 * docs/design/part-preroll.txt:
14449 * docs/design/part-seeking.txt:
14450 * docs/design/part-states.txt:
14451 * docs/design/part-streams.txt:
14452 Documentation updates.
14454 2006-03-12 Julien MOUTTE <julien@moutte.net>
14456 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14457 us to leak strings...
14459 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14461 * libs/gst/net/gstnettimeprovider.c:
14463 * win32/common/config.h:
14466 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14468 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14471 Don't check for libgnomeui (leftover from old examples
14472 that aren't built or disted any longer) (#334303).
14474 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14476 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14477 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14478 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14479 there's no space left on the device.
14481 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14484 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14485 to cast the input to GstClockTime before comparing with
14486 another GstClockTime value.
14488 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14493 === release 0.10.4 ===
14495 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14498 releasing 0.10.4, "Light"
14500 2006-03-10 Michael Smith <msmith@fluendo.com>
14502 * libs/gst/dataprotocol/dataprotocol.c:
14503 Fix docs for dataprocotol to not get the return types completely
14504 wrong for a few functions.
14506 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14508 * docs/gst/gstreamer-sections.txt:
14509 * gst/gstpipeline.c: (gst_pipeline_class_init),
14510 (gst_pipeline_init), (gst_pipeline_set_property),
14511 (gst_pipeline_get_property), (gst_pipeline_change_state),
14512 (gst_pipeline_set_auto_flush_bus),
14513 (gst_pipeline_get_auto_flush_bus):
14514 * gst/gstpipeline.h:
14515 Add new API: gst_pipeline_set_auto_flush_bus() and
14516 gst_pipeline_get_auto_flush_bus() to disable automatic
14517 flushing of the pipeline's GstBus when going from READY
14518 to NULL state (#332045).
14520 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14522 * docs/gst/gstreamer-sections.txt:
14523 * gst/gsturi.c: (gst_uri_has_protocol):
14525 Add new API: gst_uri_has_protocol() (#333779).
14527 2006-03-09 Wim Taymans <wim@fluendo.com>
14529 * gst/gstclock.c: (gst_clock_entry_new),
14530 (gst_clock_id_compare_func), (gst_clock_id_wait),
14531 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14532 (gst_clock_init), (gst_clock_get_internal_time),
14533 (gst_clock_set_master), (do_linear_regression),
14534 (gst_clock_add_observation), (gst_clock_set_property):
14538 Fix a possible segfault when the window-size is made smaller.
14539 Calculate jitter before performing the clock wait. Ideally
14540 the clock implementation should calculate jitter but we need
14541 API breakage for that.
14543 * gst/gstsystemclock.c: (gst_system_clock_init):
14546 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14547 Remove leftover else
14549 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14550 (gst_systemclock_suite):
14551 Added check to test GST_CLOCK_DIFF.
14553 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14555 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14556 (gst_type_find_helper_get_range):
14557 If we are provided with the size, we should implement
14558 GstTypeFind::get_length, so that typefind functions who
14559 want to can actually peek at the middle of a file.
14561 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14563 * docs/manual/advanced-dataaccess.xml:
14564 Add some very very basic error checking.
14566 * docs/pwg/appendix-checklist.xml:
14567 Some updates to the list of things to check when writing an element.
14569 2006-03-08 Wim Taymans <wim@fluendo.com>
14571 * docs/design/part-element-transform.txt:
14572 Added some docs about the design of tranform elements.
14574 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14575 (gst_base_src_loop), (gst_base_src_change_state):
14576 Mark buffers with the DISCONT flag.
14578 2006-03-08 Michael Smith <msmith@fluendo.com>
14580 * gst/gstregistry.h:
14581 * gst/gstregistryxml.c: (gst_registry_save),
14582 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14583 (gst_registry_xml_save_pad_template),
14584 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14585 (gst_registry_xml_write_cache):
14586 Rewrite registry-saving to avoid race conditions and check for
14589 2006-03-08 Wim Taymans <wim@fluendo.com>
14591 * libs/gst/base/gstbasetransform.c:
14592 (gst_base_transform_transform_caps),
14593 (gst_base_transform_transform_size),
14594 (gst_base_transform_prepare_output_buffer),
14595 (gst_base_transform_get_unit_size),
14596 (gst_base_transform_buffer_alloc),
14597 (gst_base_transform_handle_buffer),
14598 (gst_base_transform_change_state):
14599 Cleanups, separate normal flow from errors, add sensible
14601 Don't try to renegotiate when allocating an output buffer.
14602 Also copy DISCONT buffer flag when copying a buffer.
14603 Reset the transform after we finish streaming, not during.
14605 2006-03-08 Wim Taymans <wim@fluendo.com>
14607 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14608 Use last buffer timestamp in qos message.
14610 2006-03-07 Wim Taymans <wim@fluendo.com>
14612 Patch by: Christophe Fergeau
14614 * docs/pwg/advanced-tagging.xml:
14615 * docs/pwg/building-pads.xml:
14618 2006-03-07 Wim Taymans <wim@fluendo.com>
14620 * docs/libs/gstreamer-libs-sections.txt:
14621 Added basesink new methods.
14625 Docs updates. Flesh out the QoS docs.
14627 * libs/gst/base/gstadapter.c:
14628 Small doc clarification about ownership and flushing.
14630 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14631 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14632 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14633 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14634 * libs/gst/base/gstbasesink.h:
14636 Added new methods to allow subclass to control max-lateness
14638 Generate very basic QoS events based on last sync observation.
14639 Updated docs, fix typo, added some QoS blurb.
14641 * libs/gst/base/gstbasesrc.c:
14642 Remove obsolete _get_state() calls from docs.
14644 2006-03-07 Wim Taymans <wim@fluendo.com>
14646 * docs/libs/gstreamer-libs-sections.txt:
14647 * libs/gst/base/gstbasetransform.h:
14648 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14649 Fix docs for GstBaseSrc.
14651 2006-03-07 Wim Taymans <wim@fluendo.com>
14653 * docs/gst/gstreamer-sections.txt:
14656 * libs/gst/base/gstbasetransform.h:
14657 Small documentation fixes.
14659 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14662 Document thread-unsafety of gst_value_register_foo_func()
14663 when used at the same time as gst_value_foo() (#322628).
14665 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14667 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14668 (gst_push_src_check_get_range):
14669 Push sources don't support pull mode by default.
14671 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14673 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14674 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14675 (gst_base_src_default_check_get_range):
14676 * libs/gst/base/gstbasesrc.h:
14677 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14678 provide default implementation, and rename
14679 gst_base_src_check_get_range() to
14680 gst_base_src_pad_check_get_range() for clarity.
14682 2006-03-06 Wim Taymans <wim@fluendo.com>
14684 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14685 Make property overridable.
14687 2006-03-06 Wim Taymans <wim@fluendo.com>
14689 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14690 (gst_base_sink_init), (gst_base_sink_set_property),
14691 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14692 * libs/gst/base/gstbasesink.h:
14693 API addition: Make max-lateness a property.
14695 2006-03-06 Wim Taymans <wim@fluendo.com>
14697 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14698 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14699 Don't ever draw a frame that is >10ms late.
14701 2006-03-06 Michael Smith <msmith@fluendo.com>
14703 * gst/gstmessage.c: (_gst_message_copy):
14704 When copying a message, set the parent_refcount of the enclosed
14705 structure to point at the copy, not the original message.
14707 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14709 Patch by: Christophe Fergeau
14712 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14713 usable in c++ code (#333417)
14715 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14718 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14720 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14722 * libs/gst/base/gstbasetransform.c:
14723 (gst_base_transform_transform_caps):
14724 Make sure caps are writable before passing them to
14727 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14730 Fix some minor docs errors.
14732 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14734 Patch by: Ross Burton <ross at burtonini dot com>
14736 * gst/gsterror.c: (_gst_resource_errors_init):
14738 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14740 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14743 Add a check and output a g_warning when GStreamer is built
14744 against GLib 2.6 but running against 2.8 or higher, and vice
14745 versa. (Closes: #323542)
14747 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14749 * gst/parse/parse.l:
14750 Commit patch for parse_launch syntax from #331255. Removes
14751 support for quoted strings and mimetypes when writing filtered
14752 caps. See the bug report for more details - I'm pretty sure this
14753 obscure feature is not in use by _anyone_ anywhere.
14755 With this simple change, the size of the gstreamer.so here
14756 drops from 2193KB to 1565KB.
14758 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14760 * plugins/elements/gsttypefindelement.h:
14761 * plugins/elements/gsttypefindelement.c:
14762 (gst_type_find_element_src_event), (start_typefinding),
14763 (stop_typefinding), (gst_type_find_element_handle_event),
14764 (gst_type_find_element_chain),
14765 (gst_type_find_element_chain_do_typefinding):
14766 Use gst_type_find_helper_for_buffer() for chain-based
14769 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14771 * plugins/elements/gsttypefindelement.c:
14772 (gst_type_find_element_class_init),
14773 (gst_type_find_element_set_property),
14774 (gst_type_find_element_get_property):
14775 Deprecate "maximum" property (not only was it only taken into
14776 account for typefinding in push-mode anyway, it also was never
14777 actually possible to set it in the first place because the
14778 property was registered with the numeric property ID for the
14779 "minimum" property). Register "maximum" property correctly,
14780 for the sake of future copy'n'pasters. Remove some cruft
14781 from property get/set functions.
14783 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14785 * plugins/elements/gsttypefindelement.c:
14786 (gst_type_find_element_activate):
14787 Use gst_type_find_helper_get_range() here, so we
14788 can honour the "minimum" property and also emit
14789 the signal with the correct probability of the found caps.
14791 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14793 * docs/libs/gstreamer-libs-sections.txt:
14794 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14795 (helper_find_suggest), (gst_type_find_helper_get_range),
14796 (gst_type_find_helper):
14797 * libs/gst/base/gsttypefindhelper.h:
14798 New API: gst_type_find_helper_get_range() (#333042).
14800 2006-03-02 Michael Smith <msmith@fluendo.com>
14802 * gst/gstregistryxml.c: (load_feature):
14803 Asserting on a failure to read part of the registry is Not Cool.
14804 Just log a warning and return NULL (which is already handled)
14806 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14808 * win32/common/libgstbase.def:
14809 added export of gst_type_find_helper_for_buffer
14810 * win32/common/libgstbase.def:
14811 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14812 gst_ghost_pad_get_target
14814 2006-02-28 Wim Taymans <wim@fluendo.com>
14816 * docs/design/draft-klass.txt:
14818 Added Connector to mark elements that are only used to
14819 allow pipeline connections.
14820 Moved Debug to extra feature since most of them are
14821 functionally something else.
14823 2006-02-28 Wim Taymans <wim@fluendo.com>
14825 * docs/design/draft-klass.txt:
14826 Some updates and clarifications.
14828 2006-02-28 Wim Taymans <wim@fluendo.com>
14830 * docs/design/draft-klass.txt:
14831 Proposal for klass field values.
14833 * docs/design/part-streams.txt:
14834 Start of a doc describing stream anatomy.
14836 2006-02-28 Wim Taymans <wim@fluendo.com>
14838 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14839 Help the compiler a bit with type registration.
14840 Use existing forward cod path instead of duplicating it when
14841 handling a message.
14843 * gst/gstbus.c: (gst_bus_get_type):
14844 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14845 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14846 * gst/gstclock.c: (gst_clock_get_type):
14847 * gst/gstelement.c: (gst_element_get_type),
14848 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14849 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14850 * gst/gstminiobject.c: (gst_mini_object_get_type):
14851 * gst/gstpad.c: (gst_pad_get_type):
14852 * gst/gstsegment.c: (gst_segment_get_type):
14853 * gst/gststructure.c: (gst_structure_get_type):
14854 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14855 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14857 Help compiler with type registration.
14859 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14862 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14864 * plugins/elements/gsttypefindelement.c:
14865 (gst_type_find_element_handle_event):
14866 When we get an EOS event and have not found a type yet
14867 (most likely because we had not yet accumulated
14868 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14869 type given the data we have so far. Fixes typefinding
14870 for very short streams again, most notably quicktime
14871 redirections as used on Apple's trailer site (#331701).
14873 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14875 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14876 (gst_type_find_helper):
14877 Try typefinding factories with the highest rank first.
14879 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14881 * docs/libs/gstreamer-libs-docs.sgml:
14882 * docs/libs/gstreamer-libs-sections.txt:
14883 * libs/gst/base/gsttypefindhelper.c:
14884 Add section for typefind helper and add documentation
14885 for the old and the new function.
14887 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14889 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14890 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14891 (gst_type_find_helper_for_buffer):
14892 * libs/gst/base/gsttypefindhelper.h:
14893 New API: gst_type_find_helper_for_buffer() (#332723).
14895 2006-02-27 Michael Smith <msmith@fluendo.com>
14897 Patch by: Loïc Minier
14900 * docs/Makefile.am:
14901 * docs/slides/Makefile.am:
14902 prevent CVS directories getting disted.
14904 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14906 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14907 Use the REFCOUNTING category for caps refcounting.
14909 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14911 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14912 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14914 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14916 * plugins/elements/gsttypefindelement.c:
14917 (gst_type_find_element_activate):
14918 Use gst_pad_check_pull_range() before _activate_pull()
14919 to avoid unnecessary open/close (see #331690).
14921 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14924 Docs enhancement: make it crystal clear what the
14925 gst_pad_add_*_probe() callbacks should look like.
14927 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14929 * libs/gst/base/gstbasesrc.c:
14930 Document how applications can stop recording from
14931 live sources (see #330996).
14933 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14935 * tests/check/Makefile.am:
14936 * tests/check/libs/basesrc.c: (eos_event_counter),
14937 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14938 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14939 (gst_basesrc_suite), (main):
14940 ... and add some tests for the base source EOS stuff.
14942 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14944 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14945 Test case originally showed the problem fixed below,
14946 but was then amended. Add checks back at the place
14947 where they used to be.
14949 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14951 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14952 (gst_base_src_init), (gst_base_src_loop),
14953 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14954 (gst_base_src_change_state):
14955 * libs/gst/base/gstbasesrc.h:
14956 Don't unconditionally send EOS when going from PAUSED to
14957 READY state, esp. make sure we don't send two EOS events
14958 in some cases (e.g. one when reaching EOS and one when
14959 going from PAUSED to READY). Also, we don't want to send
14960 EOS events when operating in pull mode. However, we do
14961 want to send an EOS event when shutting down a live
14962 source explicitly, for example (fixes #330996).
14964 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14966 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14967 Update src->read_position after a seek when not using mmap.
14968 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14970 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14976 Make things work with --disable-parse as they do with
14977 --disable-load-save - the symbols involved disappear, but the
14978 header is still installed and GST_DISABLE_PARSE is included via
14981 2006-02-20 Julien MOUTTE <julien@moutte.net>
14983 * libs/gst/base/gstbasetransform.c:
14984 (gst_base_transform_change_state): Fix a stupid bug. I was
14985 sure I compiled that.
14987 2006-02-20 Julien MOUTTE <julien@moutte.net>
14989 * gst/gstpad.c: (gst_pad_set_blocked_async):
14990 * gst/gstutils.c: (gst_pad_add_data_probe),
14991 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14992 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14993 (gst_pad_remove_buffer_probe): Make those function act on the
14994 ghostpad target when it's a ghostpad. (Closes #331727)
14996 2006-02-20 Julien MOUTTE <julien@moutte.net>
14998 * libs/gst/base/gstbasetransform.c:
14999 (gst_base_transform_change_state): Make basetransform reusable.
15002 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15004 * docs/random/release:
15005 Move the current documentation of how to do a release to the top
15008 * gst/gstbin.c: (gst_bin_class_init),
15009 (gst_bin_handle_message_func):
15010 Allow multiple state-recalculation threads. (Closes #328873)
15012 2006-02-19 Julien MOUTTE <julien@moutte.net>
15014 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15015 * gst/gstpad.c: (gst_pad_set_event_function),
15016 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15017 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15018 2 strings. You can't use the STR_NULL macro on that.
15020 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15022 * gst/gstpad.c: (gst_pad_set_event_function),
15023 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15024 (gst_pad_set_getcaps_function)
15025 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15026 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15027 So now, we can use --gst-debug-level=5 on Windows
15028 * win32/common/libgstcontroller.def:
15029 Added export of gst_controller_init
15030 * win32/vs6/libgstcontroller.dsp:
15031 Fixed Release post build configuration
15033 2006-02-17 Wim Taymans <wim@fluendo.com>
15035 * tests/check/gst/gstquery.c: (GST_START_TEST):
15036 Added another check.
15038 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15040 * plugins/elements/gsttypefindelement.c: (find_peek):
15041 We can do peeks at non-zero offsets, as long as they
15042 fall within the buffer we have.
15044 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15046 * tests/check/Makefile.am:
15047 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15048 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15049 (parse_suite), (main):
15050 Add testsuite for parse launch syntax
15052 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15054 * plugins/elements/gsttypefindelement.c:
15055 (gst_type_find_element_chain):
15056 When typefinding is unsuccessful in the chain function, don't
15057 error out immediately. Only error out with NO_CAPS_FOUND if
15058 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15059 otherwise simply wait for more data so we can try typefinding
15060 again with more data later. Also, don't attempt to typefind
15061 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15062 this should improve typefinding from network sources where the
15063 size of the first buffer can be somewhat random.
15065 2006-02-14 Wim Taymans <wim@fluendo.com>
15067 * docs/gst/gstreamer-sections.txt:
15068 * gst/gstpadtemplate.c:
15069 * gst/gstpadtemplate.h:
15070 Fix padtemplate docs, fixes #328805.
15072 2006-02-14 Wim Taymans <wim@fluendo.com>
15074 * tools/gst-launch.c: (main):
15075 NO_PREROLL is not an ERROR so don't send confusing messages
15078 2006-02-14 Wim Taymans <wim@fluendo.com>
15080 Patch by: Torsten Schoenfeld
15082 * gst/gstregistry.c: (gst_registry_get_default),
15083 (_gst_registry_cleanup):
15084 Protect default registry with lock and ref/sink it.
15087 2006-02-14 Wim Taymans <wim@fluendo.com>
15090 * gst/gstquery.c: (gst_query_list_add_format),
15091 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15092 (gst_query_parse_formats_nth):
15093 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15096 2006-02-14 Wim Taymans <wim@fluendo.com>
15098 * docs/gst/gstreamer-sections.txt:
15099 Reworked query docs.
15101 * gst/gstquery.c: (gst_query_new_formats),
15102 (gst_query_list_add_format), (gst_query_set_formats),
15103 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15104 (gst_query_parse_formats_nth):
15106 Flesh out formats query, added some new methods.
15107 Fix part of #324398.
15109 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15110 Added query creation tests.
15112 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15114 * gst/gstpad.c: (fixate_value):
15115 Add a default fixation for fraction lists.
15117 2006-02-13 Wim Taymans <wim@fluendo.com>
15119 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15120 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15123 Detect and warn for obvious deadlocks. fixes #320340
15124 Fix error case where lock was not released.
15126 * tests/check/Makefile.am:
15127 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15128 (task_func), (gst_element_suite), (main):
15131 2006-02-13 Wim Taymans <wim@fluendo.com>
15133 * docs/gst/gstreamer-sections.txt:
15135 Add new functions to docs.
15137 2006-02-13 Wim Taymans <wim@fluendo.com>
15139 * docs/design/part-TODO.txt:
15140 Updated TODO list, basesrc supports seeking to non-bytes
15143 * docs/design/part-element-sink.txt:
15146 * gst/gstbin.c: (bin_replace_message),
15147 (gst_bin_handle_message_func):
15148 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15149 * gst/gstevent.c: (gst_event_finalize):
15150 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15151 (gst_pad_send_event):
15152 Use shiny new _TYPE_NAME macros.
15154 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15155 Move debug statement up.
15157 * gst/gstelement.c: (gst_element_set_locked_state):
15158 Add some debugging.
15160 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15162 * docs/gst/gstreamer-sections.txt:
15163 * gst/gstmessage.h:
15165 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15166 macros (#330906). Also, document the already existing
15167 GST_QUERY_TYPE macro.
15169 2006-02-13 Wim Taymans <wim@fluendo.com>
15171 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15172 (event_probe), (GST_START_TEST):
15173 Only events up to the pipeline EOS are counted, there are
15174 some more when going to NULL currently which we don't care
15177 2006-02-13 Wim Taymans <wim@fluendo.com>
15179 * gst/gstpad.c: (gst_pad_send_event):
15180 Correctly check flushing and emit probes. fixes #330125
15182 2006-02-10 Andy Wingo <wingo@pobox.com>
15184 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15186 (gst_bus_init): Cache the location of the private data in the
15187 instance structure.
15188 (gst_bus_enable_sync_message_emission)
15189 (gst_bus_disable_sync_message_emission): Implement new public
15191 (gst_bus_post): Emit the sync-message signal if the user asked for
15194 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15195 location of the bus-private structure.
15196 (gst_bus_enable_sync_message_emission)
15197 (gst_bus_disable_sync_message_emission): API addition
15199 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15201 Patch by: Vincent Torri
15203 * docs/pwg/building-boiler.xml:
15204 PWG patch from #326800
15206 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15209 * docs/Makefile.am:
15210 * docs/design/Makefile.am:
15213 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15218 === release 0.10.3 ===
15220 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15223 releasing 0.10.3, "Like a virgin"
15225 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15228 2nd prerelease of 0.10.3
15229 Bump libtool versioning.
15231 2006-02-07 Andy Wingo <wingo@pobox.com>
15233 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15234 update last_stop if we're in TIME format and the timestamp is
15237 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15238 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15239 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15240 If we get a new newsegment with a different format, adapt
15243 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15244 of 0. Not a problem, really.
15246 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15249 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15254 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15257 project files updated to the default vs7 configuration
15258 * win32/common/libgstbase.def:
15259 * win32/common/libgstreamer.def:
15261 removed empty lines,
15262 sorted all exported symbols alphabetically
15263 * win32/common/dirent.c:
15264 * win32/common/dirent.h:
15265 * win32/common/gchar.h:
15266 use windows line end.
15268 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15270 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15271 Send EOS event when stopping.
15273 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15276 Tell folks what to do if the plugin-foobar.xml file
15277 hasn't been generated for a newly-added plugin.
15279 2006-02-05 Julien MOUTTE <julien@moutte.net>
15281 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15282 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15283 (gst_collect_pads_start), (gst_collect_pads_stop),
15284 (gst_collect_pads_event): Collectpads now holds a reference
15285 to the GstPad that was added. Indeed we don't want to look
15286 at pads that might just go away with no warning...
15288 2006-02-05 Julien MOUTTE <julien@moutte.net>
15290 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15291 (gst_collect_pads_start), (gst_collect_pads_stop),
15292 (gst_collect_pads_event), (gst_collect_pads_chain):
15293 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15294 Mark Nauwelaerts's patch on bug #328491.
15296 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15298 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15300 Add some simple tests for gst_parse_bin_from_description() and
15301 gst_bin_find_unconnected_pad() (#329069).
15303 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15305 * tools/gst-launch.c: (event_loop), (main):
15306 Catch errors during preroll (#320084).
15308 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15310 * plugins/elements/gsttypefindelement.c:
15311 (gst_type_find_element_activate):
15312 Post TYPE_NOT_FOUND error message when typefinding
15313 is unsuccessful in the activate function as well.
15315 2006-02-02 Wim Taymans <wim@fluendo.com>
15317 * docs/design/part-element-sink.txt:
15320 2006-02-02 Wim Taymans <wim@fluendo.com>
15322 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15323 (gst_base_sink_render_object),
15324 (gst_base_sink_queue_object_unlocked):
15325 Only keep track of prerollable items when we are
15327 Before rendering after preroll, always check if we
15329 Added some more debugging.
15331 2006-02-02 Wim Taymans <wim@fluendo.com>
15333 * gst/gstelement.c: (gst_element_continue_state),
15334 (gst_element_set_state_func), (gst_element_change_state):
15335 Fixed #326576, been running this for quite some time with
15336 no regressions at all.
15338 2006-02-02 Wim Taymans <wim@fluendo.com>
15341 Added more suppressions
15343 2006-02-02 Wim Taymans <wim@fluendo.com>
15345 * docs/design/part-element-sink.txt:
15348 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15349 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15350 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15351 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15352 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15353 (gst_base_sink_preroll_object),
15354 (gst_base_sink_queue_object_unlocked),
15355 (gst_base_sink_queue_object), (gst_base_sink_event),
15356 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15357 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15358 (gst_base_sink_get_position), (gst_base_sink_change_state):
15359 * libs/gst/base/gstbasesink.h:
15360 Totally refactored matching the design doc.
15361 Use two segments, one to clip incomming buffers and another to
15363 Handle queueing correctly, bypass the queue when playing.
15364 Make EOS cancelable.
15365 Handle errors correctly when operating in pull based mode.
15367 * tests/check/elements/fakesink.c: (GST_START_TEST),
15369 Added new check for sinks.
15371 2006-02-02 Wim Taymans <wim@fluendo.com>
15373 * gst/gstsegment.c: (gst_segment_clip):
15374 No reason to refuse to clip when start == -1
15376 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15379 * docs/manual/intro-basics.xml:
15380 * docs/manual/intro-preface.xml:
15381 * docs/manual/manual.xml:
15382 * docs/pwg/advanced-dparams.xml:
15383 * docs/pwg/intro-basics.xml:
15384 * docs/pwg/intro-preface.xml:
15385 * docs/pwg/pwg.xml:
15386 describe dparams (controller) for plugins
15387 unify docs a little more
15389 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15391 * docs/gst/gstreamer-sections.txt:
15392 * gst/gstutils.c: (element_find_unconnected_pad),
15393 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15395 Add new API: gst_parse_bin_from_description() and
15396 gst_bin_find_unconnected_pad() (#329069).
15398 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15400 * docs/manual/README:
15401 uncover a nasty detail of the docs build
15403 2006-01-31 Wim Taymans <wim@fluendo.com>
15405 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15406 Don't cache duration messages if we're not going to use or
15409 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15411 * docs/manual/advanced-dparams.xml:
15412 * docs/pwg/advanced-dparams.xml:
15416 * libs/gst/controller/lib.c: (gst_controller_init):
15419 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15421 * gst/gstelement.c: (gst_element_message_full):
15422 also show file/line/func if no additional debug was given
15424 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15426 * win32/vs7/grammar.vcproj:
15427 activate copy of autogenerated files for Release mode
15429 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15431 * win32/common/libgstreamer.def:
15432 export gst_value_compare
15434 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15436 * plugins/elements/Makefile.am:
15437 * plugins/elements/gstelements.c:
15438 * plugins/elements/gstfdsink.c: (_do_init),
15439 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15440 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15441 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15442 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15443 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15444 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15445 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15446 * plugins/elements/gstfdsink.h:
15447 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15449 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15451 * docs/manual/advanced-dparams.xml:
15452 describe controller
15453 * docs/manual/advanced-position.xml:
15454 * docs/manual/basics-init.xml:
15455 * docs/manual/manual.xml:
15456 * docs/manual/titlepage.xml:
15457 * docs/pwg/pwg.xml:
15458 * docs/pwg/titlepage.xml:
15459 cleanup xml (more to come)
15460 * libs/gst/controller/gstcontroller.c:
15463 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15465 * win32/vs6/grammar.dsp:
15466 add autogen of gstmarshal.c,h for Release mode
15468 2006-01-30 Wim Taymans <wim@fluendo.com>
15470 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15471 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15472 (gst_base_sink_handle_object), (gst_base_sink_event),
15473 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15474 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15475 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15476 (gst_base_sink_deactivate), (gst_base_sink_activate),
15477 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15478 (gst_base_sink_query), (gst_base_sink_change_state):
15479 Basesink cleanups, remove some old code.
15480 Handle the case where a subclass can preroll in the render
15481 method (mostly audiosinks).
15482 Handle more events.
15483 Remove some locks around variables that are now protected
15484 with the PREROLL_LOCK (clock_id, flushing, ..).
15485 Optimize position query some more, do correct locking.
15486 Remove old code to push queue in state change, this is not
15487 needed anymore since preroll blocks on all prerollable items
15489 Almost implemented as described in design doc.
15491 2006-01-30 Wim Taymans <wim@fluendo.com>
15493 * tests/check/gst/gstbin.c: (GST_START_TEST):
15494 Wait for refcount to settle down before checking.
15496 2006-01-30 Wim Taymans <wim@fluendo.com>
15498 * docs/design/part-element-sink.txt:
15499 Pseudo code overview of desired sink behaviour regarding
15502 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15503 * win32/vs6/grammar.dsp:
15504 fix some bugs in Release mode for autogenerated files
15506 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15507 * win32/common/libgstbase.def:
15508 * win32/common/libgstreamer.def:
15509 export some new symbols: gst_base_src_set_format,
15510 gst_iterator_next, gst_structure_set_valist
15512 2006-01-29 Julien MOUTTE <julien@moutte.net>
15514 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15515 Set pad functions unconditionally. Fixes #329105.
15517 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15519 add vs8 project files created by Sergey Scobich
15521 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15523 * gst/gstutils.c: (gst_element_unlink_pads):
15524 Don't leak pad references.
15526 * tests/check/elements/fakesink.c: (GST_START_TEST):
15527 * tests/check/generic/sinks.c: (GST_START_TEST):
15528 * tests/check/generic/states.c: (GST_START_TEST):
15529 * tests/check/gst/gstbin.c: (GST_START_TEST):
15530 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15531 * tests/check/gst/gstelement.c: (GST_START_TEST):
15532 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15533 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15534 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15535 Fix a bunch of leaks. Make generic/sinks.c
15536 use a bit less cpu by slowing the buffer rate
15537 between fakesrc and fakesink.
15539 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15541 * gst/gstelement.c: (gst_element_send_event):
15544 * gst/gstiterator.c:
15545 * gst/gstiterator.h:
15546 * gst/gstpad.c: (gst_pad_send_event):
15547 * gst/gststructure.c:
15551 * libs/gst/base/gstadapter.c:
15552 doc fixes, to link to function, just write gst_cool_function(), don't
15555 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15557 * plugins/elements/gsttee.c: (gst_tee_do_push),
15558 (gst_tee_handle_buffer):
15559 Always prefer an actual return value from a src
15560 pad in place of NOT_LINKED. This means we return
15561 WRONG_STATE when all src pads are WRONG_STATE
15562 instead of NOT_LINKED.
15564 Lock when replacing the last message to prevent
15565 racing with the get_property method.
15569 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15571 * tests/check/Makefile.am:
15572 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15574 Add a very simple check that should have caught the memleak I fixed
15575 last night (if not for the slice allocator hiding it)
15577 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15579 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15580 (gst_bin_remove_func), (gst_bin_handle_message_func),
15581 (bin_query_duration_fold), (bin_query_generic_fold):
15582 Clean up references to the clock provider when disposed or when
15583 handling a clock-lost message from it.
15585 Unref sinks when performing a query via gst_iterator_fold, as the
15586 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15588 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15589 (gst_clock_set_master):
15590 Drop our reference to the master clock, if any, when we are disposed.
15592 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15593 Chain up in dispose.
15595 2006-01-26 Wim Taymans <wim@fluendo.com>
15597 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15598 Add some debugging.
15600 2006-01-26 Julien MOUTTE <julien@moutte.net>
15602 * plugins/elements/gsttee.c: (gst_tee_do_push),
15603 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15604 handles pad being NOT_LINKED or in WRONG_STATE.
15606 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15611 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15614 remove obsolete entry
15616 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15618 * docs/gst/gstreamer-sections.txt:
15619 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15620 (gst_bin_iterate_sources), (gst_bin_send_event):
15622 * gst/gstelement.c: (gst_element_send_event):
15624 * gst/gstpad.c: (gst_pad_send_event):
15625 added code for downstream events, reviewed docs in gstevent.c
15627 2006-01-25 Julien MOUTTE <julien@moutte.net>
15629 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15630 We only query position using the clock in the playing state.
15631 Query peer in the other cases.
15632 * win32/common/config.h: Updates.
15634 2006-01-24 Wim Taymans <wim@fluendo.com>
15636 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15637 A clock entry that is scheduled for the exact time of the
15638 clock is still in time.
15640 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15641 (gst_base_sink_do_sync):
15642 Add some more debug info.
15644 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15647 Add new vs7 project files and solution.
15649 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15652 all files removed as they were out-dated.
15654 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15656 * docs/random/release:
15658 * gst/gstbin.c: (gst_bin_init):
15659 * gst/gstbus.c: (gst_bus_new):
15661 * gst/gstpipeline.c: (gst_pipeline_init):
15662 use gst_bus_new(), improve logging, fix docs
15663 * win32/common/config.h:
15664 update for cvs build
15666 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15669 up required version of automake to 1.7
15671 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15673 * win32/common/libgstreamer.def:
15674 export gst_buffer_is_metadata_writable
15676 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15678 * docs/gst/gstreamer-sections.txt:
15680 Add gst_event_replace() (#327001)
15682 2006-01-20 Wim Taymans <wim@fluendo.com>
15684 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15685 Make it actually compile too..
15687 2006-01-20 Wim Taymans <wim@fluendo.com>
15690 Clarify behaviour of _is_equal() when passing NULL parameters.
15692 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15693 (gst_pad_set_caps):
15694 Cleanups. Don't unref NULL caps.
15695 When setting the same caps, protect caps of the pad with
15697 Use full functionality of _is_equal() when comparing caps.
15699 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15701 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15702 Don't loop infinitely if there are no buffers to present. Partially
15703 fixes #327197, but collectpads is just broken for reusing elements
15704 to do multiple encodes atm.
15706 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15708 * tools/gst-inspect.c: (print_element_features):
15709 * tools/gst-xmlinspect.c: (main):
15710 URL_HANDLER is not a plugin feature we can search for in
15713 2006-01-19 Edward Hervey <edward@fluendo.com>
15715 * gst/gstelement.c: (gst_element_pads_activate):
15716 When activating, do src pads first, then sink pads.
15717 When de-activating, do sink pads first, then src pads.
15719 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15721 * docs/gst/gstreamer-sections.txt:
15722 Add gst_index_add_associationv to the docs
15724 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15729 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15730 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15731 Do some refactoring. Doesn't actually change functionality,
15732 but makes landing the DRAIN event easier later.
15734 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15736 * docs/pwg/advanced-scheduling.xml:
15737 Update from 0.9.x to 0.10 API and make example a bit
15740 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15742 * docs/gst/gstreamer-sections.txt:
15743 Add gst_buffer_(is|make)_metadata_writable methods.
15745 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15747 * docs/design/part-sparsestreams.txt:
15748 Update sparse streams doc, hopefully for greater clarity
15750 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15752 * docs/design/part-events.txt:
15753 Remove mention of FILLER events.
15756 * docs/design/part-sparsestreams.txt:
15757 Write some things about using NEWSEGMENT to keep sparse streams
15760 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15762 * gst/gstbin.c: (gst_bin_dispose):
15763 Guard gst_object_unref call against a NULL object (dispose
15764 can theoretically be called multiple times).
15766 2006-01-18 Wim Taymans <wim@fluendo.com>
15768 * gst/gstbin.c: (gst_bin_element_set_state):
15769 * gst/gstclock.c: (gst_clock_id_wait):
15770 Added some more debug info.
15772 * libs/gst/base/gstadapter.c:
15775 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15776 (gst_base_sink_do_sync), (gst_base_sink_chain):
15777 Added some comments.
15779 2006-01-18 Wim Taymans <wim@fluendo.com>
15781 * tests/check/Makefile.am:
15782 * tests/check/elements/fakesink.c: (chain_async_buffer),
15783 (chain_async), (chain_async_return), (GST_START_TEST),
15784 (fakesink_suite), (main):
15785 Added fakesink test that checks prerolling and clipping
15788 * tests/check/gst/gstutils.c: (GST_START_TEST):
15789 Make check run faster so that buildbots don't timeout.
15791 2006-01-18 Wim Taymans <wim@fluendo.com>
15793 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15794 (gst_base_sink_do_sync):
15796 When the sink finishes blocking on the preroll buffer, it can
15797 immediatly render it instead of rendering when the next buffer
15800 2006-01-18 Wim Taymans <wim@fluendo.com>
15802 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15803 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15804 (gst_base_sink_chain):
15806 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15807 Don't store _last_stop if the buffer is dropped.
15809 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15811 * plugins/elements/gsttypefindelement.c:
15812 (gst_type_find_element_class_init):
15813 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15814 object method handler that sets the caps on the pad and we want
15815 that to happen before we emit the signal (fixes e.g. feeding a
15816 plain text file to decodebin).
15818 2006-01-18 Christian Schaller <Christian@fluendo.com>
15820 * gst/gstplugin.c: Add MPL and Proprietary as license options
15822 2006-01-18 Andy Wingo <wingo@pobox.com>
15824 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15825 symbol was exported before, it appears this was just an oversight.
15827 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15829 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15830 prototype to gint. OK since this prototype was not in the header.
15832 2006-01-17 Andy Wingo <wingo@pobox.com>
15834 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15835 registry while we remove plugins.
15837 * tools/gst-inspect.c (print_element_info): Don't unref the
15838 factory arg, that should be the responsibility of whatever code
15839 received the ref. Fixes a double-free when called from
15840 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15841 (main): Unref the factory if we have one.
15842 (print_element_list): No change -- relies on the
15843 plugin_feature_list_free to free the list of features.
15845 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15847 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15848 (gst_buffer_make_metadata_writable):
15850 * libs/gst/base/gstbasetransform.c:
15851 (gst_base_transform_prepare_output_buf):
15852 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15853 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15854 Replace gst_buffer_(make|is)_metadata_writable patch now
15855 that the release is out.
15857 2006-01-17 Andy Wingo <wingo@pobox.com>
15859 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15860 in the present tense without reference to versions.
15862 * gst/gstregistry.c (gst_registry_add_plugin)
15863 (gst_registry_remove_plugin, gst_registry_remove_feature)
15864 (gst_registry_find_feature, gst_registry_get_feature_list)
15865 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15866 (gst_registry_lookup, gst_registry_scan_path)
15867 (_gst_registry_remove_cache_plugins)
15868 (gst_registry_get_feature_list_by_plugin): Add argument
15871 === release 0.10.2 ===
15873 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15876 releasing 0.10.2, "If man is five"
15878 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15882 * libs/gst/base/gstbasetransform.c:
15883 (gst_base_transform_prepare_output_buf):
15884 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15885 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15886 Back out patch until after the release.
15888 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15890 * gst/gstminiobject.c:
15891 Spelling fix in docs.
15892 * ChangeLog - remove conflict indicator
15894 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15896 Reviewed By: Andy Wingo
15898 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15899 (gst_buffer_make_metadata_writable):
15901 Add gst_buffer_(is|make)_metadata_writable as analogues of
15902 gst_buffer_(is|make)_writable.
15904 * libs/gst/base/gstbasetransform.c:
15905 (gst_base_transform_prepare_output_buf):
15906 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15907 Use name gst_buffer_(is|make)_metadata_writable functions.
15909 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15910 Test gst_buffer_(is|make)_metadata_writable
15914 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15916 * docs/manual/Makefile.am:
15917 don't do parallel make
15920 * win32/common/config.h.in:
15921 add generations for HOST_CPU and GST_MAJORMINOR
15922 * win32/common/config.h:
15923 commit generated result
15925 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15927 * docs/manual/appendix-integration.xml:
15928 Update GNOME integration section to use gst_init_get_option_group()
15929 instead of the old popt stuff (#322911). Also, GNOME applications
15930 should now use gconf*sink and gconf*src instead of the old gconf
15933 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15936 * docs/gst/gstreamer-docs.sgml:
15937 * docs/gst/gstreamer-sections.txt:
15938 * docs/libs/gstreamer-libs-sections.txt:
15939 add new API entries to the docs
15940 * libs/gst/controller/Makefile.am:
15941 * libs/gst/controller/gstcontroller.c:
15942 * libs/gst/controller/gstcontroller.h:
15943 * libs/gst/controller/gstcontrollerprivate.h:
15944 * libs/gst/controller/gsthelper.c:
15945 * libs/gst/controller/gstinterpolation.c:
15946 move private structs to private header
15948 gstreamer-0.7 -> gstreamer-0.10
15949 * tests/check/libs/struct_i386.h:
15950 remove private structs
15952 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15954 * plugins/indexers/Makefile.am:
15955 Fixes as part of #317048
15957 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15959 * plugins/indexers/Makefile.am:
15960 fix #316086 - compilation when mmap is missing
15962 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15964 * libs/gst/base/gstbasesink.c:
15965 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15966 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15967 * win32/common/config.h:
15968 added some defines GST_MAJORMINOR and HOST_CPU
15969 * win32/common/libgstbase.def:
15970 * win32/common/libgstreamer.def:
15971 added some exported functions.
15973 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15975 * libs/gst/controller/gstcontroller.c:
15976 (gst_controlled_property_set_interpolation_mode),
15977 (gst_controlled_property_new):
15978 * libs/gst/controller/gstcontroller.h:
15979 * libs/gst/controller/gstinterpolation.c:
15980 (interpolate_none_get_string_value_array):
15981 make G_TYPE_STRING controlable
15983 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15986 * tools/gst-feedback.1.in:
15987 * tools/gst-inspect.1.in:
15988 * tools/gst-launch.1.in:
15989 * tools/gst-md5sum.1.in:
15990 * tools/gst-typefind.1.in:
15991 * tools/gst-xmlinspect.1.in:
15992 * tools/gst-xmllaunch.1.in:
15993 cleanup man-pages, remove reference to gst-register, document env-vars
15995 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15997 * gst/gstbuffer.c: (gst_buffer_span):
15998 gst_buffer_span should copy the timestamp of the first buffer
15999 if they were both originally overlapping subbuffers of the
16000 same parent, using the same logic as the 'slow copy' case.
16002 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16004 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16005 Need to awaken ALL the pads when we pop a buffer, otherwise
16006 collectpads only works when there is 2 input streams.
16008 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16010 * docs/random/ensonic/media-device-daemon.txt:
16013 fix doc example, add clarification
16014 * tools/gst-launch.1.in:
16015 add initial info about GST_PLUGIN_PATH, needs more work
16017 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16019 * docs/manual/basics-bins.xml:
16020 * docs/manual/basics-elements.xml:
16021 * docs/manual/intro-basics.xml:
16022 Some more minor docs additions and updates.
16024 2006-01-11 Wim Taymans <wim@fluendo.com>
16026 * docs/manual/basics-bins.xml:
16027 * docs/manual/basics-elements.xml:
16028 Some small fixes as pointed out by Ser-ver on IRC.
16030 2006-01-10 Edward Hervey <edward@fluendo.com>
16032 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16033 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16034 the single-segment mode.
16036 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16038 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16040 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16041 (gst_base_src_perform_seek), (gst_base_src_send_event),
16042 (gst_base_src_set_property), (gst_base_src_get_property),
16043 (gst_base_src_loop), (gst_base_src_start),
16044 (gst_base_src_activate_push):
16045 * libs/gst/base/gstbasesrc.h:
16046 Name (private) union; makes Sun's Forte compiler happy (#324900).
16048 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16051 gst-register is gone.
16053 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16055 * gst/gstvalue.c: (_gst_value_initialize):
16056 make the G_TYPE_DATE instantiation work if debug is disabled
16058 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16060 * gst/gstmessage.c: (gst_message_parse_tag),
16061 (gst_message_parse_error), (gst_message_parse_warning):
16062 Don't crash when return location for error/warning debug
16063 string is NULL; add fact that return locations can be
16064 NULL to docs where appropriate.
16066 2006-01-05 Wim Taymans <wim@fluendo.com>
16068 * gst/gstplugin.c: (gst_plugin_load_file):
16069 Replace strdup by g_strdup.
16071 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16073 * docs/pwg/advanced-types.xml:
16076 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16078 submitted by: Abel Cheung
16082 Added Chinese (traditional) translation
16084 2006-01-04 Wim Taymans <wim@fluendo.com>
16086 * docs/manual/basics-pads.xml:
16087 * docs/plugins/Makefile.am:
16088 * docs/plugins/gstreamer-plugins-docs.sgml:
16089 * docs/plugins/gstreamer-plugins-sections.txt:
16090 * docs/pwg/advanced-clock.xml:
16091 * docs/pwg/advanced-scheduling.xml:
16092 * docs/pwg/advanced-types.xml:
16093 * plugins/elements/gstfdsink.c:
16094 * plugins/elements/gstfdsrc.c:
16095 * plugins/elements/gstfdsrc.h:
16096 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16097 * plugins/elements/gstidentity.h:
16098 * plugins/elements/gstqueue.h:
16099 * plugins/elements/gsttee.c:
16100 * plugins/elements/gsttee.h:
16101 * plugins/elements/gsttypefindelement.c:
16102 (gst_type_find_element_class_init):
16103 * plugins/elements/gsttypefindelement.h:
16104 Small updates to various docs.
16105 Added core plugins to docs.
16107 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16110 add a suppression for liboil's uninitialized variable
16112 2006-01-02 James Livingston <jrl at ids dot org dot au>
16114 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16117 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16118 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16119 compiler switch is being used (#325429).
16121 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16123 * gst/gstbin.c: (gst_bin_query):
16124 Disable duration query caching in bins until it gets
16125 fixed (see #324807).
16127 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16129 * tools/gst-inspect.c: (print_element_properties_info):
16130 Handle properties of POINTER and BOXED type.
16132 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16134 * gst/gst.c: (init_post):
16135 Init tags stuff and some other things before loading
16136 any static plugins (there may be other static plugins
16137 than just the GStreamer ones, and they may want to
16138 register their own tags or formats or whatever, and
16139 preferably without segfaulting).
16141 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16142 Print at least a warning in the debug logs if we drop a
16143 query just because we don't know how to adjust the value
16144 in the particular format.
16146 2005-12-24 David Schleef <ds@schleef.org>
16148 * tools/gstreamer-completion:
16149 Replacement for gst-complete written in sh and sed. Only
16150 completes names of features, but that's 90% of what I want
16151 it for. Properties are not available in registry.xml. (Maybe
16154 === release 0.10.1 ===
16156 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16159 releasing 0.10.1, "Nollaig chridheil"
16161 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16163 * docs/faq/cvs.xml:
16164 Add missing quote, should be make ERROR_CFLAGS="".
16166 2005-12-20 Wim Taymans <wim@fluendo.com>
16168 * docs/design/part-trickmodes.txt:
16169 More documentation on trickmodes.
16171 2005-12-20 Edward Hervey <edward@fluendo.com>
16173 * gst/gstcaps.c: (gst_static_caps_get_type):
16175 API addition: GST_TYPE_STATIC_CAPS
16176 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16177 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16178 * gst/gstpadtemplate.h:
16179 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16180 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16183 2005-12-18 Wim Taymans <wim@fluendo.com>
16185 * libs/gst/base/gstadapter.c:
16186 * libs/gst/base/gstadapter.h:
16187 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16188 (gst_base_sink_get_position):
16189 * libs/gst/base/gstbasesink.h:
16190 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16191 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16192 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16193 (gst_base_src_send_event), (gst_base_src_update_length),
16194 (gst_base_src_get_range), (gst_base_src_loop),
16195 (gst_base_src_start):
16196 * libs/gst/base/gstbasesrc.h:
16197 * libs/gst/base/gstbasetransform.h:
16198 * libs/gst/base/gstcollectpads.h:
16199 * libs/gst/base/gstpushsrc.c:
16200 * libs/gst/base/gstpushsrc.h:
16201 * libs/gst/dataprotocol/dataprotocol.c:
16202 * libs/gst/dataprotocol/dataprotocol.h:
16203 * libs/gst/net/gstnetclientclock.h:
16204 * libs/gst/net/gstnettimeprovider.h:
16205 Documentation updates.
16207 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16209 * docs/manual/basics-helloworld.xml:
16210 Remove superfluous closing bracket in helloworld example.
16212 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16214 * tools/gst-launch.1.in:
16215 Update gst-launch man page; add a section with useful
16216 environment variables. Fixes #323882.
16218 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16221 * gst/gst_private.h:
16222 change some char* into char[]
16224 2005-12-16 Wim Taymans <wim@fluendo.com>
16226 * gst/gstregistryxml.c: (load_feature):
16228 Don't use g_object_unref on GstObjects so that we avoid
16229 leaks on unsafe glibs.
16231 2005-12-16 Wim Taymans <wim@fluendo.com>
16233 * gst/gstbin.c: (gst_bin_recalc_state):
16236 2005-12-16 Wim Taymans <wim@fluendo.com>
16238 * common/check.mak:
16239 Added make forever target for check.
16241 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16243 * gst/gst.c: (init_post):
16244 make the registry cache file HOST_CPU-dependent
16246 2005-12-16 Andy Wingo <wingo@pobox.com>
16248 * plugins/elements/gstbufferstore.c
16249 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16252 * tests/check/gst/gstobject.c
16253 (test_fake_object_name_threaded_unique): Pay attention to
16254 g_list_sort return value.
16256 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16258 * tools/gst-feedback-m.m:
16259 Update for 0.9/0.10 (fixes #323870).
16261 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16263 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16264 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16266 * tests/check/gst/gstminiobject.c: (my_foo_init),
16267 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16268 (test_value_collection), (gst_mini_object_suite):
16269 Add test to ensure refcounts end up as expected when passing
16270 GstMiniObjects through g_object_get() and g_object_set().
16272 2005-12-14 Julien MOUTTE <julien@moutte.net>
16274 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16275 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16276 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16277 of collectpads. This version removes a lot of races without
16278 touching API/ABI. Yay !
16280 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16282 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16283 Don't allow activation of a srcpad in pull_range if it has no
16285 Change some debug statements to be a little clearer
16287 * plugins/elements/gsttypefindelement.c:
16288 (gst_type_find_handle_src_query):
16289 Check that we have a peer before executing queries thereupon.
16291 * tests/examples/metadata/read-metadata.c: (message_loop):
16292 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16293 immediately return us any available message with 0 timeout.
16295 2005-12-12 Michael Smith <msmith@fluendo.com>
16297 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16298 Don't unref factories after calling them.
16299 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16300 * plugins/elements/gsttypefindelement.c:
16301 (gst_type_find_element_chain):
16302 Free lists of factories after using them. Fixing typefinding memory
16305 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16307 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16308 (gst_plugin_feature_load):
16309 more meaningful debug output
16311 * tests/Makefile.am:
16312 * tests/old/examples/Makefile.am:
16313 make make distcheck happy again
16315 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16317 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16318 Catch the special case where we are operating chain-based,
16319 but the downstream peer pad has no chain function. Emit a
16320 custom error message in this case instead of letting the
16321 core generate one implying that this is some sort of core
16322 bug. It's not, it just means that whatever got plugged
16323 into the pipeline downstream when we announced the type
16324 can only operate pull-based, while our source can only
16325 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16326 Error string has not been marked for translation yet, as
16327 it probably needs some more work first.
16329 (gst_type_find_element_get_best_possibility):
16330 Add helper function to find the best of all available
16331 found possibilities that qualify given the min. threshold.
16333 (gst_type_find_element_handle_event):
16334 Fix the case where we get an EOS while still in TYPEFIND
16335 mode (we want to chose the best of all possible types,
16336 not just the first type that happens to be in our unsorted
16337 list of possible types).
16339 (gst_type_find_element_chain):
16340 Make sure we return GST_FLOW_ERROR when we errored out
16341 in stop_typefinding(); also, don't just find the best of
16342 all found type entries and then use the last examined
16343 type entry, but actually use the best entry.
16345 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16347 * tests/examples/typefind/typefind.c: (type_found):
16348 * tests/examples/xml/runxml.c: (xml_loaded):
16349 More gcc4 fixes and a mem leak fix.
16351 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16353 * tests/examples/xml/createxml.c: (object_saved):
16356 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16358 * tests/Makefile.am:
16359 enable the examples even more
16361 2005-12-12 Andy Wingo <wingo@pobox.com>
16363 * libs/gst/net/gstnettimeprovider.c
16364 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16365 (gst_net_time_provider_set_property)
16366 (gst_net_time_provider_get_property):
16367 API addition: Export "active" as a GObject property.
16368 (gst_net_time_provider_thread): Only respond to time queries if
16369 the time provider is active.
16371 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16372 NetTimeProvider, preserving binary compat.
16374 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16376 * tests/examples/controller/audio-example.c: (main):
16377 * tests/examples/launch/Makefile.am:
16378 convert comments again
16380 2005-12-12 Wim Taymans <wim@fluendo.com>
16382 * libs/gst/base/gstpushsrc.c:
16385 2005-12-12 Wim Taymans <wim@fluendo.com>
16387 * docs/libs/gstreamer-libs-sections.txt:
16388 Added new symbol to docs.
16390 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16391 (gst_base_src_init), (gst_base_src_set_format),
16392 (gst_base_src_default_query), (gst_base_src_query),
16393 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16394 (gst_base_src_perform_seek), (gst_base_src_send_event),
16395 (gst_base_src_default_event), (gst_base_src_event_handler),
16396 (gst_base_src_set_property), (gst_base_src_get_property),
16397 (gst_base_src_wait), (gst_base_src_do_sync),
16398 (gst_base_src_update_length), (gst_base_src_get_range),
16399 (gst_base_src_check_get_range), (gst_base_src_loop),
16400 (gst_base_src_default_negotiate), (gst_base_src_start),
16401 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16402 (gst_base_src_change_state):
16403 * libs/gst/base/gstbasesrc.h:
16404 Implement seeking to other formats than _BYTES.
16405 Implement more seeking methods correctly.
16407 Added query vmethod.
16408 Added do_seek vmethod to make life easier for subclasses
16410 API addition: gst_base_src_set_format()
16412 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16414 * tests/examples/Makefile.am:
16417 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16420 * docs/random/ensonic/media-device-daemon.txt:
16421 * tests/examples/controller/.cvsignore:
16422 * tests/examples/controller/Makefile.am:
16423 * tests/examples/controller/audio-example.c: (main):
16424 * tests/examples/helloworld/.cvsignore:
16425 * tests/examples/helloworld/Makefile.am:
16426 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16427 * tests/examples/launch/.cvsignore:
16428 * tests/examples/launch/Makefile.am:
16429 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16430 * tests/examples/metadata/.cvsignore:
16431 * tests/examples/metadata/Makefile.am:
16432 * tests/examples/metadata/read-metadata.c: (message_loop),
16433 (make_pipeline), (print_tag), (main):
16434 * tests/examples/queue/.cvsignore:
16435 * tests/examples/queue/Makefile.am:
16436 * tests/examples/queue/queue.c: (event_loop), (main):
16437 * tests/examples/typefind/.cvsignore:
16438 * tests/examples/typefind/Makefile.am:
16439 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16441 * tests/examples/xml/.cvsignore:
16442 * tests/examples/xml/Makefile.am:
16443 * tests/examples/xml/createxml.c: (object_saved), (main):
16444 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16445 * tests/old/examples/Makefile.am:
16446 * tests/old/examples/TODO:
16447 * tests/old/examples/controller/.cvsignore:
16448 * tests/old/examples/controller/Makefile.am:
16449 * tests/old/examples/controller/audio-example.c:
16450 * tests/old/examples/helloworld/.cvsignore:
16451 * tests/old/examples/helloworld/Makefile.am:
16452 * tests/old/examples/helloworld/helloworld.c:
16453 * tests/old/examples/launch/.cvsignore:
16454 * tests/old/examples/launch/Makefile.am:
16455 * tests/old/examples/launch/mp3parselaunch.c:
16456 * tests/old/examples/launch/mp3play:
16457 * tests/old/examples/manual/Makefile.am:
16458 * tests/old/examples/metadata/Makefile.am:
16459 * tests/old/examples/metadata/read-metadata.c:
16460 * tests/old/examples/queue/.cvsignore:
16461 * tests/old/examples/queue/Makefile.am:
16462 * tests/old/examples/queue/queue.c:
16463 * tests/old/examples/typefind/.cvsignore:
16464 * tests/old/examples/typefind/Makefile.am:
16465 * tests/old/examples/typefind/typefind.c:
16466 * tests/old/examples/xml/.cvsignore:
16467 * tests/old/examples/xml/Makefile.am:
16468 * tests/old/examples/xml/createxml.c:
16469 * tests/old/examples/xml/runxml.c:
16470 applied some simple fixing to some examples
16471 re-enabled the working examples
16473 2005-12-12 Wim Taymans <wim@fluendo.com>
16475 * gst/gstsegment.c: (gst_segment_init),
16476 (gst_segment_set_last_stop), (gst_segment_set_seek),
16477 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16478 (gst_segment_to_running_time):
16479 Added more documentation.
16480 Make sure the last_pos value is updated properly.
16481 Make sure to_stream_time and to_running_time don't
16482 operate on wrong values.
16484 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16487 2005-12-12 Michael Smith <msmith@fluendo.com>
16489 * plugins/elements/gsttypefindelement.c: (free_entry),
16490 (gst_type_find_element_chain):
16491 Now that we're not leaking factories, make sure we keep references
16492 to them while we need them.
16494 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16496 * tests/check/gst/struct_i386.h:
16497 ifdef out the XML structs
16499 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16501 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16502 floor is not needed, F is always positive; this obviates the
16503 need for adding -lm when building without libxml
16505 2005-12-12 Wim Taymans <wim@fluendo.com>
16507 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16508 Take current playback rate into account when reporting
16511 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16513 * docs/manual/mime-world.fig:
16514 Let's try this again, this time with a file that is
16515 actually in XFig format.
16517 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16519 * docs/manual/mime-world.fig:
16520 Add audioconvert element to diagram so that it
16521 matches the text and the code (fixes #319526).
16523 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16525 * docs/pwg/building-chainfn.xml:
16526 * docs/pwg/building-pads.xml:
16527 * docs/pwg/building-state.xml:
16528 * docs/pwg/other-source.xml:
16529 Update state change stuff for 0.10 (fixes #322969).
16531 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16533 * docs/manual/advanced-dataaccess.xml:
16534 * docs/manual/appendix-checklist.xml:
16535 * docs/manual/appendix-programs.xml:
16536 * docs/manual/basics-pads.xml:
16537 * docs/manual/highlevel-components.xml:
16538 * docs/manual/manual.xml:
16539 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16540 add converters in front of pipelines; remove curly
16541 brackets for threads stuff, they no longer exist; use
16542 GST_TYPE_FRACTION for framerates; update some pieces of
16543 code to 0.10, but there's plenty more to do.
16545 * docs/manual/appendix-porting.xml:
16546 Expand on asynchroneous state changes; s/0.9/0.10/;
16547 mention disappearance of gst_init_get_popt_table()
16550 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16552 * docs/faq/using.xml:
16553 Spider no longer exists, and neither does gst-launch-ext.
16554 Update examples to use decodebin and playbin and put
16555 converters in front of sinks (fixes #323726).
16557 2005-12-09 Michael Smith <msmith@fluendo.com>
16559 * plugins/elements/gsttypefindelement.c: (find_peek),
16560 (gst_type_find_element_chain):
16561 Fix leaking element factories in typefinding.
16562 Fix problem where we forgot about a probable type on non-seekable
16563 files, and thus later mis-typefound it.
16565 2005-12-09 Michael Smith <msmith@fluendo.com>
16567 * common/m4/gst-makecontext.m4:
16568 * common/m4/gst-mcsc.m4:
16570 * win32/common/config.h:
16571 * win32/common/config.h.in:
16572 Remove makecontext stuff; not used in 0.10 and causes problems on
16573 HPUX according to bug #322441
16575 2005-12-07 Wim Taymans <wim@fluendo.com>
16577 * tests/check/Makefile.am:
16578 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16580 * tests/check/libs/struct_i386.h:
16581 Added ABI check for libs
16583 2005-12-07 Wim Taymans <wim@fluendo.com>
16585 * tests/check/Makefile.am:
16586 And add the struct_i386.h to dist.
16588 2005-12-07 Wim Taymans <wim@fluendo.com>
16590 * tests/check/Makefile.am:
16591 * tests/check/gst/.cvsignore:
16592 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16594 * tests/check/gst/struct_i386.h:
16595 Added check for ABI compatibility.
16597 2005-12-07 Wim Taymans <wim@fluendo.com>
16599 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16600 (gst_fake_src_get_times), (gst_fake_src_create):
16601 Fix broken sync option, fixes #323259
16603 2005-12-07 Wim Taymans <wim@fluendo.com>
16608 * gst/gstcaps.c: (gst_caps_is_equal):
16609 Don't assert on NULL <--> X. Fixes #323260
16611 * gst/gstminiobject.c: (gst_mini_object_replace):
16612 If we're doing atomic operations, we might just as well use
16613 the proper way to get an atomic pointer.
16615 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16616 Clean up debugging.
16618 2005-12-07 Michael Smith <msmith@fluendo.com>
16620 * gst/parse/grammar.y:
16621 Remove handling of { } for threads.
16623 2005-12-06 David Schleef <ds@schleef.org>
16625 * libs/gst/base/gstbasetransform.c: speling fix.
16627 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16629 * docs/libs/tmpl/gstdataprotocol.sgml:
16630 * docs/random/omega/testing/gstobject.c:
16633 * gst/gstelement.c:
16634 * gst/gstelementfactory.c:
16637 * gst/gstghostpad.c:
16639 * gst/gstpadtemplate.c:
16640 * gst/gstregistryxml.c:
16641 * gst/gsttaglist.c:
16642 * gst/gsttagsetter.c:
16643 * gst/gsttypefind.c:
16645 * libs/gst/base/gstbasesrc.c:
16646 * libs/gst/net/gstnetclientclock.c:
16647 * libs/gst/net/gstnettimeprovider.c:
16648 * plugins/elements/gstfakesrc.c:
16649 * plugins/elements/gstfdsrc.c:
16650 * plugins/elements/gstfilesrc.c:
16651 * plugins/elements/gstidentity.c:
16652 * plugins/elements/gstqueue.c:
16653 * plugins/elements/gsttypefindelement.c:
16654 * plugins/indexers/gstfileindex.c:
16655 * plugins/indexers/gstmemindex.c:
16656 * tests/check/gst/gsttag.c:
16657 * tests/old/examples/cutter/cutter.c:
16658 * tests/old/examples/mixer/mixer.c:
16659 * tests/old/examples/xml/runxml.c: (main):
16660 * tests/old/testsuite/caps/normalisation.c:
16661 * tests/old/testsuite/debug/global.c:
16662 * tests/old/testsuite/parse/parse1.c:
16663 * tools/gst-xmlinspect.c:
16664 * win32/common/dirent.c:
16667 === release 0.10.0 ===
16669 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16672 releasing 0.10.0, "Maroilles"
16674 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16676 submitted by: Funda Wang <fundawang@linux.net.cn>
16680 added Chinese (Traditional) translation
16682 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16684 * docs/gst/gstreamer-sections.txt:
16685 * docs/libs/tmpl/gstdataprotocol.sgml:
16686 * docs/random/thomasvs/TODO:
16691 2005-12-05 Andy Wingo <wingo@pobox.com>
16693 patch by: Wim Taymans <wim@fluendo.com>
16695 * libs/gst/base/gstbasetransform.c
16696 (gst_base_transform_prepare_output_buf)
16697 (gst_base_transform_buffer_alloc):
16698 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16699 alloc_buffer_and_set_caps.
16701 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16702 set_caps on the source pad.
16703 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16704 alloc_buffer used to do. Fixes #322874.
16706 * docs/gst/gstreamer-sections.txt:
16707 * docs/design/part-negotiation.txt:
16708 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16711 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16713 patch by: Sebastien Moutte
16716 * win32/common/config.h.in:
16717 * win32/vs6/libgstcontroller.dsp:
16720 2005-12-05 Wim Taymans <wim@fluendo.com>
16722 * gst/gstcaps.c: (gst_caps_is_equal):
16723 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16724 (gst_fake_src_create):
16725 Back out previous code changes, leave doc updates, file bugs
16728 2005-12-05 Wim Taymans <wim@fluendo.com>
16730 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16731 (gst_fake_src_get_times), (gst_fake_src_create):
16732 * plugins/elements/gstfakesrc.h:
16733 Fix broken sync code.
16735 2005-12-05 Wim Taymans <wim@fluendo.com>
16737 * gst/gstcaps.c: (gst_caps_is_equal):
16738 Comparing NULL against !NULL yields different caps, not a
16741 2005-12-05 Wim Taymans <wim@fluendo.com>
16743 * gst/gstpipeline.c:
16744 Fix small typo in docs.
16746 2005-12-05 Andy Wingo <wingo@pobox.com>
16748 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16750 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16751 registries/plugins with a MAJORMINOR one.
16752 (plugin_desc): Rename library from gstcoreleements to
16753 staticelements. Fixes #323222.
16755 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16757 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16758 Change debug category to 'collectpads' from 'collect_pads'
16761 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16763 patch by: Sebastien Moutte
16765 * libs/gst/controller/gstinterpolation.c:
16766 use convert function for uint64/double
16767 * win32/vs6/libgstcontroller.dsp:
16770 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16772 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16773 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16775 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16776 add tests that seem to show that the guint64/gdouble conversions
16779 2005-12-02 Wim Taymans <wim@fluendo.com>
16781 * gst/gstregistry.c: (gst_registry_add_path):
16782 * gst/gstregistry.h:
16783 * gst/gstregistryxml.c:
16786 2005-12-02 Wim Taymans <wim@fluendo.com>
16788 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16789 (gst_util_uint64_scale_int):
16792 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16793 Add debug log line.
16795 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16798 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16801 * win32/common/config.h:
16802 * win32/vs6/gstreamer.dsw:
16803 * win32/vs6/libgstcoreelements.dsp:
16804 * win32/vs6/libgstelements.dsp:
16805 renamed core elements plugin
16807 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16809 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16811 do piece-wise major/minor comparison so 0.9 < 0.10
16812 also allow .exe extensions for tools
16814 2005-12-02 Michael Smith <msmith@fluendo.com>
16817 Escape a % to make gtkdoc happier; bug 322958.
16819 === release 0.9.7 ===
16821 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16824 releasing 0.9.7, "My Dog Has No Nose"
16826 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16828 * common/gst-xmlinspect.py:
16830 * docs/libs/tmpl/gstdataprotocol.sgml:
16831 * docs/random/release:
16850 * win32/common/config.h:
16851 * win32/common/config.h.in:
16852 * win32/vs6/gst_inspect.dsp:
16853 * win32/vs6/gst_launch.dsp:
16854 * win32/vs6/libgstbase.dsp:
16855 * win32/vs6/libgstelements.dsp:
16856 * win32/vs6/libgstreamer.dsp:
16857 * win32/vs7/GStreamer.vcproj:
16858 * win32/vs7/gst-inspect.vcproj:
16859 * win32/vs7/gst-launch.vcproj:
16860 * win32/vs7/libgstbase.vcproj:
16861 bump GST_MAJORMINOR to 0.10
16862 reset libtool version
16864 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16868 Added Bulgarian translation by (Alexander Shopov)
16870 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16872 * tests/check/gst/gstplugin.c:
16875 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16877 * common/gst-xmlinspect.py:
16878 * common/gtk-doc-plugins.mak:
16880 * docs/Makefile.am:
16881 * docs/gst/Makefile.am:
16882 * docs/gst/gstreamer-docs.sgml:
16883 * docs/gst/gstreamer-sections.txt:
16884 * docs/gst/gstreamer.types:
16885 * docs/gst/gstreamer.types.in:
16886 * docs/plugins/Makefile.am:
16887 * docs/plugins/gstreamer-plugins-docs.sgml:
16888 * docs/plugins/gstreamer-plugins-sections.txt:
16889 * docs/plugins/gstreamer-plugins.types:
16890 * docs/plugins/inspect.stamp:
16891 * docs/plugins/inspect/plugin-coreelements.xml:
16892 * docs/plugins/inspect/plugin-coreindexers.xml:
16893 * docs/plugins/scanobj-build.stamp:
16894 * gstreamer.spec.in:
16895 * plugins/elements/Makefile.am:
16896 * plugins/elements/gstelements.c:
16897 * plugins/elements/gstfakesink.c:
16898 * plugins/elements/gstfakesrc.c:
16899 * plugins/elements/gstfilesink.c:
16900 * plugins/elements/gstfilesrc.c:
16901 * plugins/elements/gstqueue.c:
16902 * plugins/indexers/Makefile.am:
16903 * plugins/indexers/gstindexers.c:
16904 document core plugins in a separate document just like all the
16906 rename these plugins to something starting with core
16908 2005-12-01 Andy Wingo <wingo@pobox.com>
16910 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16911 padding here before, but it missed the commit.
16913 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16915 * libs/gst/controller/gstinterpolation.c:
16916 whitespace prices have crashed, we should feel free to use some now
16917 use gst_guint64_to_gdouble
16919 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16921 * libs/gst/controller/gstcontroller.c:
16922 * libs/gst/controller/gsthelper.c:
16923 * libs/gst/controller/gstinterpolation.c:
16924 * libs/gst/controller/lib.c:
16925 wrap config.h include
16927 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16929 * docs/gst/gstreamer-sections.txt:
16932 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16934 * plugins/elements/gstelements.c:
16935 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16936 (gst_fd_sink__class_init), (gst_fd_sink__init),
16937 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16938 (gst_fd_sink__get_property):
16939 * plugins/elements/gstfdsink.h:
16940 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16941 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16942 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16943 (gst_fd_src_unlock), (gst_fd_src_set_property),
16944 (gst_fd_src_get_property), (gst_fd_src_create),
16945 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16946 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16947 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16948 (gst_fd_src_uri_handler_init):
16949 * plugins/elements/gstfdsrc.h:
16950 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16953 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16955 * docs/gst/Makefile.am:
16956 * docs/gst/gstreamer.types.in:
16960 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16966 * gst/gstregistry.h:
16967 * tests/benchmarks/complexity.c:
16968 * tests/benchmarks/mass-elements.c:
16969 * tests/check/Makefile.am:
16970 * tools/Makefile.am:
16971 * tools/gst-inspect.c:
16972 * tools/gst-xmlinspect.c:
16973 various fixes to make
16974 --disable-nls --disable-registry --disable-loadsave
16975 --disable-parse --disable-gst-debug
16976 work and get the core .so down to 360444 bytes after stripping
16978 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16983 * docs/random/thomasvs/TODO:
16984 * tests/Makefile.am:
16988 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16990 * win32/GStreamer.vcproj:
16993 * win32/Makefile.inspect:
16994 * win32/Makefile.launch:
16995 * win32/Makefile.register:
16996 * win32/README.txt:
16997 * win32/gst-inspect.vcproj:
16998 * win32/gst-launch.vcproj:
16999 * win32/gst-register.vcproj:
17000 * win32/gstelements.vcproj:
17001 * win32/gstgetbits.def:
17002 * win32/gstgetbits.vcproj:
17003 * win32/gstreamer-dbg.def:
17004 * win32/gstreamer.def:
17005 * win32/libgstbase.def:
17006 * win32/libgstbase.vcproj:
17007 * win32/link_oldruntime.c:
17011 * win32/msvc71.sln:
17012 move even more stuff, win32/ is nice and clean now
17014 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17016 * libs/gst/control/.cvsignore:
17021 * win32/gstbytestream.def:
17022 * win32/gstbytestream.vcproj:
17023 * win32/gstconfig.h:
17024 * win32/gstenumtypes.c:
17025 * win32/gstenumtypes.h:
17026 * win32/gstoptimalscheduler.vcproj:
17027 * win32/gstversion.h:
17029 * win32/testsuite/bins.vcproj:
17030 * win32/testsuite/bytestream.vcproj:
17031 * win32/testsuite/caps.vcproj:
17032 * win32/testsuite/cleanup.vcproj:
17033 * win32/testsuite/clock.vcproj:
17034 * win32/testsuite/debug.vcproj:
17035 * win32/testsuite/dlopen.vcproj:
17036 * win32/testsuite/dynparams.vcproj:
17037 * win32/testsuite/elements.vcproj:
17038 * win32/testsuite/ghostpads.vcproj:
17039 * win32/testsuite/indexers.vcproj:
17040 * win32/testsuite/negotiation.vcproj:
17041 * win32/testsuite/parse.vcproj:
17042 * win32/testsuite/plugin.vcproj:
17043 * win32/testsuite/refcounting.vcproj:
17044 * win32/testsuite/schedulers.vcproj:
17045 * win32/testsuite/states.vcproj:
17046 * win32/testsuite/tags.vcproj:
17047 * win32/testsuite/threads.vcproj:
17048 remove old win32 stuff that isn't maintained and should be
17051 2005-11-30 Andy Wingo <wingo@pobox.com>
17053 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17054 loading the gst.interfaces python module bork.
17056 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17057 available since GLib 2.2. Fixes #318031.
17059 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17062 * check/.cvsignore:
17063 * check/Makefile.am:
17064 * check/elements/.cvsignore:
17065 * check/elements/fakesrc.c:
17066 * check/elements/fdsrc.c:
17067 * check/elements/identity.c:
17068 * check/generic/.cvsignore:
17069 * check/generic/states.c:
17070 * check/gst-libs/.cvsignore:
17071 * check/gst-libs/controller.c:
17072 * check/gst-libs/gdp.c:
17073 * check/gst/.cvsignore:
17074 * check/gst/capslist.h:
17076 * check/gst/gstbin.c:
17077 * check/gst/gstbuffer.c:
17078 * check/gst/gstbus.c:
17079 * check/gst/gstcaps.c:
17080 * check/gst/gstelement.c:
17081 * check/gst/gstevent.c:
17082 * check/gst/gstghostpad.c:
17083 * check/gst/gstiterator.c:
17084 * check/gst/gstmessage.c:
17085 * check/gst/gstminiobject.c:
17086 * check/gst/gstobject.c:
17087 * check/gst/gstpad.c:
17088 * check/gst/gstpipeline.c:
17089 * check/gst/gstplugin.c:
17090 * check/gst/gstsegment.c:
17091 * check/gst/gststructure.c:
17092 * check/gst/gstsystemclock.c:
17093 * check/gst/gsttag.c:
17094 * check/gst/gstutils.c:
17095 * check/gst/gstvalue.c:
17096 * check/net/.cvsignore:
17097 * check/net/gstnetclientclock.c:
17098 * check/net/gstnettimeprovider.c:
17099 * check/pipelines/.cvsignore:
17100 * check/pipelines/cleanup.c:
17101 * check/pipelines/simple_launch_lines.c:
17102 * check/pipelines/stress.c:
17103 * check/states/.cvsignore:
17104 * check/states/sinks.c:
17106 * examples/Makefile.am:
17107 * examples/appreader/.cvsignore:
17108 * examples/appreader/Makefile.am:
17109 * examples/appreader/appreader.c:
17110 * examples/controller/.cvsignore:
17111 * examples/controller/Makefile.am:
17112 * examples/controller/audio-example.c:
17113 * examples/cutter/.cvsignore:
17114 * examples/cutter/Makefile.am:
17115 * examples/cutter/cutter.c:
17116 * examples/cutter/cutter.h:
17117 * examples/events/Makefile.am:
17118 * examples/events/seek.c:
17119 * examples/helloworld/.cvsignore:
17120 * examples/helloworld/Makefile.am:
17121 * examples/helloworld/helloworld.c:
17122 * examples/helloworld2/.cvsignore:
17123 * examples/helloworld2/Makefile.am:
17124 * examples/helloworld2/helloworld2.c:
17125 * examples/launch/.cvsignore:
17126 * examples/launch/Makefile.am:
17127 * examples/launch/mp3parselaunch.c:
17128 * examples/launch/mp3play:
17129 * examples/manual/.cvsignore:
17130 * examples/manual/Makefile.am:
17131 * examples/manual/extract.pl:
17132 * examples/metadata/Makefile.am:
17133 * examples/metadata/read-metadata.c:
17134 * examples/mixer/.cvsignore:
17135 * examples/mixer/Makefile.am:
17136 * examples/mixer/mixer.c:
17137 * examples/mixer/mixer.h:
17138 * examples/pingpong/.cvsignore:
17139 * examples/pingpong/Makefile.am:
17140 * examples/pingpong/pingpong.c:
17141 * examples/plugins/.cvsignore:
17142 * examples/plugins/Makefile.am:
17143 * examples/plugins/example.c:
17144 * examples/plugins/example.h:
17145 * examples/pwg/.cvsignore:
17146 * examples/pwg/Makefile.am:
17147 * examples/pwg/extract.pl:
17148 * examples/queue/.cvsignore:
17149 * examples/queue/Makefile.am:
17150 * examples/queue/queue.c:
17151 * examples/queue2/.cvsignore:
17152 * examples/queue2/Makefile.am:
17153 * examples/queue2/queue2.c:
17154 * examples/queue3/.cvsignore:
17155 * examples/queue3/Makefile.am:
17156 * examples/queue3/queue3.c:
17157 * examples/queue4/.cvsignore:
17158 * examples/queue4/Makefile.am:
17159 * examples/queue4/queue4.c:
17160 * examples/retag/.cvsignore:
17161 * examples/retag/Makefile.am:
17162 * examples/retag/retag.c:
17163 * examples/retag/transcode.c:
17164 * examples/thread/.cvsignore:
17165 * examples/thread/Makefile.am:
17166 * examples/thread/thread.c:
17167 * examples/typefind/.cvsignore:
17168 * examples/typefind/Makefile.am:
17169 * examples/typefind/typefind.c:
17170 * examples/xml/.cvsignore:
17171 * examples/xml/Makefile.am:
17172 * examples/xml/createxml.c:
17173 * examples/xml/runxml.c:
17174 * tests/Makefile.am:
17175 * tests/check/Makefile.am:
17176 * testsuite/.cvsignore:
17177 * testsuite/Makefile.am:
17179 * testsuite/caps/.cvsignore:
17180 * testsuite/caps/Makefile.am:
17181 * testsuite/caps/app_fixate.c:
17182 * testsuite/caps/audioscale.c:
17183 * testsuite/caps/caps.c:
17184 * testsuite/caps/caps.h:
17185 * testsuite/caps/caps_strings:
17186 * testsuite/caps/compatibility.c:
17187 * testsuite/caps/deserialize.c:
17188 * testsuite/caps/enumcaps.c:
17189 * testsuite/caps/eratosthenes.c:
17190 * testsuite/caps/filtercaps.c:
17191 * testsuite/caps/fixed.c:
17192 * testsuite/caps/fraction-convert.c:
17193 * testsuite/caps/fraction-multiply-and-zero.c:
17194 * testsuite/caps/intersect2.c:
17195 * testsuite/caps/intersection.c:
17196 * testsuite/caps/normalisation.c:
17197 * testsuite/caps/random.c:
17198 * testsuite/caps/renegotiate.c:
17199 * testsuite/caps/sets.c:
17200 * testsuite/caps/simplify.c:
17201 * testsuite/caps/string-conversions.c:
17202 * testsuite/caps/structure.c:
17203 * testsuite/caps/subtract.c:
17204 * testsuite/caps/union.c:
17205 * testsuite/debug/.cvsignore:
17206 * testsuite/debug/Makefile.am:
17207 * testsuite/debug/category.c:
17208 * testsuite/debug/commandline.c:
17209 * testsuite/debug/global.c:
17210 * testsuite/debug/output.c:
17211 * testsuite/debug/printf_extension.c:
17212 * testsuite/dlopen/.cvsignore:
17213 * testsuite/dlopen/Makefile.am:
17214 * testsuite/dlopen/dlopen_gst.c:
17215 * testsuite/dlopen/loadgst.c:
17216 * testsuite/elements/.cvsignore:
17217 * testsuite/elements/Makefile.am:
17218 * testsuite/elements/gst-inspect-check.in:
17219 * testsuite/elements/struct_i386.h:
17220 * testsuite/elements/struct_size.c:
17221 * testsuite/indexers/.cvsignore:
17222 * testsuite/indexers/Makefile.am:
17223 * testsuite/indexers/cache1.c:
17224 * testsuite/indexers/indexdump.c:
17225 * testsuite/parse/.cvsignore:
17226 * testsuite/parse/Makefile.am:
17227 * testsuite/parse/parse1.c:
17228 * testsuite/parse/parse2.c:
17229 * testsuite/plugin/.cvsignore:
17230 * testsuite/plugin/Makefile.am:
17231 * testsuite/plugin/README:
17232 * testsuite/plugin/dynamic.c:
17233 * testsuite/plugin/linked.c:
17234 * testsuite/plugin/loading.c:
17235 * testsuite/plugin/registry.c:
17236 * testsuite/plugin/static.c:
17237 * testsuite/plugin/static2.c:
17238 * testsuite/plugin/testplugin.c:
17239 * testsuite/plugin/testplugin2.c:
17240 * testsuite/plugin/testplugin2_s.c:
17241 * testsuite/plugin/testplugin_s.c:
17242 * testsuite/refcounting/.cvsignore:
17243 * testsuite/refcounting/Makefile.am:
17244 * testsuite/refcounting/bin.c:
17245 * testsuite/refcounting/element.c:
17246 * testsuite/refcounting/element_pad.c:
17247 * testsuite/refcounting/mainloop.c:
17248 * testsuite/refcounting/mem.c:
17249 * testsuite/refcounting/mem.h:
17250 * testsuite/refcounting/object.c:
17251 * testsuite/refcounting/pad.c:
17252 * testsuite/refcounting/sched.c:
17253 * testsuite/refcounting/thread.c:
17254 * testsuite/states/.cvsignore:
17255 * testsuite/states/Makefile.am:
17256 * testsuite/states/bin.c:
17257 * testsuite/states/locked.c:
17258 * testsuite/states/parent.c:
17259 * testsuite/threads/.cvsignore:
17260 * testsuite/threads/159566.c:
17261 * testsuite/threads/159852.c:
17262 * testsuite/threads/Makefile.am:
17263 * testsuite/threads/queue.c:
17264 * testsuite/threads/signals.c:
17265 * testsuite/threads/staticrec.c:
17266 * testsuite/threads/thread.c:
17267 * testsuite/threads/threadb.c:
17268 * testsuite/threads/threadc.c:
17269 * testsuite/threads/threadd.c:
17270 * testsuite/threads/threade.c:
17271 * testsuite/threads/threadf.c:
17272 * testsuite/threads/threadg.c:
17273 * testsuite/threads/threadh.c:
17274 * testsuite/threads/threadi.c:
17275 move all of these under tests
17277 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17280 * tests/Makefile.am:
17283 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17285 * docs/gst/gstreamer-sections.txt:
17286 * tests/sched/.cvsignore:
17287 * tests/sched/Makefile.am:
17288 * tests/sched/cases/(fs-fs).xml:
17289 * tests/sched/cases/(fs-i-fs).xml:
17290 * tests/sched/cases/(fs-i-i-fs).xml:
17291 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17292 * tests/sched/dynamic-pipeline.c:
17293 * tests/sched/interrupt1.c:
17294 * tests/sched/interrupt2.c:
17295 * tests/sched/interrupt3.c:
17296 * tests/sched/runtestcases:
17297 * tests/sched/runxml.c:
17298 * tests/sched/sched-stress.c:
17299 * tests/sched/sort.c:
17300 * tests/sched/testcases:
17301 * tests/sched/testcases1.tc:
17302 * tests/seeking/.cvsignore:
17303 * tests/seeking/Makefile.am:
17304 * tests/seeking/seeking1.c:
17305 * tests/threadstate/.cvsignore:
17306 * tests/threadstate/Makefile.am:
17307 * tests/threadstate/test1.c:
17308 * tests/threadstate/test2.c:
17309 * tests/threadstate/threadstate1.c:
17310 * tests/threadstate/threadstate2.c:
17311 * tests/threadstate/threadstate3.c:
17312 * tests/threadstate/threadstate4.c:
17313 * tests/threadstate/threadstate5.c:
17314 remove obsolete tests
17316 * tests/bench-complexity.scm:
17317 * tests/bench-mass_elements.scm:
17318 * tests/complexity.c:
17319 * tests/complexity.gnuplot:
17320 * tests/instantiate/.cvsignore:
17321 * tests/instantiate/Makefile.am:
17322 * tests/instantiate/caps.c:
17323 * tests/mass_elements.c:
17324 * tests/network-clock-utils.scm:
17325 * tests/network-clock.scm:
17327 First pass at cleaning up tests/ dir before moving the rest
17328 Combined with CVS surgery
17330 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17333 queue has moved, update
17335 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17337 * docs/gst/gstreamer-sections.txt:
17338 remove double entries from the docs
17339 * gst/gst_private.h:
17340 * gst/gstinfo.c: (_gst_debug_init):
17341 remove the THREAD debug category
17345 * docs/gst/gstreamer.types:
17346 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17347 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17348 completely move queue and fix up debugging categories
17350 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17352 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17353 make initialization portable, using LL is not
17355 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17357 * win32/common/gstconfig.h:
17360 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17362 * win32/common/libgstreamer.def:
17363 rename symbols; sort base section
17365 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17367 * gst/gstclock.c: (do_linear_regression):
17368 remove crack non-portable handrolled DEBUG macro
17370 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17372 * docs/random/release:
17374 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17375 (gst_object_flags_get_type), (register_gst_bin_flags),
17376 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17377 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17378 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17379 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17380 (gst_caps_flags_get_type), (register_gst_clock_return),
17381 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17382 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17383 (gst_clock_flags_get_type), (register_gst_state),
17384 (gst_state_get_type), (register_gst_state_change_return),
17385 (gst_state_change_return_get_type), (register_gst_state_change),
17386 (gst_state_change_get_type), (register_gst_element_flags),
17387 (gst_element_flags_get_type), (register_gst_core_error),
17388 (gst_core_error_get_type), (register_gst_library_error),
17389 (gst_library_error_get_type), (register_gst_resource_error),
17390 (gst_resource_error_get_type), (register_gst_stream_error),
17391 (gst_stream_error_get_type), (register_gst_event_type_flags),
17392 (gst_event_type_flags_get_type), (register_gst_event_type),
17393 (gst_event_type_get_type), (register_gst_seek_type),
17394 (gst_seek_type_get_type), (register_gst_seek_flags),
17395 (gst_seek_flags_get_type), (register_gst_format),
17396 (gst_format_get_type), (register_gst_index_certainty),
17397 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17398 (gst_index_entry_type_get_type),
17399 (register_gst_index_lookup_method),
17400 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17401 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17402 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17403 (gst_index_flags_get_type), (register_gst_debug_level),
17404 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17405 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17406 (gst_iterator_result_get_type), (register_gst_iterator_item),
17407 (gst_iterator_item_get_type), (register_gst_message_type),
17408 (gst_message_type_get_type), (register_gst_mini_object_flags),
17409 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17410 (gst_pad_link_return_get_type), (register_gst_flow_return),
17411 (gst_flow_return_get_type), (register_gst_activate_mode),
17412 (gst_activate_mode_get_type), (register_gst_pad_direction),
17413 (gst_pad_direction_get_type), (register_gst_pad_flags),
17414 (gst_pad_flags_get_type), (register_gst_pad_presence),
17415 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17416 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17417 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17418 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17419 (gst_plugin_flags_get_type), (register_gst_rank),
17420 (gst_rank_get_type), (register_gst_query_type),
17421 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17422 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17423 (gst_tag_flag_get_type), (register_gst_task_state),
17424 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17425 (gst_alloc_trace_flags_get_type),
17426 (register_gst_type_find_probability),
17427 (gst_type_find_probability_get_type), (register_gst_uri_type),
17428 (gst_uri_type_get_type), (register_gst_parse_error),
17429 (gst_parse_error_get_type):
17430 * win32/common/gstenumtypes.h:
17431 * win32/common/gstversion.h:
17432 update visual studio generated files
17434 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17436 * win32/vs6/libgstbase.dsp:
17437 * win32/vs6/libgstelements.dsp:
17438 update project files for new locations
17440 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17445 reinstate and update
17450 * docs/random/LICENSE:
17453 2005-11-30 Edward Hervey <edward@fluendo.com>
17455 * gst/gsttypefind.c: (gst_type_find_register):
17456 * gst/gsttypefind.h:
17457 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17458 (gst_type_find_factory_dispose):
17459 * gst/gsttypefindfactory.h:
17460 Fix memory leak in GstTypeFindFactory.
17462 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17465 * plugins/elements/Makefile.am:
17466 * plugins/elements/gstelements.c:
17467 * plugins/elements/gstqueue.c:
17468 move queue from core to the elements plugin
17470 2005-11-29 Andy Wingo <wingo@pobox.com>
17472 * libs/gst/base/gstbasetransform.h:
17473 * libs/gst/base/gstbasesrc.h:
17474 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17476 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17477 of pointers by which to pad very extensible base classes (like the
17478 ones in libs/gst/base).
17480 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17482 * docs/gst/gstreamer-docs.sgml:
17483 * docs/gst/gstreamer-sections.txt:
17484 * docs/libs/gstreamer-libs-docs.sgml:
17485 * docs/libs/gstreamer-libs-sections.txt:
17486 moving documentation from core to lib
17488 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17490 * check/Makefile.am:
17492 * docs/gst/Makefile.am:
17494 * gst/base/.cvsignore:
17495 * gst/base/Makefile.am:
17497 * gst/base/gstadapter.c:
17498 * gst/base/gstadapter.h:
17499 * gst/base/gstbasesink.c:
17500 * gst/base/gstbasesink.h:
17501 * gst/base/gstbasesrc.c:
17502 * gst/base/gstbasesrc.h:
17503 * gst/base/gstbasetransform.c:
17504 * gst/base/gstbasetransform.h:
17505 * gst/base/gstcollectpads.c:
17506 * gst/base/gstcollectpads.h:
17507 * gst/base/gstpushsrc.c:
17508 * gst/base/gstpushsrc.h:
17509 * gst/base/gsttypefindhelper.c:
17510 * gst/base/gsttypefindhelper.h:
17511 * gst/check/Makefile.am:
17512 * gst/check/gstcheck.c:
17513 * gst/check/gstcheck.h:
17514 * gst/net/Makefile.am:
17515 * gst/net/gstnet.h:
17516 * gst/net/gstnetclientclock.c:
17517 * gst/net/gstnetclientclock.h:
17518 * gst/net/gstnettimepacket.c:
17519 * gst/net/gstnettimepacket.h:
17520 * gst/net/gstnettimeprovider.c:
17521 * gst/net/gstnettimeprovider.h:
17522 * libs/gst/Makefile.am:
17523 * libs/gst/base/Makefile.am:
17524 * libs/gst/base/gstbasetransform.c:
17525 * libs/gst/check/Makefile.am:
17526 * plugins/elements/Makefile.am:
17528 CVS surgery + support to move base, check, and net out of gst
17531 2005-11-29 Andy Wingo <wingo@pobox.com>
17533 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17535 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17538 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17540 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17542 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17544 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17545 padding; reduces object size by about 30%. We don't expect
17546 anything else to go into gstobject.
17548 * gst/gstminiobject.h (struct _GstMiniObject)
17549 (struct _GstMiniObjectClass): Only one pointer of padding; the
17550 payload is only a pointer and two ints anyway. For the class there
17551 are only two methods as well.
17553 * gst/gstelement.h (struct _GstElementClass): Removed
17554 the state_changed signal callback, it is not used.
17556 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17558 * docs/gst/gstreamer.types:
17559 fix includes, though they are a little dinky
17561 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17563 * check/Makefile.am:
17564 look in the right place for elements, a lot more chance of
17567 remove indexers and elements subdirs
17568 * plugins/Makefile.am:
17569 make indexers conditional
17571 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17575 * plugins/elements/Makefile.am:
17576 * plugins/elements/gstcapsfilter.c:
17577 * plugins/elements/gstfilesink.c:
17578 * plugins/elements/gstfilesrc.c:
17579 * plugins/elements/gstidentity.c:
17580 * plugins/indexers/Makefile.am:
17581 do CVS surgery and related build fixery to move elements
17582 and indexers in a new gstreamer/plugins directory, out of the
17585 2005-11-29 Andy Wingo <wingo@pobox.com>
17587 * check/Makefile.am:
17588 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17589 * pkgconfig/gstreamer-net.pc.in:
17590 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17593 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17595 * tools/Makefile.am:
17596 * tools/gst-complete.1.in:
17597 * tools/gst-complete.c:
17598 * tools/gst-compprep.1.in:
17599 * tools/gst-compprep.c:
17600 removing -compprep and -complete
17602 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17604 * gst/gstevent.c: (gst_event_new_new_segment),
17605 (gst_event_parse_new_segment):
17607 fix #320529 - clean up new_segment API and structure.
17608 Let's hope everyone was using the methods, and not the structure.
17610 2005-11-29 Edward Hervey <edward@fluendo.com>
17612 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17613 (gst_base_sink_event), (gst_base_sink_do_sync),
17614 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17615 Properly handle non GST_FORMAT_TIME segment
17616 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17617 Properly handle non GST_FORMAT_TIME segment
17618 * gst/gstsegment.c:
17619 This function is valid if the accumulator is 0 and the format
17620 is different from the requested format.
17622 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17624 * docs/gst/gstreamer-sections.txt:
17625 Add gst_query_new_seeking and gst_query_parse_seeking to the
17628 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17630 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17631 Treat a pad alloc with new caps the same as if we were not
17632 negotiated, in order to allow a changing upstream output
17633 to produce a new format of data.
17635 2005-11-29 Edward Hervey <edward@fluendo.com>
17637 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17638 (gst_base_transform_event), (gst_base_transform_eventfunc):
17639 The event virtual method is now properly implemented, with a default
17641 Sub classes should call the parent_class event method. They should
17642 return FALSE if they had a problem handling the given event, or don't
17643 want GstBaseTransform to send that even downstream
17644 * gst/elements/gstidentity.c: (gst_identity_class_init),
17645 (gst_identity_init), (gst_identity_event),
17646 (gst_identity_transform_ip), (gst_identity_set_property),
17647 (gst_identity_get_property):
17648 * gst/elements/gstidentity.h:
17649 Added the single-segment boolean property.
17650 If set to TRUE, it will output a single segment of data, starting from
17651 0, will eat up all incoming newsegment, and modify the timestamp of the
17652 buffers accordingly
17654 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17656 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17657 Don't ref NULL target pad (#322751). Improve docs.
17659 2005-11-29 Michael Smith <msmith@fluendo.com>
17661 * gst/gstregistryxml.c: (load_plugin):
17662 Don't crash if we failed to load a feature from a plugin.
17664 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17666 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17668 use more check API and less GLib API
17670 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17673 don't run checks if we don't have check
17674 * common/check.mak:
17675 remove the registry when running make torture
17676 * docs/gst/gstreamer-sections.txt:
17677 remove second multiply
17678 * gst/gstqueue.c: (gst_queue_loop):
17679 fix a compile warning when disabling debug
17681 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17684 Hey! Let's print the pad name if the pointer != NULL instead
17685 of when it == NULL :-)
17687 2005-11-28 Wim Taymans <wim@fluendo.com>
17689 * check/gst/gstutils.c: (GST_START_TEST):
17690 Updated check, add some scaling accuracy checking code.
17692 * gst/gstutils.c: (gst_util_div128_64),
17693 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17694 (gst_util_uint64_scale_int):
17695 Fix 6 times faster division code. Optimize for common
17696 1/1 and less common X/1 cases.
17698 2005-11-28 Wim Taymans <wim@fluendo.com>
17700 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17703 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17704 (do_linear_regression), (gst_clock_add_observation):
17706 Release lock when the clock cannot be slaved.
17707 Catch the case where the regression returned an invalid denominator.
17709 * gst/gstutils.c: (gst_util_div128_64_iterate),
17710 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17711 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17712 Add protentially more performant non-iterative 128/64 divide function
17713 that unfortunatly does not work yet.
17714 Shortcut the trivial 0/X = 0 case.
17715 Remove the warnings on overflow.
17717 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17719 * gst/gstplugin.c: (gst_plugin_register_func):
17720 everything causing a plugin not to load should be at least a WARNING
17722 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17724 * docs/random/ensonic/dparams.txt:
17725 some TODOs for the next dev cycle
17726 * libs/gst/controller/gstcontroller.c:
17727 (gst_controlled_property_set_interpolation_mode),
17728 (gst_controlled_property_new):
17729 * libs/gst/controller/gstcontroller.h:
17730 use base type to assign acccessor functions
17732 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17734 * check/Makefile.am:
17735 Oops, that should have been top_srcdir
17737 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17739 * check/Makefile.am:
17740 * check/elements/fdsrc.c: (GST_START_TEST):
17741 Use a cmdline define to specify the location of a file to use for
17742 testing, to avoid breaking distcheck.
17744 2005-11-28 Andy Wingo <wingo@pobox.com>
17746 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17748 2005-11-28 Edward Hervey <edward@fluendo.com>
17750 * tools/gst-launch.c: (main):
17751 Clarify the output strings, makes it easier to translate.
17754 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17757 don't try and build net if we don't even have <sys/socket.h>
17759 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17761 * check/Makefile.am:
17762 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17763 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17764 Add tests for fdsrc seekability
17766 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17767 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17768 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17769 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17770 * gst/elements/gstfdsrc.h:
17771 fdsrc should not be a 'live' source.
17772 Implement seeking on seekable fd's.
17774 * gst/gstquery.c: (gst_query_new_seeking),
17775 (gst_query_parse_seeking):
17777 Implement SEEKING query functions:
17778 *_new_seeking and *_parse_seeking
17780 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17782 * gst/gstelement.c: (gst_element_dispose):
17785 * gst/gstiterator.c:
17786 * gst/gststructure.c:
17789 * libs/gst/controller/gstcontroller.c:
17790 (gst_controlled_property_set_interpolation_mode):
17791 * libs/gst/controller/gstcontroller.h:
17792 * libs/gst/controller/gstinterpolation.c:
17793 (interpolate_none_get_enum_value_array):
17794 support controlling enums
17796 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17799 Improve documentation for gst_value_union().
17802 Change return value for union, intersect and subtract functions
17803 from gint to gboolean.
17805 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17807 * gst/gstvalue.c: (gst_value_serialize_any_list),
17808 (gst_value_transform_any_list_string),
17809 (gst_value_deserialize_list), (gst_value_deserialize_array),
17810 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17811 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17812 (gst_value_set_fraction_range_full),
17813 (gst_value_deserialize_fraction_range),
17814 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17815 (gst_value_deserialize_boolean),
17816 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17817 (gst_value_serialize_float), (gst_value_deserialize_float),
17818 (gst_string_wrap), (gst_value_deserialize_string),
17819 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17820 (gst_value_union_int_range_int_range),
17821 (gst_value_intersect_int_range_int_range),
17822 (gst_value_intersect_double_range_double_range),
17823 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17824 (gst_value_subtract_int_range_int_range),
17825 (gst_value_subtract_double_double_range),
17826 (gst_value_subtract_double_range_double_range),
17827 (gst_value_deserialize_fraction):
17829 Use gint, gdouble and gchar in our API instead of int, double and
17830 char (and make usage in gstvalue.c more consistent).
17832 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17834 * check/Makefile.am:
17835 * libs/gst/controller/Makefile.am:
17836 * libs/gst/dataprotocol/Makefile.am:
17837 fix up Makefile.am and remove GST_ENABLE_NEW
17839 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17843 * gst/base/Makefile.am:
17844 * gst/check/Makefile.am:
17845 * gst/elements/Makefile.am:
17846 * gst/net/Makefile.am:
17847 update LDFLAGS use some more
17849 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17851 * common/m4/gst-doc.m4:
17854 2005-11-26 Edward Hervey <edward@fluendo.com>
17856 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17857 This shouldn't issue a g_warning since it returns NULL if it
17858 couldn't find the plugin, and all functions using this behave
17859 properly on a NULL return. Switching to a GST_WARNING.
17861 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17863 * gst/gstbin.c: (gst_bin_handle_message_func):
17864 Don't leak clock messages.
17866 2005-11-25 Wim Taymans <wim@fluendo.com>
17868 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17869 (gst_util_uint64_scale_int):
17870 Optimisations, remove unneeded vars.
17872 2005-11-25 Wim Taymans <wim@fluendo.com>
17874 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17875 Added more checks for the high precision uint64 cases.
17877 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17878 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17879 Implement high precision (guint64 * guint64) / guint64.
17881 2005-11-24 Wim Taymans <wim@fluendo.com>
17883 * gst/base/gstbasesrc.c: (gst_base_src_query):
17884 Fix wrong percentage query.
17886 * gst/gstutils.c: (gst_util_uint64_scale),
17887 (gst_util_uint64_scale_int):
17888 Add some more common cases that can be handled
17889 efficiently to _scale.
17891 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17893 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17894 (gst_mini_object_suite):
17895 don't use check calls from threads; check probably isn't
17896 threadsafe and using a lock to make it threadsafe would
17897 defeat the purpose of this check
17898 * gst/check/gstcheck.c:
17899 * gst/check/gstcheck.h:
17900 use GST_DEBUG some more
17902 2005-11-24 Wim Taymans <wim@fluendo.com>
17904 * gst/gstutils.c: (gst_util_uint64_scale),
17905 (gst_util_uint64_scale_int):
17906 Chain trivial case to _scale_int.
17908 2005-11-24 Wim Taymans <wim@fluendo.com>
17910 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17911 Added test for scaling.
17916 * gst/gstutils.c: (gst_util_uint64_scale_int):
17917 Implemented high precision scaling code.
17919 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17922 do not crash on pad==NULL
17924 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17926 Patch by: Stefan Kost
17928 * common/gtk-doc.mak:
17929 * docs/gst/Makefile.am:
17930 * docs/libs/Makefile.am:
17931 Fix distcheck issues for the libraries docs build
17934 2005-11-24 Michael Smith <msmith@fluendo.com>
17936 * docs/manual/basics-helloworld.xml:
17937 Fix bug #315027: memory leak in example code in docs.
17939 2005-11-24 Michael Smith <msmith@fluendo.com>
17941 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17942 Unlock the PREROLL_LOCK in a failure case.
17944 2005-11-24 Wim Taymans <wim@fluendo.com>
17946 * docs/gst/gstreamer-sections.txt:
17947 * gst/base/gstadapter.h:
17948 * gst/base/gstbasesink.h:
17949 * gst/base/gstbasesrc.h:
17950 * gst/base/gstbasetransform.h:
17951 * gst/base/gstpushsrc.h:
17952 * gst/elements/gstfakesink.h:
17953 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17954 * gst/elements/gstfakesrc.h:
17955 * gst/elements/gstfilesink.h:
17956 * gst/elements/gstfilesrc.h:
17959 * gst/gstbuffer.c: (_gst_buffer_copy):
17962 * gst/gstchildproxy.c:
17964 * gst/gstelement.c:
17965 * gst/gstelementfactory.c:
17966 * gst/gstelementfactory.h:
17968 * gst/gstghostpad.h:
17970 * gst/gstinterface.h:
17971 * gst/gstminiobject.c:
17972 * gst/gstminiobject.h:
17975 * gst/gstpadtemplate.h:
17976 * gst/gstpipeline.h:
17977 * gst/gstpluginfeature.h:
17980 * gst/gsttaglist.c:
17981 * gst/gsttaglist.h:
17982 * gst/gsttagsetter.c:
17983 * gst/gsttagsetter.h:
17986 * gst/gsttypefind.h:
17989 * gst/net/gstnetclientclock.c:
17990 * gst/net/gstnetclientclock.h:
17991 * gst/net/gstnettimepacket.c:
17992 * gst/net/gstnettimeprovider.c:
17993 * gst/net/gstnettimeprovider.h:
17996 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17998 * configure.ac: back to HEAD
18000 === release 0.9.6 ===
18002 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18005 releasing 0.9.6, "Always On Time"
18007 2005-11-23 Wim Taymans <wim@fluendo.com>
18009 * docs/gst/gstreamer-sections.txt:
18010 * gst/glib-compat.c:
18011 * gst/gsttagsetter.c:
18013 * gst/net/gstnetclientclock.c:
18014 * gst/net/gstnettimepacket.h:
18017 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18019 * docs/faq/using.xml:
18020 * docs/libs/tmpl/gstcontrol.sgml:
18021 * docs/manual/advanced-dparams.xml:
18022 * docs/manual/appendix-checklist.xml:
18023 * docs/manual/basics-elements.xml:
18024 * docs/pwg/other-source.xml:
18025 * docs/random/moving-plugins:
18027 * tools/gst-launch.1.in:
18028 remove mentions of sinesrc
18030 2005-11-23 Michael Smith <msmith@fluendo.com>
18032 * docs/gst/gstreamer-sections.txt:
18033 Update for new API and API changes.
18035 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18037 Documentation typo fix.
18038 * gst/net/gstnettimepacket.c:
18039 Documentation fixes for arguments.
18041 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18043 * gst/gststructure.c: (gst_structure_get_fraction),
18044 (gst_structure_parse_value),
18045 (gst_structure_fixate_field_nearest_fraction):
18046 * gst/gststructure.h:
18047 * gst/gstutils.c: (gst_util_uint64_scale_int):
18049 * scripts/update-funcnames:
18051 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18052 Make gst_structure_fixate_field_nearest_fraction take a numerator
18053 and denominator argument instead of a GValue
18054 add gst_structure_get_fraction helper function.
18056 2005-11-23 Wim Taymans <wim@fluendo.com>
18058 * docs/design/part-TODO.txt:
18061 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18062 * gst/net/gstnetclientclock.h:
18063 Use parent fields for timeout and window_size.
18065 2005-11-23 Andy Wingo <wingo@pobox.com>
18067 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18068 rate_num/rate_denom change.
18070 * gst/net/gstnetclientclock.c
18071 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18072 OBJECT_LOCK. Don't call add_observation with the lock.
18074 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18076 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18078 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18079 deal with rate as a fraction whose numerator and denominator are
18080 GstClockTime values.
18081 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18082 master; the other fields are protected by the SLAVE_LOCK.
18083 (do_linear_regression): Note that this must be called with the
18085 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18086 OBJECT_LOCK. Call set_calibration instead of touching the
18087 variables directly.
18088 (gst_clock_set_property, gst_clock_get_property): Protect
18089 master/slave parameters with the SLAVE_LOCK.
18091 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18092 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18093 note that all of the instance variables that add_observation and
18094 the set_master functions use are protected by that lock and not
18096 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18098 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18099 the caller to take the object lock.
18101 2005-11-23 Wim Taymans <wim@fluendo.com>
18103 * gst/gsterror.c: (_gst_core_errors_init):
18105 Add error for clock stuff.
18107 * gst/gstpipeline.c: (gst_pipeline_change_state),
18108 (gst_pipeline_set_clock):
18109 Post clock error when clock cannot be used in a pipeline.
18111 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18113 * docs/gst/gstreamer-sections.txt:
18114 make two symbols from gstinfo private for the docs
18115 * gst/base/gstcollectpads.h:
18117 fix doc typos, update docs
18119 2005-11-22 Wim Taymans <wim@fluendo.com>
18121 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18122 (gst_base_sink_wait), (gst_base_sink_do_sync),
18123 (gst_base_sink_handle_event):
18124 * gst/base/gstbasesink.h:
18125 No need to store the clock, the parent element class already
18128 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18129 Updates for clock_set returning a gboolean
18131 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18132 (gst_clock_id_wait_async), (gst_clock_class_init),
18133 (gst_clock_init), (gst_clock_finalize),
18134 (gst_clock_get_internal_time), (gst_clock_get_time),
18135 (gst_clock_slave_callback), (gst_clock_set_master),
18136 (gst_clock_get_master), (do_linear_regression),
18137 (gst_clock_add_observation), (gst_clock_set_property),
18138 (gst_clock_get_property):
18140 Implement master/slave. When setting a clock as a slave, a
18141 periodic timeout is scheduled to sample master and slave times.
18142 Then the slave clock is recalibrated to match offset and rate
18143 of the master clock.
18144 Update logging a bit.
18145 Add flag so that a clock can state that is cannot be slaved to
18148 * gst/gstelement.c: (gst_element_set_clock):
18149 * gst/gstelement.h:
18150 The set clock returns a gboolean for when an element cannot
18151 deal with the selected clock in the pipeline.
18153 * gst/gstpipeline.c: (gst_pipeline_change_state),
18154 (gst_pipeline_set_clock):
18155 * gst/gstpipeline.h:
18156 Handle the case where the selected clock cannot be set on
18159 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18160 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18161 (gst_net_client_clock_set_property),
18162 (gst_net_client_clock_get_property),
18163 (gst_net_client_clock_observe_times):
18164 * gst/net/gstnetclientclock.h:
18165 Use regression code in GstClock parent, remove duplicated
18168 2005-11-22 Michael Smith <msmith@fluendo.com>
18170 * gst/gstutils.c: (gst_util_clock_time_scale):
18172 * docs/gst/gstreamer-sections.txt:
18173 Rename method to have extra underscore.
18175 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18177 * gst/elements/Makefile.am:
18178 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18179 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18180 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18181 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18182 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18183 * gst/elements/gstfakesrc.h:
18184 * gst/gstqueue.c: (queue_leaky_get_type):
18185 correctly fix GEnumValues so that nick is the short lowercase
18187 * tools/gst-inspect.c: (print_element_properties_info):
18188 also show the nick, since it's useful to use from parse_launch
18192 2005-11-22 Michael Smith <msmith@fluendo.com>
18194 * gst/gstutils.c: (gst_util_clocktime_scale):
18196 * docs/gst/gstreamer-sections.txt:
18197 Add util method for scaling a clocktime by a fraction. Useful
18198 implementation is left as an exercise for the reader.
18200 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18202 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18203 If needed, allocate storage in the destination value during
18206 2005-11-22 Edward Hervey <edward@fluendo.com>
18208 * docs/gst/gstreamer-sections.txt:
18211 * gst/gsturitype.c:
18212 * gst/gsturitype.h:
18213 * gst/gstutils.c: (gst_util_set_object_arg):
18214 * tools/gst-compprep.c: (main):
18215 * tools/gst-inspect.c: (print_element_properties_info):
18216 Removed GstURI, closes bug #321061
18218 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18220 * check/gst/gststructure.c: (GST_START_TEST):
18221 * gst/gststructure.c: (gst_structure_parse_value):
18222 Oops, broke automatic string type parsing.
18223 Add a test to catch it in future.
18225 2005-11-22 Andy Wingo <wingo@pobox.com>
18227 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18228 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18229 Actually rename the function implementations. Grr.
18231 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18233 * check/gst/capslist.h:
18235 * check/gst/gststructure.c: (GST_START_TEST),
18236 (gst_structure_suite):
18237 Test automatic value type detection in gst_structure_from_string.
18238 * gst/gststructure.c: (gst_structure_parse_value):
18239 Add fraction as a type we try and guess automatically in
18240 caps/structure strings.
18242 2005-11-22 Andy Wingo <wingo@pobox.com>
18244 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18246 * gst/gsttagsetter.h:
18247 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18248 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18249 (gst_tag_setter_add_tag_valist)
18250 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18251 _add_values, _add_valist, and _add_valist_values. Since this is an
18252 interface the function suffixes should be more explicit so
18253 language binding don't end up with element.add_valist ->
18254 gst_tag_setter_add_valist, for example. Fixes #322069.
18256 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18258 * check/gst/gstcaps.c: (GST_START_TEST):
18259 Extend caps string tests to check that a caps to string
18260 conversion is reversible and produces the same caps.
18262 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18263 Output "fraction" as the generic type fraction range, so caps
18264 serialisation and deserialisation works.
18265 * check/gst/capslist.h:
18266 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18267 Support 'MIN' and 'MAX' for deserialising fractions.
18269 2005-11-22 Andy Wingo <wingo@pobox.com>
18271 * gst/gstevent.h (gst_event_new_new_segment)
18272 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18273 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18274 Renamed from *_newsegment, *_buffersize, *_notarget.
18276 * scripts/update-funcnames: New script, performs the changes
18279 2005-11-22 Wim Taymans <wim@fluendo.com>
18281 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18282 Make sure the GstFlowReturn is returned.
18284 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18285 (gst_bus_add_signal_watch):
18287 add gst_bus_add_signal_watch_full.
18289 * gst/gstplugin.c: (gst_plugin_load_file):
18290 Small style cleanup.
18292 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18294 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18295 Block the fakesrc srcpad when we send an event, to avoid
18296 contention on the stream_lock causing random test failures.
18298 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18300 * check/gst/gstvalue.c: (GST_START_TEST):
18301 * gst/gstvalue.c: (gst_value_fraction_subtract):
18304 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18307 include "gstchildproxy.h"
18308 * gst/gstchildproxy.h:
18309 * libs/gst/controller/gstcontroller.h:
18310 use G_GNUC_NULL_TERMINATED
18312 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18314 * check/gst/capslist.h:
18315 * check/gst/gstcaps.c: (GST_START_TEST):
18316 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18317 * gst/gststructure.c: (gst_structure_parse_range),
18318 (gst_structure_fixate_field_nearest_fraction):
18319 * gst/gststructure.h:
18320 * gst/gstvalue.c: (gst_value_init_fraction_range),
18321 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18322 (gst_value_collect_fraction_range),
18323 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18324 (gst_value_set_fraction_range_full),
18325 (gst_value_get_fraction_range_min),
18326 (gst_value_get_fraction_range_max),
18327 (gst_value_serialize_fraction_range),
18328 (gst_value_transform_fraction_range_string),
18329 (gst_value_compare_fraction_range),
18330 (gst_value_deserialize_fraction_range),
18331 (gst_value_intersect_fraction_fraction_range),
18332 (gst_value_intersect_fraction_range_fraction_range),
18333 (gst_value_subtract_fraction_fraction_range),
18334 (gst_value_subtract_fraction_range_fraction),
18335 (gst_value_subtract_fraction_range_fraction_range),
18336 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18337 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18338 (gst_value_transform_string_fraction), (_gst_value_initialize):
18340 Implement fraction ranges and extend GstFraction to support
18341 arithmetic subtraction, as well as deserialization from integer
18342 strings such as "100"
18343 Add a testsuite as for int and double range set operations
18345 2005-11-21 Andy Wingo <wingo@pobox.com>
18347 * gst/gsttaglist.h:
18349 * gst/gststructure.h: Add glib-compat.h.
18351 2005-11-21 Wim Taymans <wim@fluendo.com>
18353 * gst/gstbin.c: (gst_bin_change_state_func):
18356 2005-11-21 Wim Taymans <wim@fluendo.com>
18358 * gst/gstsegment.h:
18359 And add a nice define too.
18361 2005-11-21 Wim Taymans <wim@fluendo.com>
18363 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18364 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18365 (gst_segment_set_duration), (gst_segment_set_last_stop),
18366 (gst_segment_set_seek), (gst_segment_set_newsegment),
18367 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18368 (gst_segment_clip):
18369 * gst/gstsegment.h:
18370 Make binding friendly.
18372 2005-11-21 Andy Wingo <wingo@pobox.com>
18374 * gst/gsttagsetter.h:
18375 * gst/gsttaglist.h:
18376 * gst/gststructure.h:
18378 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18381 * gst/gsterror.c (_gst_core_errors_init):
18382 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18385 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18386 (noinst_HEADERS): noinst the -private.
18388 2005-11-21 Michael Smith <msmith@fluendo.com>
18391 * gst/gstregistry.h:
18392 Remove unimplemented declarations for which we can see no sensible
18395 2005-11-21 Andy Wingo <wingo@pobox.com>
18397 * gst/gst.h: Include glib-compat.h.
18399 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18401 * gst/glib-compat.c: Include the public and the private header.
18403 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18407 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18409 * check/gst/gstevent.c (create_custom_events): Check that
18410 FLUSH_STOP is serialized.
18412 * check/elements/identity.c (event_func):
18413 * check/elements/fakesrc.c (event_func): No stream lock, the core
18416 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18417 stream lock taking, yay.
18419 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18420 ensure that core takes the stream lock.
18422 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18425 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18426 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18427 it already. For the flush start we do take it though so we get the
18428 right preroll state change messages.
18430 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18431 the stream lock here, the core does it for us.
18433 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18434 GST_STREAM_GET_LOCK.
18435 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18436 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18437 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18438 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18439 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18440 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18442 * gst/gstpad.c: Update for stream lock name change.
18444 * gst/base/gstbasesink.c: Update for preroll lock name change.
18446 2005-11-21 Wim Taymans <wim@fluendo.com>
18448 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18449 (gst_clock_get_master):
18451 * gst/gstsystemclock.c: (gst_system_clock_init):
18452 Convert Clock flags to object flags.
18453 Added methods to manage master/slave clocks.
18455 2005-11-21 Wim Taymans <wim@fluendo.com>
18457 * check/gst/gstsegment.c: (GST_START_TEST):
18458 * docs/design/part-TODO.txt:
18459 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18460 (gst_base_sink_event), (gst_base_sink_do_sync),
18461 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18462 (gst_base_sink_query), (gst_base_sink_change_state):
18463 * gst/base/gstbasesink.h:
18464 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18465 (gst_base_src_default_newsegment),
18466 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18467 (gst_base_src_get_range), (gst_base_src_loop),
18468 (gst_base_src_change_state):
18469 * gst/base/gstbasesrc.h:
18470 * gst/base/gstbasetransform.c:
18471 (gst_base_transform_prepare_output_buf),
18472 (gst_base_transform_event), (gst_base_transform_change_state):
18473 * gst/base/gstbasetransform.h:
18474 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18475 (gst_collect_pads_event):
18476 * gst/base/gstcollectpads.h:
18477 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18478 (gst_fake_src_create):
18479 * gst/elements/gstfakesrc.h:
18480 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18481 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18482 (gst_segment_set_last_stop), (gst_segment_set_seek),
18483 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18484 (gst_segment_to_running_time), (gst_segment_clip):
18485 * gst/gstsegment.h:
18486 More segment updates, replace code in plugins with segment
18489 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18491 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18492 Don't ignore sscanf results
18494 2005-11-21 Andy Wingo <wingo@pobox.com>
18496 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18499 * *.c: Ran scripts/update-macros. Oh yes.
18501 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18502 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18505 * scripts/update-macros: New script. Run it on your files to
18506 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18509 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18511 * docs/gst/Makefile.am:
18512 * docs/gst/gstreamer-docs.sgml:
18513 * docs/gst/gstreamer-sections.txt:
18514 * docs/gst/gstreamer.types:
18516 more docs fixes, add new api to the docs
18518 2005-11-21 Andy Wingo <wingo@pobox.com>
18520 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18521 state_broadcast call.
18523 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18525 2005-11-21 Julien MOUTTE <julien@moutte.net>
18527 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18528 function calls for arrays.
18530 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18532 * docs/random/ensonic/media-device-daemon.txt:
18533 wild idea, can this be done?
18534 * docs/gst/gstreamer-sections.txt:
18539 * gst/gstpluginfeature.c:
18543 doc fixes and additions
18545 2005-11-21 Andy Wingo <wingo@pobox.com>
18547 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18548 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18549 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18550 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18551 private to the basesrc implementation.
18553 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18554 behalf of event function if necessary. It should no longer be
18555 necessary to take the stream lock in pad's event functions. Fixes
18558 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18559 * docs/gst/gstreamer-sections.txt:
18560 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18561 (gst_structure_fixate_field_nearest_double),
18562 (gst_structure_fixate_field_boolean):
18563 * gst/gststructure.h:
18564 * win32/common/libgstreamer.def:
18565 * win32/gstreamer.def:
18567 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18570 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18572 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18573 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18574 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18575 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18576 (gst_fdsrc_uri_handler_init):
18577 * gst/elements/gstfdsrc.h:
18578 Port fd:// URI handler from 0.8 to fdsrc
18580 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18582 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18583 (gst_value_serialize_fourcc):
18585 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18586 consistent with our other format defines (#320324).
18588 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18590 * gst/gstvalue.c: (gst_value_is_fixed):
18591 Revert previous commit. Value lists are by definition
18592 not fixed, as they are a list of possible values.
18594 2005-11-21 Andy Wingo <wingo@pobox.com>
18596 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18597 during the stable series if we need it. Fixes #319178.
18599 * gst/gstevent.c (gst_event_new_filler): Removed.
18601 * check/gst/gstevent.c: Update comment about filler events.
18603 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18605 * gst/gstvalue.c: (gst_value_is_fixed):
18606 Should handle both value arrays and value lists.
18608 2005-11-21 Andy Wingo <wingo@pobox.com>
18610 patch by: Alessandro Dessina <alessandro nnva org>
18612 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18613 functions to access arrays. Fixes #321962.
18615 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18617 * docs/gst/gstreamer.types:
18618 gst_collectpads_get_type => gst_collect_pads_get_type.
18620 * gst/base/gstbasetransform.c:
18621 Remove unused SIGNAL_HANDOFF enum.
18623 2005-11-21 Andy Wingo <wingo@pobox.com>
18625 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18626 the event type (upstream, downstream, serialized). Renamed
18627 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18628 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18629 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18631 * gst/gstevent.c: Update for new CUSTOM event names.
18633 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18636 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18639 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18641 * docs/gst/gstreamer-sections.txt:
18642 * win32/common/libgstbase.def:
18643 * win32/libgstbase.def:
18644 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18645 (gst_collect_pads_class_init), (gst_collect_pads_init),
18646 (gst_collect_pads_finalize), (gst_collect_pads_new),
18647 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18648 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18649 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18650 (gst_collect_pads_start), (gst_collect_pads_stop),
18651 (gst_collect_pads_peek), (gst_collect_pads_pop),
18652 (gst_collect_pads_available), (gst_collect_pads_read),
18653 (gst_collect_pads_flush), (gst_collect_pads_event),
18654 (gst_collect_pads_chain):
18655 * gst/base/gstcollectpads.h:
18656 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18657 unimplemented functions as unimplemented. Add padding to
18658 GstCollectData. (#320766, #320423)
18660 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18662 * gst/gstmessage.c:
18663 Improve docs for DURATION message (usage of duration parameter)
18666 2005-11-20 Wim Taymans <wim@fluendo.com>
18668 * check/Makefile.am:
18669 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18673 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18674 (gst_segment_set_seek), (gst_segment_set_newsegment),
18675 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18676 (gst_segment_clip):
18677 * gst/gstsegment.h:
18678 Added segment helper structure and methods. Not fully implemented
18680 Added segment check.
18682 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18684 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18685 Add a deserialisation test for fractions
18686 * examples/metadata/read-metadata.c: (message_loop),
18687 (make_pipeline), (main):
18688 Fix up metadata reading sample.
18689 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18691 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18692 Don't try and fixate empty caps
18693 * gst/gst_private.h:
18694 Wrap in G_BEGIN_DECLS/G_END_DECLS
18695 * gst/gstvalue.c: (gst_value_collect_fraction),
18696 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18697 (gst_value_transform_string_fraction),
18698 (gst_value_compare_fraction):
18699 Add some extra guards to ensure that we don't end up
18700 with an invalid denominator of 0 in a gstfraction and
18701 that fractions always get reduced.
18703 2005-11-20 Wim Taymans <wim@fluendo.com>
18705 * docs/gst/gstreamer-sections.txt:
18707 * gst/gstelement.c:
18716 2005-11-20 Wim Taymans <wim@fluendo.com>
18718 * docs/design/part-TODO.txt:
18720 Make a proper enum of the flag.
18722 2005-11-19 Wim Taymans <wim@fluendo.com>
18724 * docs/design/part-TODO.txt:
18725 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18726 (gst_format_to_quark), (gst_format_register):
18728 * gst/gstquery.c: (_gst_query_initialize),
18729 (gst_query_type_get_name), (gst_query_type_to_quark),
18730 (gst_query_type_register):
18732 Add type to quark and type to string conversions.
18734 2005-11-19 Andy Wingo <wingo@pobox.com>
18736 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18739 2005-11-19 Wim Taymans <wim@fluendo.com>
18741 * docs/design/part-TODO.txt:
18742 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18743 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18744 (gst_bin_handle_message_func):
18746 Make message handling overridable.
18748 2005-11-19 Andy Wingo <wingo@pobox.com>
18750 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18753 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18755 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18756 is a GstClockTime. Fixes #321710.
18758 * gst/gstclock.h (GstClock): Remove offset property. Add
18759 internal_calibration and external_calibration. Fix padding. Pad
18760 also by GstClockTime so we don't run into problems.
18762 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18763 (gst_clock_get_rate_offset): Remove.
18764 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18767 * gst/gstutils.c (g_static_rec_cond_wait)
18768 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18770 * gst/gstbin.c: Remove terrible continue_state prototype.
18772 * gst/gstelement.h (gst_element_continue_state): Make public.
18774 * gst/gstelement.h:
18775 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18776 by continue_state. Fixes #319389.
18778 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18779 Really fixes #168438. However I don't see anywhere where the
18780 filter function is called... stupid GStreamer...
18782 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18783 don't have a dispose function, so it won't get called when the
18784 object is unreffed, but oh well!
18786 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18787 allows a destroy function to be set so user_data can be freed.
18789 (gst_index_set_filter): Call gst_index_set_filter_full.
18791 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18793 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18794 string should produce an error, given the lack of a way to
18795 represent NULL strings. Fixes #165650.
18798 * gst/gstvalue.c (gst_value_array_append_value)
18799 (gst_value_array_prepend_value, gst_value_array_get_size)
18800 (gst_value_array_get_value): New API, copied from
18801 gst_value_list_*, only operates on arrays.
18802 (gst_value_list_append_value, gst_value_list_prepend_value)
18803 (gst_value_list_concat, gst_value_list_get_size)
18804 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18806 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18807 init_list, because it works on both.
18808 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18809 (gst_value_copy_list_or_array): Renamed from copy_list.
18810 (gst_value_free_list_or_array): Renamed from free_list.
18811 (gst_value_collect_list_or_array): Renamed from collect_list.
18812 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18813 (gst_value_list_or_array_peek_pointer): Renamed from
18815 (_gst_value_array_value_table, _gst_value_list_value_table):
18816 Update value table functions.
18817 (gst_value_compare_list_or_array): Renamed from compare_list.
18819 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18822 * gst/gsttaglist.c:
18823 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18824 GstTagList*. Fixes #143472.
18826 * gst/gststructure.h: Clarify what the foreach/map functions can
18827 or can't do to their arguments.
18829 2005-11-18 Wim Taymans <wim@fluendo.com>
18831 * gst/gstclock.c: (gst_clock_set_calibration),
18832 (gst_clock_get_calibration):
18834 Calibration can be set with internal time equal to current
18837 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18843 2005-11-18 Andy Wingo <wingo@pobox.com>
18846 * pkgconfig/gstreamer-net.pc.in:
18847 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18848 * pkgconfig/Makefile.am: Add net pkgconfig files.
18850 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18853 * gst/gstghostpad.c:
18859 2005-11-18 Andy Wingo <wingo@pobox.com>
18861 * gst/net/gstnetclientclock.c: Turn off debugging.
18863 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18864 times connverge somewhat. Can't make a real test.
18866 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18867 integer arithmetic. Return the minimum of the domain, which can be
18868 set as "internal" for gst_clock_set_calibration.
18869 (gst_net_client_clock_observe_times): Call _set_calibration.
18870 (gst_net_client_clock_new): Call _set_calibration instead of
18873 * check/net/gstnetclientclock.c (test_functioning): Use the right
18877 * gst/gstclock.c (gst_clock_get_calibration)
18878 (gst_clock_set_calibration): New functions, obsolete the ones I
18879 added yesterday. Doh. Precision issues mean we have to extrapolate
18880 from a point in the more recent past than 1970.
18881 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18883 (gst_clock_adjust_unlocked): Use the right calibration data.
18885 2005-11-18 Edward Hervey <edward@fluendo.com>
18887 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18888 Also reset the ->current_* values in READY->PAUSED
18890 2005-11-18 Andy Wingo <wingo@pobox.com>
18892 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18893 Whoops, check the right fd. Also add some debugging.
18894 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18895 (do_linear_regression): Add a crapload of debugging. Subtract off
18896 the minimum values from the input series to discard unneeded bits.
18897 Use only int arithmetic. There is still double arithmetic when
18898 calculating the intercept that needs fixing. Return boolean to
18899 indicate success; FALSE would mean the domain or range is too
18900 great. Still needs fixes.
18902 2005-11-18 Wim Taymans <wim@fluendo.com>
18904 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18905 For the current position in stream time, we need to subtract
18908 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18909 Release lock before calling the callback function of async
18912 2005-11-18 Andy Wingo <wingo@pobox.com>
18914 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18915 Port goes all the way to MAXUINT16.
18917 * gst/net/gstnettimeprovider.c: Make the port range the same as
18918 for the kernel: 0 assigns, otherwise ports are less than
18921 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18924 * check/net/gstnetclientclock.c (test_functioning): Add the start
18927 2005-11-18 Wim Taymans <wim@fluendo.com>
18929 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18930 (gst_bin_remove_func), (bin_bus_handler):
18932 Removing a clock provider from a bin, triggers a clock lost message
18933 so that a new clock will be selected.
18934 Adding a clock to a bin triggers a clock provider message.
18935 Make sure we reselect a clock when we received a clock lost message.
18936 Keep a reference to the element that provided the clock.
18938 2005-11-18 Andy Wingo <wingo@pobox.com>
18940 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18941 the clock initially so it produces values around the base time.
18942 (gst_net_client_clock_class_init): Typo fix.
18943 (gst_net_client_clock_thread): Add note on when the socket gets
18946 2005-11-17 Wim Taymans <wim@fluendo.com>
18948 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18949 Free remote and local time arrays.
18951 2005-11-17 Wim Taymans <wim@fluendo.com>
18953 * gst/net/gstnetclientclock.c: (do_linear_regression),
18954 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18955 Fix compilation, uninitialized vars and a forgotten continue.
18957 2005-11-17 Andy Wingo <wingo@pobox.com>
18959 * check/Makefile.am (check_PROGRAMS):
18960 * check/net/gstnetclientclock.c: Add a most minimal test for the
18961 net client clock. More to come later.
18963 * gst/net/gstnet.h:
18964 * gst/net/Makefile.am: Add netclientclock.
18966 * gst/net/gstnetclientclock.h:
18967 * gst/net/gstnetclientclock.c: New files, implement an untested
18968 GstClock that takes its time from a network time provider.
18969 Implements the algorithm in network-clock.scm.
18971 * tests/network-clock.scm (*window-size*): Rename from
18973 * tests/network-clock.scm (network-time):
18974 * tests/network-clock-utils.scm (q-push): Update callers.
18976 2005-11-17 Wim Taymans <wim@fluendo.com>
18978 * gst/gstbin.c: (gst_bin_provide_clock_func),
18979 (gst_bin_sort_iterator_new):
18980 And unref the child too..
18982 2005-11-17 Wim Taymans <wim@fluendo.com>
18984 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18985 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18986 Refactor the sort iterator so it can be used while holding the
18988 Make clock selection select a clock closest to the source.
18990 2005-11-17 Michael Smith <msmith@fluendo.com>
18992 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18993 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18995 Anonymous structs are a gcc (and some other compilers) extension, so
18996 don't use them. Since this is only for ABI-compatibility, and our
18997 API/ABI freeze is over in a few days, this whole thing will only
18998 last a few days, so don't bother trying to think up a meaningful
18999 name for the struct.
19001 2005-11-17 Andy Wingo <wingo@pobox.com>
19003 * gst/gstclock.h (GstClock): Add rate and offset properties,
19004 preserving ABI stability. Add rate/offset accessors. Will file bug
19005 for the freeze break.
19007 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19008 and offset, trying to keep precision and avoiding
19009 underflow/overflow.
19010 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19011 functions. Make gst_clock_set_time_adjust obsolete.
19012 (gst_clock_set_time_adjust): Note that this function is obsolete.
19013 Will file bug soon.
19015 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19016 greppable by using GST_PADDING-1+1.
19018 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19020 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19022 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19023 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19025 * gst/gstpadtemplate.h:
19026 * gst/gstpluginfeature.h:
19027 Don't use c++ style comments in headers (#321638).
19029 2005-11-16 Andy Wingo <wingo@pobox.com>
19031 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19034 * check/net/gstnettimeprovider.c: Check to see that the time
19035 provider actually provides times. Works, yo!
19037 2005-11-16 Wim Taymans <wim@fluendo.com>
19039 * check/Makefile.am:
19042 * check/elements/fakesrc.c: (GST_START_TEST):
19043 Set element to NULL before disposing it.
19045 2005-11-16 Andy Wingo <wingo@pobox.com>
19047 * gst/net/Makefile.am:
19048 * gst/net/gstnet.h:
19049 * gst/net/gstnettimeprovider.c:
19050 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19051 provider, include it from gstnet.h, and add it to the build.
19053 * gst/net/gstnettimepacket.h:
19054 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19055 sending and receiving.
19057 2005-11-16 Wim Taymans <wim@fluendo.com>
19059 * check/Makefile.am:
19060 Enable valgrind check.
19062 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19063 (gst_fake_src_alloc_buffer):
19066 2005-11-16 Wim Taymans <wim@fluendo.com>
19068 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19069 Call parent finalize too.
19071 2005-11-16 Wim Taymans <wim@fluendo.com>
19073 * check/Makefile.am:
19074 Enable valgrind check that should work fine now.
19076 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19077 * gst/gstqueue.c: (gst_queue_init):
19078 Fix memleaks in pad allocation.
19080 2005-11-16 Andy Wingo <wingo@pobox.com>
19082 * gst/net/Makefile.am:
19083 * gst/net/gstnet.h: New part of core to hold network elements and
19084 objects. Put in core because it exposes API that applications want
19085 to use. The library is named libgstnet-tempname right now because
19086 of the existing libgstnet in gst-plugins-base. Solution is
19087 probably to rename the one in plugins-base; will file a bug for
19090 * gst/net/gstnettimeprovider.c:
19091 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19092 get_time call over the network.
19095 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19097 * check/Makefile.am:
19098 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19099 get additions shortly.
19101 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19103 * gst/gstpad.c: (gst_pad_new_from_static_template):
19105 add gst_pad_new_from_static_template functions
19106 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19107 (gst_check_setup_sink_pad):
19108 * gst/elements/gsttee.c: (gst_tee_init):
19111 2005-11-16 Wim Taymans <wim@fluendo.com>
19113 * gst/gstpad.c: (gst_pad_pause_task):
19114 Removed warning, it's not really an error either.
19116 2005-11-16 Wim Taymans <wim@fluendo.com>
19118 * gst/base/gstbasetransform.c:
19119 (gst_base_transform_prepare_output_buf),
19120 (gst_base_transform_event):
19121 Check if the caps are NULL, this can happen if the element
19122 is shutting down and the pad caps are set to NULL.
19124 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19126 * gst/elements/gsttee.c: (gst_tee_init):
19127 fix pad template leak in tee
19129 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19131 * gst/glib-compat.c: (g_value_dup_gst_object):
19132 * gst/glib-compat.h:
19133 * gst/gstpad.c: (gst_pad_set_property):
19134 use gst_object_ref when setting the pad template; this will
19135 trigger the pad template leaks on GLib 2.6 and the slaves
19137 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19139 * gst/glib-compat.c: (gst_flags_get_first_value):
19140 * gst/glib-compat.h:
19141 * gst/gstregistryxml.c:
19142 remove functions copied from GLib 2.6
19144 2005-11-16 Michael Smith <msmith@fluendo.com>
19147 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19148 do, but only breaks with newer valgrind versions. We're not a
19149 valgrind tool, we have no link-time dependencies on libcoregrind.
19151 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19153 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19155 * gst/gstmessage.h:
19158 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19160 * gst/base/gstbasesrc.c: (gst_base_src_init):
19161 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19162 * gst/gstqueue.c: (gst_queue_init):
19163 * gst/gstregistryxml.c: (load_feature):
19164 Revert all these unrefs, they don't even pass make check !
19166 2005-11-15 Johan Dahlin <johan@gnome.org>
19168 * gst/base/gstbasesrc.c: (gst_base_src_init):
19169 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19170 * gst/gstqueue.c: (gst_queue_init):
19171 Free pad templates, fixes a couple of leaks.
19173 2005-11-15 Daniel Fischer <dan at f3c dot com>
19175 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19177 * gst/gstpad.c: (gst_pad_get_property):
19178 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19179 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19182 2005-11-15 Wim Taymans <wim@fluendo.com>
19187 2005-11-15 Andy Wingo <wingo@pobox.com>
19189 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19191 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19192 using GST_CLOCK_TIME_NONE to disable base time management.
19193 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19194 time if it was NONE before.
19195 (gst_pipeline_change_state): Only munge the base time if
19196 stream_time != GST_CLOCK_TIME_NONE.
19198 * check/gst/gstpipeline.c (test_base_time): Punt around the
19199 problem of the probe not being called, because that's not the
19200 issue I'm looking at. Add a check that setting stream_time to NONE
19201 disables base time management.
19203 2005-11-15 Wim Taymans <wim@fluendo.com>
19205 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19206 segment_stop == -1 at startup.
19208 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19209 (gst_base_transform_change_state):
19210 Init segment values at start.
19212 2005-11-15 Wim Taymans <wim@fluendo.com>
19214 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19215 0 segment values are 0 in any format.
19217 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19218 * gst/base/gstbasetransform.h:
19219 Parse newsegment correctly in basetransform
19221 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19222 Sync to clock using updated segment values.
19224 2005-11-15 Andy Wingo <wingo@pobox.com>
19226 * check/gst/gstpipeline.c (test_base_time): Add check that the
19227 base time and stream time are reset correctly.
19229 2005-11-15 Wim Taymans <wim@fluendo.com>
19231 * docs/design/part-TODO.txt:
19232 Some more TODO items.
19234 2005-11-15 Andy Wingo <wingo@pobox.com>
19236 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19237 error if the user selected "no clock" as the clocking method.
19239 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19240 timestamps with live capture.
19242 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19243 is 0 but we are a live source, timestamp the buffers using the
19246 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19248 * docs/gst/gstreamer-sections.txt:
19250 * gst/gstghostpad.c:
19255 2005-11-14 Wim Taymans <wim@fluendo.com>
19258 add suppressions from Wim's Debian machine
19260 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19263 add suppressions from Andy's AMD64 Ubuntu machine
19265 2005-11-14 Andy Wingo <wingo@pobox.com>
19267 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19268 STATE_LOCK not necessary. Fixes #311489.
19270 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19273 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19274 this function is not implemented.
19276 2005-11-14 Julien MOUTTE <julien@moutte.net>
19278 * gst/base/gstbasetransform.c:
19279 (gst_base_transform_prepare_output_buf):
19280 Ref the source pad caps while we need them.
19283 2005-11-11 Wim Taymans <wim@fluendo.com>
19285 * docs/gst/gstreamer-sections.txt:
19286 Added some docs for GstCollectData.
19288 * gst/base/gstadapter.c:
19289 Some small code example fix.
19291 * gst/base/gstcollectpads.c:
19292 * gst/base/gstcollectpads.h:
19293 Document some more.
19295 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19297 * configure.ac: back to HEAD
19299 === release 0.9.5 ===
19301 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19304 releasing 0.9.5, "Bike Lunch Day"
19306 2005-11-11 Wim Taymans <wim@fluendo.com>
19308 * gst/gstbuffer.c: (_gst_buffer_copy):
19311 * gst/gstcaps.c: (gst_caps_is_equal):
19313 Make _is_equal fast in the trivial cases.
19315 * gst/gstminiobject.c:
19316 * gst/gstminiobject.h:
19317 More docs. Spifify .h file.
19322 2005-11-11 Wim Taymans <wim@fluendo.com>
19324 * gst/base/gstbasetransform.c:
19325 (gst_base_transform_prepare_output_buf),
19326 (gst_base_transform_handle_buffer):
19328 If we're processing a buffer and need to allocate an output
19329 buffer, we cannot accept a format change. If we did get a
19330 format change, we have to alloc a buffer ourselves of the
19333 2005-11-11 Wim Taymans <wim@fluendo.com>
19335 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19336 While checking the flag for reentrancy in the gstcaps function
19337 is nice to detect recursive invocations, it also makes it
19338 impossible to call getcaps from multiple threads, which must be
19339 possible. So, checking for recursive calls has to go.
19341 2005-11-11 Michael Smith <msmith@fluendo.com>
19343 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19344 Don't sync on buffers that fall partially outside our current
19345 segment. Prevents an assertion failure/abort playing some files.
19347 2005-11-10 Andy Wingo <wingo@pobox.com>
19349 * check/gst/gstbin.c (test_message_state_changed_children): Style
19352 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19353 gst_bus_poll with the signal watch. Ensures that poll and a signal
19354 watch see the same messages.
19356 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19357 a poll and a watch at the same time get the same messages.
19359 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19361 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19362 * gst/gstcaps.c: (gst_caps_intersect):
19363 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19364 and it's not needed.
19366 2005-11-10 Wim Taymans <wim@fluendo.com>
19368 * docs/design/part-TODO.txt:
19371 2005-11-10 Wim Taymans <wim@fluendo.com>
19373 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19374 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19375 (gst_base_src_do_sync), (gst_base_src_get_range):
19376 Implement clock sync in base class.
19378 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19380 patch by: Tim-Philipp Müller <tim at centricular dot net>
19382 * gst/gststructure.c: (gst_structure_parse_field),
19383 (gst_structure_from_string):
19384 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19385 so that gst_parse_launch() can deal with spaces in filtered link
19386 caps (fixes #164479)
19387 * check/gst/capslist.h:
19388 * check/gst/gststructure.c: (GST_START_TEST):
19389 add unit tests for this change
19391 2005-11-10 Wim Taymans <wim@fluendo.com>
19393 * docs/gst/gstreamer-sections.txt:
19394 * gst/gstelement.c:
19395 * gst/gstelement.h:
19396 Fix docs, move some STATE macros to private.
19398 2005-11-10 Wim Taymans <wim@fluendo.com>
19400 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19401 Added check for bug #317341
19405 Some more spiffifying.
19407 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19408 Call peer linkfunction if we are a source pad. Totally fixes
19412 Update docs, source pads should call the peer linkfunction
19413 so they can atomically perform the pad link.
19415 2005-11-09 Wim Taymans <wim@fluendo.com>
19419 Uber-spiffy-spiffify some more.
19421 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19423 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19424 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19425 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19426 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19427 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19428 * gst/gstpad.c: (gst_pad_init):
19429 Use GST_DEBUG_FUNCPTR() more extensively.
19431 2005-11-09 Wim Taymans <wim@fluendo.com>
19433 * gst/gstobject.c: (gst_object_class_init):
19435 Documentation fixes.
19437 2005-11-09 Edward Hervey <edward@fluendo.com>
19439 * gst/gsttypefindfactory.c:
19442 2005-11-09 Edward Hervey <edward@fluendo.com>
19444 * gst/base/gsttypefindhelper.c:
19445 * gst/gsttypefind.c:
19446 * gst/gsttypefind.h:
19449 2005-11-09 Wim Taymans <wim@fluendo.com>
19451 * gst/gstiterator.c:
19458 2005-11-09 Wim Taymans <wim@fluendo.com>
19464 2005-11-09 Wim Taymans <wim@fluendo.com>
19466 * docs/gst/gstreamer-sections.txt:
19467 Moved the message async delivery private lock and cond
19468 to the private section.
19470 * gst/gstmessage.c:
19471 * gst/gstmessage.h:
19474 2005-11-09 Edward Hervey <edward@fluendo.com>
19476 * docs/gst/gstreamer-sections.txt:
19479 Document GstURIHandler
19481 2005-11-09 Wim Taymans <wim@fluendo.com>
19483 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19484 (gst_iterator_find_custom):
19485 * gst/gstiterator.h:
19488 2005-11-09 Wim Taymans <wim@fluendo.com>
19491 Document another field.
19493 * gst/gststructure.c:
19494 * gst/gststructure.h:
19497 2005-11-09 Wim Taymans <wim@fluendo.com>
19500 Documented structs.
19502 2005-11-09 Wim Taymans <wim@fluendo.com>
19504 * docs/gst/gstreamer-sections.txt:
19505 Added some new macros.
19512 2005-11-09 Wim Taymans <wim@fluendo.com>
19514 * docs/design/part-TODO.txt:
19515 Some more items for the TODO
19521 2005-11-09 Andy Wingo <wingo@pobox.com>
19523 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19524 to work on something else now tho...
19526 * gst/base/gstadapter.c: More adapter docs.
19528 * gst/elements/gstfilesink.c (gst_file_sink_start)
19529 (gst_file_sink_stop): New functions, replace the state change
19531 (gst_file_sink_class_init): Hook up the start and stop functions.
19532 (gst_file_sink_base_init): Don't set the state change handler any
19533 more. It was a bit ugly too, being set from here...
19534 (gst_file_sink_get_property, gst_file_sink_set_property):
19536 (gst_file_sink_set_location): More robust check that doesn't call
19537 GST_STATE. Ugggggg.
19539 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19541 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19542 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19544 2005-11-08 Wim Taymans <wim@fluendo.com>
19546 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19547 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19548 (gst_base_sink_chain), (gst_base_sink_change_state):
19549 * gst/base/gstbasesink.h:
19550 * gst/base/gstbasesrc.h:
19551 * gst/gstelement.h:
19553 Avoid excessive typechecking in macros.
19555 * gst/gstminiobject.c: (gst_mini_object_get_type),
19556 (gst_mini_object_init), (gst_mini_object_new),
19557 (gst_mini_object_free):
19558 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19559 (gst_object_finalize):
19560 Remove cruft code, optimize alloc_trace.
19562 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19564 * docs/faq/gst-uninstalled:
19565 fix up PS1 for systems that try to reset it
19567 2005-11-07 Wim Taymans <wim@fluendo.com>
19569 * gst/base/gstbasesrc.c: (gst_base_src_init),
19570 (gst_base_src_get_range):
19571 Set the segment_end to -1 initially. Fixed typefind.
19573 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19575 * gst/base/gstadapter.c:
19576 Debug category should be 'adapter', not 'GstAdapter'.
19578 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19579 (gst_collectpads_class_init), (gst_collectpads_init),
19580 (gst_collectpads_peek), (gst_collectpads_pop),
19581 (gst_collectpads_event), (gst_collectpads_chain):
19582 Add debug category and some debugging output. Use boilerplate
19583 macros. Remove some extraneous words from docs.
19585 2005-11-05 Andy Wingo <wingo@pobox.com>
19587 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19590 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19592 * docs/gst/gstreamer-sections.txt:
19595 * gst/gstminiobject.h:
19600 2005-11-04 Wim Taymans <wim@fluendo.com>
19602 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19603 Small update to stop at the configured segment_end
19606 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19608 * gst/gstregistry.c:
19609 * gst/gstregistry.h:
19612 2005-11-04 Edward Hervey <edward@fluendo.com>
19614 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19615 Check if we are doing a segment seek and have arrived at the
19616 end of that segment.
19618 2005-11-04 Wim Taymans <wim@fluendo.com>
19620 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19621 Don't leak a mutex unlock in case of an error.
19626 2005-11-04 Wim Taymans <wim@fluendo.com>
19628 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19630 Get the context to wake up only once.
19632 2005-11-03 Wim Taymans <wim@fluendo.com>
19634 * check/states/sinks.c: (GST_START_TEST):
19635 Uncomment fixed check.
19637 * docs/design/part-TODO.txt:
19640 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19641 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19642 (gst_base_sink_get_position):
19643 If we are going to PLAYING, post the right pending state
19644 when we post the intermediate paused message.
19646 * gst/gstelement.c: (gst_element_continue_state),
19647 (gst_element_set_state_func), (gst_element_change_state):
19648 Don't post state changes that were between the same state
19649 and were not ASYNC.
19651 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19653 * docs/gst/gstreamer-sections.txt:
19656 * gst/gstminiobject.h:
19659 more docs and doc style fixes
19661 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19663 * docs/gst/gstreamer-sections.txt:
19664 * gst/gstelement.c:
19665 * gst/gstminiobject.c:
19668 2005-11-03 Andy Wingo <wingo@pobox.com>
19670 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19671 state-changed messages actually have the right order and the right
19674 2005-11-03 Wim Taymans <wim@fluendo.com>
19676 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19677 Added some more checks. Specifically the case where NO_PREROLL
19678 elements are in the pipeline.
19680 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19681 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19682 (gst_base_sink_get_position):
19683 Post READY->PAUSED state change messages too.
19684 Fix bug where VOID was posted as pending state...
19686 * gst/gstbin.c: (gst_bin_recalc_state):
19687 use _element_continue_state() to continue the state change.
19689 * gst/gstelement.c: (gst_element_continue_state),
19690 (gst_element_commit_state), (gst_element_set_state_func),
19691 (gst_element_change_state), (gst_element_change_state_func):
19692 Lots of state change cleanups, assign the STATE_RETURN in
19693 a new continue_state() function that also propagates the
19694 last return value from a state change to the app.
19695 Update some debug statements with proper category.
19697 2005-11-03 Wim Taymans <wim@fluendo.com>
19699 * docs/design/part-events.txt:
19700 * docs/design/part-gstpipeline.txt:
19701 * docs/design/part-messages.txt:
19702 * docs/design/part-overview.txt:
19703 * docs/design/part-seeking.txt:
19704 * docs/design/part-states.txt:
19705 * docs/design/part-trickmodes.txt:
19706 * docs/manual/advanced-position.xml:
19707 Small docs updates.
19710 People think !! is ugly, this looks better.
19712 * gst/gstpad.c: (gst_pad_set_blocked_async):
19713 Remove !! since it's fixed elsewhere now.
19715 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19717 * gst/gstminiobject.h:
19719 Add !! to _FLAG_IS_SET macros to make the result boolean.
19721 2005-11-03 Edward Hervey <edward@fluendo.com>
19723 * gst/gstpad.c: (gst_pad_set_blocked_async):
19724 comparing a flag and a gboolean rarely returns coherent results...
19725 Added two characters (!!) to make that work correctly.
19727 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19729 * gst/gstbus.c: (gst_bus_class_init):
19732 * gst/gstqueue.c: (gst_queue_loop):
19733 Don't assume a miniobject that isn't a buffer is an
19734 event (it could be that there is a refcounting
19735 problem somewhere and the pointer is stale and
19736 refers to an already destroyed miniobject).
19738 2005-11-03 Julien MOUTTE <julien@moutte.net>
19740 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19742 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19744 * docs/manual/advanced-position.xml:
19745 Update seek example and explanations to current 0.9 API.
19747 * gst/elements/gsttypefindelement.c:
19748 (gst_type_find_element_activate):
19749 Remove FIXME comment now that the found caps
19752 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19754 * gst/gstregistryxml.c: (load_feature):
19755 Add another GST_STR_NULL instance
19757 2005-11-02 Edward Hervey <edward@fluendo.com>
19759 * gst/gstpad.c: (handle_pad_block):
19760 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19762 2005-11-02 Wim Taymans <wim@fluendo.com>
19767 * gst/gstelement.c: (gst_element_commit_state):
19768 Remove unused value.
19770 * gst/gstiterator.c:
19771 Mention that the returned element is reffed in the docs.
19773 2005-11-02 Wim Taymans <wim@fluendo.com>
19775 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19776 (gst_pad_push), (gst_pad_push_event):
19777 Unlock blocked pads when they are flushed.
19779 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19782 * docs/gst/gstreamer-sections.txt:
19785 * gst/gstregistry.c: (gst_registry_scan_path_level):
19786 fix for a nasty little missed situation where an installed plug-in
19787 which was in the cache did not get overridden by an uninstalled one
19788 which was earlier in the plugin path because the newly created plugin
19789 for the uninstalled one (not in the registry) didn't get its
19790 ->registered set to TRUE
19792 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19794 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19795 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19796 (gst_collectpads_is_active), (gst_collectpads_collect),
19797 (gst_collectpads_collect_range), (gst_collectpads_start),
19798 (gst_collectpads_stop), (gst_collectpads_peek),
19799 (gst_collectpads_pop), (gst_collectpads_available),
19800 (gst_collectpads_read), (gst_collectpads_flush):
19801 Guard public API with assertions.
19804 Fix docs for gst_pad_set_link_function().
19806 2005-11-02 Johan Dahlin <johan@gnome.org>
19808 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19809 Unref found_caps after we used it.
19811 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19813 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19814 Don't try to ref NULL.
19816 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19818 * win32/common/config.h.in:
19819 provide a GST_FUNCTION that just gives a string for now
19821 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19823 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19824 (gst_object_flags_get_type), (register_gst_bin_flags),
19825 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19826 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19827 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19828 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19829 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19830 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19831 (gst_clock_flags_get_type), (register_gst_state),
19832 (gst_state_get_type), (register_gst_state_change_return),
19833 (gst_state_change_return_get_type), (register_gst_state_change),
19834 (gst_state_change_get_type), (register_gst_element_flags),
19835 (gst_element_flags_get_type), (register_gst_core_error),
19836 (gst_core_error_get_type), (register_gst_library_error),
19837 (gst_library_error_get_type), (register_gst_resource_error),
19838 (gst_resource_error_get_type), (register_gst_stream_error),
19839 (gst_stream_error_get_type), (register_gst_event_type),
19840 (gst_event_type_get_type), (register_gst_seek_type),
19841 (gst_seek_type_get_type), (register_gst_seek_flags),
19842 (gst_seek_flags_get_type), (register_gst_format),
19843 (gst_format_get_type), (register_gst_index_certainty),
19844 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19845 (gst_index_entry_type_get_type),
19846 (register_gst_index_lookup_method),
19847 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19848 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19849 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19850 (gst_index_flags_get_type), (register_gst_debug_level),
19851 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19852 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19853 (gst_iterator_result_get_type), (register_gst_iterator_item),
19854 (gst_iterator_item_get_type), (register_gst_message_type),
19855 (gst_message_type_get_type), (register_gst_mini_object_flags),
19856 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19857 (gst_pad_link_return_get_type), (register_gst_flow_return),
19858 (gst_flow_return_get_type), (register_gst_activate_mode),
19859 (gst_activate_mode_get_type), (register_gst_pad_direction),
19860 (gst_pad_direction_get_type), (register_gst_pad_flags),
19861 (gst_pad_flags_get_type), (register_gst_pad_presence),
19862 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19863 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19864 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19865 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19866 (gst_plugin_flags_get_type), (register_gst_rank),
19867 (gst_rank_get_type), (register_gst_query_type),
19868 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19869 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19870 (gst_tag_flag_get_type), (register_gst_task_state),
19871 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19872 (gst_alloc_trace_flags_get_type),
19873 (register_gst_type_find_probability),
19874 (gst_type_find_probability_get_type), (register_gst_uri_type),
19875 (gst_uri_type_get_type), (register_gst_parse_error),
19876 (gst_parse_error_get_type):
19877 * win32/common/gstversion.h:
19878 update win32 copies
19880 2005-11-01 Luca Ognibene <luogni@tin.it>
19883 fix docs. popt is dead, long live GOption.
19885 2005-10-31 Wim Taymans <wim@fluendo.com>
19890 2005-10-31 Andy Wingo <wingo@pobox.com>
19894 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19896 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19897 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19898 the possibility of deadlocks here if code calling notify() or
19899 set() has a lock that can be taken in another notify handler (ABBA
19900 with class lock and e.g. python GIL state lock).
19902 2005-10-28 Julien MOUTTE <julien@moutte.net>
19904 * gst/gstbus.c: Doc updates.
19906 2005-10-28 Wim Taymans <wim@fluendo.com>
19908 * docs/design/part-TODO.txt:
19909 * gst/gstiterator.c:
19910 * gst/gstsystemclock.c:
19911 * gst/gstsystemclock.h:
19914 2005-10-28 Edward Hervey <edward@fluendo.com>
19916 * docs/gst/gstreamer-docs.sgml:
19917 * docs/gst/gstreamer-sections.txt:
19918 the GstURIType documentation page is private, it only defines GstURIType
19919 which should be defined in the GstURIHandler page
19921 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19923 * gst/gstbin.c: (gst_bin_class_init):
19926 Documentation updates.
19928 2005-10-28 Wim Taymans <wim@fluendo.com>
19930 * docs/gst/gstreamer-sections.txt:
19933 Documented the clocks.
19935 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19937 * docs/gst/gstreamer-sections.txt:
19938 move some macros to private sections
19939 * gst/gstminiobject.c:
19940 * gst/gstminiobject.h:
19941 add descriptions provided by ds and some more
19943 mark macro as to be removed
19945 2005-10-28 Wim Taymans <wim@fluendo.com>
19947 * docs/design/part-TODO.txt:
19948 Add an item to TODO.
19950 * gst/gstiterator.c: (gst_iterator_fold),
19951 (gst_iterator_find_custom):
19952 * gst/gstiterator.h:
19955 2005-10-28 Wim Taymans <wim@fluendo.com>
19957 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19958 (gst_base_transform_init):
19961 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19962 An EOS event marks the queue as completely filled.
19964 2005-10-27 Wim Taymans <wim@fluendo.com>
19966 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19967 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19968 Some more debugging.
19970 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19971 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19972 (gst_base_transform_event), (gst_base_transform_getrange),
19973 (gst_base_transform_chain):
19974 * gst/base/gstbasetransform.h:
19976 Protect transform and concurrent buffer alloc with a new lock.
19977 Try not to break ABI/API.
19979 2005-10-27 Wim Taymans <wim@fluendo.com>
19981 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19982 (gst_base_src_init), (gst_base_src_query),
19983 (gst_base_src_default_newsegment),
19984 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19985 (gst_base_src_send_event), (gst_base_src_event_handler),
19986 (gst_base_src_pad_get_range), (gst_base_src_loop),
19987 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19988 (gst_base_src_start), (gst_base_src_deactivate),
19989 (gst_base_src_activate_push), (gst_base_src_change_state):
19990 Move some stuff around and cleanup things.
19992 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19994 * gst/base/gstbasesrc.c: (gst_base_src_query):
19995 Add missing break statements.
19997 2005-10-27 Wim Taymans <wim@fluendo.com>
19999 * check/gst/gstbin.c: (GST_START_TEST):
20000 An extra refcount is taken in basesrc.
20002 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20003 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20004 (gst_base_src_loop):
20005 Small cleanups, check for flushing after being unlocked from the
20006 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20007 Don't send out EOS when going to READY.
20009 2005-10-27 Wim Taymans <wim@fluendo.com>
20011 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20012 (gst_base_sink_get_position):
20015 * gst/gstbin.c: (message_check), (bin_replace_message),
20016 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20017 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20018 (bin_query_duration_init), (bin_query_duration_fold),
20019 (bin_query_duration_done), (bin_query_generic_fold),
20021 * tools/gst-launch.c: (main):
20024 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20026 * examples/controller/audio-example.c: (main):
20027 * examples/queue/queue.c: (event_loop):
20028 * gst/base/gstbasetransform.h:
20029 * gst/gstelement.c: (gst_element_send_event):
20031 * gst/gstpad.c: (gst_pad_send_event):
20034 changing log priority in error situations
20036 2005-10-25 Wim Taymans <wim@fluendo.com>
20038 * gst/gstbin.c: (message_check), (bin_replace_message),
20039 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20040 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20041 (bin_query_duration_init), (bin_query_duration_fold),
20042 (bin_query_duration_done), (bin_query_generic_fold),
20044 Some doc and debug updates.
20045 Cache previously requested query DURATION for speed. invalidate
20046 cached duration if element posts a DURATION message.
20048 2005-10-25 Wim Taymans <wim@fluendo.com>
20050 * docs/design/part-TODO.txt:
20053 * gst/gstbin.c: (message_check), (bin_replace_message),
20054 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20055 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20056 (bin_query_duration_init), (bin_query_duration_fold),
20057 (bin_query_duration_done), (bin_query_generic_fold),
20059 Handle SEGMENT_START/DONE messages correctly.
20060 More evolved query algorithm that handles duration queries
20063 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20064 (gst_element_get_state_func), (gst_element_abort_state),
20065 (gst_element_commit_state), (gst_element_lost_state):
20066 Some more debugging.
20068 * gst/gstmessage.h:
20071 2005-10-25 Wim Taymans <wim@fluendo.com>
20073 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20074 Don't use invalid stream_time.
20076 * gst/gstevent.c: (gst_event_new_newsegment):
20077 stream_time in newsegment cannot be undefined.
20079 2005-10-24 Wim Taymans <wim@fluendo.com>
20084 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20086 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20088 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20090 * docs/libs/tmpl/gstdparam.sgml:
20091 * docs/libs/tmpl/gstdplinint.sgml:
20092 * docs/libs/tmpl/gstdpman.sgml:
20093 * docs/libs/tmpl/gstdpsmooth.sgml:
20094 * docs/libs/tmpl/gstunitconvert.sgml:
20097 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20102 === release 0.9.4 ===
20104 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20107 releasing 0.9.4, "Tyrannosaurus Rex"
20109 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20111 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20112 (gst_file_sink_get_current_offset):
20113 Use fseeko() and ftello() if available. When falling back on
20114 lseek() to get the current offset, fflush() first to make sure
20115 everything is up-to-date and we get the right offset.
20117 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20119 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20120 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20121 * gst/gsterror.c: (_gst_stream_errors_init):
20123 * gst/gstqueue.c: (gst_queue_loop):
20125 remove prematurely added error category and clean up the instances
20127 2005-10-21 Wim Taymans <wim@fluendo.com>
20129 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20130 (gst_base_sink_get_position), (gst_base_sink_query),
20131 (gst_base_sink_change_state):
20132 Simply set the right flag when going to playing, that's all
20133 we need to do instead of calling a function inside the object
20134 lock (that could take the lock as well and deadlock)
20136 2005-10-21 Wim Taymans <wim@fluendo.com>
20138 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20139 (gst_base_src_loop):
20140 Don't warn, the peer element knows what to do best when
20141 the seek failed, it might try something else.
20143 2005-10-21 Wim Taymans <wim@fluendo.com>
20145 * gst/base/gstbasesrc.c: (gst_base_src_init),
20146 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20149 2005-10-21 Wim Taymans <wim@fluendo.com>
20151 * docs/design/part-segments.txt:
20154 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20155 Correctly set caps, even on the subbufer.
20157 2005-10-21 Wim Taymans <wim@fluendo.com>
20159 * docs/gst/gstreamer-docs.sgml:
20160 * docs/gst/gstreamer-sections.txt:
20161 * gst/gstelement.h:
20164 * gst/gstmessage.h:
20167 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20171 And 2% more doc coverage.
20173 2005-10-21 Andy Wingo <wingo@pobox.com>
20175 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20176 position reporting.
20178 2005-10-20 Wim Taymans <wim@fluendo.com>
20180 * gst/gsterror.c: (gst_error_get_message):
20183 * gst/gststructure.c:
20188 2005-10-20 Wim Taymans <wim@fluendo.com>
20193 Another 1% more coverage.
20195 2005-10-20 Wim Taymans <wim@fluendo.com>
20197 * docs/gst/gstreamer-sections.txt:
20198 * gst/gstelement.c: (gst_element_get_state_func),
20199 (gst_element_abort_state), (gst_element_commit_state),
20200 (gst_element_lost_state):
20202 * gst/gstquery.c: (gst_query_set_position),
20203 (gst_query_parse_position), (gst_query_set_duration),
20204 (gst_query_parse_duration), (gst_query_new_convert):
20206 Yay! 1% more docs coverage.
20208 2005-10-20 Wim Taymans <wim@fluendo.com>
20211 * gst/gstquery.c: (gst_query_set_position),
20212 (gst_query_parse_position), (gst_query_set_duration),
20213 (gst_query_parse_duration), (gst_query_new_convert):
20215 * gst/gstutils.c: (gst_element_query_convert):
20217 Docs and consistency fixes.
20219 2005-10-20 Wim Taymans <wim@fluendo.com>
20225 2005-10-20 Wim Taymans <wim@fluendo.com>
20227 * gst/gstbin.c: (message_check), (bin_replace_message),
20228 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20229 (update_degree), (gst_bin_sort_iterator_next),
20230 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20231 Reworked the message handling a bit, cache the messages instead of
20232 only the senders. alows us to do more in the future.
20234 2005-10-20 Wim Taymans <wim@fluendo.com>
20236 * docs/design/part-TODO.txt:
20239 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20240 (gst_base_sink_query):
20241 Don't use clock time to report position when in EOS.
20243 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20245 * tools/gst-inspect.c: (print_interfaces),
20246 (print_element_properties_info), (print_element_info):
20247 Fix interface output with gst-inspect -a; don't print
20248 newlines after double/float properties.
20250 2005-10-20 Wim Taymans <wim@fluendo.com>
20252 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20253 (gst_base_sink_query):
20254 Speed up current position calculation.
20256 * gst/base/gstbasesrc.c: (gst_base_src_query),
20257 (gst_base_src_default_newsegment):
20258 Correctly set stream position in newsegment.
20260 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20261 (update_degree), (gst_bin_sort_iterator_next),
20262 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20263 * gst/gstmessage.c: (gst_message_new_custom):
20264 Clean up debugging info
20266 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20267 (gst_queue_loop), (gst_queue_handle_src_query):
20270 2005-10-19 Wim Taymans <wim@fluendo.com>
20272 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20273 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20274 Fix query handling again.
20276 2005-10-19 Wim Taymans <wim@fluendo.com>
20278 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20279 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20280 * gst/base/gstbasesrc.c: (gst_base_src_query):
20281 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20282 * gst/elements/gsttypefindelement.c:
20283 (gst_type_find_handle_src_query), (find_element_get_length),
20284 (gst_type_find_element_activate):
20287 * gst/gstquery.c: (gst_query_new_position),
20288 (gst_query_set_position), (gst_query_parse_position),
20289 (gst_query_new_duration), (gst_query_set_duration),
20290 (gst_query_parse_duration), (gst_query_set_segment),
20291 (gst_query_parse_segment):
20293 Bundling query position/duration is not a good idea since duration
20294 does not change much and we don't want to recalculate it for every
20295 position query, so they are separated again..
20296 Base value in segment query is not needed.
20298 * gst/gstqueue.c: (gst_queue_handle_src_query):
20299 * gst/gstutils.c: (gst_element_query_position),
20300 (gst_element_query_duration), (gst_pad_query_position),
20301 (gst_pad_query_duration):
20303 Updates for query API change.
20304 Added some docs here and there.
20306 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20308 * check/gst/gstbin.c: (GST_START_TEST):
20309 * check/gst/gstghostpad.c: (GST_START_TEST):
20310 * check/pipelines/cleanup.c: (GST_START_TEST):
20311 wait on thread to die so we can check refcount correctly
20313 2005-10-18 Wim Taymans <wim@fluendo.com>
20315 * check/pipelines/stress.c: (GST_START_TEST):
20316 Make check a little more time consuming.
20318 2005-10-18 Wim Taymans <wim@fluendo.com>
20320 * check/Makefile.am:
20321 * check/pipelines/stress.c: (GST_START_TEST),
20322 (simple_launch_lines_suite), (main):
20323 Small state change torture test.
20325 * docs/design/part-states.txt:
20326 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20327 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20328 (gst_base_sink_change_state):
20329 Never take state lock from streaming thread, clean up ugly
20330 hacks. Unfortunatly core does not yet support nice ways to
20331 async commit state.
20333 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20335 Start state recalc if a STATE_DIRTY message is posted, but only
20336 on the toplevel bin.
20338 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20339 (gst_element_get_state_func), (gst_element_abort_state),
20340 (gst_element_commit_state), (gst_element_lost_state),
20341 (gst_element_set_state_func), (gst_element_change_state):
20342 * gst/gstelement.h:
20343 State variables are now protected with the LOCK, the state
20344 lock is only used to serialize _set_state().
20346 2005-10-18 Wim Taymans <wim@fluendo.com>
20348 * check/gst/gstbin.c: (GST_START_TEST):
20349 * check/gst/gstmessage.c: (GST_START_TEST):
20350 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20351 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20353 * gst/gstelement.c: (gst_element_abort_state),
20354 (gst_element_commit_state), (gst_element_lost_state):
20355 * gst/gstmessage.c: (gst_message_new_state_changed),
20356 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20357 (gst_message_new_segment_done), (gst_message_new_duration),
20358 (gst_message_parse_state_changed),
20359 (gst_message_parse_segment_start),
20360 (gst_message_parse_segment_done), (gst_message_parse_duration):
20361 * gst/gstmessage.h:
20362 * tools/gst-launch.c: (event_loop):
20363 Seriously, this is better than a previous commit as we only need
20364 to notify the fact that an element changed state in a streaming
20365 thread, marking the state of the parents dirty, hence the
20366 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20369 2005-10-18 Wim Taymans <wim@fluendo.com>
20371 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20372 (gst_bin_recalc_func):
20373 * gst/gstelement.c: (gst_element_set_clock),
20374 (gst_element_abort_state), (gst_element_lost_state):
20375 Cleanups, prepare for state change fixes.
20377 2005-10-18 Wim Taymans <wim@fluendo.com>
20380 * gst/gstelement.c: (gst_element_class_init),
20381 (gst_element_set_state), (gst_element_set_state_func):
20382 * gst/gstelement.h:
20383 Pending ABI changes.
20384 GThreadPool in GstBinClass to monitor async state changes.
20385 state_cookie in GstElement to detect concurrent gst/set state.
20386 set_state is now virtual too in case a very complicated element
20387 has to be constructed.
20389 2005-10-18 Wim Taymans <wim@fluendo.com>
20391 * check/gst/gstbin.c: (GST_START_TEST):
20392 * check/gst/gstmessage.c: (GST_START_TEST):
20393 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20394 * gst/gstbin.c: (bin_bus_handler):
20395 * gst/gstelement.c: (gst_element_commit_state),
20396 (gst_element_lost_state):
20397 * gst/gstmessage.c: (gst_message_new_state_changed),
20398 (gst_message_new_segment_start), (gst_message_new_segment_done),
20399 (gst_message_new_duration), (gst_message_parse_state_changed),
20400 (gst_message_parse_segment_start),
20401 (gst_message_parse_segment_done), (gst_message_parse_duration):
20402 * gst/gstmessage.h:
20403 * tools/gst-launch.c: (event_loop):
20404 Make messages future proof.
20405 state-change gets a flag if it was a message comming from the
20407 segment-start/stop can also be specified in other formats.
20408 A message to notify an app that a pipeline changed playback
20410 Also fix a GstMessage leak in -launch
20412 2005-10-18 Andy Wingo <wingo@pobox.com>
20414 * gst/gstelement.c (gst_element_dispose): More helpful message.
20416 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20418 reviewed by: <delete if not using a buddy>
20420 * common/gtk-doc.mak:
20422 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20424 * gst/gstregistry.c: (gst_registry_scan_path_level):
20425 unref a plug-in we get that was already initialized
20427 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20429 * docs/gst/gstreamer-sections.txt:
20430 * docs/libs/gstreamer-libs-sections.txt:
20431 * gst/gstelement.h:
20432 add new api entries
20433 hide internal macro
20435 2005-10-17 Andy Wingo <wingo@pobox.com>
20437 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20440 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20442 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20444 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20445 (gst_element_get_state_func): Better debug message.
20446 (gst_element_commit_state): s/INFO/DEBUG/.
20447 (gst_element_lost_state, gst_element_change_state):
20449 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20450 (gst_message_new_custom): s/INFO/LOG/.
20452 2005-10-17 Michael Smith <msmith@fluendo.com>
20454 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20455 Check if end time is valid using end time, not start time.
20457 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20459 * check/gst-libs/controller.c: (GST_START_TEST),
20460 (gst_controller_suite):
20461 * libs/gst/controller/gstcontroller.c:
20462 (gst_controlled_property_set_interpolation_mode):
20463 * libs/gst/controller/gstcontroller.h:
20464 * libs/gst/controller/gstinterpolation.c:
20465 * testsuite/controller/.cvsignore:
20466 * testsuite/controller/Makefile.am:
20467 * testsuite/controller/interpolator.c:
20468 merge controller testsuites
20470 remove mem-chunk from docs
20472 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20474 * gst/gstmemchunk.c:
20475 * gst/gstmemchunk.h:
20476 * gst/gsttrashstack.c:
20477 * gst/gsttrashstack.h:
20478 out. get out. you're fired. to the Attic !
20480 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20482 * gst/gstcaps.c: (gst_caps_intersect):
20483 fix signedness issues in a (hopefully) correct way
20484 * gst/gstelement.c: (gst_element_pads_activate):
20486 * gst/gstobject.c: (gst_object_set_parent):
20489 2005-10-17 Julien MOUTTE <julien@moutte.net>
20491 * gst/gstvalue.h: Fix prototypes.
20493 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20495 * docs/gst/gstreamer-sections.txt:
20496 * gst/gst.c: (gst_version_string):
20498 * gst/gstversion.h.in:
20499 * win32/common/libgstreamer.def:
20500 add gst_version_string ()
20502 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20506 * gst/gst.c: (init_post):
20507 * win32/common/config.h.in:
20509 * gst/gstcaps.c: (gst_caps_intersect):
20510 use gint64, the range could be bigger than a guint
20512 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20515 document potential problem in 2038
20517 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20519 * gst/gstcaps.c: (gst_caps_intersect):
20520 Fix guint j diving under 0
20522 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20525 * win32/common/config.h:
20526 * win32/common/config.h.in:
20527 check for process.h, declares getpid() on Windows
20529 include process.h if we have it
20530 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20531 * gst/gstmemchunk.h:
20532 fix signedness issues
20533 * win32/common/libgstreamer.def:
20536 2005-10-16 Julien MOUTTE <julien@moutte.net>
20538 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20539 fix. Because of unsigned ints, caps intersection was going nuts and
20540 trying to access structures with G_MAXUINT index. That fixes
20541 videotestsrc ! ffmpegcolorspace ! fakesink
20542 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20545 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20548 use the gettext macro
20549 * gst/elements/gstelements.c:
20551 * gst/indexers/gstindexers.c:
20552 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20553 * win32/common/config.h:
20555 * win32/common/config.h.in:
20556 add the template to generate config.h
20557 * win32/common/gstenumtypes.c:
20558 * win32/common/gstversion.h:
20561 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20563 * gst/gst.c: (gst_version):
20564 * gst/gstversion.h.in:
20567 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20570 Oops, add missing closing bracket.
20572 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20575 use common m4's for argument checking
20577 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20579 * docs/gst/gstreamer-sections.txt:
20581 Add GST_EVENT_TYPE_NAME() macro.
20583 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20586 * gst/gstpluginfeature.c:
20588 privatize more symbols
20590 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20593 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20594 everything that uses GStreamer API should have the includes
20596 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20598 * docs/gst/gstreamer-sections.txt:
20599 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20601 give each value a _get_type, removes the DATA exports
20603 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20607 remove _gst_registry_auto_load, not used anymore
20608 * gst/gstbin.c: (gst_bin_get_type):
20610 * gst/gstelement.c: (gst_element_get_type):
20611 * gst/gstelement.h:
20612 * gst/gstobject.c: (gst_object_get_type):
20614 * gst/gstpad.c: (gst_pad_get_type):
20616 make _get_type functions similar, fixes data export from library
20618 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20621 correctly make conditionals
20622 * gst/elements/Makefile.am:
20623 * gst/elements/gstelements.c:
20624 fix typo causing fdsrc not to build
20626 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20628 * testsuite/Makefile.am:
20629 * testsuite/bytestream/.cvsignore:
20630 * testsuite/bytestream/Makefile.am:
20631 * testsuite/bytestream/filepadsink.c:
20632 * testsuite/bytestream/gstbstest.c:
20633 * testsuite/bytestream/test1.c:
20634 * testsuite/bytestream/testfile1:
20635 * testsuite/caps/normalisation.c:
20636 * testsuite/caps/random.c: (main):
20637 * testsuite/cleanup/.cvsignore:
20638 * testsuite/cleanup/Makefile.am:
20639 * testsuite/cleanup/cleanup1.c:
20640 * testsuite/cleanup/cleanup2.c:
20641 * testsuite/cleanup/cleanup3.c:
20642 * testsuite/cleanup/cleanup4.c:
20643 * testsuite/cleanup/cleanup5.c:
20644 * testsuite/controller/interpolator.c:
20645 * testsuite/debug/printf_extension.c: (main):
20646 * testsuite/elements/tee.c:
20647 * testsuite/negotiation/.cvsignore:
20648 * testsuite/negotiation/Makefile.am:
20649 * testsuite/negotiation/pad_link.c:
20650 * testsuite/pad/Makefile.am:
20651 * testsuite/pad/chainnopull.c:
20652 * testsuite/pad/getnopush.c:
20653 * testsuite/pad/link.c:
20654 * testsuite/refcounting/sched.c: (create_pipeline):
20655 * testsuite/registry/Makefile.am:
20656 * testsuite/registry/gst-print-formats.c:
20657 * testsuite/schedulers/.cvsignore:
20658 * testsuite/schedulers/142183-2.c:
20659 * testsuite/schedulers/142183.c:
20660 * testsuite/schedulers/143777-2.c:
20661 * testsuite/schedulers/143777.c:
20662 * testsuite/schedulers/147713.c:
20663 * testsuite/schedulers/147819.c:
20664 * testsuite/schedulers/147894-2.c:
20665 * testsuite/schedulers/147894.c:
20666 * testsuite/schedulers/Makefile.am:
20667 * testsuite/schedulers/group_link.c:
20668 * testsuite/schedulers/queue_link.c:
20669 * testsuite/schedulers/relink.c:
20670 * testsuite/schedulers/unlink.c:
20671 * testsuite/schedulers/unref.c:
20672 * testsuite/schedulers/useless_iteration.c:
20673 * testsuite/states/bin.c:
20674 clean out/remove some stuff from the testsuite directories
20676 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20679 check for some headers
20680 * gst/elements/Makefile.am:
20681 * gst/elements/gstelements.c:
20682 don't compile fdsrc without sys/socket.h
20683 * gst/indexers/Makefile.am:
20684 * gst/indexers/gstindexers.c: (plugin_init):
20685 don't compile fileindex without mmap
20687 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20694 * check/Makefile.am:
20695 * docs/gst/Makefile.am:
20696 * examples/helloworld/Makefile.am:
20698 * gst/base/Makefile.am:
20699 * gst/check/Makefile.am:
20700 * gst/elements/Makefile.am:
20701 * gst/indexers/Makefile.am:
20702 * gst/parse/Makefile.am:
20703 * libs/gst/controller/Makefile.am:
20704 * libs/gst/dataprotocol/Makefile.am:
20705 * examples/helloworld/helloworld.c: (event_loop):
20706 compile fixes, though it's not being compiled currently
20708 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20710 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20711 Add some simple tests for the new taglist date API.
20713 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20715 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20716 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20717 Beautify 'last-message' output: print 'none' for buffer timestamps
20718 and durations if none is set; improve alignment with next messages.
20720 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20722 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20723 * gst/gstpluginfeature.h:
20724 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20725 * gst/gstregistry.h:
20726 * docs/gst/gstreamer-sections.txt:
20727 Add new API to check plugin feature version requirements.
20729 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20730 Some basic tests for the above.
20732 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20734 * gst/gststructure.c: (gst_structure_to_string):
20735 guard against NULL printf - happens when for example
20736 a message structure with GstClock gets serialized
20738 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20740 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20741 Fix presumable copy'n'pasto.
20743 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20745 * gst/elements/gstfakesrc.h:
20746 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20747 * gst/elements/gsttypefindelement.c:
20748 fix some signedness
20749 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20750 I wonder if this could actually write +2GB files before
20752 2005-10-13 Andy Wingo <wingo@pobox.com>
20754 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20755 Fix Timmeke Waymans bug.
20756 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20757 string of the proper length to gst_caps_from_string. There's a
20758 potential for, before this fix, that this could cause someone
20759 connecting over the network to cause a segfault if the payload is
20760 not NUL-terminated.
20762 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20764 * docs/design/draft-push-pull.txt:
20765 * docs/design/part-overview.txt:
20766 * docs/random/TODO-pre-0.9:
20767 * docs/random/old/ChangeLog.gstreamer:
20768 * gst/base/gstpushsrc.c:
20772 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20774 * gst/glib-compat.c: (gst_flags_get_first_value):
20775 * gst/glib-compat.h:
20776 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20777 (gst_value_compare_double), (gst_value_serialize_flags):
20778 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20781 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20783 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20784 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20786 * tools/gst-launch.c: (event_loop):
20787 print out clock nicely
20789 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20791 * docs/gst/gstreamer-sections.txt:
20792 * gst/gsttaglist.h:
20793 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20794 (gst_tag_list_get_date_index):
20795 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20796 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20798 2005-10-13 Julien MOUTTE <julien@moutte.net>
20800 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20801 (gst_collectpads_chain):
20802 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20805 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20807 * docs/gst/gstreamer-sections.txt:
20810 * tools/gst-inspect.c: (main):
20811 * tools/gst-launch.c: (main):
20812 * tools/gst-run.c: (main):
20813 * tools/gst-xmlinspect.c: (main):
20814 fix GOption context leaks
20817 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20821 * win32/common/config.h:
20823 * win32/vs6/grammar.dsp:
20824 * win32/vs6/libgstelements.dsp:
20825 * win32/vs6/libgstreamer.dsp:
20828 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20830 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20831 * gst/base/gstbasesrc.c: (gst_base_src_query):
20832 fix more guint64<->gdouble conversions
20834 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20837 add win32-update target
20838 * win32/common/gstconfig.h:
20839 * win32/common/gstenumtypes.c:
20840 * win32/common/gstenumtypes.h:
20841 * win32/common/gstversion.h:
20842 add files that visual studio can't generate
20844 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20847 add a win32-update target
20850 2005-10-12 Wim Taymans <wim@fluendo.com>
20852 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20853 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20854 * gst/gstelement.c: (gst_element_commit_state),
20855 (gst_element_set_state):
20856 Protect flags with proper lock.
20857 unref provided cached clock in dispose.
20859 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20862 * gst/gstminiobject.h:
20864 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20865 removed unused flags from miniobject
20868 2005-10-12 Wim Taymans <wim@fluendo.com>
20870 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20871 (gst_file_sink_event), (gst_file_sink_render):
20872 Flush before seeking.
20874 2005-10-12 Andy Wingo <wingo@pobox.com>
20876 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20877 always been the case.
20879 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20881 * check/gst/gstbin.c: (GST_START_TEST):
20882 * docs/gst/gstreamer-sections.txt:
20883 * gst/base/gstbasesink.c: (gst_base_sink_init):
20884 * gst/base/gstbasesrc.c: (gst_base_src_init),
20885 (gst_base_src_get_range), (gst_base_src_check_get_range),
20886 (gst_base_src_start), (gst_base_src_stop):
20887 * gst/base/gstbasesrc.h:
20888 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20889 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20890 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20894 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20896 * gst/gstelement.c: (gst_element_is_locked_state),
20897 (gst_element_set_locked_state), (gst_element_commit_state),
20898 (gst_element_set_state):
20899 * gst/gstelement.h:
20900 * gst/gstindex.c: (gst_index_init):
20902 * gst/gstminiobject.h:
20903 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20904 (gst_object_set_parent):
20906 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20907 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20909 * gst/gstpadtemplate.h:
20910 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20911 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20912 * gst/gstpipeline.h:
20913 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20914 (gst_file_index_commit):
20915 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20916 * testsuite/pad/link.c: (gst_test_src_init),
20917 (gst_test_filter_init), (gst_test_sink_init):
20918 * testsuite/states/locked.c: (main):
20919 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20920 moved bitshift from macro to enum definition
20922 2005-10-12 Wim Taymans <wim@fluendo.com>
20924 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20925 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20926 (gst_file_sink_render):
20927 Some more debugging info.
20929 2005-10-12 Wim Taymans <wim@fluendo.com>
20931 * docs/design/part-states.txt:
20932 * tools/gst-launch.c: (main):
20934 Revert non-intentional change.
20936 2005-10-12 Wim Taymans <wim@fluendo.com>
20938 * check/gst/gstbin.c: (GST_START_TEST):
20939 * check/gst/gstelement.c: (GST_START_TEST):
20940 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20941 * check/gst/gstghostpad.c: (GST_START_TEST):
20942 * check/gst/gstpipeline.c: (GST_START_TEST):
20943 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20944 * check/states/sinks.c: (GST_START_TEST):
20945 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20946 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20947 (gst_bin_remove_func), (gst_bin_get_state_func),
20948 (gst_bin_recalc_state), (gst_bin_change_state_func),
20950 * gst/gstelement.c: (gst_element_get_state_func),
20951 (gst_element_get_state), (gst_element_abort_state),
20952 (gst_element_commit_state), (gst_element_set_state),
20953 (gst_element_change_state), (gst_element_change_state_func):
20954 * gst/gstelement.h:
20955 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20956 (gst_pipeline_provide_clock_func):
20957 * gst/gstutils.c: (gst_element_link_pads_filtered):
20958 * tools/gst-launch.c: (main):
20959 * tools/gst-typefind.c: (main):
20960 Use GstClockTime in _get_state() instead of GTimeVal.
20961 Remove old code in gstutils.c
20963 2005-10-12 Andy Wingo <wingo@pobox.com>
20965 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20968 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20969 there is no task. Shouldn't affect any code, as nothing in our
20970 plugins checks this return value.
20971 (gst_pad_stop_task): Also take the stream lock if the pad has no
20972 task. Docs updated.
20974 2005-10-12 Wim Taymans <wim@fluendo.com>
20976 * gst/gstpad.c: (pre_activate), (post_activate),
20977 (gst_pad_activate_pull), (gst_pad_activate_push):
20978 Cleanup activation code. Reset old state if
20981 2005-10-12 Wim Taymans <wim@fluendo.com>
20983 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20984 (gst_base_sink_change_state):
20985 No need to prerol after receiving EOS.
20987 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20988 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20989 * gst/elements/gstidentity.c: (gst_identity_event):
20990 Print events more verbosely.
20992 2005-10-12 Wim Taymans <wim@fluendo.com>
20994 * check/Makefile.am:
20995 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20996 * check/states/sinks2.c:
20997 Moved sinks2 testcode in sinks check.
20999 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21000 (gst_bin_remove_func), (gst_bin_recalc_state),
21001 (gst_bin_change_state_func), (bin_bus_handler):
21002 Fix potential race condition when _get_state() iterated over an
21003 ASYNC element right before it posted a state completion.
21006 Do proper cast here.
21008 * gst/gstevent.c: (gst_event_new_newsegment),
21009 (gst_event_parse_newsegment):
21010 A playback rate of 0.0 is not allowed.
21012 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21014 * win32/common/config.h:
21015 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21016 (_trewinddir), (_ttelldir), (_tseekdir):
21017 * win32/common/dirent.h:
21018 * win32/common/gtchar.h:
21019 * win32/common/libgstbase.def:
21020 * win32/common/libgstreamer.def:
21021 * win32/vs6/grammar.dsp:
21022 * win32/vs6/gst_inspect.dsp:
21023 * win32/vs6/gst_launch.dsp:
21024 * win32/vs6/gstreamer.dsw:
21025 * win32/vs6/libgstbase.dsp:
21026 * win32/vs6/libgstelements.dsp:
21027 * win32/vs6/libgstreamer.dsp:
21028 Visual Studio 6 project files, and a new common directory.
21031 2005-10-11 Wim Taymans <wim@fluendo.com>
21033 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21034 (gst_base_sink_do_sync), (gst_base_sink_query),
21035 (gst_base_sink_change_state):
21036 * gst/base/gstbasesink.h:
21037 Correctly parse newsegment info.
21039 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21041 * gst/gst.c: (init_post):
21042 split plugin paths correctly
21044 2005-10-11 Wim Taymans <wim@fluendo.com>
21046 * check/gst/gstevent.c: (GST_START_TEST):
21047 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21048 (gst_base_sink_change_state):
21049 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21050 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21051 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21052 * gst/gstevent.c: (gst_event_new_newsegment),
21053 (gst_event_parse_newsegment):
21055 Added extra flag to newsegment for future API freeze.
21056 Updated check and base elements.
21058 2005-10-11 Julien MOUTTE <julien@moutte.net>
21060 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21061 (gst_collectpads_add_pad), (gst_collectpads_pop),
21062 (gst_collectpads_event), (gst_collectpads_chain):
21063 * gst/base/gstcollectpads.h: Handle EOS correctly.
21065 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21067 * tools/gst-launch.c: (main):
21068 more null protecting
21070 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21072 * gst/gst-i18n-lib.h:
21073 check for ENABLE_NLS, not GETTEXT_PACKAGE
21074 * gst/gstregistry.c: (gst_registry_add_plugin),
21075 (gst_registry_scan_path_level),
21076 (_gst_registry_remove_cache_plugins):
21077 protect possibly NULL strings
21078 * gst/parse/types.h:
21079 config.h already included before
21080 * tools/gst-inspect.c: (main):
21081 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21082 check for ENABLE_NLS, not GETTEXT_PACKAGE
21083 * tools/gst-launch.c: (main):
21084 check for ENABLE_NLS, not GETTEXT_PACKAGE
21086 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21089 if we don't have glib, fail before testing 2.8
21090 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21091 fix a leak, should fix plugins-base testsuite
21093 2005-10-11 Andy Wingo <wingo@pobox.com>
21095 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21096 take the mode we're going to as an arg. Go head and set the mode
21097 and flushing flags now, so that if the activate function starts a
21098 thread all the flags will be in the right state.
21099 (post_activate): Renamed also. Just handle making sure streaming
21100 finishes for the deactivation case, and setting the deactivated
21102 (gst_pad_set_active): Complain loudly if deactivation fails.
21103 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21104 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21105 remove the terrible hack.
21107 2005-10-11 Wim Taymans <wim@fluendo.com>
21109 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21110 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21111 (gst_bin_recalc_state), (gst_bin_change_state_func),
21112 (gst_bin_dispose), (bin_bus_handler):
21114 Prepare to make current EOS message queue more generic.
21117 * gst/gstevent.c: (gst_event_new_newsegment),
21118 (gst_event_parse_newsegment):
21120 Rename base to stream_time.
21122 * gst/gstmessage.h:
21125 2005-10-11 Wim Taymans <wim@fluendo.com>
21127 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21128 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21129 (gst_bin_change_state_func), (bin_bus_handler):
21131 Work on proper clock selection.
21133 2005-10-11 Edward Hervey <edward@fluendo.com>
21135 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21136 * libs/gst/controller/gstcontroller.h:
21137 Added GList* version of _remove_properties() in order to be able to wrap
21140 2005-10-11 Wim Taymans <wim@fluendo.com>
21142 * docs/design/part-states.txt:
21145 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21146 (gst_bin_change_state_func), (bin_bus_handler):
21147 Doc updates. Don't distribute the same clock over and over again.
21153 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21154 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21155 (gst_pad_send_event):
21157 Make probe emission threadsafe again.
21158 Register quarks and move _get_name() from utils.
21161 * gst/gstpipeline.c: (gst_pipeline_class_init),
21162 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21163 Only redistribute the clock of it changed.
21165 * gst/gstsystemclock.h:
21170 Moved the _flow_get_name() to GstPad.
21172 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21174 * check/gst-libs/gdp.c: (GST_START_TEST):
21175 * check/gst/gstcaps.c: (GST_START_TEST):
21176 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21177 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21178 (gst_dp_packet_from_caps):
21179 fix more valgrind warnings before turning up the heat
21181 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21183 * gst/parse/grammar.y:
21184 some cleanup before the hacking
21186 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21188 * gst/base/gstbasesrc.c: (gst_base_src_query):
21190 * gst/gstutils.c: (gst_guint64_to_gdouble),
21191 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21193 externalize, basesrc uses it
21194 obviously the implementation needs testing
21196 2005-10-10 Wim Taymans <wim@fluendo.com>
21198 * tests/sched/Makefile.am:
21199 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21200 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21202 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21204 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21205 apparently converting from guint64 to double is not implemented
21208 2005-10-10 Wim Taymans <wim@fluendo.com>
21210 * check/Makefile.am:
21211 * check/generic/states.c: (GST_START_TEST):
21212 * check/gst/gstbin.c: (GST_START_TEST):
21213 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21214 * check/states/sinks.c: (GST_START_TEST):
21215 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21217 Check fixes, use API as stated in design docs, remove hacks.
21219 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21220 (gst_base_sink_change_state):
21221 Catch stopping our task while we're shutting down.
21223 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21224 (gst_bin_remove_func), (gst_bin_get_state_func),
21225 (gst_bin_recalc_state), (gst_bin_change_state_func),
21228 * gst/gstelement.c: (gst_element_init),
21229 (gst_element_get_state_func), (gst_element_abort_state),
21230 (gst_element_commit_state), (gst_element_lost_state),
21231 (gst_element_set_state), (gst_element_change_state),
21232 (gst_element_change_state_func):
21233 * gst/gstelement.h:
21234 New state change algorithm (see #318116)
21236 * gst/gstpipeline.c: (gst_pipeline_class_init),
21237 (gst_pipeline_init), (gst_pipeline_set_property),
21238 (gst_pipeline_get_property), (do_pipeline_seek),
21239 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21240 * gst/gstpipeline.h:
21241 Remove crude state change hacks.
21244 Remove crude hacks.
21246 * tools/gst-launch.c: (main):
21247 Fixes for state change. Needs some more work to fully use the
21250 2005-10-10 Andy Wingo <wingo@pobox.com>
21252 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21254 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21255 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21258 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21260 * gst/gstiterator.c: (gst_iterator_new):
21261 Fix my previous commit: GTypes passed to gst_iterator_new()
21262 can be fundamental types.
21264 2005-10-10 Wim Taymans <wim@fluendo.com>
21266 * gst/gstelement.c: (gst_element_iterate_pad_list),
21267 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21268 (gst_element_iterate_sink_pads):
21269 Use src/sink pads lists for the respective iterators instead
21272 2005-10-10 Andy Wingo <wingo@pobox.com>
21274 Merged in popt removal + GOption addition patch from Ronald, bug
21277 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21278 GstElement macros around, remove popt-related symbols, add goption
21281 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21283 * docs/gst/Makefile.am:
21284 * docs/libs/Makefile.am: No POPT_CFLAGS.
21286 * examples/manual/Makefile.am:
21287 * docs/manual/basics-init.xml: Doc updates with an example.
21289 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21290 (gst_init), (parse_one_option), (parse_goption_arg):
21291 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21292 bit of hand merging and debugging to get the GOption stuff working
21295 * tests/Makefile.am:
21296 * tools/Makefile.am:
21297 * tools/gst-inspect.c: (main):
21298 * tools/gst-launch.c: (main):
21299 * tools/gst-run.c: (main):
21300 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21302 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21304 * gst/gstiterator.c: (gst_iterator_new):
21305 Add assertions to make sure passed GType is likely to really
21306 be a GType (as the compiler won't catch it if the size and
21307 GType arguments get mixed up, see #318447).
21309 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21311 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21313 * gst/gstbin.c: (gst_bin_iterate_sorted):
21314 Pass GType and size arguments to gst_iterator_new() in the right
21315 order (maybe we should make _new() take the GType as first argument
21316 just like _new_list()?) (#318447).
21319 2005-10-10 Wim Taymans <wim@fluendo.com>
21321 * gst/gstelement.c: (gst_element_finalize):
21322 And free the GStaticRecMutex too
21324 2005-10-10 Andy Wingo <wingo@pobox.com>
21326 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21327 Allocate and free the mutex properly.
21329 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21331 (GstElement): The state_lock is now recursive. Rebuild your
21332 plugins, suckers. Old macros adapted.
21334 * docs/gst/gstreamer-sections.txt: Doc updates.
21337 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21338 (g_static_rec_cond_wait): Ported from state changes patch, while
21339 we wait on bug #317802 to be solved in a well-distributed GLib.
21341 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21342 gst_element_change_state, variable name changes.
21343 (gst_element_change_state): Split out of gst_element_set_state in
21344 preparation for the state change merge. Doesn't pay attention to
21345 the 'transition' argument.
21346 (gst_element_set_state): Updates, hopefully purely cosmetic.
21347 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21348 state change patch.
21349 (gst_element_get_state_func): Renamed from get_state, cosmetic
21352 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21354 * gst/elements/gstelements.c:
21355 * win32/GStreamer.vcproj:
21357 * win32/dirent.c: (_tseekdir):
21358 * win32/gst-inspect.vcproj:
21359 * win32/gst-launch.vcproj:
21360 * win32/gstconfig.h:
21361 * win32/gstelements.vcproj:
21362 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21363 * win32/gstreamer.def:
21364 * win32/msvc71.sln:
21365 updates for the win32 build (patch from Sebastien Moutte)
21367 2005-10-10 Andy Wingo <wingo@pobox.com>
21369 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21370 gst_bin_get_state, cleaned up (but no logic changes).
21371 (bin_element_is_sink): Comment updates.
21372 (sink_iterator_filter): Remove needless cast.
21373 (gst_bin_iterate_sinks): Doc update.
21374 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21375 cleaned up (but no logic changes).
21377 * check/states/sinks.c (test_src_sink): Cleanups from the state
21379 (test_livesrc_sink): Sync on the state.
21381 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21382 the state change patch.
21384 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21387 * check/gst/gstbin.c: Merge in some style fixes and additional
21388 checks from Wim's state change patch.
21390 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21392 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21393 (gst_type_find_helper):
21394 Check whether we have the requested data already in our list of
21395 cached buffers before pulling a new buffer; also make the buffer
21396 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21398 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21403 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21404 don't use long long, it's not portable. Replacing with
21405 gint64 seems to work; let's hope no skeletons fall out of the closet.
21407 2005-10-10 Andy Wingo <wingo@pobox.com>
21409 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21411 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21413 * docs/gst/gstreamer-sections.txt:
21418 * gst/gstmessage.c: (gst_message_parse_state_changed):
21421 more docs, fix compilation
21423 2005-10-09 Philippe Khalaf <burger@speedy.org>
21424 * gst/gstmessage.c:
21425 Fixed a few forgotten variables on previous commit
21427 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21429 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21430 Fix evil typefind crasher: getrange() might return a short
21431 buffer at the end of a file, but gst_type_find_peek() must
21432 either return the full data as requested or NULL, but
21433 never a short buffer.
21435 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21437 * gst/gstmessage.c: (gst_message_new_state_changed),
21438 (gst_message_parse_state_changed):
21439 * gst/gstmessage.h:
21440 don't use "new", it's a C++ keyword
21442 2005-10-08 Wim Taymans <wim@fluendo.com>
21444 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21445 * gst/gstelement.c: (gst_element_post_message):
21446 * gst/gstpipeline.c: (gst_pipeline_change_state):
21447 Small docs and debug updates.
21449 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21451 * docs/gst/gstreamer-sections.txt:
21452 * gst/gstelementfactory.c:
21454 * gst/gsttaglist.c:
21457 2005-10-08 Wim Taymans <wim@fluendo.com>
21459 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21460 (gst_bin_dispose), (bin_bus_handler):
21461 Fix typos, add comments.
21462 Clear EOS list when going to PAUSED from any direction and do it
21463 in a threadsafe way.
21464 Get base time in a threadsafe way too.
21465 Fix confusing debug in the change_state function.
21466 Various other small cleanups.
21468 * gst/gstelement.c: (gst_element_post_message):
21469 Fix very verbose bus posting code.
21471 * gst/gstpipeline.c: (gst_pipeline_class_init),
21472 (gst_pipeline_set_property), (gst_pipeline_get_property),
21473 (gst_pipeline_change_state):
21474 Small ARG_ -> PROP_ cleanup
21476 2005-10-08 Wim Taymans <wim@fluendo.com>
21478 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21479 Do a less CPU demanding EOS check because we can.
21481 2005-10-08 Wim Taymans <wim@fluendo.com>
21483 * libs/gst/dataprotocol/dataprotocol.c:
21484 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21485 (gst_dp_packet_from_event):
21486 * libs/gst/dataprotocol/dataprotocol.h:
21487 * libs/gst/dataprotocol/dp-private.h:
21488 It's about time we bump the version number.
21489 Since event types don't fit in the guint8 anymore describing
21490 the payload type, make payload type 16 bits wide.
21492 2005-10-08 Wim Taymans <wim@fluendo.com>
21494 * docs/design/part-TODO.txt:
21495 * docs/design/part-clocks.txt:
21496 * docs/design/part-events.txt:
21497 * docs/design/part-gstbin.txt:
21498 * docs/design/part-gstelement.txt:
21499 * docs/design/part-gstpipeline.txt:
21500 * docs/design/part-live-source.txt:
21501 * docs/design/part-messages.txt:
21502 * docs/design/part-overview.txt:
21503 * docs/design/part-states.txt:
21506 2005-10-08 Wim Taymans <wim@fluendo.com>
21510 Fix event quark registration.
21511 Add some space between events so we can insert them in the
21514 2005-10-08 Wim Taymans <wim@fluendo.com>
21516 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21517 (gst_base_sink_handle_buffer):
21518 Better log message.
21521 * gst/gstelement.h:
21524 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21525 (gst_queue_set_property), (gst_queue_get_property):
21527 Remove old unused properties.
21529 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21530 * docs/gst/gstreamer-sections.txt:
21531 * gst/gstmessage.c:
21532 * gst/gstmessage.h:
21533 * gst/gstminiobject.c:
21534 * gst/gstminiobject.h:
21538 lots of new docs and doc fixes
21540 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21542 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21544 * gst/gstregistry.c: (gst_registry_lookup_locked),
21545 (gst_registry_scan_path_level):
21546 * gst/gstregistryxml.c: (load_plugin):
21547 Only ever load one plugin for a given plugin basename.
21548 This ensures correct overriding of GST_PLUGIN_PATH over
21549 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21550 system installed plugins.
21552 2005-10-08 Wim Taymans <wim@fluendo.com>
21554 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21555 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21556 Prepare for doing QOS.
21558 2005-10-08 Wim Taymans <wim@fluendo.com>
21560 * check/gst/gstbin.c: (GST_START_TEST):
21561 * check/pipelines/cleanup.c: (GST_START_TEST):
21562 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21563 Allow new clock message too.
21565 2005-10-08 Wim Taymans <wim@fluendo.com>
21567 * gst/gstmessage.c: (gst_message_new_error),
21568 (gst_message_new_warning), (gst_message_new_tag),
21569 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21570 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21571 (gst_message_new_segment_start), (gst_message_new_segment_done),
21572 (gst_message_parse_state_changed),
21573 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21574 (gst_message_parse_new_clock):
21575 * gst/gstmessage.h:
21576 Also carry the clock in question.
21578 2005-10-08 Wim Taymans <wim@fluendo.com>
21580 * gst/gstmessage.c: (gst_message_new_custom),
21581 (gst_message_new_eos), (gst_message_new_error),
21582 (gst_message_new_warning), (gst_message_new_tag),
21583 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21584 (gst_message_new_new_clock), (gst_message_new_segment_start),
21585 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21586 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21587 * gst/gstmessage.h:
21589 Added clock related messages.
21591 * gst/gstpipeline.c: (gst_pipeline_change_state):
21592 Post message when the clock changed.
21594 * tools/gst-launch.c: (event_loop):
21597 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21599 * tools/gst-inspect.c: (print_element_properties_info):
21600 Can't pass NULL strings to g_print() on windows.
21602 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21604 * docs/Makefile.am:
21605 * docs/gst/Makefile.am:
21606 * docs/gst/gstreamer-docs.sgml:
21607 * docs/gst/running.xml:
21608 * docs/version.entities.in:
21609 add a chapter on running GStreamer.
21610 document GST_DEBUG and GST_PLUGIN* env vars
21612 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21617 remove PLUGINS_BUILDDIR stuff
21618 * gst/gst.c: (init_post):
21619 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21621 remove, it was condescending and not needed
21623 2005-10-08 Wim Taymans <wim@fluendo.com>
21625 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21626 (gst_base_sink_handle_object), (gst_base_sink_event),
21627 (gst_base_sink_wait), (gst_base_sink_handle_event),
21628 (gst_base_sink_change_state):
21629 * gst/base/gstbasesink.h:
21630 Repost EOS message while going to PLAYING if still EOS.
21631 Make sure that when receiving a FLUSH_START we don't attempt
21632 to sync on the clock anymore.
21634 2005-10-08 Wim Taymans <wim@fluendo.com>
21636 * tools/gst-launch.c: (event_loop):
21637 Better message printout.
21639 2005-10-08 Wim Taymans <wim@fluendo.com>
21641 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21642 (gst_bin_child_proxy_get_children_count):
21643 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21644 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21645 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21646 (gst_child_proxy_set_valist):
21647 * gst/parse/grammar.y:
21648 Make ChildProxy threadsafe and fix mem leaks.
21650 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21652 * gst/gst.c: (init_post):
21653 debug the GST_PLUGIN_ env vars
21655 2005-10-08 Wim Taymans <wim@fluendo.com>
21657 * check/gst/gstbin.c: (GST_START_TEST):
21658 * check/gst/gstmessage.c: (GST_START_TEST):
21659 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21660 * gst/gstelement.c: (gst_element_commit_state),
21661 (gst_element_lost_state):
21662 * gst/gstmessage.c: (gst_message_new_state_changed),
21663 (gst_message_parse_state_changed):
21664 * gst/gstmessage.h:
21665 * tools/gst-launch.c: (event_loop):
21666 Added extra field to STATE_CHANGE message with the pending
21667 state, which will be different from the new state soon.
21669 2005-10-08 Wim Taymans <wim@fluendo.com>
21671 * gst/gstbus.c: (gst_bus_pop):
21673 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21674 Small cleanups and doc updates.
21676 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21678 * gst/gst.c: (init_pre):
21679 * gst/gstbin.c: (gst_bin_add_func):
21680 log distributing clocks and base time
21681 * gst/gstregistry.c: (gst_registry_add_plugin),
21682 (gst_registry_scan_path_level), (gst_registry_scan_path):
21683 clean up the debugging output a little
21684 * gst/gstutils.c: (gst_element_state_get_name):
21685 warn about a memleak (I've actually seen this be used, though
21686 it was probably a bug)
21688 2005-10-07 Wim Taymans <wim@fluendo.com>
21690 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21691 (gst_base_src_init), (gst_base_src_default_newsegment),
21692 (gst_base_src_newsegment), (gst_base_src_do_seek),
21693 (gst_base_src_loop), (gst_base_src_start):
21694 * gst/base/gstbasesrc.h:
21695 Make the newsegment event customizable by subclasses.
21697 2005-10-07 Wim Taymans <wim@fluendo.com>
21699 * gst/gstevent.c: (gst_event_new_buffersize),
21700 (gst_event_parse_buffersize):
21702 New event for future idea.
21704 2005-10-07 Andy Wingo <wingo@pobox.com>
21706 * gst/gstelement.c (gst_element_post_message): Doc update.
21708 * docs/gst/gstreamer-sections.txt: Update.
21710 * gst/gstmessage.c (gst_message_new_application): Made into a
21711 function like honest API calls.
21712 (gst_message_new_element): New message type.
21714 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21716 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21717 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21720 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21721 NO_PREROLL from gst_element_change_state to fall through.
21723 2005-10-07 Wim Taymans <wim@fluendo.com>
21725 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21726 (gst_ghost_pad_do_activate_push):
21727 Activating a ghostpad with no internal pad in push mode
21730 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21733 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21734 Fixes compilation on Windows.
21736 2005-10-07 Michael Smith <msmith@fluendo.com>
21738 * tools/gst-inspect.c:
21739 Print out feature and plugin count at the end when printing out
21742 2005-10-04 Michael Smith <msmith@fluendo.com>
21744 * gst/gsterror.c: (_gst_stream_errors_init):
21745 Add another error string used in a few existing plugins.
21748 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21749 * tools/gst-inspect.c: (print_element_info):
21750 When a feature disappears from a plugin (and the feature exists in
21751 the cached registry file), things went horribly wrong. This isn't a
21752 complete fix, we should actually be removing the 'missing' features
21753 from the features list when we load the actual plugin. That's not
21756 2005-10-04 Johan Dahlin <johan@gnome.org>
21758 * check/gst/gstiterator.c: (GST_START_TEST):
21759 * gst/gstbin.c: (gst_bin_iterate_elements),
21760 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21761 * gst/gstelement.c: (gst_element_iterate_pads):
21762 * gst/gstformat.c: (gst_format_iterate_definitions):
21763 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21764 (gst_iterator_new_list), (gst_iterator_filter):
21765 * gst/gstiterator.h:
21766 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21767 Add a GType to GstIterator, update callsites and tests.
21769 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21771 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21772 give events a chance to be handled by event probes when the pad
21775 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21777 * gst/gstevent.c: (gst_event_type_get_name),
21778 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21780 add string representations for event types
21782 2005-10-06 Wim Taymans <wim@fluendo.com>
21784 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21785 Don't use NULL pointers.
21787 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21789 * gst/gst_private.h:
21791 * gst/gstelement.c:
21793 * gst/gstpluginfeature.c:
21794 widen the debug category in output to fit the biggest one we have
21795 add a bus category and use it
21796 play with the colors
21797 fix up some categories
21799 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21801 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21802 add push activation of sink ghost pads.
21803 Andye, please verify
21805 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21807 * gst/gstutils.c: (gst_element_link_pads):
21808 fix a bug in the case where neither element has a pad
21809 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21810 add a test for that case
21812 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21814 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21815 emit have-data before checking for peers. This allows
21816 for probe handlers to connect elements. This helps autopluggers.
21817 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21819 add six checks, linked/unlinked with no/true/false probe
21821 2005-10-04 Wim Taymans <wim@fluendo.com>
21823 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21824 (gst_fake_sink_event), (gst_fake_sink_preroll),
21825 (gst_fake_sink_render), (gst_fake_sink_change_state):
21826 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21827 (gst_fake_src_get_property), (gst_fake_src_create),
21828 (gst_fake_src_stop):
21829 * gst/elements/gstidentity.c: (gst_identity_stop):
21830 Protect last_message with lock.
21832 2005-10-04 Edward Hervey <edward@fluendo.com>
21835 Added precision in the comments for GST_FORMAT_DEFAULT
21837 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21839 * tools/gst-launch.c: (main):
21840 Don't try to run erroneous pipelines.
21842 2005-10-04 Julien MOUTTE <julien@moutte.net>
21844 * gst/gstbus.c: We don't need this header.
21846 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21849 back to development
21851 === release 0.9.3 ===
21853 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21857 Releasing 0.9.3, "Unregistered"
21859 2005-10-03 Andy Wingo <wingo@pobox.com>
21861 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21862 whereby calling a pad's activatepush() function can start a thread
21863 that starts to push or pull before the pad gets the FLUSHING flag
21864 unset. Hack around it by holding the stream lock until the flag is
21865 set. Need to replace this with a proper solution. Together with
21866 the ghost pad fixes, this fixes mp3 playing/tagreading.
21868 * docs/design/part-gstghostpad.txt: Add a note about activation of
21869 proxy pads outside of ghost pads.
21871 * gst/gstghostpad.c: Implement the ghost pad activation design.
21873 2005-10-02 Andy Wingo <wingo@pobox.com>
21875 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21876 It is volatile, after all.
21878 * docs/design/part-gstghostpad.txt: Flesh out activation with
21881 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21884 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21887 Fix (unused) AM_CONDITIONAL tests.
21889 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21891 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21893 * gst/gstutils.c: (gst_pad_query_convert):
21894 Add assertion that makes sure src_val is >=0, just like
21895 gst_query_new_convert() has. (#315895)
21897 2005-09-30 Edward Hervey <edward@fluendo.com>
21899 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21900 Let's not iterate pads we're not interested in, it avoids getting
21901 sky-high refcounts on sinkpad.
21903 2005-09-30 Wim Taymans <wim@fluendo.com>
21905 * gst/gstelement.c: (gst_element_set_state),
21906 (gst_element_change_state):
21907 Small tweak, element in ASYNC remains ASYNC.
21909 2005-09-30 Wim Taymans <wim@fluendo.com>
21911 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21912 Only error is an error.
21914 * gst/gstbin.c: (gst_bin_change_state):
21917 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21918 Also call pad_block in pad alloc.
21920 * gst/gstutils.c: (gst_flow_get_name):
21923 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21925 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21926 (gst_base_src_get_range):
21927 Fix documentation typos. Add some more debug info.
21929 2005-09-29 David Schleef <ds@schleef.org>
21931 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21932 more end-user friendly.
21933 * tools/gst-inspect.c: (main): Check if command-line argument is
21934 a file and attempt to load that file as a plugin.
21936 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21938 * check/gst/gstbin.c:
21939 * check/states/sinks.c:
21940 fix tests for the new warning
21941 * check/gst/gstpipeline.c:
21942 add a test for pipeline and bus interaction
21943 * gst/gstelement.c:
21944 elements should be NULL if they get disposed; add a warning if not
21946 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21949 for 2.6 refcounting, make debug log more correct by printing
21950 the actual refcounts at the time of swap (Wim)
21952 2005-09-29 Andy Wingo <wingo@pobox.com>
21954 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21955 removes signal watches previously added via
21956 gst_bus_add_signal_watch.
21957 (gst_bus_add_signal_watch): Don't return the source id, just store
21958 it on the bus if there wasn't an id already.
21960 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21961 add_signal_watch and remove_signal_watch.
21963 2005-09-29 Edward Hervey <edward@fluendo.com>
21965 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21966 Better if we actually iterate the list :)
21968 2005-09-29 Wim Taymans <wim@fluendo.com>
21970 * check/gst/gstbin.c: (GST_START_TEST):
21971 Change for new bus API.
21973 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21974 (send_messages), (GST_START_TEST), (gstbus_suite):
21975 Change for new bus signal API.
21977 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21978 (gst_bus_source_prepare), (gst_bus_source_check),
21979 (gst_bus_create_watch), (gst_bus_add_watch_full),
21980 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21981 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21983 Remove support for multiple GSources operating on different
21984 message types as it is too complex and unneeded when using
21986 Added support for receiving signals from the bus.
21988 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21990 * docs/libs/tmpl/gstdataprotocol.sgml:
21991 * docs/manual/advanced-dataaccess.xml:
21992 * gst/elements/gstcapsfilter.c:
21994 rename filter-caps to caps property
21996 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21998 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21999 More robust fraction string parsing.
22001 * docs/pwg/appendix-porting.xml:
22002 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22004 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22006 * gst/gstcaps.c: (gst_caps_do_simplify):
22007 Thou shalt not free a structure and then continue using it
22008 in the next loop iteration.
22010 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22012 Add test case for caps simplification.
22014 2005-09-29 Wim Taymans <wim@fluendo.com>
22016 * check/gst/gstbin.c: (GST_START_TEST):
22019 2005-09-29 Wim Taymans <wim@fluendo.com>
22021 * check/gst/gstbin.c: (GST_START_TEST):
22024 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22025 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22026 (find_element), (gst_bin_sort_iterator_next),
22027 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22028 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22029 (gst_bin_change_state), (gst_bin_dispose):
22030 A bin does not have a bus, it gets the bus from the parent.
22032 * gst/gstelement.c: (gst_element_requires_clock),
22033 (gst_element_provides_clock), (gst_element_is_indexable),
22034 (gst_element_is_locked_state), (gst_element_change_state),
22035 (gst_element_set_bus_func):
22038 * gst/gstpipeline.c: (gst_pipeline_class_init),
22039 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22040 The pipeline provides a bus.
22042 2005-09-28 Johan Dahlin <johan@gnome.org>
22044 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22045 gst_structure_get_enum instead of gst_structure_get_int
22047 * gst/gststructure.c (gst_structure_get_enum): Impl.
22049 * gst/gststructure.h (gst_structure_get_enum): Add
22051 * docs/gst/gstreamer-sections.txt: Ditto
22053 * gst/gstmessage.c (gst_message_new_state_changed): Use
22054 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22055 which does introspection.
22056 Reviewed by Christian Schaller
22058 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22060 * gst/gstinfo.c: (gst_debug_log_default):
22061 don't do dummy g_strdup()s
22062 * libs/gst/controller/gstcontroller.c:
22063 (on_object_controlled_property_changed),
22064 (gst_controlled_property_new), (gst_controller_new_valist),
22065 (gst_controller_new_list),
22066 (gst_controller_remove_properties_valist), (gst_controller_set),
22067 (gst_controller_get), (gst_controller_sync_values),
22068 (gst_controller_get_value_array), (_gst_controller_class_init),
22069 (gst_controller_get_type):
22070 * libs/gst/controller/gstcontroller.h:
22071 * libs/gst/controller/gstinterpolation.c:
22072 (gst_controlled_property_find_timed_value_node):
22073 convert // to /**/ comments
22075 2005-09-28 Wim Taymans <wim@fluendo.com>
22077 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22078 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22079 (gst_bus_sync_signal_handler):
22081 Added async-message and sync-message signals to the bus.
22082 Added helper BusFunc to emit signals for all posted messages.
22084 * gst/gstmessage.c: (gst_message_type_get_name),
22085 (gst_message_type_to_quark), (gst_message_get_type):
22086 * gst/gstmessage.h:
22087 Register quarks for message names.
22089 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22091 * docs/libs/gstreamer-libs-sections.txt:
22092 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22093 (gst_controller_new_list):
22094 * libs/gst/controller/gstcontroller.h:
22095 added another constructor for language bindings
22097 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22099 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22103 * gst/gstinfo.c: (_gst_debug_init):
22104 slightly more readable color for refcount debugging
22106 2005-09-28 Wim Taymans <wim@fluendo.com>
22108 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22109 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22110 (find_element), (gst_bin_sort_iterator_next),
22111 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22112 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22113 (gst_bin_change_state), (gst_bin_dispose):
22114 Small doc fixes. get_clock -> provide_clock.
22116 * gst/gstelement.c: (gst_element_class_init),
22117 (gst_element_provides_clock), (gst_element_provide_clock),
22118 (gst_element_get_clock), (gst_element_commit_state),
22119 (gst_element_lost_state):
22120 * gst/gstelement.h:
22121 Make get/set_clock() symetric. Add provide_clock vmethod since
22122 that is actually what this function does.
22124 * gst/gstpipeline.c: (gst_pipeline_class_init),
22125 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22126 (gst_pipeline_get_clock):
22127 get_clock -> provide_clock.
22129 2005-09-28 Andy Wingo <wingo@pobox.com>
22131 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22132 lieu of real docs...
22134 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22136 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22138 * gst/elements/gstcapsfilter.c:
22139 * gst/elements/gstfakesink.c:
22140 * gst/elements/gstfakesrc.c:
22141 * gst/elements/gstfdsink.c:
22142 * gst/elements/gstfdsrc.c:
22143 * gst/elements/gstfilesink.c:
22144 * gst/elements/gstfilesrc.c:
22145 * gst/elements/gstidentity.c:
22146 * gst/elements/gsttee.c:
22147 * gst/elements/gsttypefindelement.c:
22148 Make element details static.
22150 2005-09-28 Wim Taymans <wim@fluendo.com>
22152 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22153 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22154 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22155 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22156 (gst_bin_change_state), (gst_bin_dispose):
22157 Some documentation updates.
22158 Clean up dispose handlers.
22160 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22161 * gst/gstpad.c: (gst_pad_dispose):
22162 Clean up dispose handler.
22164 * gst/gstpipeline.c: (gst_pipeline_change_state):
22165 Removed spurious UNLOCK.
22167 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22169 * docs/gst/gstreamer-sections.txt:
22170 * gst/base/gstbasesrc.h:
22171 * gst/gstelement.h:
22175 * gst/gstpipeline.c:
22176 * gst/gstpipeline.h:
22179 added two new functions to the docs
22180 documents all undocumented GstXXXFlags
22181 completed some incomplete docs
22183 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22185 * gst/gstbin.c: (gst_bin_dispose):
22186 * gst/gstelement.c: (gst_element_dispose):
22187 remove now useless and leaky resurrection code in dispose
22188 * gst/base/gstbasesrc.c: (gst_base_src_init):
22189 * gst/gstelementfactory.c: (gst_element_factory_create):
22190 * gst/gstobject.c: (gst_object_set_parent):
22193 2005-09-27 Wim Taymans <wim@fluendo.com>
22195 * docs/design/part-TODO.txt:
22198 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22199 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22200 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22201 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22202 (gst_bin_change_state):
22203 * gst/gstelement.h:
22204 Remove element variable, we keep element info in the iterator now.
22206 2005-09-27 Andy Wingo <wingo@pobox.com>
22208 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22211 2005-09-27 Wim Taymans <wim@fluendo.com>
22213 * check/gst/gstbin.c: (GST_START_TEST):
22214 Enable check that works now.
22216 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22217 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22218 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22219 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22220 (gst_bin_change_state):
22222 Redid the state change algorithm using a topological sort algo.
22223 Handles all cases correctly.
22224 Exposed iterator for state change order.
22226 * gst/gstelement.h:
22227 Temp storage for state changes. Need to get rid of this soon.
22229 2005-09-27 Wim Taymans <wim@fluendo.com>
22231 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22232 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22233 (link_fold_func), (gst_pad_proxy_setcaps):
22234 Leak fixes, the fold functions need to unref the passed object and
22235 _get_parent_*() returns ref to parent.
22237 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22239 * check/gst/gstbuffer.c: (test_make_writable):
22240 Plug leak in test case and fix 'make check-valgrind'
22242 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22244 * gst/gstbuffer.c: (gst_subbuffer_init):
22245 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22246 works correctly in all circumstances (we could have just copied
22247 the parent buffer's readonly flag, but conceptually it seems
22248 cleaner to mark all subbuffers as read-only). (based on patch
22249 by Alessandro Decina, #314710).
22251 * check/gst/gstbuffer.c: (create_read_only_buffer),
22252 (test_make_writable), (test_subbuffer_make_writable),
22254 Add some tests for gst_buffer_make_writable().
22256 2005-09-27 Wim Taymans <wim@fluendo.com>
22258 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22259 use gst_object_has_ancestor().
22261 * gst/gstobject.c: (gst_object_has_ancestor):
22263 gst_object_has_ancestor() copied from gstbin.c as it is a
22266 * tests/instantiate/create.c: (create_all_elements):
22267 * tests/lat.c: (handoff_src), (handoff_sink):
22268 * tests/sched/runxml.c: (main):
22269 * tests/seeking/seeking1.c: (main):
22270 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22272 Fix compilation of some tests.
22274 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22277 Remove comment. GST_TYPE_G_ERROR is here to stay,
22278 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22279 (#316961, #300610).
22281 2005-09-26 Wim Taymans <wim@fluendo.com>
22283 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22284 Added check that shows error in state change order.
22286 2005-09-26 Wim Taymans <wim@fluendo.com>
22288 * gst/gstbin.c: (gst_bin_change_state):
22289 Make state change function use 3 queues again, we were
22290 adding elements in the wrong order.
22292 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22295 * gst/gstpad.c: (gst_pad_dispose):
22296 Added some debug info first.
22298 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22300 * docs/design/draft-push-pull.txt:
22301 * docs/design/part-events.txt:
22302 * docs/design/part-overview.txt:
22303 * docs/design/part-scheduling.txt:
22304 Replace all _pull_region() with _pull_range()
22306 2005-09-26 Andy Wingo <wingo@pobox.com>
22308 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22310 * check/gst-libs/controller.c: Update for controller api change.
22313 * tests/Makefile.am:
22314 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22315 over by GLib bug 118439.
22317 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22318 routines to a function.
22320 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22322 * libs/gst/controller/gsthelper.c:
22323 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22324 (gst_object_sync_values): Renamed from sink_values. Ugh.
22326 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22328 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22329 Renamed from controller_key, as it is exported.
22331 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22333 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22338 * gst/gstpadtemplate.h:
22341 * gst/gstqueryutils.c:
22342 * gst/gstqueryutils.h:
22343 remove queryutils headers after moving the two used functions
22344 to gstquery. also fixes build problem for gstsiddec
22346 2005-09-26 Michael Smith <msmith@fluendo.com>
22348 * tools/gst-launch.1.in:
22349 Correct documentation in manpage of debug syntax
22351 2005-09-26 Wim Taymans <wim@fluendo.com>
22353 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22354 (gst_base_src_is_seekable), (gst_base_src_change_state):
22355 Some more debugging info.
22357 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22359 * docs/gst/gstreamer-sections.txt:
22360 * gst/base/gstbasetransform.h:
22364 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22366 * docs/gst/.cvsignore:
22367 * docs/gst/tmpl/.cvsignore:
22368 * docs/gst/tmpl/gstpipeline.sgml:
22369 * docs/gst/tmpl/gstplugin.sgml:
22370 * gst/gstpipeline.c:
22373 inlined the last two docs files
22374 removed the tmpl directory from cvs (no more conflicts here!)
22376 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22378 * docs/gst/gstreamer-sections.txt:
22379 * docs/gst/tmpl/.cvsignore:
22380 * docs/gst/tmpl/gstpad.sgml:
22381 * docs/gst/tmpl/gstpadtemplate.sgml:
22383 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22384 (gst_pad_finalize), (gst_pad_set_pad_template):
22386 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22387 (gst_pad_template_class_init), (gst_pad_template_init),
22388 (gst_pad_template_dispose), (name_is_valid),
22389 (gst_static_pad_template_get), (gst_pad_template_new),
22390 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22391 (gst_pad_template_pad_created):
22392 * gst/gstpadtemplate.h:
22393 inlined two more docs
22394 factored gstpadtemplate out of gstpad
22396 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22398 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22399 (test_children_state_change_order_semi_sink):
22400 Fix test case: we can't rely on a fixed state change order when
22401 going from READY => PAUSED because the sink might commit its
22402 new state first when the first buffer created by the source
22403 reaches the sink before the source has finished its change state.
22404 (Test case still fails at times, see #316856, comment 5 onwards)
22406 2005-09-24 Wim Taymans <wim@fluendo.com>
22408 * docs/design/part-events.txt:
22409 * docs/design/part-gstbus.txt:
22410 * docs/design/part-gstpipeline.txt:
22411 * docs/design/part-messages.txt:
22412 * docs/design/part-overview.txt:
22413 * docs/design/part-segments.txt:
22417 * gst/gstelement.c:
22420 * gst/gstiterator.c:
22421 Various documentation updates.
22423 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22426 Well, that's embarassing. Luckily we weren't using
22427 GST_CLOCK_DIFF anywhere.
22429 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22431 * common/gtk-doc.mak:
22432 don't fail on building XML, FC4 slave shows a bunch of doc
22433 missing bits that I don't get
22435 * gst/gstpipeline.c:
22436 * gst/gststructure.c:
22439 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22441 * docs/design/part-gstbin.txt:
22442 * docs/design/part-gstbus.txt:
22444 Add blurb about how the bus goes into flushing mode and
22445 drops all messages when its bin goes from READY into NULL
22448 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22450 * docs/gst/gstreamer-sections.txt:
22451 * gst/gststructure.c: (gst_structure_get_clock_time):
22452 * gst/gststructure.h:
22453 add a method to get a GstClockTime out of a structure
22455 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22457 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22458 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22459 Added test to check state change order in bins (can still be made
22460 to fail here under heavy disk load; bails out with 'Push on pad
22461 fakesink:sink0, but it was not activated in push mode').
22463 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22464 Fix state change order when there is only a semi sink (#316856)
22466 * gst/gstbus.c: (gst_bus_class_init):
22467 Use _class_peek_parent(), not _class_ref(); fix docs to say
22468 'default main context' instead of 'mainloop' where that is
22471 * gst/gstelement.c: (gst_element_commit_state),
22472 (gst_element_set_state):
22473 Fix typos in debug messages
22475 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22478 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22479 * gst/gstpluginfeature.c:
22481 various doc updates
22482 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22483 change an assert into an error until it gets fixed properly
22485 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22487 * docs/gst/gstreamer-sections.txt:
22488 * docs/gst/tmpl/.cvsignore:
22489 * docs/gst/tmpl/gstelement.sgml:
22490 * docs/gst/tmpl/gstinfo.sgml:
22491 * docs/gst/tmpl/gstobject.sgml:
22492 * gst/gstelement.c:
22493 * gst/gstelement.h:
22496 * gst/gstobject.c: (gst_object_class_init):
22498 inlined 3 more biiiig doc files and added some missing docs on the fly
22500 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22502 * check/gst/.cvsignore:
22503 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22504 * gst/gstregistryxml.c: (load_plugin),
22505 (gst_registry_xml_save_plugin):
22506 put back source in registry. add checks for find_plugin.
22507 * testsuite/states/bin.c: (assert_state), (empty_bin),
22508 (test_adding_one_element), (main):
22509 * testsuite/states/locked.c: (main):
22510 some compile/run fixes
22512 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22514 * check/gst/gstvalue.c: (GST_START_TEST):
22515 fix leaks in the test itself
22517 2005-09-22 Wim Taymans <wim@fluendo.com>
22519 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22520 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22521 (gst_base_sink_query):
22522 Prepare for more accurate position reporting and query
22525 * gst/gstelement.c: (gst_element_send_event),
22526 (gst_element_set_state):
22529 2005-09-22 Wim Taymans <wim@fluendo.com>
22531 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22532 (gst_query_parse_segment):
22534 More documentation.
22535 Add segment query for future use.
22537 2005-09-22 Wim Taymans <wim@fluendo.com>
22539 * gst/gstbin.c: (gst_bin_add_func):
22540 Some more debug info.
22542 * gst/gstelement.c: (gst_element_send_event):
22543 Simplify send_event
22545 * gst/gstelement.h:
22546 Don't know how flags got broken.
22551 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22553 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22554 Add simplistic test suite for GST_TYPE_DATE serialisation and
22557 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22559 * docs/gst/gstreamer-sections.txt:
22560 * gst/gststructure.c: (gst_structure_set_valist),
22561 (gst_structure_get_date):
22562 * gst/gststructure.h:
22563 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22564 (gst_date_copy), (gst_value_compare_date),
22565 (gst_value_serialize_date), (gst_value_deserialize_date),
22566 (gst_value_transform_date_string),
22567 (gst_value_transform_string_date), (_gst_value_initialize):
22569 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22570 bunch of utility functions along with a hack that checks that
22571 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22572 is required. Part of the grand scheme in #170777.
22574 2005-09-22 Andy Wingo <wingo@pobox.com>
22576 * gst/gstconfig.h.in: Psych out gtk-doc.
22578 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22580 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22582 * tools/gst-inspect.c (print_element_list): Plug some
22583 inconsequential leaks.
22585 * gst/gstregistry.c (gst_registry_get_default): Doc.
22587 * check/gst/gstplugin.c:
22588 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22589 * gst/gstelementfactory.c (gst_element_factory_create):
22590 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22593 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22594 (gst_plugin_feature_load): Doc, don't eat refs.
22596 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22597 (gst_plugin_list_free): Doc.
22598 (gst_plugin_load_file): Doc updates.
22600 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22601 accessors returning refcounted objects, return a ref.
22603 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22604 accessor for caps. IDEMPOTENCE. Oh yes.
22606 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22608 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22610 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22611 (_gst_debug_register_funcptr):
22612 Add mutex to serialise access to the hash table with
22613 the function pointer => function name string mapping;
22614 make that hash table static scope (#316809).
22616 * gst/registries/.cvsignore:
22617 Remove left-over file.
22619 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22621 * docs/pwg/appendix-porting.xml:
22622 And something about newsegment events and caps-on-buffers to
22623 the porting guide (feel free to improve).
22625 2005-09-21 Andy Wingo <wingo@pobox.com>
22627 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22628 data and event probes on the same pad.
22629 (test_buffer_probe_once): Test that removing probes from within
22630 the probe functions works.
22632 2005-09-21 Andy Wingo <wingo@pobox.com>
22634 * check/gst/gstutils.c: New file.
22635 (test_buffer_probe_n_times): A simple buffer probe test. More to
22638 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22639 have-data::buffer, not have-data.
22640 (gst_pad_add_event_probe): Likewise for have-data::event.
22641 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22642 peer' isn't quite right yet though.
22643 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22644 (gst_pad_remove_data_probe): Change to take the guint handler_id
22645 as their arg, not the function+data, which is more glib-like.
22647 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22648 the signal emission to indicate if the data is a buffer or an
22650 (gst_pad_get_type): Initialize buffer and event quarks.
22651 (gst_pad_class_init): have-data is now a detailed signal, yes it
22654 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22656 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22657 * gst/gstutils.c: (gst_util_set_value_from_string),
22658 (gst_util_set_object_arg):
22659 Don't put functional code in g_return_if_fail() or
22660 g_return_val_if_fail() statements, otherwise things will
22661 break when G_DISABLE_CHECKS is defined during compilation.
22663 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22665 * docs/gst/tmpl/.cvsignore:
22666 * docs/gst/tmpl/gstvalue.sgml:
22669 inlied another one and added some obvious docs
22671 2005-09-21 Wim Taymans <wim@fluendo.com>
22673 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22674 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22675 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22676 (gst_fdsrc_get_property), (gst_fdsrc_create):
22677 * gst/elements/gstfdsrc.h:
22678 Properly implement fdsrc. Removed signal and timeout,
22679 better implemented somewhere else.
22681 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22683 * docs/gst/tmpl/.cvsignore:
22684 * docs/gst/tmpl/gstimplementsinterface.sgml:
22685 * gst/gstinterface.c:
22688 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22690 * docs/gst/gstreamer-sections.txt:
22691 * docs/gst/tmpl/.cvsignore:
22692 * docs/gst/tmpl/gstenumtypes.sgml:
22693 remove obsolete doc file
22695 2005-09-21 David Schleef <ds@schleef.org>
22697 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22698 little beer, fix a little leak.
22700 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22702 * docs/gst/gstreamer-docs.sgml:
22703 * docs/gst/gstreamer-sections.txt:
22704 * docs/gst/tmpl/.cvsignore:
22708 * gst/gstelement.h:
22709 * gst/gstindex.c: (gst_index_class_init):
22711 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22712 (gst_index_factory_class_init), (gst_index_factory_init),
22713 (gst_index_factory_finalize), (gst_index_factory_new),
22714 (gst_index_factory_destroy), (gst_index_factory_find),
22715 (gst_index_factory_create), (gst_index_factory_make):
22716 * gst/gstindexfactory.h:
22717 * gst/gstpluginfeature.c:
22718 * gst/gstpluginfeature.h:
22719 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22720 more docs inlined, splitted gstindex.{c,h}
22722 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22724 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22727 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22729 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22730 Set sync to FALSE by default.
22732 2005-09-20 Wim Taymans <wim@fluendo.com>
22734 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22735 (gst_base_sink_init):
22736 Make sync property settable from subclass.
22738 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22739 (gst_fake_sink_change_state):
22740 Set sync to FALSE by default.
22742 2005-09-20 Wim Taymans <wim@fluendo.com>
22744 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22745 * tools/gst-launch.c: (main):
22746 The timeout handler should have lower priority than the source
22747 so we don't timeout before popping a message with 0 timeout.
22748 Dump error messages after failed state change.
22750 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22752 * tools/gst-inspect.c: (print_element_properties_info):
22755 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22757 * check/gst/gstevent.c:
22758 * gst/elements/gstfakesink.c:
22759 * gst/elements/gstfakesink.h:
22760 remove the sync property from fakesink.
22761 has the side effect of setting sync TRUE
22762 for fakesink, which is a change. Anyone who knows how
22763 to fix this nicely in a GObject-y way, feel free.
22765 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22767 * docs/gst/gstreamer-docs.sgml:
22768 remove probe refsection
22770 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22772 * check/Makefile.am:
22773 disable valgrinding the controller test again
22774 * docs/gst/gstreamer-sections.txt:
22775 update for api-changes
22777 2005-09-20 Wim Taymans <wim@fluendo.com>
22779 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22780 (gst_base_sink_set_property), (gst_base_sink_get_property),
22781 (gst_base_sink_do_sync):
22782 * gst/base/gstbasesink.h:
22783 Added sync property to basesink to disable clock sync.
22785 2005-09-20 Andy Wingo <wingo@pobox.com>
22787 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22788 eating the caller's refcount.
22790 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22791 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22794 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22795 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22796 of GLib 2.8 public, so we can know which refcount to check in
22799 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22800 (gst_object_init): Only set the gst refcount if we're going ahead
22801 with the refcount hack.
22803 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22805 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22806 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22807 more leaks plumbed, added more debug-logging
22811 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22813 * gst/gstmessage.c:
22814 remove include of gstmemchunk.h
22816 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22818 * gst/gstclock.c: (_gst_clock_id_free):
22819 Commit from the Political Party For More Atomic CVS Commits,
22820 so that people don't waste too much of their day fishing
22821 out obvious leaks out of massive commits.
22822 Oh, and fix a pretty damn obvious leak in the memchunk
22825 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22827 * check/Makefile.am:
22828 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22829 plug mem-leak, re-add to valgrindable tests
22831 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22834 unbreak the build for those who have chronic arthritis
22835 and typing "make check" is just too taxing on the hands
22837 2005-09-20 Andy Wingo <wingo@pobox.com>
22839 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22840 really want it out, you should fix plugins at the same time.
22842 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22845 * docs/gst/gstreamer-sections.txt:
22847 added missing symbols to api docs
22848 disable ref-count hack if we have glib >= 2.8
22850 2005-09-19 David Schleef <ds@schleef.org>
22852 * docs/gst/Makefile.am: Ignore a few more internal headers
22853 * docs/gst/gstreamer-docs.sgml: Remove old sections
22854 * docs/gst/gstreamer-sections.txt: Remove old sections
22855 * docs/gst/tmpl/gstobject.sgml: update
22856 * docs/gst/tmpl/gstplugin.sgml: update
22857 * docs/gst/tmpl/gstpluginfeature.sgml: update
22858 * docs/random/ds/0.9-suggested-changes: update.
22859 * gst/Makefile.am: remove memchunk and trashstack, since they're
22861 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22862 * gst/gst.h: don't include some headers
22863 * gst/gstchildproxy.c: add gstmarshal.h
22864 * gst/gstclock.c: Don't use memchunks
22865 * gst/gstminiobject.c: Add some docs
22866 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22867 * gst/gstobject.h: same
22868 * gst/gstplugin.c: include gstmacros.h
22869 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22870 * gst/gstquery.c: don't use memchunks
22871 * gst/gstregistry.c: rename gst_registry_deinit()
22872 * gst/gstregistry.h: same
22874 2005-09-19 David Schleef <ds@schleef.org>
22876 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22877 * docs/libs/gstreamer-libs-sections.txt:
22878 * docs/libs/tmpl/gstgetbits.sgml:
22879 * docs/libs/tmpl/gstputbits.sgml:
22881 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22883 * win32/gstenumtypes.c:
22884 * win32/gstenumtypes.h:
22887 2005-09-19 Wim Taymans <wim@fluendo.com>
22889 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22890 Automatically PAUSE and RESUME a pipeline when a flushing seek
22893 2005-09-19 Andy Wingo <wingo@pobox.com>
22895 * gst/gstregistry.h: Spacing fixen.
22897 2005-09-19 Wim Taymans <wim@fluendo.com>
22899 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22900 Handle state change failure more correctly.
22902 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22904 * check/Makefile.am:
22905 * check/pipelines/cleanup.c: (run_pipeline):
22906 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22908 enable cleanup again after fixing the leak
22910 some more info on docs
22912 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22914 * check/Makefile.am:
22915 re-enable tests now that leaks are plugged
22917 * check/gst/gstbin.c:
22918 * check/gst/gstpipeline.c:
22919 add some more tests while fixing leaks
22920 * common/check.mak:
22921 make sure binaries are uptodate when valgrinding/gdbing
22923 * gst/gstelementfactory.c:
22924 remove a ref too many, and add a FIXME for when we get
22925 round to disposing of classes
22927 fix the refcounting when loading a plugin from a file and
22928 the code pretends that the pointer is the same even though
22929 of course it can change
22930 * gst/gstpluginfeature.c:
22931 unref plugins marked cached (a bit confusing as a name)
22932 as the docs state should be done
22933 various doc additions to explain refcounting
22934 * gst/gstregistry.c:
22935 * gst/gstregistryxml.c:
22938 2005-09-19 Wim Taymans <wim@fluendo.com>
22940 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22941 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22942 (send_messages), (GST_START_TEST), (gstbus_suite):
22943 * check/gst/gstpipeline.c: (GST_START_TEST):
22944 * check/pipelines/cleanup.c: (run_pipeline):
22945 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22947 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22948 (gst_bus_source_check), (gst_bus_source_dispatch),
22949 (gst_bus_create_watch), (gst_bus_add_watch_full),
22950 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22952 * tools/gst-launch.c: (event_loop):
22953 * tools/gst-md5sum.c: (event_loop):
22954 GstBusHandler -> GstBusFunc, return value has the same meaning as
22955 any other GSource (FALSE == remove source).
22956 _add_watch() and _add_watch_full() now take a MessageType mask to
22957 only handle specific types of messages.
22958 _poll() returns the GstMessage instead of the message type to avoid
22960 _have_pending() takes a MessageType mask now too.
22961 Added testsuite for multiple bus watches.
22962 Fix testsuites and applications for new bus API.
22964 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22966 * check/Makefile.am:
22967 mark a bunch of the tests as to fix until we fix them
22969 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22971 * common/check.mak:
22972 use GST_PLUGIN settings for valgrind tests as well, so we're
22973 valgrinding the correct thing
22974 * gst/gst.c: (init_post):
22977 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22979 * gst/gst.c: (init_post), (gst_deinit):
22980 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22981 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22982 * gst/gstindex.c: (gst_index_factory_class_init),
22983 (gst_index_factory_finalize):
22984 * gst/gstobject.c: (gst_object_dispose):
22985 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22986 (gst_plugin_load_file), (gst_plugin_desc_free):
22987 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22988 (gst_plugin_feature_finalize):
22989 * gst/gstregistry.c: (gst_registry_class_init),
22990 (gst_registry_init), (gst_registry_finalize),
22991 (gst_registry_get_default), (gst_registry_deinit):
22992 * gst/gstregistry.h:
22993 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22994 various cleanups and memleak plugging. make valgrind is happy now.
22996 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22998 * common/check.mak:
22999 add a check-valgrind target
23001 2005-09-18 David Schleef <ds@schleef.org>
23003 * tools/gst-inspect.c: Revert the GOption code.
23005 2005-09-17 David Schleef <ds@schleef.org>
23007 * check/Makefile.am: Fix environment variables.
23008 * check/gst/gstplugin.c: Fix for API changes.
23009 * tools/gst-inspect.c: Fix for API changes.
23010 * tools/gst-xmlinspect.c: Fix for API changes.
23011 * gst/gstelementfactory.c:
23014 * gst/gstpluginfeature.c:
23015 * gst/gstpluginfeature.h:
23016 * gst/gstregistry.c:
23017 * gst/gstregistry.h:
23018 * gst/gstregistryxml.c:
23019 * gst/gsttypefind.c:
23020 * gst/gsttypefindfactory.c:
23021 * gst/indexers/gstfileindex.c:
23022 * gst/indexers/gstmemindex.c:
23023 * gst/schedulers/Makefile.am:
23024 Change registry to keep track of both plugins and features,
23025 removing the feature tracking from plugins themselves.
23027 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23029 * check/Makefile.am:
23030 * tools/gst-register.1.in:
23031 remove gst-register
23033 2005-09-15 David Schleef <ds@schleef.org>
23035 * check/gst/gstplugin.c:
23036 * gst/gstelementfactory.c:
23038 * gst/gstpluginfeature.c:
23039 * gst/gstregistry.c:
23040 Getting tired of debugging. Disabled all the unreffing of
23041 plugins and features, which fixes the segfaults, but of
23042 course leaks like crazy. At least playbin works.
23044 2005-09-15 David Schleef <ds@schleef.org>
23046 * check/gst/gstplugin.c: (register_check_elements),
23047 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23049 * gst/elements/gsttypefindelement.c: Fix refcounting.
23050 * gst/gsttypefind.c:
23051 * gst/gsttypefindfactory.c:
23052 * gst/gsttypefindfactory.h:
23054 2005-09-15 David Schleef <ds@schleef.org>
23056 * gst/gstindex.c: get refcounting correct.
23057 * gst/gstregistry.c: Handle the case where a feature/plugin is
23060 2005-09-15 David Schleef <ds@schleef.org>
23062 * check/Makefile.am:
23063 * check/gst/gstplugin.c: Add test
23064 * gst/gstplugin.c: Fix problems noticed by testsuite
23066 * gst/gstregistry.c:
23067 * gst/gstregistry.h:
23069 2005-09-15 David Schleef <ds@schleef.org>
23071 * gst/gstplugin.c: Implement semi-decent recounting and locking
23072 in plugins and plugin features.
23074 * gst/gstpluginfeature.c:
23075 * gst/gstpluginfeature.h:
23076 * gst/gstregistry.c:
23078 2005-09-15 Michael Smith <msmith@fluendo.com>
23080 * gst/gstregistry.c: (gst_registry_get_feature_list):
23081 Implement this. Makes oggdemux work; decodebin still broken.
23083 2005-09-14 David Schleef <ds@schleef.org>
23085 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23087 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23088 * gst/check/Makefile.am:
23089 * libs/gst/controller/Makefile.am:
23090 * libs/gst/dataprotocol/Makefile.am:
23092 2005-09-14 David Schleef <ds@schleef.org>
23094 * configure.ac: Remove getbits library. Nothing uses it, and
23095 it should be in something like liboil if someone did want
23097 * libs/gst/Makefile.am:
23098 * libs/gst/getbits/Makefile.am:
23099 * libs/gst/getbits/gbtest.c:
23100 * libs/gst/getbits/getbits.c:
23101 * libs/gst/getbits/getbits.h:
23102 * libs/gst/getbits/gstgetbits_generic.c:
23103 * libs/gst/getbits/gstgetbits_i386.s:
23104 * libs/gst/getbits/gstgetbits_inl.h:
23106 2005-09-14 David Schleef <ds@schleef.org>
23108 * gst/Makefile.am: Dist glib-compat.h
23110 2005-09-14 David Schleef <ds@schleef.org>
23112 * configure.ac: Remove gst/registries, since it's no longer used.
23113 * gst/registries/Makefile.am:
23114 * gst/registries/gstlibxmlregistry.c:
23115 * gst/registries/gstlibxmlregistry.h:
23116 * gst/registries/gstxmlregistry.c:
23117 * gst/registries/gstxmlregistry.h:
23118 * gst/registries/registrytest.c:
23120 2005-09-14 David Schleef <ds@schleef.org>
23122 * gst/glib-compat.h:
23123 * gst/gstregistryxml.c:
23124 Convergence is near. Seriously.
23126 2005-09-14 David Schleef <ds@schleef.org>
23128 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23129 * gst/glib-compat.h:
23130 Attempt #4 to appease the buildbots.
23132 2005-09-14 David Schleef <ds@schleef.org>
23134 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23137 2005-09-14 David Schleef <ds@schleef.org>
23139 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23142 2005-09-14 David Schleef <ds@schleef.org>
23144 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23147 2005-09-14 David Schleef <ds@schleef.org>
23149 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23150 * gst/glib-compat.h: Add some functions that are in newer versions
23151 of glib than we care to require.
23152 * gst/gstregistryxml.c: Use them.
23154 2005-09-14 David Schleef <ds@schleef.org>
23156 * po/POTFILES.in: remove gst-register.c
23158 2005-09-14 David Schleef <ds@schleef.org>
23160 * docs/gst/gstreamer-docs.sgml:
23161 * docs/gst/gstreamer-sections.txt:
23162 * docs/gst/gstreamer.types:
23163 * docs/gst/tmpl/gstelement.sgml:
23164 * docs/gst/tmpl/gstplugin.sgml:
23165 * docs/gst/tmpl/gstpluginfeature.sgml:
23166 Documentation updates for registry changes.
23168 2005-09-14 David Schleef <ds@schleef.org>
23170 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23171 because we don't require glib-2.8.
23173 2005-09-14 David Schleef <ds@schleef.org>
23175 * gst/gstregistryxml.c: Added. Essentially moved out of the
23176 registries directory.
23178 2005-09-14 David Schleef <ds@schleef.org>
23180 * check/Makefile.am:
23181 * check/generic/states.c:
23185 * gst/gst_private.h:
23186 * gst/gstelementfactory.c:
23191 * gst/gstpluginfeature.c:
23192 * gst/gstpluginfeature.h:
23193 * gst/gstregistry.c:
23194 * gst/gstregistry.h:
23195 * gst/gstregistrypool.c: remove
23196 * gst/gstregistrypool.h: remove
23197 * gst/gsttypefind.c:
23198 * gst/gsttypefindfactory.c:
23200 * tools/Makefile.am:
23201 * tools/gst-compprep.c:
23202 * tools/gst-inspect.c:
23203 * tools/gst-register.c: remove
23204 * tools/gst-xmlinspect.c:
23205 Registry rewrite. Changes registry from being a file created
23206 by a tool into a simple cache file created automatically by
23207 libgstreamer. Removed gst-register (because it's no longer
23208 needed). Remove registry pools, because we only have one
23209 registry implementation (XML). Fix up other subsystems as
23212 2005-09-13 Michael Smith <msmith@fluendo.com>
23214 * gst/gstconfig.h.in:
23215 Don't Use windows linking attributes for MinGW. Fixes #316157
23217 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23219 * gst/gstutils.c: (set_state_async_thread_func),
23220 (gst_element_set_state_async):
23221 Apparently people think it's better if this function doesn't
23222 try to set the state to whatever state was asked for on the first
23223 call to this function for any object. Seriously.
23225 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23227 * check/gst/gstpipeline.c: (GST_START_TEST):
23228 * docs/gst/gstreamer-sections.txt:
23229 * gst/gstutils.c: (set_state_async_thread_func),
23230 (gst_element_set_state_async):
23232 add a "gst_element_set_state_async" method that
23233 sets the state and starts a thread to make sure the state
23234 change completes as best as it can
23236 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23238 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23239 codify design+behaviour in testsuite after discussion
23241 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23243 * docs/gst/tmpl/gstelement.sgml:
23244 * docs/manual/appendix-quotes.xml:
23246 * gst/gstelement.c: (gst_element_set_state):
23249 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23251 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23252 (gst_base_transform_prepare_output_buf),
23253 (gst_base_transform_handle_buffer):
23254 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23255 (gst_capsfilter_prepare_buf):
23256 Remove the requirement for sub-classes to call the parent
23257 implementation of prepare_output_buffer with a wrapper function.
23259 * gst/gsttaglist.h:
23260 * gst/gsttagsetter.h:
23261 Fix #define wrapper
23263 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23265 * docs/gst/gstreamer-sections.txt:
23268 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23270 * docs/gst/gstreamer-sections.txt:
23271 * docs/gst/tmpl/gstelement.sgml:
23272 * docs/gst/tmpl/gstplugin.sgml:
23273 * gst/gstminiobject.c:
23275 docs now stop throwing warnings
23277 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23279 * docs/gst/gstreamer-sections.txt:
23280 * docs/gst/gstreamer.types:
23281 * docs/gst/tmpl/gstpad.sgml:
23282 * docs/gst/tmpl/gsttypes.sgml:
23283 * gst/base/gstadapter.h:
23284 * gst/base/gstbasesink.h:
23285 * gst/base/gstbasesrc.h:
23291 * gst/gstelement.h:
23293 * gst/gstmessage.h:
23295 * gst/gststructure.c:
23296 * gst/registries/gstlibxmlregistry.h:
23297 various documentation fixes
23299 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23301 * docs/gst/gstreamer-sections.txt:
23302 * docs/gst/tmpl/gstvalue.sgml:
23303 rearrange gstvalue section
23304 * gst/gstutils.c: (gst_element_state_get_name):
23306 * gst/gstvalue.c: (_gst_value_initialize):
23310 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23312 * check/gst-libs/controller.c:
23313 Header include fix.
23314 * gst/base/gstbasetransform.c:
23315 (gst_base_transform_default_prepare_buf),
23316 (gst_base_transform_handle_buffer):
23317 * gst/base/gstbasetransform.h:
23318 Some more basetransform changes and fixes to enable sub-classes
23319 that modify buffer metadata only.
23320 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23321 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23322 (gst_capsfilter_prepare_buf):
23323 If the output pad has fixed allowed caps and input buffers
23324 don't have any, set the fixed caps on outgoing buffers.
23326 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23327 * check/elements/identity.c: (GST_START_TEST):
23328 Make the error a little clearer when the test fails because
23329 identity made a copy of the buffer.
23330 * docs/gst/gstreamer-sections.txt:
23331 New symbols in gstbasetransform.h
23332 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23333 (gst_base_transform_init), (gst_base_transform_transform_size),
23334 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23335 (gst_base_transform_default_prepare_buf),
23336 (gst_base_transform_get_unit_size),
23337 (gst_base_transform_buffer_alloc),
23338 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23339 (gst_base_transform_change_state),
23340 (gst_base_transform_set_passthrough),
23341 (gst_base_transform_set_in_place),
23342 (gst_base_transform_is_in_place):
23343 * gst/base/gstbasetransform.h:
23344 Change BaseTransform to separate in_place operate from same_caps
23345 output. in_place implies that the element can perform the transform
23346 on incoming buffers in-place, even if the caps on the output are
23348 Sub-class elements can now implement special buffer allocation
23349 methods for outgoing buffers if they wish to.
23350 Big documentation addition.
23351 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23352 * gst/elements/gstelements.c:
23353 Changes for basetransform modifications.
23354 * gst/elements/Makefile.am:
23355 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23356 Compile fix. Extra debug output.
23358 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23360 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23362 add tests for valid pad naming
23363 * gst/check/gstcheck.c: (gst_check_log_message_func),
23364 (gst_check_log_critical_func):
23366 remove printing of code, it is fragile when the code contains
23367 % and the line number is enough info
23368 * gst/check/gstcheck.h:
23369 * gst/gstpad.c: (gst_pad_template_new):
23372 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23375 say what CHECK flags we use
23376 * docs/libs/gstreamer-libs.types:
23377 * libs/gst/controller/Makefile.am:
23378 * libs/gst/controller/gst-controller.c:
23379 * libs/gst/controller/gst-controller.h:
23380 * libs/gst/controller/gst-helper.c:
23381 * libs/gst/controller/gst-interpolation.c:
23382 * libs/gst/controller/gstcontroller.c:
23383 * libs/gst/controller/gsthelper.c:
23384 * libs/gst/controller/gstinterpolation.c:
23385 * tools/gst-inspect.c: (print_plugin_info):
23386 we don't use dashes in header names
23388 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23390 * check/Makefile.am:
23391 * check/gst/.cvsignore:
23392 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23393 (gst_pipeline_suite), (main):
23394 adding a test for pipelines and state changes
23395 * gst/gstutils.c: (get_state_func):
23397 * gstreamer.spec.in:
23400 2005-09-08 Michael Smith <msmith@fluendo.com>
23402 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23403 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23404 (gst_file_src_is_seekable), (gst_file_src_get_size),
23405 (gst_file_src_start):
23406 * gst/elements/gstfilesrc.h:
23407 Various fixes for unseekable, unmmapable, and non-normal files, so
23408 that fallback to read() rather than mmap() works.
23409 * gst/gstevent.c: (gst_event_new_newsegment):
23410 Allow newsegment events with segment_start == segment_end, as will
23411 correctly happen if you use filesrc on a zero-size file, for
23414 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23416 * gst/gstplugin.c: (gst_plugin_load_file):
23417 Call g_module_close when we don't load the module
23419 * gst/registries/gstlibxmlregistry.c:
23420 (gst_xml_registry_get_property):
23421 Port leak fix from 0.8
23423 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23425 * docs/gst/gstreamer-docs.sgml:
23426 * docs/gst/tmpl/.cvsignore:
23427 * docs/gst/tmpl/gsttrace.sgml:
23428 * docs/gst/tmpl/gsttrashstack.sgml:
23431 * gst/gstelement.h:
23433 * gst/gstmessage.c:
23434 * gst/gstmessage.h:
23437 * gst/gsttaginterface.c:
23438 * gst/gsttaginterface.h:
23439 * gst/gsttaglist.c:
23440 * gst/gsttaglist.h:
23441 * gst/gsttagsetter.c:
23442 * gst/gsttagsetter.h:
23445 * gst/gsttrashstack.c:
23446 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23447 inlined docs for gsttrace, gsttrashstack
23449 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23452 * gst/elements/gstbufferstore.h:
23453 * gst/elements/gsttypefindelement.c:
23454 * gst/elements/gsttypefindelement.h:
23456 * gst/gsttypefind.c:
23457 * gst/gsttypefind.h:
23458 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23459 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23460 (gst_type_find_factory_dispose),
23461 (gst_type_find_factory_unload_thyself),
23462 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23463 (gst_type_find_factory_get_caps),
23464 (gst_type_find_factory_get_extensions),
23465 (gst_type_find_factory_call_function):
23466 * gst/gsttypefindfactory.h:
23467 * gst/registries/gstlibxmlregistry.c:
23468 * gst/registries/gstxmlregistry.c:
23469 splitted gsttypefind into gsttypefind, gsttypefindfactory
23471 2005-09-07 Andy Wingo <wingo@pobox.com>
23473 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23474 condition whereby the pad's task function is entered before the
23475 pad_mode variable was set.
23477 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23479 * gst/gstpad.c: (gst_pad_alloc_buffer):
23480 Catch misbehaving pad_alloc functions that don't
23481 set up caps and do it for them.
23483 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23485 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23486 test for pipe!=NULL
23487 * docs/gst/tmpl/.cvsignore:
23488 * docs/gst/tmpl/gstmemchunk.sgml:
23489 * docs/gst/tmpl/gstparse.sgml:
23490 * docs/gst/tmpl/gsttaglist.sgml:
23491 * docs/gst/tmpl/gsttagsetter.sgml:
23492 * docs/gst/tmpl/gsttypefind.sgml:
23493 * docs/gst/tmpl/gsttypefindfactory.sgml:
23494 * gst/gstmemchunk.c:
23497 * gst/gsttaginterface.c:
23498 * gst/gsttypefind.c:
23499 * gst/gsttypefind.h:
23502 === release 0.9.2 ===
23504 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23509 releasing 0.9.2, "South"
23511 2005-09-05 Andy Wingo <wingo@pobox.com>
23513 * gst/registries/gstxmlregistry.h:
23514 * gst/registries/gstxmlregistry.c: Um... resurrect...
23516 * gst/registries/gstxmlregistry.h:
23517 * gst/registries/gstxmlregistry.c: and update to newer API.
23518 Incidentally they should be a bit faster now that they don't have
23521 2005-09-05 Andy Wingo <wingo@pobox.com>
23523 * gst/registries/gstxmlregistry.h:
23524 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23525 replaced by the libxml registry a while back
23527 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23529 * docs/gst/tmpl/gstplugin.sgml:
23530 * gst/elements/gstelements.c:
23532 * gst/gstplugin.c: (gst_plugin_register_func),
23533 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23534 (gst_plugin_get_source):
23536 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23537 (gst_xml_registry_save_plugin):
23538 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23539 (gst_xml_registry_save_plugin):
23540 * tools/gst-inspect.c: (print_plugin_info):
23541 add a "source" plugin description field, to represent the source
23542 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23543 will set it to PACKAGE, which is automake's idea of the name of
23544 the source project.
23546 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23551 * docs/Makefile.am:
23552 * docs/faq/Makefile.am:
23553 * docs/gst/tmpl/gstelement.sgml:
23554 * docs/gst/tmpl/gsttypes.sgml:
23555 * docs/htmlinstall.mak:
23556 * docs/manual/Makefile.am:
23557 * docs/pwg/Makefile.am:
23558 reorganize doc build a little
23559 split out docbook and gtk-doc stuff
23560 have two separate --enable's and enable them through autogen
23561 but disable by default in configure (to be similar to other
23563 * gstreamer.spec.in:
23564 clean up docs install
23582 translation updates
23584 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23586 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23589 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23590 (gst_fake_sink_change_state):
23591 Make state change function thread-safe.
23593 * gst/gstpad.c: (gst_pad_alloc_buffer):
23594 Set offset on generic buffer allocated by fallback.
23596 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23598 * docs/gst/gstreamer-sections.txt:
23599 * docs/gst/tmpl/gstelement.sgml:
23601 * libs/gst/controller/gst-controller.c:
23602 (gst_controlled_property_set_interpolation_mode),
23603 (gst_controlled_property_new),
23604 (gst_controller_find_controlled_property):
23605 run the wingo-magic script against the docs
23607 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23609 * docs/gst/gstreamer-docs.sgml:
23610 * docs/gst/gstreamer-sections.txt:
23611 * docs/gst/tmpl/.cvsignore:
23612 * docs/gst/tmpl/gstelementdetails.sgml:
23613 * docs/gst/tmpl/gstelementfactory.sgml:
23616 * gst/gstelementfactory.c:
23617 * gst/gstelementfactory.h:
23618 merged elementdetails docs into elementfactory docs
23621 2005-09-02 Andy Wingo <wingo@pobox.com>
23623 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23624 consider this enum an enum and not a flags.
23626 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23628 * docs/gst/gstreamer-docs.sgml:
23629 * docs/gst/tmpl/.cvsignore:
23630 * docs/gst/tmpl/gstghostpad.sgml:
23631 * docs/gst/tmpl/gstiterator.sgml:
23632 * docs/gst/tmpl/gstmacros.sgml:
23633 * docs/gst/tmpl/gstrealpad.sgml:
23634 * docs/gst/tmpl/gstregistry.sgml:
23635 * docs/gst/tmpl/gstregistrypool.sgml:
23636 * docs/gst/tmpl/gststructure.sgml:
23637 * docs/gst/tmpl/gstsystemclock.sgml:
23638 * docs/gst/tmpl/gsttrace.sgml:
23639 * gst/gstghostpad.c:
23641 * gst/gstmemchunk.c:
23642 * gst/gstmemchunk.h:
23644 * gst/gstregistry.c:
23645 * gst/gstregistrypool.c:
23646 * gst/gststructure.c:
23647 * gst/gstsystemclock.c:
23650 2005-09-02 Andy Wingo <wingo@pobox.com>
23652 * gst/gstelement.h (GstState): Renamed from GstElementState,
23653 changed to be a normal enum instead of flags.
23654 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23655 munged to be GST_STATE_CHANGE_*.
23656 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23657 work with the new state representation.
23658 (GstStateChange): New enumeration of possible state transitions.
23659 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23660 (GstElementClass::change_state): Pass the GstStateChange along as
23661 an argument. Helps language bindings, so they don't have to use
23662 tricky lock-needing macros like GST_STATE_CHANGE ().
23664 * scripts/update-states (file): New script. Run it on a file to
23665 update it for state naming and API changes. Updates files in
23668 * All files updated for the new API.
23670 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23672 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23673 * gst/gstutils.c: (gst_util_set_value_from_string),
23674 (gst_util_set_object_arg):
23675 fix a bunch of unchecked return values
23676 * tools/gst-complete.c: (main):
23677 * gstreamer.spec.in:
23680 2005-09-01 Wim Taymans <wim@fluendo.com>
23682 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23683 (gst_base_sink_event), (gst_base_sink_do_sync),
23684 (gst_base_sink_handle_event):
23685 * gst/base/gstbasesink.h:
23686 Handle newsegments more correctly.
23691 * gst/gstevent.c: (gst_event_new_newsegment):
23692 A newsegment cannot have a start_time of -1
23694 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23696 * win32/gstenumtypes.c:
23697 * win32/gstenumtypes.h:
23700 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23702 * libs/gst/controller/gst-controller.c:
23703 (gst_controlled_property_set_interpolation_mode),
23704 (gst_controlled_property_new):
23705 fixed boolean again
23707 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23709 * docs/faq/gst-uninstalled:
23714 * gst/gstutils.c: (gst_element_link_filtered):
23716 add gst_element_link_filtered
23718 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23720 * docs/gst/gstreamer-docs.sgml:
23721 * docs/gst/gstreamer-sections.txt:
23722 * docs/gst/tmpl/.cvsignore:
23723 * docs/gst/tmpl/gsterror.sgml:
23724 * docs/gst/tmpl/gstfilter.sgml:
23725 * docs/gst/tmpl/gsturihandler.sgml:
23726 * docs/gst/tmpl/gsturitype.sgml:
23727 * docs/gst/tmpl/gstutils.sgml:
23728 * docs/gst/tmpl/gstxml.sgml:
23733 * gst/gsturitype.c:
23736 inlined more docs, fixed double id-ref
23738 2005-08-31 Wim Taymans <wim@fluendo.com>
23740 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23741 (gst_base_transform_handle_buffer):
23742 Passthrough elements don't need the caps as they don't care.
23744 2005-08-31 Wim Taymans <wim@fluendo.com>
23746 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23747 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23748 Don't leak refcounts on buffers.
23750 2005-08-31 Wim Taymans <wim@fluendo.com>
23752 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23753 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23754 (gst_base_transform_chain), (gst_base_transform_change_state):
23755 * gst/base/gstbasetransform.h:
23756 Handle the case where we are not negotiated more gracefully.
23758 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23760 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23761 (gst_file_src_map_region):
23762 Set READONLY flag on mmap'ed buffers, otherwise
23763 gst_buffer_make_writable() won't work properly (#314708).
23765 2005-08-31 Wim Taymans <wim@fluendo.com>
23767 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23768 passthrough elements can even do inplace on non writable
23769 buffers (as they don't touch them).
23771 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23773 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23774 (gst_test_mono_source_set_property),
23775 (gst_test_mono_source_class_init), (GST_START_TEST),
23776 (gst_controller_suite):
23777 more tests (hehe I have the most)
23779 describe popping messages whenusing mulltiple sources
23780 * libs/gst/controller/gst-controller.c:
23781 (gst_controlled_property_set_interpolation_mode),
23782 (gst_controlled_property_new):
23783 * libs/gst/controller/gst-controller.h:
23784 * libs/gst/controller/gst-interpolation.c:
23785 implement boolean properties
23787 2005-08-31 Wim Taymans <wim@fluendo.com>
23789 * gst/gstminiobject.c: (gst_mini_object_ref):
23790 Cannot assert that the refcount has to be positive
23791 since a disposed object can be resurrected.
23793 2005-08-31 Wim Taymans <wim@fluendo.com>
23795 * gst/gstpad.c: (gst_pad_init):
23796 Revert change, need to first fix badly behaving
23799 2005-08-30 Wim Taymans <wim@fluendo.com>
23801 * check/elements/fakesrc.c: (setup_fakesrc):
23802 * check/elements/identity.c: (setup_identity):
23803 Activate pads before using them.
23805 2005-08-30 Wim Taymans <wim@fluendo.com>
23807 * gst/base/gstadapter.c: (gst_adapter_flush):
23808 Flushing out 0 bytes is ok for this function.
23810 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23811 no newsegment gives a warning and sets the start/stop to
23814 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23815 (gst_base_transform_set_passthrough):
23818 * gst/gstminiobject.c: (gst_mini_object_ref):
23819 Check refcount here too.
23821 * gst/gstpad.c: (gst_pad_init):
23822 Pads are initially flushing and refusing data.
23824 * gst/gstutils.c: (gst_element_link_pads_filtered):
23825 When adding a capsfilter element make sure it has the
23826 same state as the parent bin.
23828 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23830 * docs/gst/tmpl/.cvsignore:
23831 * docs/gst/tmpl/gstformat.sgml:
23832 * docs/gst/tmpl/gstversion.sgml:
23836 * gst/gstversion.h.in:
23837 more docs and two more inlined
23839 2005-08-30 Wim Taymans <wim@fluendo.com>
23841 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23842 Don't sync to clock.
23844 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23846 * docs/gst/gstreamer-sections.txt:
23847 ultral33t func10ns deserve to appear in the docs actually
23848 * docs/gst/tmpl/.cvsignore:
23849 * docs/gst/tmpl/gstcompat.sgml:
23850 * docs/gst/tmpl/gstconfig.sgml:
23851 * gst/check/gstcheck.c:
23853 * gst/gstconfig.h.in:
23856 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23858 * docs/gst/tmpl/.cvsignore:
23859 * docs/gst/tmpl/gstquery.sgml:
23860 * docs/gst/tmpl/gstutils.sgml:
23863 inlined and extended docs
23865 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23867 * check/gst-libs/controller.c: (GST_START_TEST),
23868 (gst_controller_suite):
23870 * docs/gst/tmpl/gstutils.sgml:
23871 * docs/libs/gstreamer-libs-sections.txt:
23872 * docs/libs/tmpl/gstdataprotocol.sgml:
23874 * examples/controller/audio-example.c: (main):
23875 controller example works now
23878 * tools/gst-inspect.c: (print_element_properties_info):
23879 show param spec flags
23881 2005-08-29 Andy Wingo <wingo@pobox.com>
23883 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23885 2005-08-28 Andy Wingo <wingo@pobox.com>
23887 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23888 as having two arguments instead of just one. Allows superclasses
23889 to access information on subclasses -- see the terrible for() loop
23890 in gtype.c:g_type_create_instance for the reason why. All callers
23893 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23895 * docs/design/part-messages.txt:
23897 * docs/gst/tmpl/.cvsignore:
23898 * docs/gst/tmpl/gstcaps.sgml:
23899 * docs/gst/tmpl/gstclock.sgml:
23905 * gst/gstmessage.c:
23906 added descriptions for bus and message
23907 inline caps and clock docs
23909 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23911 * gst/gstmessage.c:
23912 * gst/gstmessage.h:
23915 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23917 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23920 2005-08-26 Andy Wingo <wingo@pobox.com>
23922 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23923 element_set_state's return val.
23924 (test_2_elements): Add test that's been disabled for months.
23926 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23927 can-activate-pull properties.
23929 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23930 can-activate-pull properties. Implement is_seekable so fakesrc can
23931 operate in pull mode.
23933 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23935 (gst_base_sink_activate, gst_base_sink_activate_pull)
23936 (gst_base_sink_activate_push): Make activation mode choosing work.
23938 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23939 is right. Make pull mode work. Post an eos before pausing in pull
23941 (gst_base_sink_change_state): Pay attention to the core's
23942 change_state() return val.
23944 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23945 has-getrange properties. Cleanups.
23947 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23948 has_getrange and replace with can_activate_pull and
23951 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23952 locking comments. Remove has_loop, has_chain and replace with
23953 can_activate_pull and can_activate_push.
23955 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23958 * examples/Makefile.am:
23959 * examples/metadata/Makefile.am:
23960 * examples/metadata/read-metadata.c: (message_loop),
23961 (have_pad_handler), (make_pipeline), (print_tag), (main):
23962 Add metadata reading example that loops over a list of filenames,
23963 dumping any tags found.
23965 * gst/gstbus.c: (gst_bus_dispose):
23966 * gst/gstelement.c: (gst_element_dispose):
23967 Release a few potentially-held references in dispose.
23969 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23971 * docs/gst/tmpl/gstminiobject.sgml:
23972 do *not* add tmpl/*.sgml files to CVS!
23974 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23976 * libs/gst/bytestream/.cvsignore:
23977 * libs/gst/bytestream/Makefile.am:
23978 * libs/gst/bytestream/adapter.c:
23979 * libs/gst/bytestream/adapter.h:
23980 * libs/gst/bytestream/bytestream.c:
23981 * libs/gst/bytestream/bytestream.h:
23982 * libs/gst/bytestream/filepad.c:
23983 * libs/gst/bytestream/filepad.h:
23984 removing obsolete files
23986 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23988 * docs/gst/gstreamer-docs.sgml:
23989 * docs/libs/gstreamer-libs-docs.sgml:
23990 disabed additional index entries again, as this makes docs-gen just
23991 slow and they aren't useful yet
23992 * docs/libs/gstreamer-libs-sections.txt:
23993 little -section.txt cleanup for libs
23995 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23997 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23998 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23999 fix up some debugging
24000 (gst_base_transform_get_unit_size),
24001 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24002 (gst_base_transform_handle_buffer):
24003 * gst/base/gstbasetransform.h:
24004 handle and store timed NEWSEGMENT events so that subclasses that
24005 calculate time by counting samples have a segment_start time they
24006 need to add to their timestamps - see audioresample
24008 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24011 removed ';' from the end of macro defs
24012 * docs/gst/gstreamer-docs.sgml:
24013 * docs/gst/gstreamer-sections.txt:
24014 * docs/gst/tmpl/.cvsignore:
24016 * gst/gstelement.c: (gst_element_class_init),
24017 (gst_element_set_state), (activate_pads),
24018 (gst_element_save_thyself):
24019 * gst/gstevent.c: (gst_event_new_newsegment):
24021 * gst/gstiterator.c:
24022 * gst/gstiterator.h:
24025 * gst/gstutils.c: (gst_pad_query_convert):
24027 fixed parameter name mismatches between source, header and docs
24028 added some more docs, resolved the last batch of unused elements in
24029 docs (now someone needs to doc them)
24031 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24033 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24034 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24035 don't walk through the plugins backwards. Where is all this
24036 reversed logic coming from ?
24038 2005-08-25 Wim Taymans <wim@fluendo.com>
24040 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24041 (gst_base_transform_transform_size),
24042 (gst_base_transform_configure_caps),
24043 (gst_base_transform_get_unit_size),
24044 (gst_base_transform_buffer_alloc),
24045 (gst_base_transform_change_state):
24046 * gst/base/gstbasetransform.h:
24047 Cache caps unit_size.
24048 Make sure we cannot negotiate up and downstream at the
24051 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24053 * gst/gst.c: (init_pre), (init_post):
24054 register the installed plugin path after the env var
24055 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24056 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24057 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24058 directories, so the tests can prefer uninstalled over installed
24060 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24062 * gst/base/gstbasetransform.h:
24067 2005-08-25 Wim Taymans <wim@fluendo.com>
24069 * gst/gstbin.c: (bin_bus_handler):
24070 Be a bit more conservative about the posted message.
24072 * gst/gstbus.c: (gst_bus_post):
24073 Some cleanups, warn wrong return values.
24075 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24077 * check/gst/gstbin.c: (GST_START_TEST):
24078 * gst/gstbin.c: (bin_bus_handler):
24079 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24080 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24081 (gst_message_new_warning), (gst_message_new_tag),
24082 (gst_message_new_state_changed), (gst_message_new_segment_start),
24083 (gst_message_new_segment_done), (gst_message_new_custom):
24084 * gst/gstmessage.h:
24085 * tools/gst-launch.c: (event_loop):
24086 * tools/gst-md5sum.c: (event_loop):
24087 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24089 2005-08-25 Wim Taymans <wim@fluendo.com>
24091 * check/generic/states.c: (GST_START_TEST):
24092 Cleanup can be done at the end.
24094 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24095 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24096 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24097 Oh boy.. Thanks for finding this, Thomas.
24099 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24101 * docs/gst/gstreamer.types:
24102 added missing types
24104 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24106 * docs/gst/gstreamer-docs.sgml:
24107 * docs/gst/gstreamer-sections.txt:
24108 * docs/gst/tmpl/.cvsignore:
24110 * gst/gstiterator.c:
24112 * gst/registries/gstxmlregistry.h:
24113 added missing classes and symbols (123 more to go)
24114 removed removed symbols from section file
24115 fixed many doc-comments
24117 2005-08-24 Wim Taymans <wim@fluendo.com>
24119 * check/generic/states.c: (GST_START_TEST):
24120 Make sure all tasks are stopped.
24122 * check/gst/gstbin.c: (GST_START_TEST):
24123 Unref after usage for proper valgrinding.
24125 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24126 Really wait for the task to stop before destroying the
24129 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24130 (gst_queue_src_activate_push):
24131 Small cleanups. Don't stop the task when we did not start
24134 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24135 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24136 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24139 Protect the stream lock with the object lock.
24140 Disallow setting the stream lock when running.
24141 Add cleanup_all to wait for the threadpool to finish.
24142 Remove code to autoallocate a mutex if none was provided.
24143 Add _join() to wait for a task to stop.
24144 Protect the thread pool with a global lock.
24146 2005-08-24 Wim Taymans <wim@fluendo.com>
24148 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24149 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24150 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24151 * gst/base/gstbasesink.h:
24152 Handle newsegment events correctly.
24153 Drop buffers out of the segment range.
24155 2005-08-22 Andy Wingo <wingo@pobox.com>
24157 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24158 macro, implements an interface and gstimplementsinterface for a
24161 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24163 * check/Makefile.am:
24164 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24165 add a test that does a bunch of state changes on elements
24166 needs some fixing for valgrind
24167 * check/states/sinks.c: (gst_object_suite):
24170 add prototype for gst_caps_is_equal_fixed
24172 * gst/gstregistrypool.c:
24175 2005-08-24 Andy Wingo <wingo@pobox.com>
24177 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24178 convert a negative value. Doesn't make much sense. Mostly this is
24179 here to force callers to ensure -1 maps to -1.
24181 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24183 * docs/pwg/advanced-types.xml:
24184 Well done to Michael for catching my deliberate introduction
24185 of this spelling mistake.
24186 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24187 * gst/gstelement.h:
24188 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24189 unlink pads before removing the element from the bin.
24191 2005-08-24 Andy Wingo <wingo@pobox.com>
24193 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24194 the same thing as GST_DEBUG=*:4.
24195 (parse_debug_level, parse_debug_category): New helper parsers.
24197 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24199 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24200 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24201 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24202 (gst_base_transform_buffer_alloc),
24203 (gst_base_transform_handle_buffer):
24204 use gboolean return values and pointers to size so we can use the
24205 full GST_BUFFER_SIZE range (guint) for buffer sizes
24206 use GstPadDirection for transform_caps
24207 * gst/base/gstbasetransform.h:
24208 rename get_size to get_unit_size since that's what it is
24209 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24210 use GstPadDirection for transform_caps
24211 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24213 cleanup and debugging
24215 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24217 * gst/gstelement.c: (gst_element_class_init),
24218 (gst_element_set_state), (activate_pads),
24219 (gst_element_save_thyself):
24220 * tools/gst-compprep.c: (main):
24221 * tools/gst-inspect.c: (print_element_properties_info):
24222 * tools/gst-xmlinspect.c: (print_element_properties):
24223 Fixed long standing mem-leak
24225 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24227 * check/gst/gstbin.c: (GST_START_TEST):
24228 * gst/gstbin.c: (bin_bus_handler):
24229 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24230 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24231 (gst_message_new_warning), (gst_message_new_tag),
24232 (gst_message_new_state_changed), (gst_message_new_segment_start),
24233 (gst_message_new_segment_done), (gst_message_new_custom):
24234 * gst/gstmessage.h:
24235 * tools/gst-launch.c: (event_loop):
24236 * tools/gst-md5sum.c: (event_loop):
24237 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24238 that applications can sensibly post custom messages with references
24239 to their own objects.
24241 2005-08-24 Andy Wingo <wingo@pobox.com>
24243 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24246 2005-08-24 Wim Taymans <wim@fluendo.com>
24248 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24249 (gst_base_transform_transform_caps),
24250 (gst_base_transform_transform_size),
24251 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24252 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24253 (gst_base_transform_handle_buffer):
24254 * gst/base/gstbasetransform.h:
24255 Many fixes and new features added by Thomas. Can now also do
24256 transforms with variable sizes and a custom fixate_caps function.
24258 2005-08-24 Wim Taymans <wim@fluendo.com>
24260 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24264 Cast to ClockTime before formatting to time.
24269 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24271 * check/gst-libs/controller.c: (GST_START_TEST),
24272 (gst_controller_suite):
24273 * docs/gst/tmpl/gstcaps.sgml:
24274 * docs/gst/tmpl/gstghostpad.sgml:
24275 * docs/gst/tmpl/gstquery.sgml:
24276 * docs/gst/tmpl/gstutils.sgml:
24277 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24278 (gst_object_sink_values), (gst_object_get_value_arrays),
24279 (gst_object_get_value_array):
24280 gracefully handle helper method calls to objects that are not beeing
24281 controlled, added test case for that
24283 2005-08-23 Wim Taymans <wim@fluendo.com>
24285 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24286 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24287 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24288 (gst_event_parse_qos), (gst_event_new_seek),
24289 (gst_event_parse_seek):
24291 Some more debugging output and doc cleanups.
24293 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24294 Fix possible deadlock.
24296 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24298 * docs/gst/gstreamer-docs.sgml:
24299 * docs/gst/gstreamer-sections.txt:
24300 * docs/gst/gstreamer.types:
24301 * docs/gst/tmpl/.cvsignore:
24304 * gst/gstelement.c:
24306 added 100 symbols from gstreamer-unused.txt to the right sections
24307 fixed more broken comments
24308 added GstBus to docs
24310 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24312 * docs/gst/gstreamer-sections.txt:
24313 * docs/gst/tmpl/.cvsignore:
24314 * docs/gst/tmpl/gstbin.sgml:
24315 * docs/gst/tmpl/gstbuffer.sgml:
24316 * gst/base/gstbasesrc.c:
24317 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24320 * tools/gst-launch.1.in:
24321 inlined more doc comments, added missing comments and fixed comments
24324 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24326 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24330 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24332 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24333 * gst/gststructure.h:
24334 add a fixate function for booleans; add a FIXME that these func
24335 names should probably be gst_structure_fixate_*
24337 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24339 * docs/gst/gstreamer-docs.sgml:
24340 * docs/gst/gstreamer-sections.txt:
24342 * gst/gstbin.c: (gst_bin_get_type),
24343 (gst_bin_child_proxy_get_child_by_index),
24344 (gst_bin_child_proxy_get_children_count),
24345 (gst_bin_child_proxy_init):
24346 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24347 (gst_child_proxy_get_child_by_index),
24348 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24349 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24350 (gst_child_proxy_get), (gst_child_proxy_set_property),
24351 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24352 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24353 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24354 * gst/gstchildproxy.h:
24355 * gst/parse/grammar.y:
24356 * tools/gst-inspect.c: (print_interfaces),
24357 (print_element_properties_info), (print_element_info):
24358 ported gstchildproxy over from 0.8
24359 ported gst-inspect fixes and enhancements over from 0.8
24361 2005-08-22 Wim Taymans <wim@fluendo.com>
24363 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24364 (gst_base_transform_handle_buffer):
24365 Also call the transform function if we have ANY caps.
24367 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24370 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24372 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24373 Don't pretend to handle seek events if the source is not seekable
24375 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24377 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24378 Remove extra parameter to debug output
24380 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24381 (gst_base_src_do_seek), (gst_base_src_activate_push):
24382 Fix seek event handling.
24384 * gst/gstpipeline.c: (gst_pipeline_change_state):
24385 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24386 (gst_queue_src_activate_push):
24387 Don't start the src pad task on FLUSH_STOP if the pad
24391 2005-08-22 Wim Taymans <wim@fluendo.com>
24393 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24394 Added check for gst_static_caps_get() refcounting.
24396 2005-08-22 Wim Taymans <wim@fluendo.com>
24398 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24399 Make _static_caps_get() refcounting sane.
24401 * gst/gstelement.c: (gst_element_set_state):
24402 Add g_return_val_if_fail() to protect against segfaults.
24404 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24406 * docs/gst/tmpl/gstevent.sgml:
24409 inlined remaining docs, added missing doc comments
24411 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24413 * check/gst/gstbin.c: (GST_START_TEST):
24414 since we don't know when preroll is done, use refcount range
24416 * gst/check/gstcheck.h:
24417 add macro for checking refcount range
24419 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24421 * check/Makefile.am:
24422 clean up environment for when registry gets built versus
24423 when actual tests are run; valgrind seems to not report
24424 leaks if GST_PLUGIN_PATH is set to some specific values
24425 * check/gst/gstbin.c: (GST_START_TEST):
24426 add more refcounting checks; maybe this exposes a
24428 * common/check.mak:
24429 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24430 * gst/check/gstcheck.h:
24431 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24432 (gst_bin_change_state):
24433 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24434 add/fix debugging/whitespace
24436 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24438 * check/gst/gstevent.c: (event_probe), (test_event),
24440 Er, don't call gst_bin_watch_for_state_change you idiot.
24442 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24444 * check/Makefile.am:
24445 Use CHECK_CFLAGS and CHECK_LIBS
24446 * check/gst/gstevent.c: (event_probe), (test_event),
24449 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24450 (gst_base_src_start), (gst_base_src_stop),
24451 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24452 (gst_base_src_change_state):
24453 Sprinkle gst_base_src_stop liberally around error paths to fix
24454 problems reusing a source after failed state changes.
24455 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24456 (helper_find_suggest), (gst_type_find_helper):
24457 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24459 * docs/gst/tmpl/gstevent.sgml:
24460 Migrate part of the docs from the SGML file. Wait for ensonic to
24461 tell me how I did it wrong ;)
24462 * tools/gst-typefind.c: (main):
24463 Extra robustness to state changes between files.
24465 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24467 * check/Makefile.am:
24468 don't valgrind the controller test - it's leaking - Stefan, HELP
24469 * gst/check/gstcheck.c: (gst_check_message_error),
24470 (gst_check_chain_func), (gst_check_setup_element),
24471 (gst_check_teardown_element), (gst_check_setup_src_pad),
24472 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24473 (gst_check_teardown_sink_pad):
24474 * gst/check/gstcheck.h:
24475 add a bunch of methods to set up elements, and src and sink pads
24476 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24477 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24480 * gst/gstmessage.c:
24482 whitespace/doc fixes
24484 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24486 * gst/gstelement.h:
24487 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24488 be handled by the application and not always printed as well
24490 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24492 * check/Makefile.am:
24494 * gst/check/gstcheck.c: (gst_check_message_error):
24495 * gst/check/gstcheck.h:
24496 add a fail_unless_equals_int
24497 add fail_unless for error messages
24499 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24501 * check/Makefile.am:
24503 * common/Makefile.am:
24504 * common/check.mak:
24506 factor out some of the common stuff so we can use it
24508 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24510 * check/Makefile.am:
24511 * check/gst/gstiterator.c: (GST_START_TEST):
24512 * check/gst/gstsystemclock.c: (GST_START_TEST),
24513 (gst_systemclock_suite):
24514 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24516 valgrind more tests
24518 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24520 * check/elements/.cvsignore:
24521 * check/elements/gstfakesrc.c:
24522 rename to name of element
24523 * check/elements/identity.c: (chain_func), (event_func),
24524 (setup_identity), (cleanup_identity), (GST_START_TEST),
24525 (identity_suite), (main):
24526 add a test for identity
24527 * check/Makefile.am:
24528 * pkgconfig/Makefile.am:
24529 * pkgconfig/gstreamer-check.pc.in:
24530 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24534 move the check stuff to a library that gets installed
24535 * check/gst-libs/controller.c: (GST_START_TEST):
24536 * check/gst-libs/gdp.c:
24537 * check/gst/gst.c: (GST_START_TEST):
24538 * check/gst/gstbin.c:
24539 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24540 * check/gst/gstbus.c:
24541 * check/gst/gstcaps.c: (GST_START_TEST):
24542 * check/gst/gstelement.c:
24543 * check/gst/gstghostpad.c:
24544 * check/gst/gstiterator.c:
24545 * check/gst/gstmessage.c:
24546 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24547 * check/gst/gstobject.c:
24548 * check/gst/gstpad.c: (GST_START_TEST):
24549 * check/gst/gststructure.c: (GST_START_TEST):
24550 * check/gst/gstsystemclock.c: (GST_START_TEST),
24551 (gst_systemclock_suite):
24552 * check/gst/gsttag.c: (gst_tag_suite):
24553 * check/gst/gstvalue.c:
24554 * check/pipelines/cleanup.c:
24555 * check/pipelines/simple_launch_lines.c:
24556 * check/states/sinks.c:
24557 change include statement
24559 * docs/gst/gstreamer-sections.txt:
24560 * docs/gst/tmpl/gstpad.sgml:
24561 document more pad stuff
24562 * gst/gstminiobject.c: (gst_mini_object_ref),
24563 (gst_mini_object_unref):
24566 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24568 * docs/gst/tmpl/gst.sgml:
24570 eliminate another tmpl file, fix spelling in the long-description
24572 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24574 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24575 (test_event), (timediff), (gstevents_suite):
24576 Should fix build on 64-bit arch's
24578 2005-08-18 Andy Wingo <wingo@pobox.com>
24580 Make sure that when a pipeline goes to PLAYING, that data has
24581 actually hit the sink.
24583 * check/states/sinks.c (test_sink): A sink that doesn't get any
24584 data shouldn't return SUCCESS for going to either PLAYING or
24585 PAUSED. Test also the return values on the way back down.
24587 * gst/gstelement.c (gst_element_set_state): When changing the
24588 state of an element currently changing state asynchronously, go to
24589 lost-state after commiting the pending state. Makes future calls
24590 to get_state continue to return ASYNC.
24592 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24593 ASYNC when going to PLAYING if we still don't have preroll, as can
24594 happen with live sources.
24596 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24598 * docs/pwg/advanced-types.xml:
24599 Hack long paragraph into 2 chunks as a workaround for buggy
24600 jadetex version in sid and breezy that loops infinitely and
24603 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24605 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24606 (test_event), (timediff), (gstevents_suite):
24607 Provide more error margin in clock measurements to allow for
24608 g_get_current_time inaccuracies.
24610 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24612 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24613 (test_event), (timediff), (gstevents_suite):
24614 Fix error message output so I might be able to tell why the
24615 test works here but fails on the build farm.
24617 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24619 * check/Makefile.am:
24620 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24621 (test_event), (timediff), (gstevents_suite), (main):
24624 * docs/design/part-seeking.txt:
24625 Spelling correction
24627 * docs/gst/tmpl/gstevent.sgml:
24628 * docs/gst/tmpl/gstfakesrc.sgml:
24631 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24632 Treat a buffer-without-newsegment the same as a receiving
24633 a newsegment not in time format, and disable syncing to the clock
24636 * gst/gstbus.c: (gst_bus_set_sync_handler):
24637 Assert if anyone tries to replace the existing sync_handler for bus,
24638 as only the owner should be setting it.
24641 Have a fixed set of custom event enums with events identified by
24642 their structure name (as in 0.8), rather than a free-for-all
24643 allowing collisions between enum values from different plugins.
24645 * gst/gstpad.c: (gst_pad_class_init):
24648 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24649 Handle out-of-band downstream events from the sending thread.
24651 2005-08-17 Andy Wingo <wingo@pobox.com>
24653 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24654 play-timeout==0 to mean no timeout at all. In that case, don't
24655 bother with a get_state or a warning, just return directly, even
24658 * gst/base/gstbasetransform.c: Debug changes.
24661 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24662 ensure bins post state change messages. A bit of a hack but I can't
24663 think of a way to avoid it.
24665 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24667 2005-08-16 Andy Wingo <wingo@pobox.com>
24669 * gst/base/gstadapter.h:
24670 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24671 peek() but you own the data. Not terribly efficient atm.
24673 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24675 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24676 (gst_element_found_tags):
24678 Add two utility functions for tag handling.
24680 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24682 * docs/manual/advanced-dataaccess.xml:
24683 * docs/manual/basics-helloworld.xml:
24684 Fix docs to use _bin_add() before _link(), which fixes the examples
24685 with recent core versions (reported by Madhan Raj M
24686 <raj_madan@rediffmail.com>, #313199).
24688 2005-08-16 Wim Taymans <wim@fluendo.com>
24690 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24691 Added subtract checks.
24693 * docs/design/part-events.txt:
24694 Some more docs about newsegment
24696 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24699 * gst/gstcaps.c: (gst_caps_to_string):
24700 Add comments, cleanups.
24702 * gst/gstelement.c: (gst_element_save_thyself):
24705 * gst/gstvalue.c: (gst_value_collect_int_range),
24706 (gst_string_unwrap), (gst_value_union_int_int_range),
24707 (gst_value_union_int_range_int_range),
24708 (gst_value_intersect_int_int_range),
24709 (gst_value_intersect_int_range_int_range),
24710 (gst_value_intersect_double_double_range),
24711 (gst_value_intersect_double_range_double_range),
24712 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24713 (gst_value_subtract_int_range_int),
24714 (gst_value_subtract_double_range_double),
24715 (gst_value_subtract_double_range_double_range),
24716 (gst_value_subtract_from_list), (gst_value_subtract_list),
24717 (gst_value_can_compare), (gst_value_compare_fraction):
24718 Cleanups, add comments, remove unneeded asserts.
24720 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24722 * tools/gst-launch.c: (event_loop):
24723 don't convert NULL structures to strings
24725 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24727 * docs/gst/gstreamer-sections.txt:
24728 made some defines private
24729 * docs/gst/tmpl/gstconfig.sgml:
24730 * docs/gst/tmpl/gstqueue.sgml:
24731 * docs/gst/tmpl/gsttaglist.sgml:
24732 * docs/gst/tmpl/gsttypes.sgml:
24733 * docs/gst/tmpl/gstutils.sgml:
24734 * docs/pwg/appendix-porting.xml:
24735 * gst/base/gstbasesink.h:
24736 * gst/base/gstbasesrc.c:
24737 * gst/base/gstbasesrc.h:
24738 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24739 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24740 * gst/gstelement.c: (gst_element_class_init):
24741 * gst/gstpad.c: (gst_pad_class_init):
24742 * gst/gstqueue.c: (gst_queue_class_init):
24743 * gst/gstxml.c: (gst_xml_class_init):
24744 documented all undocumented signal inline
24745 * libs/gst/controller/gst-controller.h:
24748 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24750 * docs/pwg/appendix-porting.xml:
24751 Document _set_link_function -> _set_setcaps_function.
24753 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24755 * check/Makefile.am:
24756 add a .check target for running the check
24757 * check/gst-libs/controller.c: (GST_START_TEST):
24759 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24760 complete checks for gstbuffer; would be nice if I could get the
24761 gcov stuff to work so I can see if I actually completed gstbuffer.c
24762 * check/gstcheck.h:
24763 add ASSERT_BUFFER_REFCOUNT
24765 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24767 * docs/gst/gstreamer-sections.txt:
24768 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24770 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24771 spew out a warning if a tag that is already registered
24772 is re-registered, unless it is re-registered with a
24773 different type (#308438).
24775 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24777 * docs/pwg/appendix-porting.xml:
24778 * docs/pwg/building-state.xml:
24779 Add some paragraphs about state changes in 0.9 to the PWG
24780 and the porting guide, in particular about the new meaning
24781 of GST_STATE_PAUSED and how to write state change functions
24782 with concurrent access by multiple threads in mind.
24784 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24786 * docs/gst/gstreamer-docs.sgml:
24787 * docs/libs/gstreamer-libs-docs.sgml:
24788 added deprecation and since indexes
24789 * libs/gst/controller/gst-controller.c:
24790 * libs/gst/controller/gst-helper.c:
24794 2005-08-11 Wim Taymans <wim@fluendo.com>
24796 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24797 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24798 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24799 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24800 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24801 (gst_ghost_pad_set_target):
24802 Actually implement (re)setting the target on a ghostpad
24803 as described in the docs.
24805 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24807 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24808 Check whether GST_DEBUG_NO_COLOR environment variable is
24809 set and disable coloured debug output if that is the case.
24811 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24813 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24814 (gst_type_find_helper):
24815 The memory returned by gst_type_find_peek() needs to
24816 stay valid until the end of a typefind function, and
24817 typefind functions may keep results from different
24818 offsets around, so we can't just unref the buffer from
24819 the previous _peek(), but have to save all buffers
24820 returned by _peek() until typefinding is done and only
24823 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24825 * docs/gst/gstreamer-sections.txt:
24827 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24829 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24831 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24832 Fix a pretty good memleak.
24834 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24836 * gst/gstiterator.h:
24837 Fix wrong include and 'make distcheck'.
24839 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24841 * gst/gstbin.c: (bin_bus_handler):
24842 Use gst_element_post_message() instead.
24844 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24846 * gst/base/gstadapter.h:
24847 * gst/base/gstbasesink.h:
24848 * gst/base/gstbasesrc.h:
24849 * gst/base/gstbasetransform.h:
24850 * gst/base/gstcollectpads.h:
24851 * gst/base/gstpushsrc.h:
24852 * gst/gstiterator.h:
24853 Add padding to our base elements' class and instance structs and
24854 to GstIterator (you will need to rebuild all plugins and apps!)
24856 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24858 * gst/gstbin.c: (bin_bus_handler):
24859 Make default message forwarding from child->bus to bin->bus
24860 threadsafe and make it not emit warnings if the parent has no bus.
24862 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24864 * gst/gstelement.c: (activate_pads):
24865 On paused->ready, set pad->caps to NULL, as is the documented
24866 behaviour in this state change. Fixes playback of series of
24867 media files when visualization is enabled in Totem.
24869 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24871 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24872 Allow NULL as filter-caps (which means "any").
24874 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24876 * docs/libs/gstreamer-libs-sections.txt:
24877 * libs/gst/controller/gst-controller.c:
24878 * libs/gst/controller/gst-controller.h:
24879 * libs/gst/controller/gst-helper.c:
24880 adding more entries to the docs and fix small doc-bugs
24882 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24884 * docs/gst/gstreamer-docs.sgml:
24885 * docs/gst/gstreamer-sections.txt:
24886 * docs/gst/gstreamer.types:
24887 * docs/gst/tmpl/gstbasesink.sgml:
24888 * docs/gst/tmpl/gstbasesrc.sgml:
24889 * docs/gst/tmpl/gstbasetransform.sgml:
24890 * docs/gst/tmpl/gstfakesrc.sgml:
24891 * gst/base/gstcollectpads.c:
24892 * gst/base/gstcollectpads.h:
24893 * libs/gst/controller/gst-controller.c:
24894 * libs/gst/controller/gst-controller.h:
24895 * libs/gst/controller/gst-helper.c:
24896 * libs/gst/controller/gst-interpolation.c:
24897 * libs/gst/controller/lib.c:
24898 added long/short desc for controller docs
24899 added collectpads base class docs
24900 added correct includes to base-class docs
24902 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24904 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24905 (gst_test_mono_source_set_property),
24906 (gst_test_mono_source_class_init), (GST_START_TEST),
24907 (gst_controller_suite):
24908 * docs/gst/gstreamer-docs.sgml:
24909 * docs/gst/gstreamer-sections.txt:
24910 * docs/gst/gstreamer.types:
24911 * docs/libs/gstreamer-libs-docs.sgml:
24912 * docs/libs/gstreamer-libs-sections.txt:
24913 * gst/base/gstadapter.c:
24914 * libs/gst/controller/gst-controller.c:
24915 (gst_controlled_property_new), (gst_controlled_property_free),
24916 (gst_controller_new_valist),
24917 (gst_controller_remove_properties_valist),
24918 (gst_controller_sink_values), (_gst_controller_finalize):
24919 * libs/gst/controller/gst-controller.h:
24920 * libs/gst/controller/gst-helper.c:
24921 (gst_object_control_properties), (gst_object_uncontrol_properties),
24922 (gst_object_get_controller), (gst_object_set_controller),
24923 (gst_object_sink_values), (gst_object_get_value_arrays),
24924 (gst_object_get_value_array):
24925 more tests (and fixes) for the controller
24926 more docs for the controller
24927 integrated companies docs for the adapter
24929 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24931 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24932 (GST_START_TEST), (fakesrc_suite):
24933 add tests for sizetype
24935 2005-08-04 Andy Wingo <wingo@pobox.com>
24937 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24938 fixes buffer_alloc proxying among other things.
24940 * gst/base/gstbasetransform.c:
24941 * gst/base/gstbasetransform.h:
24942 Revert patch to gstbasetransform from 7-28 removing
24945 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24946 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24947 Semantics changed, should return not the size of the output buffer
24948 but the byte size of a buffer with a given caps.
24950 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24952 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24953 out) are not the pad caps until setcaps finishes.
24954 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24955 not-in-place case as well. Deal with changing from in-place to
24956 not-in-place within calling pad_alloc_buffer. Still a bit
24957 concerned about the overhead here...
24959 2005-08-03 Andy Wingo <wingo@pobox.com>
24961 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24962 fixating is an error.
24964 2005-08-04 Edward Hervey <edward@fluendo.com>
24966 * gst/base/gstadapter.h:
24967 Added gst_adapter_get_type() to the header
24969 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24971 * check/Makefile.am:
24972 * check/gst-libs/controller.c:
24973 * libs/gst/controller/gst-controller.c:
24974 (gst_controller_new_valist):
24975 added check test suite for the controller
24976 * gst/base/gstpushsrc.c:
24979 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24981 * docs/gst/Makefile.am:
24982 * docs/gst/gstreamer-docs.sgml:
24983 * docs/gst/gstreamer-sections.txt:
24984 * docs/gst/gstreamer.types:
24985 * docs/gst/tmpl/gstfakesrc.sgml:
24987 * gst/base/gstbasesink.c:
24988 * gst/base/gstbasesink.h:
24989 * gst/base/gstbasesrc.c:
24990 * gst/base/gstbasesrc.h:
24991 * gst/base/gstbasetransform.c:
24992 * gst/base/gstpushsrc.c:
24993 * gst/base/gstpushsrc.h:
24994 add short/long description docs to base classes
24995 add pushsrc to the docs
24996 remove consolidated doc fragments
24998 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25001 * docs/libs/Makefile.am:
25002 * docs/libs/gstreamer-libs-docs.sgml:
25003 * docs/libs/gstreamer-libs-sections.txt:
25004 * docs/libs/gstreamer-libs.types:
25005 * examples/Makefile.am:
25006 * examples/controller/.cvsignore:
25007 * examples/controller/Makefile.am:
25008 * examples/controller/audio-example.c: (main):
25009 * libs/gst/Makefile.am:
25010 * libs/gst/controller/.cvsignore:
25011 * libs/gst/controller/Makefile.am:
25012 * libs/gst/controller/gst-controller.c:
25013 (on_object_controlled_property_changed), (gst_timed_value_compare),
25014 (gst_timed_value_find),
25015 (gst_controlled_property_set_interpolation_mode),
25016 (gst_controlled_property_new), (gst_controlled_property_free),
25017 (gst_controller_find_controlled_property),
25018 (gst_controller_new_valist), (gst_controller_new),
25019 (gst_controller_remove_properties_valist),
25020 (gst_controller_remove_properties), (gst_controller_set),
25021 (gst_controller_set_from_list), (gst_controller_unset),
25022 (gst_controller_get), (gst_controller_get_all),
25023 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25024 (gst_controller_get_value_array),
25025 (gst_controller_set_interpolation_mode),
25026 (_gst_controller_finalize), (_gst_controller_init),
25027 (_gst_controller_class_init), (gst_controller_get_type):
25028 * libs/gst/controller/gst-controller.h:
25029 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25030 (g_object_uncontrol_properties), (g_object_get_controller),
25031 (g_object_set_controller), (g_object_sink_values),
25032 (g_object_get_value_arrays), (g_object_get_value_array):
25033 * libs/gst/controller/gst-interpolation.c:
25034 (gst_controlled_property_find_timed_value_node),
25035 (interpolate_none_get), (interpolate_trigger_get),
25036 (interpolate_trigger_get_value_array):
25037 * libs/gst/controller/lib.c: (gst_controller_init):
25038 * pkgconfig/Makefile.am:
25039 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25040 * pkgconfig/gstreamer-control.pc.in:
25041 * testsuite/Makefile.am:
25042 * testsuite/controller/.cvsignore:
25043 * testsuite/controller/Makefile.am:
25044 * testsuite/controller/interpolator.c: (main):
25045 added controller code
25046 removed dparam pc files
25048 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25049 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25050 (gst_collectpads_stop):
25051 Broadcast the condition when shutting down, to make sure we wake all
25052 threads up. Shut down pads on finalize, for safety.
25054 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25055 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25056 (gst_base_transform_handle_buffer),
25057 (gst_base_transform_change_state):
25058 Handle PAUSED->READY->PAUSED transition after negotiation
25060 * gst/gstmessage.c: (gst_message_init):
25061 Extra piece of debug for new messages.
25063 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25066 * docs/gst/tmpl/gstbasesrc.sgml:
25067 * docs/gst/tmpl/gstelement.sgml:
25068 * docs/gst/tmpl/gstevent.sgml:
25069 * docs/gst/tmpl/gstfakesrc.sgml:
25070 * docs/gst/tmpl/gstformat.sgml:
25071 * docs/gst/tmpl/gstghostpad.sgml:
25072 * docs/gst/tmpl/gstpad.sgml:
25073 * docs/gst/tmpl/gstquery.sgml:
25074 * docs/gst/tmpl/gststructure.sgml:
25075 * docs/gst/tmpl/gsttaglist.sgml:
25076 * docs/gst/tmpl/gstvalue.sgml:
25077 * docs/libs/gstreamer-libs-docs.sgml:
25078 * docs/libs/gstreamer-libs-sections.txt:
25079 * docs/libs/gstreamer-libs.types:
25080 * libs/gst/Makefile.am:
25081 * libs/gst/control/.cvsignore:
25082 * libs/gst/control/Makefile.am:
25083 * libs/gst/control/control.c:
25084 * libs/gst/control/control.h:
25085 * libs/gst/control/dparam.c:
25086 * libs/gst/control/dparam.h:
25087 * libs/gst/control/dparam_smooth.c:
25088 * libs/gst/control/dparam_smooth.h:
25089 * libs/gst/control/dparamcommon.h:
25090 * libs/gst/control/dparammanager.c:
25091 * libs/gst/control/dparammanager.h:
25092 * libs/gst/control/dplinearinterp.c:
25093 * libs/gst/control/dplinearinterp.h:
25094 * libs/gst/control/unitconvert.c:
25095 * libs/gst/control/unitconvert.h:
25096 * testsuite/Makefile.am:
25097 * testsuite/dynparams/.cvsignore:
25098 * testsuite/dynparams/Makefile.am:
25099 * testsuite/dynparams/dparamstest.c:
25100 * tools/Makefile.am:
25101 * tools/gst-inspect.c: (print_element_info), (main):
25102 * tools/gst-xmlinspect.c: (print_element_info), (main):
25103 deactivate and remove dparams (libgstcontrol)
25105 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25107 * gst/elements/gsttypefindelement.c:
25108 (gst_type_find_element_have_type), (gst_type_find_element_init),
25109 (stop_typefinding), (gst_type_find_element_handle_event),
25110 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25111 * gst/elements/gsttypefindelement.h:
25112 Set caps on all outgoing buffers, not just the first one.
25114 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25116 * gst/elements/gsttypefindelement.c:
25117 (gst_type_find_element_have_type),
25118 (gst_type_find_element_check_set_buffer_caps),
25119 (gst_type_find_element_init), (stop_typefinding),
25120 (gst_type_find_element_handle_event),
25121 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25122 * gst/elements/gsttypefindelement.h:
25123 Set caps on first outgoing buffer when we've found the type.
25125 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25127 * docs/gst/gstreamer-docs.sgml:
25128 * docs/gst/gstreamer-sections.txt:
25129 * docs/gst/tmpl/gstscheduler.sgml:
25130 * docs/gst/tmpl/gstschedulerfactory.sgml:
25131 Remove some old cruft from docs.
25133 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25136 Fix inline docs for GstPadLinkReturn.
25138 * gst/gststructure.c: (gst_structure_has_name):
25139 * gst/gststructure.h:
25140 * docs/gst/gstreamer-sections.txt:
25141 New API: gst_structure_has_name().
25143 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25146 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25147 and _LARGEFILE_SOURCE in config.h as required. Do not
25148 export those flags in our .pc files any longer (#142209).
25150 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25152 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25153 (gst_file_sink_do_seek), (gst_file_sink_event),
25154 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25155 Redo seek/tell calls with large file support in mind; add some
25156 debugging messages; add log message that tells us when large
25157 file support is unavailable or not enabled for some reason.
25159 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25160 Add log message that tells us when large file support
25161 is unavailable or not enabled for some reason.
25163 2005-07-29 Wim Taymans <wim@fluendo.com>
25165 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25166 Added test for removing an element with ghostpad from a bin.
25167 Fixed test as current implementation does the right thing.
25169 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25170 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25171 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25172 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25173 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25174 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25175 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25176 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25177 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25178 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25179 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25180 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25181 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25182 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25183 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25184 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25185 * gst/gstghostpad.h:
25186 Clean up ghostpads, remove properties for internal stuff.
25189 Prepare for switching targets, not all use cases work yet.
25191 2005-07-29 Wim Taymans <wim@fluendo.com>
25193 * docs/design/part-gstghostpad.txt:
25196 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25197 (gst_bin_remove_func):
25198 Unlinking pads while holding the bin LOCK is not a good
25201 * gst/gstpad.c: (gst_pad_class_init),
25202 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25203 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25204 No prob setting template after creating the pad.
25206 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25208 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25209 (gst_bus_peek), (gst_bus_source_dispatch),
25210 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25211 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25212 gst_bus_poll may be called from other threads. Handle
25213 this nicely by not making poll_data disappear off the
25214 stack once gst_bus_poll returns.
25215 gst_bus_peek now increments the refcount on the returned
25218 2005-07-29 Wim Taymans <wim@fluendo.com>
25220 * docs/design/part-gstghostpad.txt:
25221 Overview of current GhostPad datastructures and use
25222 cases for changing the target.
25224 2005-07-28 Wim Taymans <wim@fluendo.com>
25226 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25227 Added checks for hierarchy consistency whan adding linked
25230 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25231 Added check to test element scheduling without bin/pipeline.
25233 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25234 First add elements to bin, then link.
25236 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25237 (gst_bin_remove_func):
25238 Unlink pads from elements added/removed from bin to maintain
25239 hierarchy consistency.
25241 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25243 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25244 (gst_base_transform_handle_buffer):
25245 * gst/base/gstbasetransform.h:
25246 Remove broken delay_configure (fixes renegotiation of software
25247 scaling pipelines); remove some leftover printf()s.
25249 2005-07-28 Wim Taymans <wim@fluendo.com>
25251 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25252 Added some more tests for wrong hierarchy
25254 * docs/design/part-overview.txt:
25257 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25260 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25261 (gst_element_dispose):
25262 Some more cleanups.
25264 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25265 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25266 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25267 (gst_pad_set_caps), (gst_pad_send_event):
25268 Check for correct hierarchy when linking pads. Moving to
25269 strict requirement for ghostpads when linking elements in
25273 Clean ups. Added WRONG_HIERARCHY return value.
25275 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25277 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25278 Better debug if no transform is possible.
25280 2005-07-27 Wim Taymans <wim@fluendo.com>
25282 * docs/random/wtay/network-transp:
25283 Some old doc I had.
25285 2005-07-27 Wim Taymans <wim@fluendo.com>
25287 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25288 (gst_dp_event_from_packet):
25289 Fix serialization of seek events.
25291 2005-07-27 Wim Taymans <wim@fluendo.com>
25293 * check/gst-libs/gdp.c: (GST_START_TEST):
25294 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25295 Fix compilation and fix event serialization.
25297 2005-07-27 Wim Taymans <wim@fluendo.com>
25300 * docs/design/part-TODO.txt:
25301 * docs/design/part-events.txt:
25304 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25305 (gst_base_sink_event), (gst_base_sink_do_sync),
25306 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25307 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25308 (gst_base_src_do_seek), (gst_base_src_event_handler),
25309 (gst_base_src_loop):
25310 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25311 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25312 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25313 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25314 (gst_base_transform_set_passthrough),
25315 (gst_base_transform_is_passthrough):
25316 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25317 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25323 * gst/gstelement.c: (gst_element_seek):
25324 * gst/gstelement.h:
25325 Update gst_element_seek.
25327 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25328 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25329 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25330 (gst_event_new_eos), (gst_event_new_newsegment),
25331 (gst_event_parse_newsegment), (gst_event_new_tag),
25332 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25333 (gst_event_parse_qos), (gst_event_new_seek),
25334 (gst_event_parse_seek), (gst_event_new_navigation):
25336 Make GstEvent use GstStructure. Add parsing code, make sure the
25337 API is sufficiently generic.
25338 Mark possible directions of events and serialization.
25340 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25341 (_gst_message_copy), (gst_message_new_segment_start),
25342 (gst_message_new_segment_done), (gst_message_new_custom),
25343 (gst_message_parse_segment_start),
25344 (gst_message_parse_segment_done):
25347 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25348 (gst_pad_set_caps), (gst_pad_send_event):
25349 Update for new events.
25350 Catch events sent in wrong directions.
25352 * gst/gstqueue.c: (gst_queue_link_src),
25353 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25354 (gst_queue_handle_src_query):
25359 Remove event code from this file.
25361 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25362 (gst_dp_event_from_packet):
25365 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25367 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25368 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25369 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25370 Make debugging actually useful.
25372 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25374 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25375 (gst_pad_fixate_caps):
25376 Implement default fixation once again, so that gst_pad_fixate()
25377 actually does anything at all. This probably needs to be some
25378 sort of a last resort, and use profile-based fixation first, but
25379 since that doesn't exist yet, this is the best we have. Fixes
25380 visualization in Totem.
25382 2005-07-22 Wim Taymans <wim@fluendo.com>
25384 * docs/design/part-events.txt:
25387 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25388 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25389 (gst_base_sink_activate_pull):
25390 Some more comments.
25392 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25393 (gst_fake_src_create):
25394 Fix handoff marshall.
25396 * gst/elements/gstidentity.c: (gst_identity_class_init),
25397 (gst_identity_transform_ip):
25398 We're a real inplace element.
25400 * gst/gstbus.c: (gst_bus_post):
25401 Added some comments.
25403 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25404 * tests/muxing/case1.c: (main):
25405 * tests/sched/dynamic-pipeline.c: (main):
25406 * tests/sched/interrupt1.c: (main):
25407 * tests/sched/interrupt2.c: (main):
25408 * tests/sched/interrupt3.c: (main):
25409 * tests/sched/runxml.c: (main):
25410 * tests/sched/sched-stress.c: (main):
25411 * tests/seeking/seeking1.c: (event_received), (main):
25412 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25414 * tests/threadstate/threadstate3.c: (main):
25415 * tests/threadstate/threadstate4.c: (main):
25416 * tests/threadstate/threadstate5.c: (main):
25419 2005-07-21 Wim Taymans <wim@fluendo.com>
25421 * docs/design/part-seeking.txt:
25422 Some small additions.
25424 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25425 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25426 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25427 * gst/base/gstbasesink.h:
25428 discont values are gint64, handle the math correctly.
25430 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25431 Make the basesrc report error if the source pad is not linked.
25433 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25434 (gst_queue_loop), (gst_queue_handle_src_query),
25435 (gst_queue_src_activate_push):
25436 Make queue collect data even if the srcpad is not linked.
25437 Start pushing out data as soon as it is linked.
25439 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25441 Added gst_flow_get_name() to ease error reporting.
25443 2005-07-20 Wim Taymans <wim@fluendo.com>
25445 * gst/gstmessage.c: (gst_message_new_segment_start),
25446 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25447 (gst_message_parse_segment_done):
25448 * gst/gstmessage.h:
25449 Added a bunch of messages for advanced seeking.
25451 * gst/parse/grammar.y:
25452 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25453 (gst_dpman_state_changed):
25454 Fix some new-pad -> pad-added signals
25456 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25458 * docs/manual/appendix-porting.xml:
25459 * docs/pwg/appendix-porting.xml:
25460 Document new-pad/state-change signal renames and the FixedList
25463 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25465 * docs/manual/advanced-autoplugging.xml:
25466 * docs/manual/basics-helloworld.xml:
25467 * docs/manual/basics-pads.xml:
25468 * docs/random/ds/0.9-suggested-changes:
25469 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25470 * gst/gstelement.h:
25474 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25475 (gst_structure_parse_array), (gst_structure_parse_value):
25476 * gst/gstvalue.c: (gst_type_is_fixed),
25477 (gst_value_list_prepend_value), (gst_value_list_append_value),
25478 (gst_value_list_get_size), (gst_value_list_get_value),
25479 (gst_value_transform_array_string), (gst_value_serialize_array),
25480 (gst_value_deserialize_array), (gst_value_intersect_array),
25481 (gst_value_is_fixed), (_gst_value_initialize):
25483 GstElement::new-pad -> pad-added, GstElement::state-change ->
25484 state-changed, GstValueFixedList -> GstValueArray, add format and
25485 flags as their own arguments in gst_element_seek() (should improve
25486 "bindeability"), remove function generators since they don't work
25487 under a whole bunch of compilers (they were deprecated already
25490 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25492 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25493 (_gst_debug_register_funcptr):
25495 Fix illegal cast on some platforms (#309253).
25497 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25499 * gst/gstmessage.c: (gst_message_new_custom):
25500 * gst/gstmessage.h:
25501 Add _new_custom, make _new_application a macro to _new_custom.
25503 2005-07-20 Wim Taymans <wim@fluendo.com>
25505 * gst/base/gstbasesrc.c: (gst_base_src_init),
25506 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25507 * gst/base/gstbasesrc.h:
25508 Add a gboolean to decide when to push out a discont.
25510 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25511 (gst_queue_loop), (gst_queue_handle_src_query),
25512 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25513 (gst_queue_set_property), (gst_queue_get_property):
25516 * tests/threadstate/threadstate1.c: (main):
25517 Make a thread test compile and run... very silly..
25520 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25522 * docs/manual/appendix-porting.xml:
25523 Mention removal of libgstgconf-0.9.la and existence of gconf
25526 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25528 * docs/pwg/advanced-clock.xml:
25529 * docs/pwg/appendix-porting.xml:
25530 * docs/pwg/intro-preface.xml:
25531 * docs/pwg/other-base.xml:
25532 * docs/pwg/other-manager.xml:
25533 * docs/pwg/other-nton.xml:
25534 * docs/pwg/other-ntoone.xml:
25535 * docs/pwg/other-oneton.xml:
25536 * docs/pwg/pwg.xml:
25537 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25538 demuxer), remove n-to-n (was never written), fix some code examples
25539 and links and update the porting section to include all this.
25541 2005-07-19 Wim Taymans <wim@fluendo.com>
25543 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25544 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25545 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25546 (gst_queue_src_activate_push), (gst_queue_change_state),
25547 (gst_queue_get_property):
25549 Propagate GstFlowReturn more intelligently upstream and output
25550 an ERROR/EOS when streaming stopped due to fatal error.
25552 2005-07-19 Wim Taymans <wim@fluendo.com>
25554 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25555 Don't block forever for the state change to complete, the
25556 pipeline already did with a sensible timeout.
25558 2005-07-19 Wim Taymans <wim@fluendo.com>
25560 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25561 Make sure we never call the create function is we
25564 2005-07-19 Andy Wingo <wingo@pobox.com>
25566 * gst/parse/parse.l: Attempt to solve bug #172815.
25568 2005-07-19 Wim Taymans <wim@fluendo.com>
25570 * docs/design/part-clocks.txt:
25571 * docs/design/part-events.txt:
25572 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25573 Small docs updates.
25574 Only update the seeking values when we are not
25577 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25579 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25580 Oops, ignore the result of gst_pad_push_event here.
25582 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25584 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25585 (gst_base_src_activate_push):
25586 Send discont event from the loop function, as pads
25587 aren't activated yet in the activate_push handler.
25589 * gst/gstbin.c: (bin_bus_handler):
25590 Don't leak element name.
25592 2005-07-18 Andy Wingo <wingo@pobox.com>
25594 * configure.ac: Use AS_LIBTOOL_TAGS.
25596 2005-07-18 Wim Taymans <wim@fluendo.com>
25598 * docs/gst/gstreamer.types:
25599 Remove deleted types.
25601 2005-07-18 Wim Taymans <wim@fluendo.com>
25603 * check/elements/gstfakesrc.c: (GST_START_TEST):
25606 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25607 (init_popt_callback):
25609 * gst/gst_private.h:
25610 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25611 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25614 * gst/gstconfig.h.in:
25615 * gst/gstelement.c: (gst_element_class_init),
25616 (gst_element_set_base_time), (gst_element_get_base_time),
25617 (iterator_fold_with_resync), (gst_element_change_state),
25618 (gst_element_dispose), (gst_element_get_bus):
25619 * gst/gstelement.h:
25620 * gst/gstelementfactory.h:
25621 * gst/gsterror.c: (_gst_core_errors_init):
25624 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25626 * gst/gstinfo.c: (_gst_debug_init):
25627 * gst/gstmessage.c: (_gst_message_copy):
25628 * gst/gstmessage.h:
25629 * gst/gstminiobject.h:
25632 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25633 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25636 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25637 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25638 (gst_pipeline_get_last_stream_time):
25639 * gst/gstpipeline.h:
25640 * gst/gstpluginfeature.h:
25642 * gst/gstscheduler.c:
25643 * gst/gstscheduler.h:
25644 * gst/gststructure.h:
25645 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25646 (gst_task_finalize), (gst_task_func), (gst_task_create),
25647 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25648 (gst_task_stop), (gst_task_pause):
25650 * gst/gsttypefind.h:
25652 * gst/registries/gstlibxmlregistry.c: (load_feature),
25653 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25654 * gst/registries/gstxmlregistry.c:
25655 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25656 * gst/schedulers/threadscheduler.c:
25657 * libs/gst/control/dparammanager.h:
25658 * tools/gst-inspect.c: (print_element_list),
25659 (print_plugin_features), (print_element_features):
25660 * tools/gst-xmlinspect.c: (print_element_list),
25661 (print_plugin_info), (main):
25662 Removed plugable schedulers.
25663 Removed Scheduler/Manager from elements.
25664 Removed gsttypes.h, rearranged includes.
25665 Removed dependency pad<->element, element<>pipeline, and
25666 various others, fix includes.
25667 implement gst_pad_get_parent() with gst_object_get_parent()
25668 Make GstTask sefcontained.
25669 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25671 Fix endless loop in iterator_fold_with_resync.
25674 2005-07-18 Wim Taymans <wim@fluendo.com>
25680 2005-07-18 Wim Taymans <wim@fluendo.com>
25683 No more cothreads.h
25685 2005-07-18 Wim Taymans <wim@fluendo.com>
25689 Let's remove these.
25691 2005-07-18 Wim Taymans <wim@fluendo.com>
25693 * docs/design/part-dynamic.txt:
25694 * docs/design/part-events.txt:
25695 * docs/design/part-seeking.txt:
25696 Some more docs in the works.
25698 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25699 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25700 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25701 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25702 (gst_base_transform_handle_buffer),
25703 (gst_base_transform_sink_activate_push),
25704 (gst_base_transform_src_activate_pull),
25705 (gst_base_transform_set_passthrough),
25706 (gst_base_transform_is_passthrough):
25709 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25712 * gst/gstevent.c: (gst_event_finalize):
25715 * gst/gstutils.c: (gst_element_unlink),
25716 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25717 (gst_pad_proxy_setcaps):
25719 Add _get_parent_element() to get a pads parent as an element.
25721 2005-07-18 Wim Taymans <wim@fluendo.com>
25723 * check/gst/gstbin.c: (GST_START_TEST):
25726 2005-07-18 Wim Taymans <wim@fluendo.com>
25728 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25729 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25730 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25731 (gst_base_sink_event), (gst_base_sink_do_sync),
25732 (gst_base_sink_chain), (gst_base_sink_loop),
25733 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25734 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25736 Fix logic for returning ASYNC when not prerolled.
25738 2005-07-18 Wim Taymans <wim@fluendo.com>
25740 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25741 Fix nasty refcount bug.
25743 2005-07-16 Philippe Khalaf <burger@speedy.org>
25745 * gst/elements/gstfdsrc.c:
25746 * gst/elements/gstfdsrc.h:
25747 * gst/elements/gstelements.c:
25748 * gst/elements/Makefile.am:
25749 Ported fdsrc to 0.9.
25751 2005-07-16 Wim Taymans <wim@fluendo.com>
25753 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25754 (gst_base_sink_do_sync):
25757 2005-07-16 Wim Taymans <wim@fluendo.com>
25759 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25760 (gst_base_sink_event), (gst_base_sink_get_times),
25761 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25762 * gst/base/gstbasesink.h:
25763 Store and use discont values when syncing buffers as described
25766 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25767 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25768 (gst_base_src_activate_push):
25769 Push discont event when starting.
25771 * gst/elements/gstidentity.c: (gst_identity_transform):
25774 * gst/gstbin.c: (gst_bin_change_state):
25775 Small cleanups in base_time distribution.
25777 * gst/gstelement.c: (gst_element_set_base_time),
25778 (gst_element_get_base_time), (gst_element_change_state):
25779 * gst/gstelement.h:
25780 Added methods for the base_time of the element.
25783 * gst/gstpipeline.c: (gst_pipeline_send_event),
25784 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25785 (gst_pipeline_get_last_stream_time):
25786 * gst/gstpipeline.h:
25788 Handle seeking as described in design doc, remove stream_time
25790 Cleanups clock and stream_time selection code. Added accessors
25791 for the stream_time.
25794 2005-07-16 Andy Wingo <wingo@pobox.com>
25796 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25799 2005-07-16 Wim Taymans <wim@fluendo.com>
25801 * check/gst/gstbin.c: (GST_START_TEST):
25802 Make elements silent as the deep_notify refs the
25803 parent, which might make the test fail.
25805 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25806 Don't hold the lock for too long.
25808 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25810 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25811 Don't unref the caps we passed to gst_caps_make_writable() after
25812 passing them. gst_caps_make_writable() will do that for us.
25814 2005-07-15 Andy Wingo <wingo@pobox.com>
25816 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25819 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25820 own marshalling function for the handoff signal. Properly type the
25821 buffer as a buffer. Fixes some warnings. Should do a more general
25823 (gst_identity_class_init): Plug into the right marshaller.
25825 2005-07-15 Wim Taymans <wim@fluendo.com>
25827 * docs/design/part-TODO.txt:
25828 * docs/design/part-clocks.txt:
25829 * docs/design/part-element-sink.txt:
25830 * docs/design/part-events.txt:
25831 * docs/design/part-gstpipeline.txt:
25832 Updated docs, mostly DISCONT related.
25834 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25836 * docs/pwg/building-pads.xml:
25837 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25839 2005-07-15 Andy Wingo <wingo@pobox.com>
25841 * tools/gst-typefind.c: Update, add copyright block.
25843 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25844 Normalize and truncate caps before fixation.
25847 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25848 discards all but the first structure from its argument.
25850 2005-07-15 Wim Taymans <wim@fluendo.com>
25852 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25853 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25854 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25855 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25856 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25857 (gst_base_transform_chain), (gst_base_transform_change_state),
25858 (gst_base_transform_set_passthrough),
25859 (gst_base_transform_is_passthrough):
25860 * gst/base/gstbasetransform.h:
25861 Make passthrough work using the bufferpools.
25862 Changed API a bit, subclasses have to write into a buffer
25863 provided by the base class.
25864 More debug info in nego functions.
25866 * gst/elements/gstidentity.c: (gst_identity_init),
25867 (gst_identity_transform):
25868 Port to new base class.
25870 2005-07-15 Wim Taymans <wim@fluendo.com>
25872 * gst/gstmessage.c: (gst_message_new_state_changed):
25873 * tools/gst-launch.c: (event_loop), (main):
25874 Totally dump messages in -launch with the -m option.
25875 Fix message name for State messages,
25877 2005-07-14 Wim Taymans <wim@fluendo.com>
25879 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25880 Post error messages on errors.
25882 2005-07-14 Wim Taymans <wim@fluendo.com>
25884 * gst/gstcaps.c: (gst_caps_do_simplify):
25888 Define error for stream stopped.
25890 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25891 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25892 Do proper return values.
25894 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25895 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25896 (gst_pad_get_range):
25897 Better return values.
25900 Reorganise return values, add macro to check for fatal errors.
25902 * gst/gstqueue.c: (gst_queue_chain):
25903 Return proper GstFlowReturn values,
25905 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25907 * docs/gst/gstreamer-sections.txt:
25908 * docs/gst/gstreamer.types:
25909 * docs/gst/tmpl/gst.sgml:
25910 * docs/gst/tmpl/gstbasesink.sgml:
25911 * docs/gst/tmpl/gstbasesrc.sgml:
25912 * docs/gst/tmpl/gstbasetransform.sgml:
25913 * docs/gst/tmpl/gstbin.sgml:
25914 * docs/gst/tmpl/gstbuffer.sgml:
25915 * docs/gst/tmpl/gstcaps.sgml:
25916 * docs/gst/tmpl/gstclock.sgml:
25917 * docs/gst/tmpl/gstcompat.sgml:
25918 * docs/gst/tmpl/gstconfig.sgml:
25919 * docs/gst/tmpl/gstelement.sgml:
25920 * docs/gst/tmpl/gstelementdetails.sgml:
25921 * docs/gst/tmpl/gstelementfactory.sgml:
25922 * docs/gst/tmpl/gstenumtypes.sgml:
25923 * docs/gst/tmpl/gsterror.sgml:
25924 * docs/gst/tmpl/gstevent.sgml:
25925 * docs/gst/tmpl/gstfakesink.sgml:
25926 * docs/gst/tmpl/gstfakesrc.sgml:
25927 * docs/gst/tmpl/gstfilesink.sgml:
25928 * docs/gst/tmpl/gstfilesrc.sgml:
25929 * docs/gst/tmpl/gstfilter.sgml:
25930 * docs/gst/tmpl/gstformat.sgml:
25931 * docs/gst/tmpl/gstghostpad.sgml:
25932 * docs/gst/tmpl/gstimplementsinterface.sgml:
25933 * docs/gst/tmpl/gstindex.sgml:
25934 * docs/gst/tmpl/gstindexfactory.sgml:
25935 * docs/gst/tmpl/gstinfo.sgml:
25936 * docs/gst/tmpl/gstiterator.sgml:
25937 * docs/gst/tmpl/gstmacros.sgml:
25938 * docs/gst/tmpl/gstmemchunk.sgml:
25939 * docs/gst/tmpl/gstminiobject.sgml:
25940 * docs/gst/tmpl/gstobject.sgml:
25941 * docs/gst/tmpl/gstpad.sgml:
25942 * docs/gst/tmpl/gstpadtemplate.sgml:
25943 * docs/gst/tmpl/gstparse.sgml:
25944 * docs/gst/tmpl/gstpipeline.sgml:
25945 * docs/gst/tmpl/gstplugin.sgml:
25946 * docs/gst/tmpl/gstpluginfeature.sgml:
25947 * docs/gst/tmpl/gstquery.sgml:
25948 * docs/gst/tmpl/gstqueue.sgml:
25949 * docs/gst/tmpl/gstregistry.sgml:
25950 * docs/gst/tmpl/gstregistrypool.sgml:
25951 * docs/gst/tmpl/gstscheduler.sgml:
25952 * docs/gst/tmpl/gstschedulerfactory.sgml:
25953 * docs/gst/tmpl/gststructure.sgml:
25954 * docs/gst/tmpl/gstsystemclock.sgml:
25955 * docs/gst/tmpl/gsttaglist.sgml:
25956 * docs/gst/tmpl/gsttagsetter.sgml:
25957 * docs/gst/tmpl/gsttrace.sgml:
25958 * docs/gst/tmpl/gsttrashstack.sgml:
25959 * docs/gst/tmpl/gsttypefind.sgml:
25960 * docs/gst/tmpl/gsttypefindfactory.sgml:
25961 * docs/gst/tmpl/gsttypes.sgml:
25962 * docs/gst/tmpl/gsturihandler.sgml:
25963 * docs/gst/tmpl/gsturitype.sgml:
25964 * docs/gst/tmpl/gstutils.sgml:
25965 * docs/gst/tmpl/gstvalue.sgml:
25966 * docs/gst/tmpl/gstversion.sgml:
25967 * docs/gst/tmpl/gstxml.sgml:
25968 * docs/libs/tmpl/gstcontrol.sgml:
25969 * docs/libs/tmpl/gstdataprotocol.sgml:
25970 * docs/libs/tmpl/gstdparam.sgml:
25971 * docs/libs/tmpl/gstdplinint.sgml:
25972 * docs/libs/tmpl/gstdpman.sgml:
25973 * docs/libs/tmpl/gstdpsmooth.sgml:
25974 * docs/libs/tmpl/gstgetbits.sgml:
25975 * docs/libs/tmpl/gstunitconvert.sgml:
25976 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25977 (gst_push_src_base_init), (gst_push_src_class_init),
25978 (gst_push_src_init), (gst_push_src_create):
25979 * gst/base/gstpushsrc.h:
25980 * gst/elements/gstelements.c:
25981 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25982 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25983 (gst_fake_sink_init), (gst_fake_sink_set_property),
25984 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25985 (gst_fake_sink_event), (gst_fake_sink_preroll),
25986 (gst_fake_sink_render), (gst_fake_sink_change_state):
25987 * gst/elements/gstfakesink.h:
25988 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25989 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25990 (gst_fake_src_base_init), (gst_fake_src_class_init),
25991 (gst_fake_src_init), (gst_fake_src_event_handler),
25992 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25993 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25994 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25995 (gst_fake_src_create_buffer), (gst_fake_src_create),
25996 (gst_fake_src_start), (gst_fake_src_stop):
25997 * gst/elements/gstfakesrc.h:
25998 * gst/elements/gstfilesink.c: (_do_init),
25999 (gst_file_sink_base_init), (gst_file_sink_class_init),
26000 (gst_file_sink_init), (gst_file_sink_dispose),
26001 (gst_file_sink_set_location), (gst_file_sink_set_property),
26002 (gst_file_sink_get_property), (gst_file_sink_open_file),
26003 (gst_file_sink_close_file), (gst_file_sink_query),
26004 (gst_file_sink_event), (gst_file_sink_render),
26005 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26006 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26007 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26008 * gst/elements/gstfilesink.h:
26009 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26010 (gst_file_src_class_init), (gst_file_src_init),
26011 (gst_file_src_finalize), (gst_file_src_set_location),
26012 (gst_file_src_set_property), (gst_file_src_get_property),
26013 (gst_file_src_map_region), (gst_file_src_map_small_region),
26014 (gst_file_src_create_mmap), (gst_file_src_create_read),
26015 (gst_file_src_create), (gst_file_src_is_seekable),
26016 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26017 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26018 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26019 (gst_file_src_uri_handler_init):
26020 * gst/elements/gstfilesrc.h:
26021 more autistic cleanliness in functions/names/defines
26023 2005-07-13 Andy Wingo <wingo@pobox.com>
26025 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26026 source couldn't negotiate.
26028 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26032 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26033 function. I am channeling Hades. Put your boots on suckers!!!
26035 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26037 * testsuite/caps/Makefile.am:
26038 * testsuite/caps/value_compare.c:
26039 * testsuite/caps/value_intersect.c:
26040 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26041 move two testsuite apps over to the check dir
26043 2005-07-12 Wim Taymans <wim@fluendo.com>
26045 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26046 Added more debug info in the negotiate process.
26048 * gst/gstmessage.h:
26049 Prepare for segment playback.
26051 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26057 * tools/gst-launch.c: (main):
26058 NULL pipeline on errors.
26060 2005-07-12 Andy Wingo <wingo@pobox.com>
26062 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26063 not it comes from a malloc region. Make sure our copy gets freed.
26065 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26067 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26068 * check/gst/gstmessage.c: (GST_START_TEST):
26069 * check/gst/gststructure.c: (GST_START_TEST),
26070 (gst_structure_suite), (main):
26072 * gst/gstelement.c: (gst_element_message_full):
26073 clean up GError and debug string now that they get copied
26074 * gst/gstmessage.c: (gst_message_new_error),
26075 (gst_message_new_warning), (gst_message_parse_error),
26076 (gst_message_parse_warning):
26077 use GST_TYPE_G_ERROR for structure_new, and take copies of
26078 arguments, so that we don't mess up refcounting
26080 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26082 * check/Makefile.am:
26083 add per-test valgrind targets
26084 * check/gst-libs/gdp.c: (GST_START_TEST),
26085 (gst_data_protocol_suite), (main):
26088 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26090 * check/Makefile.am:
26091 instate more valgrindable tests
26092 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26093 (GST_START_TEST), (fakesrc_suite):
26094 * check/gst/gstpad.c: (GST_START_TEST):
26095 * check/gst/gststructure.c: (GST_START_TEST):
26097 * docs/gst/tmpl/gstminiobject.sgml:
26098 * gst/gstpad.c: (gst_pad_finalize):
26099 fix the static mutex leak
26101 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26103 * check/Makefile.am:
26104 add two more tests for valgrinding
26105 * check/gst/gstvalue.c: (GST_START_TEST):
26106 test refcount of deserialized buffer, found a leak
26107 * docs/gst/gstreamer-docs.sgml:
26108 * docs/gst/gstreamer-sections.txt:
26109 * docs/gst/gstreamer.types:
26110 * docs/gst/tmpl/gstminiobject.sgml:
26111 add miniobject to docs
26112 * gst/gstminiobject.c:
26114 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26115 (gst_string_unwrap):
26116 fix a hard-to-find invalid write for one of the tests
26117 fix a leak for deserialized buffers
26119 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26121 * docs/pwg/advanced-events.xml:
26122 * docs/pwg/advanced-request.xml:
26123 * docs/pwg/advanced-scheduling.xml:
26124 * docs/pwg/appendix-porting.xml:
26125 * docs/pwg/building-boiler.xml:
26126 * docs/pwg/intro-preface.xml:
26127 * docs/pwg/other-ntoone.xml:
26128 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26129 of example code and explanation for pad activation, loop() and
26130 getrange() functions and a bit more. Remove old comments pointing
26132 * examples/pwg/Makefile.am:
26133 Add loop/getrange examples.
26135 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26138 check for valgrind binary + some fixes
26140 valgrind suppressions for the tests
26141 * check/Makefile.am:
26142 add a valgrind: target that valgrinds the unit tests
26143 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26144 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26145 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26146 * check/gst/gstghostpad.c:
26148 * check/gst/gstdata.c:
26150 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26151 (thread_unref), (gst_mini_object_suite), (main):
26153 * gst/gst.c: (gst_deinit):
26155 add a method to clean up.
26156 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26157 (gst_system_clock_obtain):
26158 allow for disposing the system clock.
26159 * tools/gst-launch.c: (main):
26162 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26164 * docs/gst/tmpl/gstbasesrc.sgml:
26165 * docs/gst/tmpl/gstfakesrc.sgml:
26166 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26167 (gst_base_src_init), (gst_base_src_set_property),
26168 (gst_base_src_get_property), (gst_base_src_get_range),
26169 (gst_base_src_start):
26170 * gst/base/gstbasesrc.h:
26171 add num-buffers property
26172 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26173 (gst_fakesrc_init), (gst_fakesrc_set_property),
26174 (gst_fakesrc_get_property), (gst_fakesrc_create),
26175 (gst_fakesrc_start):
26176 remove num-buffers property
26178 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26180 * docs/gst/gstreamer-sections.txt:
26181 * docs/gst/tmpl/gstbasesink.sgml:
26182 * docs/gst/tmpl/gstbasesrc.sgml:
26183 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26184 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26185 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26186 (gst_base_sink_set_property), (gst_base_sink_get_property),
26187 (gst_base_sink_handle_object), (gst_base_sink_event),
26188 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26189 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26190 (gst_base_sink_loop), (gst_base_sink_deactivate),
26191 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26192 (gst_base_sink_change_state):
26193 * gst/base/gstbasesink.h:
26194 * gst/base/gstbasesrc.h:
26195 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26196 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26197 (gst_filesink_init):
26198 more macro splitting
26200 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26202 * gst/gstelement.c: (gst_element_get_bus):
26204 * tools/gst-launch.c: (check_intr), (event_loop):
26207 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26209 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26212 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26214 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26215 (gst_base_src_finalize):
26216 add finalize method and clean up properly
26217 * gst/gstpipeline.c: (gst_pipeline_dispose):
26220 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26222 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26224 add more things to check
26225 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26226 * gst/gstelement.c:
26229 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26231 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26232 (GST_START_TEST), (fakesrc_suite):
26233 * check/gst-libs/gdp.c: (GST_START_TEST):
26234 * check/gst/gst.c: (GST_START_TEST):
26235 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26236 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26237 * check/gst/gstbus.c: (GST_START_TEST):
26238 * check/gst/gstcaps.c: (GST_START_TEST):
26239 * check/gst/gstdata.c: (GST_START_TEST):
26240 * check/gst/gstelement.c: (GST_START_TEST):
26241 * check/gst/gstghostpad.c: (GST_START_TEST):
26242 * check/gst/gstiterator.c: (GST_START_TEST):
26243 * check/gst/gstmessage.c: (GST_START_TEST):
26244 * check/gst/gstobject.c: (GST_START_TEST):
26245 * check/gst/gstpad.c: (GST_START_TEST):
26246 * check/gst/gststructure.c: (GST_START_TEST):
26247 * check/gst/gstsystemclock.c: (GST_START_TEST),
26248 (gst_systemclock_suite):
26249 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26250 * check/gst/gstvalue.c: (GST_START_TEST):
26251 * check/pipelines/cleanup.c: (GST_START_TEST):
26252 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26253 * check/states/sinks.c: (GST_START_TEST):
26254 * check/gstcheck.c: (gst_check_init):
26255 * check/gstcheck.h:
26256 add debugging category
26257 use GST_START_TEST now, so we add a debug line
26259 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26261 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26262 add test for state change message on a bin
26263 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26265 * gst/gstbin.c: (gst_bin_init):
26266 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26267 * gst/gstelement.c: (gst_element_post_message),
26268 (gst_element_set_state):
26269 * gst/gstelementfactory.c: (gst_element_factory_create):
26270 * gst/gstmessage.c: (gst_message_new):
26271 * gst/gstscheduler.c:
26272 various debugging additions and cleanups
26274 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26276 * check/Makefile.am:
26277 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26279 adding tests for elements
26280 * gst/gstelement.c: (gst_element_dispose):
26282 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26284 * gst/registries/gstlibxmlregistry.c: (load_feature):
26285 plug more leaks. A simple gst_init() now is leakfree, yay.
26287 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26289 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26290 (gst_xml_registry_load):
26291 plug another memleak
26293 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26296 use GST_SET_ERROR_CFLAGS
26297 * docs/faq/cvs.xml:
26298 change to ERROR_CFLAGS
26300 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26303 make GST_ERROR_CFLAGS overridable and re-enable Werror
26304 * docs/faq/cvs.xml:
26305 add a note about error CFLAGS
26306 * docs/gst/tmpl/gstfakesrc.sgml:
26307 * gst/elements/gstfakesrc.c:
26308 comment out some unused code
26309 * gst/gst.c: (split_and_iterate):
26310 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26314 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26316 * common/Makefile.am:
26317 * common/gtk-doc.mak:
26318 * docs/gst/Makefile.am:
26319 factor out gtk-doc.mak
26321 2005-07-07 Wim Taymans <wim@fluendo.com>
26323 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26324 (gst_thread_scheduler_dispose):
26325 Unlock the STREAM_LOCK completely.
26327 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26329 * check/Makefile.am:
26330 * check/elements/.cvsignore:
26331 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26332 (START_TEST), (fakesrc_suite), (main):
26333 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26334 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26335 (gst_fakesrc_create), (gst_fakesrc_start):
26336 * gst/elements/gstfakesrc.h:
26337 adding a first element test
26339 2005-07-07 Andy Wingo <wingo@pobox.com>
26341 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26344 2005-07-07 Wim Taymans <wim@fluendo.com>
26350 2005-07-07 Wim Taymans <wim@fluendo.com>
26352 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26353 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26354 Allow subclasses to implement their own negotiation.
26356 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26358 * docs/design/part-gstbin.txt:
26359 * docs/design/part-gstpipeline.txt:
26360 Update design notes to reflect the movement of
26361 responsibility for bus handling from GstPipeline to
26364 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26367 Remove unnecessary queue2/3/4 examples.
26369 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26371 * examples/Makefile.am:
26372 * examples/helloworld/helloworld.c: (event_loop), (main):
26373 * examples/queue/queue.c: (event_loop), (main):
26374 * examples/queue2/queue2.c: (main):
26375 Update a couple of the examples to work again.
26377 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26378 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26379 Spelling corrections and extra debug.
26381 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26382 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26383 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26385 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26386 (gst_pipeline_change_state):
26387 * gst/gstpipeline.h:
26388 Move the bus handler for children to the GstBin, and create a
26389 separate bus for receiving messages from children to the one the
26390 bus sends 'upwards' on.
26392 2005-07-06 Wim Taymans <wim@fluendo.com>
26395 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26396 (gst_base_sink_handle_object), (gst_base_sink_loop),
26397 (gst_base_sink_change_state):
26398 * gst/base/gstbasesink.h:
26399 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26400 (gst_base_src_init), (gst_base_src_setcaps),
26401 (gst_base_src_getcaps), (gst_base_src_loop),
26402 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26403 (gst_base_src_start), (gst_base_src_change_state):
26404 * gst/base/gstbasesrc.h:
26405 Make basesrc negotiate.
26406 Handle the case where preroll fails in basesink.
26409 2005-07-06 Wim Taymans <wim@fluendo.com>
26411 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26412 Implement the fixate function.
26413 Clean up acceptcaps.
26415 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26417 * docs/pwg/building-filterfactory.xml:
26418 * docs/pwg/pwg.xml:
26419 Remove never-written filter-factory chapter; I'll add the various
26420 base classes to part 4 ("other element types") later on.
26422 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26424 * docs/pwg/advanced-negotiation.xml:
26425 * docs/pwg/building-boiler.xml:
26426 * docs/pwg/building-pads.xml:
26427 * docs/pwg/pwg.xml:
26428 * examples/pwg/Makefile.am:
26429 Add a chapter on caps negotiation, simplify the original code
26430 samples a bit w.r.t. caps negotiation, add link to the advanced
26431 section. Add a bunch of examples showing different use cases of
26432 different types of caps negotiation. Upstream renegotiation isn't
26433 fully documented yet since nobody knows how that works.
26435 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26437 * check/gst/gstpad.c:
26438 * check/gstcheck.c:
26439 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26440 if pad has no parent, return NULL as list of internal links
26442 2005-07-05 Andy Wingo <wingo@pobox.com>
26444 * gst/elements/gstfilesrc.c:
26445 * gst/elements/gstfakesrc.c:
26446 * gst/base/gstpushsrc.c:
26447 * gst/base/gstbasesrc.h:
26448 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26450 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26453 better report generation target (lcov needs a patch)
26455 2005-07-05 Andy Wingo <wingo@pobox.com>
26457 * gst/elements, testsuite: Null if we got it...
26459 2005-07-05 Wim Taymans <wim@fluendo.com>
26462 * libs/gst/dataprotocol/Makefile.am:
26463 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26464 * libs/gst/dataprotocol/dataprotocol.h:
26465 * pkgconfig/Makefile.am:
26466 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26467 * pkgconfig/gstreamer-dataprotocol.pc.in:
26468 Ported dataprotol to 0.9.
26469 Added pkgconfig files.
26471 2005-07-05 Andy Wingo <wingo@pobox.com>
26473 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26474 Default to returning TRUE for the case when tranform_caps returns
26475 a fixed caps, like for identity or volume.
26477 * check/gst/gstbus.c (pound_bus_with_messages):
26478 * check/gst/gstmessage.c (START_TEST):
26479 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26480 message API change.
26482 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26483 logic weaks here: always run transform_caps, trying passthrough
26484 operation only if the original caps intersects with the transform.
26486 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26487 source and sink caps.
26489 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26490 Intersect the peer caps with the pad template before going into
26492 (gst_base_transform_transform_caps): More debugging.
26494 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26497 2005-07-04 Edward Hervey <edward@fluendo.com>
26501 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26504 2005-07-04 Andy Wingo <wingo@pobox.com>
26506 * check/gst/gstpad.c: Only set explicit caps on pads.
26508 2005-07-01 Andy Wingo <wingo@pobox.com>
26510 * tests/network-clock.scm: Commentary update.
26512 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26513 Didn't really make sense, not implementable with basetransform,
26515 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26516 attempt at implementing the sync property, needs an unlock method.
26518 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26519 New func, by default returns the same caps (the identity
26521 (gst_base_transform_getcaps): Uses transform_caps to return
26522 something sensible.
26523 (gst_base_transform_setcaps): Complicated logic to get caps on
26524 both pads, even if they are different, and to call set_caps once
26525 for every time both pads get their caps set.
26526 (gst_base_transform_handle_buffer): Give the ref to the transform
26527 function. Allows in-place modification of the buffer.
26529 * gst/base/gstbasetransform.h (transform_caps): New class method.
26530 Given caps on one side, what can I do on the other.
26531 (set_caps): Take two caps, one for each side of the element.
26534 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26535 caps in place. This is safe because we can check the mutability of
26536 the caps, and a good idea because fixate functions are just called
26537 as a matter of last resort. (Not actually implemented.)
26538 (gst_pad_set_caps): If the caps we're setting is actually the same
26539 as the existing pad caps, just update the pointer without calling
26540 setcaps. Assert that caps is either NULL or fixed, as per the
26543 * gst/gstghostpad.c: Update for fixate changes.
26545 2005-07-02 Andy Wingo <wingo@pobox.com>
26548 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26549 two refcounts makes it immutable, which is enough. Doc more.
26551 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26553 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26554 Put the mini_object into GValue as a mini_object,
26555 not a gpointer, since that's how we declared
26558 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26560 * examples/pwg/Makefile.am:
26561 Fix buildbot again.
26563 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26565 * docs/pwg/building-testapp.xml:
26567 * examples/pwg/Makefile.am:
26570 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26573 * examples/Makefile.am:
26574 * examples/pwg/Makefile.am:
26575 * examples/pwg/extract.pl:
26576 Enable building the PWG examples.
26577 * docs/pwg/advanced-interfaces.xml:
26578 Add URI interface stub.
26579 * docs/pwg/advanced-types.xml:
26580 * docs/pwg/other-autoplugger.xml:
26581 * docs/pwg/appendix-porting.xml:
26582 * docs/pwg/pwg.xml:
26583 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26584 * docs/pwg/building-boiler.xml:
26585 * docs/pwg/building-chainfn.xml:
26586 * docs/pwg/building-pads.xml:
26587 * docs/pwg/building-props.xml:
26588 * docs/pwg/building-state.xml:
26589 * docs/pwg/building-testapp.xml:
26590 Update the building-*.xml parts for 0.9 changes. All examples
26591 code blocks compile in examples/pwg/*.
26593 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26595 * docs/manual/advanced-autoplugging.xml:
26596 * docs/manual/appendix-checklist.xml:
26597 * docs/manual/appendix-integration.xml:
26598 * docs/manual/highlevel-components.xml:
26599 Fix playbin/decodebin examples, update docs a bit, mention bus
26600 instead of signals in various places, mention kmplayer and
26601 kaffeine since they have a working GStreamer backend in the KDE
26604 2005-06-30 Wim Taymans <wim@fluendo.com>
26607 * docs/design/draft-ghostpads.txt:
26608 * docs/design/draft-push-pull.txt:
26609 * docs/design/draft-query.txt:
26610 * docs/design/part-TODO.txt:
26611 * docs/design/part-query.txt:
26612 Added CHANGES-0.9 doc, updated status of other docs.
26617 2005-06-30 Wim Taymans <wim@fluendo.com>
26619 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26620 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26621 (gst_base_sink_change_state):
26622 * gst/base/gstbasesink.h:
26623 Some tweaks, only EOS and a buffer complete a preroll.
26625 2005-06-30 Andy Wingo <wingo@pobox.com>
26627 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26628 activate_push down to the internal pad as well.
26630 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26632 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26634 * gst/gsttaginterface.c:
26635 Some documentation fixes (#307394 and #307397).
26637 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26639 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26641 * gst/gstvalue.c: (gst_value_intersect_list):
26642 Fix memleak (#309125).
26644 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26646 * docs/manual/advanced-dataaccess.xml:
26647 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26648 * docs/manual/basics-pads.xml:
26649 Add reference for filtered caps to above chapter.
26651 2005-06-30 Wim Taymans <wim@fluendo.com>
26653 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26654 (gst_bin_change_state):
26656 Lame attempt at making the state change function a bit
26659 2005-06-30 Wim Taymans <wim@fluendo.com>
26661 * docs/design/part-clocks.txt:
26662 * docs/design/part-element-sink.txt:
26663 * docs/design/part-events.txt:
26664 * docs/design/part-preroll.txt:
26665 * docs/design/part-states.txt:
26666 Some more tweeks and additions to the docs.
26668 2005-06-30 Wim Taymans <wim@fluendo.com>
26670 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26671 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26672 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26673 (gst_pad_check_pull_range), (gst_pad_get_range),
26674 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26676 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26677 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26678 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26679 (gst_pad_remove_buffer_probe):
26680 Removed atomic operations, use existing LOCK.
26681 Move exception handling out of main code path.
26683 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26685 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26686 (silly_return_true_function), (gst_pad_class_init),
26687 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26688 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26689 (gst_pad_send_event):
26690 Fix accumulator, add default value by using _emitv() instead
26691 of _emit() for signal emission.
26693 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26695 * docs/manual/advanced-dataaccess.xml:
26696 * examples/manual/Makefile.am:
26698 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26701 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26703 * gst/elements/gstfilesink.c: (gst_filesink_render):
26704 Simplify code so that we don't have to handle short
26705 writes and return GST_FLOW_ERROR if an error occured.
26707 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26709 * docs/gst/gstreamer-docs.sgml:
26710 Remove probes more.
26712 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26714 * docs/gst/gstreamer-sections.txt:
26715 * docs/gst/tmpl/gstpad.sgml:
26716 * docs/gst/tmpl/gstprobe.sgml:
26718 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26719 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26720 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26721 (gst_pad_push_event), (gst_pad_send_event):
26723 * gst/gstutils.c: (gst_pad_add_data_probe),
26724 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26725 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26726 (gst_pad_remove_buffer_probe):
26728 Remove old probes, add new g-signal-based probes and some utility
26731 2005-06-29 Edward Hervey <edward@fluendo.com>
26733 * gst/gstelementfactory.c:
26736 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26737 the definition to the header file.
26739 2005-06-29 Andy Wingo <wingo@pobox.com>
26741 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26742 plugins from the source directory.
26744 2005-06-29 Wim Taymans <wim@fluendo.com>
26746 * docs/gst/tmpl/gstbuffer.sgml:
26747 * docs/gst/tmpl/gstclock.sgml:
26748 Some fixings for blantently wrong text.
26750 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26752 * check/Makefile.am:
26753 * gst/gst.c: (add_path_func), (init_pre):
26754 * gst/gstregistry.c: (gst_registry_add_path):
26755 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26756 only scan the GST_PLUGIN_PATH locations, and not add
26759 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26761 * docs/gst/gstreamer-sections.txt:
26762 * docs/gst/tmpl/gstbasesrc.sgml:
26763 * gst/gstelement.c:
26764 * gst/gstelement.h:
26769 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26771 * docs/manual/advanced-autoplugging.xml:
26772 Fix autoplugging example.
26774 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26776 * docs/manual/advanced-autoplugging.xml:
26777 * docs/manual/mime-world.fig:
26778 Try to get autoplugging working, fix type detection. Fix text
26779 in hello-world image.
26781 2005-06-29 Wim Taymans <wim@fluendo.com>
26783 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26784 (gst_base_sink_change_state):
26788 map SIGNAL and BROADCAST to the right function.
26791 Remove redundant braces.
26793 * gst/gstpad.c: (gst_pad_set_caps):
26794 Don't call setcaps function when reseting caps to NULL.
26796 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26797 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26798 (gst_system_clock_id_unschedule):
26799 Use BROADCAST as this is what we do.
26801 2005-06-29 Wim Taymans <wim@fluendo.com>
26803 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26804 We are actually prerolling before commiting the state
26807 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26809 * docs/manual/advanced-clocks.xml:
26810 * docs/manual/advanced-interfaces.xml:
26811 * docs/manual/advanced-metadata.xml:
26812 * docs/manual/advanced-position.xml:
26813 * docs/manual/advanced-schedulers.xml:
26814 * docs/manual/advanced-threads.xml:
26815 * docs/manual/appendix-porting.xml:
26816 * docs/manual/basics-bins.xml:
26817 * docs/manual/basics-bus.xml:
26818 * docs/manual/basics-elements.xml:
26819 * docs/manual/basics-helloworld.xml:
26820 * docs/manual/basics-pads.xml:
26821 * docs/manual/highlevel-components.xml:
26822 * docs/manual/manual.xml:
26823 * docs/manual/thread.fig:
26824 Update (until threads/scheduling) Application Development Manual;
26825 remove GstThread, add GstBus, add simple porting checklist, add
26826 documentation for tag writing, clocks, make all examples until this
26827 part compile and run.
26828 * examples/manual/Makefile.am:
26829 Update from changes to Application Development Manual; add bus
26830 example, remove thread example.
26832 2005-06-28 Wim Taymans <wim@fluendo.com>
26834 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26835 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26836 (gst_bus_source_dispatch):
26837 Add debugging messages.
26838 Make internal methods static.
26839 Handle the case where the bus is flushed in the handler.
26841 * gst/gstelement.c: (gst_element_get_bus):
26842 Fix refcount in _get_bus();
26844 * gst/gstpipeline.c: (gst_pipeline_change_state),
26845 (gst_pipeline_get_clock_func):
26846 Clock refcounting fixes.
26847 Handle the case where preroll timed out more gracefully.
26849 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26850 Clean up the internal thread in dispose. This is needed
26851 for subclasses that actually get disposed.
26853 * gst/schedulers/threadscheduler.c:
26854 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26855 (gst_thread_scheduler_dispose):
26856 Free thread pool in dispose.
26858 2005-06-28 Andy Wingo <wingo@pobox.com>
26860 * tests/network-clock-utils.scm (debug, print-event): New utils.
26862 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26863 (*packet-loss*): Unified loss probability.
26864 (network-time): Report out-of-band events.
26866 * tests/plot-data: Add support for out-of-band events. Hack it
26867 into this script instead of passing it down the pipe; should fix
26870 2005-06-28 Wim Taymans <wim@fluendo.com>
26872 * docs/gst/gstreamer.types:
26873 * docs/gst/tmpl/gstbasesrc.sgml:
26874 * docs/gst/tmpl/gstpad.sgml:
26877 2005-06-28 Wim Taymans <wim@fluendo.com>
26879 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26880 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26881 (gst_proxy_pad_do_fixatecaps):
26882 Correctly proxy the check_pull_range function.
26884 2005-06-28 Andy Wingo <wingo@pobox.com>
26886 * tests/network-clock.scm: Removed need for slib.
26888 2005-06-28 Wim Taymans <wim@fluendo.com>
26890 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26891 (gst_basesink_preroll_queue_flush):
26892 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26893 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26894 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26895 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26896 (gst_proxy_pad_set_property):
26899 * gst/gstqueue.c: (gst_queue_init):
26900 The deprecated pad loop function is removed now.
26902 2005-06-28 Andy Wingo <wingo@pobox.com>
26904 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26905 New parameters, simulate network packet loss.
26907 * tests/network-clock-utils.scm: Initialize the RNG.
26909 2005-06-28 Wim Taymans <wim@fluendo.com>
26911 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26912 (gst_basesink_event), (gst_basesink_deactivate):
26913 Flushing the preroll queue always needs to unlock the waiters.
26915 2005-06-28 Edward Hervey <edward@fluendo.com>
26917 * gst/gstpipeline.c: (gst_pipeline_send_event):
26918 Wheen a seek was successful on a pipeline, set the stream_time to the
26919 seek offset in order to have a synchronized stream_time.
26921 2005-06-28 Wim Taymans <wim@fluendo.com>
26923 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26924 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26925 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26926 (gst_proxy_pad_do_fixatecaps):
26927 Call wrapper function instead of just calling the function
26928 pointers. This takes care of any locking and whatmore.
26930 2005-06-28 Wim Taymans <wim@fluendo.com>
26932 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26933 (gst_pad_pull_range):
26935 CONNECTED -> LINKED.
26937 2005-06-28 Andy Wingo <wingo@pobox.com>
26939 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26940 source-munging commit!!!
26942 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26943 (gst_object_sink): Take gpointer arguments, not GstObject --
26944 avoids casts. Like GLib.
26946 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26949 2005-06-27 Andy Wingo <wingo@pobox.com>
26951 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26954 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26955 returns a sorted copy of the trace list.
26956 (gst_alloc_trace_print_live): New API, only prints traces with
26957 live objects. Sort the list.
26958 (gst_alloc_trace_print_all): Sort the list.
26959 (gst_alloc_trace_print): Align columns.
26961 * gst/elements/gstttypefindelement.c:
26962 * gst/elements/gsttee.c:
26963 * gst/base/gstbasesrc.c:
26964 * gst/base/gstbasesink.c:
26965 * gst/base/gstbasetransform.c:
26966 * gst/gstqueue.c: Adapt for pad activation changes.
26968 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26970 (gst_pipeline_dispose): Drop ref on sched.
26972 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26973 (gst_pad_activate_default): Push mode by default.
26974 (pre_activate_switch, post_activate_switch): New stubs, things to
26975 do before and after switching activation modes on pads.
26976 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26977 the pad's activate function to choose which mode to activate.
26978 Shortcut on deactivation and call the right function directly.
26979 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26981 (gst_pad_activate_push): New API, same for push mode.
26982 (gst_pad_set_activate_function)
26983 (gst_pad_set_activatepull_function)
26984 (gst_pad_set_activatepush_function): Setters for new API.
26986 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26987 Trace all miniobjects.
26988 (gst_mini_object_make_writable): Unref the arg if we copy, like
26989 gst_caps_make_writable.
26991 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26993 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26994 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26995 Adapt for new pad API.
26997 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26999 * gst/gstelement.h:
27000 * gst/gstelement.c (gst_element_iterate_src_pads)
27001 (gst_element_iterate_sink_pads): New API functions.
27003 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27004 should fold into gstiterator.c in some form.
27005 (gst_element_pads_activate): Simplified via use of fold and
27006 delegation of decisions to gstpad->activate.
27008 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27011 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27012 class once in init, like gstmessage. Didn't run into this issue
27013 but it seems correct. Don't initialize a trace, gstminiobject does
27016 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27017 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27019 (assert_live_count): New util function, uses alloc traces to check
27022 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27023 To be modified when unlink drops the internal pad.
27025 2005-06-27 Wim Taymans <wim@fluendo.com>
27027 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27028 (gst_bin_change_state):
27029 Cleanup the get_state() function a little, make sure it
27030 iterates the same set of elements.
27031 Added stub iterate_state_order().
27033 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27035 * docs/gst/gstreamer-docs.sgml:
27036 * docs/gst/gstreamer-sections.txt:
27037 * docs/gst/gstreamer.types:
27038 * docs/gst/tmpl/gstbasesink.sgml:
27039 * docs/gst/tmpl/gstbasesrc.sgml:
27040 * docs/gst/tmpl/gstbasetransform.sgml:
27041 * docs/gst/tmpl/gstelement.sgml:
27042 * docs/gst/tmpl/gstiterator.sgml:
27043 * gst/base/gstbasesrc.c:
27044 * gst/base/gstbasesrc.h:
27045 * gst/base/gstbasetransform.h:
27046 * gst/gstelement.c:
27047 * gst/gstiterator.h:
27048 adding basetransform and iterator docs
27050 2005-06-27 Andy Wingo <wingo@pobox.com>
27052 * docs/design/part-activation.txt: Notes on how activation should
27053 work -- not quite implemented yet.
27055 2005-06-25 Wim Taymans <wim@fluendo.com>
27057 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27058 At least get the chain function correct, needs more
27061 2005-06-25 Wim Taymans <wim@fluendo.com>
27063 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27064 (gst_basesink_handle_object), (gst_basesink_event),
27065 (gst_basesink_do_sync), (gst_basesink_handle_event),
27066 (gst_basesink_change_state):
27068 Right, two problems here: ghostpads don't take locks and
27069 glib _rec_mutex_lock_full() with depth==0 still locks.
27070 Catch illegal locking and g_warn them.
27072 2005-06-25 Wim Taymans <wim@fluendo.com>
27074 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27075 Have to check for completion now...
27077 2005-06-25 Wim Taymans <wim@fluendo.com>
27079 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27080 (gst_basesink_handle_object), (gst_basesink_event),
27081 (gst_basesink_do_sync), (gst_basesink_handle_event),
27082 (gst_basesink_change_state):
27084 Unlock STREAM_LOCK whatever the recursion was.
27086 2005-06-25 Wim Taymans <wim@fluendo.com>
27088 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27089 (gst_basesink_preroll_queue_empty),
27090 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27091 (gst_basesink_event), (gst_basesink_do_sync),
27092 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27093 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27094 (gst_basesink_change_state):
27095 Reworked the base sink, handle event and buffer serialisation
27096 correctly and removed possible deadlock.
27097 Handle EOS correctly.
27099 2005-06-25 Wim Taymans <wim@fluendo.com>
27101 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27102 (gst_pipeline_change_state):
27103 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27104 Allow elements to post EOS in the state change function.
27105 Fix up -launch, make it exit the poll loop when the
27106 pipeline actually changed state.
27107 Fix up warning parsing in -launch.
27109 2005-06-25 Wim Taymans <wim@fluendo.com>
27111 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27112 (gst_tee_sink_activate):
27113 Core takes STREAM_LOCK for us now.
27115 2005-06-25 Wim Taymans <wim@fluendo.com>
27117 * gst/gstelement.c: (gst_element_get_state_func),
27118 (gst_element_set_state):
27119 * gst/gstelement.h:
27120 * gst/gstmessage.c: (gst_message_parse_error),
27121 (gst_message_parse_warning):
27122 Keep track of current target state while performing a state
27123 change so that subclasses can do something interesting.
27124 Fix parsing of warning/error messages when GError is NULL.
27126 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27128 * docs/gst/Makefile.am:
27129 * docs/gst/gstreamer-docs.sgml:
27130 * docs/gst/gstreamer-sections.txt:
27131 * docs/gst/gstreamer.types:
27132 * docs/gst/tmpl/gstbasesink.sgml:
27133 * docs/gst/tmpl/gstbasesrc.sgml:
27134 * docs/gst/tmpl/gstbin.sgml:
27135 * docs/gst/tmpl/gstcompat.sgml:
27136 * docs/gst/tmpl/gstfakesink.sgml:
27137 * docs/gst/tmpl/gstfakesrc.sgml:
27138 * docs/gst/tmpl/gstfilesink.sgml:
27139 * docs/gst/tmpl/gstfilesrc.sgml:
27140 * docs/gst/tmpl/gstindex.sgml:
27141 * docs/manual/appendix-quotes.xml:
27142 * gst/base/gstbasesrc.h:
27143 * gst/elements/gstfakesrc.h:
27144 * gst/gstmessage.h:
27145 start pulling in base classes and elements in our docs
27147 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27149 * docs/gst/Makefile.am:
27150 * docs/libs/Makefile.am:
27151 fixed make distcheck with gtk-doc 1.3
27153 2005-06-23 Wim Taymans <wim@fluendo.com>
27155 * gst/gstelement.c: (gst_element_get_state_func),
27156 (gst_element_set_state), (gst_element_change_state):
27157 When the state did not change, also report NO_PREROLL
27160 2005-06-23 Wim Taymans <wim@fluendo.com>
27162 * gst/gstpad.c: (gst_pad_event_default):
27163 * gst/gstqueue.c: (gst_queue_loop):
27164 No unsafe task pausing please.
27166 2005-06-23 Wim Taymans <wim@fluendo.com>
27168 * gst/schedulers/threadscheduler.c:
27169 (gst_thread_scheduler_task_start),
27170 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27171 Ref the task before pushing it on the threadpool. This
27172 makes sure that we have a ref when the threadfunction is
27175 2005-06-23 Andy Wingo <wingo@pobox.com>
27177 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27178 offset is greater than the file's size.
27180 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27181 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27182 * gst/gstobject.c (gst_object_class_init): Make the class lock
27183 recursive. Wim won't let me drop deep_notify. Decodebin works
27184 again, whoopdy doo.
27186 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27187 internal pad, and hacks accordingly. Doesn't do it on the target
27188 pad because we change its caps. Probably catches all cases of
27190 (gst_ghost_pad_set_property): Connect to notify::caps as
27193 * tests/network-clock.scm (plot-simulation): Pipe data to the
27194 elite python skript.
27196 * tests/network-clock-utils.scm (define-parameter): New macro,
27197 defines a parameter that can be set via the command line.
27198 (set-parameter!, parse-parameter-arguments): Command line args
27201 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27204 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27206 * gst/elements/gsttypefindelement.c:
27207 (gst_type_find_element_handle_event):
27208 Don't restart typefinding on a discont.
27209 * gst/gstelement.c: (gst_element_set_state):
27210 Debug spelling fix.
27211 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27212 Allow changing mode of an active pad.
27213 Debug output fixes.
27214 * gst/registries/gstlibxmlregistry.c: (load_feature):
27215 Don't cast a static pad template to a normal pad template.
27217 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27219 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27220 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27221 remove gst_strtoll completely, since it didn't actually do
27222 anything more than what g_ascii_strtoull already does.
27223 check for range errors when deserializing
27224 do a cast for the unsigned cases; but further fixing needs
27225 a decision on what the interpretation of "(int)" and
27226 deserialization should be for values that fall outside the
27227 type's boundaries (ie, refuse, or interpret as casting)
27229 2005-06-23 Wim Taymans <wim@fluendo.com>
27231 * check/Makefile.am:
27232 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27233 * docs/design/part-live-source.txt:
27234 * docs/design/part-states.txt:
27235 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27236 (gst_basesrc_set_live), (gst_basesrc_is_live),
27237 (gst_basesrc_get_range), (gst_basesrc_activate),
27238 (gst_basesrc_change_state):
27239 * gst/base/gstbasesrc.h:
27240 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27241 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27242 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27243 * gst/gstelement.c: (gst_element_get_state_func),
27244 (gst_element_set_state):
27245 * gst/gstelement.h:
27247 * tools/gst-launch.c: (event_loop), (main):
27248 Added support for live sources and other elements that
27250 Updated design docs, added live-source design doc.
27251 Implemented live source functionality in basesrc
27252 Fix error condition in _bin_get_state()
27253 Implement live source handling in -launch.
27254 Added check for live sources.
27255 Fixed case in GstBin where elements were changed state
27259 2005-06-23 Andy Wingo <wingo@pobox.com>
27261 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27262 borken refcounting.
27264 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27265 gst_caps_replace takes care of this for us.
27267 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27268 gst_pad_set_caps on the target, not just its setcaps() function.
27270 * tests/network-clock.scm:
27271 * tests/network-clock-utils.scm: A network clock simulator.
27272 Something of an algorithmic testbed before doing something in C.
27274 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27276 * check/Makefile.am:
27277 * check/gst/capslist.h:
27278 copy over from 0.8, and add two with bitmasks specified with
27280 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27281 add test to parse everything from capslist.h
27282 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27284 add test for structure deserialization
27285 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27286 add tests for deserialization of strings to int types
27287 * gst/gststructure.c: (gst_structure_nth_field_name):
27288 * gst/gststructure.h:
27289 add a way to get the name of a field referenced by index
27290 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27291 instead of checking if the resulting long long lies between
27292 min and max, we check if the long long would fit into
27293 a number of bytes for the final type.
27294 This fixes cases where a string represents 2^32 - 1, which
27295 when cast to int would be the (valid) -1, but is bigger than
27298 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27300 * gst/parse/grammar.y:
27301 add a log line for type deserialization
27303 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27305 * check/gst/gstvalue.c: (START_TEST):
27306 * gst/gstvalue.c: (gst_value_deserialize):
27307 return long long, not int, so gint64 deserialization actually
27308 works. Is there any flag that makes the compiler check this ?
27311 2005-06-22 Wim Taymans <wim@fluendo.com>
27314 Added convenience macros for setting buffers in GValue.
27316 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27318 * check/gst/.cvsignore:
27319 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27320 add a test deserializing int64, and comment part out because
27323 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27325 * check/Makefile.am:
27326 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27327 * testsuite/Makefile.am:
27328 * testsuite/caps/Makefile.am:
27329 * testsuite/caps/value_serialize.c:
27330 * testsuite/test_gst_init.c:
27331 move a value_serialize test over
27333 2005-06-20 Wim Taymans <wim@fluendo.com>
27338 * gst/gstvalue.c: (gst_value_compare_buffer),
27339 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27340 (gst_value_compare_flags), (gst_value_serialize_flags),
27341 (gst_value_deserialize_flags), (_gst_value_initialize):
27342 Fix serialisation of buffers, they are not boxed types anymore
27344 2005-06-20 Wim Taymans <wim@fluendo.com>
27346 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27347 Testcase to show error in buffer-on-caps serialisation.
27349 2005-06-20 Andy Wingo <wingo@pobox.com>
27351 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27352 will be adding to later.
27354 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27355 if its socks fill with rocks.
27356 (gst_system_clock_obtain): Set the name on object construction.
27357 Avoid double-checked locking.
27359 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27361 * gst/gsturi.c: (gst_element_make_from_uri):
27362 Fix potential endless loop.
27364 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27366 * check/Makefile.am:
27368 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27370 move over from testsuite dir and clean up
27373 * testsuite/Makefile.am:
27374 * testsuite/tags/.cvsignore:
27375 * testsuite/tags/Makefile.am:
27376 * testsuite/tags/merge.c:
27377 remove testsuite/tags
27379 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27381 * docs/gst/gstreamer-sections.txt:
27382 * docs/gst/tmpl/gstenumtypes.sgml:
27383 * win32/gstenumtypes.c:
27384 clean up documentation build a little
27386 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27388 * check/gstcheck.h:
27389 add macros for checking refcounts on objects and caps
27390 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27391 add some more unit tests
27392 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27393 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27394 fix leaked refcounts (I hope :)) so unittest works
27398 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27400 * configure.ac: back to HEAD
27402 === release 0.9.1 ===
27404 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27410 2005-06-17 Andy Wingo <wingo@pobox.com>
27412 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27413 assert; it's always possible that the pad gets deactivated in
27414 between the checks in gstpad.c and the implementation. Rely on
27415 finish_preroll() to return a FLUSHING or similar instead of on the
27418 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27419 clock and post an EOS message if we come out of finish_preroll in
27422 2005-06-16 David Schleef <ds@schleef.org>
27424 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27425 (gst_capsfilter_set_property): Allow NULL as possible value
27426 for filter_caps property, indicating GST_CAPS_ANY.
27428 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27430 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27432 * gst/schedulers/Makefile.am:
27434 * gstreamer.spec.in:
27437 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27439 * gstreamer.spec.in:
27442 2005-06-08 Andy Wingo <wingo@pobox.com>
27444 * gst/gstutils.c: RPAD fixes all around.
27445 (gst_element_link_pads): Refcounting fixes.
27447 * tools/gst-inspect.c:
27448 * tools/gst-xmlinspect.c:
27450 * gst/base/gsttypefindhelper.c:
27451 * gst/base/gstbasesink.c:
27452 * gst/gstqueue.c: RPAD fixes.
27454 * gst/gstghostpad.h:
27455 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27456 pads. The tricky thing is they provide both source and sink
27457 interfaces, since they proxy the internal pad for the external
27458 pad, and vice versa. Implement with lower-level ProxyPad objects,
27459 with the interior proxy pad as a child of the exterior ghost pad.
27460 Should write a doc on this.
27462 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27463 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27466 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27467 pads are real pads. No ghost pads in this file. Not documenting
27468 the myriad s/RPAD/PAD/ and REALIZE fixes.
27469 (gst_pad_class_init): Add properties for "direction" and
27470 "template". Both are construct-only, so they can't change during
27471 the life of the pad. Fixes properly deriving from GstPad.
27472 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27473 derived objects, just set properties when creating the objects via
27475 (gst_pad_get_parent): Implement as a function, return NULL if the
27476 parent is not an element.
27477 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27478 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27480 * gst/gstobject.c (gst_object_class_init): Make name a construct
27481 property. Don't set it in the object init.
27483 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27484 with UNKNOWN direction.
27485 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27486 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27487 (gst_element_remove_pad): Remove ghost-pad special cases.
27488 (gst_element_pads_activate): Remove rpad cruft.
27490 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27491 catch the pad's-parent-not-an-element case.
27493 * gst/gst.h: Include gstghostpad.h.
27495 * gst/gst.c (init_post): No more real, ghost pads.
27497 * gst/Makefile.am: Add gstghostpad.[ch].
27499 * check/Makefile.am:
27500 * check/gst/gstbin.c:
27501 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27502 into a bin creates ghost pads, and that the refcounts are right.
27503 Partly moved from gstbin.c.
27505 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27507 * check/gst-libs/.cvsignore:
27508 * check/gst/.cvsignore:
27509 * check/pipelines/.cvsignore:
27511 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27512 (START_TEST), (cleanup_suite), (main):
27513 add some tests related to cleanup after running pipelines
27515 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27517 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27518 add a testsuite for GstBuffer
27520 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27522 * gst/gstminiobject.h:
27523 add defines for accessing the refcount
27525 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27527 * Makefile.am: added support for html unit test coverage reports
27529 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27531 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27532 Free existing caps if the capsfilter changes. Add a FIXME about
27533 setting those caps on the pads.
27535 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27536 Before adding a ghost pad to a parent bin, check that there isn't
27537 already one for the element on the bin. Prevents infinite recursion
27538 when using decodebin in parse pipelines. Andy says he'll rewrite the
27539 way this works anyway, so ignore the hack.
27541 2005-06-02 Andy Wingo <wingo@pobox.com>
27543 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27544 file size, pass it on to the type find helper.
27546 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27547 segment_start and segment_end properly according to the seek
27548 method. Segment_end is still a bit flaky because offset can be
27549 negative for CUR and END cases, but it takes -1 as an "unset"
27552 2005-06-02 Wim Taymans <wim@fluendo.com>
27554 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27555 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27556 (gst_basesink_activate):
27557 * gst/base/gstbasesink.h:
27558 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27559 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27560 (gst_pad_query), (gst_pad_start_task):
27562 * gst/gstqueue.c: (gst_queue_bufferalloc),
27563 (gst_queue_handle_sink_event), (gst_queue_chain):
27564 Bufferalloc: return GstFlowReturn to more accuratly report
27565 why allocation failed.
27567 2005-06-02 Wim Taymans <wim@fluendo.com>
27569 * gst/gstpipeline.c: (gst_pipeline_send_event):
27570 Take snapshot of state without blocking.
27572 2005-06-02 Wim Taymans <wim@fluendo.com>
27574 * docs/design/part-TODO.txt:
27575 * docs/design/part-caps.txt:
27576 * docs/design/part-clocks.txt:
27577 * docs/design/part-negotiation.txt:
27578 * docs/design/part-preroll.txt:
27581 2005-05-30 Wim Taymans <wim@fluendo.com>
27583 * gst/elements/gstidentity.c: (gst_identity_event),
27584 (gst_identity_transform), (gst_identity_get_property):
27585 Protect last_message property as it is accessed from
27588 2005-05-30 Wim Taymans <wim@fluendo.com>
27590 * gst/gstelement.c: (gst_element_init),
27591 (gst_element_pads_activate), (gst_element_change_state):
27592 Slicker pad activation code.
27594 2005-05-30 Wim Taymans <wim@fluendo.com>
27597 * gst/gstelement.h:
27598 * gst/gstelementfactory.h:
27600 Move elementfactory methods to separate .h file.
27602 2005-05-30 Wim Taymans <wim@fluendo.com>
27604 * docs/design/part-overview.txt:
27605 * gst/gstsystemclock.h:
27606 Small typo fixes, doc updates.
27608 2005-05-30 Wim Taymans <wim@fluendo.com>
27610 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27611 (init_popt_callback):
27612 Remove cpu-opt flag.
27614 2005-05-30 Wim Taymans <wim@fluendo.com>
27616 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27617 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27619 Avoid typechecking in places where not needed.
27620 Added accessor for malloc_data.
27622 2005-05-30 Wim Taymans <wim@fluendo.com>
27624 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27625 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27626 (gst_pad_configure_sink), (gst_pad_configure_src),
27627 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27628 (gst_pad_start_task):
27629 Propagate errors from _set_caps() in configure_src/sink
27630 functions instead of returning TRUE.
27631 FLUSH events can travel up and downstream
27634 2005-05-30 Wim Taymans <wim@fluendo.com>
27636 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27637 (gst_basesink_activate):
27638 Handle EOS in preroll.
27640 2005-05-30 Wim Taymans <wim@fluendo.com>
27642 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27643 (gst_queue_loop), (gst_queue_handle_src_event):
27644 Remove old pieces of code
27645 Flushing the queue in an upstream event is a very bad idea.
27647 2005-05-26 Andy Wingo <wingo@pobox.com>
27649 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27650 gst_value_set_mini_object so as to add a ref on the object (which
27651 will be removed when the value is unset).
27653 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27654 arg type in ::handoff.
27656 * gst/gstelement.c (gst_element_change_state): Also deactivate
27657 pads in READY->NULL, just in case the element didn't make it to
27658 PAUSED. Wingo tested, Wim approved.
27660 2005-05-26 Wim Taymans <wim@fluendo.com>
27662 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27663 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27664 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27665 A flushing pad cannot be used to alloc_buffer from.
27667 2005-05-26 Wim Taymans <wim@fluendo.com>
27669 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27670 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27671 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27672 (gst_bus_create_watch), (gst_bus_add_watch_full):
27674 Implement a real GSource and use g_main_context_wakeup() to
27675 signal new messages instead of the socketpair.
27677 2005-05-25 Wim Taymans <wim@fluendo.com>
27679 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27680 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27681 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27682 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27683 (gst_pad_send_event), (gst_pad_start_task):
27684 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27685 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27686 (gst_queue_sink_activate), (gst_queue_src_activate),
27687 (gst_queue_change_state):
27689 Fix state changes for non sinks. We now change sinks, then elements
27690 with unconnected srcpads, then the rest.
27691 More efficient queue unlocking in flush and state changes.
27692 Set the pad activate mode even if it does not have an activate
27695 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27697 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27698 Don't go in pull mode for non-seekable sources.
27699 * gst/elements/gsttypefindelement.h:
27700 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27701 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27702 (free_entry), (stop_typefinding),
27703 (gst_type_find_element_handle_event), (find_peek),
27704 (gst_type_find_element_chain), (do_pull_typefind),
27705 (gst_type_find_element_change_state):
27706 Allow typefinding (w/o seeking) in push-mode, simplified version
27707 of what was in 0.8.
27708 * gst/gstutils.c: (gst_buffer_join):
27710 gst_buffer_join() from 0.8.
27712 2005-05-25 Wim Taymans <wim@fluendo.com>
27714 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27715 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27716 (gst_pad_send_event), (gst_pad_start_task):
27717 Disable attempt at mode switching until it is figured out.
27719 2005-05-25 Wim Taymans <wim@fluendo.com>
27721 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27722 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27723 (gst_basesink_finish_preroll), (gst_basesink_chain),
27724 (gst_basesink_loop), (gst_basesink_activate),
27725 (gst_basesink_change_state):
27726 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27727 (gst_basesrc_get_range), (gst_basesrc_loop),
27728 (gst_basesrc_activate):
27729 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27730 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27731 (gst_real_pad_init), (gst_real_pad_set_property),
27732 (gst_real_pad_get_property), (gst_pad_set_active),
27733 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27734 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27735 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27736 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27737 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27738 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27739 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27740 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27741 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27742 (gst_pad_stop_task):
27744 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27745 (gst_queue_loop), (gst_queue_src_activate):
27746 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27747 (gst_task_get_state):
27749 * gst/schedulers/threadscheduler.c:
27750 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27751 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27753 Remove ACTIVE pad flag, use FLUSHING everywhere
27754 Added _pad_chain(), _pad_get_range() to call chain/getrange
27756 Add locks around IS_FLUSHING when reading.
27757 Take STREAM lock in chain(), get_range() functions so plugins
27758 don't need to take it anymore.
27762 2005-05-25 Wim Taymans <wim@fluendo.com>
27764 * tools/gst-launch.c: (event_loop):
27765 Unref message after using its contents instead of
27768 2005-05-24 Wim Taymans <wim@fluendo.com>
27770 * docs/design/draft-ghostpads.txt:
27771 * docs/design/draft-push-pull.txt:
27772 * docs/design/draft-query.txt:
27773 * docs/design/part-overview.txt:
27774 Docs updates, added general overview doc.
27776 2005-05-21 David Schleef <ds@schleef.org>
27778 * docs/gst/tmpl/old/GstBin.sgml:
27779 * docs/gst/tmpl/old/GstBuffer.sgml:
27780 * docs/gst/tmpl/old/GstCaps.sgml:
27781 * docs/gst/tmpl/old/GstClock.sgml:
27782 * docs/gst/tmpl/old/GstCompat.sgml:
27783 * docs/gst/tmpl/old/GstData.sgml:
27784 * docs/gst/tmpl/old/GstElement.sgml:
27785 * docs/gst/tmpl/old/GstEvent.sgml:
27786 * docs/gst/tmpl/old/GstIndex.sgml:
27787 * docs/gst/tmpl/old/GstStructure.sgml:
27788 * docs/gst/tmpl/old/GstTag.sgml:
27789 * docs/gst/tmpl/old/cothreads.sgml:
27790 * docs/gst/tmpl/old/cothreads_compat.sgml:
27791 * docs/gst/tmpl/old/gettext.sgml:
27792 * docs/gst/tmpl/old/gobject2gtk.sgml:
27793 * docs/gst/tmpl/old/grammar.tab.sgml:
27794 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27795 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27796 * docs/gst/tmpl/old/gst_private.sgml:
27797 * docs/gst/tmpl/old/gstaggregator.sgml:
27798 * docs/gst/tmpl/old/gstarch.sgml:
27799 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27800 * docs/gst/tmpl/old/gstbufferstore.sgml:
27801 * docs/gst/tmpl/old/gstdata_private.sgml:
27802 * docs/gst/tmpl/old/gstdisksink.sgml:
27803 * docs/gst/tmpl/old/gstdisksrc.sgml:
27804 * docs/gst/tmpl/old/gstelementfactory.sgml:
27805 * docs/gst/tmpl/old/gstextratypes.sgml:
27806 * docs/gst/tmpl/old/gstfakesink.sgml:
27807 * docs/gst/tmpl/old/gstfakesrc.sgml:
27808 * docs/gst/tmpl/old/gstfdsink.sgml:
27809 * docs/gst/tmpl/old/gstfdsrc.sgml:
27810 * docs/gst/tmpl/old/gstfilesink.sgml:
27811 * docs/gst/tmpl/old/gstfilesrc.sgml:
27812 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27813 * docs/gst/tmpl/old/gstidentity.sgml:
27814 * docs/gst/tmpl/old/gstindexfactory.sgml:
27815 * docs/gst/tmpl/old/gstmarshal.sgml:
27816 * docs/gst/tmpl/old/gstmd5sink.sgml:
27817 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27818 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27819 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27820 * docs/gst/tmpl/old/gstpipefilter.sgml:
27821 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27822 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27823 * docs/gst/tmpl/old/gstshaper.sgml:
27824 * docs/gst/tmpl/old/gstspider.sgml:
27825 * docs/gst/tmpl/old/gstspideridentity.sgml:
27826 * docs/gst/tmpl/old/gststatistics.sgml:
27827 * docs/gst/tmpl/old/gsttee.sgml:
27828 * docs/gst/tmpl/old/gsttimecache.sgml:
27829 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27830 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27831 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27832 * docs/gst/tmpl/old/types.sgml:
27833 I didn't intend to add these or check them in.
27835 2005-05-19 David Schleef <ds@schleef.org>
27837 * configure.ac: Use -no-common everywhere. In a sane world, it
27838 would be the default in libtool, because without it, you can't
27839 build DLLs on Windows.
27840 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27841 * docs/gst/gstreamer-sections.txt:
27842 * docs/gst/tmpl/gstcpu.sgml:
27843 * docs/gst/tmpl/gstdata.sgml:
27844 * docs/gst/tmpl/gstthread.sgml:
27846 2005-05-19 David Schleef <ds@schleef.org>
27848 * gst/gstminiobject.c: (gst_value_set_mini_object),
27849 (gst_value_take_mini_object), (gst_value_get_mini_object):
27850 * gst/gstminiobject.h: Add GValue set/get functions.
27852 2005-05-19 Wim Taymans <wim@fluendo.com>
27854 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27855 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27856 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27858 * gst/gstbus.c: (gst_bus_post):
27859 * gst/gstelement.c: (gst_element_get_random_pad):
27860 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27861 Make subbufer unref the parent in finalize.
27862 some more debugging info.
27865 2005-05-19 Wim Taymans <wim@fluendo.com>
27867 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27868 (gst_basesink_init), (gst_basesink_finalize),
27869 (gst_basesink_activate), (gst_basesink_change_state):
27870 Don't free preroll queue too early.
27872 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27876 Hi, I'm outdated. Please shoot me.
27878 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27880 * gst/gstpipeline.c: (gst_pipeline_send_event):
27881 Do not access variables after they have been deleted.
27883 2005-05-19 Wim Taymans <wim@fluendo.com>
27885 * tools/gst-inspect.c: (print_plugin_features):
27886 A plugin feature does unfortunatly not use the
27889 2005-05-18 Wim Taymans <wim@fluendo.com>
27891 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27892 Port _span() functions to new subbuffers.
27894 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27896 * gst/gstbin.c: (gst_bin_add_func):
27897 Fix clock settery in bins when adding kids after the clock has
27900 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27902 * gst/elements/gstidentity.c: (gst_identity_class_init):
27903 Workaround until signals support GstMiniObject.
27905 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27908 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27910 2005-05-18 Wim Taymans <wim@fluendo.com>
27912 * gst/base/Makefile.am:
27913 * gst/base/gstadapter.c: (gst_adapter_base_init),
27914 (gst_adapter_class_init), (gst_adapter_init),
27915 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27916 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27917 (gst_adapter_flush), (gst_adapter_available),
27918 (gst_adapter_available_fast):
27919 * gst/base/gstadapter.h:
27920 Ported and added adapter to the base classes.
27922 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27925 * gst/gstmessage.c:
27926 Make sure the class is reffed/unreffed once before threads can be
27927 used. Fixes #304551.
27929 2005-05-17 Wim Taymans <wim@fluendo.com>
27931 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27932 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27933 * gst/gstminiobject.c: (gst_mini_object_get_type),
27934 (gst_mini_object_free):
27935 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27936 (gst_pad_push), (gst_pad_push_event):
27937 * gst/gstqueue.c: (gst_queue_change_state):
27938 Don't queue buffers in basesink when we are flushing.
27939 Unref buffer when flushing in basesink.
27940 Flush queue when going to READY
27941 Unref buffer when _push() returns an error.
27942 Don't free MiniObject instance when refcount is incremented
27943 in _finalize() so that we can recover objects.
27945 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27947 * docs/manual/advanced-schedulers.xml:
27948 * docs/manual/appendix-checklist.xml:
27949 * docs/pwg/advanced-clock.xml:
27950 * docs/pwg/advanced-interfaces.xml:
27951 * docs/pwg/advanced-request.xml:
27952 * docs/pwg/advanced-types.xml:
27953 * docs/pwg/intro-preface.xml:
27954 * examples/plugins/example.c: (gst_example_get_type),
27955 (gst_example_class_init), (gst_example_chain),
27956 (gst_example_set_property), (gst_example_get_property),
27957 (gst_example_change_state), (plugin_init):
27958 * examples/plugins/example.h:
27961 2005-05-17 Wim Taymans <wim@fluendo.com>
27963 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27964 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27965 * gst/gstqueue.c: (gst_queue_change_state):
27966 Clear queue when going to READY.
27967 Remove IN_SETCAPS flag too.
27969 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27971 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27972 Remove implicit cast from gboolean to GstElementStateReturn;
27973 make sure we still return failure in paused => ready case if
27974 the parent class fails to change state and our own stop
27977 2005-05-17 Wim Taymans <wim@fluendo.com>
27979 * tools/gst-launch.c: (event_loop):
27980 Message was unreffed too soon.
27982 2005-05-16 Andy Wingo <wingo@pobox.com>
27984 * gst/gstbin.c (sink_iterator_filter): Err... um...
27986 * check/gst/gstbin.c (test_ghost_pads): New test for the
27987 ghosting-if-elements-not-in-same-bin behavior.
27989 2005-05-16 David Schleef <ds@schleef.org>
27991 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27992 accessing refcount directly.
27994 2005-05-15 David Schleef <ds@schleef.org>
27996 * check/Makefile.am: remove GstData checks
27997 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27998 * gst/Makefile.am: add miniobject, remove data
27999 * gst/gst.h: add miniobject, remove data
28000 * gst/gstdata.c: remove
28001 * gst/gstdata.h: remove
28002 * gst/gstdata_private.h: remove
28003 * gst/gsttypes.h: remove GstEvent and GstMessage
28004 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28005 * gst/gstmarshal.list: change BOXED -> OBJECT
28007 Implement GstMiniObject.
28008 * gst/gstminiobject.c:
28009 * gst/gstminiobject.h:
28011 Modify to be subclasses of GstMiniObject.
28012 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28013 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28014 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28015 (gst_subbuffer_get_type), (gst_subbuffer_init),
28016 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28019 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28020 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28021 (_gst_event_copy), (gst_event_new):
28023 * gst/gstmessage.c: (_gst_message_initialize),
28024 (gst_message_get_type), (gst_message_class_init),
28025 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28026 (gst_message_new), (gst_message_new_error),
28027 (gst_message_new_warning), (gst_message_new_tag),
28028 (gst_message_new_state_changed), (gst_message_new_application):
28029 * gst/gstmessage.h:
28030 * gst/gstprobe.c: (gst_probe_perform),
28031 (gst_probe_dispatcher_dispatch):
28033 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28034 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28035 (_gst_query_copy), (gst_query_new):
28037 Update elements for GstData -> GstMiniObject changes
28039 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28040 (gst_queue_chain), (gst_queue_loop):
28041 * gst/elements/gstbufferstore.c:
28042 (gst_buffer_store_add_buffer_func),
28043 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28044 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28045 (gst_fakesink_render):
28046 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28047 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28048 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28049 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28050 (gst_filesrc_create_read):
28051 * gst/elements/gstidentity.c: (gst_identity_class_init):
28052 * gst/elements/gsttypefindelement.c:
28053 (gst_type_find_element_src_event), (free_entry_buffers),
28054 (gst_type_find_element_handle_event):
28055 * libs/gst/dataprotocol/dataprotocol.c:
28056 (gst_dp_header_from_buffer):
28057 * libs/gst/dataprotocol/dataprotocol.h:
28058 * libs/gst/dataprotocol/dp-private.h:
28060 2005-05-15 David Schleef <ds@schleef.org>
28062 * gst/elements/gstelements.c: Don't include headers that were
28065 2005-05-15 David Schleef <ds@schleef.org>
28067 * gst/elements/Makefile.am: Remove some elements that don't
28068 need to be in the core (or even exist at all).
28069 * gst/elements/gstaggregator.c:
28070 * gst/elements/gstaggregator.h:
28071 * gst/elements/gstmd5sink.c:
28072 * gst/elements/gstmd5sink.h:
28073 * gst/elements/gstmultifilesrc.c:
28074 * gst/elements/gstmultifilesrc.h:
28075 * gst/elements/gstpipefilter.c:
28076 * gst/elements/gstpipefilter.h:
28077 * gst/elements/gstshaper.c:
28078 * gst/elements/gstshaper.h:
28079 * gst/elements/gststatistics.c:
28080 * gst/elements/gststatistics.h:
28081 * po/POTFILES.in: Remove above files.
28083 2005-05-14 Andy Wingo <wingo@pobox.com>
28085 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28086 so as to get the refs right.
28087 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28088 unreffing objects that don't pass the filter.
28090 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28091 gst_element_set_bus.
28092 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28093 normal cases, this will destroy the bus.
28095 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28098 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28101 2005-05-13 Andy Wingo <wingo@pobox.com>
28103 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28104 gst_pad_link, call pad_link_maybe_ghosting,
28105 (pad_link_maybe_ghosting): Links pads, making sure that the
28106 elements being linked are in the same bin.
28107 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28108 Helpers for pad_link_maybe_ghosting.
28110 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28113 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28115 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28117 * docs/design/part-element-source.txt:
28120 2005-05-12 Wim Taymans <wim@fluendo.com>
28122 * gst/base/gstbasesink.c: (gst_basesink_init),
28123 (gst_basesink_activate):
28124 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28125 (gst_basesrc_is_seekable):
28126 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28127 (bin_element_is_sink), (gst_bin_change_state):
28128 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28129 * gst/gstelement.h:
28130 Identify sinks by their flag to avoid overly complicated
28132 Do state changes even for elements not reachable from the
28134 BaseSink is a sink now :)
28135 Some more debugging info in the basesrc.
28138 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28140 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28141 Implement _query on a bin, similar to _send_event.
28143 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28145 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28146 Discont event offset format should be GST_FORMAT_BYTES,
28147 not GST_FORMAT_TIME.
28149 2005-05-12 Wim Taymans <wim@fluendo.com>
28151 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28152 Same fix as Ronald's but without the signal.
28154 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28156 * gst/gstutils.c: (gst_element_query_position):
28157 No, an element is not a pad.
28159 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28161 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28162 (gst_bin_get_state):
28163 If a child is removed from a bin while we remove the child from
28164 the bin and while we're retrieving its state, signal this to the
28165 get_state function so we abort the wait (instead of waiting for
28166 a timeout) and can immediately re-iterate over all other elements.
28168 2005-05-12 Wim Taymans <wim@fluendo.com>
28170 * gst/base/Makefile.am:
28171 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28172 (gst_basesrc_start):
28173 * gst/base/gstbasesrc.h:
28174 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28175 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28176 (gst_pushsrc_init), (gst_pushsrc_create):
28177 * gst/base/gstpushsrc.h:
28178 Added is_seekable to BaseSrc
28179 Added simple PushSrc.
28181 2005-05-11 Wim Taymans <wim@fluendo.com>
28183 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28184 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28185 (gst_element_link_pads), (gst_element_query_position),
28186 (gst_element_query_convert), (intersect_caps_func),
28187 (gst_pad_query_position), (gst_pad_query_convert):
28188 Fix refcounting in utils function.
28189 No point in trying to activate a pad when it's added, it could
28190 be added from the state change function and then we deadlock, the
28191 element has to decide what to do.
28193 2005-05-10 Andy Wingo <wingo@pobox.com>
28195 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28196 *all* the arguments.
28198 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28199 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28200 lock (according to the docs -- if this is wrong change the docs).
28202 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28203 flush messages in the NULL state.
28205 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28206 message immediately and return.
28207 (gst_bus_set_flushing): New function. If a bus is flushing, it
28208 flushes out any queued messages and immediately unrefs new
28209 messages. This is so when an element goes to NULL, all of the
28210 unhandled messages coming from it can be freed, and their
28211 references to the element dropped. In other words: message source
28212 ref considered harmful :P
28214 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28215 we're finished with it.
28217 * gst/gstmessage.c (gst_message_new_state_changed):
28219 2005-05-10 Wim Taymans <wim@fluendo.com>
28221 * gst/gstvalue.c: (gst_value_compare_flags),
28222 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28223 (_gst_value_initialize):
28224 Added flags serialize/deserialize/compare code.
28226 2005-05-09 Andy Wingo <wingo@pobox.com>
28228 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28229 Intersect the peer's caps with our caps.
28231 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28233 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28234 * gst/elements/gsttypefindelement.c: (find_peek):
28235 Handle negative offsets better. Fixes decodebin.
28237 2005-05-09 Wim Taymans <wim@fluendo.com>
28239 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28240 (gst_base_transform_event):
28241 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28242 Implement accept_caps.
28243 Fix silly lock/unlock mismatch in base class.
28245 2005-05-09 Wim Taymans <wim@fluendo.com>
28247 * docs/design/draft-push-pull.txt:
28248 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28249 * gst/elements/gstfilesink.c: (gst_filesink_init),
28250 (gst_filesink_query):
28251 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28252 (gst_type_find_handle_src_query), (find_element_get_length):
28253 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28254 * gst/gstelement.h:
28255 * gst/gstmessage.c:
28256 * gst/gstmessage.h:
28257 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28258 (gst_real_pad_get_caps_unlocked),
28259 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28260 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28261 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28262 (gst_real_pad_dispose), (gst_real_pad_finalize),
28263 (gst_pad_load_and_link), (gst_pad_save_thyself),
28264 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28265 (gst_pad_check_pull_range), (gst_pad_pull_range),
28266 (gst_pad_template_get_type), (gst_pad_template_class_init),
28267 (gst_pad_template_init), (gst_pad_template_dispose),
28268 (name_is_valid), (gst_static_pad_template_get),
28269 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28270 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28271 (gst_pad_get_element_private), (gst_pad_start_task),
28272 (gst_pad_pause_task), (gst_pad_stop_task),
28273 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28274 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28275 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28276 (gst_ghost_pad_new):
28278 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28279 (gst_query_new_position), (gst_query_set_position),
28280 (gst_query_parse_position), (gst_query_new_convert),
28281 (gst_query_set_convert), (gst_query_parse_convert):
28283 * gst/gstqueryutils.c:
28284 * gst/gstqueryutils.h:
28285 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28286 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28287 (gst_queue_handle_src_query):
28288 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28289 (gst_element_query_position), (gst_element_query_convert),
28290 (intersect_caps_func), (gst_pad_query_position),
28291 (gst_pad_query_convert):
28293 * tools/gst-inspect.c: (print_pad_info):
28294 * tools/gst-xmlinspect.c: (print_element_info):
28295 Remove old query functions. Ported old code.
28296 Added position/convert helper functions to gstutils.
28297 Reordered gstpad.c code, grouping relevant things.
28298 Remove gst_message_new(), always need to speficy a specific
28302 2005-05-09 Andy Wingo <wingo@pobox.com>
28304 * gst/gstiterator.h: Add some includes.
28306 * gst/gstqueryutils.h: Include more headers.
28309 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28310 some uses of gst_pad_query.
28312 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28313 NULL out parameters.
28314 (gst_query_new_position): New proc, allocates a new position
28317 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28318 gstqueryutils.c to the build.
28320 * gst/gststructure.c (gst_structure_set_valist): Implement with
28321 the generic G_VALUE_COLLECT.
28323 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28325 * gst/Makefile.am: (gst_headers):
28326 Added gstqueryutils.h to the list of headers to install, that was
28327 a 'nachty' move wingo :)
28329 2005-05-06 Andy Wingo <wingo@pobox.com>
28332 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28333 GstData, init a memchunk.
28334 (standard_definitions): Add a few query types, deprecate a few.
28335 (gst_query_get_type): New proc.
28336 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28338 (gst_query_new_application, gst_query_get_structure): New public
28341 * docs/design/draft-query.txt: Removed LINKS from the query types,
28342 because all the rest can be dispatched to other pads -- seemed
28343 ugly to have a query that couldn't be dispatched. internal_links
28344 is fine as a pad method.
28346 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28347 in gstpad.c, but maintain binary compatibility for the moment.
28348 Will fix before 0.9 is out.
28350 * gst/gstqueryutils.c:
28351 * gst/gstqueryutils.h: New files, implement 3 methods for each
28352 query type: parse_query, parse_response, and set. Probably need an
28355 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28357 * gst/elements/gstfilesink.c (gst_filesink_query2):
28358 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28359 query_types, and formats methods.
28361 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28362 (gst_pad_set_query2_function): New functions.
28363 (gst_real_pad_init): Set query2_default as the default query2
28364 function. Basically just dispatches to internally linked pads.
28368 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28369 without using the atomic operations. Only one thread can possibly
28370 be accessing the data at this point. Changed so as to avoid
28371 gst_atomic operations.
28373 2005-05-06 Wim Taymans <wim@fluendo.com>
28375 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28376 Also set caps if we use the fallback buffer alloc.
28378 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28380 * docs/gst/Makefile.am:
28381 * docs/gst/gstreamer-docs.sgml:
28382 * docs/gst/gstreamer-sections.txt:
28383 * docs/gst/tmpl/gstatomic.sgml:
28384 * docs/gst/tmpl/gstmemchunk.sgml:
28385 * testsuite/elements/struct_i386.h:
28386 * win32/GStreamer.vcproj:
28388 Purge GstAtomic stuff from docs and win32 makefiles as well
28390 2005-05-06 Wim Taymans <wim@fluendo.com>
28392 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28393 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28394 * gst/gstpad.c: (gst_pad_peer_get_caps):
28395 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28396 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28397 (gst_queue_src_activate), (gst_queue_change_state):
28399 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28400 (intersect_caps_func):
28401 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28402 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28403 Some fixes for the peer_get_caps() change.
28405 2005-05-06 Wim Taymans <wim@fluendo.com>
28407 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28408 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28409 (gst_basesink_activate):
28410 Actually do something with error codes returned from the push
28413 2005-05-06 Wim Taymans <wim@fluendo.com>
28415 * docs/design/part-element-sink.txt:
28416 * docs/design/part-element-source.txt:
28417 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28418 (gst_basesink_event), (gst_basesink_activate):
28419 * gst/base/gstbasesink.h:
28420 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28421 (gst_basesrc_activate):
28422 * gst/base/gstbasesrc.h:
28423 * gst/gstelement.c: (gst_element_pads_activate):
28424 Some more documentation.
28425 Fixed scheduling decision in _pads_activate().
28427 2005-05-05 Andy Wingo <wingo@pobox.com>
28429 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28432 2005-05-05 Wim Taymans <wim@fluendo.com>
28434 * gst/base/Makefile.am:
28435 * gst/base/gstbasesink.h:
28436 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28437 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28438 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28439 (gst_collectpads_class_init), (gst_collectpads_init),
28440 (gst_collectpads_finalize), (gst_collectpads_new),
28441 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28442 (find_pad), (gst_collectpads_remove_pad),
28443 (gst_collectpads_is_active), (gst_collectpads_collect),
28444 (gst_collectpads_collect_range), (gst_collectpads_start),
28445 (gst_collectpads_stop), (gst_collectpads_peek),
28446 (gst_collectpads_pop), (gst_collectpads_available),
28447 (gst_collectpads_read), (gst_collectpads_flush),
28448 (gst_collectpads_chain):
28449 * gst/base/gstcollectpads.h:
28450 * gst/elements/Makefile.am:
28451 * gst/elements/gstelements.c:
28452 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28453 (gst_fakesink_get_times), (gst_fakesink_event),
28454 (gst_fakesink_preroll), (gst_fakesink_render):
28455 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28456 (gst_filesink_init), (gst_filesink_set_location),
28457 (gst_filesink_open_file), (gst_filesink_close_file),
28458 (gst_filesink_pad_query), (gst_filesink_event),
28459 (gst_filesink_render), (gst_filesink_change_state):
28460 * gst/elements/gstfilesink.h:
28461 Added object to help in making collect pad based elements.
28463 Make event function in sink baseclass return gboolean.
28465 2005-05-05 Wim Taymans <wim@fluendo.com>
28467 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28468 (gst_bin_get_by_name):
28470 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28471 (gst_clock_finalize):
28472 * gst/gstdata.c: (gst_data_replace):
28474 * gst/gstelement.c: (gst_element_request_pad),
28475 (gst_element_pads_activate):
28476 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28477 (gst_object_unref):
28478 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28479 (gst_pad_set_checkgetrange_function),
28480 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28481 (gst_pad_check_pull_range), (gst_pad_pull_range),
28482 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28483 (gst_pad_pause_task), (gst_pad_stop_task):
28484 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28485 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28486 Fix name lookup in GstBin.
28487 Added _data_replace() function and _buffer_replace()
28488 Use finalize method to clean up clock.
28489 Fix refcounting on request pads.
28490 Fix pad schedule mode error.
28491 Some more object refcounting debug info,
28494 2005-05-04 Andy Wingo <wingo@pobox.com>
28496 * check/Makefile.am:
28497 * docs/gst/tmpl/gstatomic.sgml:
28498 * docs/gst/tmpl/gstplugin.sgml:
28499 * gst/base/gstbasesink.c: (gst_basesink_activate):
28500 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28501 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28502 (gst_basesrc_query), (gst_basesrc_set_property),
28503 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28504 (gst_basesrc_activate):
28505 * gst/base/gstbasesrc.h:
28506 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28507 (gst_base_transform_src_activate):
28508 * gst/elements/gstelements.c:
28509 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28510 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28511 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28512 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28513 (gst_type_find_element_checkgetrange),
28514 (gst_type_find_element_activate):
28515 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28516 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28517 (gst_caps_load_thyself):
28518 * gst/gstelement.c: (gst_element_pads_activate),
28519 (gst_element_save_thyself), (gst_element_restore_thyself):
28520 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28521 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28523 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28524 (gst_xml_parse_file), (gst_xml_parse_memory),
28525 (gst_xml_get_element), (gst_xml_make_element):
28526 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28527 (_file_index_id_save_xml), (gst_file_index_commit):
28528 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28529 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28531 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28532 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28533 * tools/gst-complete.c: (main):
28534 * tools/gst-compprep.c: (main):
28535 * tools/gst-inspect.c: (print_element_properties_info):
28536 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28537 * tools/gst-xmlinspect.c: (print_element_properties):
28540 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28542 * gst/gstplugin.c: (gst_plugin_check_module),
28543 (gst_plugin_check_file), (gst_plugin_load_file):
28544 apply patch from #172526 to make register work on MacOSX
28546 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28548 * docs/gst/tmpl/gstconfig.sgml:
28549 * gst/gstconfig.h.in:
28550 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28551 * testsuite/debug/printf_extension.c: (main):
28552 Do not use GST_PTR_FORMAT on pointers to types with
28553 sizeof < sizeof(gpointer). Fixes test on 64-bit
28554 * testsuite/elements/property.h:
28555 use correct printf format
28557 2005-05-02 Wim Taymans <wim@fluendo.com>
28559 * docs/design/draft-push-pull.txt:
28560 * docs/design/draft-query.txt:
28561 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28562 (gst_basesrc_start):
28563 Added draft for new query API.
28564 Added draft for better selecting scheduling methods.
28565 Make basesrc ignore length if the subclass does not support
28568 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28571 possible fixes for automake-1.5 - _LIBADD is reserved
28573 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28575 * docs/faq/Makefile.am:
28576 * docs/manual/Makefile.am:
28577 * docs/manuals.mak:
28578 * docs/pwg/Makefile.am:
28580 possible fixes for automake-1.5
28582 2005-04-28 Wim Taymans <wim@fluendo.com>
28584 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28585 (gst_basesink_pad_getcaps), (gst_basesink_init),
28586 (gst_basesink_do_sync):
28587 * gst/gstclock.c: (gst_clock_entry_new):
28588 * gst/gstevent.c: (gst_event_discont_get_value):
28589 * gst/gstpipeline.c: (pipeline_bus_handler),
28590 (gst_pipeline_change_state):
28591 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28592 Better debugging of clocking info.
28593 Allow NULL values when getting discont values.
28595 2005-04-27 Wim Taymans <wim@fluendo.com>
28597 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28598 * check/gst/gstpad.c: (gst_pad_suite):
28599 Increase timeout for checks.
28601 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28603 * check/Makefile.am:
28604 fix the broken rule for cleanup. Apparently this rule is
28605 only needed on FC2, so maybe this warrants further autotool
28608 2005-04-26 Wim Taymans <wim@fluendo.com>
28610 * gst/gsttrashstack.h:
28611 Ooohh. a nasty one! After having a failed pop() from the stack,
28612 it's possible that the stack is empty. In that case, don't
28613 follow the NULL pointer.
28615 2005-04-25 Wim Taymans <wim@fluendo.com>
28617 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28618 (gst_pad_set_checkgetrange_function),
28619 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28620 (gst_pad_check_pull_range), (gst_pad_pull_range),
28621 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28622 (gst_pad_pause_task), (gst_pad_stop_task):
28623 * gst/gstplugin.c: (gst_plugin_load):
28625 Remove gst_library_load as it does more harm than good with
28626 the new g_module flags.
28627 Revert bogus caps template check in pad linking, pad caps
28628 are important when linking not the template, which is more
28629 general than the current caps.
28631 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28633 * gst/autoplug/.cvsignore:
28634 * gst/autoplug/Makefile.am:
28635 * gst/autoplug/gstsearchfuncs.c:
28636 * gst/autoplug/gstsearchfuncs.h:
28637 * gst/autoplug/gstspider.c:
28638 * gst/autoplug/gstspider.h:
28639 * gst/autoplug/gstspideridentity.c:
28640 * gst/autoplug/gstspideridentity.h:
28641 * gst/autoplug/spidertest.c:
28644 2005-04-25 Wim Taymans <wim@fluendo.com>
28646 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28647 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28648 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28649 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28651 Added stubs for unimplemented functions.
28653 2005-04-24 David Schleef <ds@schleef.org>
28655 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28658 2005-04-24 David Schleef <ds@schleef.org>
28660 Convert everything from GstAtomicInt to g_atomic_int_*, and
28665 * gst/gstatomic_impl.h:
28673 * gst/gstdata_private.h:
28677 * gst/gstmessage.c:
28680 * gst/gststructure.c:
28681 * gst/gststructure.h:
28682 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28685 2005-04-24 David Schleef <ds@schleef.org>
28687 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28688 make the regressions tests work. Remove some code that is no
28690 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28691 Disable warning for pads without templates.
28693 2005-04-24 David Schleef <ds@schleef.org>
28695 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28696 functions that handle filtered links.
28697 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28699 * gst/gstutils.c: Fix/remove utility functions that handle
28702 * gst/gstvalue.c: Add serialization/deserialization of caps
28703 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28704 requires fixing so that the filter caps notation creates
28705 a capsfilter element and sets the filter_caps property. I
28706 think everyone probably wants to keep the shorthand notation.
28707 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28708 * docs/gst/tmpl/gstpad.sgml:
28710 * gst/elements/gstelements.c: Register capsfilter element.
28711 * gst/Makefile.am: fix spacing
28712 * docs/random/ds/0.9-suggested-changes: random
28714 2005-04-23 David Schleef <ds@schleef.org>
28716 * gst/elements/Makefile.am:
28717 * gst/elements/gstcapsfilter.c: New element that acts like an
28718 identity, but filters caps. Will eventually replace filtered
28719 caps in pad linking.
28720 * gst/gstutils.c: (gst_element_create_all_pads): New function
28721 to create all the ALWAYS pads that are registered with an
28722 element class. This functionality should eventually be
28723 merged in with GstElement initialization.
28725 * testsuite/trigger/README: part of trigger test code that should
28726 have been checked in a long time ago.
28728 2005-04-23 David Schleef <ds@schleef.org>
28730 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28731 needed with new versions of libtool (nobody will confirm this),
28732 and hard to carry around.
28733 * gst/autoplug/Makefile.am:
28734 * gst/base/Makefile.am:
28735 * gst/elements/Makefile.am:
28736 * gst/indexers/Makefile.am:
28737 * gst/schedulers/Makefile.am:
28738 * libs/gst/bytestream/Makefile.am:
28739 * libs/gst/control/Makefile.am:
28740 * libs/gst/dataprotocol/Makefile.am:
28741 * libs/gst/getbits/Makefile.am:
28743 2005-04-21 Wim Taymans <wim@fluendo.com>
28745 * docs/design/draft-push-pull.txt:
28746 * docs/design/part-MT-refcounting.txt:
28747 * docs/design/part-TODO.txt:
28748 * docs/design/part-caps.txt:
28749 * docs/design/part-events.txt:
28750 * docs/design/part-gstbus.txt:
28751 * docs/design/part-gstpipeline.txt:
28752 * docs/design/part-messages.txt:
28753 * docs/design/part-push-pull.txt:
28754 * docs/design/part-query.txt:
28757 2005-04-21 Wim Taymans <wim@fluendo.com>
28759 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28760 (gst_message_new), (gst_message_new_error),
28761 (gst_message_new_warning), (gst_message_new_tag),
28762 (gst_message_new_state_changed), (gst_message_new_application),
28763 (gst_message_get_structure):
28764 * gst/gstmessage.h:
28765 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28766 (gst_structure_copy_conditional):
28767 Use parent refcount in GstMessage to ensure GstStructure
28769 Cleaned up headers a bit.
28772 2005-04-20 Wim Taymans <wim@fluendo.com>
28774 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28775 (gst_basesink_pad_getcaps), (gst_basesink_init),
28776 (gst_basesink_chain_unlocked):
28777 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28778 (gst_type_find_helper):
28779 * gst/elements/gsttypefindelement.c:
28780 (gst_type_find_element_have_type), (gst_type_find_element_init),
28781 (stop_typefinding), (gst_type_find_element_handle_event),
28782 (find_suggest), (gst_type_find_element_chain),
28783 (gst_type_find_element_checkgetrange),
28784 (gst_type_find_element_getrange), (do_typefind),
28785 (gst_type_find_element_activate):
28786 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28787 (gst_buffer_default_free), (gst_buffer_default_copy),
28788 (gst_buffer_set_caps):
28789 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28790 (gst_caps_replace):
28791 * gst/gstmessage.c: (gst_message_new),
28792 (gst_message_new_state_changed):
28793 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28794 (gst_pad_set_checkgetrange_function),
28795 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28796 (gst_pad_set_caps), (gst_pad_check_pull_range),
28797 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28799 * gst/gsttypefind.c: (gst_type_find_register):
28800 Make gst_caps_replace() work like other _replace() functions.
28801 Use _caps_replace() where possible.
28802 Make sure _message_new() initialises its field.
28803 Add gst_static_pad_template_get_caps()
28806 2005-04-18 Andy Wingo <wingo@pobox.com>
28808 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28809 on the peer, not the pad. I think that was a typo. Pass an extra
28810 arg to see if random access is possible. Activate the pads as
28811 PULL_RANGE if possible.
28813 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28815 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28816 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28819 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28821 * docs/faq/using.xml:
28822 Add note on gstreamer-properties (#154996).
28824 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28826 * docs/random/bbb/optional-properties:
28827 Some analysis on optional properties.
28829 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28831 * docs/gst/tmpl/gstelementfactory.sgml:
28832 * gst/gstelement.h:
28833 * gst/gstelementfactory.c: (gst_element_factory_init),
28834 (gst_element_factory_cleanup), (gst_element_register),
28835 (__gst_element_factory_add_static_pad_template),
28836 (gst_element_factory_get_static_pad_templates),
28837 (gst_element_factory_can_src_caps),
28838 (gst_element_factory_can_sink_caps):
28839 * gst/registries/Makefile.am:
28840 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28841 (gst_xml_registry_class_init), (gst_xml_registry_init),
28842 (gst_xml_registry_new), (gst_xml_registry_set_property),
28843 (gst_xml_registry_get_property), (get_time), (make_dir),
28844 (gst_xml_registry_get_perms_func),
28845 (plugin_times_older_than_recurse), (plugin_times_older_than),
28846 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28847 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28848 (add_to_char_array), (read_string), (read_uint), (read_enum),
28849 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28850 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28851 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28852 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28853 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28854 (gst_xml_registry_rebuild):
28855 * gst/registries/gstlibxmlregistry.h:
28856 * tools/gst-compprep.c: (main):
28857 * tools/gst-inspect.c: (print_pad_templates_info):
28858 * tools/gst-xmlinspect.c: (print_element_info):
28859 Use libxml2 for registry parsing, use staticpadtemplates in
28860 elementfactories. Makes gst_init() +/- 10x faster.
28862 2005-04-12 Wim Taymans <wim@fluendo.com>
28864 * gst/base/Makefile.am:
28865 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28866 (gst_basesink_pad_getcaps), (gst_basesink_init),
28867 (gst_basesink_event), (gst_basesink_change_state):
28868 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28869 (gst_basesrc_init), (gst_basesrc_query),
28870 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28871 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28872 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28873 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28874 (gst_basesrc_stop), (gst_basesrc_activate),
28875 (gst_basesrc_change_state):
28876 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28877 (helper_find_suggest), (gst_type_find_helper):
28878 * gst/base/gsttypefindhelper.h:
28879 * gst/elements/Makefile.am:
28880 * gst/elements/gstelements.c:
28881 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28882 (gst_fakesink_get_times), (gst_fakesink_event),
28883 (gst_fakesink_preroll), (gst_fakesink_render):
28884 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28885 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28886 (gst_fakesrc_get_property), (gst_fakesrc_create),
28887 (gst_fakesrc_start), (gst_fakesrc_stop):
28888 * gst/elements/gstfakesrc.h:
28889 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28890 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28891 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28892 (gst_filesrc_create_read), (gst_filesrc_create),
28893 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28894 (gst_filesrc_start):
28895 * gst/elements/gsttypefindelement.c:
28896 (gst_type_find_element_have_type), (gst_type_find_element_init),
28897 (start_typefinding), (stop_typefinding), (push_buffer_store),
28898 (gst_type_find_element_handle_event),
28899 (gst_type_find_element_chain),
28900 (gst_type_find_element_checkgetrange),
28901 (gst_type_find_element_getrange), (do_typefind),
28902 (gst_type_find_element_activate),
28903 (gst_type_find_element_change_state):
28904 * gst/elements/gsttypefindelement.h:
28905 * gst/gstpipeline.c: (pipeline_bus_handler):
28906 Added typefind helper.
28907 Small preroll fix in the base sink.
28908 Disable typefind code in basesrc.
28909 Crude port of typefindelement.
28913 2005-04-11 Wim Taymans <wim@fluendo.com>
28915 * check/gst/gstbus.c: (gstbus_suite):
28916 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28917 * check/gstcheck.h:
28918 Fix up the timeout so that the test does not fail.
28920 2005-04-06 Wim Taymans <wim@fluendo.com>
28923 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28924 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28925 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28926 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28927 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28928 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28929 (gst_basesrc_stop), (gst_basesrc_activate),
28930 (gst_basesrc_change_state), (basesrc_find_peek),
28931 (basesrc_find_suggest), (gst_basesrc_type_find):
28932 * gst/base/gstbasesrc.h:
28933 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28934 (gst_filesrc_class_init), (gst_filesrc_init),
28935 (gst_filesrc_finalize), (gst_filesrc_set_location),
28936 (gst_filesrc_set_property), (gst_filesrc_get_property),
28937 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28938 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28939 (gst_filesrc_create_read), (gst_filesrc_create),
28940 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28941 * gst/elements/gstfilesrc.h:
28942 * gst/gstelement.c: (gst_element_get_state_func),
28943 (gst_element_lost_state), (gst_element_pads_activate):
28944 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28945 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28946 (gst_pad_pull_range):
28948 More work on the generic source base class, implement seeking,
28950 Make filesrc extend the base source class.
28951 Added gst_pad_set_checkgetrange_function to GstPad.
28953 2005-04-06 Andy Wingo <wingo@pobox.com>
28955 * pkgconfig/gstreamer-base.pc.in:
28956 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28958 * pkgconfig/Makefile.am:
28959 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28961 2005-04-04 Wim Taymans <wim@fluendo.com>
28963 * gst/base/Makefile.am:
28965 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28966 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28967 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28968 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28969 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28970 (gst_basesrc_base_init), (gst_basesrc_class_init),
28971 (gst_basesrc_init), (gst_basesrc_get_formats),
28972 (gst_basesrc_get_query_types), (gst_basesrc_query),
28973 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28974 (gst_basesrc_set_property), (gst_basesrc_get_property),
28975 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28976 (gst_basesrc_loop), (gst_basesrc_activate),
28977 (gst_basesrc_change_state):
28978 * gst/base/gstbasesrc.h:
28979 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28980 (gst_fakesrc_class_init), (gst_fakesrc_init),
28981 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28982 (gst_fakesrc_get_property), (gst_fakesrc_create):
28983 * gst/elements/gstfakesrc.h:
28984 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28985 (gst_filesrc_open_file), (gst_filesrc_loop),
28986 (gst_filesrc_activate), (filesrc_find_peek),
28987 (gst_filesrc_type_find):
28988 Made base source class, make fakesrc extend it.
28989 Add comments to basesink class.
28990 Some filesrc cleanup.
28992 2005-03-31 David Schleef <ds@schleef.org>
28994 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28995 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28996 expected to link against libgstreamer.
28997 * gst/base/Makefile.am: link against libgstreamer
28998 * gst/elements/Makefile.am: same
29000 2005-03-31 Andy Wingo <wingo@pobox.com>
29002 * tests/instantiate/Makefile.am:
29003 * tests/instantiate/caps.c: Add test to test speed of caps copy
29006 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29007 GMemChunk to be fair.
29009 * gst/gsttrashstack.h: Remove warning about using the fallback
29010 trash stack implementation, it's still faster than malloc.
29012 2005-03-30 Andy Wingo <wingo@pobox.com>
29014 * tests/complexity.c: Add a copyright.
29016 2005-03-31 Wim Taymans <wim@fluendo.com>
29018 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29019 (gst_base_transform_class_init), (gst_base_transform_init),
29020 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29021 (gst_base_transform_get_property),
29022 (gst_base_transform_sink_activate),
29023 (gst_base_transform_src_activate),
29024 (gst_base_transform_change_state):
29025 * gst/base/gstbasetransform.h:
29026 * gst/elements/gstidentity.c: (gst_identity_class_init),
29027 (gst_identity_event), (gst_identity_check_perfect),
29028 (gst_identity_transform), (gst_identity_start),
29029 (gst_identity_stop):
29030 Added start/stop methods to transform base class so subclasses
29031 don't need to deal with state changes even.
29033 2005-03-31 Wim Taymans <wim@fluendo.com>
29035 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29036 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29038 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29039 (gst_pad_pull_range):
29040 Added rate to the discont event to prepare for variable speed
29041 and reverse playback.
29043 2005-03-29 David Schleef <ds@schleef.org>
29046 * testsuite/trigger/Makefile.am:
29047 * testsuite/trigger/trigger.c: A little example program to show
29048 how trigger-based elements can work.
29050 2005-03-29 Wim Taymans <wim@fluendo.com>
29052 * gst/base/Makefile.am:
29054 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29055 (gst_basesink_base_init), (gst_basesink_class_init),
29056 (gst_basesink_pad_getcaps), (gst_basesink_init),
29057 (gst_basesink_activate), (gst_basesink_change_state):
29058 * gst/base/gstbasesink.h:
29059 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29060 (gst_base_transform_base_init), (gst_base_transform_finalize),
29061 (gst_base_transform_class_init), (gst_base_transform_init),
29062 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29063 (gst_base_transform_event), (gst_base_transform_getrange),
29064 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29065 (gst_base_transform_set_property),
29066 (gst_base_transform_get_property),
29067 (gst_base_transform_sink_activate),
29068 (gst_base_transform_src_activate),
29069 (gst_base_transform_change_state):
29070 * gst/base/gstbasetransform.h:
29071 * gst/elements/gstidentity.c: (gst_identity_finalize),
29072 (gst_identity_class_init), (gst_identity_init),
29073 (gst_identity_event), (gst_identity_check_perfect),
29074 (gst_identity_transform), (gst_identity_set_property),
29075 (gst_identity_get_property), (gst_identity_change_state):
29076 * gst/elements/gstidentity.h:
29077 * gst/gstelement.c: (gst_element_get_state_func),
29078 (gst_element_lost_state), (gst_element_pads_activate):
29079 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29080 (gst_pad_check_pull_range), (gst_pad_pull_range):
29082 Simplify pad activation.
29083 Added function to check if pull_range can be performed.
29084 Error out when pulling inactive or flushing pads.
29085 Removed const from refcounted types as it does not make sense.
29086 Simplify pad templates in basesink
29087 Added base class for simple 1-to-1 transforms.
29088 Make identity subclass the base transform.
29090 2005-03-29 Andy Wingo <wingo@pobox.com>
29092 * docs/libs/gstreamer-libs-overrides.txt:
29093 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29094 really don't understand what's going on, but like whatever. I want
29097 * docs/gst/Makefile.am:
29098 * docs/libs/Makefile.am: Dist the overrides files.
29100 * check/Makefile.am (clean-local): Remove .libs directories.
29102 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29103 elements to EXTRA_DIST, so po/ files are happy.
29105 * po/POTFILES.in: Er, remove it here.
29107 * po/POTFILES: Remove gstspider.c.
29109 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29111 * docs/libs/gstreamer-libs-docs.sgml:
29112 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29115 * tests/complexity.c (main): Set the length of the preroll queue
29116 on the sinks to prevent a lockup.
29118 * libs/gst/dataprotocol/Makefile.am:
29119 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29120 the same as the one in check/gst-libs/gdp.c.
29122 * po/, docs/gst/: Commit automatic changes to docs and po files.
29124 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29125 the versioned libgstbase.
29127 * check/Makefile.am: Depend on an unversioned gst-register, seems
29128 to make autoconf happier.
29130 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29132 2005-03-28 Wim Taymans <wim@fluendo.com>
29135 * docs/design/part-gstelement.txt:
29136 * docs/design/part-negotiation.txt:
29137 * docs/design/part-preroll.txt:
29138 * docs/design/part-scheduling.txt:
29139 * docs/design/part-states.txt:
29141 * gst/base/Makefile.am:
29143 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29144 (gst_basesink_base_init), (gst_basesink_class_init),
29145 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29146 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29147 (gst_basesink_set_pad_functions),
29148 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29149 (gst_basesink_set_property), (gst_basesink_get_property),
29150 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29151 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29152 (gst_basesink_preroll_queue_push),
29153 (gst_basesink_preroll_queue_empty),
29154 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29155 (gst_basesink_event), (gst_basesink_get_times),
29156 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29157 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29158 (gst_basesink_loop), (gst_basesink_activate),
29159 (gst_basesink_change_state):
29160 * gst/base/gstbasesink.h:
29161 * gst/elements/Makefile.am:
29162 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29163 (gst_fakesink_class_init), (gst_fakesink_init),
29164 (gst_fakesink_set_property), (gst_fakesink_get_property),
29165 (gst_fakesink_get_times), (gst_fakesink_event),
29166 (gst_fakesink_preroll), (gst_fakesink_render),
29167 (gst_fakesink_change_state):
29168 * gst/elements/gstfakesink.h:
29169 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29170 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29171 * gst/gstelement.c: (gst_element_add_pad),
29172 (gst_element_get_state_func), (gst_element_abort_state),
29173 (gst_element_commit_state), (gst_element_lost_state),
29174 (gst_element_set_state), (gst_element_pads_activate):
29175 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29176 * gst/gstpipeline.c: (gst_pipeline_send_event),
29177 (gst_pipeline_change_state):
29178 Added state change code.
29179 Added/updated docs.
29180 Added sink base class, make fakesink extend the base class.
29181 Small cleanups in GstPipeline.
29183 2005-03-26 David Schleef <ds@schleef.org>
29185 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29186 is broken and should be implemented in a different library.
29187 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29188 * gst/gst.h: remove gstcpu.h
29189 * gst/gstcpu.c: remove
29190 * gst/gstcpu.h: remove
29191 * gst/Makefile.am.future: Remove this file. It's ancient.
29193 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29195 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29196 (gst_bin_send_event):
29197 Add default event/set_manager handlers. The set_manager handler
29198 takes care that the manager is distributed over kids that were
29199 already in the bin before the manager was set. The event handler
29200 is a utility virtual function that sends the event over all sinks,
29201 so that gst_element_send_event (bin, event); has the expected
29203 * gst/gstpad.c: (gst_pad_event_default):
29204 Re-install default event handling for discontinuities, so that
29205 seeking works without requiring hacks in applications or extra
29207 * gst/gstpipeline.c: (gst_pipeline_class_init),
29208 (gst_pipeline_send_event):
29209 Half hack, half utility: set a pipeline to PAUSED for seek events,
29210 since that is the only way we can guarantee a/v sync. Means that
29211 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29212 and it "just works".
29214 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29216 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29217 Lock/unlock mismatch.
29219 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29221 * docs/faq/gst-uninstalled:
29222 add gst-plugins-base
29223 * docs/gst/Makefile.am:
29224 don't error out until docs are fixed
29225 * docs/gst/gstreamer.types:
29228 2005-03-22 Wim Taymans <wim@fluendo.com>
29230 * check/Makefile.am:
29231 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29232 * gst/gststructure.c: (gst_structure_set_valist),
29233 (gst_structure_copy_conditional):
29234 Activated more tests.
29235 Added message test.
29236 Added G_TYPE_POINTER to GstStructure.
29239 2005-03-22 Wim Taymans <wim@fluendo.com>
29241 * docs/design/part-TODO.txt:
29242 * docs/design/part-events.txt:
29243 * docs/design/part-gstbin.txt:
29244 * docs/design/part-gstbus.txt:
29245 * docs/design/part-gstpipeline.txt:
29246 * docs/design/part-messages.txt:
29248 * gst/gstmessage.c:
29251 2005-03-21 Wim Taymans <wim@fluendo.com>
29253 * gst/gstbus.c: (gst_bus_post):
29254 Fix copy-and-paste error.
29256 2005-03-21 Wim Taymans <wim@fluendo.com>
29258 * check/Makefile.am:
29260 * gst/elements/Makefile.am:
29261 * gst/elements/gstelements.c:
29262 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29263 (gst_fakesink_event), (gst_fakesink_chain):
29264 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29265 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29266 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29267 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29268 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29269 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29270 (gst_fakesrc_loop), (gst_fakesrc_activate),
29271 (gst_fakesrc_change_state):
29272 * gst/elements/gstfakesrc.h:
29273 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29274 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29275 (gst_filesrc_open_file), (gst_filesrc_loop),
29276 (gst_filesrc_activate), (gst_filesrc_change_state),
29277 (filesrc_find_peek), (filesrc_find_suggest),
29278 (gst_filesrc_type_find):
29279 * gst/elements/gstidentity.c: (gst_identity_finalize),
29280 (gst_identity_class_init), (gst_identity_init),
29281 (gst_identity_proxy_getcaps), (identity_queue_push),
29282 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29283 (gst_identity_getrange), (gst_identity_chain),
29284 (gst_identity_sink_loop), (gst_identity_src_loop),
29285 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29286 (gst_identity_set_property), (gst_identity_get_property),
29287 (gst_identity_change_state):
29288 * gst/elements/gstidentity.h:
29289 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29290 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29291 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29292 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29293 (gst_tee_sink_activate):
29294 * gst/elements/gsttee.h:
29295 * gst/gst.c: (gst_register_core_elements), (init_post):
29297 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29298 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29299 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29300 (gst_bin_change_state):
29302 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29303 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29304 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29305 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29306 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29307 (bus_watch_callback), (bus_watch_destroy),
29308 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29309 (poll_timeout), (gst_bus_poll):
29313 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29314 (gst_element_post_message), (gst_element_message_full),
29315 (gst_element_get_state_func), (gst_element_get_state),
29316 (gst_element_abort_state), (gst_element_commit_state),
29317 (gst_element_lost_state), (gst_element_set_state),
29318 (gst_element_pads_activate), (gst_element_change_state),
29319 (gst_element_dispose), (gst_element_set_manager_func),
29320 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29321 (gst_element_set_manager), (gst_element_get_manager),
29322 (gst_element_set_bus), (gst_element_get_bus),
29323 (gst_element_set_scheduler), (gst_element_get_scheduler):
29324 * gst/gstelement.h:
29325 * gst/gstevent.c: (gst_event_new_segment_seek),
29326 (gst_event_new_flush):
29328 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29329 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29330 (gst_message_new_eos), (gst_message_new_error),
29331 (gst_message_new_warning), (gst_message_new_tag),
29332 (gst_message_new_state_changed), (gst_message_new_application),
29333 (gst_message_get_structure), (gst_message_parse_tag),
29334 (gst_message_parse_state_changed), (gst_message_parse_error),
29335 (gst_message_parse_warning):
29336 * gst/gstmessage.h:
29337 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29338 (gst_real_pad_set_property), (gst_pad_set_active),
29339 (gst_pad_is_active), (gst_pad_set_blocked_async),
29340 (gst_pad_set_blocked), (gst_pad_is_blocked),
29341 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29342 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29343 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29344 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29345 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29346 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29347 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29348 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29349 (gst_pad_set_caps), (gst_pad_configure_sink),
29350 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29351 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29352 (gst_real_pad_dispose), (gst_real_pad_finalize),
29353 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29354 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29355 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29357 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29358 (pipeline_bus_handler), (gst_pipeline_change_state),
29359 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29360 * gst/gstpipeline.h:
29362 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29363 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29364 (gst_queue_link_src), (gst_queue_bufferalloc),
29365 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29366 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29367 (gst_queue_loop), (gst_queue_handle_src_event),
29368 (gst_queue_handle_src_query), (gst_queue_src_activate),
29369 (gst_queue_change_state):
29371 * gst/gstscheduler.c: (gst_scheduler_init),
29372 (gst_scheduler_dispose), (gst_scheduler_create_task),
29373 (gst_scheduler_factory_create):
29374 * gst/gstscheduler.h:
29375 * gst/gststructure.c: (gst_structure_get_type),
29376 (gst_structure_copy_conditional):
29377 * gst/gststructure.h:
29378 * gst/gsttaginterface.h:
29379 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29380 (gst_task_init), (gst_task_dispose), (gst_task_create),
29381 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29387 * gst/schedulers/Makefile.am:
29388 * gst/schedulers/cothreads_compat.h:
29389 * gst/schedulers/entryscheduler.c:
29390 * gst/schedulers/faircothreads.c:
29391 * gst/schedulers/faircothreads.h:
29392 * gst/schedulers/fairscheduler.c:
29393 * gst/schedulers/gstbasicscheduler.c:
29394 * gst/schedulers/gstoptimalscheduler.c:
29395 * gst/schedulers/gthread-cothreads.h:
29396 * gst/schedulers/threadscheduler.c:
29397 (gst_thread_scheduler_task_get_type),
29398 (gst_thread_scheduler_task_class_init),
29399 (gst_thread_scheduler_task_init),
29400 (gst_thread_scheduler_task_start),
29401 (gst_thread_scheduler_task_stop),
29402 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29403 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29404 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29405 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29407 * libs/gst/Makefile.am:
29408 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29409 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29410 (gst_file_pad_parent_set):
29411 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29412 (gst_dp_event_from_packet):
29413 * tests/complexity.c: (main):
29414 * tests/mass_elements.c: (main):
29415 * testsuite/states/locked.c: (message_received), (main):
29416 * testsuite/states/parent.c: (main):
29417 * tools/gst-inspect.c: (print_element_flag_info),
29418 (print_implementation_info), (print_pad_info):
29419 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29421 * tools/gst-md5sum.c: (event_loop), (main):
29422 * tools/gst-typefind.c: (main):
29423 * tools/gst-xmlinspect.c: (print_element_info):
29425 Added GstBus for mainloop integration.
29426 Added GstMessage for sending notifications on the bus.
29427 Added GstTask as an abstraction for pipeline entry points.
29429 Removed Schedulers.
29430 Simplified GstQueue for multithreaded core.
29431 Made _link threadsafe, removed old capsnego.
29432 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29433 Added pad blocking functions.
29434 Reworked scheduling functions in GstPad to prepare for
29435 scheduling updates soon.
29436 Moved events out of data stream.
29437 Simplified GstEvent types.
29438 Added return values to push/pull.
29439 Removed clocking from GstElement.
29440 Added prototypes for state change function for next merge.
29441 Removed iterate from bins and state change management.
29442 Fixed some elements, disabled others for now.
29443 Fixed -inspect and -launch.
29444 Added check for GstBus.
29446 2005-03-10 Wim Taymans <wim@fluendo.com>
29448 * docs/design/part-MT-refcounting.txt:
29449 * docs/design/part-clocks.txt:
29450 * docs/design/part-gstelement.txt:
29451 * docs/design/part-gstobject.txt:
29452 * docs/design/part-standards.txt:
29453 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29454 (gst_bin_remove_func), (gst_bin_remove):
29458 * testsuite/clock/clock1.c: (main):
29459 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29461 * testsuite/dlopen/loadgst.c: (do_test):
29462 * testsuite/refcounting/bin.c: (add_remove_test1),
29463 (add_remove_test2), (main):
29464 * testsuite/refcounting/element.c: (main):
29465 * testsuite/refcounting/element_pad.c: (main):
29466 * testsuite/refcounting/pad.c: (main):
29467 * tools/gst-launch.c: (sigint_handler_sighandler):
29468 * tools/gst-typefind.c: (main):
29470 Added doc about clock.
29471 removed gst_bin_iterate_recurse_up(), marked methods
29473 Fix more testsuites.
29475 2005-03-09 Wim Taymans <wim@fluendo.com>
29477 * gst/gstpad.c: (gst_pad_get_direction),
29478 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29479 (gst_pad_collect_valist):
29480 * testsuite/bins/interface.c: (main):
29481 * testsuite/caps/audioscale.c: (test_caps):
29482 * testsuite/caps/caps.c: (test1), (test2), (test3):
29483 * testsuite/caps/deserialize.c: (main):
29484 * testsuite/caps/enumcaps.c: (main):
29485 * testsuite/caps/filtercaps.c: (main):
29486 * testsuite/caps/intersect2.c: (main):
29487 * testsuite/caps/random.c: (main):
29488 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29489 * testsuite/caps/sets.c: (check_caps):
29490 * testsuite/caps/simplify.c: (check_caps), (main):
29491 * testsuite/caps/subtract.c: (check_caps):
29492 Fix _pad_get_direction wrt ghostpads.
29493 Fix caps testsuite.
29495 2005-03-09 Wim Taymans <wim@fluendo.com>
29497 * check/Makefile.am:
29498 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29499 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29500 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29501 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29502 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29503 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29504 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29505 (bin_element_is_sink), (gst_bin_iterate_sinks),
29506 (gst_bin_iterate_all_by_interface):
29508 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29509 (gst_element_change_state), (gst_element_dispose),
29510 (gst_element_finalize), (gst_element_set_loop_function):
29511 * gst/gstelement.h:
29512 * gst/gstiterator.c: (find_custom_fold_func):
29513 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29514 (gst_pad_collectv), (gst_pad_collect_valist),
29515 (gst_pad_template_new):
29516 * gst/gstpipeline.c: (gst_pipeline_class_init),
29517 (gst_pipeline_dispose), (gst_pipeline_set_property),
29518 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29519 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29520 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29522 * gst/schedulers/entryscheduler.c:
29523 * gst/schedulers/gstbasicscheduler.c:
29524 (gst_basic_scheduler_cothreaded_chain),
29525 (gst_basic_scheduler_chain_add_element):
29526 * testsuite/bins/interface.c: (main):
29528 Added GstSystemClock test.
29529 Implemented clock distribution code in GstBin.
29530 Implemented iterate sinks method for future use.
29531 Rearranged gstelement.h
29532 Fix GstIterator comparison bug.
29533 Moved some code to GstPipeline, mostly clocking related.
29535 2005-03-09 Wim Taymans <wim@fluendo.com>
29538 * gst/gst_private.h:
29539 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29540 (gst_bin_remove_func), (gst_bin_remove),
29541 (gst_bin_get_by_name_recurse_up):
29542 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29543 (gst_clock_id_compare_func), (gst_clock_id_wait),
29544 (gst_clock_id_wait_async), (gst_clock_init),
29545 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29546 * gst/gstelement.h:
29547 * gst/gstinfo.c: (_gst_debug_init):
29549 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29550 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29552 Bump version number, we're now 0.9.0
29553 Add future debugging category.
29554 Fix NULL _unref() in _get_by_name_recurse_up
29555 Rearrange gstpad.h.
29558 2005-03-08 Wim Taymans <wim@fluendo.com>
29560 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29561 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29562 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29563 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29564 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29565 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29566 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29567 * gst/elements/gstidentity.c: (gst_identity_class_init):
29568 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29569 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29570 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29571 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29572 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29574 * gst/gstelement.c: (gst_element_class_init),
29575 (gst_element_base_class_init), (gst_element_init),
29576 (gst_element_get_random_pad), (gst_element_wait_state_change),
29577 (gst_element_change_state), (gst_element_dispose),
29578 (gst_element_finalize), (gst_element_set_loop_function):
29579 * gst/gstelement.h:
29580 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29581 * gst/gstthread.c: (gst_thread_class_init),
29582 (gst_thread_release_children_locks), (gst_thread_change_state):
29583 * gst/schedulers/gstbasicscheduler.c:
29584 (gst_basic_scheduler_loopfunc_wrapper),
29585 (gst_basic_scheduler_chain_wrapper),
29586 (gst_basic_scheduler_src_wrapper),
29587 (gst_basic_scheduler_remove_element):
29588 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29589 Remove threadsafe properties. Fix elements because GObject
29590 complains when installing a property before declaring a
29591 set/get_property handler.
29592 Rearrange gstelement.h file, use STATE macros for state locks.
29593 Free mutexes in the finalize method instead of dispose.
29595 2005-03-08 Wim Taymans <wim@fluendo.com>
29597 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29598 * gst/gstthread.c: (gst_thread_release_children_locks):
29599 Added parentage check.
29600 Fix build og GstThread again.
29602 2005-03-08 Wim Taymans <wim@fluendo.com>
29604 * docs/design/part-MT-refcounting.txt:
29605 * docs/design/part-conventions.txt:
29606 * docs/design/part-gstobject.txt:
29607 * docs/design/part-relations.txt:
29608 * docs/design/part-standards.txt:
29609 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29610 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29611 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29612 (gst_bin_iterate_all_by_interface):
29615 * gst/gstelement.c: (gst_element_class_init),
29616 (gst_element_change_state), (gst_element_set_loop_function):
29617 * gst/gstelement.h:
29618 * gst/gstiterator.c:
29619 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29620 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29621 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29622 (gst_object_set_parent), (gst_object_unparent),
29623 (gst_object_check_uniqueness):
29625 Docs updates, clean up some headers.
29627 2005-03-07 Wim Taymans <wim@fluendo.com>
29629 * check/.cvsignore:
29630 * check/Makefile.am:
29631 * check/gst-libs/.cvsignore:
29632 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29633 * check/gst/.cvsignore:
29634 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29635 (START_TEST), (gstbus_suite), (main):
29636 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29637 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29638 (gst_data_suite), (main):
29639 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29640 (add_fold_func), (gstiterator_suite), (main):
29641 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29642 (thread_name_object), (thread_name_object_default),
29643 (gst_object_name_compare), (gst_object_suite), (main):
29644 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29645 (gst_pad_suite), (main):
29646 * check/gstcheck.c: (gst_check_log_message_func),
29647 (gst_check_log_critical_func), (gst_check_init):
29648 * check/gstcheck.h:
29649 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29650 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29653 2005-03-07 Wim Taymans <wim@fluendo.com>
29655 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29656 (gst_list_iterator_next), (gst_list_iterator_resync),
29657 (gst_list_iterator_free), (gst_iterator_new_list),
29658 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29659 (gst_iterator_free), (gst_iterator_push), (filter_next),
29660 (filter_resync), (filter_uninit), (filter_free),
29661 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29662 (gst_iterator_foreach), (find_custom_fold_func),
29663 (gst_iterator_find_custom):
29664 * gst/gstiterator.h:
29665 Added missing files.
29667 2005-03-07 Wim Taymans <wim@fluendo.com>
29671 * docs/design/part-MT-refcounting.txt:
29672 * docs/design/part-conventions.txt:
29673 * docs/design/part-gstobject.txt:
29674 * docs/design/part-relations.txt:
29675 * examples/mixer/mixer.c: (main):
29676 * examples/thread/thread.c: (eos), (main):
29678 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29679 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29680 (gst_spider_plug_from_srcpad):
29681 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29682 (gst_spider_identity_change_state),
29683 (gst_spider_identity_sink_loop_type_finding):
29684 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29685 * gst/elements/gstidentity.c: (gst_identity_init):
29686 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29687 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29688 * gst/elements/gsttypefindelement.c: (free_entry):
29691 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29692 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29693 (gst_bin_set_index), (gst_bin_set_element_sched),
29694 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29695 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29696 (gst_bin_iterate_elements), (iterate_child_recurse),
29697 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29698 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29699 (compare_interface), (gst_bin_get_by_interface),
29700 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29702 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29703 (gst_buffer_default_free), (gst_buffer_default_copy),
29704 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29705 (gst_buffer_create_sub):
29707 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29708 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29709 (gst_caps_unref), (gst_static_caps_get),
29710 (gst_caps_remove_and_get_structure), (gst_caps_append),
29711 (gst_caps_append_structure), (gst_caps_remove_structure),
29712 (gst_caps_copy_nth), (gst_caps_set_simple),
29713 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29714 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29715 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29716 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29717 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29718 (gst_caps_structure_figure_out_union),
29719 (gst_caps_switch_structures), (gst_caps_do_simplify),
29720 (gst_caps_replace), (gst_caps_from_string),
29721 (gst_caps_copy_conditional):
29723 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29724 (_gst_clock_id_free), (gst_clock_id_unref),
29725 (gst_clock_id_compare_func), (gst_clock_id_wait),
29726 (gst_clock_id_wait_async), (gst_clock_class_init),
29727 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29728 (gst_clock_get_time), (gst_clock_set_time_adjust),
29729 (gst_clock_set_property), (gst_clock_get_property):
29732 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29733 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29735 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29736 (gst_element_requires_clock), (gst_element_provides_clock),
29737 (gst_element_set_clock), (gst_element_clock_wait),
29738 (gst_element_wait), (gst_element_set_time_delay),
29739 (gst_element_is_indexable), (gst_element_add_pad),
29740 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29741 (pad_compare_name), (gst_element_get_static_pad),
29742 (gst_element_request_pad), (gst_element_get_request_pad),
29743 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29744 (gst_element_class_get_pad_template_list),
29745 (gst_element_class_get_pad_template), (gst_element_error_func),
29746 (gst_element_get_random_pad), (gst_element_get_event_masks),
29747 (gst_element_send_event), (gst_element_seek),
29748 (gst_element_get_query_types), (gst_element_query),
29749 (gst_element_get_formats), (gst_element_convert),
29750 (gst_element_is_locked_state), (gst_element_set_locked_state),
29751 (gst_element_sync_state_with_parent), (gst_element_change_state),
29752 (gst_element_finalize), (gst_element_yield),
29753 (gst_element_interrupt), (gst_element_set_scheduler),
29754 (gst_element_get_scheduler), (gst_element_set_loop_function):
29755 * gst/gstelement.h:
29757 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29758 (gst_format_get_by_nick), (gst_format_get_details),
29759 (gst_format_iterate_definitions):
29761 * gst/gstindex.c: (gst_index_gtype_resolver):
29764 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29765 (gst_mem_chunk_free):
29766 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29767 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29768 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29769 (gst_object_dispatch_properties_changed),
29770 (gst_object_set_name_default), (gst_object_set_name),
29771 (gst_object_get_name), (gst_object_set_name_prefix),
29772 (gst_object_get_name_prefix), (gst_object_set_parent),
29773 (gst_object_get_parent), (gst_object_unparent),
29774 (gst_object_check_uniqueness), (gst_object_save_thyself),
29775 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29776 (gst_object_set_property), (gst_object_get_property),
29777 (gst_object_get_path_string):
29779 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29780 (gst_real_pad_init), (gst_real_pad_get_property),
29781 (gst_pad_custom_new), (gst_pad_get_direction),
29782 (gst_pad_set_active), (gst_pad_is_active),
29783 (gst_pad_set_event_function), (gst_pad_is_linked),
29784 (gst_pad_link_free), (gst_pad_link_intersect),
29785 (gst_pad_link_fixate), (gst_pad_set_caps),
29786 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29787 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29788 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29789 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29790 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29791 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29792 (gst_pad_realize), (gst_pad_get_allowed_caps),
29793 (gst_real_pad_dispose), (gst_real_pad_finalize),
29794 (gst_pad_collectv), (gst_pad_collect_valist),
29795 (gst_pad_template_dispose), (gst_pad_template_new),
29796 (gst_pad_get_internal_links):
29798 * gst/gstpipeline.c: (gst_pipeline_dispose),
29799 (gst_pipeline_change_state):
29800 * gst/gstpipeline.h:
29802 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29803 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29804 * gst/gstpluginfeature.h:
29805 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29806 * gst/gstquery.c: (_gst_query_type_initialize),
29807 (gst_query_type_register), (gst_query_type_get_by_nick),
29808 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29810 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29811 * gst/gstscheduler.c: (gst_scheduler_add_element),
29812 (gst_scheduler_factory_create):
29813 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29814 (gst_structure_free), (gst_structure_set_name),
29815 (gst_structure_id_set_value), (gst_structure_set_value),
29816 (gst_structure_set_valist), (gst_structure_remove_field),
29817 (gst_structure_remove_fields),
29818 (gst_structure_remove_fields_valist),
29819 (gst_structure_remove_all_fields), (gst_structure_foreach),
29820 (gst_structure_map_in_place),
29821 (gst_caps_structure_fixate_field_nearest_int),
29822 (gst_caps_structure_fixate_field_nearest_double):
29823 * gst/gststructure.h:
29824 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29825 (gst_system_clock_init), (gst_system_clock_dispose),
29826 (gst_system_clock_async_thread),
29827 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29828 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29829 * gst/gstsystemclock.h:
29830 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29831 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29832 * gst/gsttaginterface.c:
29833 * gst/gstthread.c: (gst_thread_dispose),
29834 (gst_thread_release_children_locks), (gst_thread_change_state),
29835 (gst_thread_main_loop):
29836 * gst/gsttrashstack.h:
29837 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29839 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29840 (gst_element_request_pad), (gst_element_get_pad_from_template),
29841 (gst_element_request_compatible_pad),
29842 (gst_element_get_compatible_pad_filtered),
29843 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29844 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29845 (gst_element_link_many), (gst_element_link),
29846 (gst_element_link_pads), (gst_element_unlink_pads),
29847 (gst_element_unlink_many), (gst_element_unlink),
29848 (gst_pad_can_link_filtered), (gst_pad_can_link),
29849 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29850 (gst_object_default_error), (gst_bin_add_many),
29851 (gst_bin_remove_many), (gst_element_populate_std_props),
29852 (gst_element_class_install_std_props), (gst_buffer_merge),
29853 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29854 (link_fold_func), (gst_pad_proxy_setcaps):
29856 * gst/gstvalue.c: (gst_value_deserialize_string):
29857 * gst/parse/grammar.y:
29858 * gst/schedulers/gstbasicscheduler.c:
29859 (gst_basic_scheduler_cothreaded_chain),
29860 (gst_basic_scheduler_chain_recursive_add),
29861 (gst_basic_scheduler_pad_link):
29862 * gst/schedulers/gstoptimalscheduler.c:
29863 (get_group_schedule_function),
29864 (gst_opt_scheduler_state_transition),
29865 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29866 * libs/gst/bytestream/bytestream.c:
29867 * libs/gst/dataprotocol/dataprotocol.c:
29868 (gst_dp_header_from_buffer):
29871 * tests/threadstate/threadstate2.c: (eos):
29872 * tools/gst-compprep.c: (main):
29873 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29874 (print_pad_info), (print_children_info):
29875 * tools/gst-launch.c: (idle_func), (main):
29876 * tools/gst-md5sum.c: (idle_func), (main):
29877 * tools/gst-xmlinspect.c: (print_element_info):
29878 First THREADED backport attempt, focusing on adding locks and
29879 making sure the API is threadsafe. Needs more work. More docs
29882 2005-02-24 Andy Wingo <wingo@pobox.com>
29884 * tests/bench-complexity.scm:
29885 * tests/complexity.gnuplot: New files, good for running complexity
29888 * tests/Makefile.am:
29889 * tests/complexity.c: New test, sets up N elements, at each level
29890 teeing into M streams per element. Eeeenteresting.
29892 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29893 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29894 running bench-mass_elements.scm.
29896 * tests/bench-mass_elements.scm: New script, runs mass_elements
29897 for various numbers of identities, outputting the results to a
29898 file. Requires guile 1.6. Just for testing.
29900 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29902 * gst/schedulers/fairscheduler.c:
29903 compile with debug disabled
29905 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29908 hunting season on 0.9 is now OPEN