1 2008-06-25 Stefan Kost <ensonic@users.sf.net>
4 Document that for plgin-docs we extraxt he short-desc from the element
7 * docs/design/part-states.txt:
8 Tell that devices should be closed in PAUSED -> READY.
11 Document how tests in the manual are handled.
16 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
18 * gst/gstbin.c: (bin_query_latency_fold):
19 Only care about latency min and max when the sink is actually a live
22 2008-06-25 Wim Taymans <wim.taymans@collabora.co.uk>
24 * docs/design/part-block.txt:
27 * docs/design/part-element-transform.txt:
28 Add notes about why transform needs to know input/output sizes.
29 Add some issues that need to be solved.
30 Add some more use cases.
32 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
33 (gst_test_trans_class_init), (result_sink_chain),
34 (result_buffer_alloc), (gst_test_trans_new), (gst_test_trans_free),
35 (gst_test_trans_push), (gst_test_trans_pop):
36 * tests/check/libs/transform1.c: (buffer_alloc_pt1),
37 (set_caps_pt1), (GST_START_TEST), (set_caps_pt2), (transform_ip_1),
38 (set_caps_1), (set_caps_ct1), (transform_ct1),
39 (transform_caps_ct1), (transform_size_ct1), (buffer_alloc_ct1),
40 (gst_basetransform_suite):
41 Add suport for different pad templates and buffer-alloc.
42 Add more checks for caps and buffer-alloc.
43 Add checks for proxy buffer alloc.
44 Add unit test for copy transform.
46 2008-06-24 Tim-Philipp Müller <tim.muller at collabora co uk>
48 Patch by: Luc Pionchon <luc.pionchon@nokia.com>
50 * docs/manual/appendix-integration.xml:
51 * docs/manual/appendix-licensing.xml:
52 * docs/manual/basics-elements.xml:
53 * docs/manual/basics-helloworld.xml:
54 * docs/manual/basics-pads.xml:
55 * docs/manual/highlevel-components.xml:
56 * docs/manual/highlevel-xml.xml:
57 * docs/manual/intro-basics.xml:
58 * docs/manual/intro-preface.xml:
59 Typo and formatting fixes (#538594).
61 2008-06-24 Sebastian Dröge <sebastian.droege@collabora.co.uk>
63 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
64 Fix some memory leaks and uses of object instances that we don't
67 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
69 * plugins/elements/gstmultiqueue.c:
70 Add functionality to extra-size-buffers property.
72 2008-06-22 Thijs Vermeir <thijsvermeir@gmail.com>
74 * plugins/elements/gstmultiqueue.c:
75 Don't update the cur_time on GST_CLOCK_TIME_NONE (#537804) and don't
76 activate the pads if they are added in STATE_NULL.
78 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
80 * docs/libs/gstreamer-libs-sections.txt:
82 * libs/gst/check/gstcheck.c:
83 * libs/gst/check/gstcheck.h:
84 API: gst_check_teardown_pad_by_name
86 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
88 * libs/gst/check/gstcheck.c:
89 * libs/gst/check/gstcheck.h:
90 Also setup request pads and allow setup pads by name (#537812)
91 API: gst_check_setup_src_pad_by_name
92 API: gst_check_setup_sink_pad_by_name
94 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
96 * tests/check/gst/gstbuffer.c:
97 * tests/check/pipelines/parse-launch.c:
98 Use HAVE_VALGRIND_H some more.
100 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
102 * scripts/cvs-update.sh:
103 Pass arguments to make.
104 Run autoregen.sh if Makefile is not there.
106 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
110 Don't assume that <valgrind/valgrind.h> exists just because
113 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
115 * tests/check/Makefile.am:
116 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
117 (gst_test_trans_class_init), (gst_test_trans_init),
118 (gst_test_trans_set_data), (result_sink_chain),
119 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
120 (gst_test_trans_pop):
121 * tests/check/libs/transform1.c: (GST_START_TEST),
122 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
123 Add some test basetransform element and the beginnings of various
126 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
128 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
129 Increase code readability.
130 Don't try to compare buffer offsets when ther are invalid.
132 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
134 * docs/design/Makefile.am:
135 Dist some more design docs.
137 * docs/random/moving-plugins:
138 Small addition: good plugins mustn't have functional code
139 within assertion macros.
141 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
143 * docs/design/draft-framestep.txt:
144 Some ideas about a framestep API
146 * docs/design/part-element-transform.txt:
147 Start design and use cases for basetransform in order to get it
150 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
153 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
154 be in UTF-8 encoding.
156 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
159 Make it known that gst_bus_poll() is pure evil (fixes #538810).
161 2008-06-20 Stefan Kost <ensonic@users.sf.net>
163 * plugins/elements/gstcapsfilter.c:
164 * plugins/elements/gstfakesink.c:
165 * plugins/elements/gstfakesrc.c:
166 * plugins/elements/gstfdsink.c:
167 * plugins/elements/gstfdsrc.c:
168 * plugins/elements/gstfilesink.c:
169 * plugins/elements/gstfilesrc.c:
170 * plugins/elements/gstidentity.c:
171 * plugins/elements/gstmultiqueue.c:
172 * plugins/elements/gstqueue.c:
173 * plugins/elements/gsttee.c:
174 * plugins/elements/gsttypefindelement.c:
175 Remove short_description. Add basic docs for gsttypefindelement.
176 Simplify markup for fakesrc/fdsrc.
178 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
180 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
183 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
185 Patch by: joel larsson <tilljoel at gmail dot com>
187 * docs/plugins/gstreamer-plugins.args:
188 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
189 (gst_fd_src_init), (gst_fd_src_update_fd),
190 (gst_fd_src_set_property), (gst_fd_src_get_property),
192 * plugins/elements/gstfdsrc.h:
193 Add timeout property like udpsrc. Fixes #538628.
194 Add some more docs and example pipelines.
196 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
198 * docs/libs/gstreamer-libs-sections.txt:
199 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
200 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
201 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
202 (gst_base_sink_do_sync):
203 * libs/gst/base/gstbasesink.h:
204 * win32/common/libgstbase.def:
205 Add method to allow sinks to specify additional delay between the sync
206 times and the actual rendering of the data.
207 API: gst_base_sink_set_render_delay()
208 API: gst_base_sink_get_render_delay()
210 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
213 Bump version number back to dev -> 0.10.20.1
215 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
217 * docs/gst/gstreamer-sections.txt:
218 * gst/gsttaglist.c: (_gst_tag_initialize):
220 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
223 2008-06-20 Stefan Kost <ensonic@users.sf.net>
225 * libs/gst/controller/gstcontroller.c:
226 Revert one change, that make ret value possible uninitialized.
228 2008-06-20 Stefan Kost <ensonic@users.sf.net>
230 * libs/gst/controller/gstcontroller.c:
231 Use freeze/thaw notify to sync notify emission a bit (its also more
232 efficient). Move debug output to LOG (is called a lot in a loop).
233 Always unset g_values if the have been initialized.
235 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
237 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
238 (gst_base_sink_wait_eos), (gst_base_sink_event):
239 If we have not seen a buffer before EOS, use the segment values to
240 report the current position instead of invalid positions.
242 2008-06-20 Stefan Kost <ensonic@users.sf.net>
244 * docs/plugins/tmpl/.cvsignore:
245 * tests/check/gst/.cvsignore:
248 2008-06-20 Stefan Kost <ensonic@users.sf.net>
250 * libs/gst/controller/gstinterpolation.c:
251 * libs/gst/controller/gstinterpolationcontrolsource.c:
252 * tests/check/libs/controller.c:
253 Rewrite handling of default values. Fix overflow with unsigned types
254 in linear interpolation. Remove now obsolete _first_value() function.
255 Add more tests. Fixes #538201.
257 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
259 * libs/gst/base/gstbasetransform.c:
260 (gst_base_transform_class_init), (gst_base_transform_init),
261 (gst_base_transform_transform_caps),
262 (gst_base_transform_prepare_output_buffer):
264 When a buffer is writable, its metadata is also writable so we don't
265 need to subbuffer (which then makes the buffer not-writable anymore).
268 === release 0.10.20 ===
270 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
273 releasing 0.10.20, "You Crazy Diamond"
275 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
278 0.10.19.3 pre-release
280 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
284 Rename DATADIR to GST_DATADIR to avoid build problems
285 on win32. Patch By: David Schleef <ds@schleef.org>
288 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
291 Explicitely link with -ldl if dladdr() is found there. Before it was
292 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
293 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
295 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
297 * gst/gsterror.c: (_gst_stream_errors_init):
298 Fix typo (spotted by Fabricio Godoy, #536723).
300 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
303 0.10.19.2 pre-release
305 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
307 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
308 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
310 Make sure we don't generate invalid QoS messages.
312 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
314 * gst/gstevent.c: (gst_event_new_qos):
315 Add some assert and docs for invalid input to the qos function.
317 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
319 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
320 (gst_base_sink_get_position):
321 The reported position must always be smaller than the last seen
322 timestamps (or timestamp + duration for reverse).
324 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
326 Patch by: Rob Bradford <rob at robster dot org dot uk>
328 * gst/gstregistry.c: (gst_registry_scan_path_level):
329 Don't recurse into .debug directories as some distros install
330 the debugging symbols next to the plugins in .debug directories
331 and dlopen() crashes on them sometimes. Fixes bug #508070.
333 Add FIXME for 0.11 to not recurse into directories at all because
334 it's very inconsistent to the behaviour of other PATH environment
337 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
339 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
340 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
341 Fix position query range checks in reverse playback.
343 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
347 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
348 clear of the reference to the resulting pad must be released later
349 or not, resulting in possible leaks. Fixes bug #533865.
351 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
353 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
355 * gst/gstelementfactory.c:
356 Small doc fix. Fixes #535285.
358 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
360 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
362 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
363 (gst_base_src_get_range), (gst_base_src_pad_get_range),
364 (gst_base_src_loop), (gst_base_src_set_flushing),
365 (gst_base_src_change_state):
366 Make sending an EOS event to the basesrc non-blocking even if the
367 implementation does blocking waits in the create function. This is done
368 by unlocking the create function when EOS is sent.
371 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
373 * tools/gst-inspect.c: (print_element_properties_info):
374 If possible print the element type of GValueArray properties.
376 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
379 Remove an unused field from the private GstListIterator struct.
381 2008-05-27 Stefan Kost <ensonic@users.sf.net>
383 * libs/gst/controller/gstcontroller.c:
384 Add parameter guards.
386 2008-05-27 Stefan Kost <ensonic@users.sf.net>
388 * tests/check/gst/gstpipeline.c:
389 Revert test change and add comment why it should not work.
391 2008-05-27 Stefan Kost <ensonic@users.sf.net>
393 * tests/check/gst/gstpipeline.c:
394 Extending the test a little to verify that we also get the NULL state-
397 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
399 * gst/gstpreset.c: (gst_preset_default_get_meta),
400 (gst_preset_get_preset_names), (gst_preset_get_property_names),
401 (gst_preset_load_preset), (gst_preset_save_preset),
402 (gst_preset_rename_preset), (gst_preset_delete_preset),
403 (gst_preset_set_meta):
404 Add Since: markers to docs blurbs.
406 * win32/common/libgstreamer.def:
407 Add recently-added API.
409 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
411 Patch by: Stefan Kost <ensonic@users.sf.net>
414 Add DATADIR for storing presets.
416 * docs/gst/gstreamer-docs.sgml:
417 * docs/gst/gstreamer-sections.txt:
418 * docs/gst/gstreamer.types.in:
419 Add GstPreset to docs.
423 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
424 (preset_open_and_parse_header), (preset_parse_version),
425 (preset_merge), (preset_get_keyfile),
426 (gst_preset_default_get_preset_names),
427 (gst_preset_default_get_property_names),
428 (gst_preset_default_load_preset),
429 (gst_preset_default_save_presets_file),
430 (gst_preset_default_save_preset),
431 (gst_preset_default_rename_preset),
432 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
433 (gst_preset_default_get_meta), (gst_preset_default_randomize),
434 (gst_preset_default_reset), (gst_preset_get_preset_names),
435 (gst_preset_get_property_names), (gst_preset_load_preset),
436 (gst_preset_save_preset), (gst_preset_rename_preset),
437 (gst_preset_delete_preset), (gst_preset_set_meta),
438 (gst_preset_get_meta), (gst_preset_class_init),
439 (gst_preset_base_init), (gst_preset_get_type):
441 Add GstPreset to core. Fixes #396779
443 * tests/check/Makefile.am:
444 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
445 (gst_preset_test_set_property), (gst_preset_test_class_init),
446 (gst_preset_test_base_init), (gst_preset_test_get_type),
447 (gst_preset_test_plugin_init), (GST_START_TEST),
448 (remove_preset_file), (test_setup), (test_teardown),
450 Add GstPreset unit tests.
452 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
454 * gst/gstpad.c: (gst_pad_event_default_dispatch):
455 The default event function on a sinkpad should return TRUE when
456 there are no internal links but should collect the return values from
457 the internal links otherwise.
459 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
461 * plugins/elements/gsttypefindelement.c:
462 (gst_type_find_element_src_event),
463 (gst_type_find_element_handle_event):
464 Use faster and safer _pad_push_event().
466 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
468 * docs/gst/gstreamer-sections.txt:
469 * gst/gstutils.c: (element_find_unlinked_pad),
470 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
472 API: add gst_bin_find_unlinked_pad()
473 API: deprecate gst_bin_find_unconnected_pad() (#401456)
475 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
481 Fixed a bunch of typos.
483 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
486 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
487 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
488 (gst_parse_bin_from_description_full):
490 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
492 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
494 * docs/pwg/advanced-tagging.xml:
495 Small docs update, can't be bothered to rewrite the nonsensical
498 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
501 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
503 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
505 * gst/parse/grammar.y:
506 Remove unneeded casts.
508 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
510 * gst/parse/grammar.y:
511 * tests/check/pipelines/parse-launch.c:
512 Get all missing elements from a parse launch string if possible
513 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
515 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
517 * tests/check/Makefile.am:
518 * tests/check/pipelines/parse-launch.c:
519 Add some unit tests for the new gst_parse_launch*_full() API.
520 (Exposes a previously-existing memory leak in the error code
521 path, so adding to VALGRIND_TO_FIX for now).
523 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
525 * docs/gst/gstreamer-sections.txt:
526 * gst/gst.c: (init_post):
527 * gst/gst_private.h: (_GstParseContext):
528 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
529 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
530 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
531 (gst_parse_launch_full):
532 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
533 (GstParseFlags), (GstParseContext):
534 * gst/gstutils.c: (gst_parse_bin_from_description),
535 (gst_parse_bin_from_description_full):
537 * gst/parse/grammar.y:
539 * win32/common/libgstreamer.def:
540 Add new gst_parse_*_full API (#528178):
541 API: gst_parse_launch_full()
542 API: gst_parse_launchv_full()
543 API: gst_parse_bin_from_description_full()
544 API: gst_parse_context_new()
545 API: gst_parse_context_free()
546 API: gst_parse_context_get_missing_elements()
548 2008-05-23 Stefan Kost <ensonic@users.sf.net>
550 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
552 * docs/faq/gst-uninstalled:
553 Also support ffmpeg in gst-uninstalled.
555 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
558 After discussion on IRC use the binary registry as default
559 but allow to disable it with --disable-binary-registry.
561 * win32/common/libgstreamer.def:
562 Add the two new symbols for the binary registry.
564 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
566 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
567 * gst/gstutils.c: (gst_parse_bin_from_description):
568 * gst/parse/grammar.y: (graph):
569 More guards against bad input; typo fix; some minor clean-ups.
571 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
573 Patch by: Sjoerd Simons <sjoerd at luon dot net>
575 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
576 If nothing else can be used, use the last buffer's start time as
577 the segment's last stop. Fixes bug #534258.
579 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
581 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
582 Move size sanity check to the right place: downstream may return
583 a buffer with a smaller size if the buffer caps are different than
584 the requested ones, as may happen when doing reverse negotiation.
586 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
588 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
589 (gst_file_sink_render):
590 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
591 (gst_file_src_start):
592 Small cleanups. Add note adbout g_fopen() on windows and why we don't
595 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
597 * gst/gstpad.c: (gst_pad_load_and_link):
598 * gst/gstutils.c: (gst_element_link_pads),
599 (gst_element_unlink_pads):
600 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
601 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
602 (gst_check_teardown_sink_pad),
603 (gst_check_element_push_buffer_list):
604 * tests/check/elements/fakesink.c: (GST_START_TEST):
605 * tests/check/elements/filesink.c:
606 * tests/check/elements/filesrc.c: (GST_START_TEST):
607 * tests/check/elements/multiqueue.c: (setup_multiqueue),
608 (mq_sinkpad_to_srcpad):
609 * tests/check/elements/tee.c: (GST_START_TEST):
610 * tests/check/generic/sinks.c: (GST_START_TEST):
611 * tests/check/gst/gstbin.c: (GST_START_TEST):
612 * tests/check/gst/gstevent.c: (GST_START_TEST):
613 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
614 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
615 * tests/check/gst/gstquery.c: (GST_START_TEST):
616 * tests/check/gst/gstutils.c: (GST_START_TEST):
617 * tests/check/libs/basesrc.c: (GST_START_TEST):
618 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
619 (gst_parse_test_element_change_state):
620 Don't use gst_element_get_pad().
622 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
625 Fix installing plugin documentation when gtk-doc is disabled.
627 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
629 * docs/manual/advanced-autoplugging.xml:
630 * docs/manual/basics-helloworld.xml:
631 * docs/manual/basics-pads.xml:
632 * docs/manual/highlevel-components.xml:
633 Avoid using a bad function in the example code.
635 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
637 * gst/gstclock.c: (gst_clock_set_calibration):
638 Fix debug of the new clock rate.
640 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
642 * win32/common/libgstbase.def:
643 Add gst_base_sink_wait_clock() to the exported symbols.
645 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
647 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
649 * libs/gst/base/gstbasetransform.c:
650 (gst_base_transform_sink_event):
651 Unref events that the GstBaseTransform::event vfunc didn't want to
652 have forwarded by the base class. Closes a leak in identity.
655 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
657 * docs/libs/gstreamer-libs-sections.txt:
658 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
659 * libs/gst/base/gstbasesink.h:
660 Expose a method that was previously used internally to synchronize
661 against the clock because it can be useful for subclasses too.
662 API: GstBaseSink::gst_base_sink_wait_clock()
664 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
666 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
667 Add sanity check to make sure we don't get smaller buffers
668 than requested (and fallback to normal buffer alloc if we do).
670 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
672 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
673 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
674 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
675 Refactor adjusting the running_time with latency and offset into a
677 When doing clipping, we still want to use the subclass get_times method,
678 just in case the DURATION or TIMESTAMP are not set.
680 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
682 * docs/gst/gstreamer-sections.txt:
683 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
685 * win32/common/libgstreamer.def:
686 API: add gst_type_find_suggest_simple(), #533740.
688 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
690 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
691 Use right error code when typefinding fails, so we can use
692 the default (translated) error messages.
694 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
696 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
697 (gst_base_src_start):
698 When the subclass did not set caps on outgoing buffers, configure the
699 caps we negotiated on the source pad.
700 When the typefind helper does not find caps, error out properly instead
701 of doing things with NULL caps.
703 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
706 Tabs to spaces, oh yes!
708 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
710 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
711 Add David's and Benjamin's tests for array intersection to the
712 unit test suite (#147931).
714 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
717 Document that gst_event_new_tag() and gst_event_new_navigation()
718 take ownership of the taglist/structure passed to them. (#533635).
720 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
723 Don't descend into the plugins dir if plugin docs building
727 Add a note about the new type:GTypeName syntax for the plugin
728 documentation .types file.
730 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
732 * gst/gstmessage.c: (gst_message_new_error),
733 (gst_message_new_warning), (gst_message_new_info):
735 Mark the debug string parameters as const. Fixes bug #533490.
737 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
739 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
740 Sort buffer cache list by end offsets. This makes sure that we don't
741 stop to search for a cached buffer that contains the requested data
743 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
744 more efficient. Fixes bug #459862.
746 2008-05-14 Stefan Kost <ensonic@users.sf.net>
749 Explain why we copy the list.
755 Add one debug-log statement to help tracing probelms with linking pads.
757 2008-05-12 Stefan Kost <ensonic@users.sf.net>
759 * tests/check/gst/gstinfo.c:
760 Add a test for removing the default log handler. Seems to fail under
763 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
765 * gst/gstpad.c: (gst_pad_peer_accept_caps):
766 Release pad lock before calling out to avoid a possible deadlock.
768 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
770 * gst/parse/grammar.y:
771 Remove unneeded value unset.
773 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
774 Add unit test for de/serialization of caps.
776 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
778 * plugins/elements/gstfakesink.c:
779 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
780 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
781 (gst_fake_src_class_init):
782 Use custom marshalers that take GstMiniObject as first parameter.
783 Using OBJECT as parameter while a GstMiniObject is given will lead
784 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
786 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
788 * plugins/elements/gsttypefindelement.c:
789 (gst_type_find_element_handle_event),
790 (gst_type_find_element_send_cached_events),
791 (gst_type_find_element_change_state):
792 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
795 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
797 * plugins/elements/gsttypefindelement.c:
798 (gst_type_find_handle_src_query), (stop_typefinding),
799 (gst_type_find_element_handle_event),
800 (gst_type_find_element_send_cached_events),
801 (gst_type_find_element_change_state):
802 Forward FLUSH_START events immediately and clean up instead of
805 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
807 Patch by: Sjoerd Simons <sjoerd at luon dot net>
809 * libs/gst/base/gstbasetransform.c:
810 (gst_base_transform_buffer_alloc):
811 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
812 fall back to default negotiation in the chain function if the caps
813 are different from what was requested. Fixes bug #526768.
815 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
818 * tests/check/gst/gstsegment.c:
819 No, let's not use g_slice_{dup|copy} here, since they only exist
820 since GLib 2.14 and we still depend only on >= 2.12. Also add
821 unit test for gst_segment_copy().
823 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
825 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
826 Try to fix 'dereferencing type-punned pointer will break strict
827 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
828 changed the default GType typedef from gulong to gsize at some point,
829 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
830 g_once_* functions all take a gsize * though, so work around the type
831 mismatch for C++ by doing everything in gsize and casting to GType
834 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
836 * plugins/elements/gstmultiqueue.c:
837 Add documentation for the signals to push our core plugin docs
838 coverage back up to 100%.
840 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
842 * gst/gstinfo.h (GST_FUNCTION):
843 Reverted GST_FUNCTION to the old version as we don't want the
844 full signature in C++ code. Also added support for MSVC.
846 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
849 Intern the type name string, similar to what G_DEFINE_TYPE does.
851 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
854 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
856 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
858 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
860 * libs/gst/base/gstbasetransform.c:
861 (gst_base_transform_buffer_alloc):
862 Don't passthrough buffer allocation too easily if the caps change.
863 This breaks when working in passthrough mode and upstream changes
864 it's caps. Fixes bug #526768.
866 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
868 * gst/gstinfo.c (gst_debug_log_valist):
869 Improved the __FILE__ part of debug output for MSVC.
871 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
873 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
874 Declaration after statement fix for compilers like MSVC.
876 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
878 * win32/common/config.h.in:
879 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
880 use the real thing than having "???" unconditionally.
882 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
884 * gst/gstinfo.h (GST_FUNCTION):
885 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
887 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
889 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
892 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
893 (gst_base_sink_set_flushing):
894 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
897 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
899 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
900 (gst_fake_src_init), (gst_fake_src_set_property),
901 (gst_fake_src_get_property), (gst_fake_src_start):
902 * plugins/elements/gstfakesrc.h:
903 Added format property to control the format of the newsegment events.
904 API: GstFakeSrc:format
906 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
908 * win32/common/libgstreamer.def:
909 Add gst_pad_has_name() to the exported symbols.
911 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
913 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
914 * libs/gst/base/gstbasetransform.c:
915 (gst_base_transform_prepare_output_buffer):
916 Don't allow negative sizes when allocating new buffers.
919 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
921 Patch by: Sjoerd Simons <sjoerd at luon net>
923 * gst/gstbus.c: (gst_bus_source_dispatch):
924 Don't print a warning if the queue is empty when we try to pop
925 here. That could happen if another thread or callback set the
926 bus to flushing between the source's check/prepare and the
927 dispatch being called (#531538).
929 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
931 * plugins/elements/gstmultiqueue.c:
934 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
936 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
937 Add unit test for deserializing uint64s and check some really large
938 numbers in the int64 test.
940 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
942 * tools/gst-inspect.c: (n_print), (print_hierarchy),
943 (print_interfaces), (print_element_properties_info),
945 Use "%s" as format string instead of printing strings directly.
947 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
949 * gst/gstclock.c: (gst_clock_set_calibration):
950 Make some checks actually useful.
952 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
953 Remove some unused code. Unsigned integers tend to be >= 0.
955 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
957 * gst/gstminiobject.c: (gst_value_get_mini_object):
958 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
959 function was not in the unscheduled 0.10.19 release.
961 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
963 * gst/gstregistry.c: (gst_registry_scan_path_level):
964 Only print one log message per non-plugin file.
966 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
968 * gst/gstinfo.c: (gst_debug_log_default):
969 Fix alignment of debug log columns on 64-bit.
971 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
973 * docs/libs/Makefile.am:
974 * docs/libs/gstreamer-libs-sections.txt:
975 Ignore private controller headers for docs.
977 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
979 * libs/gst/controller/gstcontrollerprivate.h:
980 * libs/gst/controller/gsthelper.c:
981 * libs/gst/controller/gstinterpolation.c:
982 * libs/gst/controller/gstinterpolationcontrolsource.c:
983 (gst_interpolation_control_source_set_interpolation_mode):
984 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
985 * libs/gst/controller/lib.c:
986 Move some private declarations into private headers.
988 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
990 * gst/gstdebugutils.c: (debug_dump_element_pad):
991 Remove some code that is unused after Stefan's refactoring and uses
992 uninitialized variables now, resulting in a compiler warning.
994 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
996 * gst/gstregistry.c: (gst_registry_scan_path_level):
997 Run g_str_has_suffix() only on the file name, not the
1000 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
1002 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
1003 Since we're not called only from the chain function any longer,
1004 we can't assume that there's always data in the queue, so move
1005 the is_full check to the beginning of the loop (otherwise we'd
1006 hit the assert when changing the limit properties while the
1007 queue is empty or not running yet).
1008 Also, only set a discont if items were actually removed from
1011 * tests/check/elements/queue.c: (test_leaky_downstream):
1012 Test case for the above.
1014 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
1016 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
1018 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
1019 (gst_queue_chain), (queue_capacity_change),
1020 (gst_queue_set_property):
1021 When changing thr max capacity of a leaky queue, immediatly drop buffers
1022 instead of waiting for a push on the sinkpad. Fixes #530637.
1024 2008-04-30 Stefan Kost <ensonic@users.sf.net>
1026 * gst/gstdebugutils.c:
1027 Refactor code and fix handling of ghostpads and their proxypads.
1029 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
1031 * docs/gst/gstreamer-sections.txt:
1032 * gst/gstevent.c: (gst_event_has_name):
1034 * tests/check/gst/gstevent.c: (GST_START_TEST):
1035 Add method to conveniently check the name of a custom event with
1036 gst_event_has_name().
1037 Reformat the event docs so that related methods are put together instead
1038 of the default alphabetical sort.
1039 Update unit test with new method.
1040 API: GstEvent::gst_event_has_name()
1042 2008-04-28 Michael Smith <msmith@songbirdnest.com>
1044 * libs/gst/check/Makefile.am:
1045 Don't add an explicit link to libgstreamer-0.10.la; it's already
1046 included in GST_OBJ_LIBS.
1048 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
1051 Register GstClock type from a type-safe context. Fixes bug #530317.
1053 2008-04-25 Michael Smith <msmith@songbirdnest.com>
1055 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
1057 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
1059 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1061 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
1063 Use the GLib stuff to create a private structure.
1064 Add some locking around some dispose methods to make them a little
1065 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
1067 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1069 * libs/gst/base/gstbasesink.h:
1070 * libs/gst/base/gstbasesrc.h:
1071 * libs/gst/base/gstbasetransform.h:
1072 * libs/gst/base/gstcollectpads.h:
1073 Fix doc typos and unify caps a bit.
1075 2008-04-25 Stefan Kost <ensonic@users.sf.net>
1077 * tools/gst-launch.1.in:
1078 Forgot to also add the envvar docs here.
1080 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
1082 * gst/gst.c: (init_post), (gst_deinit):
1083 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
1084 (test_concurrent_create), (gst_pipeline_suite):
1085 Ref some more classes in gst_init() to work around thread-safety
1086 issues in pre-2.16 GLibs, and add basic unit test.
1088 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1090 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1091 (gst_base_sink_send_event):
1092 Rearrange the latency query code. We always want to do the upstream
1093 query, even if we are not live so that the upstream elements can get the
1094 latency results too. If we fail doing the query and we are live, we
1095 return TRUE afterwards.
1097 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1099 patch by: Jason Zhao <e3423c@motorola.com>
1101 * docs/gst/running.xml:
1103 Enable/disable scan_and_update_registry() based on commandline switch
1104 or environment variable. Fixes #520468.
1107 Fix typo in my previous commit.
1109 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1111 * gst/gstregistrybinary.c:
1112 Add a warning if we hit unhandled factories when saving.
1113 More debug logging detail, but move to LOG category.
1115 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1117 * gst/gstregistry.c:
1118 Tell the *truth* when improving the documentation.
1120 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1122 * gst/gstelementfactory.c: (gst_element_factory_make):
1123 Unref the factory after it was used the last time, not before.
1125 * gst/gstindexfactory.c: (gst_index_factory_make):
1126 Improve debugging a bit and don't leak a ref to the index factory with
1129 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1131 * gst/gstregistry.c:
1132 Improve the documentation.
1134 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1137 The glib macro seems to be borked. Use g_slice_copy directly and cast
1138 in the hope that this fixes the warning on 64bit.
1140 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1143 Document the new function. Use g_slice_dup() (no need for
1144 gst_segment_init()).
1146 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1148 * docs/gst/gstreamer-sections.txt:
1149 Move GParamSepc macros to standart section.
1152 Dn't document _get_type - its in private section in docs anyway and
1153 this doc-blob was incomplete.
1156 Fix wrong symbol names in docs.
1159 Add once doc sentence.
1161 * tests/check/gst/.cvsignore:
1164 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1166 * docs/gst/Makefile.am:
1167 And remove those libs here.
1169 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1171 * docs/libs/Makefile.am:
1172 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1174 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1176 Patch by: Olivier Crete <tester at tester dot ca>
1178 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1179 Add the min-threshold to the min latency if possible. Fixes #529148.
1181 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1183 * docs/gst/gstreamer.types.in:
1184 Stupid editor, I removed that line as it should go in yet.
1186 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1188 * docs/gst/gstreamer.types.in:
1189 * docs/libs/gstreamer-libs.types:
1190 Remove library types fro core docs and have them in libs docs.
1191 Reformat and cleanup. Add comment for miniobject types.
1193 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1195 * gst/gsturi.c: (gst_uri_get_protocol):
1196 Fix leak: g_strdown operates on the string in place, while
1197 g_ascii_strdown() returns a newly-allocated string.
1199 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1201 * tools/gst-inspect.c: (print_uri_handler_info),
1202 (print_element_info):
1203 Print the URI protocols and the URI type supported by the element.
1205 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1207 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1208 Use g_value_take_string() instead of the deprecated
1209 g_value_set_string_take_ownership().
1211 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1213 * gst/gstregistrybinary.c: (_gst_crc32):
1214 Return the old CRC instead of 0 if we give a NULL buffer
1215 or a buffer with a length of 0.
1217 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1219 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1220 (gst_uri_get_protocol), (gst_uri_has_protocol),
1221 (gst_uri_construct), (gst_uri_handler_set_uri):
1222 A valid URI scheme can also include '+', '-' and '.' additional
1223 to alphanumeric characters as per RFC 3986 Section 3.1.
1225 Handle URI schemes case insensitive in all places and convert
1226 to lower-case when constructing an URI or setting an URI with
1227 the GstURIHandler interface. Fixes bug #528868.
1228 All elements can still assume (as before) that they will
1229 get passed URIs with a lower-case URI scheme by the GstURIHandler
1232 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1234 * gst/gstcaps.c: (gst_static_caps_get):
1235 * gst/gstclock.c: (gst_clock_entry_new):
1236 Don't use g_atomic_set_int where it's not needed.
1238 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1240 * gst/gstvalue.c: (gst_value_deserialize_caps):
1241 * gst/parse/grammar.y:
1244 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1246 * gst/gstutils.c: (gst_atomic_int_set):
1247 Use g_atomic_int_set() here too instead of assignment +
1250 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1254 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1255 now that we depend on new enough GLib.
1257 * gst/gstcaps.c: (gst_static_caps_get):
1258 * gst/gstclock.c: (gst_clock_entry_new):
1259 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1260 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1261 (gst_debug_category_set_threshold):
1262 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1263 (gst_base_sink_set_qos_enabled):
1264 * libs/gst/net/gstnettimeprovider.c:
1265 (gst_net_time_provider_set_property):
1266 Use g_atomic_int_set() instead of gst_atomic_int_set().
1268 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1271 Also use G_GINT64_CONSTANT for the queries.
1273 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1276 Use G_GINT64_CONSTANT in varargs function.
1278 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1280 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1281 Initialize the registry magic with zeroes.
1283 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1285 * gst/gstregistrybinary.c: (_gst_crc32),
1286 (gst_registry_binary_write),
1287 (gst_registry_binary_initialize_magic),
1288 (gst_registry_binary_write_cache),
1289 (gst_registry_binary_check_magic),
1290 (gst_registry_binary_read_cache):
1291 * gst/gstregistrybinary.h:
1292 Add crc32 checksum to the binary registry file and check this before
1293 accepting a registry file.
1295 Also free the data list when writing to the registry file fails.
1297 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1299 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1300 (gst_registry_binary_load_feature),
1301 (gst_registry_binary_load_plugin):
1302 If an element supports the Uri interface, returns a valid pointer
1303 to the supported URI protocols but this pointer contains nothing
1304 don't try to save that as it will corrupt the registry.
1306 Don't unref the plugin if we added it to the registry already but
1307 fail to load a feature as gst_registry_add_plugin() takes ownership
1310 Improve debugging a bit.
1312 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1315 Clarify some tag item docs after discussion on irc.
1317 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1319 * docs/gst/gstreamer-docs.sgml:
1320 Remove commented out plugins (they have their own docs). Update
1323 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1325 * docs/gst/gstreamer-docs.sgml:
1326 * docs/gst/gstreamer-sections.txt:
1327 * gst/gstparamspecs.c:
1328 * gst/gstparamspecs.h:
1329 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1330 docs to own section.
1333 This now only documents GValue.
1335 * docs/libs/gstreamer-libs-sections.txt:
1336 * libs/gst/controller/gstcontroller.h:
1337 Remove GST_PARAM_CONTROLLABLE.
1339 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1342 Correct file path. Tell about how to use -overrides.txt.
1343 * docs/design/draft-tagreading.txt:
1344 Small design update.
1346 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1348 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1349 (gst_registry_binary_load_plugin):
1350 Fix a typo in a debug message and revert change from yesterday as
1351 gst_registry_add_plugin() will only fail if something is really wrong
1352 already and we can't survive it anyway.
1354 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1356 * gst/gst.c: (init_post), (gst_deinit):
1357 Pre-register GstGError GType from a thread-safe context
1358 (fixes #527967); unref enum type classes in deinit.
1360 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1362 Patch by: Rene Stadler <mail at renestadler de>
1364 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1365 Merging an empty list with another list in KEEP_ALL mode should
1366 yield an empty list as result and not the second list (#512578).
1368 * tests/check/gst/gsttagsetter.c:
1369 Add unit test for tag merge modes and the aforementioned bug.
1371 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1373 Patch by: Rene Stadler <mail at renestadler de>
1376 Fix description to match the order in the table (#512577).
1378 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1380 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1382 * libs/gst/net/gstnettimepacket.h:
1383 * docs/libs/gstreamer-libs-sections.txt:
1384 Define socklen_t as int if it's not defined yet. Fixes compilation
1385 with MSVC6 and other versions where socklen_t is not defined in
1386 the windows headers (#518022).
1388 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1390 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1391 If gst_registry_add_plugin() fails our reference to the plugin is
1392 invalid so don't try to use it anymore and instead error out.
1394 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1396 * tools/gst-xmlinspect.c: (print_element_info), (main):
1397 De-cruft a bit. If no argument is specified, print all elements in
1398 XML syntax rather than a freestyle list of elements like gst-inspect.
1399 Also, don't print XML header chunk unless we actually have something
1400 to print (ie. don't print it before an error message); print error
1401 message to stderr not stdout. Remove support for printing plugin
1402 info (it would just output something freestyle along the lines of
1403 gst-inspect so far), which fixes #514507. Also add license header.
1405 2008-04-11 Julien Moutte <julien@fluendo.com>
1408 * configure.ac: Merge platform specific defines, introduce a new
1409 define on OS X to remember that forking when updating registry is
1411 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1413 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1415 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1416 condition that leads to absolutely no plugins being registered on
1419 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1421 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1423 * gst/gstutils.c: (gst_pad_add_data_probe),
1424 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1425 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1426 (gst_pad_add_buffer_probe_full):
1428 * docs/gst/gstreamer-sections.txt:
1429 * win32/common/libgstreamer.def:
1430 Add gst_pad_add_*_probe_full() functions with a notify callback that
1431 lets the caller free the data it passes to the probe functions. This
1432 is useful for bindings such as gst-python or gstreamermm (#526814).
1433 API: gst_pad_add_data_probe_full
1434 API: gst_pad_add_buffer_probe_full
1435 API: gst_pad_add_event_probe_full
1437 * tests/check/gst/gstutils.c:
1438 Add minimal unit test to make sure freeing the data actually works
1441 * tests/benchmarks/.cvsignore:
1442 Random cvsignore addendum.
1444 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1446 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1447 (GST_DEBUG_BIN_TO_DOT_FILE):
1448 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1449 to it in the docs (since these are macros the types of the arguments
1450 won't be shown in the docs otherwise).
1452 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1455 Do not abort on out of memory for pad_alloc_buffer.
1457 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1459 * libs/gst/check/gstcheck.c:
1460 Remove blank line between symbol name ad parameters to fix gtkdoc
1463 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1465 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1467 * docs/gst/gstreamer-sections.txt:
1470 * win32/common/libgstreamer.def:
1471 Expose gst_segment_copy() to make things easier for the c++ bindings.
1473 API: gst_segment_copy()
1475 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1477 * gst/gst.c: (gst_init_get_option_group), (init_post):
1478 Fix const position; ref GType classes for enum types to work
1479 around thread-safety issues in GLib versions < 2.16.
1481 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1483 * docs/design/part-buffering.txt:
1484 Fix some typos and set the estimated total for push mode to -1.
1486 * gst/gstquery.c: (gst_query_new_buffering):
1487 Set buffering-left to 0 as we're not buffering by default.
1489 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1490 Implement BUFFERING query.
1492 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1494 Based on patch by: Milosz Derezynski <internalerror gmail com>
1496 * gst/gsterror.c: (_gst_stream_errors_init):
1498 Add two new error codes for encrypted content. Fixes #524659.
1499 API: GST_STREAM_ERROR_DECRYPT
1500 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1502 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1507 * win32/common/libgstreamer.def:
1510 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1512 * plugins/elements/gstidentity.c: (gst_identity_event),
1513 (gst_identity_start):
1514 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1515 event after processing some data. Fixes bug #526042.
1517 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1519 * docs/gst/gstreamer-sections.txt:
1520 * gst/gstquery.c: (gst_query_parse_latency),
1521 (gst_query_set_buffering_percent),
1522 (gst_query_parse_buffering_percent),
1523 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1525 Rename _avail -> _range
1526 API: gst_query_set_buffering_range
1527 API: gst_query_parse_buffering_range
1529 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1531 * docs/design/part-buffering.txt:
1534 * gst/gstquery.c: (gst_query_parse_latency),
1535 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1536 (gst_query_parse_buffering_percent):
1538 Add busy field and quark for the buffering query so that the app can
1539 only use the query to see if buffering is in progress.
1541 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1543 * docs/gst/gstreamer-sections.txt:
1544 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1545 (gst_message_parse_buffering_stats):
1547 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1548 (gst_query_parse_latency), (gst_query_new_buffering),
1549 (gst_query_set_buffering_percent),
1550 (gst_query_parse_buffering_percent),
1551 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1552 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1554 Reorder the message docs and headers for clarity.
1555 Add aditional buffering stats API for messages.
1556 Add buffering query.
1557 Convert some leftover queries to use GstQuark.
1558 API: gst_message_set_buffering_stats
1559 API: gst_message_parse_buffering_stats
1560 API: GST_QUERY_BUFFERING
1561 API: GstBufferingMode
1562 API: gst_query_new_buffering
1563 API: gst_query_set_buffering_percent
1564 API: gst_query_parse_buffering_percent
1565 API: gst_query_set_buffering_stats
1566 API: gst_query_parse_buffering_stats
1568 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1570 * gst/gstmessage.c: (gst_message_new_error),
1571 (gst_message_new_warning), (gst_message_new_info),
1572 (gst_message_new_buffering), (gst_message_new_state_changed),
1573 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1574 (gst_message_new_new_clock), (gst_message_new_segment_start),
1575 (gst_message_new_segment_done), (gst_message_new_duration),
1576 (gst_message_new_async_start), (gst_message_parse_buffering),
1577 (gst_message_parse_state_changed),
1578 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1579 (gst_message_parse_new_clock), (gst_message_parse_error),
1580 (gst_message_parse_warning), (gst_message_parse_info),
1581 (gst_message_parse_segment_start),
1582 (gst_message_parse_segment_done), (gst_message_parse_duration),
1583 (gst_message_parse_async_start):
1584 Use GstQuark for messages.
1586 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1588 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1590 Add some more quarks needed for messages and queries.
1592 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1594 * docs/design/part-buffering.txt:
1595 Remove the "none" buffering mode, STREAM is a good default.
1596 Move estimated-time to the avail query, that's when it will be needed.
1597 Other small typo fixes and updates.
1599 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1601 * gst/gstindex.c: (gst_index_resolver_get_type):
1602 Don't put descriptions into the nick field of a GEnumValue: it's not
1603 meant for that and some language bindings rely on the nick field to
1604 construct constants and the like. Fixes #526705.
1606 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1611 Merge other changes from 0.10.19 release branch.
1613 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1615 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1618 Actually build dlls when cross-compiling with mingw32.
1621 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1623 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1626 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1628 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1630 * docs/design/draft-latency.txt:
1633 * docs/design/part-buffering.txt:
1634 Update design docs with more buffering ideas.
1636 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1639 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1641 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1644 Revert part that belongs to the preset patch.
1646 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1649 Add qoutes to the define. Fixes # 525961.
1651 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1653 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1654 (gst_file_index_load), (gst_file_index_add_id),
1655 (gst_file_index_get_assoc_entry):
1656 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1657 (gst_mem_index_free_id), (gst_mem_index_add_id),
1658 (gst_mem_index_index_format):
1659 Use GSlice when possible.
1661 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1663 * libs/gst/controller/gstinterpolationcontrolsource.c:
1664 (gst_control_point_free),
1665 (gst_interpolation_control_source_set_internal):
1666 Use GSlice for allocating the control points.
1668 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1670 * plugins/elements/gsttypefindelement.c:
1671 (gst_type_find_element_class_init),
1672 (gst_type_find_element_set_property),
1673 (gst_type_find_element_get_property),
1674 (gst_type_find_element_activate):
1675 * plugins/elements/gsttypefindelement.h:
1677 Fix pad leak when peer query fails.
1678 We can still typefind when the peer returns -1.
1679 Add property to force caps and bypass typefinding. This will be used in
1683 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1688 * gst/glib-compat-private.h:
1689 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1690 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1691 Unconditionally use GSlice for allocation.
1693 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1694 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1695 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1696 (gst_structure_free):
1697 Use GSlice for allocation.
1699 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1701 * gst/parse/Makefile.am:
1702 * gst/parse/grammar.tab.pre.c:
1703 * gst/parse/grammar.tab.pre.h:
1704 * gst/parse/lex._gst_parse_yy.pre.c:
1705 Require a new enough flex and bison and remove the parser hacks to use
1706 a pre-regenerated version.
1708 2008-04-01 Julien Moutte <julien@fluendo.com>
1710 patch by: Jason Zhao <E3423C@motorola.com>
1712 * configure.ac: Add a configure switch to disable option parsing
1716 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1719 * gst/gstregistry.c:
1720 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1721 and handle this case.
1724 Add a comment here describing, why we stat each plugin and not try to
1727 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1729 * libs/gst/base/gstbasetransform.c:
1730 (gst_base_transform_prepare_output_buffer):
1731 Also unset the GAP flag on buffers if we're working inplace but
1732 the element is not GAP-aware.
1734 Mark a comment as FIXME 0.11.
1736 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1739 Fix type in log message and add one to ease seeing how long registry
1740 cache verification takes.
1742 * gst/gstregistry.c:
1743 Only test plugin filenames against G_MODULE_SUFFIX.
1745 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1747 * gst/gstdebugutils.c:
1748 Improve handling ghost/proxy pads.
1750 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1752 * docs/gst/gstreamer-sections.txt:
1755 Expose macro to docs and fix link to it.
1757 2008-03-27 Michael Smith <msmith@fluendo.com>
1759 * libs/gst/dataprotocol/dataprotocol.c:
1760 (gst_dp_packet_from_event_1_0):
1761 When calculating GDP body CRC, use the correct pointer.
1762 Fixes part of #522401.
1764 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1766 Patch by: Mark Nauwelaerts <manauw at skynet be>
1768 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1769 (gst_identity_init), (gst_identity_prepare_output_buffer):
1770 Identity is not always a passthrough element, it can modify the buffer
1771 timestamps when it has a datarate and operates in single-segment mode.
1772 We therefore make it an in_place filter with a custom buffer prepare
1773 function that conditionally makes the input buffer metadata writable
1774 when needed. Fixes #523985.
1776 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1778 Patch by: Mark Nauwelaerts <manauw at skynet be>
1781 * libs/gst/base/gstbasesrc.h:
1782 * libs/gst/base/gstbasetransform.c:
1783 * libs/gst/check/gstcheck.c:
1784 Small documentation fixes. Fixes #523978.
1786 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1788 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1789 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1790 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1792 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1794 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1795 (single_queue_underrun_cb):
1796 When trying to make room in the queue, bump the max allowed buffers
1797 bigger than the current amount of buffers in the queue. this fixes some
1798 nasty deadlocks in multiqueue when dynamically changing the limits of
1801 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1803 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1805 * gst/gstcaps.c: (gst_caps_set_simple),
1806 (gst_caps_set_simple_valist), (gst_caps_intersect):
1808 Constify the field gchar * params in set_simple and friends.
1811 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1813 * gst/gstvalue.c: (gst_value_transform_object_string):
1814 Transform a GstObject to a more meaningfull string that includes the
1815 object type in addition to its name.
1817 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1820 ChangeLog surgery to add bugnumber to commit.
1822 2008-03-23 Rene Stadler <mail@renestadler.de>
1824 * libs/gst/base/gstbasetransform.c:
1825 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1827 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1829 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1830 Rename constant everywhere and don't forget one occurence.
1832 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1834 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1835 Align memory to the pointer size even if the architecture allows
1836 unaligned memory access. Unaligned memory access usually comes with
1837 performance penality.
1839 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1841 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1842 (gst_registry_binary_check_magic),
1843 (gst_registry_binary_load_pad_template),
1844 (gst_registry_binary_load_feature),
1845 (gst_registry_binary_load_plugin):
1846 Align memory to the pointer size instead of always 32 bit. Fixes
1847 unaligned memory accesses on ia64 and friends.
1849 * gst/gstregistrybinary.h:
1850 Bump binary registry format version for this as it changes the
1851 format on those architectures that don't have unaligned access
1852 and 64 bit pointers.
1854 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1856 * docs/pwg/advanced-dparams.xml:
1857 * docs/pwg/building-props.xml:
1858 * docs/pwg/other-source.xml:
1859 * gst/glib-compat.h:
1860 * gst/gstbin.c: (gst_bin_class_init):
1861 * gst/gstclock.c: (gst_clock_class_init):
1862 * gst/gstindex.c: (gst_index_class_init):
1863 * gst/gstobject.c: (gst_object_class_init):
1864 * gst/gstpad.c: (gst_pad_class_init):
1865 * gst/gstpipeline.c: (gst_pipeline_class_init):
1866 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1867 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1868 * libs/gst/base/gstbasetransform.c:
1869 (gst_base_transform_class_init):
1870 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1871 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1872 (_gst_check_fault_handler_sighandler),
1873 (_gst_check_fault_handler_setup), (gst_check_init):
1874 * libs/gst/controller/gstcontroller.c:
1875 (_gst_controller_class_init):
1876 * libs/gst/controller/gstlfocontrolsource.c:
1877 (gst_lfo_control_source_class_init):
1878 * libs/gst/net/gstnetclientclock.c:
1879 (gst_net_client_clock_class_init):
1880 * libs/gst/net/gstnettimeprovider.c:
1881 (gst_net_time_provider_class_init):
1882 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1883 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1884 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1885 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1886 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1887 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1888 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1889 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1890 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1891 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1892 * plugins/elements/gsttee.c: (gst_tee_class_init):
1893 * plugins/elements/gsttypefindelement.c:
1894 (gst_type_find_element_class_init):
1895 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1896 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1897 use it everywhere for GParamSpecs that use static strings (i.e. all).
1898 This gives us less memory usage, fewer allocations and thus less
1899 memory defragmentation. Fixes bug #523806.
1901 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1903 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1904 (gst_param_spec_mini_object):
1905 * gst/gstminiobject.h:
1906 * win32/common/libgstreamer.def:
1907 * docs/gst/gstreamer-sections.txt:
1908 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1909 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1910 GstParamSpecMiniObject into a public header for this.
1912 This make GstMiniObject a bit more consistent with GObject and makes
1913 it possible to extend the param specs.
1915 gst_value_dup_mini_object is mainly useful for set_property methods.
1919 * tools/gst-inspect.c: (print_element_properties_info):
1920 Print something useful for GstMiniObject properties and not just
1923 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1925 * docs/gst/gstreamer-sections.txt:
1926 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1927 (gst_registry_binary_check_magic):
1928 * gst/gstregistrybinary.h:
1929 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1930 and add it to the (private part) of the docs to fix the build.
1932 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1934 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1935 (gst_registry_binary_check_magic),
1936 (gst_registry_binary_read_cache):
1937 * gst/gstregistrybinary.h:
1938 Don't use GST_MAJORMINOR for the binary registry version. Instead
1939 hardcode a value that must be changed whenever the format changes
1940 in an incompatible way.
1941 Also don't GST_ERROR when there is a version mismatch, just
1942 regenerate the registry silently.
1944 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1947 Back to development - 0.10.18.1
1949 === release 0.10.18 ===
1951 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1954 releasing 0.10.18, "So far away"
1956 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1959 * win32/common/config.h:
1960 0.10.17.4 pre-release
1962 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1964 Patch by: Ole André Vadla Ravnås
1965 <ole dot andre dot ravnas at tandberg dot com>
1967 * docs/gst/gstreamer-sections.txt:
1968 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1969 (gst_poll_update_winsock_event_mask),
1970 (gst_poll_prepare_winsock_active_sets),
1971 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1972 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1973 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1974 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1975 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1977 * win32/common/libgstreamer.def:
1978 Add new function gst_poll_fd_ignored() for improved Windows
1980 Various minor fixes and cleanups. See #520808.
1982 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1984 * gst/gstindex.c: (gst_index_entry_free):
1986 Don't free key strings which we don't own. Fixes crash in
1987 gst_index_entry_free() (#522741).
1989 * tests/check/Makefile.am:
1990 * tests/check/gst/.cvsignore:
1991 * tests/check/gst/gstindex.c: (test_index_entries),
1992 (gst_index_suite), (gst_index):
1993 Add unit test for the above.
1995 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1997 * win32/common/libgstreamer.def:
1998 Remove symbols that were removed recently. Fixes bug #521740.
2000 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
2003 * win32/common/config.h:
2004 0.10.17.3 pre-release
2006 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
2008 Patch by: Ole André Vadla Ravnås
2009 <ole dot andre dot ravnas at tandberg dot com>
2011 * docs/gst/gstreamer-sections.txt:
2012 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
2013 (gst_poll_update_winsock_event_mask), (gst_poll_new),
2014 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
2015 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2016 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
2017 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
2018 (gst_poll_fd_can_write), (gst_poll_wait),
2019 (gst_poll_set_controllable), (gst_poll_restart),
2020 (gst_poll_set_flushing):
2022 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
2023 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
2024 (gst_net_time_provider_new):
2025 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2026 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
2027 * tests/benchmarks/gstpollstress.c: (main):
2028 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
2029 Remove GstPollMode from the API, it does not make sense to let the
2030 application control this.
2031 Add support for Win32.
2032 Fix the testsuite. Fixes #520671.
2034 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
2036 Patch by: Ole André Vadla Ravnås
2037 <ole dot andre dot ravnas at tandberg dot com>
2039 * gst/gstregistrybinary.c:
2040 Include io.h for write() and close() when building with MSVC. Fixes
2043 2008-03-07 Stefan Kost <ensonic@users.sf.net>
2046 * gst/gst_private.h:
2047 * gst/gstconfig.h.in:
2048 * gst/gstregistry.h:
2049 * gst/gstregistrybinary.c:
2050 * win32/common/gstconfig.h:
2051 Move registry backend API to private headers where we can. Add
2052 fixme-0.11 comments for the others. Add stubs for the xml backend when
2053 using the binary to ensure they functions exists (they should not be
2054 used though). Fixes #520756.
2056 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
2059 * win32/common/config.h:
2062 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2064 * gst/gstregistrybinary.c: (gst_registry_binary_write),
2065 (gst_registry_binary_read_cache):
2066 * gst/gstregistryxml.c: (gst_registry_save):
2067 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
2068 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
2069 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2070 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
2071 Switch to using portabl gsize/gssize instead of size_t/ssize_t
2074 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
2076 * gst/gstminiobject.c:
2077 Import gst_private.h before any other header that might include other
2078 glib headers. This fixes the build on windows using native compilers.
2080 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2082 * win32/common/gstconfig.h:
2083 Add here too, just for completeness.
2085 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2088 * gst/gstconfig.h.in:
2089 * gst/gstregistry.h:
2090 Fix broken use of config.h-defined preprocessor directive in a public
2091 header file. Add a corresponding define to gstconfig.h, since we can't
2092 really remove those function declarations from the header file now
2093 (or can we? and why are they there in the first place?).
2095 2008-03-03 Andy Wingo <wingo@pobox.com>
2097 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2100 * gst/gststructure.c (gst_structure_from_string): Warn if
2101 structure_from_string didn't consume the whole string, but the
2102 caller did not provide an end pointer.
2104 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2106 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2108 * gst/gstregistryxml.c: (read_string), (load_feature):
2109 Strings allocated by libxml2 should be freed with xmlFree(), not
2110 with g_free(). Fixes issues on windows in certain contexts (#519698).
2112 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2114 * gst/gstinterface.c: (gst_element_implements_interface):
2115 Don't crash if the element supports the interface queried, but does
2116 not implement GstImplementsInterface. Fixes #519584.
2118 * tests/check/Makefile.am:
2119 * tests/check/gst/.cvsignore:
2120 * tests/check/gst/gstinterface.c:
2121 Add unit test for the above.
2123 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2125 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2128 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2130 * gst/gstsegment.c: (gst_segment_set_seek),
2131 (gst_segment_to_stream_time):
2132 Improve some comment.
2133 Update variables where it makes more sense.
2135 2008-02-29 Rene Stadler <mail@renestadler.de>
2137 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2138 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2139 URIHandlers implemented using language bindings.
2141 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2143 * gst/gstelementfactory.h:
2144 * tests/check/elements/fakesink.c:
2145 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2146 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2147 * tests/check/elements/filesink.c: (setup_filesink):
2148 * tests/check/elements/filesrc.c: (setup_filesrc):
2149 * tests/check/elements/identity.c: (setup_identity):
2150 * tests/check/elements/tee.c:
2151 * tests/check/generic/sinks.c:
2152 * tests/check/generic/states.c: (setup), (teardown):
2153 * tests/check/gst/gst.c:
2154 * tests/check/gst/gstabi.c:
2155 * tests/check/gst/gstbin.c:
2156 * tests/check/gst/gstbus.c: (pull_messages):
2157 * tests/check/gst/gstcaps.c:
2158 * tests/check/gst/gstelement.c:
2159 * tests/check/gst/gstevent.c:
2160 * tests/check/gst/gstghostpad.c:
2161 * tests/check/gst/gstiterator.c:
2162 * tests/check/gst/gstmessage.c:
2163 * tests/check/gst/gstminiobject.c: (my_foo_init):
2164 * tests/check/gst/gstobject.c: (thread_name_object),
2166 * tests/check/gst/gstpad.c:
2167 * tests/check/gst/gstplugin.c:
2168 * tests/check/gst/gstpoll.c:
2169 * tests/check/gst/gstquery.c:
2170 * tests/check/gst/gstsegment.c:
2171 * tests/check/gst/gststructure.c:
2172 * tests/check/gst/gstsystemclock.c:
2173 * tests/check/gst/gsttask.c:
2174 * tests/check/gst/gstutils.c:
2175 * tests/check/gst/gstvalue.c:
2176 * tests/check/gst/struct_hppa.h:
2177 * tests/check/gst/struct_i386.h:
2178 * tests/check/gst/struct_ppc32.h:
2179 * tests/check/gst/struct_ppc64.h:
2180 * tests/check/gst/struct_x86_64.h:
2181 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2182 * tests/check/libs/basesrc.c:
2183 * tests/check/libs/controller.c: (GST_START_TEST):
2184 * tests/check/libs/gdp.c:
2185 * tests/check/libs/gstnetclientclock.c:
2186 * tests/check/libs/gstnettimeprovider.c:
2187 * tests/check/libs/libsabi.c:
2188 * tests/check/libs/struct_hppa.h:
2189 * tests/check/libs/struct_i386.h:
2190 * tests/check/libs/struct_ppc32.h:
2191 * tests/check/libs/struct_ppc64.h:
2192 * tests/check/libs/struct_x86_64.h:
2193 * tests/check/pipelines/cleanup.c:
2194 * tests/check/pipelines/simple-launch-lines.c:
2195 * tests/check/pipelines/stress.c:
2196 And correct even more valid sparse warnings.
2198 * win32/common/libgstreamer.def:
2199 Add gst_poll_fd_init to the list of symbols.
2201 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2203 * gst/gstconfig.h.in:
2204 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2205 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2206 (gst_check_log_critical_func), (gst_check_drop_buffers),
2207 (gst_check_element_push_buffer_list):
2208 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2209 (gst_controller_get_type):
2210 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2211 (gst_object_get_controller), (gst_object_get_control_source):
2212 * libs/gst/controller/gstinterpolationcontrolsource.c:
2213 (gst_interpolation_control_source_new):
2214 * libs/gst/controller/gstlfocontrolsource.c:
2215 (gst_lfo_control_source_new):
2216 * libs/gst/dataprotocol/dataprotocol.c:
2217 (gst_dp_event_from_packet_0_2):
2218 * plugins/elements/gstfdsrc.c:
2219 * plugins/elements/gstmultiqueue.c:
2220 * plugins/elements/gsttee.c:
2221 * plugins/elements/gsttypefindelement.c:
2222 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2223 (gst_file_index_add_association):
2224 * plugins/indexers/gstmemindex.c:
2225 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2226 * tests/check/elements/queue.c: (setup_queue):
2227 * tests/check/gst/gstpipeline.c:
2228 * tests/check/libs/collectpads.c: (setup), (teardown),
2229 (gst_collect_pads_suite):
2230 * tests/examples/adapter/adapter_test.c:
2231 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2232 * tests/examples/xml/createxml.c:
2233 * tests/examples/xml/runxml.c:
2234 * tools/gst-inspect.c:
2236 Correct all relevant warnings found by the sparse semantic code
2237 analyzer. This include marking several symbols static, using
2238 NULL instead of 0 for pointers, not using variable sized arrays
2239 on the stack, moving variable declarations to the beginning of
2240 a block and using "foo (void)" instead of "foo ()" for declarations.
2242 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2244 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2245 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2246 Don't reset GstPollFDs, this is not necessary at all.
2248 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2249 (delayed_restart), (delayed_control):
2250 Use GST_POLL_FD_INIT.
2252 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2254 * gst/gstpoll.c: (gst_poll_fd_init):
2258 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2259 Use some more init macros.
2261 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2263 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2264 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2265 Use init macros and functions.
2267 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2269 * docs/gst/gstreamer-sections.txt:
2270 * gst/gstpoll.c: (gst_poll_fd_init):
2272 Add INIT macro and _init method for initializing the GstPollFD.
2274 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2276 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2277 (gst_fd_sink_update_fd):
2278 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2279 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2280 (delayed_restart), (delayed_control):
2281 Initialize some uninitialized variables as spotted by valgrind.
2283 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2285 * tests/benchmarks/Makefile.am:
2286 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2288 Add poll stress test.
2290 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2292 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2294 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2295 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2296 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2297 * plugins/elements/gstfdsink.h:
2298 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2299 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2300 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2301 (gst_fd_src_uri_set_uri):
2302 * plugins/elements/gstfdsrc.h:
2303 Port to GstPoll. See #505417.
2305 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2307 * win32/common/libgstreamer.def:
2308 Add new gst_poll_ symbols to win32 defs.
2310 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2312 * docs/libs/gstreamer-libs-sections.txt:
2313 * libs/gst/net/gstnetclientclock.c:
2314 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2315 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2316 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2317 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2318 * libs/gst/net/gstnetclientclock.h:
2319 * libs/gst/net/gstnettimeprovider.c:
2320 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2321 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2322 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2323 (gst_net_time_provider_new):
2324 * libs/gst/net/gstnettimeprovider.h:
2325 Use a private stuct to not break ABI.
2327 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2329 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2331 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2332 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2333 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2334 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2335 * libs/gst/net/gstnetclientclock.h:
2336 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2337 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2338 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2339 (gst_net_time_provider_new):
2340 * libs/gst/net/gstnettimeprovider.h:
2341 Massive code removal and cleanups because of GstPoll.
2344 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2347 Add checks for poll, ppoll and pselect.
2349 * docs/gst/gstreamer-docs.sgml:
2350 * docs/gst/gstreamer-sections.txt:
2351 Add docs for GstPoll.
2355 * gst/gstpoll.c: (find_index), (selectable_fds),
2356 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2357 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2358 (gst_poll_set_mode), (gst_poll_get_mode),
2359 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2360 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2361 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2362 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2363 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2364 (gst_poll_fd_can_write), (gst_poll_wait),
2365 (gst_poll_set_controllable), (gst_poll_restart),
2366 (gst_poll_set_flushing):
2368 Add generic poll abstraction. We ideally don't want to have this in core
2369 here but in glib intead...
2370 This code will be used in various network elements and ultimately for
2371 the nanosecond precision monotonic clock (that's why it's here in core).
2372 It'll allow us to implement cancelable socket operations for windows too.
2374 * tests/check/Makefile.am:
2375 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2376 (delayed_stop), (delayed_restart), (delayed_flush),
2377 (delayed_control), (gst_poll_suite):
2378 Add GstPoll unit test.
2380 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2383 Improve documentation of gst_filter_run(). Fixes #518627.
2385 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2388 Add a few lines about the new 'check-inspected-versions' target.
2390 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2392 * tests/check/gst/gstevent.c:
2393 Add qos to the event test. Rename tcase/tsuite; is not only about
2396 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2398 * plugins/elements/gstqueue.c:
2399 Ensure that buffer metadata is writeable, before modifying. Spotted by
2402 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2404 * plugins/elements/gstqueue.c:
2405 * plugins/elements/gstqueue.h:
2406 When dropping buffers in leaky modes, mark next buffers we sent as
2409 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2411 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2412 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2414 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2416 * plugins/elements/Makefile.am:
2417 * plugins/elements/gstbufferstore.c:
2418 * plugins/elements/gstbufferstore.h:
2419 * plugins/elements/gsttypefindelement.h:
2420 Remove GstBufferStore, no idea why we were still building it.
2421 It's not used anywhere and superseded by GstAdapter.
2423 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2424 (gst_file_src_create_mmap):
2425 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2426 Printf format fixes for 64-bit integers.
2428 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2431 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2432 We're not in 0.8 times anymore.
2434 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2436 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2437 (gst_check_element_push_buffer_list):
2438 * libs/gst/check/gstcheck.h:
2439 Make the declaration in the header for
2440 gst_check_element_push_buffer_list match the implementation.
2442 Fix up spelling, grammar and wording of the documentation in a few
2443 places, and add the Since keyword to new API functions.
2444 Use g_list_delete_link instead of g_list_remove in
2445 gst_check_drop_buffers, since it's immeasurably more efficient.
2447 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2448 Use new gst_check_drop_buffers function where appropriate.
2450 * win32/common/libgstbase.def:
2451 * win32/common/libgstreamer.def:
2452 Add new symbols gst_collect_pads_take_buffer,
2453 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2456 Changelog surgery to add API keyword to new gst_check API.
2458 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2460 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2461 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2462 Update pre-generated flex files with flex 2.3.34.
2464 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2466 * gst/gstminiobject.c:
2467 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2468 friendly to subclasses and not require them to know all internals
2469 of their parent class.
2471 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2473 * docs/libs/gstreamer-libs-sections.txt:
2474 * libs/gst/base/gstcollectpads.c:
2475 * libs/gst/base/gstcollectpads.h:
2476 Add sub-buffer functions to collectpads. Fixes #516187.
2477 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2479 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2482 Copy selected buffer-flags when creating subbuffers.
2485 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2487 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2488 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2489 * gst/gstmessage.c: (gst_message_class_init),
2490 (gst_message_finalize):
2491 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2492 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2493 (gst_mmap_buffer_finalize):
2494 Properly chain up finalize functions to the parent class.
2496 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2498 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2500 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2501 (gst_index_set_resolver_full):
2503 Add new function with option to dispose of user_data in resolver.
2504 Actually call the dispose function when finalizing the object and not
2505 just when changing the resolver/filter.
2506 API: GstIndex::gst_index_set_resolver_full()
2508 * docs/gst/gstreamer-sections.txt:
2509 Add new function to docs. Fixes #515469.
2511 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2513 * gst/gstindex.c: (gst_index_finalize):
2514 Chain up finalize to the parent class. Fixes leaking the GstObject
2515 name and other things.
2517 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2520 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2521 pre-releases or releases.
2523 * docs/faq/gst-uninstalled:
2526 * docs/random/release:
2527 Change one of the steps - we only upload core & base to Gnome FTP
2529 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2531 * gst/gstconfig.h.in:
2532 Add 'id' for example.
2536 * plugins/elements/gstfdsink.c:
2537 Link to signals. Doc and comment fixes.
2539 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2541 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2542 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2543 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2544 unused and unimplemented; finally, it is plugin features, not
2545 plugins, that have ranks.
2547 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2549 * gst/gstpluginfeature.h:
2550 Clarify GstRank range docs.
2552 2008-02-05 David Schleef <ds@schleef.org>
2554 * gst/gst.c: Add a separate gst_deinitialized that prevents
2555 gst_init() from being called after gst_deinit(). Fixes #509559
2557 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2559 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2560 (gst_bin_class_init):
2561 * gst/gstelement.c: (gst_element_base_class_init),
2562 (gst_element_class_add_pad_template):
2563 * gst/gstpadtemplate.c: (gst_pad_template_init):
2564 * gst/gstpipeline.c: (gst_pipeline_get_type),
2565 (gst_pipeline_base_init), (gst_pipeline_class_init):
2566 * libs/gst/base/gstbasesink.c:
2567 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2568 (gst_base_src_base_init), (gst_base_src_class_init):
2569 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2570 (gst_capsfilter_class_init):
2571 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2572 (gst_fake_sink_class_init):
2573 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2574 (gst_fake_src_class_init):
2575 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2576 (gst_fd_sink_class_init):
2577 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2578 (gst_fd_src_class_init):
2579 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2580 (gst_file_sink_class_init):
2581 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2582 (gst_file_src_class_init):
2583 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2584 (gst_identity_class_init):
2585 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2586 (gst_multi_queue_class_init):
2587 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2588 (gst_queue_class_init):
2589 * plugins/elements/gsttee.c: (gst_tee_base_init),
2590 (gst_tee_class_init):
2591 * plugins/elements/gsttypefindelement.c:
2592 (gst_type_find_element_base_init),
2593 (gst_type_find_element_class_init):
2594 * tests/check/gst/gstelement.c: (gst_element_suite):
2595 Revert previous changes to the behaviour of GstPadTemplates, etc
2596 and the possiblity to call them in class_init as it breaks too
2597 many elements. Reopens bug #491501.
2599 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2602 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2604 * tools/gst-launch.c:
2605 Dump one graph per pipeline state-change and state change name
2606 (if GST_DEBUG_DUMP_DOT_DIR is set).
2608 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2611 * tests/check/gst/gstpad.c:
2612 Be sure that we have a new copy of the caps and not
2613 reffed caps from a template
2615 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2617 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2618 * gst/gstpipeline.c: (gst_pipeline_get_type),
2619 (gst_pipeline_class_init):
2620 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2621 (gst_base_sink_class_init):
2622 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2623 (gst_base_src_class_init):
2624 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2625 (gst_base_transform_class_init):
2626 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2627 (gst_collect_pads_class_init):
2628 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2629 * libs/gst/net/gstnettimeprovider.c:
2630 (gst_net_time_provider_base_init),
2631 (gst_net_time_provider_class_init):
2632 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2633 (gst_capsfilter_class_init):
2634 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2635 (gst_fake_sink_class_init):
2636 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2637 (gst_fake_src_class_init):
2638 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2639 (gst_fd_sink_class_init):
2640 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2641 (gst_fd_src_class_init):
2642 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2643 (gst_file_sink_class_init):
2644 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2645 (gst_file_src_class_init):
2646 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2647 (gst_identity_class_init):
2648 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2649 (gst_multi_queue_class_init):
2650 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2651 (gst_queue_class_init):
2652 * plugins/elements/gsttee.c: (gst_tee_base_init),
2653 (gst_tee_class_init):
2654 * plugins/elements/gsttypefindelement.c:
2655 (gst_type_find_element_base_init),
2656 (gst_type_find_element_class_init):
2657 Don't use base_init where not absolutely necessary. For example it's
2658 not necessary anymore for adding pad templates or setting element
2661 Leave empty base_init functions in several places as GST_BOILERPLATE
2662 still defines and uses them.
2664 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2666 * gst/gstelement.c: (gst_element_base_class_init),
2667 (gst_element_class_add_pad_template):
2668 * gst/gstpadtemplate.c:
2669 Make it possible (and recommended) to set element details and add
2670 pad templates in the class_init functions by copying the details/pad
2671 templates in GstElement's base_init.
2673 Also make it possible to replace existing pad templates by adding
2674 a new one with the same name. This was done in a hackish fashion
2675 in same elements before already.
2677 Don't reference pad templates that are added a second time. A
2678 new pad template has a refcount of one and is not floating anymore
2679 and to be owned by the element's class. Make this more explicit by
2680 mentioning it in the docs of gst_element_class_add_pad_template().
2682 These changes are backwards compatible. Fixes bug #491501.
2684 * tests/check/gst/gstelement.c:
2685 Add unit test for setting element details, adding pad templates and
2686 replacing them in a subclass.
2688 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2690 * tools/gst-inspect.c: (print_interfaces),
2691 (print_element_properties_info), (print_pad_info),
2692 (print_signal_info), (print_element_info):
2693 Fix a few memory leaks.
2695 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2697 * docs/libs/gstreamer-libs-sections.txt:
2698 * libs/gst/check/gstcheck.c:
2699 * libs/gst/check/gstcheck.h:
2700 Add more functions for unit testing: gst_check_drop_buffers,
2701 gst_check_caps_equal, gst_check_element_push_buffer_list,
2702 gst_check_element_push_buffer
2703 API: gst_check_drop_buffers
2704 API: gst_check_caps_equal
2705 API: gst_check_element_push_buffer_list
2706 API: gst_check_element_push_buffer
2708 2008-02-01 Julien Moutte <julien@fluendo.com>
2710 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2711 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2712 (gst_index_finalize), (gst_index_entry_free),
2713 (gst_index_add_association): Fix memory leaks.
2714 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2715 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2716 (gst_mem_index_free_format), (gst_mem_index_free_id),
2717 (gst_mem_index_finalize): Fix memory leaks.
2718 * win32/common/config.h: Updated to CVS HEAD.
2720 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2723 Some more details about how the plugin docs works.
2725 * docs/plugins/gstreamer-plugins-sections.txt:
2728 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2730 * gst/parse/grammar.tab.pre.c:
2731 * gst/parse/grammar.tab.pre.h:
2732 * gst/parse/grammar.y:
2733 * gst/parse/lex._gst_parse_yy.pre.c:
2734 Add delayed set-property. This allows to set properties on dynamicaly
2735 created objects (pads in videomxer). Fixes #509391.
2737 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2740 Check if caps are not NULL (fix bug #510194)
2742 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2744 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2745 (gst_base_sink_get_position_paused):
2746 Add fixme regarding EOS in pull mode.
2747 Fix position reporting in PAUSED for negative rates.
2749 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2751 * gst/gstminiobject.c: (gst_mini_object_replace):
2752 When replacing a miniobject, do a quick equality check first so that we
2753 can avoid a ref/unref pair.
2755 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2757 * docs/design/part-synchronisation.txt:
2760 * docs/plugins/Makefile.am:
2761 * docs/plugins/gstreamer-plugins-docs.sgml:
2762 * docs/plugins/gstreamer-plugins-sections.txt:
2763 * plugins/elements/gstmultiqueue.c:
2764 Add multiqueue to the docs.
2766 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2771 === release 0.10.17 ===
2773 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2776 releasing 0.10.17, "Due Negligence"
2778 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2781 Revert caps != NULL check temporarily for 0.10.17 release.
2783 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2786 Check if caps are not NULL (fix bug #510194)
2788 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2791 Fix compilation on systems that have posix timers but no
2794 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2797 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2799 * tools/gst-inspect.c:
2800 Revert previous commit in preparation for an impromptu 0.10.17 release
2802 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2804 * tools/gst-inspect.c: (print_interfaces),
2805 (print_element_properties_info), (print_pad_info),
2806 (print_signal_info), (print_element_info):
2807 Fix a few memory leaks.
2809 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2814 === release 0.10.16 ===
2816 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2819 releasing 0.10.16, "Special Dispensation"
2821 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2824 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2825 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2826 not fail when trying to crosscompile on OpenEmbedded (#511750).
2828 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2831 Use $(MAKE) instead of make to fix the build if GNU make is
2832 called different. Fixes bug #510747.
2834 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2836 * gst/gstplugin.c: (_gst_plugin_initialize):
2837 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2838 again, which I broke two commits ago when changing the API
2839 of gst_plugin_register_static(): the g_list_foreach() in
2840 _gst_plugin_register_static still assumed the old function
2841 signature and would therefore fail (re-fixes #510187).
2843 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2844 (_gst_plugin_register_static), (gst_plugin_register_static):
2845 Revert the (technically correct) change to call g_thread_init() from
2846 the pre-main() constructor. This will break programs which call
2847 g_thread_init() without an if (!g_thread_supported()) guard in their
2848 main function. We could just blame it on GLib or the application, but
2849 it's probably best to just avoid this altogether and simply not use
2850 any GLib functions here and use plain old malloc() with a simple
2851 array to store the plugins to register later when gst_init() is
2852 finally called (re-fixes #510187).
2854 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2855 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2856 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2857 (GST_START_TEST), (gst_plugin_suite):
2858 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2861 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2863 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2864 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2865 This makes gtk-doc complain, but results in slightly better
2866 compiler errors. The old _gst_plugin_register_static() is
2867 still guarded, so there'll be a compiler warning about that
2868 instead. Fixes #510187 too.
2870 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2872 * gst/gst.c: (init_post):
2873 * gst/gstplugin.c: (_gst_plugin_register_static),
2874 (gst_plugin_register_static), (_gst_plugin_initialize):
2875 * gst/gstplugin.h: (GstPluginFilter):
2876 Change API of gst_plugin_register_static() to not take
2877 a GstPluginDesc, but rather just take all the arguments
2878 in a GstPluginDesc directly. This is more intuitive and
2879 avoids certain mistakes when porting code from
2880 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2883 * tests/check/gst/gstplugin.c:
2884 Fix up for changed API.
2886 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2888 * docs/faq/legal.xml:
2889 Update FAQ, Totem actually has an exception these days.
2891 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2893 * win32/common/libgstreamer.def:
2894 Add new API declarations
2896 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2898 * gst/gstminiobject.c:
2899 Spelling fixes for the API docs.
2901 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2903 * libs/gst/base/gstbasetransform.c:
2904 Fix long property description for QoS.
2906 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2909 _gst_trace_on is already provided by gsttrace.h, no need to declare
2912 * docs/libs/gstreamer-libs-sections.txt:
2913 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2914 and remove strange tcase_add_test which is outputting a warning.
2916 * libs/gst/check/gstcheck.c:
2917 * libs/gst/check/gstcheck.h:
2918 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2919 and define them in gstcheck.c instead of having every .c file whcih
2920 includes gstcheck.h be defining its own copy and relying on symbol
2921 interposing to marry them all, which doesn't work on Solaris.
2923 * tests/check/elements/identity.c: (GST_START_TEST):
2924 Don't define 'buffers' locally, it comes from libgstcheck.
2926 * tests/check/generic/sinks.c: (send_buffer):
2927 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2929 * tests/check/gst/gststructure.c: (GST_START_TEST):
2930 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2931 * tests/check/gst/gstutils.c: (GST_START_TEST):
2932 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2933 Add a bunch of casts to make various constants fit the types
2934 they're being assigned to.
2936 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2938 * gst/gstchildproxy.c:
2939 Improve docs and add some ideas for making this more general-purpose.
2941 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2943 * gst/gst_private.h: (GST_CAT_TYPES):
2944 Add GST_CAT_TYPES, for consistency, and so that the other
2945 debug categories don't make fun of it. Spotted by Saur on IRC.
2947 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2949 * gst/parse/Makefile.am:
2950 Move types.h from EXTRA_DIST to noinst_HEADERS.
2952 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2955 Add -Wno-portability to the automake parameters to stop warnings
2956 about GNU make extensions being used. We require GNU make in almost
2957 every Makefile anyway.
2960 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2961 at the same time is required for per target flags.
2963 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2966 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2967 __GNUC__ is defined before using it.
2969 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2971 * docs/gst/gstreamer-sections.txt:
2972 * gst/gst.c: (init_post):
2973 * gst/gstplugin.c: (_gst_plugin_register_static),
2974 (gst_plugin_register_static), (_gst_plugin_initialize),
2975 (gst_plugin_register_func):
2976 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2977 API: add gst_plugin_register_static() and deprecate
2978 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2980 Also, in _gst_plugin_register_static(), make sure to call
2981 g_thread_init() before calling GLib functions such as
2982 g_list_append() if we're not initialised yet, since that
2983 may lead to random crashes with older GSlice/GLib versions.
2985 * tests/check/gst/gstplugin.c:
2986 Adapt unit test to above changes.
2988 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2990 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2991 * gst/gstcaps.c: (gst_caps_to_string):
2992 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2993 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2994 Yet another gratuitous GString micro-optimisation: add a (private)
2995 function that serialises a structure appending to an existing
2996 GString, so that when we serialise caps we don't need to alloc+free
2997 a throwaway GString for each structure (each of which also entailing
2998 multiple reallocs on the way); also use g_string_sized_new() in
2999 various places with an approximate string length to avoid reallocs
3000 within GString. See #500143.
3002 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
3004 * gst/gststructure.c: (gst_structure_id_set_value):
3005 Always check UTF-8 conformance of structure strings and not only
3006 if the debugging system is enabled; reasoning: the behaviour of
3007 the actual code shouldn't really change depending on whether the
3008 debugging system is enabled or not (#508291).
3010 2008-01-09 Stefan Kost <ensonic@users.sf.net>
3013 Remove old coverage target in favour of "make lcov".
3015 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3017 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
3018 (gst_base_src_loop):
3019 The start segment for reverse playback goes from start to last_stop.
3021 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3023 Patch by: Peter Kjellerstedt <pkj axis com>
3026 Cast the results from the timeval/spec_to_time macros to what the
3027 docs say it casts to, a GstClockTime. fixes #508175.
3029 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
3032 Update some comments.
3034 * tools/gst-inspect.c: (print_element_properties_info):
3035 Improve printing of flags.
3037 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
3039 * libs/gst/base/gstbasetransform.c:
3040 (gst_base_transform_transform_size):
3041 Print element name with g_warning() if there's a problem
3044 2008-01-07 David Schleef <ds@schleef.org>
3046 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
3048 * libs/gst/controller/gstcontroller.h:
3049 * libs/gst/controller/gstcontrolsource.h:
3050 * libs/gst/controller/gstinterpolationcontrolsource.h:
3051 * libs/gst/controller/gstlfocontrolsource.h:
3052 * libs/gst/dataprotocol/dataprotocol.h:
3053 Fix empty prototypes. Fixes bug #507957.
3055 2008-01-07 David Schleef <ds@schleef.org>
3057 * docs/faq/dependencies.xml: Fix typo.
3059 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
3061 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
3062 (gst_base_src_loop):
3063 Don't update the last_stop position in do_seek, that's the position we
3065 Read backwards when we have a negative rate.
3067 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
3068 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
3070 Add check for reverse reading.
3072 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
3074 Patch by: Alexis Ballier <aballier at gentoo org>
3076 * tests/check/gst/gstabi.c:
3077 * tests/check/gst/struct_ppc64.h:
3078 * tests/check/libs/libsabi.c:
3079 * tests/check/libs/struct_ppc64.h:
3080 Decide which header to include based on the userland ABI target
3081 and not the kernel/cpu. Fix up structure sizes of ppc64 header
3082 for 64-bit userland (#503590). Might need something similar for
3085 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3087 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3088 Log the reason why fopen fails in addition to the fact that it failed.
3090 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3092 * gst/parse/parse.l:
3093 Use "%option never-interactive" to prevent useless calls to isatty()
3094 on every input when parsing. Also use "%option noinput" to not define
3095 the static input/yyinput functions which we don't use anyway. This
3096 removes a compiler warning with gcc 4.3 and saves some bytes in the
3099 * gst/parse/lex._gst_parse_yy.pre.c:
3100 Regenerated for the above change.
3102 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3104 * gst/gstpad.c: (fixate_value):
3105 Don't crash when trying to fixate and empty list.
3108 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3110 * docs/faq/gst-uninstalled:
3111 Clarify the comments to make the usage of this script and what it
3112 does easier to understand.
3114 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3116 * tools/gst-plot-timeline.py:
3117 Add more options to gst-plot-timeline
3119 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3121 * docs/design/part-synchronisation.txt:
3122 Some more info on how the stream_time in GstBaseSink is done.
3124 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3126 * tests/check/generic/sinks.c: (gst_sinks_suite):
3127 Put back the tcase_set_timeout(), apparently it's needed after
3128 all; fix it up in a way that makes things work with valgrind too.
3130 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3132 * gst/gstdebugutils.c:
3133 Add warning when failed to open file for writing.
3135 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3137 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3139 * gst/gstvalue.c: (gst_value_is_fixed):
3140 Optimisation: bail out of the loop as early as possible (#500143).
3142 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3144 * gst/gstcaps.c: (gst_caps_to_string):
3145 * gst/gstinfo.c: (gst_debug_construct_term_color):
3146 * gst/gstparse.c: (gst_parse_launchv):
3147 * gst/gstutils.c: (gst_util_dump_mem):
3148 * gst/gstvalue.c: (gst_value_serialize_any_list),
3149 (gst_value_transform_any_list_string):
3150 Bunch of gratuitous nano-optimisations.
3152 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3154 * tests/check/generic/sinks.c: (async_done_func),
3155 (async_done_eos_func):
3156 Fix leak in unit test (bus sync handler must unref the message
3157 if it returns GST_BUS_DROP). Don't fiddle with the default test
3158 timeout, this is smaller than the current preconfigured value
3159 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3160 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3162 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3164 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3167 Check for stdio_ext.h for the filesink changes.
3169 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3170 (gst_file_sink_class_init), (gst_file_sink_init),
3171 (gst_file_sink_dispose), (gst_file_sink_set_property),
3172 (gst_file_sink_get_property), (gst_file_sink_open_file),
3173 (gst_file_sink_close_file):
3174 * plugins/elements/gstfilesink.h:
3175 Add two properties to control the buffering mode and size.
3176 API: GstFileSink::buffer-mode
3177 API: GstFileSink::buffer-size
3180 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3182 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3183 Add some more docs to explain why a FIXME was wrongly added.
3185 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3188 Fix typo in the gst_object_{ref,unref} documentation.
3190 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3192 * tests/check/libs/controller.c:
3193 * tests/check/libs/typefindhelper.c:
3194 * tests/check/pipelines/parse-launch.c:
3195 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3196 going to be deprecated (see #498924).
3198 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3200 * gst/gsttypefind.c: (gst_type_find_register):
3201 Make gst_type_find_register work for static typefind functions,
3202 ie. allow passing plugin == NULL (prerequisite for #498924).
3204 * gst/gstelementfactory.c: (gst_element_register):
3205 Small docs addition.
3207 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3209 * gst/gstpad.c: (gst_pad_dispose):
3210 Really unlink the peer pad instead of setting the peer pointer to NULL
3211 when we dispose the pad.
3212 This correctly calls the unlink functions and makes sure that the peer
3213 does not have a handle to invalid memory. See #504671.
3215 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3216 Add testsuite for above case.
3218 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3220 Patch by: Peter Kjellerstedt <pkj axis com>
3222 * libs/gst/check/gstcheck.h:
3223 Fix detection of the check version we're compiling against (would
3224 otherwise break if check goes v0.10.0); correctly report the
3225 name of the failed test again in case of failure, instead of
3226 just 'tf' (fixes #504499).
3228 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3230 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3231 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3232 (gst_base_src_loop), (gst_base_src_set_flushing),
3233 (gst_base_src_change_state):
3234 Allow sending EOS to the source to make it send out an EOS event from
3235 the streaming thread.
3236 Update docs and deprecate the old NULL/READY shutdown method.
3238 * tests/check/libs/basesrc.c: (GST_START_TEST),
3239 (gst_basesrc_suite):
3240 Add unit test for controlled shutdown.
3242 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3244 * docs/design/part-synchronisation.txt:
3247 * gst/gstsegment.c: (gst_segment_set_seek),
3248 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3249 (gst_segment_to_running_time):
3250 The seek format can be different from the segment format when the start
3251 and stop values are not to be updated, when we only do a rate change for
3254 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3255 (gst_segment_suite):
3256 Add a testcase for the rate-only seeks, checking that the format is
3257 correctly ignored when start and stop are not updated.
3259 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3261 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3263 * win32/vs8/grammar.vcproj:
3264 * win32/vs8/libgstcontroller.vcproj:
3265 * win32/vs8/libgstreamer.vcproj:
3266 Fix compilation with VS8 and include some missing files.
3268 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3271 Small docs addition: mention that the strings returned by
3272 gst_tag_list_get_string*() are in UTF-8 encoding.
3274 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3277 The check-exports stuff moved to common/win32.mak, so include that.
3279 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3281 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3282 (gst_base_src_perform_seek), (gst_base_src_get_range),
3283 (gst_base_src_set_playing), (gst_base_src_change_state):
3284 Make _wait_playing() not check any variables so that we can call this
3285 function from subclasses. Move the checks elsewhere similar to
3286 _wait_preroll() in basesink.
3288 Only signal the LIVE cond when we are going back to PLAYING.
3290 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3292 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3293 Use g_remove() and g_rename(). Check result of g_rename(), and
3294 don't leak the open file descriptor if we error out when writing.
3296 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3297 Must check the return value of close() after writing out the new
3298 registry file. Sometimes write problems such as out-of-diskspace
3299 are only reported when the file is closed and not already during
3300 the write. This may have caused partial/broken registry files in
3301 some rare circumstances. Should fix #503675.
3303 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3305 * docs/gst/.cvsignore:
3306 * docs/libs/.cvsignore:
3307 * docs/plugins/.cvsignore:
3308 Ignore files generated by new common/* modifications
3310 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3312 * win32/common/libgstbase.def:
3313 Yes, you can also have a <TAB> if you want.
3315 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3317 * win32/common/libgstbase.def:
3318 Add new basetransform API to win export file.
3320 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3322 * tests/check/gst/gstbin.c:
3323 Adjust the test to the refcount change two days ago.
3325 2007-12-14 David Schleef <ds@schleef.org>
3327 * docs/faq/getting.xml: Fix typo.
3329 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3331 * docs/libs/gstreamer-libs-sections.txt:
3332 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3333 (gst_base_transform_prepare_output_buffer),
3334 (gst_base_transform_set_gap_aware):
3335 * libs/gst/base/gstbasetransform.h:
3336 API: Add gst_base_transform_set_gap_aware() to control whether
3337 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3338 get buffers with this flag at all. Fixes #503231.
3340 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3342 * libs/gst/base/gstbasesink.c:
3343 * libs/gst/base/gstbasesrc.c:
3344 * libs/gst/base/gstbasetransform.c:
3345 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3346 thread. Correct log message in gstbasesrc.c.
3348 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3350 * gst/gstutils.c: (element_find_unconnected_pad):
3351 Fix possible compiler warning (#503417).
3353 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3355 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3356 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3358 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3360 * tools/gst-inspect.c: (print_element_properties_info):
3361 Add support for GstFraction properties.
3363 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3366 Add check-exports target and run it as part of 'make check'
3367 (see #499140 and #493983).
3369 * gst/gst_private.h:
3370 * gst/gstelementfactory.h:
3371 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3372 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3373 (_priv_gst_in_valgrind):
3374 * gst/gstinfo.h: (GstLogFunction):
3375 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3376 (gst_type_find_register):
3377 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3378 (gst_type_find_factory_get_type):
3379 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3380 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3381 (gst_controller_new_valist), (gst_controller_new_list),
3382 (_gst_controller_dispose), (_gst_controller_class_init):
3383 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3384 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3385 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3386 (gst_object_get_controller), (gst_object_set_controller),
3387 (gst_object_suggest_next_sync), (gst_object_sync_values),
3388 (gst_object_set_control_source), (gst_object_get_control_source),
3389 (gst_object_get_value_arrays), (gst_object_get_value_array),
3390 (gst_object_get_control_rate), (gst_object_set_control_rate):
3391 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3392 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3393 Make some functions that should be static static; rename some
3394 private symbols so that they don't get exported; add some FIXME
3395 comments so we can move accidentally exported functions into
3396 our private section in 0.11.
3398 * win32/common/libgstreamer.def:
3399 Add gst_utils_get_timestamp().
3401 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3405 Add more missing "Since:" tags to docs.
3407 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3410 Add mising "Since:" to docs.
3412 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3415 Include "glib-compat-private.h" to fix the build on system with
3416 glib < 2.10. Fixes #503131.
3418 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3422 Actually its not PURE as it gets the time from elsewhere.
3424 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3426 * docs/gst/gstreamer-sections.txt:
3428 * gst/gstdebugutils.c:
3432 * libs/gst/base/gstbasesink.c:
3433 * tools/gst-launch.c:
3434 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3435 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3436 Thanks Tim for spotting.
3437 API: gst_util_get_timestamp
3439 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3442 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3444 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3446 * gst/gststructure.c: (gst_structure_validate_name),
3447 (gst_structure_new_valist), (gst_structure_parse_value),
3448 (gst_structure_from_string):
3449 Don't crash in _from_string() if the structure name is not valid
3450 (fixes #501560). Allow structure names to start with a number
3451 again (this apparently broke the ubuntu codec installer).
3453 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3455 Add unit test for the crash; update unit tests for new behaviour.
3457 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3460 Clarify gst_element_get_compatible_pad() documentation.
3463 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3465 * tests/check/Makefile.am:
3466 Don't forget to dist {gst,libs}/struct_hppa.h.
3468 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3470 * libs/gst/base/gstbasesink.c:
3471 Use new API to get elapsed time.
3473 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3475 * gst/gstdebugutils.c:
3477 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3479 * tools/gst-launch.c:
3480 Use new API to get elapsed time.
3482 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3484 * docs/gst/gstreamer-sections.txt:
3486 * gst/gstdebugutils.c:
3488 Rename new API + ChangeLog surgery to remove old name from last entry..
3490 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3492 * docs/gst/gstreamer-sections.txt:
3494 * gst/gstdebugutils.c:
3496 Now hide the different clock stuff behind a macro.
3498 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3501 * gst/gstdebugutils.c:
3503 Apply the posix-timer check from #361155. Conditionally use the posix
3504 timer for logging. This gives better timestamp precission, less
3505 overhead and no ntp jitter.
3507 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3509 * gst/gstminiobject.c: (gst_mini_object_get_type),
3510 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3511 (gst_mini_object_finalize), (gst_mini_object_copy),
3512 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3513 (gst_mini_object_replace), (param_mini_object_validate),
3514 (gst_param_spec_mini_object_get_type):
3515 Some cleanup and checking against invalid function parameters.
3517 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3519 * docs/gst/gstreamer-sections.txt:
3521 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3522 (gst_systemclock_suite):
3523 Start merging in the easy bits of #361155, the monotonic clock patch.
3524 This one adds a few handy macros with docs and a testsuite.
3526 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3528 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3529 Be a bit smarter when seeking, like, don't try to do a seek when it's
3530 not needed. This avoids errors when the file is not seekable.
3533 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3535 * docs/gst/gstreamer-docs.sgml:
3536 * docs/gst/gstreamer-sections.txt:
3537 * docs/gst/gstreamer.types.in:
3542 * plugins/elements/gstqueue.c:
3543 Due to popular request remove preset interface again. :-(.
3545 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3547 * tools/gst-inspect.c:
3548 Print 'default value' for enums and flags too.
3550 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3552 * docs/random/ensonic/profiling.txt:
3556 Fix typo and give better log output.
3558 * gst/gstdebugutils.c:
3559 * gst/gstdebugutils.h:
3560 More ideas, make graphs a bit smaller and fix param name in macro.
3562 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3565 Try harder to use the return value from fgets().
3567 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3570 For theses two fgets we handle the error below.
3572 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3574 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3575 Only send upstream events upstream. Fixes #498746.
3577 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3579 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3581 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3582 (gst_identity_init), (gst_identity_transform_ip),
3583 (gst_identity_set_property), (gst_identity_get_property):
3584 * plugins/elements/gstidentity.h:
3585 Add property to disable handoff signal emission. Fixes #498694.
3586 API: GstIdentity::signal-handoffs
3588 2007-11-21 Julien Moutte <julien@fluendo.com>
3590 * docs/faq/gst-uninstalled: Yet another missing library for the
3591 uninstalled script (fft)
3593 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3595 * docs/faq/developing.xml:
3596 Add a question about how to submit new translations.
3598 * docs/random/release:
3599 Update the contact email address for the Translation Project
3601 * plugins/elements/gstfdsrc.c:
3602 The parent_class for fdsrc is pushsrc, not GstElement.
3604 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3607 Plug a leak and fix saving.
3609 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3611 * docs/gst/gstreamer-sections.txt:
3612 Add new gst_preset__get_property_names() function to the docs
3615 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3619 Change _get_preset_names API to return a strv with copies. Add
3620 _get_property_names to allow implementations to filter and provide
3621 good default implementation.
3623 2007-11-20 Julien MOUTTE <julien@moutte.net>
3625 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3628 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3631 More cleanups, docs, and TODOs from comments that now slowly come in.
3633 2007-11-19 Julien MOUTTE <julien@moutte.net>
3635 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3638 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3641 Fix bogus warning and make the property type specific code more
3644 2007-11-19 Julien MOUTTE <julien@moutte.net>
3646 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3649 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3651 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3652 (gst_bin_add_func), (gst_bin_remove_func),
3653 (gst_bin_change_state_func), (gst_bin_continue_func):
3654 Change email, cleanups add some more debug and comments.
3655 Also set bus and clock on new elements when the pipeline was in error.
3657 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3660 * gst/gstdebugutils.c:
3661 Fix build with --disable-gst-debug. Fixes #497859.
3662 Spotted by Sameer Naik.
3664 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3667 Little documentation improvment.
3670 More TODO cleanups. Remove c++ comments.
3672 * libs/gst/controller/gstcontroller.c:
3673 Add TODO and use quark from static string.
3675 * tests/check/gst/gstmessage.c:
3676 * tests/check/gst/gststructure.c:
3677 Use quark from static string.
3679 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3682 Add some comments and TODOs.
3685 Add padding for future changes.
3687 * plugins/elements/gstqueue.c:
3688 Implement the iface.
3690 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3692 * docs/gst/gstreamer-docs.sgml:
3693 * docs/gst/gstreamer-sections.txt:
3694 * docs/gst/gstreamer.types.in:
3699 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3701 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3707 === release 0.10.15 ===
3709 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3712 releasing 0.10.15, "October"
3714 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3716 * win32/vs6/libgstreamer.dsp:
3717 Convert line endings back to DOS.
3719 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3721 * docs/design/draft-tagreading.txt:
3722 * docs/random/ensonic/profiling.txt:
3723 Update fast tagreading draft and performance profiling ideas.
3725 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3727 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3728 Don't hold the object lock when unreffing a buffer because it could
3729 cause a deadlock when the finalize function wants to grab the object
3730 lock too. Fixes #495133.
3732 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3734 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3735 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3736 Also accumulate time correctly when doing reverse playback. Fixes
3738 When converting to running and stream time, use default values for
3739 start/stop/time/accum when comparing different formats. Fixes #494245.
3741 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3742 Do running/stream time in TIME format.
3744 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3745 (gst_segment_suite):
3746 2 new unit tests for segment accumulation.
3748 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3750 * gst/gst.c: (init_pre):
3751 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3752 (_gst_debug_bin_to_dot_file):
3753 Move getenv() back into gst_init, so everyone can live happily
3754 ever after. Make sure the symbol isn't exported though.
3756 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3758 Patch by: Sebastien Moutte <sebastien moutte net>
3760 * win32/common/gstenumtypes.c:
3761 * win32/common/gstenumtypes.h:
3764 * win32/vs6/libgstreamer.dsp:
3765 Update vs6 project files (#494343).
3767 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3769 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3770 (gst_base_src_perform_seek), (gst_base_src_default_event),
3771 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3772 (gst_base_src_activate_pull):
3773 Unify flushing code, remove some old unlock code that is no longer used.
3774 Take the streaming lock when seeking to avoid races. Fixes #492729.
3775 Added some more comments.
3777 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3779 * gst/gst.c: (_gst_disable_segtrap):
3780 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3781 we can use gst_segtrap_is_enabled() there now that we have that API.
3782 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3783 to do the getenv here (and export the variable).
3785 * gst/gstdebugutils.c: (debug_dump_element),
3786 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3787 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3789 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3790 (gst_debug_log_default):
3791 Rename _gst_info_start_time to priv_gst_info_start_time so it
3792 doesn't get exported (was never in any header).
3794 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3795 (gst_plugin_loading_mutex):
3796 Make static mutex gst_plugin_loading_mutex really static (was never
3797 in any header), and use gst_segtrap_is_enabled() instead of
3798 _gst_disable_segtrap.
3800 * gst/gsttrace.c: (_gst_trace_default):
3801 Make local _gst_trace_default static (was never in any header).
3803 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3805 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3807 * win32/common/libgstbase.def:
3808 * win32/common/libgstcontroller.def:
3809 * win32/common/libgstdataprotocol.def:
3810 * win32/common/libgstnet.def:
3811 * win32/common/libgstreamer.def:
3812 Add more missing symbols, remove some duplicates, and sort
3813 as the 'sort' command sorts it (partially fixes #493983).
3815 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3817 * gst/gstelement.c: (gst_element_set_state_func):
3818 Only change the state cookie if a different state was set on the
3819 element. See #492729.
3821 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3824 Remove unused and uninitialised type variables that were still
3825 exported for some reason (they were never in any header files
3828 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3830 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3831 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3832 (gst_base_sink_event), (gst_base_sink_get_position_last),
3833 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3834 (gst_base_sink_change_state):
3835 Don't try to report a 0 position when we don't know, return -1 and FALSE
3836 instead. This mostly happens when we are prerolling.
3837 Make sure we can report the right position before we post the ASYNC_DONE
3838 message so that a message handler can query position without races.
3840 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3841 (async_done_handoff), (async_done_func), (send_buffer),
3842 (async_done_eos_func), (gst_sinks_suite):
3843 Add two tests for the above.
3845 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3848 Update with new email address.
3850 * docs/design/part-TODO.txt:
3851 Add some more info about future pad-block and negotiation changes.
3853 * docs/design/part-buffering.txt:
3854 Add some ideas about buffering reporting.
3856 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3858 * tests/check/gst/gstobject.c:
3859 Disable silly racy test that always fails on this combination of CPU
3862 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3864 Patch by: Murray Cumming <murrayc@murrayc.com>
3867 Corrected the registration of the parent-set and parent-unset
3868 signals: The parameter is a GstObject, not a GObject (#493134).
3870 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3872 * gst/gst_private.h:
3881 Move declaration of private _gst_foo_initialize() functions into
3882 our private header file where they should have been all along.
3884 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3886 * docs/plugins/gstreamer-plugins-sections.txt:
3887 * gst/gstdebugutils.h:
3889 * plugins/elements/gstqueue.c:
3890 gtk-doc fixes; trailing-comma-in-enum fix.
3892 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3894 * gst/gst.c: (gst_deinit):
3895 Clean up on deinit (not the external ones though, doesn't seem to be
3896 needed for some reason).
3898 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3900 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3901 Remove __declspec(dllimport) for MSVC that was copied over into core
3902 from a plugin, obviously without ever having been tested (note the
3903 single underscore in _declspec in the initial commit), and that doesn't
3904 really make sense. See #492077.
3906 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3908 * gst/gst.c: (init_post):
3909 * gst/gstevent.c: (_gst_event_initialize):
3910 * gst/gstquery.c: (_gst_query_initialize):
3911 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3912 g_type_class_ref() other types as well, see #349410 and #64764.
3914 * gst/gstbuffer.c: (_gst_buffer_initialize):
3915 * gst/gstmessage.c: (_gst_message_initialize):
3916 Simplify existing g_type_class_ref().
3918 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3920 * gst/gstformat.c: (_gst_format_initialize):
3921 g_type_class_ref() our GstFormat type to make sure we avoid the
3922 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3923 bug #64764. Should fix intermittent tee unit test failures (#474823).
3925 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3927 * tests/check/elements/tee.c: (test_num_buffers):
3928 Simplify, simplify, simplify - or not. Rewrite unit test
3929 not to use gst_parse_launch(); allow N sub-streams. Increasing
3930 the number of sub-streams seems to reproduce #474823 more easily.
3932 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3934 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3937 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3938 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3939 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3940 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3941 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3942 so use _pipe() directly (#492077).
3944 * win32/common/dirent.c: (_treaddir):
3945 Add a couple of casts to make it build without warnings with MSVC.
3947 * win32/common/libgstreamer.def:
3948 Add some more symbols that need to be exported.
3950 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3952 * tests/examples/metadata/read-metadata.c: (message_loop):
3953 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3954 arriving in a second or third tag message are added to
3955 the tag list as well.
3957 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3959 * libs/gst/base/gstbasesrc.c:
3960 Its "Since:" and not "@Since:". And remove an superflous cast.
3962 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3964 * docs/libs/gstreamer-libs-sections.txt:
3965 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3966 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3967 (gst_base_sink_get_property), (gst_base_sink_render_object),
3968 (gst_base_sink_preroll_object),
3969 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3970 (gst_base_sink_change_state):
3971 * libs/gst/base/gstbasesink.h:
3972 Add a new last-buffer property that contains the last buffer used in
3973 basesink for preroll or rendering. useful for making snapshots.
3974 API: gst_base_sink_get_last_buffer()
3975 API: GstBaseSink::last-buffer
3977 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3979 * docs/gst/running.xml:
3981 * gst/gstdebugutils.c:
3982 * gst/gstdebugutils.h:
3983 * tools/gst-launch.c:
3984 Improve bin graph dumping, by using the envvar to specify a path.
3985 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3987 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3989 * plugins/elements/gsttypefindelement.c:
3990 (gst_type_find_element_handle_event),
3991 (gst_type_find_element_activate):
3992 Post special error message if we can't determine the type of a stream
3995 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3997 * docs/gst/running.xml:
3998 * gst/gstdebugutils.c:
3999 Document new env-var. Add one log-line after dumpng a graph.
4001 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
4004 Ugly hack to put the (recently removed and non-portable, apparently)
4005 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
4006 GNU ld, because without that 'make check' fails miserably on my debian
4007 stable box. Someone with more knowledge of linker intricacies and
4008 portability issues than me fix this properly please.
4010 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
4012 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
4013 Reset last seen position after flushing so that we don't report the old
4016 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4018 * gst/gstelementfactory.c: (gst_element_register):
4020 Patch from Alessandro Decina adding get_type_full and
4021 get_protocols_full private vfuncs to the URIHandler interface
4022 to allow bindings to support creating URI handlers.
4023 Partially fixes: #339279
4024 API: GstURIHandlerInterface::get_type_full
4025 API: GstURIHandlerInterface::get_protocols_full
4027 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4029 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
4030 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
4031 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
4032 Make it so that pads are considered linked until a buffer is pushed
4033 and discovered otherwise. This avoids problems with decodebin2 hanging
4034 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
4037 Make sure we lock the multiqueue when updating the max-size properties.
4039 Fix a crash on Solaris in a debug statement in get_request_pad that
4040 passes a NULL string to GST_DEBUG.
4042 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
4043 (run_output_order_test):
4044 Fix the test to allow the first buffer on not-linked pads to come out
4045 of sequence while multiqueue discovers that they are not-linked.
4047 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
4050 * libs/gst/check/Makefile.am:
4051 Use a custom export symbol regex for libgstcheck, as it needs
4052 to export symbols that don't match the standard GStreamer gst_*
4053 pattern, and --export-dynamic is not portable (only works on
4056 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
4057 (gst_check_setup_sink_pad):
4058 Make sure to pass a message parameter to the fail_* macros.
4060 * tests/check/gst/gstinfo.c: (GST_START_TEST):
4061 Fix some compiler warnings.
4063 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
4065 * tests/check/gst/gststructure.c: (test_to_string):
4066 Disable test that checks that white spaces are not allowed
4067 in structure names or field names, since we need to
4068 support that for now for backwards compatibility reasons.
4070 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4072 * docs/gst/gstreamer-sections.txt:
4075 API: add GST_TAG_ARTIST_SORTNAME
4076 API: add GST_TAG_ALBUM_SORTNAME
4077 API: add GST_TAG_TITLE_SORTNAME
4078 Add tag variants for sorting (#414539).
4080 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
4082 * gst/gststructure.c:
4083 Also allow white space for names so we don't break
4084 backwards compatibility.
4086 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4088 * docs/design/part-TODO.txt:
4089 * docs/design/part-segments.txt:
4090 * docs/design/part-streams.txt:
4093 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4095 * docs/gst/gstreamer-sections.txt:
4096 Fixed documentation from my previous commit (added new API add
4097 gst_value_set_structure(), add gst_value_get_structure() and
4098 GST_VALUE_HOLDS_STRUCTURE).
4100 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4102 * gst/gstdebugutils.c:
4103 Reflow code to fix uninitialized variable warning.
4105 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4107 * gst/gstcaps.c: (gst_caps_to_string),
4108 (gst_caps_from_string_inplace):
4109 * gst/gststructure.c: (gst_structure_get_abbrs),
4110 (gst_structure_to_string), (gst_structure_from_string):
4111 * gst/gstvalue.c: (gst_value_set_structure),
4112 (gst_value_get_structure), (gst_value_serialize_structure),
4113 (gst_value_deserialize_structure), (_gst_value_initialize):
4115 * tests/check/gst/gststructure.c: (GST_START_TEST),
4116 (gst_structure_suite):
4117 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4118 Added GstStructure to gst_value_table and its related functions.
4119 Changed gst_structure_to_string to print ';' in the end.
4120 Changed gst_caps_to_string to not print ';' beteween its
4121 fields (structures) anymore and remove the lastes ';' from latest
4122 structure. Now it is possible to have nested structures.
4123 In addition, backward compatibilty is assured by accepting '\0' as
4124 end delimiter. Fixes: #487969.
4125 API: add gst_value_set_structure()
4126 API: add gst_value_get_structure()
4127 API: add GST_VALUE_HOLDS_STRUCTURE
4129 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4132 When no GSource callback has been set up, tell developer
4133 to use a function that actually exists.
4135 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4137 * docs/gst/gstreamer-sections.txt:
4141 * gst/gstdebugutils.c:
4142 * gst/gstdebugutils.h:
4145 * tools/gst-launch.c:
4146 Allow dumping pipelines as dot graphs. Fixes #456573.
4148 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4150 * gst/gststructure.c:
4151 Allow '+' as well, it can be part of media or mime types
4152 such as image/svg+xml.
4154 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4156 * docs/gst/gstreamer-sections.txt:
4159 API: add gst_bus_pop_filtered
4160 API: add gst_bus_timed_pop_filtered
4161 Two new functions for waiting for specific message types on the
4162 bus for a specified amount of time without iterating any main
4163 loops or main contexts.
4165 * tests/check/gst/gstbus.c:
4166 Some tests for the new functions.
4168 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4170 * docs/libs/gstreamer-libs-sections.txt:
4171 Make gtk-doc ignore stuff it should ignore.
4173 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4175 * libs/gst/check/gstcheck.c:
4176 * libs/gst/check/gstcheck.h:
4177 Allow runtime selection of unit tests to run via the GST_CHECKS
4178 environment variable (test case function names, comma-separated).
4180 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4182 * gst/gststructure.c:
4183 * tests/check/gst/gststructure.c:
4184 Revert serialisation change and constrain structure-names after
4185 consensus on irc. Update api documentation to reflect the change.
4187 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4189 * gst/gststructure.c:
4190 Improve serialization and fix tests.
4192 * tests/check/gst/gststructure.c:
4193 Add another test that covers why I actually did the previous structure
4196 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4198 * tools/gst-inspect.c: (print_element_info):
4199 Don't crash when inspecting an element.
4201 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4203 * tests/check/gst/gststructure.c:
4204 Add unit test for escaping of structure name when serialising
4205 and deserialising to/from strings.
4207 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4209 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4210 (gst_single_queue_new):
4211 * plugins/elements/gstqueue.c: (gst_queue_init),
4212 (gst_queue_push_one):
4213 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4214 upstream is tricked into thinking it can suggest a format downstream
4215 while downstream does not support that format. The real problem is that
4216 core calls acceptcaps when pushing a buffer with new caps, for which we
4217 do a little workaround by setting the caps on the srcpad ourselves
4218 before pushing the buffer (until this is figured out). Fixes #486758.
4220 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4222 * gst/gststructure.c:
4224 Add some more comments and debug output. Quote structure name to fix
4225 deserialisation of some strings.
4227 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4230 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4231 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4233 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4235 * tools/gst-inspect.c:
4236 Save approx. 400 1 byte allocs when printing. Use API to acces element
4242 * tools/gst-xmlinspect.c:
4243 Use API to acces element details.
4245 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4248 Fix some spelling errors.
4250 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4252 * gst/gstbin.c: (bin_handle_async_done):
4253 Correctly set the next state if all of our async children commited their
4254 state. This makes sure we can actually cancel the state change in
4255 progress. Fixes a regression in Rhythmbox when seeking.
4257 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4260 Don't shadow local variable.
4263 Don't shadow global function name.
4265 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4267 * gst/gstelementfactory.c:
4268 * gst/gstpluginfeature.c:
4269 * gst/gstpluginfeature.h:
4270 * gst/gstregistrybinary.c:
4271 * gst/gstregistryxml.c:
4272 * gst/gsttypefind.c:
4273 Use already-interned string for the private GstPluginFeature
4276 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4278 * docs/libs/gstreamer-libs-sections.txt:
4279 Add new API to docs; fixes the build.
4281 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4283 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4285 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4286 (gst_base_sink_event):
4287 * libs/gst/base/gstbasesink.h:
4288 Add function to wait for EOS, subclasses can use this to correctly wait
4289 for devices to drain before performing the EOS logic. Fixes #485343.
4290 API: gst_base_sink_wait_eos()
4292 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4295 Cast description string constants in GST_PLUGIN_DEFINE macros
4296 to a (gchar*) to make C++ code using these macros compile
4297 without warning with g++-4.2 (see #462737). Even if slightly
4298 ugly, this seems preferable to putting the description strings
4299 into the GLib quark table or making the structure member a
4300 const gchar * and doing casts in core code that allocs and
4301 frees these strings, or requiring a cast in the C++ code.
4303 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4306 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4307 to print the entire class/function signature into the log
4308 file for C++ code. This only affects C++ code, for C code
4309 everything remains the same.
4311 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4313 * gst/gstbin.c: (remove_from_queue):
4314 Work around a problem with pipelines containing (semi)loops until a
4315 proper, more complicated solution is ready. See #475455.
4317 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4321 * gst/gstregistrybinary.c:
4322 * gst/gstregistryxml.c:
4323 Put more strings into the GLib quark table. No need to keep
4324 a hundred-something copies of identical version strings,
4325 license strings, package name strings and package origin
4328 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4330 * docs/manual/advanced-dataaccess.xml:
4331 Don't imply that it's okay to unconditionally change
4332 buffer data or buffer metadata in a pad probe callback,
4333 and a bunch of other comments. Fixes #430031.
4335 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4337 * win32/common/gstenumtypes.c:
4338 * win32/common/gstenumtypes.h:
4339 * win32/common/gstversion.h:
4340 Update generated files.
4342 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4344 * docs/manual/advanced-autoplugging.xml:
4345 Prefix section with broken code with a warning (see #342432).
4347 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4349 * docs/manual/appendix-integration.xml:
4350 * docs/manual/basics-init.xml:
4351 Call g_thread_init() before g_option_context_new() to
4352 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4354 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4356 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4357 (gst_base_sink_queue_object_unlocked),
4358 (gst_base_sink_queue_object), (gst_base_sink_event),
4359 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4360 When we received EOS and are waiting for when to post the EOS message,
4361 our state is prerolled and we should not return ASYNC.
4362 Reorganize some code paths to implement this behavior.
4364 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4366 Add unit test to verify above EOS fix.
4368 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4370 * plugins/elements/gsttypefindelement.c:
4371 (gst_type_find_element_have_type), (gst_type_find_element_init),
4372 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4373 Move detecting the input caps of the sinkpad to the setcaps function.
4374 This allows us to update the output caps when we receive new input caps
4375 instead of always using the first detected caps.
4377 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4379 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4380 (gst_base_sink_get_position):
4381 Don't try to preroll non-async elements after a flush.
4382 Subtract latency form clock times when reporting position.
4384 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4386 * gst/gstpad.c: (gst_pad_pause_task):
4388 Small comment and documentation update.
4390 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4392 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4393 (gst_base_src_set_live), (gst_base_src_is_live),
4394 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4395 (gst_base_src_default_event), (gst_base_src_wait),
4396 (gst_base_src_do_sync), (gst_base_src_get_range),
4397 (gst_base_src_pad_get_range), (gst_base_src_loop),
4398 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4399 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4400 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4401 (gst_base_src_change_state):
4402 Rework the locking of basesrc in a similar fashion to basesink. We
4403 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4404 us to handle live sources and semi live ones much better.
4406 Fix unlocking when seeking, shutting down and pausing in live sources.
4408 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4410 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4411 Fix compilation again.
4413 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4416 Use meaningful categories for the logs to clean the default one.
4418 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4420 * tests/check/pipelines/cleanup.c:
4421 Print message name and not just number.
4423 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4425 * docs/design/draft-tagreading.txt:
4426 Add some more thoughts.
4428 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4430 * tests/check/pipelines/simple-launch-lines.c:
4431 Print message name and not just number.
4433 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4435 * libs/gst/base/gsttypefindhelper.c:
4436 Speedup typefinding. This is work in progress (see #459862).
4438 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4441 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4442 Spotted by Josep Torra Valles <josep@fluendo.com>.
4444 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4447 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4448 field has moved to GstObject.
4450 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4452 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4453 (gst_base_src_get_range), (gst_base_src_change_state):
4454 Call unlock for live sources so that they can't get stuck in _create and
4455 produce a buffer before they are set back to PLAYING.
4457 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4459 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4460 (gst_queue_locked_dequeue):
4461 Comment the segment-related code... in the PROPER function.
4462 See #482147 and my commit from yesterday.
4464 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4466 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4467 Also initialize the counter that calculates the first timestamp on a
4468 buffer correctly for non-live sources.
4470 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4472 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4473 Disable code that's breaking the current-time-level reporting.
4476 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4478 * docs/gst/gstreamer-sections.txt:
4479 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4480 as they shouldn't show up. Fixes the docs build.
4482 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4485 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4486 Define M_PI which is used in files which are including gstinfo.h.
4487 VS6 includes doesn't define it.
4488 * win32/common/libgstbase.def:
4489 * win32/common/libgstcontroller.def:
4490 * win32/common/libgstreamer.def:
4491 Add new exported functions and variables.
4492 * win32/vs6/libgstcontroller.dsp:
4493 * win32/vs6/libgstreamer.dsp:
4494 Update the list of files to build.
4496 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4498 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4500 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4501 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4502 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4503 Improve debugging. Fixes #480858.
4505 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4507 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4509 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4510 First patch of code cleanups, use the macros and right arguments in the
4511 macros to signal and lock the queue. See #480858.
4513 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4515 * gst/gstbus.c: (poll_func):
4516 Improve debugging when dealing with _poll().
4518 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4520 * gst/gstregistryxml.c:
4521 Fix memory leak I introduced a few days ago.
4523 2007-09-26 Michael Smith <msmith@fluendo.com>
4525 * gst/gstbuffer.c: (gst_buffer_finalize):
4526 Make it once again possible to free GstBuffers in the default
4528 The poisoning scribbles on parts of the miniobject we need in
4532 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4534 * docs/gst/gstreamer-sections.txt:
4537 API: add GST_TAG_COMPOSER, fixes #459809.
4539 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4543 Add the 3-clause BSD license and the MIT/X11 license to the license
4544 list. Fixes #479784.
4546 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4548 * docs/faq/getting.xml:
4549 Add Q+A about different GStreamer versions (#364056).
4551 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4553 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4554 (gst_base_sink_event), (gst_base_sink_change_state):
4555 Return correct gboolean from query function.
4557 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4559 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4560 (gst_base_sink_event), (gst_base_sink_query),
4561 (gst_base_sink_change_state):
4562 Simplify latency query.
4563 When not synchronizing, we can report latency without querying the peer
4566 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4570 Fix small typos in the docs.
4572 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4574 * docs/design/draft-latency.txt:
4575 * docs/design/draft-push-pull.txt:
4576 * docs/design/draft-tagreading.txt:
4577 * docs/design/part-MT-refcounting.txt:
4578 * docs/design/part-activation.txt:
4579 * docs/design/part-block.txt:
4580 * docs/design/part-element-source.txt:
4581 * docs/design/part-events.txt:
4582 * docs/design/part-gstbin.txt:
4583 * docs/design/part-gstelement.txt:
4584 * docs/design/part-gstobject.txt:
4585 * docs/design/part-gstpipeline.txt:
4586 * docs/design/part-messages.txt:
4587 * docs/design/part-preroll.txt:
4588 * docs/design/part-push-pull.txt:
4589 * docs/design/part-qos.txt:
4590 * docs/design/part-query.txt:
4591 * docs/design/part-scheduling.txt:
4592 * docs/design/part-seeking.txt:
4593 * docs/design/part-segments.txt:
4594 * docs/design/part-states.txt:
4595 Documentation updates and typo fixes.
4597 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4599 * plugins/elements/gstfakesink.c:
4600 Add some debug text to error message to indicate that
4601 we errored out on request.
4603 * tools/gst-launch.c:
4604 When the state change to PLAYING fails, check for an
4605 error message on the bus and print it.
4607 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4609 translated by: Jorge González González <aloriel@gmail.com>
4613 Added Spanish translation.
4615 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4617 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4618 Fix printf arguments.
4620 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4622 * tests/check/generic/states.c:
4623 Improved state change unit test.
4625 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4628 Move priv to the right place.
4630 * gst/gstsystemclock.c:
4631 Add FIXME: and improve log.
4633 * tests/check/Makefile.am:
4634 * tests/examples/manual/Makefile.am:
4635 Work with all types of registries.
4637 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4639 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4640 Don't unref the event after pushing it. Fixes #478401.
4642 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4645 * tests/examples/manual/.cvsignore:
4646 Ignore registries in any format.
4648 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4650 * gst/glib-compat-private.h:
4651 Add compatibility macro for g_intern_string() for
4652 GLib-2.8 (any reason we can't just bump the
4653 requirement to at least 2.10?)
4655 * gst/gstpadtemplate.h:
4656 * gst/gstelementfactory.c:
4657 * gst/gstregistryxml.c:
4658 * gst/gstregistrybinary.c:
4659 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4660 up the internal code accordingly. This shouldn't be a problem, since
4661 there is no reason external code could ever assume the string in such
4662 a structure is dynamically allocated unless it did that itself; the
4663 use of g_strdup() is private to element factories. The new code also
4664 saves some memory by putting pad template name strings into the GLib
4665 quark table instead of allocating them dynamically.
4666 Declaring this field constant fixes warnings with g++-4.2 when using
4667 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4669 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4671 * gst/gstelementfactory.c:
4672 Release static caps. Fixes #475723.
4674 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4678 Make some internal API take const gchar * instead of just
4679 gchar * to avoid compiler warnings with g++-4.2.2 when
4680 passing string constants (partially fixes #478092).
4682 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4684 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4685 A latency query fails when one of the sinks fail.
4687 * gst/gstelement.c: (gst_element_set_base_time):
4690 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4692 * gst/gstbin.c: (gst_bin_continue_func):
4693 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4694 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4695 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4697 Fix minor compilation warnings shown with Forte.
4699 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4701 * plugins/elements/gstqueue.c: (apply_buffer),
4702 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4703 Measure queue level based on the diff between head and tail timestamps
4704 even when pushing the first buffer.
4706 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4708 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4709 (gst_base_sink_event), (gst_base_sink_change_state):
4710 Sinks that don't preroll can always be queried for the latency.
4711 Don't post ASYNC start when we are not async.
4713 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4715 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4716 (gst_queue_handle_sink_event), (gst_queue_chain),
4717 (gst_queue_push_one), (gst_queue_handle_src_query),
4718 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4719 * plugins/elements/gstqueue.h:
4720 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4721 push more buffers but allow pushing of EOS and NEWSEGMENT.
4722 Add some more debug info here and there. Fixes #476514.
4724 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4726 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4727 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4728 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4729 (gst_base_sink_set_flushing), (gst_base_sink_query),
4730 (gst_base_sink_change_state):
4731 Latency query is allowed after we are prerolled. Introduce a new flag
4732 for this and stop abusing other variables.
4734 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4736 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4737 Push OOB events downstream when we get them in send_event. This allows
4738 the application to insert events in the pipeline.
4739 Add some more comments.
4741 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4743 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4744 (do_bin_latency), (gst_bin_change_state_func):
4745 * gst/gstpipeline.c: (gst_pipeline_change_state):
4746 Move latency query from GstPipeline to GstBin so that we can also
4747 use it when async-handling is enabled on bins.
4749 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4751 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4752 (gst_base_src_do_sync), (gst_base_src_change_state):
4754 Clean up the timestamping and syncing code for pseudo live sources.
4756 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4758 Patch by: Steve Fink <sphink gmail com>
4760 * docs/manual/appendix-checklist.xml:
4761 Mention less -R switch in the section about debug output (#474055).
4763 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4765 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4766 Queue can latency to the pipeline up to the configured max size in time.
4767 Report this fact in the latency query.
4769 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4771 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4773 * libs/gst/controller/gstinterpolation.c:
4774 * libs/gst/controller/gstlfocontrolsource.c:
4775 Use gst_guint64_to_gdouble() when converting from a uint64 or
4776 GstClockTime to double to fix the build on win32. Fixes #474371.
4778 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4780 * gst/gstbuffer.c: (gst_buffer_finalize):
4781 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4782 When finalizing a buffer the complete struct is filled with 0xff,
4783 thus making a use of the buffer after the final unref impossible.
4785 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4787 * tests/check/libs/controller.c: (GST_START_TEST):
4788 Use fail_unless_equals_int(a, b) instead of
4789 fail_unless_equals (a == b) to get better output on failures.
4791 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4793 * tests/check/gst/gsturi.c:
4794 Also check for the other file URI variant on win32.
4796 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4798 * gst/gsturi.c: (gst_uri_get_location):
4799 If there's no hostname, we want to return 'c:/foo/bar.txt'
4800 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4802 * tests/check/gst/gsturi.c:
4803 Unit test for the above and a few more things.
4805 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4807 * docs/design/part-live-source.txt:
4808 Add docs on how live sources should timestamp.
4810 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4811 Add some more debug info.
4812 For subclasses that are live and like to sync, add aditional startup
4813 latency to sync time and timestamps so that we timstamp according to the
4816 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4819 Also do a g_type_class_ref() for the subbuffer type in
4822 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4824 * docs/gst/gstreamer-sections.txt:
4825 * gst/gstpad.c: (gst_pad_peer_query):
4827 Add function to perform a query on the peer of a pad.
4828 API: gst_pad_peer_query()
4830 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4832 * tests/check/gst/gstsystemclock.c:
4833 Cleanup the test a little (use gst-logging and not g_message). Improve
4834 test to check if a wait reached the target.
4836 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4838 * docs/libs/gstreamer-libs-sections.txt:
4839 Add new API to docs and fix the build.
4841 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4843 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4844 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4845 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4846 (gst_base_src_get_property), (gst_base_src_do_sync):
4847 * libs/gst/base/gstbasesrc.h:
4848 Add property to make the basesrc timestamp buffers based on the current
4850 API: GstBaseSrc::do-timestamp
4851 API: gst_base_src_set_do_timestamp()
4852 API: gst_base_src_get_do_timestamp()
4854 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4856 * docs/random/release:
4857 Really make sure translations are up-to-date before
4858 a release (#465010).
4860 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4862 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4863 Always destroy the timer, also in error cases.
4865 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4867 * docs/manual/highlevel-xml.xml:
4868 Fix XML example code. Fixes #472714.
4870 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4872 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4873 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4874 (gst_base_sink_query):
4875 Protect eos and have_preroll with the OBJECT lock so we don't need to
4876 take the PREROLL lock when querying the latency. Fixes #473846.
4878 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4881 Give some log-messages a category.
4883 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4885 * gst/gststructure.c:
4886 (gst_structure_fixate_field_nearest_fraction):
4887 Fix fraction list fixation code. Take the fraction with the smallest
4888 difference with the target instead of the first one in the list.
4890 * tests/check/gst/gststructure.c: (GST_START_TEST),
4891 (gst_structure_suite):
4892 Added test to verify correct fraction list fixation behaviour.
4894 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4896 * win32/common/libgstreamer.def:
4897 Export gst_bus_add_signal_watch too.
4899 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4901 * docs/libs/gstreamer-libs-sections.txt:
4902 Add new methods to docs.
4904 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4905 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4906 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4907 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4908 * libs/gst/base/gstbasesink.h:
4909 Add ts-offset property to fine-tune the synchronisation.
4910 API: GstBaseSink::ts-offset property
4911 API: gst_base_sink_set_ts_offset()
4912 API: gst_base_sink_get_ts_offset()
4914 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4916 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4917 (gst_base_sink_init), (gst_base_sink_set_sync),
4918 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4919 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4920 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4921 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4922 (gst_base_sink_get_property), (gst_base_sink_change_state):
4923 * libs/gst/base/gstbasesink.h:
4924 Add async property to instruct the sink never to inform the parent about
4925 ASYNC state changes, update docs.
4926 Check argument with g_return_* for the public functions.
4927 API: GstBaseSink::async property
4928 API: gst_base_sink_set_async_enabled()
4929 API: gst_base_sink_is_async_enabled()
4931 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4933 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4936 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4937 (gst_base_src_default_query), (gst_base_src_wait),
4938 (gst_base_src_do_sync), (gst_base_src_change_state):
4939 Rearrange some code so that we can add support for measuring the
4942 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4944 * docs/random/ensonic/dynlink.txt:
4945 More thoughs on this.
4947 * plugins/elements/gstcapsfilter.c:
4948 Add bugzilla ticket number to FIXME comment.
4950 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4952 * docs/design/part-TODO.txt:
4953 * docs/design/part-block.txt:
4956 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4959 Revert patch which uses $(gst_headers) instead of $^ because it
4962 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4964 * tests/check/gst/gstbin.c: (GST_START_TEST):
4965 Fix leaks in the new unit test.
4967 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4970 Don't use GST_INFO before the debug system is actually initialised
4971 (shouldn't do any harm, but won't print anything either, so we can
4972 just as well remove it).
4975 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4976 compilers that don't support variadic macros (such as MSVC), should
4977 check for debug_level <= __gst_debug_min as well, since that's the
4978 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4979 inline helper functions. Should improve performance a bit, but also
4980 makes sure uses of GST_INFO et.al are ignored if the debugging
4981 system isn't initialised yet (instead of printing an assertion
4984 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4986 patch by: David Nečas <yeti@physics.muni.cz>
4989 Replace some non portable makefile constructs.
4991 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4993 * common/gtk-doc-plugins.mak:
4994 Grrrrr. Don't remove the types file on make clean.
4996 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4998 * tools/gst-launch.1.in:
4999 Add colorspace to example pipeline. Fixes #458274.
5001 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
5003 * docs/random/release:
5004 The release manager should run 'make download-po' before making a
5005 release to make sure translations are up-to-date.
5011 Add some new translations.
5013 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
5015 * tools/gst-launch.c: (event_loop), (main):
5016 Don´t try to do any state management when a live pipeline posts
5018 Also make the buffering string translatable.
5020 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5022 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
5023 (bin_handle_async_start), (gst_bin_handle_message_func):
5025 When adding elements, insert messages into the bus of the newly added
5026 element and make sure the element is the source of the message. This
5027 allows the parent bin to intercept the message and do the
5028 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
5029 messages to the app (which is not allowed).
5032 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
5033 Fix testsuite so that is does not work around messages that should not
5034 have been posted in the first place.
5036 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5038 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
5039 (update_degree), (gst_bin_sort_iterator_next):
5040 Fix annoying bug in the sorted iterator where a sink that is not really
5041 a sink (when it has downstream links) screwed up the iterator.
5043 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
5044 Unit test to verify the fix.
5046 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
5049 Add some more docs for the messages.
5051 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
5052 (gst_base_sink_query):
5053 Add some more debugging.
5055 * tools/gst-launch.c: (event_loop):
5056 When interrupting, don't try to set pipeline to PAUSED twice.
5058 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5061 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
5062 (bin_handle_async_start), (gst_bin_handle_message_func):
5063 Move ASYNC_START message posting to where it belongs, similar to
5065 Don't post ASYNC_START when we are in error.
5066 Post ASYNC_START when we added an async element to a bin.
5068 2007-08-14 Julien MOUTTE <julien@moutte.net>
5070 * gst/gstindex.c: (gst_index_add_association): Fix index entry
5071 generation from vargs. Fixes #466595.
5073 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
5075 * gst/gstbin.c: (gst_bin_element_set_state):
5076 Always change the state of a NO_PREROLL element even if it has ASYNC
5077 elements inside (in case of a bin).
5079 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
5080 Unit test for this case.
5082 2007-08-13 Stefan Kost <ensonic@users.sf.net>
5084 * libs/gst/check/gstbufferstraw.c:
5085 * libs/gst/check/gstcheck.h:
5086 * libs/gst/controller/gstcontroller.c:
5087 * libs/gst/controller/gstcontrolsource.h:
5088 * libs/gst/controller/gstlfocontrolsource.h:
5089 * plugins/elements/gstcapsfilter.h:
5090 * plugins/elements/gstfdsink.h:
5091 * plugins/elements/gstfdsrc.h:
5092 Add more missing docs.
5094 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5096 * gst/gststructure.c:
5097 Add Since tag to docs.
5099 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5101 * docs/gst/gstreamer-sections.txt:
5102 * gst/gststructure.c: (gst_structure_get_uint):
5103 * gst/gststructure.h:
5104 Add function to get uint from a structure.
5105 API: gst_structure_get_uint()
5107 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5109 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5110 (gst_caps_intersect):
5111 Fix proper check for simple caps.
5113 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5115 * docs/gst/Makefile.am:
5116 * docs/libs/Makefile.am:
5117 Remove cruft and do some cleanups.
5119 * docs/gst/gstreamer-docs.sgml:
5120 * docs/libs/gstreamer-libs-docs.sgml:
5121 Prepare for comming gtkdoc features (rebase against online docs).
5123 2007-08-10 Michael Smith <msmith@fluendo.com>
5125 * docs/gst/gstreamer-sections.txt:
5126 Add gst_registry_add_path to docs.
5128 2007-08-10 Michael Smith <msmith@fluendo.com>
5130 * gst/gstregistry.h:
5131 Add gst_registry_add_path, which was missing from this header.
5133 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5135 * libs/gst/controller/gstlfocontrolsource.c:
5138 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5140 * libs/gst/base/gstbasesink.c:
5141 Don't send an async_start message during downwards state change if
5142 target state is less than READY
5144 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5146 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5150 Added Hungarian translation.
5152 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5159 Updated translations.
5161 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5163 * libs/gst/controller/Makefile.am:
5164 Dist gstlfocontrolsourceprivate.h
5166 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5168 * docs/libs/gstreamer-libs.types:
5169 Don't register the enum type gst_lfo_waveform_get_type() in the
5170 .types file - only GObject derived types belong.
5172 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5174 Patch by: <arenevier at fdn dot fr>
5177 Remove comma from last element in enum to avoid compile errors when
5178 using -pendantic. Fixes #464366.
5180 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5182 * docs/design/part-TODO.txt:
5183 Add some more TODO items
5185 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5188 * gst/gstcaps.c: (gst_caps_intersect):
5189 Optimize trivial intersection case between identical caps pointers.
5191 * gst/gstelement.c: (gst_element_continue_state),
5192 (gst_element_set_state_func):
5194 Fix spelling and grammar mistakes.
5196 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5200 Update POTFILES. Fixes #461599.
5202 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5205 Fix confusing typo in debug output.
5207 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5209 reviewed by: Stefan Kost <ensonic@users.sf.net>
5211 * libs/gst/controller/Makefile.am:
5212 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5213 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5214 (gst_lfo_control_source_new),
5215 (gst_lfo_control_source_set_waveform),
5216 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5217 (gst_lfo_control_source_finalize),
5218 (gst_lfo_control_source_dispose),
5219 (gst_lfo_control_source_set_property),
5220 (gst_lfo_control_source_get_property),
5221 (gst_lfo_control_source_class_init):
5222 * libs/gst/controller/gstlfocontrolsource.h:
5223 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5224 API: Add GstLFOControlSource, a control source that gives values
5225 for specific timestamps based on several periodic waveforms.
5228 * tests/check/libs/controller.c: (GST_START_TEST),
5229 (gst_controller_suite):
5230 * docs/libs/gstreamer-libs-docs.sgml:
5231 * docs/libs/gstreamer-libs-sections.txt:
5232 * docs/libs/gstreamer-libs.types:
5233 Add documentation and unit tests for GstLFOControlSource.
5235 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5240 === release 0.10.14 ===
5242 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5245 releasing 0.10.14, "Breathing Vacuum"
5247 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5249 * gst/gstelement.c: (gst_element_class_set_details_simple):
5251 Make strings passed to gst_element_class_set_details_simple()
5252 constant, as they should be (#462752).
5254 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5256 * gst/gstbin.c: (gst_bin_change_state_func),
5257 (bin_handle_async_done), (gst_bin_handle_message_func):
5258 Don't forget about the fact that some element went ASYNC even after a
5259 resync. This makes us post the ASYNC_DONE message correctly.
5262 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5264 * gst/gstregistry.c: (gst_registry_add_feature):
5265 When replacing an existing feature in the registry, make sure to
5266 continue holding a reference until we've replaced the name string
5267 within our feature hash table. Make sure to use g_hash_table_replace
5268 instead of g_hash_table_insert to ensure the new name string is used
5269 as a key instead of the old one that we're about to free.
5272 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5274 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5275 (gst_plugin_feature_set_name):
5276 Revert patch from #459466 until after the release and we can work
5277 out exactly what the problem is (if any).
5279 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5281 * docs/gst/gstreamer-sections.txt:
5284 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5286 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5288 * docs/libs/Makefile.am:
5289 Include our build-prefix libs and includes before the generic ones to
5290 avoid linking against the installed libs when we want the build-tree
5293 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5295 Patch by: Steve Fink <sphink gmail com>
5297 * docs/pwg/building-testapp.xml:
5298 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5299 if people try to build or install the example from the plugin
5300 template against a GStreamer from package using the configure
5303 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5305 Patch by: Steve Fink <sphink gmail com>
5307 * tools/gst-inspect.1.in:
5308 Document --print-all and --print-plugin-auto-install-info command
5309 line options in man page.
5311 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5313 * docs/gst/gstreamer-sections.txt:
5314 Add docs for new api function.
5316 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5318 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5319 * gst/gstelementfactory.h:
5320 API: gst_element_factory_has_interface()
5321 Added method to check if an element factory implements a named
5324 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5327 * docs/gst/gstreamer.types.in:
5328 Another conditional doc check.
5331 * gst/gstparamspecs.h:
5332 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5337 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5339 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5340 (gst_registry_binary_load_feature),
5341 (gst_registry_binary_load_plugin),
5342 (gst_registry_binary_read_cache):
5343 Print error just once and with additional info.
5345 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5347 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5348 (helper_find_suggest), (helper_find_get_length),
5349 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5350 (gst_type_find_helper_for_buffer):
5351 Cleanup the typefindhelper code and add private doc comments.
5353 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5355 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5356 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5357 Fix capsfilter for cases where the caps set on capsfilter will provide
5358 additional information.
5361 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5363 * gst/gsttypefindfactory.c:
5364 Fix docs that recommened wrong function to use.
5366 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5368 * tools/gst-inspect.c: (print_plugin_features):
5369 Also give media-type for typefinders in element output.
5371 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5373 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5374 (gst_registry_remove_features_for_plugin_unlocked),
5375 (gst_registry_add_feature), (gst_registry_remove_feature),
5376 (gst_registry_lookup_feature_locked):
5377 * gst/gstregistry.h:
5378 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5381 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5383 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5384 (gst_plugin_feature_set_name):
5385 Avoid double memory usage for pluginfeature names. Fixes #459466.
5387 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5390 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5391 driving the pipeline may need to explicitly check for NOT_LINKED as
5392 well, since IS_FATAL doesn't cover that.
5394 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5396 * docs/pwg/advanced-types.xml:
5397 Fix typo and duplicate entry in video formats list.
5399 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5401 * libs/gst/controller/gstinterpolation.c:
5402 Also round to the nearest int when using cubic interpolation.
5404 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5406 * libs/gst/controller/gstinterpolation.c:
5407 When linearly interpolating integer types, round to the nearest int
5408 by adding 0.5. Don't do it for float/double types.
5409 Fixes the failing controller test on my machine, which is somehow
5410 rounding differently than on the buildbots.
5412 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5414 * tools/gst-plot-timeline.py:
5415 Better log parsing (categories can have -). Adjust text vs. lines, so
5416 that they span the same y-range.
5418 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5420 * docs/random/ensonic/audiobaseclasses.txt:
5421 * docs/random/ensonic/dynlink.txt:
5422 * docs/random/ensonic/profiling.txt:
5425 * docs/random/moving-plugins:
5426 Add note to use g_assert type macros.
5428 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5431 * libs/gst/check/Makefile.am:
5432 Add libm check as we use in for plugins.
5434 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5436 * gst/gstbin.c: (gst_bin_continue_func):
5437 Check that the state_cookie hasn't changed since the continue_func
5438 was scheduled. Avoids problems where the state changes back to
5439 something it shouldn't be because it was changed in the meantime.
5441 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5443 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5444 (gst_registry_binary_save_string),
5445 (gst_registry_binary_save_pad_template),
5446 (gst_registry_binary_save_feature),
5447 (gst_registry_binary_save_plugin),
5448 (gst_registry_binary_load_feature),
5449 (gst_registry_binary_load_plugin),
5450 (gst_registry_binary_read_cache):
5451 Fix memory leak. Be less verbose in the log.
5453 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5455 * tests/check/elements/.cvsignore:
5456 Add file to cvsignore as commanded.
5458 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5460 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5461 (mq_dummypad_event), (run_output_order_test):
5462 Use a GStaticMutex to protect all cases where libcheck
5463 fail_if/fail_unless macros might be called from multiple threads
5464 simultaneously to avoid errors like:
5465 "check_pack.c:107: :-1081725400:Bad message type arg"
5467 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5469 * tests/check/pipelines/stress.c: (GST_START_TEST):
5470 Make sure we set the pipeline back to the NULL state before
5471 dropping our final reference.
5473 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5475 * tests/check/elements/tee.c: (GST_START_TEST):
5476 Make the tee stress-test a little less stressful so it doesn't just
5477 time out on slow-machines, and remove a small race when it's starting
5478 up by adding a get_state() call.
5480 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5483 Avoid reading registry twice on startup. Fixes #457322.
5485 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5487 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5488 * pkgconfig/gstreamer-check.pc.in:
5489 Substitute the CFLAGS for libcheck into our .pc file too so that
5490 dependent modules will pick it up properly if libcheck is installed
5491 into some other prefix.
5493 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5496 Revert the pkg-config check for libcheck, since it pulls in the
5497 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5498 a proper solution, either from the check project, or something else.
5500 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5503 Use pkg-config to locate check.
5505 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5512 Add deprecation guards.
5514 * libs/gst/base/gstcollectpads.h:
5515 Don't document object (this is implicitly private).
5517 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5519 * gst/gststructure.c: (gst_structure_parse_value):
5520 When deserialising foo=bar without a type cast, check if it's a
5521 boolean before falling back to a string type, otherwise things like
5522 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5523 because the filtercaps end up having a signed=(string)true field,
5524 which causes problems later when intersection caps.
5526 * tests/check/gst/gststructure.c: (GST_START_TEST):
5527 Add a unit test for this.
5529 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5531 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5533 * libs/gst/controller/Makefile.am:
5534 * libs/gst/controller/gstcontroller.c:
5535 (gst_controlled_property_add_interpolation_control_source),
5536 (gst_controlled_property_new), (gst_controlled_property_free),
5537 (gst_controller_find_controlled_property),
5538 (gst_controller_new_valist), (gst_controller_new_list),
5539 (gst_controller_new), (gst_controller_remove_properties_valist),
5540 (gst_controller_remove_properties_list),
5541 (gst_controller_remove_properties),
5542 (gst_controller_set_property_disabled),
5543 (gst_controller_set_disabled), (gst_controller_set_control_source),
5544 (gst_controller_get_control_source), (gst_controller_get),
5545 (gst_controller_sync_values), (gst_controller_get_value_array),
5546 (_gst_controller_dispose), (gst_controller_get_type),
5547 (gst_controlled_property_set_interpolation_mode),
5548 (gst_controller_set), (gst_controller_set_from_list),
5549 (gst_controller_unset), (gst_controller_unset_all),
5550 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5551 * libs/gst/controller/gstcontroller.h:
5552 * libs/gst/controller/gstcontrollerprivate.h:
5553 * libs/gst/controller/gstcontrolsource.c:
5554 (gst_control_source_class_init), (gst_control_source_init),
5555 (gst_control_source_get_value),
5556 (gst_control_source_get_value_array), (gst_control_source_bind):
5557 * libs/gst/controller/gstcontrolsource.h:
5558 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5559 (gst_object_get_control_source):
5560 * libs/gst/controller/gstinterpolation.c:
5561 (gst_interpolation_control_source_find_control_point_node),
5562 (gst_interpolation_control_source_get_first_value),
5563 (_interpolate_none_get), (interpolate_none_get),
5564 (interpolate_none_get_boolean_value_array),
5565 (interpolate_none_get_enum_value_array),
5566 (interpolate_none_get_string_value_array),
5567 (_interpolate_trigger_get), (interpolate_trigger_get),
5568 (interpolate_trigger_get_boolean_value_array),
5569 (interpolate_trigger_get_enum_value_array),
5570 (interpolate_trigger_get_string_value_array):
5571 * libs/gst/controller/gstinterpolationcontrolsource.c:
5572 (gst_control_point_free), (gst_interpolation_control_source_reset),
5573 (gst_interpolation_control_source_new),
5574 (gst_interpolation_control_source_set_interpolation_mode),
5575 (gst_interpolation_control_source_bind),
5576 (gst_control_point_compare), (gst_control_point_find),
5577 (gst_interpolation_control_source_set_internal),
5578 (gst_interpolation_control_source_set),
5579 (gst_interpolation_control_source_set_from_list),
5580 (gst_interpolation_control_source_unset),
5581 (gst_interpolation_control_source_unset_all),
5582 (gst_interpolation_control_source_get_all),
5583 (gst_interpolation_control_source_get_count),
5584 (gst_interpolation_control_source_init),
5585 (gst_interpolation_control_source_finalize),
5586 (gst_interpolation_control_source_dispose),
5587 (gst_interpolation_control_source_class_init):
5588 * libs/gst/controller/gstinterpolationcontrolsource.h:
5589 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5590 API: Refactor GstController into the core controller which can take
5591 a GstControlSource for providing actual values for timestamps.
5592 Implement a interpolation control source and use this for backward
5593 compatibility, deprecate a bunch of functions that are now handled
5594 by GstControlSource or GstInterpolationControlSource.
5595 Make it possible to disable the controller completely or only for
5596 specific properties. Fixes #450711.
5597 * docs/libs/gstreamer-libs-docs.sgml:
5598 * docs/libs/gstreamer-libs-sections.txt:
5599 * docs/libs/gstreamer-libs.types:
5600 Add new functions and classes to the docs.
5601 * tests/check/libs/controller.c: (GST_START_TEST),
5602 (gst_controller_suite):
5603 * tests/examples/controller/audio-example.c: (main):
5604 Port unit test and example to the new API and add some new
5607 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5609 Patch by: Mark Nauwelaerts <manauw at skynet be>
5611 * plugins/elements/gstmultiqueue.c:
5612 (gst_multi_queue_get_internal_links), (apply_buffer),
5613 (single_queue_overrun_cb), (gst_single_queue_new):
5614 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5615 the pipeline layout can be tracked correctly. Fixes #453732.
5617 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5619 * docs/gst/Makefile.am:
5620 * docs/libs/Makefile.am:
5621 * docs/plugins/Makefile.am:
5622 Simplify --extra-dir as gtkdoc scans recursively.
5624 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5626 * tools/gst-launch.c: (main):
5627 When we got an error, there is no point in waiting for preroll when
5630 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5632 * plugins/elements/gsttee.c: (gst_tee_base_init),
5633 (gst_tee_request_new_pad), (gst_tee_release_pad),
5634 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5635 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5637 Be a lot smarter when deciding what srcpad to use for proxying
5638 the buffer_alloc. Also handle pad added/removed when doing so.
5640 Keep track of what pads we already pushed on in case we have pads
5641 added/removed while pushing. Fixes #374639
5643 * tests/check/Makefile.am:
5644 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5646 Added unit test for pad resync.
5648 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5652 Updated translations.
5654 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5656 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5660 Added new Finnish translation.
5662 2007-06-28 Wim Taymans <wim@fluendo.com>
5664 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5665 (single_queue_overrun_cb):
5666 When figuring out when a queue is filled, use our internal time estimate
5667 based on segments, just like check_full does.
5669 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5671 * gst/gstminiobject.c: (gst_mini_object_get_type):
5672 Remove 3 do-nothing methods.
5674 2007-06-27 Wim Taymans <wim@fluendo.com>
5676 Patch by: Tim Angus <tim at ngus dot net>
5678 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5679 (gst_capsfilter_set_property):
5680 Take a reference instead of a copy when setting "caps".
5681 Fix documentation to clarify this behaviour. Fixes #449414.
5683 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5685 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5686 * gst/gstplugin.c: (gst_plugin_init):
5687 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5688 * gst/gstquery.c: (gst_query_get_type):
5689 * gst/gstregistry.c: (gst_registry_init):
5690 * gst/gsturi.c: (gst_uri_handler_base_init):
5691 Remove empty instance_init() functions to save relocs and lessen the
5692 noise. Remove some of the function prototypes that are doubled by
5695 2007-06-27 Wim Taymans <wim@fluendo.com>
5697 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5699 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5700 Add peer and direction in the XML serialisation of ghostpads.
5703 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5706 Preserve useful information, thanks Tim.
5708 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5710 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5711 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5712 (gst_single_queue_push_one), (gst_multi_queue_loop),
5713 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5714 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5715 (compute_high_id), (gst_single_queue_new):
5716 * plugins/elements/gstmultiqueue.h:
5717 Take the multiqueue lock when updating the fill level so we don't get
5720 After applying a buffer or event on the src pad segment, make sure to
5721 call gst_data_queue_limits_changed() to get the data queue to unblock
5722 and check the filled state again.
5724 Rework the not-linked pad handling so the logic is that not-linked
5725 pads can push as fast as they like, but only so they never get
5726 ahead of any linked pads.
5728 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5729 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5730 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5732 Add a test to check that not-linked pads always stay behind
5737 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5739 * docs/random/release:
5740 Some updates to the release procedure.
5742 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5744 * gst/gstelementfactory.c: (__gst_element_details_clear):
5745 Microoptimization that saves stunning 80 bytes.
5747 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5749 * docs/plugins/gstreamer-plugins.args:
5750 * docs/plugins/inspect/plugin-coreelements.xml:
5751 * docs/plugins/inspect/plugin-coreindexers.xml:
5752 Update docs with caps info.
5754 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5757 Updated Italian translation.
5759 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5763 Update Vietnamese translations.
5765 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5767 * libs/gst/base/gstbasesink.c:
5768 Remove unused signal enum.
5770 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5772 * docs/gst/gstreamer-sections.txt:
5774 * gst/gstutils.c: (gst_type_register_static_full):
5775 Beef up and include the docs for gst_type_register_static_full and
5776 gst_element_class_set_details_simple and add the API keyword
5779 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5781 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5782 (update_time_level), (gst_single_queue_push_one),
5783 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5784 (single_queue_overrun_cb), (single_queue_underrun_cb),
5785 (single_queue_check_full):
5786 Fix setting max-* properties after adding queues.
5787 Use IS_FILLED for checking visible items.
5788 Signal overrun if multiple queues overrun.
5789 Add extra debug output.
5790 Patch by: Wim Taymans <wim@fluendo.com>
5792 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5794 * gst/gstelement.c: (gst_element_class_set_details_simple):
5796 * gst/gstutils.c: (gst_type_register_static_full):
5798 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5799 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5800 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5801 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5802 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5803 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5804 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5805 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5806 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5807 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5808 (apply_buffer), (gst_queue_chain):
5809 * plugins/elements/gsttee.c: (gst_tee_base_init):
5810 * plugins/elements/gsttypefindelement.c:
5811 (gst_type_find_element_base_init),
5812 (gst_type_find_element_class_init):
5813 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5814 API: add gst_type_register_static_full
5815 API: add gst_element_class_set_details_simple
5817 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5819 * docs/pwg/advanced-types.xml:
5820 Fix typo in iana.org URI.
5822 2007-06-19 Andy Wingo <wingo@pobox.com>
5824 * tests/check/pipelines/simple-launch-lines.c
5825 (test_state_change_returns): Enable pull-mode tests now that
5826 basesink has been fixed.
5828 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5829 Changed from gst_base_sink_is_prerolled, reversing the sense of
5830 the return value. Returns FALSE also if the sink is in pull mode,
5831 in which case it needs no preroll.
5832 (gst_base_sink_query, gst_base_sink_change_state): Update for
5833 needs_preroll change.
5834 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5835 chaining up, in which we return SUCCESS directly if we activated
5836 in pull mode instead of ASYNC. Involves countering an async_start
5837 message sent before chaining up; not sure if this is correct, in
5838 an ideal world we only send async-start when activating in push
5841 * tests/check/pipelines/simple-launch-lines.c
5842 (test_state_change_returns): New test, partially disabled until
5845 2007-06-19 Wim Taymans <wim@fluendo.com>
5847 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5848 (gst_multi_queue_sink_event):
5851 2007-06-19 Wim Taymans <wim@fluendo.com>
5853 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5854 (gst_bin_change_state_func), (bin_push_state_continue),
5855 (bin_handle_async_start), (bin_handle_async_done),
5856 (gst_bin_handle_message_func):
5857 Move the common code for posting state-change messages into
5859 Broadcast the state signal after we posted the messages.
5860 Mark the bin as busy when it's doing a state-change.
5861 Make sure async-start/done messages don't interfere with the bin's
5862 state when it's busy.
5863 After the state change, let the bin check which elements completed the
5864 state change while it was busy so that it can update its state.
5866 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5868 * docs/random/release:
5869 Add a note about updating the doap file to the release checklist
5871 2007-06-18 Wim Taymans <wim@fluendo.com>
5873 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5874 (gst_single_queue_push_one), (gst_multi_queue_chain),
5875 (gst_multi_queue_sink_event):
5876 Make sure we don't reference the buffer/event after we have given away
5877 ownership in the queue.
5879 2007-06-18 Wim Taymans <wim@fluendo.com>
5881 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5882 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5883 Update queue state _after_ adding the item in the queue because else we
5884 could end up being full without the element added yet.
5886 2007-06-18 Wim Taymans <wim@fluendo.com>
5888 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5889 (gst_bin_remove_func), (gst_bin_get_state_func),
5890 (gst_bin_element_set_state), (gst_bin_continue_func),
5891 (bin_push_state_continue), (bin_handle_async_start),
5892 (bin_handle_async_done), (gst_bin_handle_message_func):
5894 Immediatly commit the toplevel bin state when receiving an async-done
5895 message. This enables us to avoid spawning a thread to commit the state
5896 in some common cases and it also avoids some races.
5897 Avoid spawning a state thread when adding/removing async elements to a
5898 toplevel bin. Instead we immediatly update the bin state.
5899 Get rid of iterating all the children when getting the state in the bin
5900 because it is now always up-to-date.
5901 Fix bug where locked elements would always return _SUCCESS even it they
5902 returned NO_PREROLL before being locked.
5903 Fix the order of the state_change, async-start/done messages that was
5904 sometimes incorrect.
5905 Mark the state_dirty field as deprecated, we don't need it anymore as we
5906 are always up-to-date.
5908 * gst/gstelement.c: (gst_element_get_state_func),
5909 (gst_element_continue_state):
5910 Small debug inprovements.
5911 Return the previous element state return when nothing is pending instead
5912 of blindly returning SUCCESS.
5914 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5916 Add a whole bunch of new testcases.
5918 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5922 Update translations.
5924 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5927 Fix typo in the docs.
5929 2007-06-15 Wim Taymans <wim@fluendo.com>
5931 * docs/libs/gstreamer-libs-sections.txt:
5932 Add docs for new methods.
5934 2007-06-15 Wim Taymans <wim@fluendo.com>
5936 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5937 (gst_multi_queue_item_new):
5938 Don't use GSlice because we don't depend on >= 2.10 yet.
5940 2007-06-15 Wim Taymans <wim@fluendo.com>
5942 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5943 (update_time_level), (apply_segment), (apply_buffer),
5944 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5945 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5946 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5947 (single_queue_underrun_cb), (single_queue_check_full):
5948 Remove debug printf.
5950 2007-06-15 Wim Taymans <wim@fluendo.com>
5952 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5953 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5954 (gst_data_queue_set_flushing), (gst_data_queue_push),
5955 (gst_data_queue_pop), (gst_data_queue_drop_head),
5956 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5957 * libs/gst/base/gstdataqueue.h:
5959 Added methods to get the current levels and to inform the queue that the
5960 'full' limits changed.
5962 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5963 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5964 (gst_single_queue_flush), (update_time_level), (apply_segment),
5965 (apply_buffer), (gst_single_queue_push_one),
5966 (gst_multi_queue_item_steal_object),
5967 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5968 (gst_multi_queue_loop), (gst_multi_queue_chain),
5969 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5970 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5971 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5972 (single_queue_underrun_cb), (single_queue_check_full),
5973 (gst_single_queue_new):
5974 Keep track of time in the queue by measuring the difference between
5975 running_time on input and output. This gives more accurate results and
5976 can compensate for segments correctly.
5977 Make a queue by default only 5 buffers deep. We will now increase the
5978 buffer size depending on the filledness of the other queues.
5979 Factor out commong flush code.
5980 Make sure we don't add additional refcounts to buffers when we can avoid
5982 Propagate GstFlowReturn differently.
5983 Use GSlice for intermediate GstMultiQueueItems.
5985 Resize queues on over and underruns based on filled level of other
5987 When checking if the queue is filled, prefer to measure in time if we
5988 can and fall back to bytes when no time is known.
5990 * plugins/elements/gstqueue.c:
5993 2007-06-15 Wim Taymans <wim@fluendo.com>
5995 * libs/gst/base/gstbasetransform.c:
5996 (gst_base_transform_sink_event):
5997 Work around the brokenness of the event vmethod in basetransform. Prefer
5998 to return TRUE when the subclass returned FALSE (meaning don't forward
6001 * libs/gst/base/gstbasetransform.h:
6004 2007-06-15 Wim Taymans <wim@fluendo.com>
6006 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
6007 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6008 (gst_base_src_default_query), (gst_base_src_get_range),
6009 (gst_base_src_start):
6010 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
6013 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6015 * docs/pwg/advanced-types.xml:
6016 Added more formats to caps table.
6018 2007-06-15 Stefan Kost <ensonic@users.sf.net>
6020 * tools/gst-launch.c: (main):
6021 Remove crufy code. GOption does not need this workaround.
6023 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6025 * libs/gst/controller/gstcontroller.c:
6026 (gst_controlled_property_set_interpolation_mode):
6027 Fix wrong getter for enums in controller.
6029 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6031 * libs/gst/check/gstcheck.c: (gst_check_init):
6032 Intercept criticals and warnings in the Gst-Phonon log domain, so
6033 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
6036 2007-06-14 Edward Hervey <edward@fluendo.com>
6038 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
6039 Since this file doesn't include "gst.h" it will not go through the
6040 macros that disable GST_LOG if debugging was disabled.
6042 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6044 * libs/gst/check/Makefile.am:
6045 * libs/gst/check/gstcheck.h:
6046 * pkgconfig/gstreamer-check-uninstalled.pc.in:
6047 * pkgconfig/gstreamer-check.pc.in:
6048 Ugly 'fix' for the controller unit test on the p5 bot: in
6049 fail_unless_equals_float() check whether the values are 'almost
6050 equal' by allowing a small absolute error, which should be good
6051 enough for our use cases (normal numbers and values close to 0).
6052 Proper fixage left to floating point arithmetic aficionados.
6054 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6056 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
6057 (gst_base_sink_render_object), (gst_base_sink_get_position):
6058 Add two breaks thats where missing.
6060 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6062 * docs/libs/gstreamer-libs-sections.txt:
6063 * libs/gst/check/gstcheck.h:
6064 API: add fail_unless_equals_float() and assert_equals_float().
6065 Add documentation for some of the macros.
6067 * tests/check/libs/controller.c: (GST_START_TEST):
6068 Use newly-added asserts.
6070 2007-06-14 Stefan Kost <ensonic@users.sf.net>
6072 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
6073 Show the caps change in the log to help spotting the case of not
6074 exactly matching caps.
6076 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
6078 * docs/pwg/building-boiler.xml:
6079 Fix typos, spotted by Thijs Vermeir (#447190).
6081 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6083 * docs/plugins/tmpl/.cvsignore:
6084 Ignore file to keep the buildbots happy
6086 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6088 * docs/plugins/Makefile.am:
6089 * docs/plugins/gstreamer-plugins-docs.sgml:
6090 * docs/plugins/gstreamer-plugins-sections.txt:
6091 Pull fdsink into the docs too.
6093 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6095 * libs/gst/controller/gstinterpolation.c:
6096 Actually use the new functions with min/max checks for the trigger and
6097 none interpolation modes for get() and get_value_array() instead of
6100 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6102 * libs/gst/controller/gstcontroller.c:
6103 (gst_controlled_property_free):
6104 Unset the minimum and maximum GValues when freeing the corresponding
6105 GstControllerProperty struct.
6107 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6109 * libs/gst/controller/gstcontroller.c:
6110 (gst_controlled_property_new):
6111 * libs/gst/controller/gstcontrollerprivate.h:
6112 * libs/gst/controller/gstinterpolation.c:
6113 (gst_controlled_property_find_control_point_node),
6114 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6115 (interpolate_none_get_string_value_array),
6116 (interpolate_trigger_get),
6117 (interpolate_trigger_get_enum_value_array),
6118 (interpolate_trigger_get_string_value_array):
6119 Protect against values larger or smaller than the minimum or maximum
6120 allowed value for the property when using values that can be compared.
6122 Optimize trigger interpolator a bit by taking the last requested value
6123 into account instead of always looping through the complete list.
6125 Fix coding style a bit, everywhere else we use "return foo" instead
6128 * tests/check/libs/controller.c: (GST_START_TEST),
6129 (gst_controller_suite):
6130 Add unit test for the protection against too large or too small
6133 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6135 * docs/random/slomo/controller.txt:
6136 Add some thoughts about the future of the controller.
6138 2007-06-08 Wim Taymans <wim@fluendo.com>
6140 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6141 Don't overflow in retimestamping code.
6143 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6145 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6146 Use gst_util_guint64_to_gdouble for conversions.
6147 * win32/common/libgstreamer.def:
6148 Add new exported functions.
6150 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6153 Small docs addition.
6155 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6158 Remove that test line again.
6160 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6163 Test commit mail sending.
6165 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6168 Fix typo and test commit mail sending.
6170 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6172 * tests/examples/controller/audio-example.c:
6173 Improve comment and test commit mail sending.
6175 2007-06-07 Wim Taymans <wim@fluendo.com>
6177 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6178 (gst_bin_remove_func), (gst_bin_element_set_state),
6179 (bin_handle_async_start), (bin_handle_async_done),
6180 (gst_bin_handle_message_func):
6181 Add helper function to find messages.
6182 Generate the async-done messages together with the state change
6184 Small cleanups in handling toplevel bins.
6186 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6188 * libs/gst/base/gstdataqueue.c:
6189 * libs/gst/base/gstdataqueue.h:
6190 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6191 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6192 (gst_multi_queue_sink_event):
6193 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6194 Fix multiqueue leaking buffers and events when downstream or the
6195 queue are flushing. Make refcounting assumptions explicit and
6196 document them (shouldn't break existing code that uses it other than
6197 maybe leak miniobjects, but that already happens anyway). Add unit
6198 test for the most common flushing case. Fixes #423700.
6200 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6202 * libs/gst/controller/gstcontroller.c:
6203 Clarify docs: The get_all, get_value_array(s) functions
6204 don't modify the GObject properties.
6206 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6208 * libs/gst/controller/gstcontroller.c:
6209 (gst_controlled_property_set_interpolation_mode),
6210 (gst_controlled_property_prepend_default),
6211 (gst_controlled_property_new), (gst_controller_set_unlocked),
6212 (gst_controller_set), (gst_controller_set_from_list),
6213 (gst_controller_unset), (gst_controller_unset_all):
6214 * libs/gst/controller/gstcontrollerprivate.h:
6215 * libs/gst/controller/gstinterpolation.c:
6216 Factor out the 'set' logic into gst_controller_set_unlocked for the
6217 gst_controller_set and gst_controller_set_from_list functions.
6219 To make life of the interpolators easier always add a control point
6220 at timestamp zero with the default value.
6222 In the linear interpolator make things more obvious by better variable
6225 Implement cubic interpolation mode (by using a natural cubic spline)
6226 and map the quadratic interpolation mode to this too (as quadratic
6227 doesn't make much sense, see discussion on the list).
6229 * tests/check/libs/controller.c: (GST_START_TEST),
6230 (gst_controller_suite):
6231 Add unit test for the cubic interpolation mode and check everywhere
6232 if the interpolation mode could be set as expected.
6234 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6236 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6237 Don't use GLib-2.10 functions, we still depend on
6238 GLib-how-old-is-it-again-2.8.
6240 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6242 * docs/gst/gstreamer-sections.txt:
6246 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6247 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6248 (_gst_param_fraction_values_cmp),
6249 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6250 * gst/gstparamspecs.h:
6252 * tests/check/Makefile.am:
6253 * tests/check/gst/.cvsignore:
6254 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6255 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6256 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6257 (GST_START_TEST), (gst_param_spec_suite):
6258 API: add GstParamSpecFraction, so elements can have fraction
6259 properties without lots of painful string parsing (#444648).
6261 2007-06-05 Wim Taymans <wim@fluendo.com>
6263 * gst/gstobject.c: (gst_object_class_init):
6264 Fix signal signature.
6267 Add small clarification in the api docs.
6269 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6270 States are protected with object lock.
6272 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6275 I should probably be listed as an author by now.
6277 * docs/random/release:
6278 Update the release doc
6280 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6283 Make docs for gst_value_compare() mention return enums that
6286 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6291 === release 0.10.13 ===
6293 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6296 releasing 0.10.13, "With or without you"
6298 2007-05-25 Wim Taymans <wim@fluendo.com>
6300 * gst/gstbin.c: (bin_handle_async_done):
6301 Make sure that the child bin stops after completing the async state
6302 change so that the parent can continue the state change to PLAYING.
6305 2007-05-25 Wim Taymans <wim@fluendo.com>
6307 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6308 (unref_data), (gst_collect_pads_remove_pad),
6309 (gst_collect_pads_check_pads):
6310 Use additional refcounting to avoid crashes when dynamically adding and
6311 removing pads. Fixes #420206.
6313 2007-05-24 Wim Taymans <wim@fluendo.com>
6315 * tools/gst-launch.c: (event_loop):
6316 When buffering goes from a two digit to a single digit number, make sure
6317 to remove the old second digit by writing a blank over it.
6319 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6321 * libs/gst/base/gstdataqueue.c:
6322 Eliminate tabs and trailing comma in enum list; fix some typos.
6324 2007-05-24 Wim Taymans <wim@fluendo.com>
6326 * tests/check/gst/gstbin.c: (GST_START_TEST):
6327 Allow refcount of 3 and 4 because some state thread might still be busy
6330 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6332 * plugins/elements/Makefile.am:
6333 * plugins/elements/gstmultiqueue.h:
6334 * plugins/elements/gstqueue.h:
6335 These are not installed headers, no need for padding.
6337 2007-05-24 Wim Taymans <wim@fluendo.com>
6339 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6340 (gst_bin_continue_func):
6341 Enable latency for next release.
6342 Restore STATE_LOCK around recalc_state that was left out during the
6343 rewrite and could result in racy behaviour when _get_state and
6344 recalc_state are run concurrently. See #440463.
6346 2007-05-23 Wim Taymans <wim@fluendo.com>
6348 * tests/check/gst/gstsystemclock.c: (store_callback),
6350 Improve test_async_order to also work when both timers are already
6351 expired when we get scheduled to check it.
6353 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6355 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6356 (gst_bin_set_property), (gst_bin_get_property),
6357 (gst_bin_remove_func), (gst_bin_handle_message_func):
6359 'private' is a c++ keyword, let's not use that in header files,
6360 otherwise c++ compilers will throw a tantrum.
6362 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6364 * plugins/elements/gstelements.c:
6365 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6366 (gst_file_sink_get_current_offset):
6367 * plugins/indexers/gstindexers.c: (plugin_init):
6368 Use #ifdef for HAVE_XYZ for consistency.
6370 * tests/check/Makefile.am:
6371 * tests/check/elements/.cvsignore:
6372 * tests/check/elements/filesink.c: (setup_filesink),
6373 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6374 Add some unit tests for filesink.
6376 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6378 Patch by: Mark Nauwelaerts <manauw at skynet be>
6380 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6381 (gst_file_sink_query), (gst_file_sink_do_seek),
6382 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6383 * plugins/elements/gstfilesink.h:
6384 Fix position reporting; rename data_written member to current_pos to
6385 reflect its real meaning (fixes #412648).
6387 2007-05-22 Edward Hervey <edward@fluendo.com>
6389 * docs/gst/gstreamer-sections.txt:
6390 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6391 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6392 (gst_bin_remove_func), (gst_bin_handle_message_func):
6394 Add a property for bins that handle the state change of their childs.
6397 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6399 * libs/gst/controller/gstinterpolation.c:
6400 Use an array of the correct type when using _get_value_array with
6401 linear interpolation.
6403 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6405 * gst/gstelement.c (gst_element_requires_clock,
6406 gst_element_provides_clock, gst_element_request_pad,
6407 gst_element_class_set_details, gst_element_class_set_details_simple,
6408 gst_element_default_send_event, gst_element_abort_state,
6409 gst_element_continue_state, gst_element_set_state,
6410 gst_element_set_state_func, iterator_activate_fold_with_resync):
6411 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6412 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6413 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6414 gst_pad_get_range, gst_pad_pull_range):
6415 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6416 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6417 GstPadActivateModeFunction, GstPadChainFunction,
6418 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6419 GstPadFixateCapsFunction, GstPadTemplate):
6420 * gst/gstpipeline.c (gst_pipeline_change_state,
6421 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6422 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6423 gst_pipeline_get_delay):
6424 Whitespace and docs fixes.
6426 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6428 * libs/gst/controller/gstinterpolation.c:
6429 (interpolate_trigger_get_enum_value_array),
6430 (interpolate_trigger_get_string_value_array):
6431 Add support for retrieving value arrays when using the trigger
6434 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6436 * libs/gst/controller/gstcontroller.c:
6437 (gst_controller_get_value_array):
6438 * libs/gst/controller/gstcontroller.h:
6439 Clarify the docs of gst_controller_get_value_array(): The array where
6440 the values should be written to must be allocated as there seems to be
6441 no way to get the size of a random GType. This doesn't change any
6442 behaviour. Also fix some typos all over the place and remove an unused,
6443 commented function that is not necessary as g_object_set() could be
6445 * tests/check/libs/controller.c: (GST_START_TEST),
6446 (gst_controller_suite):
6447 Add unit test for gst_controller_get_value_array().
6449 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6451 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6453 Disable part of the gst_buffer_try_new_and_alloc test, because
6454 it can happily succeed on 64-bit systems where there's more address
6457 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6459 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6460 Add unit test for the improved caps checking from bug #421543.
6462 2007-05-21 Wim Taymans <wim@fluendo.com>
6464 * docs/design/part-synchronisation.txt:
6467 * gst/gstbin.c: (gst_bin_query):
6468 * plugins/elements/gstqueue.c: (apply_segment):
6474 2007-05-21 Wim Taymans <wim@fluendo.com>
6476 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6477 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6478 (gst_pad_configure_src):
6479 Added simple version of improved caps checking. It was previously
6480 assumed that a setcaps function would check the validity of the caps but
6481 people prefer us to check caps against the template automatically.
6484 2007-05-21 Wim Taymans <wim@fluendo.com>
6486 * libs/gst/base/gstbasetransform.h:
6487 Fix macro for locking/unlocking the transform lock.
6489 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6491 * docs/plugins/tmpl/.cvsignore:
6494 2007-05-18 Edward Hervey <edward@fluendo.com>
6496 * plugins/elements/gstqueue.c: (gst_queue_loop):
6497 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6498 for the subtle art of warning a potentially blocking thread that it
6499 should check the source pad return value, and relay the information
6502 2007-05-18 Edward Hervey <edward@fluendo.com>
6504 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6505 Release the queue lock !
6507 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6509 * docs/libs/gstreamer-libs-sections.txt:
6510 Add the two new controller functions to the appropiate places.
6512 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6514 reviewed by: Stefan Kost <ensonic@users.sf.net>
6516 * libs/gst/controller/gstcontroller.c:
6517 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6518 (_gst_controller_get_property), (_gst_controller_set_property),
6519 (_gst_controller_init), (_gst_controller_class_init):
6520 * libs/gst/controller/gstcontroller.h:
6521 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6522 (gst_object_get_control_rate), (gst_object_set_control_rate):
6523 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6524 Add API that provides sync suggestion timestamps for elements that
6525 call gst_object_sync_values() from which those elements can subdivide
6526 their processing loop to get the best results for the controlled
6527 properties. For now it just suggests last_sync + control_rate as
6528 new timestamp but this will be improved in the future.
6530 While doing that change the control-rate property to a GstClockTime
6531 from guint and change it's meaning from samples to nanoseconds as
6532 the GstController doesn't know anything about sampling rate. Strictly
6533 speaking this breaks ABI but as the control-rate property didn't do
6534 anything in the past and as such couldn't be used this should be no
6537 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6539 reviewed by: Stefan Kost <ensonic@users.sf.net>
6541 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6542 (gst_controller_unset_all):
6543 * libs/gst/controller/gstcontrollerprivate.h:
6544 * libs/gst/controller/gstinterpolation.c:
6545 (gst_controlled_property_find_control_point_node):
6546 Save last synced value from the list to continue searching from there
6547 in future syncs. This speeds everything up a bit.
6549 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6551 reviewed by: Stefan Kost <ensonic@users.sf.net>
6553 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6554 (gst_control_point_find), (gst_controlled_property_new),
6555 (gst_control_point_free), (gst_controlled_property_free),
6556 (gst_controller_set), (gst_controller_set_from_list),
6557 (gst_controller_unset), (gst_controller_unset_all),
6558 (gst_controller_sync_values):
6559 * libs/gst/controller/gstcontroller.h:
6560 * libs/gst/controller/gstcontrollerprivate.h:
6561 * libs/gst/controller/gstinterpolation.c:
6562 (gst_controlled_property_find_control_point_node),
6563 (interpolate_none_get), (interpolate_trigger_get):
6564 Add a new private GstControlPoint struct which "inherits" from
6565 GstTimedValue to allow different interpolators to store internal
6566 values next to each control point. From the outside everything is
6567 still a GstControlPoint so we don't loose binary compatibility.
6568 Also fixup all the GValue handling to not leak GValues or list nodes.
6569 * tests/check/libs/controller.c: (GST_START_TEST):
6570 Free the list nodes and GValues in the controller_misc test.
6572 2007-05-17 Edward Hervey <edward@fluendo.com>
6577 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6579 * gst/gstplugin.c: (gst_plugin_load_file):
6580 If we fail to load a plugin because of unresolved symbols or missing
6581 libraries and spew a warning to stderr, we may just as well mention
6582 which plugin it was that failed to load.
6584 2007-05-13 David Schleef <ds@schleef.org>
6586 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6587 handles the case when ENABLE_GTK_DOC is false, and installs
6588 the prebuilt documentation. So gtk-doc subdirs are
6589 unconditionally enabled. Fixes: #349099.
6591 2007-05-13 David Schleef <ds@schleef.org>
6593 * gst/gstutils.h: Reword some documentation.
6595 2007-05-12 David Schleef <ds@schleef.org>
6597 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6598 do anything with the passed "module" parameter, so remove it.
6599 Allows removal of additional vestigal code.
6601 2007-05-12 David Schleef <ds@schleef.org>
6604 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6605 Switch to using g_stat() because it's more portable.
6607 2007-05-12 David Schleef <ds@schleef.org>
6610 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6611 parsing for embedded systems.
6612 * gst/gstelementfactory.c:
6613 Allow gst_element_register() to be called with plugin==NULL.
6614 Did nobody notice that static elements were broken?
6616 2007-05-12 Wim Taymans <wim@fluendo.com>
6618 * tools/gst-launch.c: (event_loop):
6619 Give more interesting info when buffering starts and stops.
6620 Fix case where buffering starts but we fail to update the buffering flag
6621 because the target state is not PLAYING.
6623 2007-05-12 Wim Taymans <wim@fluendo.com>
6625 * plugins/elements/gstqueue.c: (gst_queue_init),
6626 (gst_queue_finalize), (update_time_level), (apply_segment),
6627 (apply_buffer), (gst_queue_locked_flush),
6628 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6629 (gst_queue_handle_sink_event), (gst_queue_chain),
6630 (gst_queue_push_one), (gst_queue_loop):
6631 * plugins/elements/gstqueue.h:
6632 Refactor an cleanup queue a bit.
6633 Do better time level calculations that also work when the srcpad is not
6635 Remove some unneeded debug lines.
6637 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6638 Added testcase for time level measurement.
6639 Try to make some stuff more racefree.
6641 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6643 * gst/gsturi.c: (gst_element_make_from_uri):
6644 Don't leak plugin feature.
6646 * tests/check/Makefile.am:
6647 * tests/check/gst/.cvsignore:
6648 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6649 Add brain-dead unit test.
6651 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6653 Patch by: Jeroen Wouters <woutersj at gmail com>
6655 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6656 Treat protocol strings in a case-insensitive way (#437563).
6658 2007-05-11 Michael Smith <msmith@fluendo.com>
6660 * gst/gstplugin.c: (gst_plugin_load_file):
6661 * gst/gstregistry.c: (gst_registry_scan_path_level):
6662 Don't print a g_warning for any failure to load a shared object.
6663 Instead, push this down into gstplugin.c, and warn _only_ if we
6664 failed to open the module (i.e. failure to link).
6665 Avoids warnings on normal, working, non-plugin .so files.
6667 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6669 * gst/gstplugin.c (gst_plugin_load_file):
6670 * gst/gstregistry.c (GST_CAT_DEFAULT,
6671 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6672 Print a g_warning if there was an error when loading a plugins during
6673 registry scan. The shuld help beginners starting with gst-plugin
6676 2007-05-10 Wim Taymans <wim@fluendo.com>
6678 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6679 (update_time_level), (gst_queue_locked_flush),
6680 (gst_queue_handle_sink_event), (gst_queue_chain),
6681 (gst_queue_push_one), (gst_queue_loop):
6682 * plugins/elements/gstqueue.h:
6683 Be smarter when calculating the current amount of data in the queue by
6684 measuring the difference between start and end timestamps (in running
6685 time) inside the queue. Fixes #432876.
6686 API: GstQueue::pushing to notify elements that we are pushing data again
6687 since the running signal is rather broken for this purpose.
6689 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6691 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6692 gst_queue_base_init, gst_queue_init):
6695 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6697 * win32/common/libgstreamer.def:
6698 Add new exported functions.
6699 * win32/vs6/grammar.dsp:
6700 Use grammar pre-generated files.
6702 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6704 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6707 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6709 * gst/gstutils.c: (gst_parse_bin_from_description):
6711 Maintain API and ABI when --disable-parse is used. Now that
6712 we have an appropriate error code, we can just return NULL and the
6713 appropriate error when gst_parse_launch() is used despite it having
6714 been disabled (#342564).
6716 * tests/check/Makefile.am:
6717 * tests/check/pipelines/.cvsignore:
6718 * tests/check/pipelines/parse-disabled.c:
6719 Make sure these functions exist and return NULL plus a GError when
6720 --disable-parse is used.
6722 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6724 * tests/benchmarks/complexity.c: (main):
6725 * tests/benchmarks/mass-elements.c: (main):
6726 Set a good example and don't leak messages.
6728 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6730 * docs/gst/Makefile.am:
6731 * docs/libs/Makefile.am:
6732 Correct fixxrefs options.
6734 * docs/plugins/Makefile.am:
6735 * docs/plugins/gstreamer-plugins-docs.sgml:
6736 * docs/plugins/gstreamer-plugins-sections.txt:
6737 * plugins/elements/Makefile.am:
6738 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6739 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6740 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6741 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6742 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6743 _GstCapsFilterClass, trans_class):
6744 * plugins/elements/gstelements.c (name, rank, type, _elements):
6745 * plugins/elements/gstidentity.c
6746 (gst_identity_check_imperfect_timestamp,
6747 gst_identity_check_imperfect_offset):
6748 Document capsfilter and add doc-blurb to identity.
6750 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6752 * libs/gst/controller/gstcontroller.c:
6753 (gst_controlled_property_set_interpolation_mode):
6754 * libs/gst/controller/gstinterpolation.c:
6755 Don't crash if someone tries to set an interpolation mode that
6756 is invalid or that isn't supported yet. Fixes #422295.
6758 * tests/check/libs/controller.c: (GST_START_TEST),
6759 (gst_controller_suite):
6760 Add a test case for the above.
6762 2007-05-03 Edward Hervey <edward@fluendo.com>
6764 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6765 Properly set the last_stop position on GstSegment. This will only happen
6766 if there is a buffer to push out.
6768 2007-05-03 Wim Taymans <wim@fluendo.com>
6770 * libs/gst/base/gstbasetransform.c:
6771 (gst_base_transform_buffer_alloc):
6772 always_in_place does not mean that the sink and source caps are the
6773 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6775 2007-05-03 Wim Taymans <wim@fluendo.com>
6777 * docs/libs/gstreamer-libs-sections.txt:
6778 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6779 (gst_base_src_default_query), (gst_base_src_get_range):
6780 * libs/gst/base/gstbasesrc.h:
6781 API: gst_base_src_query_latency(). Added method so that subclasses can
6782 easily get the latency values of the base source class.
6784 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6786 * tools/gst-inspect.c (print_implementation_info):
6789 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6791 * tools/Makefile.am:
6792 * tools/gst-launch.1.in:
6793 Don't create a customised man page based on the host architecture,
6794 describe the default registry path generically. That way the man
6795 page is the same for all architectures and packagers have one
6796 multilib issue less to deal with. Fixes #434926.
6798 2007-05-02 Wim Taymans <wim@fluendo.com>
6801 Fix documentation as spotted by rg on IRC.
6803 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6806 Improve docs for gst_element_{link,unlink}.
6808 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6810 * docs/design/part-events.txt:
6811 * docs/design/part-overview.txt:
6815 * libs/gst/base/gstbasesink.c:
6816 Typo fixes; minor docs addition.
6818 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6820 * docs/gst/gstreamer-sections.txt:
6821 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6822 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6824 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6825 or src that supports a given URI protocol exists.
6827 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6829 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6830 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6831 Set the location to NULL if "file://" is set as URI. Otherwise
6832 some random previous URI would still be set if "file://" is
6833 set on an already used filesink/filesrc.
6835 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6837 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6838 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6839 Special case the "file://" URI as as this is used by some
6840 applications to test with gst_element_make_from_uri if there's
6841 an element that supports the URI protocol.
6842 Also move the g_path_is_absolute() check for the location part
6843 of the URI to also check this for "file://localhost/bla" URIs.
6845 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6847 * docs/gst/gstreamer-sections.txt:
6848 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6850 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6852 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6854 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6856 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6857 (gst_registry_binary_load_pad_template),
6858 (gst_registry_binary_load_plugin),
6859 (gst_registry_binary_read_cache):
6860 * gst/gstregistrybinary.h:
6861 Implement no-mmap alternative for registry reading. Do code cleanups.
6862 Add more comments about avoiding strdups for all text data. Comments
6865 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6867 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6868 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6869 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6870 Comment structs and reformat to fix the build (that stuff should go
6871 into a priv. header).
6873 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6875 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6876 (gst_registry_binary_load_feature):
6877 * gst/gstregistrybinary.h:
6878 Refactor so that we can implement multiple features. Add support for
6879 TypeFindFactory features.
6881 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6883 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6886 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6888 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6890 * gst/gstbin.c: (gst_bin_element_set_state),
6891 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6892 (bin_handle_async_done), (gst_bin_handle_message_func):
6893 Fix build with --gst-disable-gst-debug
6895 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6897 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6898 Make sure streaming has finished before calling the ::stop() vfunc,
6899 since that vfunc might clear state which is being used in the
6900 streaming thread. This fixes a race that caused crashes in
6901 audioresample when shutting down a pipeline (#420106).
6903 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6905 * docs/gst/gstreamer-sections.txt:
6906 That was one byte missing.
6908 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6911 * docs/gst/gstreamer-sections.txt:
6913 * gst/gstconfig.h.in:
6914 * gst/gstobject.c: (gst_object_class_init),
6915 (gst_signal_object_class_init):
6917 2nd attempt to have a xml-less build as a joined effort of #413123
6920 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6922 * docs/design/draft-tagreading.txt:
6923 Added open issues/thoughts to draft.
6925 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6927 * gst/parse/grammar.tab.pre.c:
6928 * gst/parse/grammar.tab.pre.h:
6929 * gst/parse/lex._gst_parse_yy.pre.c:
6930 Update the prebuild parser sources.
6932 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6934 * gst/parse/Makefile.am:
6935 And now fix the building of the flex sources. Now everything should
6938 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6940 * gst/parse/Makefile.am:
6941 Now hopefully fix the build failures by setting proper rule
6942 dependencies and moving instead of copying.
6944 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6946 * tests/benchmarks/complexity.gnuplot:
6947 * tests/benchmarks/complexity.scm:
6948 * tests/benchmarks/mass-elements.gnuplot:
6949 * tests/benchmarks/mass-elements.scm:
6950 Total licensification.
6952 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6954 * gst/parse/Makefile.am:
6955 Fix the build by correcting the rule that gave wrong files to flex.
6957 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6959 * tests/benchmarks/complexity.c:
6960 * tests/benchmarks/mass-elements.c:
6961 Change licence to LGPL as granted by Benjamin and Andy.
6963 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6965 * gst/parse/Makefile.am:
6966 Add correct grammar.tab.h dependency if compiling without new enough
6967 flex. Fixes #431150.
6969 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6971 * gst/parse/Makefile.am:
6972 Fix typo and use outdated sources if the flex/bison sources are newer
6973 than the pregenerated ones but flex is too old. Print a warning in
6974 that case. This should fix the build on the build bot.
6976 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6978 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6979 * gst/parse/Makefile.am:
6980 * gst/parse/grammar.y:
6981 * gst/parse/parse.l:
6982 Make the parser reentrant and recursively callable. This requires flex
6983 >= 2.5.31, for older versions pregenerated sources are used as we
6984 can't bump the build dependency. Finally fixes #349180.
6986 * gst/gstparse.c: (gst_parse_launch):
6987 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6990 * docs/gst/Makefile.am:
6991 * docs/gst/Makefile.am:
6992 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6993 (__gst_parse_strfree), (__gst_parse_link_new),
6994 (__gst_parse_link_free), (__gst_parse_chain_new),
6995 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6996 (gst_parse_element_set), (gst_parse_free_link),
6997 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6998 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6999 (_gst_parse_launch):
7000 * gst/parse/grammar.tab.pre.h:
7001 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
7002 (yy_get_previous_state), (yy_try_NUL_trans), (input),
7003 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
7004 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
7005 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
7006 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
7007 (_gst_parse_yypop_buffer_state),
7008 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
7009 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
7010 (yy_fatal_error), (_gst_parse_yyget_extra),
7011 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
7012 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
7013 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
7014 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
7015 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
7016 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
7017 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
7018 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
7019 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
7020 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
7021 (_gst_parse_yyfree):
7022 If the installed flex version is too old use pre-generated parser
7023 sources. These pre-generated parser sources are always updated when
7024 the actual flex/bison sources change but require everybody who wants
7025 to change something in the parser to have flex >= 2.5.31 installed.
7027 2007-04-18 Stefan Kost <ensonic@users.sf.net>
7029 * common/m4/gst-gettext.m4:
7030 * gst/gst-i18n-lib.h:
7031 Make --disable-nls to work
7033 2007-04-17 Wim Taymans <wim@fluendo.com>
7035 * gst/gstconfig.h.in:
7036 Revert previous change that broke the build.
7038 2007-04-17 Stefan Kost <ensonic@users.sf.net>
7042 * gst/gstconfig.h.in:
7043 Drop libxml2 dependency when building with
7044 --enable-binary-registry --disable-loadsave
7046 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
7048 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
7049 (gst_registry_binary_read_cache):
7050 * gst/gstregistrybinary.h:
7051 Remove unnecessary <sys/mman.h> include which broke the win32 build
7052 with MingW; move includes from header file to .c file, even if the
7053 header file isn't installed; use g_strerror() where UTF-8 strings
7054 are expected, such as in GST_DEBUG messages.
7056 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7058 * docs/libs/gstreamer-libs-sections.txt:
7059 Remove bogus addition for API I didn't end up keeping.
7061 * libs/gst/base/gstbasesrc.h:
7062 Mention Since: 0.10.13 in the documentation.
7064 Add the API keyword to the previous ChangeLog entry.
7066 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7068 * docs/libs/gstreamer-libs-sections.txt:
7069 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
7070 (gst_base_src_default_prepare_seek_segment),
7071 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
7072 * libs/gst/base/gstbasesrc.h:
7073 Allow basesrc derived classes to execute seeks in other formats
7074 by providing a prepare_seek_segment vmethod. Sub-classes can choose
7075 to prepare the GstSegment in any format that their perform_seek method
7076 will be able to understand. The default implementation provides the
7077 old behaviour of attempting to convert the seek offsets to the
7078 configured native format.
7080 API: basesrc::prepare_seek_segment vmethod.
7082 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7084 * gst/gstelement.c: (gst_element_get_state_func):
7085 Don't output the same debug statement twice.
7087 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7088 (gst_adapter_peek), (gst_adapter_take_buffer):
7089 Optimise the case where we have buffers at the head of the queue that
7090 can be joined quickly (because they're contiguous sub-buffers) by
7091 merging them together rather than copying data out into new memory.
7093 * gst/parse/grammar.y:
7094 * tests/check/pipelines/parse-launch.c:
7095 Fix a leak in an error path for parse_launch, and add a check
7096 for it to the testsuite.
7098 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7100 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7101 Don't deadlock when releasing a pad - gst_pad_set_active may try
7102 and take the multiqueue lock too.
7104 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7106 * gst/gsterror.c: (_gst_core_errors_init):
7108 API: add GST_CORE_ERROR_DISABLED (#392804).
7110 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7112 * docs/faq/gst-uninstalled:
7113 don't get empty paths on the PATH variables
7114 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7115 Don't format for the uncommon terminal width of 84 characters.
7117 2007-04-06 Wim Taymans <wim@fluendo.com>
7119 * gst/gstpipeline.c: (reset_stream_time),
7120 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7121 Only try to select a different pipeline clock when we went back to
7122 PAUSED and not when we merely got flushed.
7124 2007-04-05 Michael Smith <msmith@fluendo.com>
7126 * tools/gst-launch.1.in:
7127 fractions are better supported in gstreamer than ractions, so
7128 suggest using those.
7130 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7132 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7136 Added Danish translation.
7138 2007-04-05 Wim Taymans <wim@fluendo.com>
7140 * libs/gst/base/gstbasesink.c:
7141 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7142 Fix leak caused when refusing newsegment after EOS.
7144 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7145 (gst_fake_sink_init), (gst_fake_sink_set_property),
7146 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7147 (gst_fake_sink_render), (gst_fake_sink_change_state):
7148 * plugins/elements/gstfakesink.h:
7149 Add num-buffers property to make the element generate EOS after a
7150 configurable amount of buffers.
7151 API: fakesink::num-buffers property.
7153 * tests/check/elements/fakesink.c: (GST_START_TEST),
7155 Fix GstBus leak in test.
7156 Test for fakesink num-buffers.
7158 2007-04-05 Wim Taymans <wim@fluendo.com>
7160 * libs/gst/base/gstbasesink.c:
7161 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7162 (gst_base_sink_change_state):
7163 Don't accept anything after an EOS, return UNEXPECTED instead.
7165 * tests/check/elements/fakesink.c: (GST_START_TEST),
7167 Unit test for new EOS behaviour.
7169 2007-04-05 Wim Taymans <wim@fluendo.com>
7171 * gst/gstelement.c: (gst_element_get_request_pad):
7172 Make padtemplates also work when they don't contain %s or %d.
7174 2007-04-05 Wim Taymans <wim@fluendo.com>
7176 * docs/gst/gstreamer-sections.txt:
7177 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7178 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7180 Improve _adjust_unlocked() so that it overflows less.
7181 Add gst_clock_unadjust_unlocked to convert from external time to
7182 internal time based on calibration.
7183 Add some more debug.
7184 API: GstClock::gst_clock_unadjust_unlocked()
7186 2007-04-03 Wim Taymans <wim@fluendo.com>
7188 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7190 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7191 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7192 when releasing sink pad. Fixes #425400.
7194 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7196 * docs/random/ensonic/dynlink.txt:
7197 More work on proposal for new core api.
7199 * docs/libs/gstreamer-libs-sections.txt:
7200 * libs/gst/base/gstbasetransform.h:
7201 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7203 * libs/gst/controller/gstcontroller.c:
7204 (on_object_controlled_property_changed),
7205 (gst_controller_sync_values),
7206 (gst_controller_set_interpolation_mode):
7207 * libs/gst/controller/gstcontroller.h:
7208 Less verbose logging add docs for unimplemented parts and correctly
7209 return when using unavailable parts.
7211 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7213 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7214 Move all the debug to the CLOCK category, and associate it with
7217 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7219 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7220 Make take_buffer a bit quicker by removing redundant checks
7221 caused by calling gst_adapter_take.
7223 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7225 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7228 * tests/check/Makefile.am:
7229 * tests/check/elements/.cvsignore:
7230 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7231 (GST_START_TEST), (multiqueue_suite):
7232 Add some dead simple unit tests for the 'multiqueue' element
7233 (some bits don't work yet and are disabled for now).
7235 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7237 * gst/gstelement.c: (gst_element_get_request_pad),
7238 (gst_element_class_get_request_pad_template):
7239 Make gst_element_get_request_pad() create request pads only for
7240 request pad templates and not for, say, sometimes pad templates.
7242 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7244 * docs/design/draft-klass.txt:
7245 Add example that needs more thinking.
7247 * docs/design/draft-missing-plugins.txt:
7248 More thoughts about wrapper plugins.
7250 * docs/random/ensonic/embedded.txt:
7251 * docs/random/ensonic/profiling.txt:
7254 2007-03-25 Wim Taymans <wim@fluendo.com>
7256 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7257 (gst_base_src_loop):
7258 Only push the segment events in the PLAYING state for live sources.
7260 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7262 * gst/gstpipeline.c: (gst_pipeline_change_state):
7263 Modify the clock distribution path in PAUSED->PLAYING so that we
7264 never attempt to choose a new clock unless we're actually leaving
7265 the PAUSED state for the first time. This prevents choosing a
7266 different clock when the state_change gets called for a 2nd time due
7267 to some element doing an async state change.
7269 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7271 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7272 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7273 (gst_pad_chain_unchecked), (gst_pad_push):
7274 Revert last commit. This needs some more thoughts.
7276 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7278 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7279 (gst_pad_chain_unchecked), (gst_pad_push):
7280 Check in set_caps if the caps are compatible with the pad and remove
7281 two functions that are redundant now. Fixes #421543.
7283 2007-03-22 Wim Taymans <wim@fluendo.com>
7285 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7286 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7287 Unref some more to make valgrind happy.
7289 2007-03-22 Wim Taymans <wim@fluendo.com>
7291 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7292 (gst_system_clock_id_wait_jitter),
7293 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7294 Fix anoying regression that survived a few releases. When adding an
7295 async entry while blocking on a sync entry, the sync entry will unblock
7296 but still be busy, so it should continue to wait instead of returning
7298 Add some comments here and there.
7300 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7301 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7302 Add testcase for this.
7304 2007-03-22 Wim Taymans <wim@fluendo.com>
7306 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7307 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7308 WRONG_STATE and can silently pause the task. All other cases should
7311 2007-03-22 Wim Taymans <wim@fluendo.com>
7313 Patch by: Ville Syrjala <syrjala at sci dot fi>
7315 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7316 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7319 2007-03-21 Michael Smith <msmith@fluendo.com>
7321 * docs/pwg/advanced-types.xml:
7322 Fix some errors in the typefinding docs pointed out on irc.
7324 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7326 * libs/gst/base/gstbasesrc.c:
7327 Clarify FIXME comment in the face of having added unlock_stop()
7329 2007-03-21 Wim Taymans <wim@fluendo.com>
7331 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7332 Prepare for release where we warn against possible app breakage in the
7333 case of live pipelines along with an env var to enable/disable live
7334 preroll mode (GST_COMPAT=[no-]live-preroll).
7336 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7338 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7339 So we should use correct constants for checking for None offset.
7341 2007-03-20 Wim Taymans <wim@fluendo.com>
7343 * docs/design/part-block.txt:
7344 Mention the fact that the newly switched element should be set to at
7347 2007-03-20 Wim Taymans <wim@fluendo.com>
7350 Fix compilation with registry disabled as spotted by Saur.
7352 2007-03-20 Wim Taymans <wim@fluendo.com>
7354 Patch by: Olivier Crete <tester at tester dot ca>
7356 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7357 Look at the pending state too when syncing the element state to the
7358 parent. Fixes #420133.
7360 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7362 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7363 (gst_base_sink_change_state):
7364 * libs/gst/base/gstbasesink.h:
7365 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7366 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7367 (gst_base_src_deactivate):
7368 * libs/gst/base/gstbasesrc.h:
7369 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7370 for sub-classes to correctly clear any state they set trying to
7371 unlock, such as clearing out unlock commands from a command fd.
7372 API: basesrc::unlock_stop
7373 API: basesink::unlock_stop
7375 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7376 (gst_fd_sink_render), (gst_fd_sink_unlock),
7377 (gst_fd_sink_unlock_stop):
7378 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7379 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7380 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7382 Implement unlock_stop in fdsrc and fdsink.
7383 Implement seeking in fdsrc when a seekable fd is passed, as in
7384 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7386 2007-03-19 Wim Taymans <wim@fluendo.com>
7388 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7390 * gst/gstelement.c: (gst_element_class_init):
7391 Fix pad-added and pad-removed signal signatures so that the pad type is
7392 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7394 2007-03-19 Wim Taymans <wim@fluendo.com>
7396 * docs/gst/gstreamer-sections.txt:
7397 Add new element field and method.
7399 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7400 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7401 (gst_bin_recalc_state), (gst_bin_get_state_func),
7402 (gst_bin_element_set_state), (gst_bin_change_state_func),
7403 (gst_bin_continue_func), (bin_bus_handler),
7404 (bin_push_state_continue), (bin_handle_async_start),
7405 (bin_handle_async_done), (gst_bin_handle_message_func):
7406 Make async state changes a bit smarter by using new ASYNC_START and
7407 ASYNC_DONE messages. This reduces the number of times we run the state
7408 recalculation thread.
7409 Don't change state of element with a pending ASYNC_START message.
7410 Deprecate STATE_DIRTY messages.
7412 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7413 (gst_element_get_state_func), (gst_element_continue_state),
7414 (gst_element_lost_state), (gst_element_set_state_func),
7415 (gst_element_change_state):
7417 Keep the state that was last set by the app in a new element field.
7418 Don't allow state changes when handling an element event.
7419 Post ASYNC_START and ASYNC_DONE messages.
7420 Change lost_state so that we go to PAUSED and wait for the parent to set
7421 us to PLAYING again (so latency calculation can be performed)
7422 Export gst_element_change_state() method so that subclasses can use it.
7423 API: gst_element_change_state()
7424 API: GST_STATE_TARGET
7426 * gst/gstpipeline.c: (gst_pipeline_class_init),
7427 (reset_stream_time), (gst_pipeline_change_state),
7428 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7429 Using the new ASYNC_START message we can reset the base_time when
7430 needed. This can then be used to implement base_time redistribution in
7431 flushing seeks so that we can remove the explicit seek handling.
7432 Perform latency query and configuration when going to PLAYING.
7434 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7435 (gst_base_sink_query), (gst_base_sink_change_state):
7436 Post new ASYNC_START/ASYNC_DONE messages.
7438 * tests/check/generic/sinks.c: (GST_START_TEST):
7439 Fix test because the bin will not set the async element to PLAYING right
7442 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7443 Make the message check a little stronger.
7444 Handle ASYNC messages.
7446 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7447 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7448 Expect ASYNC_DONE messages.
7450 2007-03-19 Wim Taymans <wim@fluendo.com>
7452 * docs/gst/gstreamer-sections.txt:
7453 * gst/gstmessage.c: (gst_message_new_async_start),
7454 (gst_message_new_async_done), (gst_message_parse_info),
7455 (gst_message_parse_async_start):
7457 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7460 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7462 * tools/gst-inspect.c:
7463 (print_plugin_automatic_install_info_codecs):
7464 Now that we don't check for the 'Codec' keyword any longer in the
7465 klass, we shouldn't spew a warning if the klass isn't a decoder or
7466 encoder (since it might be a Source/Network, for example).
7468 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7470 * tools/gst-inspect.c:
7471 (print_plugin_automatic_install_info_codecs):
7472 Don't require decoder/demuxer/depayloader elements or
7473 encoder/muxer/paylader elements to have 'Codec' as part of their
7474 factory class string when introspecting a plugin's capabilities.
7475 draft-klass.txt mentions that it might be removed in future, and
7476 flump3dec doesn't have it as part of its class string, so chances
7477 are others might also not have it.
7479 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7501 Update translations from translation project
7503 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7505 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7506 (gst_child_proxy_set_property):
7507 Invert precondition check to be alike the ones in the mimiced gobject
7510 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7512 * docs/design/draft-tagreading.txt:
7513 * docs/random/ensonic/audiobaseclasses.txt:
7514 Do some Architect work.
7516 * gst/gstobject.c: (gst_object_set_name):
7520 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7522 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7524 * gst/gstsystemclock.c: (gst_system_clock_init),
7525 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7526 Defer starting the async system clock thread until the first async
7527 wait is scheduled. Fixes #414986.
7529 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7531 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7532 (gst_single_queue_free):
7533 Fix small leak (free GstSingleQueue structure too, not only contents).
7535 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7537 * gst/gstbin.c:(gst_bin_add):
7538 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7539 * win32/common/libgstbase.def:
7540 * win32/common/libgstreamer.def:
7541 Add new exported functions.
7543 2007-03-09 Wim Taymans <wim@fluendo.com>
7545 * docs/plugins/gstreamer-plugins-sections.txt:
7548 2007-03-09 Wim Taymans <wim@fluendo.com>
7550 * docs/gst/gstreamer-sections.txt:
7551 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7553 Add metadata copy functions. Fixes #393099.
7554 API: gst_buffer_copy_metadata()
7556 * gst/gstutils.c: (gst_buffer_stamp):
7557 * libs/gst/base/gstbasetransform.c:
7558 (gst_base_transform_prepare_output_buffer):
7559 Use new metadata copy functions.
7561 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7563 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7564 (gst_identity_init), (gst_identity_check_perfect),
7565 (gst_identity_check_imperfect_timestamp),
7566 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7567 (gst_identity_set_property), (gst_identity_get_property):
7568 * plugins/elements/gstidentity.h:
7569 Separate out check-imperfect-timestamp and check-imperfect-offset.
7570 Put back check-perfect as it was to keep compatibility.
7572 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7574 * gst/gstelement.c: (gst_element_dispose):
7575 There's no need to warn if VOID_PENDING is not NONE here, as
7576 long as the state is NULL it's ok, and that's checked immediately
7579 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7581 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7582 Fix check for perfect stream to ignore buffers with -1
7583 offsets/offset ends when checking data contiguity.
7585 2007-03-08 Wim Taymans <wim@fluendo.com>
7587 * tools/gst-launch.c: (event_loop):
7588 Print INFO messages.
7590 2007-03-08 Wim Taymans <wim@fluendo.com>
7592 * libs/gst/base/gstbasetransform.c:
7593 (gst_base_transform_sink_eventfunc),
7594 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7595 (gst_base_transform_activate):
7596 * libs/gst/base/gstbasetransform.h:
7597 Add support for dropping buffers with custom GstFlowReturn.
7598 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7599 buffers or dropped buffers.
7601 * docs/libs/gstreamer-libs-sections.txt:
7602 docs for new custom return code.
7604 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7605 Use drop support in base class to implement drop-probability.
7607 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7609 * gst/gst.c: (load_plugin_func):
7610 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7611 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7612 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7613 Remove newlines at end of debug log strings.
7615 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7617 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7618 Only post bus message at max, once per buffer received.
7620 2007-03-07 Wim Taymans <wim@fluendo.com>
7622 * docs/design/Makefile.am:
7623 * docs/design/part-synchronisation.txt:
7624 Add doc about synchronisation
7626 * docs/design/draft-latency.txt:
7627 * docs/design/part-TODO.txt:
7628 * docs/design/part-clocks.txt:
7629 * docs/design/part-events.txt:
7630 * docs/design/part-gstbus.txt:
7631 * docs/design/part-gstpipeline.txt:
7632 * docs/design/part-live-source.txt:
7633 * docs/design/part-messages.txt:
7634 * docs/design/part-overview.txt:
7635 * docs/design/part-streams.txt:
7636 * docs/design/part-trickmodes.txt:
7637 Documentation updates.
7639 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7642 Update the doap file.
7644 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7646 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7647 Rename non-perfect to imperfect for Mike and for the sanctity of the
7649 Also make sure bus message gets emitted for data-incontiguities.
7651 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7653 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7654 (gst_identity_start):
7655 * plugins/elements/gstidentity.h:
7656 Emit bus message if check-perfect is true and we encounter a
7657 non-perfect stream between 2 consecutive buffers.
7660 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7665 === release 0.10.12 ===
7667 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7670 releasing 0.10.12, "Inevitable Demise"
7672 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7675 Version 0.10.11.2 (0.10.12 pre-release)
7676 Bump libtool versioning.
7678 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7680 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7681 Log flow-names and not numbers.
7683 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7686 Convert to new AG_GST style.
7688 2007-02-28 Wim Taymans <wim@fluendo.com>
7690 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7691 Don't unref query twice.
7693 2007-02-28 Wim Taymans <wim@fluendo.com>
7695 * gst/gstvalue.c: (gst_value_transform_object_string),
7696 (_gst_value_initialize):
7697 Implement GstObject -> string transform so we print object names
7698 when serializing GValues containing GstObjects.
7700 2007-02-28 Wim Taymans <wim@fluendo.com>
7702 * docs/gst/gstreamer-sections.txt:
7703 Add new stuff to docs.
7705 2007-02-28 Wim Taymans <wim@fluendo.com>
7707 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7708 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7709 (gst_base_sink_change_state):
7710 Improve latency query code.
7711 Don't leak latency events.
7713 * tests/check/gst/gstbin.c: (GST_START_TEST):
7716 2007-02-28 Wim Taymans <wim@fluendo.com>
7718 * gst/gstelement.c: (gst_element_message_full),
7719 (gst_element_get_state_func):
7721 Improve docs a little. Added Since: for new macro.
7723 * gst/gstobject.c: (gst_object_sink):
7724 * gst/gstpipeline.c: (gst_pipeline_change_state),
7725 (gst_pipeline_set_new_stream_time):
7726 * gst/gstpipeline.h:
7727 Improve debugging and docs.
7729 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7732 2007-02-28 Wim Taymans <wim@fluendo.com>
7734 * gst/gstelement.c: (gst_element_message_full),
7735 (gst_element_set_locked_state), (gst_element_get_state_func),
7736 (gst_element_change_state):
7737 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7738 Documentation updates.
7739 Small code cleanups.
7741 * gst/gstmessage.c: (gst_message_new_info),
7742 (gst_message_parse_info):
7744 API: gst_message_new_info()
7745 API: gst_message_parse_info()
7746 Add INFO message create and parse code.
7748 2007-02-28 Wim Taymans <wim@fluendo.com>
7750 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7751 (bin_query_latency_done):
7752 Also report the live parameter of a latency query.
7754 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7756 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7757 Copy the current generic/states example from -base and adapt so
7758 we can use the exact same code everywhere.
7759 Check a STATES_IGNORE_ELEMENTS env var which can be used
7760 to ignore certain element factories for this test, which is
7761 what is being done in -base
7762 * tests/check/Makefile.am:
7763 Mention this environment variable.
7765 2007-02-27 Wim Taymans <wim@fluendo.com>
7767 * docs/gst/gstreamer-sections.txt:
7768 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7769 (gst_bus_timed_pop), (gst_bus_pop):
7771 API: gst_bus_timed_pop()
7772 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7773 message to arrive on the bus.
7775 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7777 Two unit tests for new _timed_pop() function.
7779 2007-02-23 Wim Taymans <wim@fluendo.com>
7781 * gst/gstpipeline.c: (gst_pipeline_change_state),
7782 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7783 Don't ref a NULL clock in _provide_clock_func().
7784 Don't allow an INVALID delay.
7785 Don't try to calculate base_time with an invalid start_time.
7786 Also distribute and notify a NULL clock when it was selected.
7788 * tools/gst-launch.c: (event_loop):
7789 Don't crash when a NULL clock was selected in the pipeline.
7791 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7793 * docs/design/Makefile.am:
7794 * docs/design/draft-missing-plugins.txt:
7795 * docs/random/draft-missing-plugins.txt:
7796 Some small updates: update plugin system identifier prefix
7797 ('gstreamer.net' to 'gstreamer'), mention our new install
7798 API in libgstbaseutils rather than libgimme-codec, add
7799 reference to the online docs.
7801 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7803 * win32/common/config.h:
7804 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7805 use moap cl ci to only check in what is mentioned in the ChangeLog.
7807 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7809 * docs/gst/gstreamer-sections.txt:
7811 Fix up documentation to link to the correct GstGError section.
7812 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7814 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7816 * tools/gst-launch.c: (event_loop):
7817 Make sure that we actually show the important message part of a
7819 No need to check if the gerror is not NULL to free; first of all
7820 g_free accepts NULL; and second the default error handler would
7821 segfault if gerror was NULL.
7823 2007-02-21 Wim Taymans <wim@fluendo.com>
7825 * docs/gst/gstreamer-sections.txt:
7826 Removed docs as well.
7828 2007-02-21 Wim Taymans <wim@fluendo.com>
7830 * gst/gstmessage.c: (gst_message_parse_duration):
7832 Remove new messages for release.
7834 2007-02-20 Wim Taymans <wim@fluendo.com>
7836 * docs/design/part-gstghostpad.txt:
7837 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7838 (gst_ghost_pad_new_full):
7839 Make the ghostpad a parent of the internal pad again for better backward
7840 compatibility. Don't write code that relies on this however.
7842 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7843 (gst_pad_link_check_hierarchy):
7844 Require that parents should be GstElements in the hierarchy check.
7846 2007-02-20 Wim Taymans <wim@fluendo.com>
7848 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7849 (gst_bin_change_state_func), (bin_query_min_max_init),
7850 (bin_query_latency_fold), (bin_query_latency_done),
7853 Implement latency query.
7855 2007-02-20 Wim Taymans <wim@fluendo.com>
7857 * docs/design/part-gstghostpad.txt:
7858 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7859 (gst_ghost_pad_internal_do_activate_push),
7860 (gst_ghost_pad_internal_do_activate_pull),
7861 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7862 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7863 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7864 Do not set the internal pad as a parent anymore so we can avoid
7865 hierarchy linking errors when the ghostpad has no parent yet. This also
7866 fixes failed activation because of unlinked internal pads, which in
7867 turn fixes the impossible case where you have to activate a pad before
7868 you can add it to a running element.
7871 * gst/gstpad.c: (pre_activate), (post_activate),
7872 (gst_pad_set_active), (gst_pad_activate_pull),
7873 (gst_pad_activate_push), (gst_pad_check_pull_range):
7874 Add some more debug info.
7875 Mark activation mode in pre_activate so that we don't try to activate in
7876 endless loops. Fixes #385084.
7878 2007-02-19 Wim Taymans <wim@fluendo.com>
7880 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7881 (gst_base_transform_check_get_range):
7882 Implement a checkgetrange function instead of relying on the default
7883 core behaviour that assumes we can operate in pull mode if we have a
7884 getrange function. First step at fixing #385084.
7886 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7888 * gst/gstchildproxy.h:
7889 * libs/gst/base/gstbasesink.h:
7890 * libs/gst/base/gstbasesrc.h:
7891 * libs/gst/base/gstbasetransform.h:
7892 More docs coverage and some ChangeLog surgery (add missing names)
7894 2007-02-15 Wim Taymans <wim@fluendo.com>
7896 * docs/design/part-TODO.txt:
7897 * docs/design/part-activation.txt:
7898 * docs/design/part-block.txt:
7899 * docs/design/part-buffering.txt:
7900 * docs/design/part-clocks.txt:
7901 * docs/design/part-element-source.txt:
7902 * docs/design/part-events.txt:
7903 * docs/design/part-gstbin.txt:
7904 * docs/design/part-gstbus.txt:
7905 * docs/design/part-gstpipeline.txt:
7906 * docs/design/part-live-source.txt:
7907 * docs/design/part-messages.txt:
7908 * docs/design/part-overview.txt:
7909 * docs/design/part-qos.txt:
7910 * docs/design/part-query.txt:
7911 * docs/design/part-states.txt:
7912 * docs/design/part-trickmodes.txt:
7913 Some doc updates. Start renaming from stream_time to running_time where
7914 it was used wrongly.
7916 2007-02-15 Wim Taymans <wim@fluendo.com>
7918 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7919 Answer LATENCY query.
7921 2007-02-15 Wim Taymans <wim@fluendo.com>
7923 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7927 2007-02-15 Wim Taymans <wim@fluendo.com>
7929 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7930 (gst_pad_dispatcher):
7931 Improve debugging of default pad dispatcher and query functions.
7933 2007-02-15 Wim Taymans <wim@fluendo.com>
7935 * docs/gst/gstreamer-sections.txt:
7936 Remove old unused method.
7938 2007-02-13 Wim Taymans <wim@fluendo.com>
7940 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7943 2007-02-13 Wim Taymans <wim@fluendo.com>
7945 * docs/design/part-seeking.txt:
7948 * gst/gstsegment.c: (gst_segment_set_seek):
7949 Revert old bogus change that should make seeking work again.
7951 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7953 * docs/random/ensonic/dynlink.txt:
7954 * docs/random/ensonic/interfaces.txt:
7955 * docs/random/ensonic/receipies.txt:
7956 Possible dynamic reconnection api, plus some type fixes the other two
7959 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7961 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7962 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7963 Also check for an absolute path following file:// in the filesrc
7964 element. Remove redundant check and call g_path_is_absolute() on the
7967 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7969 * docs/design/draft-klass.txt:
7970 Add existing category analysis.
7973 Fix doc example, framerate is a fraction.
7975 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7978 * docs/gst/Makefile.am:
7979 * docs/gst/gstreamer-sections.txt:
7980 * docs/libs/Makefile.am:
7981 Erm, forgot a bunch of --extra-dir.
7983 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7986 * docs/gst/Makefile.am:
7987 * docs/libs/Makefile.am:
7988 * docs/plugins/Makefile.am:
7989 Add crossreferences to glib/gobject docs.
7991 2007-02-12 Wim Taymans <wim@fluendo.com>
7993 * docs/design/draft-latency.txt:
7996 * docs/libs/gstreamer-libs-sections.txt:
7997 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7998 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7999 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
8000 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
8001 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
8002 (gst_base_sink_get_position), (gst_base_sink_query),
8003 (gst_base_sink_change_state):
8004 * libs/gst/base/gstbasesink.h:
8005 API: gst_base_sink_query_latency() to let subclasses query the upstream
8007 API: gst_base_sink_get_latency() to let subclasses query the configured
8008 latency in the sink.
8009 Implement query and set latency.
8011 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
8012 don't continue preroll when we are flushing. Fixes #405284.
8014 * tests/check/pipelines/stress.c: (change_state_timeout),
8015 (quit_timeout), (GST_START_TEST), (stress_suite):
8018 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
8020 Patch by: René Stadler <mail at renestadler de>
8022 * docs/gst/gstreamer-sections.txt:
8023 * gst/gsttaglist.c: (_gst_tag_initialize):
8025 API: add GST_TAG_REFERENCE_LEVEL (#403597).
8027 2007-02-11 Stefan Kost <ensonic@users.sf.net>
8029 * docs/libs/Makefile.am:
8030 Fix path to core docs.
8032 * gst/gstbin.c: (gst_bin_get_by_interface),
8033 (gst_bin_iterate_all_by_interface):
8034 Refix docs by also renaming 'interface' to 'iface' in implementation.
8036 * docs/gst/gstreamer-sections.txt:
8038 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
8039 * gst/gstchildproxy.h:
8040 * gst/gstelementfactory.c:
8041 * gst/gstpadtemplate.h:
8042 * libs/gst/controller/gstcontroller.c:
8043 (gst_controlled_property_new):
8046 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
8048 * gst/gstbin.h:(gst_bin_get_by_interface),
8049 (gst_bin_iterate_all_by_interface):
8050 Replace interface parameter name by iface as interface is
8051 a reserved keyword in Visual Studio for C++ projects so it removes
8052 a build error for application developpers using VS.
8053 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
8054 Fix a bug on Windows in uri format check. Now the prefix checked
8055 is file:// and next we check if the path after file:// is absolute.
8056 * win32/common/libgstbase.def:
8057 * win32/common/libgstdataprotocol.def:
8058 * win32/common/libgstgstreamer.def:
8059 Add new exported functions.
8061 2007-02-09 Andy Wingo <wingo@pobox.com>
8063 * tests/check/pipelines/simple-launch-lines.c
8064 (simple_launch_lines_suite, test_tee): Disable tee test until I
8065 have time to fix it :-(
8067 * tests/check/Makefile.am (noinst_HEADERS):
8068 * tests/check/libs/libsabi.c:
8069 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
8070 * tests/check/gst/gstabi.c:
8071 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
8073 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
8074 tests for push and pull tee behavior.
8076 * plugins/elements/gsttee.h:
8077 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
8078 mark as deprecated as well as unimplemented. It was a crack idea.
8079 Add support for tee operating in pull mode, off by default.
8081 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
8082 normal-case logs down to LOG, raise errors to WARNING.
8083 (gst_registry_xml_read_cache): Don't log before calling a function
8086 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8087 exit (registry finalize).
8088 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8089 DEBUG log when we emit signals that people don't even have the
8090 chance to connect to.
8091 (gst_registry_scan_path_level): Less logging in the normal case.
8093 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8095 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8097 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8098 Correctly generate EOS for non-seekable files. We don't have a total
8099 length for them and would get an unexpected end of file if we only
8100 special-cased for regular files. (Fixes: #404569)
8102 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8104 * tests/check/elements/filesrc.c: (GST_START_TEST),
8106 Add unit test for the GstURIHandler interface in filesrc. This also
8107 tests the newly added file://localhost/foo/bar support.
8109 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8111 * gst/gstelementfactory.h:
8112 The klass string is not a hierarchy. Add reference to the design doc
8113 for more information and common types.
8115 2007-02-02 Wim Taymans <wim@fluendo.com>
8117 * gst/gstquery.c: (gst_query_new_latency):
8118 Remove old structure field.
8120 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8122 * tools/gst-launch.1.in:
8123 Give example for network streaming (#351998)
8125 2007-02-02 Wim Taymans <wim@fluendo.com>
8127 * docs/gst/gstreamer-sections.txt:
8128 Add docs for new methods.
8130 * gst/gstevent.c: (gst_event_new_latency),
8131 (gst_event_parse_latency):
8133 Add new LATENCY event to configure latency in a pipeline.
8134 API: gst_event_new_latency
8135 API: gst_event_parse_latency
8137 * gst/gstmessage.c: (gst_message_new_buffering),
8138 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8139 (gst_message_new_latency), (gst_message_parse_buffering),
8140 (gst_message_parse_lost_preroll):
8142 Added messages used in draft-latency.
8143 API: gst_message_new_lost_preroll
8144 API: gst_message_parse_lost_preroll
8145 API: gst_message_new_prerolled
8146 API: gst_message_new_latency
8148 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8149 (gst_query_parse_latency):
8151 Implemented new latency query as in design doc.
8152 API: gst_query_new_latency
8153 API: gst_query_set_latency
8154 API: gst_query_parse_latency
8156 2007-02-02 Wim Taymans <wim@fluendo.com>
8158 * docs/design/draft-latency.txt:
8159 Slight redesign to allow for dynamic latency adjustments.
8161 * docs/design/part-negotiation.txt:
8164 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8166 reviewed by: Wim Taymans <wim@fluendo.com>
8168 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8169 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8170 Allow file://localhost/foo/bar URLs and correctly fail for every other
8171 hostname that one sets. This was gnomevfssrc is linked for those if
8172 installed as it can handle it (#403172)
8174 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8176 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8178 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8179 (unref_data), (gst_collect_pads_add_pad_full):
8180 * libs/gst/base/gstcollectpads.h:
8181 Don't put the previously added destroy notify in the GstCollectData
8182 struct as all it's padding is already used and we don't want to break
8183 ABI. Instead put in the pad's GObject data for now. This should be
8184 cleaned up for 0.11 (#402393).
8186 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8188 reviewed by: Wim Taymans <wim@fluendo.com>
8190 * docs/libs/gstreamer-libs-sections.txt:
8191 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8192 (unref_data), (gst_collect_pads_add_pad),
8193 (gst_collect_pads_add_pad_full):
8194 * libs/gst/base/gstcollectpads.h:
8195 API: Add function to specify a destroy notification for custom
8196 GstCollectData when adding new pads in GstCollectPads (#402393).
8198 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8201 Update Swedish translation (#378255).
8203 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8205 * docs/design/draft-klass.txt:
8206 Fix the previous change, this is a list of categories and not a hierarchy.
8208 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8210 * docs/design/draft-klass.txt:
8211 Add info about how to get a list of used classes.
8213 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8215 * plugins/elements/gsttypefindelement.c:
8216 (gst_type_find_element_chain_do_typefinding),
8217 (gst_type_find_element_change_state):
8218 Don't leak found caps in chain function (no idea why that never
8219 showed up as a leak anywhere).
8221 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8224 Fix and expand GstPluginDesc API docs.
8226 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8229 * gst/gstelementfactory.c:
8230 * gst/gstpadtemplate.h:
8233 * libs/gst/controller/gstcontroller.c:
8234 (gst_controlled_property_new):
8235 * tests/examples/controller/audio-example.c:
8238 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8241 comment about refining the xml deps
8244 comments about moving away from jade for docs
8247 recommit the ifdefs to use the binary registry
8249 * gst/gstbin.c: (gst_bin_change_state_func):
8250 this break is obsolete
8252 * gst/gstelementfactory.h:
8253 better GST_ELEMENT_DETAILS docs, add comment about translation
8258 * gst/gstobject.c: (gst_signal_object_get_type):
8259 add G_UNLIKELY as usual
8261 * gst/gstpad.c: (gst_pad_event_default):
8262 add fall trhu comment
8264 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8265 (gst_registry_binary_initialize_magic),
8266 (gst_registry_binary_save_string),
8267 (gst_registry_binary_save_pad_template),
8268 (gst_registry_binary_save_feature),
8269 (gst_registry_binary_save_plugin),
8270 (gst_registry_binary_write_cache),
8271 (gst_registry_binary_check_magic),
8272 (gst_registry_binary_load_pad_template),
8273 (gst_registry_binary_load_feature),
8274 (gst_registry_binary_load_plugin),
8275 (gst_registry_binary_read_cache):
8276 comment typo and formatting
8278 * gst/gstutils.c: (gst_element_state_get_name),
8279 (gst_element_state_change_return_get_name):
8280 remove obsolete breaks
8282 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8283 add FIXME 0.11 and remove cpp comment
8285 2007-01-29 Edward Hervey <edward@fluendo.com>
8287 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8288 Fix print statement in an even more portable way.
8290 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8292 * docs/gst/gstreamer-sections.txt:
8294 API: add GST_ROUND_DOWN_* macros (#401781).
8296 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8298 * docs/gst/gstreamer.types.in:
8299 * gst/gstregistry.c: (gst_registry_class_init):
8300 Document registry signals and make gtk-doc pick them up (#401381).
8302 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8304 * docs/pwg/building-testapp.xml:
8305 Add some audioconverts and audioresample to the pipeline, and some
8306 more comments and error handling.
8308 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8310 * docs/manual/manual.xml:
8314 2007-01-26 Wim Taymans <wim@fluendo.com>
8316 * gst/gstcaps.c: (gst_static_caps_get):
8317 Init caps flags too.
8319 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8321 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8323 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8324 If not using mmap'ed files try to seek to the end instead of the
8325 start to determine whether we can seek at all. This fixes the case
8326 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8327 seeks for everything afterwards fail. Fixes #400656
8329 2007-01-25 Wim Taymans <wim@fluendo.com>
8331 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8332 Add some refcount debugging.
8333 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8334 in multiple streaming threads.
8336 2007-01-25 Wim Taymans <wim@fluendo.com>
8338 Patch by: David Schleef <ds at schleef dot org>
8340 * docs/libs/gstreamer-libs-sections.txt:
8341 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8342 * libs/gst/base/gstadapter.h:
8343 API: gst_adapter_copy() that can reduce the amount of memcpy when
8344 getting data from the adapter. Fixes #388201.
8346 2007-01-25 Edward Hervey <edward@fluendo.com>
8348 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8349 In print statements, "%x" is for guint. Fixes build on macosx.
8351 2007-01-24 Edward Hervey <edward@fluendo.com>
8353 * plugins/elements/gstmultiqueue.c:
8354 (gst_multi_queue_loop):
8356 (single_queue_overrun_cb), (single_queue_underrun_cb),
8357 (single_queue_check_full), (gst_single_queue_new):
8358 Implement single queue growth system.
8359 This uses the extra-size properties, and will grow single queues by
8360 that much if one goes full whereas there are others empty. This is
8361 called extra-mode in the code.
8362 When a single queue's levels go back below the initial max-size
8363 limits, it is no longer in extra-mode. This is to ensure we don't
8364 consume too much memory.
8367 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8369 * gst/gst.c: (gst_init_get_option_group):
8370 Make warning about late g_thread_init() calls a bit more explicit,
8371 so that it's more obvious to application developers what they need
8372 to do if a user files a bug against their application.
8374 2007-01-22 Edward Hervey <edward@fluendo.com>
8376 * plugins/elements/gstmultiqueue.c:
8377 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8378 Remove previous hack of unsetting the flushing flag for the source pad
8379 instead of activating it. Instead, fix the source pad activate function
8380 so that it no longer depends on having a parent set or not.
8382 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8384 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8386 * docs/manual/basics-bus.xml:
8387 Fix example code, gst_element_unref() doesn't exist any longer.
8389 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8391 Patch by: Mark Nauwelaerts <manauw at skynet be>
8394 Fix two docs typoes (#399094).
8396 2007-01-19 Edward Hervey <edward@fluendo.com>
8398 * docs/faq/gst-uninstalled:
8399 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8400 depending on libgstbaseutils can work in uninstalled environment.
8402 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8405 * gst/gsttagsetter.c:
8406 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8407 statement for new tag.
8409 2007-01-17 Edward Hervey <edward@fluendo.com>
8411 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8412 When dynamically creating single queues, activate sinkpad before adding
8414 We should be doing the same thing for the source pad, but we can't
8415 since it would call a method which needs the parent to be set in order
8416 to work propertly. Instead of activating the source pad, we just unset
8417 the flushing flag, which is the minimal requirement for adding a pad
8418 to an element in a state greater than READY.
8420 2007-01-17 Edward Hervey <edward@fluendo.com>
8422 * docs/faq/gst-uninstalled:
8423 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8426 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8428 * tests/check/gst/gstabi.c:
8429 * tests/check/gst/struct_hppa.h:
8430 * tests/check/libs/libsabi.c:
8431 * tests/check/libs/struct_hppa.h:
8432 Add ABI structs for HPPA (see #393796).
8434 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8436 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8437 Actually write ABI structs to the file specified in the GST_ABI
8438 environment variable, as the message we print claims we would.
8440 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8442 * tests/check/gst/gsttask.c:
8445 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8447 * gst/gsttaglist.c: (_gst_tag_initialize):
8448 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8449 previous two entries.
8451 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8453 * docs/gst/gstreamer-sections.txt:
8454 * gst/gsttaglist.c: (_gst_tag_initialize):
8456 Add tag support for beat-per-minute.
8458 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8460 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8461 (gst_registry_binary_initialize_magic),
8462 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8463 (gst_registry_binary_save_pad_template),
8464 (gst_registry_binary_save_feature),
8465 (gst_registry_binary_save_plugin),
8466 (gst_registry_binary_write_cache),
8467 (gst_registry_binary_check_magic),
8468 (gst_registry_binary_load_pad_template),
8469 (gst_registry_binary_load_feature),
8470 (gst_registry_binary_load_plugin),
8471 (gst_registry_binary_read_cache):
8472 * gst/gstregistrybinary.h:
8473 Use glib types, cleanup comments, impement interfaces and uri-types.
8475 2007-01-13 Andy Wingo <wingo@pobox.com>
8477 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8478 getrange() to return buffers with other caps, while we fix
8479 demuxers and typefind, or otherwise change part-negotiation.txt.
8481 2007-01-12 Andy Wingo <wingo@pobox.com>
8483 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8484 Factor start/stop into this private function instead of partially
8485 in activate functions and partially in the change_state function.
8486 Fixes setup before the element has changed from READY->PAUSED, as
8487 is the case in pull-mode pipelines.
8488 (gst_base_transform_sink_activate_push)
8489 (gst_base_transform_src_activate_pull): Refactor to use
8490 gst_base_transform_activate().
8491 (gst_base_transform_change_state): Removed, not needed any more.
8493 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8494 Truncate before fixating.
8496 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8497 Don't set_caps() if the result of fixating is ANY, as it's not
8498 supported, and not necessary in the case of a link with no
8499 template caps on either side. Fixes tests/check/libs/basesrc in
8500 some pull-mode tests.
8502 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8503 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8504 (gst_base_transform_src_activate_pull):
8505 Track the activation mode.
8506 (gst_base_transform_setcaps): In pull mode, when activating the
8507 src pad, after activating the sink pad, activate the sink pad's
8508 peer, as discussed in part-negotiation.txt.
8510 * libs/gst/base/gstbasesrc.h:
8511 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8512 vmethod, as in basesink.
8514 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8516 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8517 mode, first proxy the setcaps to the peer pad.
8518 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8520 (gst_base_sink_default_activate_pull): Rename from
8521 gst_base_sink_activate_pull.
8522 (gst_base_sink_negotiate_pull): New function, performs negotiation
8523 in pull mode before calling ::activate_pull().
8524 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8525 vmethod instead of the default implementation. I have no idea how
8526 this worked before. Negotiate before calling activate_pull.
8528 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8529 sink pads in pull mode. In addition to being correct, fixes
8530 filesrc ! decodebin ! identity ! fakesink.
8531 (gst_pad_get_range, gst_pad_pull_range): Don't call
8532 gst_pad_set_caps() if the caps changes; instead error out with
8533 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8535 2007-01-12 Andy Wingo <wingo@pobox.com>
8537 * docs/design/part-negotiation.txt: Update with more policy.
8539 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8541 * libs/gst/check/gstbufferstraw.h:
8542 * libs/gst/check/gstcheck.h:
8543 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8546 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8548 * tests/check/Makefile.am:
8549 * tests/check/gst/.cvsignore:
8550 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8551 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8552 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8553 (GST_START_TEST), (gst_tag_setter_suite):
8554 Add minimal unit test for beforementioned GstTagSetter bug.
8556 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8558 Patch by: René Stadler <mail at renestadler dot de>
8560 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8561 gst_tag_list_merge() returns a new list, so it's not the best idea
8562 to ingore its return value. Effectively meant that tags could only
8563 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8564 Also add function guard to require a non-NULL taglist as input (has
8565 always been so due to gst_tag_list_copy(), just making it explicit).
8567 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8569 * docs/random/draft-missing-plugins.txt:
8570 Some additions: mention new API that is supposed to be used at the
8571 various stages; short blob about new gst-inspect introspection
8572 option; mention potential future problem with plugins that have
8573 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8575 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8577 * tools/gst-inspect.c:
8578 (print_plugin_automatic_install_info_codecs),
8579 (print_plugin_automatic_install_info_protocols),
8580 (print_plugin_automatic_install_info), (main):
8581 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8582 introspect plugin files and get machine-parsable output that corresponds
8583 to the last bit of the missing-plugin installer string (small gotcha:
8584 doesn't take into account ranks).
8586 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8589 * docs/gst/gstreamer-sections.txt:
8591 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8592 (gst_registry_lookup_locked):
8593 * gst/gstregistry.h:
8594 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8595 (gst_registry_binary_initialize_magic),
8596 (gst_registry_binary_save_string),
8597 (gst_registry_binary_save_pad_template),
8598 (gst_registry_binary_save_feature),
8599 (gst_registry_binary_save_plugin),
8600 (gst_registry_binary_write_cache),
8601 (gst_registry_binary_check_magic),
8602 (gst_registry_binary_load_pad_template),
8603 (gst_registry_binary_load_feature),
8604 (gst_registry_binary_load_plugin),
8605 (gst_registry_binary_read_cache):
8606 * gst/gstregistrybinary.h:
8607 * gst/gstregistryxml.c: (load_feature),
8608 (gst_registry_xml_read_cache):
8609 commit binary registry (disabled by default, see #359653)
8611 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8613 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8614 Fix 'make check' too.
8616 2007-01-10 Andy Wingo <wingo@pobox.com>
8618 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8621 * docs/design/part-negotiation.txt: Update with, um, one way that
8622 pull-mode negotiation might work?
8625 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8626 that the pad must be a src pad; makes sense to call it the other
8627 way in pull mode, and the logic is symmetric anyway.
8629 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8631 * plugins/elements/gstfilesink.c:
8632 Include <stdio.h> for fseeko().
8634 2007-01-10 Wim Taymans <wim@fluendo.com>
8638 Reserve LATENCY event.
8640 2007-01-09 Wim Taymans <wim@fluendo.com>
8642 * docs/design/draft-latency.txt:
8645 2007-01-09 Wim Taymans <wim@fluendo.com>
8647 * docs/design/draft-latency.txt:
8651 * gst/gststructure.c:
8655 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8657 * tests/check/.cvsignore:
8658 Ignore test-registry.xml as well.
8660 2007-01-09 Wim Taymans <wim@fluendo.com>
8662 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8663 unref data at the end when we are done with the pad.
8665 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8667 * docs/gst/gstreamer-sections.txt:
8668 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8669 (init_post), (gst_deinit), (gst_update_registry):
8671 API: add gst_update_registry() (#391296).
8673 * tests/check/Makefile.am:
8674 * tests/check/gst/gstregistry.c:
8675 * tests/check/gst/.cvsignore:
8676 Simple unit test for the above.
8678 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8680 * gst/gstregistry.c: (gst_registry_scan_path_level):
8681 Plugin extension on HP-UX is .sl, add that to the list of approved
8682 plugin extensions (see #393796).
8684 * tests/check/gst/gstpad.c: (GST_START_TEST):
8685 ulong => gulong. Fixes compilation with HP-UX compiler.
8687 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8688 Fix compilation if valgrind headers are not available.
8690 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8692 * win32/common/libgstreamer.def:
8693 Add new exported function.
8694 * win32/vs6/libgstbase.dsp:
8695 Add gstdataqueue.c to the build.
8696 * win32/vs6/libgstcoreelements.dsp:
8697 Add gstmultiqueue.c to the build.
8699 2007-01-06 Andy Wingo <wingo@pobox.com>
8701 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8702 activate_pull(), providing for a way to specialize the process of
8703 spawning a thread to pull on the sink pad. There is a default
8706 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8707 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8708 (gst_base_sink_init): Renamed pad activation functions (inserting
8709 "_pad" in their names). Refactor to use the new activate_pull
8710 vmethod, as appropriate.
8711 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8712 default activate_pull function to start a task pulling from the
8713 sink pad, as before.
8715 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8716 on the pads if necessary, as in push()/chain(). Update docs.
8717 Shouldn't affect existing pull() usage as it is currently only
8718 being used on buffers without caps.
8720 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8722 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8724 Call g_thread_init() first thing in gst_init() / gst_check_init().
8725 When initialisation is done via gst_init_get_option_group() and
8726 GOption parsing, issue a warning if the GLib thread system has not
8727 been initialised yet by the time gst_init_get_option_group() is
8728 called, as it's quite likely other GLib functions such as
8729 g_option_context_new() have been called already then, and
8730 g_thread_init() must be called before any other GLib function. The
8731 application in question must be fixed in that case, since memory
8732 corruption might happen otherwise.
8733 We issue the warning because even if the GLib folks decide to work
8734 around the problem on their end in future, this is still an issue
8735 with all GLib versions >= 2.10.0, so we should warn until we depend
8736 on a GLib version we know to be safe.
8737 Update documentation as well.
8740 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8742 * tools/gst-inspect.c: (main):
8743 * tools/gst-launch.c: (main):
8744 * tools/gst-typefind.c: (main):
8745 * tools/gst-xmlinspect.c: (main):
8746 Call g_thread_init() really really early, before any other GLib
8747 function (see #342564 and recent discussion on gtk-devel-list).
8749 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8751 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8753 * gst/gst_private.h:
8754 * gst/gstconfig.h.in:
8756 On win32, all the __declspec stuff for symbol exporting is
8757 apparently only needed with MSVC, but doesn't work with MingW.
8758 Fixes compilation with MingW and #391909.
8760 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8762 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8763 Change some GST_ERROR_OBJECT that aren't really errors to
8764 GST_WARNING_OBJECT in order to reduce terminal spam.
8766 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8768 * tests/check/Makefile.am:
8769 disable test again, as there seem to be still race problems
8771 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8773 * tests/check/Makefile.am:
8774 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8775 (GST_START_TEST), (queue_suite):
8776 enable queue test again, add tests for the leaky behaviour
8778 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8781 * tests/examples/Makefile.am:
8782 Compile adapter test/example only if the required headers are
8783 available (fixes #391915).
8785 2007-01-01 David Schleef <ds@schleef.org>
8788 Restore the previous signal handler for SIGSEGV instead of
8789 setting to default, since we may have stolen it away from
8790 someone. (i.e., Mono)
8792 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8794 * docs/random/draft-missing-plugins.txt:
8795 Some small additions and clarifications.
8797 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8799 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8800 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8801 since that can lead to random memory corruptions and crashes
8802 (may or may not be related to #383244, #386711, and #386711).
8804 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8806 * tests/check/.cvsignore:
8807 * tests/check/Makefile.am:
8808 sync .cvsignome and CLEANFILES
8810 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8812 * tests/check/Makefile.am:
8815 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8817 * docs/design/part-states.txt:
8818 two tiny additional comments
8820 * gst/gststructure.c:
8823 * tests/check/Makefile.am:
8824 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8826 disable test for now, unless it gets fixed
8828 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8830 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8832 fix race in underrun test
8834 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8836 * tests/check/elements/.cvsignore:
8839 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8841 try to narrow test failure
8843 2006-12-21 David Schleef <ds@schleef.org>
8845 * plugins/elements/gstfakesrc.c:
8846 Use g_random_int_range(), since it produces better random
8847 numbers in a range than almost-correct floating point code.
8849 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8851 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8852 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8853 (gst_check_teardown_sink_pad):
8854 do not automatically (de)activate pads
8856 * tests/check/Makefile.am:
8857 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8858 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8859 add new, yet simple tests for queue
8861 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8862 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8863 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8865 * tests/check/elements/identity.c: (cleanup_identity):
8866 consistent pad (de)activation
8868 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8870 Patch by: Sebastian Dröge <slomo ubuntu com>
8872 * libs/gst/base/gstcollectpads.c:
8873 Fix two doc typos (#387866).
8875 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8877 * docs/manual/advanced-dparams.xml:
8878 Fix typo (g_object_control_properties() doesn't exist).
8880 2006-12-19 Edward Hervey <edward@fluendo.com>
8882 * gst/gstsegment.c: (gst_segment_set_seek):
8883 Fine tune the cases where the segment start/stop values are really
8885 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8886 Add tests for the return values of gst_segment_set_seek().
8888 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8893 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8895 Fix incorrect documentation and flesh it out a bit more.
8896 Set default values for the max properties on the GParamSpec as well,
8897 so it shows up correctly in gst-inspect.
8899 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8901 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8902 Correct docs of queue, add more detail and crosslink it more.
8904 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8906 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8907 Print additional debug info when the stream isn't perfectly
8908 timestamped; don't try to use invalid durations.
8910 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8912 * docs/design/Makefile.am:
8913 Dist new design docs.
8915 2006-12-16 Wim Taymans <wim@fluendo.com>
8917 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8919 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8920 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8921 (gst_collect_pads_stop), (gst_collect_pads_event),
8922 (gst_collect_pads_chain):
8923 * libs/gst/base/gstcollectpads.h:
8924 Add refcounting to the collectpads data so we can track when it's safe
8925 to free the data. Fixes #383382.
8927 2006-12-15 Wim Taymans <wim@fluendo.com>
8929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8930 (gst_collect_pads_remove_pad):
8931 Automatically activate/deactivate pads when they are added to a
8932 started/stoped collectpads.
8934 2006-12-15 Wim Taymans <wim@fluendo.com>
8936 * gst/gstelement.c: (gst_element_add_pad):
8937 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8938 * gst/gstpad.c: (gst_pad_init):
8939 Set pads to FLUSHING when they are created. Check, warn and fix when a
8940 demuxer adds an inactive pad to itself when running. Fixes #339326.
8942 2006-12-15 Wim Taymans <wim@fluendo.com>
8944 * gst/gstelement.c: (gst_element_class_init),
8945 (gst_element_default_send_event), (gst_element_send_event),
8946 (gst_element_default_query), (gst_element_query):
8947 Expose default element send_event and query handling as vmethods that
8948 subclasses can chain up to.
8950 2006-12-15 Wim Taymans <wim@fluendo.com>
8952 * gst/gstelement.c: (gst_element_set_state_func):
8953 Small documentation fixes.
8955 2006-12-15 Wim Taymans <wim@fluendo.com>
8957 * docs/design/draft-latency.txt:
8958 Checked in draft for handling latency in pipelines.
8960 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8964 * gstreamer.spec.in:
8967 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8969 * gst/gst.c: (init_pre), (init_post):
8970 init_pre() and init_post() might be called via our GOptionGroup or
8971 from gst_init(), and we should skip both of them if we've already
8972 been initialised, otherwise we will init some things twice or add
8973 two default log functions.
8975 2006-12-13 Edward Hervey <edward@fluendo.com>
8977 * docs/manual/basics-bus.xml:
8978 No, gst_main_loop does not exist. Its g_main_loop.
8979 Discovered by somebody who abused the copy-paste technique of coding :)
8981 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8983 * gst/gstghostpad.c:
8984 Log ghostpad debug stuff to the GST_PADS category as well rather
8985 than just to the default category.
8987 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8990 * gst/gst.c: (init_pre):
8991 Add some basic system details such as OS and architecture
8992 to the debug output if possible, courtesy of uname().
8994 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8996 * docs/gst/running.xml:
8997 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8998 environment variables.
9000 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9002 * tests/check/gst/gstbin.c: (GST_START_TEST):
9003 It is acceptable to have a refcount of 2 or 3 at this point in the
9004 test, because the pipeline might be just posting its state_change
9005 message. The next line then waits for that message to appear using
9006 bus_poll, so that should be fine too.
9008 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
9010 * gst/gst.c: (ensure_current_registry_forking):
9011 Ignore EINTR when reading from the child registry pipe.
9012 Explicitly ignore the return value from close, since it makes no
9015 * gst/gstminiobject.c: (gst_mini_object_ref),
9016 (gst_mini_object_unref):
9017 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
9019 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
9020 When removing cached plugins, remove their features too, so they're
9021 not visible after they've disappeared.
9023 * gst/gstutils.c: (prepare_link_maybe_ghosting):
9024 In the unlikely case that we are linking pads with no parents, don't
9025 crash trying to get the non-existent parent bin.
9027 * gst/parse/grammar.y:
9028 Output debug in the PIPELINE category
9030 2005-03-08 Wim Taymans <wim@fluendo.com>
9032 Patch by: René Stadler <mail at renestadler dot de>
9034 * gst/gstclock.c: (gst_clock_new_periodic_id):
9035 Reject invalid clock times for interval of periodic ids.
9038 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9040 * gst/gstelementfactory.c: (gst_element_factory_create):
9041 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
9042 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
9043 * tools/gst-inspect.c: (print_element_info):
9044 Fix refcounting of gst_plugin_feature_load to match the docs.
9047 2006-12-07 Wim Taymans <wim@fluendo.com>
9049 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
9050 (gst_base_sink_get_position):
9051 Improve debugging of events.
9053 2006-12-07 Wim Taymans <wim@fluendo.com>
9055 Patch by: René Stadler <mail at renestadler dot de>
9057 * gst/gstclock.c: (gst_clock_id_wait):
9058 Make period ids add the interval to the origial requested time instead
9059 of the possibly updated time which can be wrong when there are multiple
9060 waiters for the same id. Fixes #382592.
9062 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
9063 (gst_system_clock_id_wait_jitter_unlocked),
9064 (gst_system_clock_id_wait_jitter):
9065 Fix restart in the async notify thread when an async entry is added to
9066 the front of the list. Fixes #381492.
9068 * tests/check/gst/gstsystemclock.c: (store_callback),
9069 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
9070 Added test for multiple async waits.
9071 Added test for async wait order.
9073 2006-12-07 Wim Taymans <wim@fluendo.com>
9075 * gst/gstbin.c: (gst_bin_query):
9076 Add some more docs about the POSITION query.
9078 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
9081 Bump version nano - back to CVS.
9083 === release 0.10.11 ===
9085 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9088 releasing 0.10.11, "Love never runs on time"
9090 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9092 * win32/common/libgstbase.def:
9093 * win32/common/libgstreamer.def:
9094 * win32/vs8/libgstbase.vcproj:
9095 * win32/vs8/libgstcoreelements.vcproj:
9096 * win32/vs8/libgstreamer.vcproj:
9097 Fix compilation on win32 under VS8
9098 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9099 Partially fixes #381175
9101 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9103 * gst/gstvalue.c: (gst_value_compare_fraction):
9104 If someone is foolish enough to compare 2 fractions with denominator =
9105 0, return UNORDERED rather than aborting.
9107 2006-11-28 Edward Hervey <edward@fluendo.com>
9109 * libs/gst/base/Makefile.am:
9110 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9111 (gst_data_queue_base_init), (gst_data_queue_class_init),
9112 (gst_data_queue_init), (gst_data_queue_new),
9113 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9114 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9115 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9116 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9117 (gst_data_queue_set_flushing), (gst_data_queue_push),
9118 (gst_data_queue_pop), (gst_data_queue_drop_head),
9119 (gst_data_queue_set_property), (gst_data_queue_get_property):
9120 * libs/gst/base/gstdataqueue.h:
9121 New GstDataQueue object for threadsafe queueing. Most useful for
9122 elements that need some queueing functionnality.
9123 * docs/libs/gstreamer-libs-docs.sgml:
9124 * docs/libs/gstreamer-libs-sections.txt:
9125 Insert documentation for GstDataQueue
9126 * plugins/elements/Makefile.am:
9127 * plugins/elements/gstelements.c:
9128 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9129 (gst_multi_queue_class_init), (gst_multi_queue_init),
9130 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9131 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9132 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9133 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9134 (gst_multi_queue_loop), (gst_multi_queue_chain),
9135 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9136 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9137 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9138 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9139 (wake_up_next_non_linked), (compute_next_non_linked),
9140 (single_queue_overrun_cb), (single_queue_underrun_cb),
9141 (single_queue_check_full), (gst_single_queue_new):
9142 * plugins/elements/gstmultiqueue.h:
9143 New multiqueue element, using GstDataQueue. Used for queuing multiple
9145 Closes #344639 and #347785
9147 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9149 * docs/pwg/advanced-types.xml:
9150 add more missing type details
9152 * tools/gst-run.c: (main):
9153 remove unused variable
9155 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9157 * docs/libs/Makefile.am:
9158 * docs/libs/gstreamer-libs.types:
9159 add types of base classes to enable gobject specific stuff in the docs
9161 * docs/random/ensonic/embedded.txt:
9162 more ideas about isolating platform specific things
9164 2006-11-20 Wim Taymans <wim@fluendo.com>
9166 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9168 * libs/gst/check/gstcheck.h:
9169 Fix compilation and running against 0.9.4. Fixes #377332.
9171 2006-11-20 Wim Taymans <wim@fluendo.com>
9173 * gst/gstsegment.c: (gst_segment_set_seek),
9174 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9175 (gst_segment_to_running_time):
9176 Fix boundary checking in to_running_time() and to_stream_time().
9179 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9180 stream and running time can now be calculated for the complete
9183 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9185 * gst/gstpad.c: (gst_pad_push_event):
9186 Can't access event structure after giving away ownership of
9189 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9191 * docs/random/ensonic/embedded.txt:
9192 * docs/random/ensonic/profiling.txt:
9193 * docs/random/ensonic/receipies.txt:
9196 2006-11-13 Wim Taymans <wim@fluendo.com>
9198 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9201 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9203 2006-11-13 Wim Taymans <wim@fluendo.com>
9205 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9207 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9208 Store new length in segment duration so we don't keep on calling the
9209 potentially expensize get_size() call. Fixes #370865.
9211 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9213 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9215 * win32/common/libgstreamer.def:
9216 Add two missing symbols (#366492).
9218 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9220 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9221 (gst_adapter_take_buffer):
9222 Fix format string to use all its arguments.
9223 Remove useless >= check on a guint
9225 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9227 * tests/examples/adapter/.cvsignore:
9228 Ignore build file as commanded by the build-bot
9230 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9232 * tests/examples/adapter/Makefile.am:
9233 * tests/examples/adapter/adapter_test.c: (run_test_take),
9234 (run_test_take_buffer), (run_tests), (main):
9236 Add new files from the previous commit
9238 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9242 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9243 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9244 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9245 * libs/gst/base/gstadapter.h:
9246 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9247 (GST_START_TEST), (gst_adapter_suite):
9248 * tests/examples/Makefile.am:
9249 Do some optimisation work in GstAdapter to avoid copies in more cases.
9250 It could still do slightly better by merging buffers when
9251 gst_buffer_is_span_fast is true, but is already faster.
9253 Also, avoid traversing a single-linked list to append each incoming
9254 buffer inside the adapter.
9256 Add simple test app that times the adapter behaviour in different
9257 situations, and extend the unit test to check that bytes enter and
9258 exit the adapter in their original order.
9260 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9262 * docs/random/draft-missing-plugins.txt:
9263 Update: use element message instead of adding a new message
9264 type to the core; don't provide GStreamer API to initiate the
9265 plugin download, just provide API to compose the strings needed
9266 and let an external libgimmestuff handle the rest.
9268 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9270 * tools/gst-inspect.c: (print_element_properties_info):
9271 Print a string instead of 'unknown type' for GValueArray properties
9273 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9275 * docs/random/draft-missing-plugins.txt:
9278 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9280 * tests/examples/typefind/typefind.c: (type_found), (main):
9281 Make typefind element example work again (#371894); add a
9284 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9286 * docs/random/draft-missing-plugins.txt:
9287 Commit initial draft about how to deal with missing plugins,
9288 needs work (API too).
9290 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9292 * docs/pwg/advanced-types.xml:
9293 documents the new caps elements (see #363118)
9295 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9297 * gst/gstplugin.c: (gst_plugin_load_file):
9298 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9299 (gst_file_src_map_region), (gst_file_src_start):
9300 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9301 (gst_file_index_commit):
9302 Use g_strerror() instead of strerror() - we want UTF-8.
9304 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9306 Patch by: Peter Kjellerstedt <pkj at axis com>
9308 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9309 Another printf fix (#371493).
9311 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9313 * tests/check/gst/gsttag.c:
9314 relicence (okay with author=company)
9316 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9318 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9319 (gst_pad_push_event):
9320 Enhance debug and improve docs
9325 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9327 * docs/random/ensonic/distributed.txt:
9328 * docs/random/ensonic/profiling.txt:
9331 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9333 * docs/gst/gstreamer-sections.txt:
9334 add new API and fix the build
9336 * gst/gstbin.c: (gst_bin_recalc_state):
9337 * gst/gstelement.c: (gst_element_message_full),
9338 (gst_element_get_state_func), (gst_element_set_state_func):
9339 use new API and improve logging
9341 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9343 API: add function to get StateChangereturn names to improve logs
9345 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9347 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9348 I'm considering shooting the next person to put strerror stuff
9349 in the translateable part of the message.
9351 2006-11-03 Wim Taymans <wim@fluendo.com>
9353 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9354 Get the type and printf conversion specifiers right.
9356 2006-11-03 Wim Taymans <wim@fluendo.com>
9358 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9360 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9361 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9362 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9363 Some small cleanups. Improve debugging.
9365 Signal all waiting threads with a broadcast instead of just one.
9368 2006-11-03 Wim Taymans <wim@fluendo.com>
9370 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9371 (gst_fd_src_create):
9373 Only update fd when it's different from the old.
9375 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9377 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9378 Printf fixes for PPC/OSX, take two (#369366).
9380 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9382 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9384 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9385 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9386 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9387 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9388 don't cast to long long for portability reasons, but use
9389 GLib's types instead.
9391 2006-10-30 Michael Smith <msmith@fluendo.com>
9393 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9394 Get the arguments to lseek() the right way around.
9397 2006-10-30 Wim Taymans <wim@fluendo.com>
9399 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9402 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9404 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9406 Patch by: Kjartan Maraas <kmaraas at gnome org>
9408 * docs/design/part-MT-refcounting.txt:
9409 * docs/random/wtay/capsnego2-docs:
9412 Typo fixes (#366212).
9414 2006-10-28 Wim Taymans <wim@fluendo.com>
9416 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9419 * win32/common/libgstbase.def:
9420 * win32/common/libgstreamer.def:
9421 * win32/vs8/libgstbase.vcproj:
9422 * win32/vs8/libgstcontroller.vcproj:
9423 Add needed entries in .def files.
9425 Rearrange def files in vs8 solutions. Fixes #366286.
9427 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9429 * win32/common/gstconfig.h:
9430 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9431 hand-made win32 gstconfig.h. Fixes #366321.
9433 2006-10-27 Wim Taymans <wim@fluendo.com>
9435 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9436 (gst_ghost_pad_new_full):
9437 Make acceptcaps return TRUE when we don't have a target, just like
9440 2006-10-27 Wim Taymans <wim@fluendo.com>
9442 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9443 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9445 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9447 * gst/gststructure.c: (gst_structure_id_set_value):
9448 If someone tries to set a non-UTF8 string field on a structure,
9449 don't just print a warning, but also ignore the request and do
9450 not change/add that field to the structure.
9452 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9455 2006-10-25 David Schleef <ds@schleef.org>
9458 g_hash_table_insert() needs a cast to a non-const pointer duh.
9460 2006-10-25 David Schleef <ds@schleef.org>
9464 Change name parameter of _gst_debug_register_funcptr to const
9465 to reflect the constness of its use in the function as well
9466 as to quiet a gcc warning.
9468 2006-10-25 Edward Hervey <edward@fluendo.com>
9470 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9471 Don't push the buffer if it's empty.
9474 2006-10-24 Wim Taymans <wim@fluendo.com>
9479 * libs/gst/base/gstbasetransform.c:
9480 (gst_base_transform_sink_eventfunc):
9481 Debug segment values *after* updating them as this is more
9484 2006-10-23 Wim Taymans <wim@fluendo.com>
9486 * docs/design/part-events.txt:
9489 * docs/design/part-block.txt:
9490 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9491 (gst_pad_push_event):
9492 Revert BLOCKING patch, it tries to be smart without really having a
9493 clear idea what or how. So, now we discard all FLUSHING events again on
9494 a blocking pad. Should fix gnonlin again.
9496 2006-10-23 Wim Taymans <wim@fluendo.com>
9498 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9500 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9501 (gst_base_src_start), (gst_base_src_activate_push):
9502 Make sure size is always initialized. Fixes #364388.
9504 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9506 * docs/random/ensonic/distributed.txt:
9507 add some ideas about doing distributed processing
9509 * docs/random/ensonic/profiling.txt:
9510 get_rusage look promising
9512 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9514 * docs/manual/basics-helloworld.xml:
9515 Add a cast in example to fix compile warning
9517 2006-10-18 Wim Taymans <wim@fluendo.com>
9519 * gst/gstsegment.c: (gst_segment_set_last_stop),
9520 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9521 Relax arg checking again, -1 is allowed.
9523 2006-10-18 Wim Taymans <wim@fluendo.com>
9525 * gst/gstsegment.c: (gst_segment_set_last_stop),
9526 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9527 _set_last_stop() must be with a value != -1
9528 A _TYPE_SET to -1 means seek to 0.
9529 Calc last_stop correctly for negative rates.
9530 Make sure we work with positive durations when updating a segment.
9532 2006-10-18 Wim Taymans <wim@fluendo.com>
9534 * docs/design/part-live-source.txt:
9538 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9541 Add an explicit cast to GstBuffer** to keep old code that added an
9542 explicit cast to GstMiniObject** for gst_mini_object_replace()
9543 compiling without warning.
9545 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9547 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9548 check for validity of dates
9550 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9552 * docs/gst/gstreamer-sections.txt:
9553 Forgot this one, makes gtk-doc shut up.
9555 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9557 Patch by: Peter Kjellerstedt <pkj at axis com>
9560 Don't define xmlNodePtr to gpointer if the core was built with
9561 --disable-loadsave and --disable-registry, this will break
9562 applications that want to use libxml2 but are buildling against a
9563 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9564 instead so we don't have to mess with the libxml2 namespace
9567 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9570 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9571 type-punned pointer warnings.
9573 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9576 Add casts to the correct return type to state <=> state transition
9579 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9581 * docs/design/part-live-source.txt:
9582 describe howto handle latency
9584 * docs/random/ensonic/profiling.txt:
9587 * tools/gst-plot-timeline.py:
9588 fix log parsing for solaris, remove unused function
9590 2006-10-16 Wim Taymans <wim@fluendo.com>
9592 * docs/design/part-trickmodes.txt:
9594 Update some docs regarding reverse playback.
9596 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9598 Patch by: Marcus Granado <mrc dot gran at gmail com>
9600 * win32/vs8/grammar.vcproj:
9601 Error out with a warning if glib-genmarshal.exe is not in path,
9602 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9604 2006-10-13 Wim Taymans <wim@fluendo.com>
9606 * gst/gstsegment.c: (gst_segment_set_seek):
9607 When seeking to stop -1, set last_stop (current position) to the
9608 duration of the segment.
9610 2006-10-13 Wim Taymans <wim@fluendo.com>
9613 Clarify _NO_PREROLL a bit more.
9618 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9619 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9620 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9621 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9622 due to wrong locking order. Fixes #361769.
9623 Remove some redundant/misplaced checks in pad_block.
9625 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9626 For negative rates, count backwards from the duration.
9628 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9630 * gst/gsterror.c: (_gst_library_errors_init):
9631 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9632 up with something better).
9634 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9636 * win32/vs6/libgstreamer.dsp:
9637 * win32/vs7/libgstreamer.vcproj:
9638 * win32/vs8/libgstreamer.vcproj:
9639 Don't reference glib-compat.c which is currently not used and not
9640 disted; add gstquark.c which was recently added. Fixes #361730.
9642 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9644 * win32/common/libgstbase.def:
9645 * win32/common/libgstcontroller.def:
9646 * win32/common/libgstreamer.def:
9647 Add gst_caps_merge() and a bunch of other recently-added functions.
9650 2006-10-11 Wim Taymans <wim@fluendo.com>
9652 * docs/plugins/gstreamer-plugins.args:
9653 * docs/plugins/inspect/plugin-coreelements.xml:
9654 * docs/plugins/inspect/plugin-coreindexers.xml:
9655 Update element args.
9657 * gst/gstsystemclock.c:
9658 Small comment update.
9660 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9661 (gst_tee_request_new_pad), (gst_tee_release_pad),
9662 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9663 (gst_tee_sink_activate_pull):
9664 * plugins/elements/gsttee.h:
9666 Add default property defines.
9667 Implement release pad function.
9668 Give properties better blubs etc.
9669 Activate pads before adding them to a running tee.
9670 Do simple buffer_alloc on the first requested pad.
9671 Post error when activation fails.
9673 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9675 * gst/gst.c: (ensure_current_registry_forking):
9676 Check return value of write() to make compiler happy.
9678 2006-10-11 Wim Taymans <wim@fluendo.com>
9680 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9682 * plugins/elements/gstqueue.c: (gst_queue_chain):
9683 Recheck queue filledness after signalling the overrun when we're about
9684 to leak downstream because we released the lock when emitting the signal
9685 and the queue could be empty again. Fixes #352345.
9687 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9689 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9690 Fix refcounting here too, just like we did for _new_valist() a few
9691 days ago (#357180) (thanks to René Stadler). Also remove all those
9692 'Since: 0.9' from the gtk-doc blobs.
9694 * tests/check/libs/controller.c: (controller_refcount_new_list),
9695 (gst_controller_suite):
9696 Unit test for the above.
9698 2006-10-10 Wim Taymans <wim@fluendo.com>
9700 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9702 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9703 (gst_pad_save_thyself):
9705 Write pad direction in XML output. Fixes #345496.
9707 2006-10-10 Wim Taymans <wim@fluendo.com>
9709 Patch by: René Stadler <mail at renestadler dot de>
9711 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9712 (gst_controller_new_list), (_gst_controller_dispose),
9713 (_gst_controller_finalize), (_gst_controller_class_init):
9714 Take ref to controlled object so that it cannot disappear.
9717 2006-10-10 Wim Taymans <wim@fluendo.com>
9719 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9720 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9721 (gst_check_teardown_sink_pad):
9722 Activate/deactivate pads in setup/teardown respectively.
9724 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9726 Patch by: Josep Torra Valles <josep@fluendo.com>
9729 Cast values when making gstenumtypes.h. This pacifies Forte
9730 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9733 2006-10-09 Wim Taymans <wim@fluendo.com>
9735 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9736 Rename some more @cur to @start to fix docs.
9738 * gst/gstsegment.c: (gst_segment_set_seek):
9740 time and start must always stay in sync as defined in design doc.
9742 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9743 Rename param to fix docs.
9745 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9746 Check that start and time are in sync.
9748 * tests/check/pipelines/parse-launch.c:
9749 (gst_parse_test_element_change_state):
9750 Activate pad before adding to the element.
9752 2006-10-09 Wim Taymans <wim@fluendo.com>
9754 * docs/design/part-qos.txt:
9759 Update seek event docs regarding negative rates.
9760 Rename @cur to @start.
9762 * gst/gstsegment.c: (gst_segment_set_seek):
9764 Update set_seek docs regarding negative rates.
9765 Correctly update last_stop to @stop when dealing with negative
9767 Rename @cur to @start.
9769 * tests/check/gst/gstpad.c: (GST_START_TEST):
9770 Activate pads before trying to use them.
9772 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9773 (gst_segment_suite):
9774 Add simple check for segments and negative rates.
9776 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9778 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9780 * docs/gst/gstreamer-sections.txt:
9781 API: add gst_tag_list_is_empty() (#360467).
9783 * tests/check/gst/gsttag.c: (GST_START_TEST):
9786 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9789 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9790 a value that doesn't fit on enumeration.
9792 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9794 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9795 Remove local debugging system and use Gstreamer's instead.
9797 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9799 Patch by: Josep Torra Valles <josep@fluendo.com>
9801 * common/m4/gst-error.m4:
9802 Disable warning of statement not reached on Forte.
9804 Fix warning on Forte (value doesn't fit on enumeration).
9805 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9806 Fix warning on Forte (value doesn't fit on enumeration).
9807 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9808 DEBUG macro says it takes minimum of 2 args and so Forte
9809 complains about the use with just 1 arg.
9810 * plugins/elements/gstfdsink.c:
9811 * plugins/elements/gstfdsrc.c:
9812 * plugins/elements/gstfilesink.c:
9813 * plugins/elements/gstfilesrc.c:
9814 Use correct return type for the uri handler implementations.
9816 All these fix warnings in Forte. Fixes bug #360860.
9818 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9821 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9822 format string, so don't use G_GNUC_PRINTF for those versions.
9824 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9826 * gst/gsttaglist.c: (gst_is_tag_list):
9828 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9830 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9831 Small test for the above.
9833 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9836 Less tabs, more spaces.
9838 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9841 Those two function declarations do actually belong there, revert
9842 commit from yesterday that turned them intro macros.
9844 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9846 Patch by: Josep Torra Valles <josep@fluendo.com>
9848 * gst/gst.c: (gst_init_get_option_group):
9849 Fix empty declaration and type mismatch.
9850 * gst/gstbin.c: (gst_bin_change_state_func):
9852 * gst/gstelement.c: (gst_element_continue_state),
9853 (gst_element_set_state_func), (gst_element_change_state),
9854 (gst_element_change_state_func):
9855 Fix type mismatches.
9856 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9857 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9858 Cast as appropriate.
9859 * gst/gstobject.c: (gst_class_signal_connect):
9860 Cast as appropriate. The function pointer parameter really
9861 has the wrong type but would break API if we change it.
9863 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9864 order of including string.h.
9865 * gst/gstutils.c: (gst_element_state_get_name):
9866 Remove unreachable line.
9867 * gst/gstxml.c: (gst_xml_parse_doc):
9869 All these caught by Forte.
9871 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9873 Patch by: Josep Torra Valles <josep@fluendo.com>
9875 * common/m4/gst-error.m4:
9877 We need to disable warnings on Forte for empty declarations
9878 due to gst-indent adding ;s to lines that just use macros
9879 where the macro actually doesn't need a ; at end to end
9882 2006-10-06 Wim Taymans <wim@fluendo.com>
9884 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9885 (gst_file_sink_close_file), (gst_file_sink_event),
9886 (gst_file_sink_render):
9887 Add some FIXME for the NEWSEGMENT handling.
9889 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9891 * gst/parse/grammar.y:
9892 Remove static function gst_parse_element_lock as all it does
9893 is return. Looks like cruft from 0.8.
9895 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9897 Patch by: Josep Torra Valles <josep@fluendo.com>
9899 * common/m4/gst-error.m4:
9901 * libs/gst/net/Makefile.am:
9902 Fix a compilation issue with Forte on Solaris. inet_aton is in
9905 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9907 * gst/gstpad.c: (pre_activate):
9908 * gst/gstregistry.c: (gst_registry_scan_path_level):
9909 * gst/gstregistryxml.c: (load_plugin):
9910 * libs/gst/controller/gstcontroller.c:
9911 (gst_controlled_property_set_interpolation_mode):
9912 * libs/gst/dataprotocol/dataprotocol.c:
9913 (gst_dp_packet_from_event_1_0):
9914 * libs/gst/net/gstnetclientclock.c:
9915 (gst_net_client_clock_observe_times):
9916 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9919 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9922 * docs/gst/gstreamer-sections.txt:
9923 * gst/gstconfig.h.in:
9926 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9927 whether we can use G_GNUC_PRINTF in other header files and at
9928 least check the printf format/arguments of debug messages and
9929 GST_ELEMENT_ERROR messages when the printf extension is not
9931 Replace more tabs with spaces in gstinfo.h and remove two spurious
9932 function declarations in GST_DISABLE_DEBUG part with macros.
9934 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9936 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9937 More docs for the sync-message signal (mention that it is not
9938 emitted by default); log message structures of messages posted on
9941 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9943 * gst/gst.c: (ensure_current_registry_forking):
9944 Use a pipe pair to receive status results from the forked child, and
9945 ignore the result from waitpid. Fixes #355499
9947 2006-10-02 Wim Taymans <wim@fluendo.com>
9949 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9950 (gst_ghost_pad_suite):
9953 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9956 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9958 2006-10-02 Edward Hervey <edward@fluendo.com>
9960 * docs/design/part-block.txt:
9961 Further explain the use of flushing on blocked pads.
9962 * docs/gst/gstreamer-sections.txt:
9963 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9964 (gst_pad_push_event):
9966 Added new GstPadFlag : GST_PAD_BLOCKING.
9967 Adds the notion of pads really blocking, which enables to properly
9968 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9970 API: gst_pad_is_blocking()
9971 API: GST_PAD_IS_BLOCKING() macro
9972 API: GST_PAD_BLOCKING GstPadFlag
9974 2006-10-02 Wim Taymans <wim@fluendo.com>
9976 Patch by: mrcgran <mrc.gran at gmail dot com>
9978 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9979 Filter the proxied caps against the padtemplate if we have one.
9981 * gst/gstquery.c: (gst_query_new_segment):
9982 Add include for gstinfo.h so that compilation with
9983 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9985 2006-10-02 Wim Taymans <wim@fluendo.com>
9987 Patch by: Alessandro Decina <alessandro at nnva org>
9989 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9990 (gst_file_sink_set_location), (gst_file_sink_open_file),
9991 (gst_file_sink_close_file), (gst_file_sink_event),
9992 (gst_file_sink_render):
9993 Set file to NULL when closing filesink so that we can set a new filename
9994 in READY. Fixes #358613.
9996 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9998 Patch by: Alessandro Decina <alessandro at nnva org>
10000 * gst/gstevent.c: (_gst_event_copy):
10001 Fix gst_mini_object_make_writable() and gst_event_copy() for events
10002 with event structures by setting the parent refcount address of the
10003 copied structure to the address of the refcount member of the newly
10004 copied event rather than the address of the refcount member of the
10005 original event. Fixes #358737.
10007 * tests/check/gst/gstevent.c: (GST_START_TEST):
10008 Unit test for the above.
10010 2006-09-29 Stefan Kost <ensonic@users.sf.net>
10012 * docs/design/Makefile.am:
10013 Dist some more files.
10015 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10017 * tests/check/libs/controller.c: (GST_START_TEST),
10018 (gst_controller_suite):
10019 Add test for the previous fix; add some more tests
10020 for correct refcounting behaviour; fix a few leaks
10021 in test cases; call gst_controller_init() at start
10024 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
10026 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10027 (gst_controller_set_from_list):
10028 Don't g_return_val_if_fail() on timed values with invalid timestamps
10029 inside a critical section without unlocking the mutex. Spotted by
10030 René Stadler. (#357617)
10031 Also, fix up refcounting properly: when returning an existing
10032 controller, we should increase the reference only once and not
10033 once per property and when trying to control a property again
10034 we should also increase the refcount.
10036 2006-09-29 Wim Taymans <wim@fluendo.com>
10038 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
10039 * libs/gst/net/gstnettimeprovider.c:
10040 (gst_net_time_provider_thread):
10041 Stop reading commands when EOF as well.
10043 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
10044 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
10045 * plugins/elements/gstidentity.c: (gst_identity_class_init):
10046 Unify description of the dump property.
10048 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10050 * tests/examples/manual/.cvsignore:
10051 OK, so it's actually cvsignore that needs changing. Stop laughing.
10053 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10055 * tests/examples/manual/Makefile.am:
10056 Gah, declare vars *before* using them
10058 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10060 * gst/gst.c: (init_pre), (scan_and_update_registry),
10061 (ensure_current_registry_nonforking),
10062 (ensure_current_registry_forking), (ensure_current_registry),
10063 (init_post), (gst_debug_help), (gst_deinit):
10064 * gst/gst_private.h:
10065 * gst/gstregistry.c: (gst_registry_finalize),
10066 (gst_registry_remove_features_for_plugin_unlocked),
10067 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10068 (gst_registry_scan_path),
10069 (_priv_gst_registry_remove_cache_plugins),
10070 (_priv_gst_registry_cleanup):
10071 * gst/gstregistry.h:
10072 Re-commit the registry changes, along with an extra fix:
10073 When a cached plugin is encountered at a different file path,
10074 update the stored path in the registry cache so that the parent
10075 process knows where it actually is now when it re-reads the registry
10076 cache. Fixes the thing that broke distcheck with the previous commit.
10078 * tests/check/Makefile.am:
10079 Clean up files named 'core' too when running make clean.
10081 * tests/examples/manual/Makefile.am:
10082 Set up a registry path for running these tests, and clean it properly
10085 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10088 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10089 want gmodule-no-export-2.0.pc instead so that we don't drag in
10090 --export-dynamic on every project that links to GStreamer.
10092 Also, make our export regex only match the start of symbols, rather
10093 than any symbol that contains '_gst' somewhere.
10095 * libs/gst/check/Makefile.am:
10096 The libgstcheck we build does however need export-dynamic, as it
10097 produces some symbols that don't match our _gst... style regex.
10100 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10102 * gst/gst.c: (init_pre), (scan_and_update_registry),
10103 (ensure_current_registry_nonforking),
10104 (ensure_current_registry_forking), (ensure_current_registry),
10105 (init_post), (gst_debug_help), (gst_deinit):
10106 * gst/gst_private.h:
10107 * gst/gstregistry.c: (gst_registry_finalize),
10108 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10109 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10110 (_gst_registry_cleanup):
10111 * gst/gstregistry.h:
10112 Revert previous change until I figure out why it breaks distcheck.
10114 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10116 * gst/gst.c: (init_pre), (scan_and_update_registry),
10117 (ensure_current_registry_nonforking),
10118 (ensure_current_registry_forking), (ensure_current_registry),
10119 (init_post), (gst_debug_help), (gst_deinit):
10121 Make init_pre and init_post take the full complement of GOptionFunc
10122 args so they can return useful GErrors. Make the registry updating
10125 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10126 ensure that the registry we're about to write out doesn't contain
10127 stale information about old-deleted plugin files.
10129 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10130 that deletion of plugin files is considered a registry change.
10132 * gst/gst_private.h:
10133 * gst/gstregistry.c: (gst_registry_finalize),
10134 (gst_registry_remove_features_for_plugin_unlocked),
10135 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10136 (gst_registry_scan_path),
10137 (_priv_gst_registry_remove_cache_plugins),
10138 (_priv_gst_registry_cleanup):
10139 * gst/gstregistry.h:
10140 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10141 by adding _priv prefix, so that they won't appear in the global
10142 symbol table. They still do atm though because of #318031. Move the
10143 prototypes to gst_private.h
10145 When removing a plugin, remove all features for that plugin too.
10148 2006-09-27 Wim Taymans <wim@fluendo.com>
10150 * docs/random/moving-plugins:
10151 Make it clear that the "compiled-in descriptions" really mean
10152 the element details.
10154 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10155 (gst_base_sink_wait_preroll):
10158 * docs/libs/gstreamer-libs-sections.txt:
10159 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10160 (gst_base_src_get_range), (gst_base_src_activate_push):
10161 * libs/gst/base/gstbasesrc.h:
10162 Added function to block while waiting for PLAYING, this function
10163 is used by live sources that block on the clock.
10164 API: gst_base_src_wait_playing()
10166 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10168 Patch by: Peter Kjellerstedt <pkj at axis com>
10171 gst-element-check.m4 is generated and should therefore be
10172 copied from the build dir rather than the source dir (#357593).
10173 'make distcheck' hasn't noticed this because we were disting
10174 the file as well, so stop doing that.
10176 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10178 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10179 Add some tests for gst_caps_intersect().
10181 * tools/gst-launch.c: (event_loop):
10182 Print all buffering percentages we get, even the 100% one.
10184 2006-09-26 Wim Taymans <wim@fluendo.com>
10186 * tools/gst-inspect.c: (print_element_properties_info),
10187 (print_signal_info):
10188 Fix printing of flags to match the look of enums.
10190 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10192 * gst/gstelementfactory.c:
10193 Fix typo in docs blurb.
10195 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10197 * gst/gsturi.c: (search_by_entry):
10198 Don't assert/crash here if a uri handler doesn't return any
10199 supported protocols. The list of protocols could be generated
10200 dynamically at runtime or at plugin registration, and an error
10201 in the underlying library shouldn't be fatal (#353301).
10203 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10206 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10207 (spotted by Peter Kjellerstedt).
10209 2006-09-23 Wim Taymans <wim@fluendo.com>
10211 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10213 * libs/gst/base/gstbasesrc.c:
10214 (gst_base_src_default_check_get_range), (gst_base_src_start),
10215 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10216 (gst_base_src_change_state):
10217 Match _start/_stop calls in the activate functions. Remove redundant
10218 _stop call from the state change function. Fixes #356910.
10219 Turn failure DEBUG into ERROR.
10221 2006-09-22 Wim Taymans <wim@fluendo.com>
10223 * docs/design/part-buffering.txt:
10224 * gst/gstmessage.c: (gst_message_new_buffering),
10225 (gst_message_parse_buffering):
10226 Update docs about buffering.
10228 * docs/design/part-trickmodes.txt:
10231 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10233 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10234 (gst_controller_new_list):
10235 Ref instances when returning them again (fixes #357180)
10237 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10239 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10240 Don't forget to release proxy lock when there's an error.
10242 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10245 Add extra initialisers for Caps things, to fix some plugin warnings
10248 2006-09-18 Wim Taymans <wim@fluendo.com>
10250 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10251 Also set template on the internal pad so that a getcaps from the
10252 target pad returns the template caps.
10254 2006-09-18 Wim Taymans <wim@fluendo.com>
10256 * gst/gstelement.c: (gst_element_post_message),
10257 (gst_element_dispose):
10258 Use _DEBUG_OBJECT some more.
10260 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10263 * tools/gst-launch.c: (main):
10264 If the toplevel element is not a GstPipeline, it must be put in a
10265 pipeline so that a bus and clock is selected.
10267 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10269 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10270 JITTER, RATE, and LATENCY query should be handled by the
10271 default case and not by the CONVERT query code.
10273 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10275 * gst/gstformat.c: (gst_format_register):
10276 Fix locking order (must take lock before using n_values).
10278 * gst/gstvalue.c: (gst_value_serialize_enum),
10279 (gst_value_deserialize_enum_iter_cmp),
10280 (gst_value_deserialize_enum):
10281 Fix serialisation/deserialisation of custom registered GstFormats.
10283 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10284 Unit test for custom format serialisation/deserialisation.
10286 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10288 * docs/pwg/building-boiler.xml:
10289 * plugins/elements/gstcapsfilter.c:
10290 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10293 2006-09-16 Edward Hervey <edward@fluendo.com>
10295 * libs/gst/base/gstbasetransform.c:
10296 (gst_base_transform_buffer_alloc):
10297 Check if requested caps are the same as the sinks caps IF
10298 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10300 This fixes the renegotiation issues stated in #352827.
10302 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10305 * docs/manual/advanced-autoplugging.xml:
10306 * tests/examples/Makefile.am:
10307 * tests/examples/manual/.cvsignore:
10308 * tests/examples/manual/Makefile.am:
10309 * tests/examples/manual/extract.pl:
10310 Extract the manual examples again like we used to do.
10313 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10315 * win32/common/config.h:
10318 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10321 Documents how to receive errors.
10323 2006-09-15 Wim Taymans <wim@fluendo.com>
10325 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10326 (event_loop), (main):
10327 Added some comments here and there.
10328 Post an application message when an interrupt is caught instead of doing
10329 an uncontrolled state change.
10330 Clean up the event loop.
10331 Handle buffering messages, pause/resume the pipeline.
10332 Make shutdown because of an interrupt more reliable.
10334 2006-09-15 Wim Taymans <wim@fluendo.com>
10336 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10337 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10338 (gst_base_sink_preroll_object):
10339 Make sure that our internal state is correct when we commit our state
10340 asynchronously. This solves a race where a state change to PLAYING
10341 could cause the sink to remain blocked in preroll in some situations.
10343 2006-09-15 Wim Taymans <wim@fluendo.com>
10345 * tools/gst-inspect.c: (print_element_properties_info),
10346 (print_signal_info):
10347 List flags as hex so it's easier to deal with.
10349 2006-09-15 Wim Taymans <wim@fluendo.com>
10351 * docs/libs/gstreamer-libs-sections.txt:
10352 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10353 (gst_base_sink_do_sync):
10354 * libs/gst/base/gstbasesink.h:
10355 Expose logic to wait for preroll so that subclasses such as audiosink
10356 can also use this method.
10357 API: gst_base_sink_wait_preroll()
10359 2006-09-15 Wim Taymans <wim@fluendo.com>
10361 * gst/gstobject.c: (gst_object_set_parent):
10362 * gst/gstpipeline.c: (do_pipeline_seek):
10363 Small cleanups in docs and code.
10365 * gst/gstsegment.c: (gst_segment_clip):
10366 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10367 if stop == start and start is in the segment, no clipping should be
10368 done. Also add a test for this.
10370 2006-09-15 Wim Taymans <wim@fluendo.com>
10372 * docs/design/part-buffering.txt:
10373 * docs/gst/gstreamer-sections.txt:
10374 * gst/gstmessage.c: (gst_message_new_buffering),
10375 (gst_message_parse_buffering):
10376 * gst/gstmessage.h:
10377 Added methods to create and parse BUFFERING messages.
10378 Added preliminary docs about buffering.
10379 API: gst_message_new_buffering
10380 API: gst_message_parse_buffering
10382 2006-09-06 Wim Taymans <wim@fluendo.com>
10385 Update documentation.
10387 * gst/gstelement.c: (gst_element_class_init),
10388 (gst_element_release_request_pad), (gst_element_set_clock),
10389 (gst_element_get_index), (gst_element_add_pad),
10390 (gst_element_remove_pad), (gst_element_get_random_pad),
10391 (gst_element_send_event), (gst_element_get_query_types),
10392 (gst_element_query), (gst_element_post_message),
10393 (gst_element_message_full), (gst_element_continue_state),
10394 (gst_element_lost_state), (gst_element_save_thyself),
10395 (gst_element_restore_thyself):
10396 Documentation updates.
10397 Rename last bit of the new-pad -> pad-added signal rename.
10398 Fix the case where an element query would only work if the source
10400 Avoid some useless type checking in message handling.
10405 Documentation updates.
10407 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10409 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10410 add an INFO line for when we actually update the fd
10412 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10417 === release 0.10.10 ===
10419 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10422 releasing 0.10.10, "Pais"
10424 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10426 * docs/manual/advanced-position.xml:
10427 Fix typo in sample code.
10429 2006-09-05 Wim Taymans <wim@fluendo.com>
10431 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10432 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10433 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10434 * libs/gst/net/gstnetclientclock.h:
10435 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10436 * libs/gst/net/gstnettimepacket.h:
10437 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10438 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10439 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10440 * libs/gst/net/gstnettimeprovider.h:
10441 Make stuff compile on windows. Fixes #345295.
10443 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10445 * gst/gst.c: (ensure_current_registry_forking):
10446 Print better details when child was terminated by signal.
10448 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10450 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10451 Print a warning rather than g_assert() if a plugin feature
10452 is a URI handler but returns no protocols (#353976).
10454 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10456 * docs/random/moving-plugins:
10459 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10461 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10462 Fix locking order, handle NULL function values properly.
10467 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10468 Initialise variable before using it and fix debug statement to
10469 print the address of the function rather than the address of the
10470 variable on the stack holding the address of the function.
10472 2006-09-01 Wim Taymans <wim@fluendo.com>
10474 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10475 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10476 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10477 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10478 (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_init), (gst_ghost_pad_dispose),
10484 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10485 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10486 (gst_ghost_pad_new_no_target_from_template),
10487 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10489 Avoid needless typechecking in macros.
10490 Since the internal pad is always present and never changes, there is
10491 no need to locking or ref when retrieving it.
10492 Improve debugging a bit.
10493 Handle link errors when setting the target. Fixes #341029.
10495 2006-09-01 Wim Taymans <wim@fluendo.com>
10497 * docs/libs/gstreamer-libs-sections.txt:
10498 * docs/plugins/gstreamer-plugins-sections.txt:
10499 Fix docs some more.
10501 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10502 (gst_collect_pads_event):
10503 * libs/gst/base/gstcollectpads.h:
10504 Documentation updates.
10505 Free queued buffer when removing a pad.
10507 2006-08-31 Michael Smith <msmith@fluendo.com>
10509 * gst/gstutils.c: (gst_element_link_pads),
10510 (gst_element_link_pads_filtered):
10511 Ensure that we set a capsfilter to NULL if we failed to link it
10512 when doing filtered linking, to avoid criticals.
10514 No need to check for unreffing srcpad, which is explicly NULLed
10515 above (a trivial code cleanup).
10517 2006-08-31 Wim Taymans <wim@fluendo.com>
10519 * docs/design/part-gstghostpad.txt:
10520 Update ascii art in documentation.
10522 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10523 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10524 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10525 (gst_ghost_pad_internal_do_activate_push),
10526 (gst_ghost_pad_internal_do_activate_pull),
10527 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10528 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10529 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10530 (gst_ghost_pad_set_target):
10531 Small cleanups and leak fixes.
10532 Remove some checks now that the internal pad is never NULL.
10533 Fix the case where linking pads without a target would create nasty
10534 criticals. Fixes #341029.
10535 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10536 value of _set_target().
10538 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10539 (gst_ghost_pad_suite):
10540 Some more tests for creating and linking untargeted ghostpads.
10542 2006-08-31 Edward Hervey <edward@fluendo.com>
10544 * docs/gst/gstreamer-sections.txt:
10545 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10546 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10547 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10548 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10549 (gst_ghost_pad_new_from_template),
10550 (gst_ghost_pad_new_no_target_from_template):
10551 * gst/gstghostpad.h:
10552 Refactored *_new() functions.
10553 Templates are now used as a g_object_new() parameter.
10554 Use template in _do_getcaps() if we don't have a target.
10555 Small documentation cleanups.
10556 Added two new constructors:
10557 gst_ghost_pad_new_from_template()
10558 gst_ghost_pad_new_no_target_from_template()
10559 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10560 (gst_ghost_pad_suite):
10561 Added tests for new ghostpad instanciation functions.
10563 API additions: gst_ghost_pad_new_from_template,
10564 gst_ghost_pad_new_no_target_from_template
10566 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10568 * docs/random/ensonic/profiling.txt:
10569 Ideas about qos profiling.
10571 2006-08-29 Wim Taymans <wim@fluendo.com>
10573 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10577 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10580 Improve and detypofy docs.
10582 * tests/check/Makefile.am:
10583 * tests/check/gst/.cvsignore:
10584 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10585 Add a basic test suite for GstXML.
10587 2006-08-29 Wim Taymans <wim@fluendo.com>
10589 * gst/gstelement.c: (activate_pads), (clear_caps),
10590 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10591 Clear the pad caps when the element shut down all of the pads and
10592 is not streaming data that could modify the caps.
10595 2006-08-28 Michael Smith <msmith@fluendo.com>
10597 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10598 Revert previous change; I misunderstood single-segment mode.
10600 2006-08-28 Michael Smith <msmith@fluendo.com>
10602 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10603 Unset DISCONT on buffers when using single-segment mode.
10605 2006-08-28 Wim Taymans <wim@fluendo.com>
10607 * gst/gstcaps.c: (gst_caps_merge_structure):
10609 Fix docs and indentation again.
10611 * tests/check/gst/gstquery.c: (GST_START_TEST):
10612 Fix leak in tests and add some more tests.
10614 2006-08-28 Edward Hervey <edward@fluendo.com>
10616 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10617 Inform GstSegment of the last stop position in order for the current
10618 segment to have a proper duration if it doesn't have a specific stop
10619 position from which a duration could be calculated.
10620 This bug was noticeable when a non-flushing, non-update new segment was
10621 followed by another segment (all buffers from the new segment were being
10624 2006-08-28 Wim Taymans <wim@fluendo.com>
10626 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10627 Small comment update.
10629 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10630 (gst_identity_transform_ip):
10631 Drop-probability is broken, mention this in the code with a
10632 FIXME and also in the property description.
10633 Make silent also be silent about the drop messages.
10635 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10637 * docs/manual/appendix-win32.xml:
10638 Remove mention of popt, we don't depend on that any
10639 longer (#353136). Add some comments pointing out that
10640 this section is slightly outdated.
10642 2006-08-28 Wim Taymans <wim@fluendo.com>
10644 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10646 * gst/gstquery.c: (gst_query_new_segment):
10647 * tests/check/gst/gstquery.c: (GST_START_TEST):
10648 Initialize variables when creating a new segment query.
10651 2006-08-28 Wim Taymans <wim@fluendo.com>
10653 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10655 * gst/gstelement.c: (gst_element_get_bus):
10656 * tests/check/gst/gstelement.c: (GST_START_TEST):
10657 Check for NULL before _reffing the bus. Fixes #353122.
10659 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10661 * docs/manual/basics-bus.xml:
10662 Docs update: fix wrong callback return value explanation; add
10663 some lines about the implicit relationship between main loop
10664 and main context; remove duplicate main loop variable declaration.
10666 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10668 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10669 Don't leak caps in unit test; add a few more simple
10672 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10674 * docs/gst/gstreamer-sections.txt:
10675 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10676 (gst_caps_structure_is_subset), (gst_caps_merge),
10677 (gst_caps_merge_structure):
10679 * libs/gst/base/gstbasetransform.c:
10680 (gst_base_transform_transform_caps):
10681 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10682 implement caps merging (fixes #352580)
10684 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10686 * tools/Makefile.am:
10687 * tools/gst-plot-timeline.py:
10688 add debug-log plotting developer tool (#340674)
10690 2006-08-23 Wim Taymans <wim@fluendo.com>
10692 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10693 (gst_pad_stop_task):
10694 Improve debugging for task functions.
10696 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10697 (gst_task_start), (gst_task_pause), (gst_task_join):
10698 Make sure that the task function started and finished after a
10700 Don't try to push the task function on the threadpool multiple
10702 Improve the g_warning message with some useful suggestions
10703 about how to fix the problem.
10705 2006-08-23 Wim Taymans <wim@fluendo.com>
10707 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10708 Handle RESYNC correctly in _proxy_getcaps.
10710 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10712 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10713 (gst_xml_parse_memory), (gst_xml_get_element):
10714 Chain up to parent class in dispose function and also
10715 unref the elements in the toplevel_elements GList.
10716 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10717 Always return a reference in gst_xml_get_element() rather
10718 than only sometimes.
10720 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10721 Don't leak GstXml object.
10723 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10725 * docs/gst/gstreamer-sections.txt:
10726 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10729 * libs/gst/base/gstbasetransform.c:
10730 (gst_base_transform_transform_caps):
10731 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10734 2006-08-21 Edward Hervey <edward@fluendo.com>
10736 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10737 Implement GObject::dispose virtual method in GstXML so we can free the
10738 top_elements GList.
10740 2006-08-21 Wim Taymans <wim@fluendo.com>
10742 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10743 (gst_buffer_create_sub):
10744 Copy duration/offset_end/caps when creating a subbuffer of the
10746 Make the subbuffer read-only when we make the metadata writable for
10747 now. Fixes #351768.
10749 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10750 Added check for metadata copy when creating subbuffers.
10752 2006-08-21 Edward Hervey <edward@fluendo.com>
10754 * libs/gst/base/gstbasetransform.c:
10755 (gst_base_transform_buffer_alloc):
10756 Only call downstream buffer_alloc if transform element is passthrough
10757 or always_in_place. Closes #350449.
10759 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10762 ChangeLog surgery to add comments to previous changes
10764 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10769 * gst/gstpad.c: (gst_pad_set_active):
10770 Be more verbose in the log
10772 * libs/gst/base/gstbasetransform.c:
10773 (gst_base_transform_transform_caps):
10774 Simplify caps to get rid of duplicates, fixes #345444
10776 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10780 Use these optimizations only internally.
10782 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10784 * gst/gstvalue.c: (gst_value_compare_list),
10785 (gst_value_compare_fraction_range),
10786 (gst_value_intersect_fraction_fraction_range),
10787 (gst_value_intersect_fraction_range_fraction_range),
10788 (gst_value_subtract_fraction_fraction_range),
10789 (gst_value_subtract_fraction_range_fraction_range),
10790 (gst_value_get_compare_func), (gst_value_compare),
10791 (gst_value_compare_with_func):
10793 Saves the expensive lookup of the compare function in many cases
10796 2006-08-18 Edward Hervey <edward@fluendo.com>
10798 * tests/check/gst/gstinfo.c: (gst_info_suite):
10799 Disable test that require gstdebug if it wasn't built in core.
10801 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10803 * docs/random/ensonic/logging.txt:
10806 * gst/gstinfo.c: (gst_debug_log_default):
10807 reorder fields, save some columns, add optional color codes for log
10810 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10812 * docs/random/ensonic/logging.txt:
10813 add ideas about making the logs a bit more useful
10815 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10817 * docs/pwg/advanced-events.xml:
10818 * docs/pwg/titlepage.xml:
10819 Update for 0.10 API (#340627). Add myself
10822 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10824 * docs/libs/gstreamer-libs-docs.sgml:
10825 * docs/libs/gstreamer-libs-sections.txt:
10826 * libs/gst/check/gstbufferstraw.c:
10827 Make gstcheck stuff show up in docs (still needs to
10828 be documented properly though).
10830 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10832 * docs/gst/gstreamer-sections.txt:
10834 * gst/gst.c: (init_post):
10835 * gst/gst_private.h:
10836 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10838 * gst/gstquery.c: (gst_query_new_position),
10839 (gst_query_set_position), (gst_query_parse_position),
10840 (gst_query_new_duration), (gst_query_set_duration),
10841 (gst_query_parse_duration), (gst_query_new_convert),
10842 (gst_query_set_convert), (gst_query_parse_convert),
10843 (gst_query_new_segment), (gst_query_set_segment),
10844 (gst_query_parse_segment), (gst_query_new_seeking),
10845 (gst_query_set_seeking), (gst_query_parse_seeking):
10846 Add internal helpers for pre-registering quarks from static strings
10847 and using the quark values directly instead of looking them up when
10848 creating and parsing queries. Can be used for event construction too.
10851 2006-08-16 Wim Taymans <wim@fluendo.com>
10856 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10858 * gst/gstutils.c: (gst_util_set_value_from_string):
10859 Fix memleak (#351502).
10861 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10862 Add unit test for most of gst_util_set_value_from_string()
10863 (not that one would want to encourage use of this function).
10865 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10867 * libs/gst/check/gstcheck.h:
10868 Use const gchar * variables in fail_unless_equals_string
10869 macro to avoid compiler warnings (and don't use tabs for
10872 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10874 * tools/gst-launch.c: (print_tag):
10875 More space on the left for the tag names, to cater
10876 for the 'extended comment' tag (not touching the
10877 string for the first line since it's translated).
10879 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10881 * libs/gst/check/gstcheck.h:
10882 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10883 print something when they fail.
10885 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10887 * docs/gst/gstreamer-sections.txt:
10888 * gst/gsttaglist.c: (_gst_tag_initialize):
10889 * gst/gsttaglist.h:
10890 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10891 Also change merge function for GST_TAG_COMMENT to
10894 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10896 * gst/gstinfo.c: (gst_debug_print_object):
10897 Make GST_PTR_FORMAT print messages as well.
10899 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10900 (GST_START_TEST), (gst_info_suite):
10903 2006-08-14 Edward Hervey <edward@fluendo.com>
10905 * gst/gstelementfactory.c: (gst_element_register):
10906 If the GstElementClass doesn't have a GstElementDetails with all fields
10907 filled up correctly (longname, description AND author), then error out
10908 nicely instead of crashing.
10910 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10912 * gst/gststructure.c:
10913 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10916 Expand on the difference between arrays and lists as we use them.
10918 2006-08-14 Wim Taymans <wim@fluendo.com>
10920 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10921 If the parent state change function failed, don't assume we can safely
10922 stop the source, this will be done when the pads are deactivated.
10924 2006-08-14 Wim Taymans <wim@fluendo.com>
10927 * gst/gsttask.c: (gst_task_join):
10930 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10931 (gst_pad_stop_task):
10932 When pad (de)activation failed for some reason, restore the old
10933 activation mode and set the pad to flushing instead of assuming the
10934 pad is deactivated.
10935 If the _task_join() failed, reinstall the task on the pad so that it can
10936 be stopped later and return an error.
10938 2006-08-11 Andy Wingo <wingo@pobox.com>
10941 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10942 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10943 is only for users of API that don't want to see deprecated
10944 functions in the headers; people that want to compile out
10945 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10946 CFLAGS. Fixes the build of multifdsink, or will soon..
10948 2006-08-11 Wim Taymans <wim@fluendo.com>
10950 * docs/gst/gstreamer-sections.txt:
10951 Add GstClockClass vmethod docs.
10954 Mark #endif with comment for associated #if
10956 * gst/gstclock.c: (gst_clock_id_wait):
10958 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10959 most clock implementations.
10961 Flesh out docs about resolution methods.
10962 API: GstClockClass::wait_jitter
10964 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10965 (gst_system_clock_async_thread),
10966 (gst_system_clock_id_wait_jitter_unlocked),
10967 (gst_system_clock_id_wait_jitter):
10968 Use base class wait_jitter variant for improved performance
10969 due to less clock polling.
10971 2006-08-11 Edward Hervey <edward@fluendo.com>
10973 * gst/gst.c: (gst_init_check), (init_post):
10974 Set gst as being initialized before scanning/updating the registry,
10975 since there might be my python plugin loader that calls gst_init() and
10976 we don't want to loop back in.
10979 2006-08-11 Wim Taymans <wim@fluendo.com>
10981 * docs/design/part-qos.txt:
10982 Bring docs in line with the code. Mostly the sign of the jitter was
10983 wrong in the docs. Fixes #349943.
10986 Fix the docs for the jitter.
10988 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10989 (gst_event_parse_tag), (gst_event_new_buffer_size),
10990 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10991 (gst_event_new_seek), (gst_event_parse_seek),
10992 (gst_event_new_navigation):
10993 Make sure the GstStructure has no parent when creating custom
10995 Add some more argument checking so that we avoid 0.0 rates.
10996 Flesh out the docs for the QoS event some more.
10998 2006-08-11 Wim Taymans <wim@fluendo.com>
11000 * docs/gst/gstreamer-sections.txt:
11001 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
11002 (ensure_current_registry_forking), (ensure_current_registry),
11003 (parse_one_option), (parse_goption_arg), (gst_deinit),
11004 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
11007 Added API and command line option to disable registry forking in
11008 addition to the environment variable.
11009 Constify some static arrays.
11010 Added some more debug.
11011 Don't deinit twice.
11012 API: gst_registry_fork_is_enabled()
11013 API: gst_registry_fork_set_enabled()
11014 API: --gst-disable-registry-fork command line option
11017 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
11019 * gst/gst.c: (gst_init):
11020 Fix typo in error message.
11022 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11024 * libs/gst/controller/gstcontroller.h:
11025 fix ABI size-correction
11027 * tests/check/libs/gdp.c: (gst_dp_suite):
11028 make tests that use deprecated API conditional
11030 2006-08-10 Stefan Kost <ensonic@users.sf.net>
11032 * docs/libs/gstreamer-libs-sections.txt:
11033 * libs/gst/controller/gstcontroller.c:
11034 (_gst_controller_get_property), (_gst_controller_set_property),
11035 (_gst_controller_init), (_gst_controller_class_init):
11036 * libs/gst/controller/gstcontroller.h:
11037 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
11038 (gst_object_set_control_rate):
11039 API: add gst_object_{s,g}et_control_rate(), add private data section,
11042 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
11043 * libs/gst/dataprotocol/dataprotocol.h:
11044 add deprecation guards to make gtk-doc happy and allow disabling cruft
11046 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
11048 * tests/check/Makefile.am:
11049 * tests/check/gst/.cvsignore:
11050 Let's enable the new unit test as well.
11052 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
11055 * docs/gst/gstreamer-sections.txt:
11056 * gst/gstconfig.h.in:
11057 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
11058 (_gst_info_printf_extension_ptr),
11059 (_gst_info_printf_extension_segment):
11060 API: add GST_SEGMENT_FORMAT, which is a printf extension we
11061 register that lets us easily dump GstSegments into debug
11064 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
11065 (info_segment_format_printf_extension), (gst_info_suite):
11066 Add simple unit test that logs a bunch of different segments (not
11067 valgrinded at the moment because of leaks in
11068 gst_debug_add_log_function).
11070 2006-08-09 Edward Hervey <edward@fluendo.com>
11072 * libs/gst/base/gstbasetransform.c:
11073 (gst_base_transform_buffer_alloc):
11074 Even if we can't figure out the proper format to request downstream,
11075 call buffer_alloc() downstream with the input parameters without setting
11076 the caps on the srcpad. This will force negotiation in the chain
11080 2006-08-08 Edward Hervey <edward@fluendo.com>
11082 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
11083 Unlinking from a pad without a target is now a perfectly valid case
11084 which should NOT raise an assertion.
11085 This case would happen if a linked ghostpad its target set to NULL after
11086 it was previously linked.
11088 2006-08-08 Edward Hervey <edward@fluendo.com>
11090 * tests/check/libs/gdp.c:
11091 Also comment out the test (see below).
11093 2006-08-08 Edward Hervey <edward@fluendo.com>
11095 * tests/check/libs/gdp.c: (gst_dp_suite):
11096 Use the architecture information from config.h and not gcc macros
11097 in order to properly disable a test that fails on PPC64.
11099 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11101 * gst/gstelement.c: (gst_element_remove_pad):
11102 Don't crash printing the warning if the pad has no parent.
11104 2006-08-02 Wim Taymans <wim@fluendo.com>
11106 * libs/gst/dataprotocol/dataprotocol.c:
11107 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11108 (gst_dp_crc), (gst_dp_header_payload_length),
11109 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11110 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11111 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11112 (gst_dp_event_from_packet), (gst_dp_validate_header),
11113 (gst_dp_validate_payload):
11114 Make debug category static
11115 Constify the crc table.
11116 Do some more arg checking in public functions.
11117 Fix some docs and do some small cleanups.
11119 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11120 Add some more checks to see if GDP deals with bogus input.
11122 2006-07-31 Wim Taymans <wim@fluendo.com>
11124 * gst/gstvalue.c: (gst_value_compare_list):
11125 Fix GstValueList comparison code. Fixes #347293.
11127 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11128 Check to test GstValueList comparison.
11130 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11132 * gst/gstelementfactory.c: (gst_element_factory_create):
11133 Remove unnecessary ref/unref pair
11135 * gst/parse/grammar.y:
11136 Make sure to free the parse buffer on all code paths.
11137 Move a g_free up to the error handler where it's easier to see.
11139 * tests/check/gst/gstevent.c: (test_event):
11140 Extending timeout for downstream travelling events to 10 seconds to
11141 hopefully avoid intermittent failure on the buildbots.
11143 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11144 Don't manually set the state of the src element - it will happen as a
11145 natural consequence of the pipeline changing state, and that way it
11146 will do it in the right order too.
11148 2006-07-31 Wim Taymans <wim@fluendo.com>
11150 * libs/gst/base/gstbasetransform.c:
11151 (gst_base_transform_buffer_alloc):
11152 Use OBJECT_LOCK and refcounting to get the pad caps in the
11153 buffer_alloc function because the caps could change while we are
11154 busy with them. Fixes #349105
11156 2006-07-31 Wim Taymans <wim@fluendo.com>
11158 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11159 Protect _PAD_CAPS with OBJECT_LOCK.
11161 2006-07-31 Wim Taymans <wim@fluendo.com>
11163 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11164 (gst_pad_get_property), (gst_pad_activate_pull),
11165 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11166 (gst_pad_set_activate_function),
11167 (gst_pad_set_activatepull_function),
11168 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11169 (gst_pad_set_getrange_function),
11170 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11171 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11172 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11173 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11174 (gst_pad_set_acceptcaps_function),
11175 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11176 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11177 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11178 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11179 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11180 (gst_pad_configure_sink), (gst_pad_configure_src),
11181 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11182 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11183 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11184 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11185 (gst_pad_send_event):
11186 Use _DEBUG_OBJECT when it makes sense.
11187 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11188 Small cleanups and code reflows.
11189 Avoid caps refcounting in _accept_caps.
11190 Refactor alloc_buffer so that the code performed on the peer is in a
11191 separate function. Also if the pad does not implement a buffer alloc
11192 function, we should still check if the pad is flushing before falling
11193 back to the default allocator.
11195 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11197 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11198 Make all uses of identity and fakesink have silent=true to avoid
11199 serialising every passing data structure, which is breaking tests
11200 on FC4 for some unknown reason.
11202 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11204 * gst/parse/Makefile.am:
11205 * gst/parse/grammar.y:
11206 * gst/parse/parse.l:
11207 Reverted previous patch as it required to bump the flex dependency to
11208 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11210 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11212 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11214 * gst/parse/Makefile.am:
11215 * gst/parse/grammar.y:
11216 * gst/parse/parse.l:
11217 push & pop the state of the lexer for reentrant use case
11220 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11222 * libs/gst/base/gstbasesrc.h:
11223 Note in the docs that the ::newsegment vfunc is not actually used by
11226 2006-07-28 Wim Taymans <wim@fluendo.com>
11228 * libs/gst/base/gstcollectpads.c:
11229 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11230 (gst_collect_pads_clear), (gst_collect_pads_flush),
11231 (gst_collect_pads_event), (gst_collect_pads_chain):
11232 When flushing a pad, also clear the queued buffer so that we don't
11233 accidentally use it when we shouldn't.
11234 Fix leaks by inreffing incomming buffer.
11235 Flush out queued buffers in case of errors.
11238 2006-07-28 Wim Taymans <wim@fluendo.com>
11240 * docs/random/phonon-gst:
11241 Random notes about a Phonon backend.
11243 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11245 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11247 * tests/check/libs/gdp.c: (gst_dp_suite):
11248 Take a whack at fixing the ppc compile using a different define to
11249 disable the broken test.
11251 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11252 Remove excess g_print()
11254 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11256 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11257 Oops, meant to uncomment this line too to dampen the noise a bit.
11259 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11261 * gst/parse/grammar.y:
11262 * gst/parse/parse.l:
11263 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11264 (GST_START_TEST), (parse_suite):
11265 Fix some of the leaks exposed by extending the parse-launch testsuite,
11266 and move the 3 I can't figure out into a separate test that won't run
11267 the pipelines unless the appropriate line is uncommented.
11269 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11271 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11272 Requesting 0 bytes before the end of the file should result in
11273 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11276 2006-07-27 Wim Taymans <wim@fluendo.com>
11278 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11279 Fix useless assert, a uint is always positive.
11281 * gst/gststructure.c: (gst_structure_nth_field_name),
11282 (gst_structure_foreach), (gst_structure_map_in_place):
11283 Check input arguments for public functions to avoid obvious crashes.
11285 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11286 * plugins/elements/gstfakesink.h:
11287 Do less useless typechecking.
11289 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11291 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11292 Do not use mmap() by default since there are a number of error
11293 conditions that we would like to handle in a non-fatal way that
11294 will result in a SIGBUS if we use mmap(). Examples: external
11295 devices (USB harddrive, portable music player) being unplugged
11296 while in use; file on mounted CD/DVD that can't be read because
11297 the medium is partly damaged. Fixes #348455 and #348475.
11299 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11302 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11303 rates are a gdouble
11305 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11307 * gst/gstregistry.c:
11308 Move big documentation comment into class section header, so that it
11309 appears in the API docs.
11311 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11313 * docs/gst/gstreamer-sections.txt:
11314 Oops. Commit the docs additions too for new API.
11315 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11317 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11319 * gst/gststructure.c: (gst_structure_id_set),
11320 (gst_structure_id_set_valist):
11321 * gst/gststructure.h:
11322 Add API for setting values into structures without performing
11323 a quark lookup, if the appropriate quark is already known.
11325 API: gst_structure_id_set
11326 API: gst_structure_id_set_valist
11328 * gst/parse/grammar.y:
11329 * gst/parse/parse.l:
11330 Remove some dead code shown by the coverage information.
11331 Don't throw a critical g_warning when encountering a syntax error,
11332 just warn and let the normal error path handle it.
11334 * plugins/elements/gstelements.c:
11335 Bump the rank of filesink up to PRIMARY so that it is preferred over
11336 gnomevfssink for file:// sink uri's
11338 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11339 (GST_START_TEST), (run_delayed_test),
11340 (gst_parse_test_element_base_init),
11341 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11342 (gst_parse_test_element_change_state),
11343 (gst_register_parse_element), (parse_suite):
11344 Beef up the tests for parse syntax to check that more error cases
11345 fail as they are supposed to. Increases the test coverage a bit.
11347 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11349 * docs/manual/basics-elements.xml:
11350 Fix gst_element_link() example.
11353 Mention in API docs that one should usually gst_bin_add()
11354 elements to a bin or pipeline before doing the linking.
11356 2006-07-26 Wim Taymans <wim@fluendo.com>
11358 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11359 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11360 Avoid function call for known types by keeping the buffer and
11361 subbuffer GType global.
11363 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11364 Random silly optimisations in read() path.
11366 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11368 * tools/gst-launch.c: (main):
11369 If the top-level of the parse is a normal bin, it doesn't do the
11370 right logic to run as a top-level element, so place it inside a
11373 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11375 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11376 Remove superfluous g_object_notify() calls, GObject does
11377 that for us automatically.
11379 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11382 on Win32, use dllspec to export the debug category symbols
11384 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11386 * gst/gsttaglist.c: (_gst_tag_initialize):
11387 Allow more than one GST_TAG_IMAGE per taglist.
11389 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11391 * gst/gstminiobject.c:
11393 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11394 (gst_fd_src_create):
11395 log recurring events at LOG level
11396 add more debug for when the fd gets set
11398 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11400 * gst/gstparse.c: (gst_parse_launch):
11401 Also remove reentrance checks if flex is MT safe (#348179)
11402 Fix my empty ChangeLog entry below
11404 2006-07-21 Andy Wingo <wingo@pobox.com>
11406 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11408 * libs/gst/check/Makefile.am
11409 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11410 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11411 * libs/gst/check/gstbufferstraw.h:
11412 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11413 functions, thus proving I am still a GStreamer haxor. OK I wrote
11414 them a long time ago, but anyways.
11416 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11419 * gst/gstparse.c: (gst_parse_launch):
11420 Check for flex version and omit mutex if we have a MT save flex
11423 2006-07-21 Wim Taymans <wim@fluendo.com>
11425 * gst/gstparse.c: (gst_parse_launch):
11426 Protect recursive calls to _parse with a recursive mutex
11429 2006-07-21 Wim Taymans <wim@fluendo.com>
11431 * tests/check/gst/gstpad.c: (GST_START_TEST):
11434 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11436 * gst/gstparse.c: (gst_parse_launch):
11437 Do not hang on recursive usage of gst_parse_launch()
11439 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11441 * gst/gsttaglist.c:
11442 Add some more docs, comments and FIXME 0.11s here and there
11443 and also fix some typos.
11445 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11447 * gst/gstsegment.h:
11448 Convert tabs to spaces for better readability.
11450 2006-07-20 Edward Hervey <edward@fluendo.com>
11452 * tests/check/libs/gdp.c: (gst_dp_suite):
11453 the test_buffer test fails at line 140 on ppc64 at the following
11455 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11456 GST_BUFFER_FLAG_IN_CAPS),
11457 "GST_BUFFER_IN_CAPS flag should have been copied !");
11458 See bug #348114 for more details.
11460 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11462 * docs/pwg/advanced-scheduling.xml:
11464 Fix typos (#348000).
11466 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11468 * docs/pwg/intro-basics.xml:
11469 Fix wrong links (#347927).
11471 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11473 * gst/gstregistry.h:
11474 * gst/gstregistryxml.c: (load_feature),
11475 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11476 * win32/common/config.h:
11477 make --disable-index work (#342564)
11479 2006-07-18 Wim Taymans <wim@fluendo.com>
11481 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11485 The attached patch adds two missing defines to gsttrace.h when tracing
11486 is disabled. It also corrects one existing define.
11489 2006-07-17 Wim Taymans <wim@fluendo.com>
11491 * docs/gst/gstreamer-sections.txt:
11492 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11494 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11495 Add two functions to check and change the SIGSEGV behaviour
11496 when loading plugins.
11497 Don't mess with the SIGSEGV handler when we were told not to.
11499 API: gst_segtrap_is_enabled
11500 API: gst_segtrap_set_enabled
11502 2006-07-14 Wim Taymans <wim@fluendo.com>
11504 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11505 * tests/check/elements/filesrc.c: (GST_START_TEST):
11506 Revert fix for regression in #347408 after release.
11508 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11510 Patch by: Antoine Tremblay <hexa00 at gmail com>
11512 * gst/gstutils.c: (gst_element_unlink):
11513 Free iterator when done (#347311).
11515 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11516 And add a test case for this.
11518 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11521 Bump nano back to CVS
11523 === release 0.10.9 ===
11525 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11528 releasing 0.10.9, "On the road again"
11530 2006-07-13 Wim Taymans <wim@fluendo.com>
11532 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11533 * tests/check/elements/filesrc.c: (GST_START_TEST):
11534 Revert pull-0 fix for release. Disable check. Fixes #347408.
11536 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11538 * libs/gst/dataprotocol/dataprotocol.c:
11539 (gst_dp_event_from_packet_1_0):
11540 Fixes #347337: failure to deserialize event packets with
11541 empty payload (only event type)
11543 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11546 do not install a .c file in the header directory
11548 2006-07-13 Edward Hervey <edward@fluendo.com>
11550 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11551 GhostPad no longer implicitely use the padtemplates of the targets.
11554 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11556 * gst/gstvalue.c: (gst_value_compare_list),
11557 (gst_value_compare_array), (_gst_value_initialize):
11558 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11559 Make GstValueArray comparison be order dependent as designed.
11560 Add checks for value lists and value array comparisons.
11563 2006-07-11 Edward Hervey <edward@fluendo.com>
11565 * gst/gstbin.c: (activate_pads),
11566 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11567 (gst_bin_change_state_func):
11568 (de)activate src pads before calling state_change on the childs.
11569 This is to avoid the case where a src ghostpad is blocked (holding the
11570 stream lock), which would block the deactivation of the ghostpad's
11572 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11573 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11574 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11575 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11576 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11577 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11578 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11579 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11580 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11581 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11582 (gst_ghost_pad_class_init),
11583 (gst_ghost_pad_internal_do_activate_push),
11584 (gst_ghost_pad_internal_do_activate_pull),
11585 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11586 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11587 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11588 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11589 GhostPads now create their internal GstProxyPad at creation (and not
11590 when they're linked, as it was being done previously).
11591 The internal and target pads are linked straight away.
11592 The data will also travel through the other pad in order to make
11593 pad blocking and probes non-hackish (the probe/block now really happens
11594 on the GhostPad and not on the target).
11595 * gst/gstpad.c: (gst_pad_set_blocked_async),
11596 (gst_pad_link_prepare), (gst_pad_push_event):
11597 Remove previous ghostpad cruft.
11598 * gst/gstutils.c: (gst_pad_add_data_probe),
11599 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11600 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11601 (gst_pad_remove_buffer_probe):
11602 Remove previous ghost pad cruft.
11603 Added more detailed debug statements.
11604 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11605 Fix the testsuite for refcounting changes.
11606 The comments about who has references were correct, but the refcount
11607 being checked wasn't the same (!?!).
11611 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11613 * docs/gst/gstreamer-sections.txt:
11614 * gst/gstconfig.h.in:
11615 More docs for configuration options, add docs to gtk-doc.
11617 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11620 * gst/gstconfig.h.in:
11621 * win32/common/config.h:
11622 Fix build when disabling tracing (fixes #344016). Also start to document
11623 the defines that disable the sub-systems.
11625 2006-07-10 Edward Hervey <edward@fluendo.com>
11627 * gst/gst.c: (ensure_current_registry_forking):
11628 let's make valgrind happy...
11630 2006-07-09 Wim Taymans <wim@fluendo.com>
11632 * gst/gstelement.c: (activate_pads),
11633 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11634 Better pad activation code: Reset the collect value too on resync.
11637 2006-07-09 Wim Taymans <wim@fluendo.com>
11639 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11640 (gst_pad_activate_push):
11641 Use some more macros where it makes sense.
11642 Allow pad mode switching instead of asserting. When a pad
11643 is activated in one mode and we activate it in another,
11644 deactivate it first before activating it in a different mode.
11647 2006-07-08 Andy Wingo <wingo@pobox.com>
11649 * tools/gst-launch.c (main): Handle err == NULL.
11651 * gst/gst.c (init_post, ensure_current_registry)
11652 (ensure_current_registry_forking)
11653 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11654 factoring out the registry scanning into separate functions. Don't
11655 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11656 Better environment var name/interface suggestions accepted.
11658 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11660 * gst/gstobject.c: (gst_object_set_name_default),
11661 (gst_object_set_name):
11662 Random micro-optimisation: don't use a hash table
11663 with strings as keys and the usual strdup/strcmp
11664 involved, but rather just use the GQuark of the
11665 type name as key, since it needs to be looked up
11666 anyway to get the type name string.
11668 * tests/check/gst/gstobject.c: (GST_START_TEST):
11671 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11673 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11674 (gst_bin_iterate_all_by_interface):
11675 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11676 GTypes are gulongs and thus the top 4 bytes might be cut
11677 off on some platforms when doing GPOINTER_TO_INT, leading
11678 to invalid GTypes and bad things happening (see RH bug #179654).
11679 Also add a check to make sure the type passed in is really
11682 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11687 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11691 * gst-element-check.m4:
11692 * gst-element-check.m4.in:
11693 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11694 instead of the unversioned gst-inspect (#324176, #168659).
11696 2006-07-06 Wim Taymans <wim@fluendo.com>
11698 * gst/gstmessage.h:
11699 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11702 2006-07-06 Wim Taymans <wim@fluendo.com>
11704 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11705 (gst_base_src_wait), (gst_base_src_update_length),
11706 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11707 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11708 (gst_base_src_loop), (gst_base_src_start),
11709 (gst_base_src_activate_pull):
11711 blocksize == 0 now means the default blocksize when working in push
11713 Remove some pointless asserts in _wait function.
11714 Fix offset/length calculations and EOS handling. We can now pull 0
11715 bytes as well, which is allowed.
11716 use _check_get_range() to decide if we can operate in _pull based
11718 Fix refcounting leak when check_get_range function was not
11720 API GstBaseSrc::blocksize range can be 0 too now (default)
11722 * tests/check/elements/filesrc.c: (GST_START_TEST),
11724 Added check to test _get_range() behaviour.
11726 2006-07-06 Wim Taymans <wim@fluendo.com>
11728 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11729 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11730 (gst_pad_pull_range):
11732 Lots of comments and docs added to the pad functions.
11733 Flesh out the expected behaviour of the get_range() functions.
11735 2006-07-06 Wim Taymans <wim@fluendo.com>
11740 * gst/gstiterator.h:
11744 Remove comma at end of enumerator list.
11746 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11748 * win32/common/libgstbase.def:
11749 * win32/common/libgstdataprotocol.def:
11750 * win32/common/libsgtreamer.def:
11751 Add new exported functions.
11753 2006-07-05 Wim Taymans <wim@fluendo.com>
11755 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11756 Add some more docs here and there.
11758 2006-07-05 Wim Taymans <wim@fluendo.com>
11760 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11761 (gst_base_sink_loop), (gst_base_sink_get_position):
11762 When operating in pull mode update the offset so that we
11765 2006-07-05 Wim Taymans <wim@fluendo.com>
11767 * gst/gstregistryxml.c: (read_string):
11768 Avoid strdup. (will happen in libxml, but hey!)
11771 Add some more docs.
11773 2006-07-05 Wim Taymans <wim@fluendo.com>
11775 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11776 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11777 (gst_buffer_suite):
11778 No point in checking if the size of the subbuffer > 0, the
11779 code handles it correclty as demonstrated by unit test.
11780 Also add a unit test for the zero sized _new_and_alloc and
11781 _copy. Fixes #346663.
11783 2006-07-05 Wim Taymans <wim@fluendo.com>
11785 * libs/gst/base/gstbasetransform.c:
11786 (gst_base_transform_prepare_output_buffer),
11787 (gst_base_transform_buffer_alloc),
11788 (gst_base_transform_handle_buffer):
11789 Make sure the buffer we pass to transform_ip has a refcount of
11790 1 and thus is writable. Fixes #343196
11792 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11794 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11795 (gst_file_src_init), (gst_file_src_set_property),
11796 (gst_file_src_get_property), (gst_file_src_map_region):
11797 * plugins/elements/gstfilesrc.h:
11798 Add "sequential" property, off by default, to use madvise and hint
11799 to the kernel that sequential access is desired.
11800 Touch all retrieved pages by default to ensure they are pulled
11801 into memory. (Closes #345720)
11803 2006-07-03 Wim Taymans <wim@fluendo.com>
11805 * docs/design/part-block.txt:
11806 * docs/design/part-dynamic.txt:
11807 Small docs updates.
11809 2006-07-03 Wim Taymans <wim@fluendo.com>
11811 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11812 (gst_caps_unref), (gst_static_caps_get),
11813 (gst_caps_append_structure):
11814 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11815 Use GSlice when the glib we build against is >= 2.10
11817 2006-07-03 Wim Taymans <wim@fluendo.com>
11819 * gst/gstelement.c: (gst_element_pads_activate):
11820 Small cleanup in pad activation code.
11822 2006-07-03 Wim Taymans <wim@fluendo.com>
11824 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11826 * gst/gst-i18n-app.h:
11827 * gst/gst-i18n-lib.h:
11828 * tools/gst-inspect.c: (print_signal_info):
11829 The attached patch will make the inclusion of gettext.h unconditional in
11830 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11831 libintl.h in tools/gst-inspect.c.
11832 This allows use of --disable-nls again and fixes #344642.
11834 2006-07-03 Edward Hervey <edward@fluendo.com>
11836 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11837 Implement pad blocking on events according to part-block.txt.
11838 More comments on behaviour.
11839 * tests/check/gst/gstevent.c: (test_event):
11840 Send event to peer pad of blocked pad (else it will block).
11842 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11844 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11845 (gst_check_run_suite):
11846 if we get the wrong message, give us the types as string
11847 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11849 * tests/check/elements/filesrc.c: (GST_START_TEST):
11850 add a test for trying to open a non-existing file
11852 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11854 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11855 add a test for adding self
11857 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11859 * libs/gst/check/gstcheck.h:
11860 add some assert_ as alias for fail_unless_*
11861 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11862 increase test coverage
11864 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11867 include lcov.mak for lcov coverage generation
11868 * tools/Makefile.am:
11871 2006-07-02 Edward Hervey <edward@fluendo.com>
11873 * tests/check/elements/.cvsignore:
11876 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11879 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11880 * tests/check/Makefile.am:
11881 clean up gcov files
11883 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11885 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11886 remove gst_caps_simplify; it was not declared and not used
11887 and deprecated in 0.8
11889 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11891 * docs/faq/gst-uninstalled:
11892 don't put empty paths on PYTHONPATH
11893 * docs/gst/gstreamer-sections.txt:
11894 remove some symbols that are not there
11896 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11898 * gst/gstcaps.c: (gst_caps_compare_structures):
11900 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11901 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11904 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11906 * libs/gst/dataprotocol/Makefile.am:
11907 build dataprotocol test by linking to the lib, instead of
11908 compiling the source, so we get coverage
11909 * tests/check/Makefile.am:
11910 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11911 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11912 add a test for filesrc
11914 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11916 * tests/check/gst/gststructure.c: (GST_START_TEST),
11917 (gst_structure_suite):
11918 Push coverage from 59.04% to 70.00%
11920 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11922 * tests/check/Makefile.am:
11923 gst-inspect every element; this makes sure that we also get
11924 coverage on element's get/set functions
11926 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11929 set CFLAGS and friends to -O0 if gcov is being used
11932 * libs/gst/base/Makefile.am:
11933 * libs/gst/check/Makefile.am:
11934 * libs/gst/controller/Makefile.am:
11935 * libs/gst/dataprotocol/Makefile.am:
11936 * libs/gst/net/Makefile.am:
11937 * plugins/elements/Makefile.am:
11938 * plugins/indexers/Makefile.am:
11939 add makefile rules to generate gcov data and clean up
11940 * tests/check/Makefile.am:
11941 add a coverage target that generates an html overview
11944 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11946 * tests/check/elements/fakesink.c:
11947 * tests/check/elements/fakesrc.c:
11948 * tests/check/elements/fdsrc.c:
11949 * tests/check/elements/identity.c:
11950 * tests/check/generic/sinks.c: (gst_sinks_suite):
11951 * tests/check/generic/states.c:
11952 * tests/check/gst/gst.c:
11953 * tests/check/gst/gstabi.c:
11954 * tests/check/gst/gstbin.c:
11955 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11956 * tests/check/gst/gstbus.c: (gst_bus_suite):
11957 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11958 * tests/check/gst/gstelement.c:
11959 * tests/check/gst/gstevent.c: (gst_event_suite):
11960 * tests/check/gst/gstghostpad.c:
11961 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11962 * tests/check/gst/gstmessage.c: (gst_message_suite):
11963 * tests/check/gst/gstminiobject.c:
11964 * tests/check/gst/gstobject.c:
11965 * tests/check/gst/gstpad.c:
11966 * tests/check/gst/gstpipeline.c:
11967 * tests/check/gst/gstplugin.c:
11968 * tests/check/gst/gstquery.c: (gst_query_suite):
11969 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11970 * tests/check/gst/gststructure.c:
11971 * tests/check/gst/gstsystemclock.c:
11972 * tests/check/gst/gsttag.c:
11973 * tests/check/gst/gsttask.c: (gst_task_suite):
11974 * tests/check/gst/gstutils.c:
11975 * tests/check/gst/gstvalue.c:
11976 * tests/check/libs/adapter.c:
11977 * tests/check/libs/basesrc.c:
11978 * tests/check/libs/collectpads.c:
11979 * tests/check/libs/controller.c:
11980 * tests/check/libs/gdp.c: (gst_dp_suite):
11981 * tests/check/libs/gstnetclientclock.c:
11982 * tests/check/libs/gstnettimeprovider.c:
11983 * tests/check/libs/libsabi.c: (libsabi_suite):
11984 * tests/check/libs/typefindhelper.c:
11985 * tests/check/pipelines/cleanup.c:
11986 * tests/check/pipelines/parse-launch.c:
11987 * tests/check/pipelines/simple-launch-lines.c:
11988 * tests/check/pipelines/stress.c: (stress_suite):
11991 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11993 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11994 * libs/gst/check/gstcheck.h:
11995 create a macro and function so that the simple unit test
11996 case can be just one macro to create main()
11998 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
12000 * gst/gstbin.c: (gst_bin_restore_thyself):
12001 * gst/gstxml.c: (gst_xml_make_element):
12002 Fix deserialisation from XML. Set parent manually
12003 instead of using gst_bin_add(), since gst_bin_add()
12004 will unlink all pads of the element being added.
12007 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
12009 Patch by: Peter Kjellerstedt <pkj at axis com>
12011 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
12012 Fix missing g_strdup() and double free when using the
12013 --gst-plugin-load command line option (#346097).
12015 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12018 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
12020 * libs/gst/net/gstnetclientclock.c:
12021 * libs/gst/net/gstnettimeprovider.c:
12022 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
12024 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
12026 * docs/manual/advanced-dataaccess.xml:
12027 Fix buffer probe example compilation in
12030 2006-06-22 Edward Hervey <edward@fluendo.com>
12032 * gst/gstelement.c: (gst_element_pads_activate):
12033 We need to deactivate src pads first and then sink pads.
12034 The reason is the src pads might be blocking while holding the streaming
12035 lock, so we need to deactivate them first so that deactivating the sink
12036 pads doesn't block (since it will require the streaming lock).
12038 2006-06-22 Wim Taymans <wim@fluendo.com>
12040 * libs/gst/base/gstbasetransform.c:
12041 (gst_base_transform_buffer_alloc):
12042 Forgot to remove two unneeded unrefs.
12043 Simplify a check _is_equal allready checks the obvious case.
12045 2006-06-22 Wim Taymans <wim@fluendo.com>
12047 * docs/design/part-block.txt:
12048 Some docs about what pad_block should do.
12050 2006-06-22 Wim Taymans <wim@fluendo.com>
12052 * gst/gstcaps.c: (gst_caps_replace):
12053 Fix crasher when passed NULL. Doc clarification.
12054 Optimize for the trivial case.
12056 * gst/gstpipeline.c: (gst_pipeline_change_state):
12059 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12060 Small documentation cleanup.
12062 * libs/gst/base/gstbasetransform.c:
12063 (gst_base_transform_buffer_alloc):
12064 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
12065 is what we need and it avoids a whole lot of redundant
12066 refcount operations.
12068 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
12070 Patch by: Philip Jägenstedt <philip at lysator liu se>
12072 * docs/manual/advanced-dataaccess.xml:
12073 Fix 'Embedding static elements' section to use
12074 GST_PLUGIN_DEFINE_STATIC (#345607).
12076 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12078 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
12079 Attempt to 'fix' spuriously failing test case: it seems like the
12080 timeout of half a second is simply too small when the system is under
12081 load otherwise, and the timeout doesn't really seem to serve any
12082 particular purpose here. Give the pipeline a few seconds to preroll
12083 first, and then give it another half a second to go from PAUSED to
12084 PLAYING and marshal the message into the main thread.
12086 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12088 * tools/gst-feedback-m.m:
12089 Don't only use unversioned tools, try versioned tools as well
12092 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12094 * gst/gstbus.c: (gst_bus_class_init):
12095 Fix some typos, make docs more explicit.
12097 2006-06-20 Wim Taymans <wim@fluendo.com>
12099 * tests/check/gst/gstghostpad.c: (block_callback),
12100 (GST_START_TEST), (gst_ghost_pad_suite):
12101 Added some more ghostpad tests, mainly blocking
12104 2006-06-16 Wim Taymans <wim@fluendo.com>
12106 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12107 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12108 (gst_file_sink_event), (gst_file_sink_render):
12109 * plugins/elements/gstfilesink.h:
12110 Check if we can seek in the file instead of assuming
12111 we always can. Post an error when we are asked to seek in a
12112 non-seekable file (like a fifo). Fixes #343312.
12115 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12117 * tools/gst-launch.1.in:
12118 Un-garble (fourcc) bit in filtered caps section.
12120 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12122 * docs/manual/advanced-autoplugging.xml:
12123 * docs/manual/basics-helloworld.xml:
12124 * docs/manual/highlevel-components.xml:
12125 Don't leak bus reference in sample code.
12127 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12130 Add default for new --enable-plugin-docs switch.
12133 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12136 * docs/Makefile.am:
12137 Use new ENABLE_PLUGIN_DOCS conditional.
12139 2006-06-14 Wim Taymans <wim@fluendo.com>
12141 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12142 Make it clear with a FIXME and a real define what the #if 0
12143 previously disabled.
12145 2006-06-14 Wim Taymans <wim@fluendo.com>
12147 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12148 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12149 * libs/gst/base/gstbasetransform.c:
12150 (gst_base_transform_sink_eventfunc):
12151 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12152 Don't randomly and silently reset a segment when the format
12153 changes as this is a bug somewhere upstream. Fixes #330379.
12155 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12157 Patch by: Wouter Paesen <wouter at kangaroot net>
12159 * libs/gst/controller/gstcontroller.c:
12160 (gst_controlled_property_new):
12161 Fix controlling of float properties (#344849).
12163 * tests/check/libs/controller.c:
12164 (gst_test_mono_source_get_property),
12165 (gst_test_mono_source_set_property),
12166 (gst_test_mono_source_class_init), (GST_START_TEST):
12167 While we're at it, add some float stuff to unit test.
12169 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12172 * docs/images/gdp-header.svg:
12174 * docs/libs/Makefile.am:
12175 * docs/libs/gdp-header.png:
12176 * libs/gst/dataprotocol/dataprotocol.c:
12177 add it to the API docs
12178 * docs/manual/intro-motivation.xml:
12181 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12183 * gst/gst.c: (scan_and_update_registry), (init_post):
12184 If the fork()'ed child process can't write the updated registry cache
12185 file to disk for some reason, make it exit with a failure exit code,
12186 so that the parent can then re-scan the plugins itself and update the
12187 registry structures in memory and work with that (rather than failing
12188 when creating elements because seemingly no plugins are available).
12189 Refactor registry scanning code into separate function for this and
12190 also separate fork() and non-fork() code paths. Fixes #344748.
12192 2006-06-13 Wim Taymans <wim@fluendo.com>
12194 * docs/manual/advanced-dataaccess.xml:
12195 Fix wrong PluginDesc. Fixes #344755.
12197 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12199 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12200 Fix silly bug that prevented us from creating
12201 ~/.gstreamer-0.10 and writing the registry in one
12202 go (the first call to g_mkstemp() would overwrite the
12203 placeholder in the template string, so the second call
12204 to g_mkstemp() after creating the missing directory
12205 would then error out with 'invalid argument').
12207 2006-06-13 Edward Hervey <edward@fluendo.com>
12209 * gst/gst.c: (init_post):
12212 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12214 * gst/glib-compat-private.h:
12215 * gst/glib-compat.c:
12216 * gst/glib-compat.h:
12217 * gst/gstvalue.c: (gst_value_serialize_flags):
12218 remove GLib 2.6 compatibility code
12220 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12222 * gst/parse/Makefile.am:
12223 Fix build with 'make -j N' even more (#340016).
12225 2006-06-12 Wim Taymans <wim@fluendo.com>
12227 * docs/gst/gstreamer-sections.txt:
12230 2006-06-12 Wim Taymans <wim@fluendo.com>
12232 * gst/gstsegment.c: (gst_segment_set_duration),
12233 (gst_segment_set_last_stop), (gst_segment_set_seek),
12234 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12235 (gst_segment_to_running_time), (gst_segment_clip):
12236 Use G_UNLIKELY to help the compiler a bit.
12238 2006-06-12 Wim Taymans <wim@fluendo.com>
12240 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12242 * gst/gstevent.c: (gst_event_get_type):
12243 * gst/gstmessage.c:
12244 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12246 constify quark registration strings. Fixes #344115
12247 Avoid unneeded type checking is _pad_push() by internally
12248 calling gst_pad_chain_unchecked().
12250 2006-06-12 Wim Taymans <wim@fluendo.com>
12252 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12253 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12254 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12255 (gst_buffer_is_span_fast), (gst_buffer_span):
12256 Init _type for consistency.
12257 Use _FLAGS macro to avoid type check.
12258 Avoid unneeded type checks in subbufer code.
12260 2006-06-12 Wim Taymans <wim@fluendo.com>
12262 * gst/gst.c: (gst_debug_help):
12263 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12264 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12265 (gst_plugin_feature_list_free):
12266 * gst/gstregistry.c: (gst_registry_add_plugin),
12267 (gst_registry_add_feature), (gst_registry_plugin_filter),
12268 (gst_registry_feature_filter), (gst_registry_find_plugin),
12269 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12270 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12271 * gst/gstregistryxml.c: (load_feature),
12272 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12273 * gst/gstminiobject.c: (gst_mini_object_unref),
12274 (gst_mini_object_replace), (gst_value_mini_object_free),
12275 (gst_value_mini_object_copy):
12276 Use _CAST macros to avoid unneeded type checking.
12277 Added some more G_UNLIKELY.
12279 2006-06-12 Wim Taymans <wim@fluendo.com>
12282 Avoid unneeded type checking.
12283 API: GST_BUFFER_IS_DISCONT
12285 * gst/gstminiobject.h:
12286 Avoid type check in flag accessor.
12288 * gst/gstelementfactory.h:
12290 * gst/gstpluginfeature.h:
12292 API: GST_ELEMENT_FACTORY_CAST
12293 API: GST_PLUGIN_CAST
12294 API: GST_PLUGIN_FEATURE_CAST
12296 2006-06-12 Wim Taymans <wim@fluendo.com>
12298 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12299 (gst_object_unref):
12300 Add G_UNLIKELY in type registration.
12301 Avoid type check in _ref/_unref since that is also
12304 2006-06-12 Wim Taymans <wim@fluendo.com>
12306 * gst/gsterror.c: (gst_g_error_get_type):
12307 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12308 (gst_static_pad_template_get_type):
12309 * gst/gsttaglist.c: (gst_tag_list_get_type):
12310 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12311 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12312 * gst/gsturi.c: (gst_uri_handler_get_type):
12313 * gst/gstvalue.c: (gst_date_get_type):
12314 * gst/gstxml.c: (gst_xml_get_type):
12315 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12316 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12317 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12318 Add G_UNLIKELY in type registration.
12320 2006-06-12 Wim Taymans <wim@fluendo.com>
12322 * tools/gst-inspect.c: (print_signal_info):
12323 Properly print enum values.
12325 2006-06-12 Wim Taymans <wim@fluendo.com>
12327 * gst/gstinfo.c: (gst_debug_set_active),
12328 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12330 Add some G_[UN]LIKELY.
12331 Maintain __gst_debug_min to avoid formatting the arguments of
12332 debug messages that will be dropped anyway to avoid a lot of
12333 overhead from the debugging system.
12335 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12338 * po/POTFILES.skip:
12339 add missing files containing translatable strings, tell intltool about
12342 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12344 * tests/check/libs/.cvsignore:
12345 add test-binary to ignore list
12347 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12349 * docs/libs/gstreamer-libs-docs.sgml:
12350 reorder (put dp into a chapter) and indent
12352 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12357 === release 0.10.8 ===
12359 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12362 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12364 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12366 * gst/gst.c: (init_post):
12367 move pid declaration to declaration block
12369 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12371 * gst/gst.c: (init_post):
12372 use _exit() instead of exit() in our forked child; this ensures
12373 that none of the registered exit handlers from whatever is using
12374 GStreamer get executed. This fixes gnome-mixer-applet failing
12375 to load, because ORBit would shut down.
12376 Spotted by: Edward Hervey <edward@fluendo.com>
12377 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12380 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12385 === release 0.10.7 ===
12387 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12390 releasing 0.10.7, "Soepeke, ik zie ou"
12392 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12415 * win32/common/config.h:
12416 0.10.6.2 prerelease
12418 2006-06-07 Wim Taymans <wim@fluendo.com>
12420 * gst/gstindex.c: (gst_index_gtype_resolver):
12421 * tools/gst-xmlinspect.c: (print_plugin_info):
12422 Fix leak spotted by coverity checker. Fixes #343827
12423 Fix another other leak found by paolo borelli.
12425 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12427 * libs/gst/dataprotocol/dataprotocol.c:
12428 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12429 (gst_dp_version_get_type), (gst_dp_init),
12430 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12431 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12432 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12433 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12434 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12435 (gst_dp_packetizer_free):
12436 * libs/gst/dataprotocol/dataprotocol.h:
12437 API: add a GstDPPacketizer object, and create/free functions
12438 API: add GstDPVersion enum
12439 Add 1.0 event function that uses the string serialization
12440 Serialize more useful buffer flags
12443 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12445 * tests/check/Makefile.am:
12446 * tests/check/gst/gstabi.c:
12447 * tests/check/gst/struct_ppc64.h:
12448 * tests/check/libs/libsabi.c:
12449 * tests/check/libs/struct_ppc64.h:
12450 add ppc64 structure sizes
12452 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12454 * tests/check/Makefile.am:
12455 * tests/check/gst/gstabi.c:
12456 * tests/check/gst/struct_x86_64.h:
12457 * tests/check/libs/libsabi.c:
12458 * tests/check/libs/struct_x86_64.h:
12459 generate and add structure size lists for x86_64
12461 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12463 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12464 * libs/gst/check/gstcheck.h:
12465 factor out the method from tests that checks size of structures,
12466 and add code to generate the header containing these sizes
12467 * tests/check/gst/gstabi.c: (GST_START_TEST):
12468 * tests/check/gst/struct_i386.h:
12469 * tests/check/libs/libsabi.c: (GST_START_TEST):
12470 * tests/check/libs/struct_i386.h:
12473 2006-06-06 Michael Smith <msmith@fluendo.com>
12475 * gst/gstsegment.h:
12476 Don't use c++-style comments, fixes #343929
12478 2006-06-05 Edward Hervey <edward@fluendo.com>
12481 plugin_paths is not used if we build without registry support.
12483 * gst/gstsegment.c: (gst_segment_copy):
12484 _copy() was always returning NULL...
12486 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12488 * libs/gst/dataprotocol/dataprotocol.c:
12489 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12490 (gst_dp_packet_from_event):
12491 factor out CRC code
12493 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12495 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12496 make sure we unset caps
12498 2006-06-02 Michael Smith <msmith@fluendo.com>
12500 * libs/gst/check/gstcheck.c: (gst_check_init),
12501 (gst_check_chain_func):
12502 * libs/gst/check/gstcheck.h:
12503 Add a cond/mutex to the check support lib, signal this whenever we
12504 add to the buffers list. This will allow tests to not busy-wait on
12507 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12509 * libs/gst/dataprotocol/dataprotocol.c:
12510 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12511 (gst_dp_packet_from_event):
12512 factor out some common header init code
12514 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12516 * docs/libs/gstreamer-libs-sections.txt:
12517 * docs/libs/tmpl/gstdataprotocol.sgml:
12518 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12519 * libs/gst/dataprotocol/dataprotocol.h:
12520 API: make gst_dp_crc() public
12522 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12524 * plugins/indexers/gstindexers.c: (plugin_init):
12525 conditionally register fileindexer (fixes #343598)
12527 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12529 * gst/gsttagsetter.h:
12530 Can't cast ifaces to a class
12532 * libs/gst/net/gstnetclientclock.h:
12533 * libs/gst/net/gstnettimeprovider.h:
12534 * plugins/elements/gstfakesink.h:
12535 * plugins/elements/gstfakesrc.h:
12536 * plugins/elements/gstfdsink.h:
12537 * plugins/elements/gstfdsrc.h:
12538 * plugins/elements/gstfilesink.h:
12539 * plugins/elements/gstfilesrc.h:
12540 * plugins/elements/gstidentity.h:
12541 * plugins/elements/gstqueue.h:
12542 * plugins/elements/gsttee.h:
12543 * plugins/indexers/gstfileindex.c:
12544 * plugins/indexers/gstmemindex.c:
12545 * tests/old/examples/plugins/example.h:
12546 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12548 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12550 * libs/gst/dataprotocol/dataprotocol.c:
12551 (gst_dp_header_from_buffer):
12552 make sure we zero the whole ABI-compatible area
12554 2006-06-01 Wim Taymans <wim@fluendo.com>
12556 Patch by: Alessandro Decina <alessandro at nnva dot org>
12558 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12559 Make sure the EOS flag is cleared from pads after a flush
12560 or stop. Fixes #343538.
12562 * tests/check/libs/collectpads.c: (GST_START_TEST),
12563 (gst_collect_pads_suite):
12564 Added test for collectpads reusage after EOS.
12566 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12569 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12570 * win32/common/libgstbase.def:
12571 export gst_collect_pads_set_flushing
12572 * win32/common/libgstreamer.def:
12573 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12574 gst_value_fraction_multiply
12575 * win32/vs6/gst_inspect.dsp:
12576 add a link to intl.lib
12578 2006-05-30 Wim Taymans <wim@fluendo.com>
12580 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12581 (gst_collect_pads_chain):
12582 Handle the case where a pad is removed from the collection
12583 that could cause the other pads to become collectable.
12585 2006-05-30 Wim Taymans <wim@fluendo.com>
12587 * gst/gstelement.c:
12588 Clarify the use of _release_request_pad() and
12589 _get_request_pad() a bit better.
12591 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12592 (gst_adapter_take_buffer):
12593 Fix some doc and comment typos.
12595 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12597 * docs/gst/gstreamer-sections.txt:
12598 * docs/libs/gstreamer-libs-sections.txt:
12599 add declared symbols
12601 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12603 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12604 Add debug that can be enabled using a #define at the top of the file,
12605 for dumping stats about how late/early we were when waking up from
12606 waiting on the clock.
12608 2006-05-30 Wim Taymans <wim@fluendo.com>
12610 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12611 When rebuilding the pad list, don't leak the previous list.
12613 2006-05-30 Wim Taymans <wim@fluendo.com>
12615 Patch by: Lutz Mueller <lutz at topfrose dot de>
12617 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12618 (gst_base_src_get_query_types), (gst_base_src_update_length):
12619 Publish supported query types.
12620 Update last_stop field in get_range mode so the position
12621 query works. Fixes #342321.
12623 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12625 * docs/gst/gstreamer-sections.txt:
12626 * gst/gsttaglist.c: (_gst_tag_initialize):
12627 * gst/gsttaglist.h:
12628 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12630 2006-05-30 Wim Taymans <wim@fluendo.com>
12632 Patch by: Alessandro Decina <alessandro at nnva dot org>
12634 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12635 Unlock mutex when removing an unknown pad.
12638 * tests/check/Makefile.am:
12639 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12640 (push_event), (setup), (teardown), (GST_START_TEST),
12641 (gst_collect_pads_suite), (main):
12642 Added collecpads check, disabled for now as check crashes for
12645 2006-05-29 Wim Taymans <wim@fluendo.com>
12647 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12648 Don't leak pads lists.
12650 2006-05-29 Wim Taymans <wim@fluendo.com>
12652 * docs/libs/gstreamer-libs-sections.txt:
12653 * libs/gst/base/gstcollectpads.c:
12654 (gst_collect_pads_set_flushing_unlocked),
12655 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12656 (gst_collect_pads_stop):
12657 * libs/gst/base/gstcollectpads.h:
12658 API: gst_collect_pads_set_flushing()
12659 Added api to set the pads to flushing, useful for seeking
12660 code in elements using collectpads.
12661 Clear segment when receiving a flush.
12663 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12665 * gst/gst.c: (add_path_func), (init_post):
12666 Don't scan registry paths passed via --gst-plugin-path immediately
12667 (will crash, because absolutely nothing is set up and no types are
12668 registered etc.); do this later in init_post(). Fixes #343057.
12670 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12672 * gst/gst.c: (init_post):
12673 if we have fork, fork while reading/rebuilding the registry
12674 so the parent doesn't take the hit of having all plugins loaded
12675 in memory. Fixes #342777.
12677 Check if we have fork()
12678 * win32/common/config.h.in:
12681 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12683 * plugins/elements/gstelements.c:
12684 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12685 (gst_file_src_init), (gst_file_src_set_property),
12686 (gst_file_src_get_property), (gst_file_src_start):
12687 * plugins/elements/gstfilesrc.h:
12688 API: GstFileSrc::use-mmap
12690 Add a use-mmap property to enable easier testing of all code paths.
12691 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12692 in the absence of gnomevfssrc. (Closes #340501)
12694 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12696 * tools/gst-inspect.c:
12697 Add missing include, removes warning of ngettext not being defined on
12700 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12702 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12703 Handle NULL input and output pointers silently as a failed conversion,
12704 rather than g_warnings.
12706 2006-05-25 Wim Taymans <wim@fluendo.com>
12708 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12709 Initialize variable before using. Fixes #342820.
12711 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12713 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12714 Fix off-by-one bug that would only allow peeks of N-1 bytes
12715 from the start even if the buffer to typefind on contains
12716 in fact N bytes of data (makes vorbis typefinding from a
12717 vorbis identification header buffer work).
12719 * tests/check/Makefile.am:
12720 * tests/check/libs/.cvsignore:
12721 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12722 (gst_typefindhelper_suite), (main), (foobar_typefind),
12724 Add very basic unit test for gst_type_find_helper_for_buffer()
12725 that checks for the problem fixed above.
12727 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12729 * tools/gst-inspect.c: (print_interfaces),
12730 (print_element_properties_info), (print_element_list), (main):
12731 add more translatable strings
12733 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12735 Patch by: Julien Moutte <julien at moutte net>
12737 * docs/gst/gstreamer-sections.txt:
12738 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12740 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12741 (gst_fake_sink_preroll):
12742 * plugins/elements/gstfakesink.h:
12743 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12745 2006-05-23 Wim Taymans <wim@fluendo.com>
12747 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12749 Added _CUSTOM error and success GstFlowReturn that can be
12750 used be elements internally.
12751 Added macro to check for SUCCESS flowreturns.
12752 API: GST_FLOW_CUSTOM_SUCCESS
12753 API: GST_FLOW_CUSTOM_ERROR
12754 API: GST_FLOW_IS_SUCCESS
12756 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12757 Added check for GstFlowReturn sanity.
12759 2006-05-23 Wim Taymans <wim@fluendo.com>
12761 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12763 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12764 (gst_collect_pads_event):
12765 clear/reset segment info in FLUSH_STOP.
12768 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12770 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12771 (gst_collect_pads_check_collected):
12772 Flush queued buffer on _stop(), fixes playing again (#342454)
12774 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12776 * tests/check/gst/gststructure.c: (GST_START_TEST),
12777 (gst_structure_suite):
12778 add a test for a complete structure
12780 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12782 * docs/faq/developing.xml:
12783 * docs/faq/faq.xml:
12784 * docs/faq/troubleshooting.xml:
12785 * docs/faq/using.xml:
12786 Some minor FAQ updates that won't change the fact that
12787 our FAQ is badly structured, full of information hardly
12788 anyone new to GStreamer needs to know and lacking lots
12789 of information people constantly ask for.
12791 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12793 * gst/gstpad.c: (gst_pad_set_caps):
12794 Short-circuit gst_pad_set_caps if setting the existing
12795 caps pointer again, and avoid printing debug and
12796 reffing/unreffing the caps.
12798 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12799 There's actually no need to set the caps before pushing -
12800 the acceptcaps method will handle it anyway.
12802 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12804 * docs/gst/gstreamer-sections.txt:
12805 * win32/common/libgstreamer.def:
12806 * gst/gstutils.c: (gst_element_seek_simple):
12808 API: add gst_element_seek_simple() (#342238).
12810 2006-05-18 Edward Hervey <edward@fluendo.com>
12812 * gst/gsttypefind.c: (gst_type_find_get_type):
12813 * gst/gsttypefind.h:
12814 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12815 registered for GstTypeFind pointers. This allows wrapping the structure
12816 in bindings (i.e. gst-python).
12818 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12820 * gst/gsttagsetter.c:
12821 Docs additions and fixes (see #339918).
12823 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12825 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12826 The caps intersection algorithm can produce multiple copies of the
12827 caps. Until that is fixed, we need to simplify the result to be
12828 sure whether the allowed caps are fixed or not.
12830 * plugins/elements/gstqueue.c: (gst_queue_init),
12831 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12832 (gst_queue_push_one):
12833 Proxied buffer alloc should not set the caps on the source pad.
12834 When pushing buffers, we always accept the caps change that triggers.
12835 This prevents negotiation errors caused by caps changing mid-stream
12836 and then being refused on our source pad (because upstream is now
12837 refusing those caps).
12839 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12841 * tests/examples/helloworld/helloworld.c: (main):
12842 Must plug audioconvert and audioresample between decoder
12845 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12847 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12848 (load_feature), (load_plugin):
12849 Allow empty strings for some of the plugin fields so we don't
12850 drop valid plugin entries that were written out correctly
12853 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12855 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12856 Use g_remove and g_rename instead of remove and rename that don't
12857 handle utf8 characters. rename was failing for users who had specific
12858 characters in their name then the registry was built at each
12860 * win32/vs6/gst_inspect.dsp:
12861 * win32/vs6/gst_launch.dsp:
12862 * win32/vs6/libgstbase.dsp:
12863 * win32/vs6/libgstcoreelements.dsp:
12864 * win32/vs6/libgstreamer.dsp:
12865 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12866 build of libgstreamer and clean unused libraries in projects link
12869 2006-05-17 Edward Hervey <edward@fluendo.com>
12871 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12872 The queue is not responsible for pushing an EOS when receiving a fatal
12873 flow error. It's up to the real element driving the pipeline to do that.
12875 2006-05-16 Edward Hervey <edward@fluendo.com>
12877 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12878 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12879 buffer returned a fatal error. It should just send an EOS and stop
12881 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12882 when pushing buffers on the queue and will be able to handle the event.
12884 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12886 * docs/manual/basics-bins.xml:
12887 * docs/manual/basics-init.xml:
12888 Fix typos and minor errors in sample code (#341856).
12890 2006-05-16 Wim Taymans <wim@fluendo.com>
12892 * docs/design/part-qos.txt:
12893 Fix indexes in formulas to make more sense.
12895 2006-05-15 Wim Taymans <wim@fluendo.com>
12897 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12898 Don't report POSITION based on clock time if sync is
12899 disabled in a sink.
12901 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12904 Add cast to make compiler happy - refcount variable was a gint
12905 in GstObject but is a guint in GObject and g_atomic_int_get()
12908 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12910 * gst/parse/Makefile.am:
12911 chain commands using &&, which also makes parallel make work
12913 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12915 * docs/gst/gstreamer-sections.txt:
12918 * gst/gstmessage.h:
12921 === release 0.10.6 ===
12923 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12926 releasing 0.10.6, "Take the cannoli"
12928 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12930 * tools/gst-launch.c: (print_tag):
12931 Fix use of uninitialized variable in the hypothetical
12932 case that some broken plugin creates a GST_TAG_IMAGE
12933 tag containing a NULL buffer (#341667).
12935 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12937 * tools/gst-launch.c: (print_tag):
12938 Print something more intelligible for image tags when
12939 using the -t switch (#341556).
12941 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12946 define GST_MAJORMINOR so we have it available in win32/common/config.h
12947 Possibly remove it from our Makefile.am files later
12948 * win32/common/config.h:
12949 * win32/common/config.h.in:
12950 added GST_MAJORMINOR
12951 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12952 * win32/common/gstversion.h:
12955 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12958 Update win32 files listing.
12959 * win32/common/gstversion.h:
12960 Add GST_MAJORMINOR definition.
12961 * win32/common/libgstreamer.def:
12962 Add new exported functions.
12964 2006-05-12 Michael Smith <msmith@fluendo.com>
12966 * gst/gstplugin.c: (gst_plugin_load_file):
12967 If an so file has no plugin entry point, unload the module.
12969 2006-05-11 Wim Taymans <wim@fluendo.com>
12971 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12972 (gst_queue_set_property):
12973 Don't forget to signal the _chain or _loop function
12974 when the queue size or thresholds change since that might
12975 cause them to make progres again.
12977 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12979 * gst/gstclock.c: (gst_clock_class_init):
12980 * gst/gstindex.c: (gst_index_class_init):
12981 * gst/gstobject.c: (gst_object_class_init):
12982 * gst/gstpad.c: (gst_pad_class_init):
12983 * gst/gstpipeline.c: (gst_pipeline_class_init):
12984 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12985 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12986 * libs/gst/base/gstbasetransform.c:
12987 (gst_base_transform_class_init):
12988 * libs/gst/net/gstnetclientclock.c:
12989 (gst_net_client_clock_class_init):
12990 * libs/gst/net/gstnettimeprovider.c:
12991 (gst_net_time_provider_class_init):
12992 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12993 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12994 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12995 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12996 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12997 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12998 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12999 * plugins/elements/gstidentity.c: (gst_identity_class_init):
13000 * plugins/elements/gsttee.c: (gst_tee_class_init):
13001 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13002 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13003 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
13005 2006-05-11 Wim Taymans <wim@fluendo.com>
13007 * gst/gstbuffer.c: (_gst_buffer_initialize):
13008 Register subbufer along with the buffer type so that
13009 it does not accidentally gets registered from N
13010 different streaming threads in a non threadsafe way.
13012 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13016 * gst/gstmessage.h:
13017 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
13018 gst_event_ref() and gst_message_ref() functions again
13019 (ugly hack, please do fix if there's a better way besides
13020 overrides.txt, which doesn't seem to work).
13022 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13024 * libs/gst/check/gstcheck.h:
13025 add an assert for setting state to avoid lots of repetitive code
13028 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13030 * gst/gstvalue.c: (gst_value_serialize_flags):
13031 fix a leak if no flags are set
13032 * tests/check/gst/gstvalue.c: (GST_START_TEST):
13035 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
13037 * docs/manual/basics-pads.xml:
13038 Expand a bit on caps and filtered links and update
13039 examples that were still using the no longer existing
13040 gst_pad_link_filtered() (#338206).
13042 2006-05-10 Wim Taymans <wim@fluendo.com>
13044 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
13045 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
13046 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
13047 (gst_collect_pads_stop):
13048 * libs/gst/base/gstcollectpads.h:
13049 No need to call _stop in _finalize.
13050 Iterate the main pad list in _finalize.
13051 Added some more debug.
13052 Free lists and data in the right order.
13053 Also free data whem doing _remove_pad when stopped for
13054 backward compatibility protect ::started with PAD_LOCK as
13057 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13059 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
13060 (gst_structure_parse_value):
13062 rename a method so that it actually says what it does better
13064 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
13066 * gst/gstevent.c: (_gst_event_initialize):
13067 * gst/gstformat.c: (_gst_format_initialize):
13068 make sure some essential types used by events are registered
13069 as part of gst_init()
13070 * gst/gstvalue.c: (gst_value_serialize_flags):
13071 if no flags are set, serialize them to a value that represents NONE
13072 so that deserializing them works
13073 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13074 add tests for serialization and deserialization of flags
13076 2006-05-10 Wim Taymans <wim@fluendo.com>
13078 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
13079 (gst_collect_pads_collect_range), (gst_collect_pads_available),
13080 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
13081 (gst_collect_pads_event), (gst_collect_pads_chain):
13084 Catch and return errors from the collect function
13085 Refuse data on eos pads.
13087 2006-05-10 Edward Hervey <edward@fluendo.com>
13089 * gst/gstinterface.h:
13090 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13091 GInterface type checking.
13092 They were previously using non-defined macros.
13094 2006-05-09 Wim Taymans <wim@fluendo.com>
13096 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13097 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13098 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13099 (gst_collect_pads_start), (gst_collect_pads_stop),
13100 (gst_collect_pads_peek), (gst_collect_pads_pop),
13101 (gst_collect_pads_available), (gst_collect_pads_read),
13102 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13103 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13104 (gst_collect_pads_chain):
13105 * libs/gst/base/gstcollectpads.h:
13106 Clean up the mess that is collectpads, add comments and
13107 FIXMEs where needed.
13108 Maintain a separate pad list so we can add pads while
13109 collecting the other ones. For this we need a new separate
13111 Fix memory leak in finalize.
13112 Refactor some weird code to set/unset pad flushing flags, mark
13114 Don't crash in _available, _read, _flush when we're EOS.
13116 * tests/check/libs/.cvsignore:
13117 Ignore adapter check binary.
13119 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13121 * gst/gstindex.c: (gst_index_resolver_get_type):
13122 * plugins/elements/gstfakesink.c:
13123 (gst_fake_sink_state_error_get_type):
13124 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13125 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13126 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13127 Const-ify GEnumValue arrays.
13129 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13131 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13132 Add test case for flags + gst_buffer_make_metadata_writable().
13134 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13136 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13137 gst_buffer_make_metadata_writable() should maintain the
13138 buffer flags (those that make sense at least) (see #340859).
13140 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13142 * tools/gst-inspect.c:
13143 * tools/gst-launch.c:
13144 * tools/gst-typefind.c:
13145 * tools/gst-xmlinspect.c:
13147 Fix up includes: need to include stdlib.h in tools.h for exit().
13149 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13151 * gst/gsttaglist.c: (_gst_tag_initialize):
13152 * gst/gsttaglist.h:
13153 API: add GST_TAG_IMAGE tag (#340721).
13155 2006-05-08 Wim Taymans <wim@fluendo.com>
13158 Added some docs for the segment query.
13160 2006-05-08 Wim Taymans <wim@fluendo.com>
13162 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13163 (gst_base_src_loop), (gst_base_src_change_state):
13164 Always push non-flushing serialized events in the streaming
13167 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13169 * gst/gsterror.c: (_gst_stream_errors_init):
13170 Add a missing error string.
13172 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13174 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13175 Add applied_rate to the debug
13177 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13178 Copy applied_rate into the outgoing NEWSEGMENT event
13180 2006-05-08 Wim Taymans <wim@fluendo.com>
13182 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13184 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13185 (gst_base_sink_change_state):
13186 call ::unlock before taking the PREROLL_LOCK so we can safely
13187 handle elements that lock in ::render.
13190 2006-05-08 Edward Hervey <edward@fluendo.com>
13192 * autogen.sh: (CONFIGURE_DEF_OPT):
13193 Darwin's libtoolize is in fact called glibtoolize.
13194 Adding glibtoolize to the list of accepted names for libtoolize.
13196 2006-05-08 Wim Taymans <wim@fluendo.com>
13198 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13199 Unify error handling, don't post an error message
13200 when a push() returns EOS but perform our normal EOS
13201 handling code. Fixes #340772.
13203 2006-05-08 Wim Taymans <wim@fluendo.com>
13205 * docs/design/part-overview.txt:
13206 Make upsteam/downstream concepts more clear.
13207 Give an example of serialized/non-serialized events.
13209 * docs/design/part-events.txt:
13210 * docs/design/part-streams.txt:
13211 Mention applied_rate.
13213 * docs/design/part-trickmodes.txt:
13214 Mention applied rate, flesh out some more use cases.
13216 * gst/gstevent.c: (gst_event_new_new_segment),
13217 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13218 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13219 (gst_event_parse_tag), (gst_event_new_buffer_size),
13220 (gst_event_parse_buffer_size), (gst_event_new_qos),
13221 (gst_event_parse_qos), (gst_event_parse_seek),
13222 (gst_event_new_navigation):
13224 Add applied_rate field to NEWSEGMENT event.
13225 API: gst_event_new_new_segment_full()
13226 API: gst_event_parse_new_segment_full()
13228 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13229 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13230 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13231 * gst/gstsegment.h:
13232 Add applied_rate to GstSegment structure.
13233 Make calculation of stream_time and running_time more correct
13234 wrt rate/applied_rate.
13235 Add some more docs.
13236 API: GstSegment::applied_rate field
13237 API: gst_segment_set_newsegment_full();
13239 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13240 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13241 * libs/gst/base/gstbasetransform.c:
13242 (gst_base_transform_sink_eventfunc),
13243 (gst_base_transform_handle_buffer):
13244 Parse and use applied_rate in the GstSegment field.
13246 * tests/check/gst/gstevent.c: (GST_START_TEST):
13247 Add check for applied_rate field.
13249 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13250 (gstsegments_suite):
13251 Add more checks for various GstSegment operations.
13253 2006-05-08 Wim Taymans <wim@fluendo.com>
13255 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13256 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13257 (gst_base_sink_get_position), (gst_base_sink_change_state):
13258 Store the sync time of the buffer end position separatly in a
13259 new variable eos_rtime so we can properly sync the EOS event.
13261 Fix the docs for gst_base_sink_set_qos_enabled().
13262 Don't set segment start to invalid value when we receive a
13263 non TIME newsegment.
13264 get closer to handling position reporting for negative rates
13267 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13270 Docs about how to print caps for debug purposes.
13272 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13273 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13275 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13277 * gst/gstelement.c:
13278 use full enum names and preprend a '%' in docs strings to make recent
13279 gtk-doc turn that into a link
13281 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13283 * docs/manual/basics-bins.xml:
13284 * docs/manual/basics-bus.xml:
13285 * docs/manual/basics-pads.xml:
13286 Some typo fixes, some additions, some clarifications.
13288 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13290 * tools/gst-inspect.c: (main):
13291 * tools/gst-launch.c: (main):
13292 * tools/gst-run.c: (main):
13293 * tools/gst-typefind.c: (main):
13294 * tools/gst-xmlinspect.c: (main):
13295 Use the string passed to g_option_context_new() for
13296 what it's intended for - the program name is already
13299 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13301 * tools/Makefile.am:
13302 * tools/gst-inspect.c: (main):
13303 * tools/gst-launch.c: (main):
13304 * tools/gst-xmlinspect.c: (main):
13306 Add back --version command line option (#340460).
13308 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13309 Add --version option and use GOption for argument parsing; refactor a
13310 bit; accept directories as arguments and recurse into them; lastly,
13311 print a decent error message when things go wrong.
13313 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13315 * docs/manual/basics-bins.xml:
13316 Don't mention GstThread (#340611)
13317 * docs/manual/basics-elements.xml:
13318 Update link to GObject tutorial (#340607)
13320 2006-05-05 Wim Taymans <wim@fluendo.com>
13323 * gst/gstminiobject.c:
13324 Add note about refcounting and miniobject/buffer writeability
13325 to docs. Fixes #340604
13327 * gst/gstelementfactory.h:
13328 Added some explanation about @klass.
13330 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13332 * docs/manual/intro-motivation.xml:
13333 * docs/manual/manual.xml:
13334 Avoid CORBA & Bonobo references (#340598)
13336 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13338 * docs/manual/basics-bus.xml:
13339 * docs/manual/basics-pads.xml:
13340 Fix up some inaccuracies and omissions (#340609)
13342 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13344 * gst/gstghostpad.c:
13345 Small typo in docs (#340625)
13347 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13349 * gst/parse/Makefile.am:
13350 Make 'make -j' proof (see #340698).
13352 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13355 Require GLib-2.8 here as well.
13357 2006-05-05 Wim Taymans <wim@fluendo.com>
13359 * gst/glib-compat.c:
13360 * gst/gst.c: (init_pre):
13361 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13362 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13363 (gst_object_dispatch_properties_changed):
13365 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13366 * gst/gststructure.c: (gst_structure_set_valist):
13367 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13368 Remove pre glib2.8 compatibility, fixes #340508
13370 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13372 * gst/gsttaglist.h:
13373 Mention type of tags in doc blurbs.
13375 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13377 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13378 (gst_pad_configure_src), (gst_pad_push):
13379 Restore acceptcaps checking behaviour now that good plugins have
13382 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13384 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13391 * gst/gstmessage.c:
13395 * gst/parse/Makefile.am:
13396 * libs/gst/base/gstadapter.c:
13397 * libs/gst/base/gstbasesrc.c:
13398 * libs/gst/base/gstpushsrc.c:
13399 * libs/gst/base/gsttypefindhelper.c:
13400 * plugins/elements/gstfakesrc.c:
13401 * plugins/elements/gstidentity.c:
13402 Make sure gstprivate.h and/or config.h are
13403 always included first, otherwise some of our
13404 defines (like _FILE_OFFSET_BITS) might be
13405 redefined in the system headers. Fixes build
13406 on opensolaris (#340016).
13408 2006-05-04 Wim Taymans <wim@fluendo.com>
13410 * docs/libs/gstreamer-libs-sections.txt:
13411 API: addition: gst_adapter_take_buffer()
13413 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13414 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13415 (gst_adapter_available_fast):
13416 * libs/gst/base/gstadapter.h:
13417 Prepare for optimizing the hell out of this hugely inefficient
13419 Added gst_adapter_take_buffer() so we can at least start thinking
13420 about subbuffering and merging.
13421 Added some comments.
13423 * tests/check/Makefile.am:
13424 * tests/check/libs/adapter.c: (GST_START_TEST),
13425 (gst_adapter_suite), (main):
13426 Added GstAdapter check.
13428 2006-05-04 Wim Taymans <wim@fluendo.com>
13430 * docs/design/part-overview.txt:
13431 Fix some typos, add blurb about buffer flags.
13433 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13435 * docs/libs/gstreamer-libs-sections.txt:
13436 make sure GstBaseTransformClass shows up in the docs
13437 * libs/gst/base/gstbasetransform.c:
13438 * libs/gst/base/gstbasetransform.h:
13439 move docs so gtk-doc picks it up now
13441 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13443 * docs/libs/gstreamer-libs-sections.txt:
13444 add missing symbols to docs
13446 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13448 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13449 back out the newsegment handling change, see #340060 for ongoing
13452 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13454 * tools/gst-run.c: (get_candidates), (main):
13455 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13456 work); fix typo in error message. Fixes #340079.
13458 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13460 * common/Makefile.am:
13461 * docs/Makefile.am:
13462 * docs/faq/Makefile.am:
13463 * docs/gst/Makefile.am:
13464 * docs/libs/Makefile.am:
13465 * docs/manual/Makefile.am:
13466 * docs/plugins/Makefile.am:
13467 * docs/pwg/Makefile.am:
13468 * docs/slides/Makefile.am:
13470 * common/upload.mak:
13471 move upload.mak to common
13473 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13475 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13476 add more asserts on refcounts
13477 do more cleanup at end of tests
13478 fix test leaks showing in FC5
13480 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13482 * plugins/elements/gsttypefindelement.c:
13483 (gst_type_find_element_handle_event):
13484 reverted wrong change and reflowed code to avoid others falling into
13487 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13489 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13490 fix changelog entry about last collectpads change,
13491 add notes about proper fix
13493 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13496 * gst/gstregistry.c: (gst_registry_scan_path_level),
13497 (gst_registry_scan_path):
13498 * gst/gstregistry.h:
13499 only write out registry if it has changed, fixes #338339
13501 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13504 * gst/gstpipeline.c:
13505 * plugins/elements/gstcapsfilter.c:
13506 * plugins/elements/gstfakesink.c:
13507 * plugins/elements/gstfakesrc.c:
13508 * plugins/elements/gstfdsink.c:
13509 * plugins/elements/gstfdsrc.c:
13510 * plugins/elements/gstfilesink.c:
13511 * plugins/elements/gstfilesrc.c:
13512 * plugins/elements/gstidentity.c:
13513 * plugins/elements/gstqueue.c:
13514 * plugins/elements/gsttee.c:
13515 * plugins/elements/gsttypefindelement.c:
13516 (gst_type_find_element_handle_event):
13517 make GstElementDetails const
13519 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13521 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13522 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13523 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13524 more detailed debug and formatting cleanup,
13525 forward newsegments to src-pad (so that e.g. adder not eats them)
13527 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13529 * gst/gstutils.c: (gst_element_link_pads):
13530 cleanup double code
13532 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13534 * libs/gst/controller/gstcontroller.c:
13535 (gst_controller_sync_values):
13537 * tests/check/libs/controller.c: (GST_START_TEST),
13538 (gst_controller_suite):
13539 a new test for live value handling
13541 2006-04-28 Wim Taymans <wim@fluendo.com>
13543 * gst/gstutils.c: (push_and_ref):
13544 Added some more docs.
13545 Fix refcount issue whith gst_element_found_tags() helper
13546 function. Fixes #338335
13548 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13549 Added testsuite for gst_element_found_tags().
13551 2006-04-28 Michael Smith <msmith@fluendo.com>
13553 * gst/gstvalue.c: (gst_value_serialize_flags):
13554 Avoid NULL dereference when trying to serialize flags containing
13557 2006-04-28 Michael Smith <msmith@fluendo.com>
13559 * plugins/elements/gsttypefindelement.c:
13560 (gst_type_find_element_handle_event):
13561 If we get EOS before any data is accumulated, don't use
13562 uninitialised local variables.
13564 2006-04-28 Michael Smith <msmith@fluendo.com>
13566 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13567 (gst_dp_event_from_packet):
13568 Fixes in reading/writing events over GDP (not currently used?) -
13569 dereferencing NULL events for unknown/invalid event types, memory
13570 leak, and change g_warning to GST_WARNING.
13572 2006-04-28 Wim Taymans <wim@fluendo.com>
13574 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13575 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13576 (gst_base_sink_get_position), (gst_base_sink_change_state):
13577 When frame dropping is enabled, we should not ignore frames
13578 without a duration.
13579 Update some documentation.
13581 2006-04-28 Wim Taymans <wim@fluendo.com>
13583 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13584 (gst_base_src_send_event), (gst_base_src_change_state):
13585 Documentation updates.
13587 2006-04-28 Wim Taymans <wim@fluendo.com>
13589 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13590 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13591 handle EAGAIN, EINTR and short writes correctly. Also clean
13592 up some error cases, avoid a deadlock on bad file descriptors and
13593 use GST_DEBUG_OBJECT.
13596 2006-04-28 Wim Taymans <wim@fluendo.com>
13598 * gst/gstvalue.c: (gst_value_serialize_buffer),
13599 (gst_value_deserialize_buffer):
13600 Don't try to serialize a GValue with a NULL buffer.
13603 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13604 Added check for serialisation of NULL buffers.
13606 2006-04-28 Wim Taymans <wim@fluendo.com>
13608 * gst/gstminiobject.c: (gst_value_take_mini_object):
13609 Taking a NULL miniobject is valid, fix the case where
13610 we try to unref the NULL miniobject.
13612 2006-04-28 Wim Taymans <wim@fluendo.com>
13614 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13616 * gst/gstbin.c: (gst_bin_handle_message_func):
13618 Don't leak bin refcount when a state recalc is
13619 in progress and we delay another one #339808.
13621 2006-04-28 Wim Taymans <wim@fluendo.com>
13623 * docs/design/part-TODO.txt:
13624 Mention QoS as an ongoing work item.
13626 * docs/design/part-buffering.txt:
13627 New doc about buffering that needs to be fleshed out
13630 * docs/design/part-qos.txt:
13631 More QoS policy for decoders/demuxers/transforms
13633 * docs/design/part-trickmodes.txt:
13636 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13641 === release 0.10.5 ===
13643 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13646 releasing 0.10.5, "Fogo"
13648 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13650 patch by: Wim Taymans
13652 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13653 (gst_pad_configure_src), (gst_pad_push):
13654 * gst/gstpipeline.c: (gst_pipeline_init):
13655 Fix internal data flow errors. Fixes #338711.
13657 2006-04-12 Wim Taymans <wim@fluendo.com>
13659 * tests/check/gst/gstelement.c: (GST_START_TEST):
13660 Don't leak the factory.
13662 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13665 * win32/common/config.h:
13668 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13670 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13671 (gst_controller_unset_all):
13672 Free allocated GstTimedValues when freeing list nodes.
13673 Should fix leaks 'make check-valgrind' complains about.
13675 * win32/common/libgstcontroller.def:
13676 Add gst_controller_unset_all.
13678 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13680 * docs/libs/gstreamer-libs-sections.txt:
13681 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13682 (gst_controller_unset_all):
13683 * libs/gst/controller/gstcontroller.h:
13684 API: Added new method gst_controller_unset_all()
13685 fixed gst_controller_unset()
13686 * tests/check/libs/controller.c: (GST_START_TEST),
13687 (gst_controller_suite):
13688 Added two testcases for new and fixed method
13690 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13692 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13693 MSG_DONTWAIT is not defined on Cygwin, so work
13694 around that (fixes #317048).
13696 2006-04-11 Wim Taymans <wim@fluendo.com>
13698 * gst/gstelementfactory.c: (gst_element_register),
13699 (gst_element_factory_create), (gst_element_factory_make):
13702 Updated docs (Fixes #131079)
13704 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13707 * tests/check/gst/gstelement.c: (GST_START_TEST),
13708 (gst_element_suite):
13709 Added testcase for elementfactory class field.
13711 2006-04-10 Wim Taymans <wim@fluendo.com>
13713 * gst/gstsegment.c:
13714 Added some more docs.
13716 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13717 (gst_base_sink_reset_qos):
13718 Calculate more accurate rate values.
13720 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13722 * gst/gst_private.h:
13723 add a new #ifdef to use __declspec(dllimport) only for
13724 other modules and not for gstreamer core
13725 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13726 use gst_guint64_to_gdouble for conversion
13727 * win32/common/libgstreamer.def:
13728 add new exported functions
13729 * win32/vs6/gst_inspect.dsp:
13730 * win32/vs6/gst_launch.dsp:
13731 * win32/vs6/libgstbase.dsp:
13732 * win32/vs6/libgstcontroller.dsp:
13733 * win32/vs6/libgstcoreelements.dsp:
13734 * win32/vs6/libgstdataprotocol.dsp:
13735 * win32/vs6/libgstnet.dsp:
13736 update project files
13738 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13740 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13741 * gst/gstclock.c: (gst_clock_class_init):
13742 * gst/gstelement.c: (gst_element_class_init):
13743 * gst/gstindex.c: (gst_index_class_init):
13744 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13745 * gst/gstobject.c: (gst_object_class_init),
13746 (gst_signal_object_class_init):
13747 * gst/gstpad.c: (gst_pad_class_init):
13748 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13749 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13750 * gst/gstregistry.c: (gst_registry_class_init):
13751 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13752 * gst/gsttask.c: (gst_task_class_init):
13753 * gst/gstxml.c: (gst_xml_class_init):
13754 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13755 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13756 (gst_base_src_loop):
13757 * libs/gst/controller/gstcontroller.c:/
13758 (_gst_controller_class_init):
13759 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13760 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13761 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13762 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13763 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13764 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13766 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13768 * gst/gstpad.c: (gst_pad_link):
13769 Must set peer pads before calling the link function, otherwise
13770 a task started from a link function might get a flow-not-linked
13771 result when trying to push because the other thread where the
13772 linking happens hasn't had a chance to set the peers yet. This
13773 might happen for example when a queue gets linked to a downstream
13774 element, as queue starts a streaming task when its source pad
13775 gets linked. Happens in real life when playing back flac/musepack
13776 files in playbin (#332390).
13778 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13782 * libs/gst/base/gstadapter.h:
13783 * libs/gst/base/gstbasesink.h:
13784 * libs/gst/base/gstbasesrc.h:
13785 * libs/gst/base/gstbasetransform.h:
13786 * libs/gst/base/gstcollectpads.h:
13787 * libs/gst/base/gstpushsrc.h:
13788 Fix broken GObject macros
13790 2006-04-07 Wim Taymans <wim@fluendo.com>
13792 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13793 Initialize start and stop times, thanks valgrind.
13795 2006-04-07 Wim Taymans <wim@fluendo.com>
13797 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13798 Be a bit nicer to badly behaving upstream elements that expect
13799 us to deal with non TIME segments and timestamps (such as fakesrc
13802 2006-04-07 Wim Taymans <wim@fluendo.com>
13805 Small documentation clarification about the signal watch.
13807 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13808 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13809 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13810 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13811 (gst_base_sink_get_position_last),
13812 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13813 Convert and store timestamps in stream time and running time, the
13814 raw timestamps are not useful, also document this better.
13815 Use different window sizes for good and bad QoS observations so
13816 we react to badness a little quicker.
13817 Keep track of the amount of rendered and dropped buffers.
13818 Send QoS timestamps in running time.
13820 * libs/gst/base/gstbasetransform.c:
13821 (gst_base_transform_sink_eventfunc),
13822 (gst_base_transform_handle_buffer):
13823 Compare QoS timestamps against running time.
13825 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13828 Typo fixes in docs.
13830 2006-04-06 Michael Smith <msmith@fluendo.com>
13832 * gst/gstpad.c: (gst_pad_set_property):
13833 Use g_value_get_object() instead of g_value_dup_gst_object(),
13834 to avoid double-reffing the pad template (which we then sink,
13835 so this worked previously if (and only if) the pad template
13838 * gst/gstpadtemplate.c: (gst_pad_template_init),
13839 (gst_pad_template_pad_created):
13840 Never return floating references to pad templates, create
13841 them as initially-sunken.
13843 Document an extra function (and make this stop sinking our
13844 pad template, since that is now guaranteed to do nothing,
13845 since we created it sunken).
13847 * gst/gstghostpad.c:
13850 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13852 * gst/gstinfo.c: (__gst_in_valgrind):
13855 * plugins/elements/gsttypefindelement.c:
13856 (gst_type_find_element_chain):
13857 Don't leak buffer caps.
13859 2006-04-06 Michael Smith <msmith@fluendo.com>
13861 * gst/parse/grammar.y:
13862 Fix a leak in parse-launch for any source-or-sink named element
13865 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13866 Unref the pipeline if it exists after we've failed parsing.
13868 2006-04-05 Michael Smith <msmith@fluendo.com>
13870 * gst/gstpipeline.c: (gst_pipeline_init):
13871 When we create a pipeline bus, initially create it in flushing mode.
13872 Fixes leaks in at least one test, and makes a new pipeline work the
13873 same as one that has gone to READY and then back to NULL.
13875 * gst/gstelement.c:
13878 2006-04-05 Michael Smith <msmith@fluendo.com>
13880 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13881 Unref a pad we reffed.
13882 * tests/check/gst/gstutils.c: (GST_START_TEST):
13885 2006-04-05 Michael Smith <msmith@fluendo.com>
13887 * gst/gstquery.c: (gst_query_set_formats),
13888 (gst_query_set_formatsv):
13889 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13891 2006-04-05 Michael Smith <msmith@fluendo.com>
13893 * tests/check/generic/sinks.c: (GST_START_TEST):
13894 Fix a variety of memleaks in sinks check, which are only sometimes
13895 shown by running the tests under valgrind (weird?).
13897 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13899 * docs/version.entities.in:
13900 Fix the substituted entity name after thomas' changes on the
13903 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13905 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13908 2006-04-05 Andy Wingo <wingo@pobox.com>
13910 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13912 * libs/gst/base/gstbasetransform.c
13913 (gst_base_transform_sink_eventfunc): When resetting our segment on
13914 FLUSH_STOP, also update the flag saying we haven't seen a
13917 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13919 Patch by: Paolo Borelli <pborelli at katamail dot com>
13921 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13922 (gst_plugin_check_license):
13923 minor clean-ups: G_DEFINE_TYPE already takes care of the
13924 parent_class stuff, no need to do it twice. Mark array of
13925 license strings as constant. (#337103)
13927 2006-04-04 Michael Smith <msmith@fluendo.com>
13929 * tools/gst-inspect.c: (print_element_list):
13930 Free the right plugin list; fixes a memory leak.
13932 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13934 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13936 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13937 Don't error out on empty buffers (#336945).
13939 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13941 * docs/libs/gstreamer-libs-sections.txt:
13942 * gst/gsttaglist.c:
13943 * libs/gst/base/gstbasesink.c:
13944 * libs/gst/base/gstbasesink.h:
13945 * libs/gst/base/gstbasesrc.c:
13946 * libs/gst/base/gstbasesrc.h:
13947 Documentation updates. Make BaseSink and BaseSrc docs contain the
13948 class structure so that people can actually see the prototypes for
13949 virtual functions they're supposed to be overriding.
13951 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13953 * plugins/elements/gsttypefindelement.c:
13954 (gst_type_find_element_chain):
13955 More debug info; when skipping typefinding, send cached
13956 events in all cases.
13958 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13961 use new AS_VERSION and AS_NANO macros
13962 * gst/gst-i18n-lib.h:
13965 * gst/gstversion.h.in:
13966 * win32/common/config.h:
13967 * win32/common/config.h.in:
13970 2006-03-31 Michael Smith <msmith@fluendo.com>
13972 * plugins/elements/gsttypefindelement.c:
13973 (gst_type_find_element_chain):
13974 Do not typefind content if the buffers already have caps.
13975 Neccesary for icydemux (#333657), and the right thing to do anyway.
13977 2006-03-30 Wim Taymans <wim@fluendo.com>
13979 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13980 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13981 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13982 (gst_base_sink_record_qos_observation),
13983 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13984 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13985 (gst_base_sink_change_state):
13986 More QoS measurements as described in the design doc.
13987 Get rid of ringbuffer with observations, running average is
13988 more simple and equally good.
13989 Calculates valid proportion now.
13990 Added beginning of flood measurement.
13992 2006-03-29 Wim Taymans <wim@fluendo.com>
13994 * docs/design/part-qos.txt:
13996 Small documentation updates and additions.
13998 2006-03-29 Wim Taymans <wim@fluendo.com>
14000 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14001 (gst_base_src_send_event), (gst_base_src_loop),
14002 (gst_base_src_change_state):
14003 Perform the EOS logic when we reach the segment stop position.
14004 Fix compilation on gcc4.1
14006 2006-03-29 Wim Taymans <wim@fluendo.com>
14008 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
14010 * plugins/elements/gstqueue.c: (gst_queue_init),
14011 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
14012 (gst_queue_set_property):
14013 * plugins/elements/gstqueue.h:
14014 In queue, when EOS is received, if minimum threshold > max_size -
14015 current_level, there is chance that queue blocks forever in conditional
14016 item del wait. This is because the queue is not emptied completely due
14017 to minimum threshold. Here is another approach. Instead of setting
14018 cur_levels to max in EOS, just zero all minimum threshold levels. This
14019 should make sure that queue gives out all data. When going to READY
14020 (stop) state, just reset the original minimum threshold levels.
14023 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
14025 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
14026 (gst_type_find_element_handle_event),
14027 (gst_type_find_element_send_cached_events),
14028 (gst_type_find_element_change_state):
14029 * plugins/elements/gsttypefindelement.h:
14030 When typefinding is done in push mode, we should cache
14031 events we receive during typefinding instead of just
14032 dropping them (e.g. newsegment, custom events from
14033 dvdreadsrc etc.) and then send them out once we've
14034 determined the type of the stream (and decodebin
14035 has had a chance to plug in a decoder/demuxer).
14037 2006-03-27 Wim Taymans <wim@fluendo.com>
14039 * docs/design/part-qos.txt:
14042 2006-03-27 Wim Taymans <wim@fluendo.com>
14044 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
14046 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
14047 (gst_base_src_send_event), (gst_base_src_change_state):
14048 Handle element seek correctly when we are streaming.
14051 2006-03-24 Michael Smith <msmith@fluendo.com>
14053 * docs/faq/gst-uninstalled:
14054 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
14055 allow you to correctly run intalled applications built against old
14056 core, using plugins that require updated core (e.g. running
14057 installed totem against a full uninstalled gstreamer stack)
14059 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14061 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
14064 2006-03-24 Wim Taymans <wim@fluendo.com>
14066 * docs/gst/gstreamer-sections.txt:
14067 Rearrange the order of the methods so that related methods
14068 are grouped together in sections.
14070 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14072 * gst/gstelement.c:
14073 Little clarification in the docs
14075 2006-03-24 Stefan Kost <ensonic@users.sf.net>
14079 * plugins/elements/gstidentity.c:
14080 * plugins/elements/gstqueue.c:
14081 * plugins/elements/gsttee.c:
14082 * plugins/elements/gsttypefindelement.c:
14083 GST_ELEMENT_DETAILS formatting
14085 2006-03-24 Wim Taymans <wim@fluendo.com>
14087 * libs/gst/base/gstbasesink.h:
14088 Only add fields, not insert or we break ABI.
14090 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14092 * win32/common/libgstbase.def:
14093 * win32/common/libgstreamer.def:
14094 Update, add recently added functions.
14096 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14098 * docs/gst/gstreamer-sections.txt:
14099 * gst/gstutils.c: (gst_pad_query_peer_position),
14100 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14102 API: add some new utility functions:
14103 - gst_pad_query_peer_position()
14104 - gst_pad_query_peer_duration()
14105 - gst_pad_query_peer_convert()
14107 2006-03-23 Wim Taymans <wim@fluendo.com>
14109 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14110 (gst_base_sink_init), (gst_base_sink_finalize),
14111 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14112 (gst_base_sink_set_property), (gst_base_sink_get_property),
14113 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14114 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14115 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14116 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14117 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14118 (gst_base_sink_preroll_object), (gst_base_sink_event),
14119 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14120 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14121 (gst_base_sink_query), (gst_base_sink_change_state):
14122 Decouple max-lateness and the fact that QoS messages are generated
14123 with a new property (qos).
14124 added API: GstBaseSink::async_play()
14125 Add vmethod so subclasses can be notified of ASYNC playing
14127 Collect timestamp start and stop to report better current
14128 position in EOS/PLAYING/PAUSED/READY/NULL.
14129 Refactor QoS/frame dropping and other measurements.
14130 API: GstBaseSrc::qos
14133 * libs/gst/base/gstbasesink.h:
14134 Added Private struct.
14135 API: gst_base_sink_set_qos_enabled()
14136 API: gst_base_sink_is_qos_enabled()
14138 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14140 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14141 If compiling against GLib-2.8 or newer, try to read the
14142 registry file using GMappedFile first before falling back
14143 to fopen() + fread() (#332151).
14145 2006-03-22 Wim Taymans <wim@fluendo.com>
14147 * gst/gstinfo.c: (gst_debug_set_active),
14148 (gst_debug_category_set_threshold):
14149 Disable debugging unless explicitly activated.
14152 2006-03-22 Wim Taymans <wim@fluendo.com>
14154 * gst/gstelement.c: (gst_element_set_locked_state),
14155 (gst_element_dispose):
14156 Cleanup the error case.
14158 * gst/gstobject.c: (gst_object_dispose):
14159 print a critical when some object was disposed with
14160 a parent, also revive the object since it might
14163 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14165 * tools/gst-launch.1.in:
14168 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14171 * tests/check/Makefile.am:
14172 disable some tests when we don't have a registry
14173 * tests/check/gst/gstutils.c: (gst_utils_suite):
14174 don't build the part that needs parsing
14176 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14179 * tests/examples/Makefile.am:
14180 fix --disable-parse build
14182 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14184 * tools/gst-feedback.1.in:
14185 Fix typo: s/feeback/feedback/ (#133494).
14187 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14189 * tools/Makefile.am:
14190 * tools/gst-launch.1.in:
14191 Add FILES section and correct entry about GST_REGISTRY_PATH
14192 environment variable (#133495; #133494).
14194 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14196 * tools/Makefile.am:
14197 * tools/gst-md5sum.1.in:
14198 * tools/gst-md5sum.c:
14199 Remove gst-md5sum and man page (the md5sink element
14200 required was removed ages ago)
14202 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14204 * gst/gststructure.c: (gst_structure_id_set_value):
14205 Make sure that string fields in structures/taglists
14206 contain valid UTF-8 - we don't want to pass rubbish to
14207 applications because of a buggy plugin (cp. #334167).
14209 2006-03-21 Edward Hervey <edward@fluendo.com>
14211 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14212 (gst_bin_handle_message_func):
14213 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14214 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14215 (gst_element_set_bus_func):
14216 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14217 * gst/gstminiobject.c: (gst_value_set_mini_object),
14218 (gst_value_take_mini_object):
14219 * gst/gstpad.c: (gst_pad_set_pad_template):
14220 * gst/gstpipeline.c: (gst_pipeline_dispose),
14221 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14222 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14223 (gst_collect_pads_chain):
14224 * libs/gst/net/gstnettimeprovider.c:
14225 (gst_net_time_provider_set_property):
14226 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14227 It's in fact all issues with gst_*object_replace().
14229 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14231 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14233 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14234 * pkgconfig/gstreamer-check.pc.in:
14235 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14237 2006-03-21 Edward Hervey <edward@fluendo.com>
14241 * gst/gstmessage.h:
14242 gst_[buffer|event|message]_ref() macros are replaced by a static
14243 inline functions because gcc-4.1 will about if the return value
14245 * tests/check/gst/gstevent.c: (event_probe):
14246 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14248 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14251 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14252 the type' case. (Closes: #335195 for now). In the future, when we
14253 depend on GLib 2.10, we could also intern the type name using
14254 g_intern_static_string()
14256 2006-03-20 Wim Taymans <wim@fluendo.com>
14258 * gst/gstbin.c: (gst_bin_handle_message_func),
14259 (bin_query_max_init), (bin_query_position_fold),
14260 (bin_query_position_done), (gst_bin_query):
14261 Position query should also take max of all streams.
14263 2006-03-20 Wim Taymans <wim@fluendo.com>
14265 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14266 (gst_fake_src_finalize):
14267 Fix leaks in fakesrc.
14269 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14270 Fix leaks in the testcase.
14272 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14274 * gst/gst_private.h:
14275 add win32 specific import decoration(__declspec(dllimport))
14276 for all extern GstDebugCategory * variables
14277 * win32/common/libgstbase.def:
14278 * win32/common/libgstcontroller.def:
14279 * win32/common/libgstreamer.def:
14280 Add some exports, remove empty lines
14281 * win32/common/libgstdataprotocol.def:
14282 * win32/common/libgstdataprotocol.dsp:
14283 * win32/common/libgstnet.def:
14284 * win32/common/libgstnet.dsp:
14285 new project files and exportation files added
14287 2006-03-19 Wim Taymans <wim@fluendo.com>
14289 * tests/check/libs/basesrc.c: (eos_event_counter):
14290 Use proper return value for probe.
14292 2006-03-17 Wim Taymans <wim@fluendo.com>
14294 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14296 Don't leak buffers, caps and pads on negotiation errors.
14298 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14300 * docs/faq/cvs.xml:
14301 * docs/faq/dependencies.xml:
14302 * docs/faq/developing.xml:
14303 * docs/faq/faq.xml:
14304 * docs/faq/general.xml:
14305 * docs/faq/getting.xml:
14306 * docs/faq/legal.xml:
14307 * docs/faq/troubleshooting.xml:
14308 * docs/faq/using.xml:
14309 Faq review and update.
14311 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14313 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14315 Don't pound the cpu to pieces by checking get_caps when accept_caps
14316 is called with the same caps as the pad already has.
14317 Use GST_DEBUG_OBJECT when outputting caps change information.
14319 2006-03-15 Wim Taymans <wim@fluendo.com>
14321 * gst/gstclock.c: (gst_clock_class_init):
14324 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14329 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14330 (gst_pad_accept_caps), (gst_pad_configure_sink),
14331 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14332 Make the default acceptcaps behaviour be to check the requested
14333 caps against the gst_pad_get_caps output.
14335 Ensure that gst_pad_accept_caps is used to check caps when a pad
14336 doesn't have a setcaps function, so that pads automatically refuse
14337 caps that they don't allow in their pad template. (Fixes #332986)
14339 When a buffer with attached caps is pushed, ensure that the source
14340 pad receives those caps even if the element didn't call
14341 gst_pad_set_caps first.
14343 2006-03-15 Wim Taymans <wim@fluendo.com>
14345 * libs/gst/base/gstadapter.c:
14348 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14350 * win32/common/libgstbase.def:
14351 * win32/common/libgstcontroller.def:
14352 * win32/common/libgstreamer.def:
14353 Add a whole bunch of missing functions (#334434).
14355 2006-03-14 Wim Taymans <wim@fluendo.com>
14357 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14358 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14359 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14360 Better debug info when we receive a segment event.
14361 Reorganize a bit so we can pass the get_times() results around.
14362 Use the segment format when calculating the running time.
14363 Don't do QoS is sync is disabled or we have no clock or the
14364 element does not want us to sync to the clock.
14365 Don't drop buffers if QoS is disabled for now.
14367 2006-03-14 Wim Taymans <wim@fluendo.com>
14369 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14370 Marked the stats property as unimplemented so people don't get
14372 Add debug message when regression goes wrong.
14373 Added some more docs.
14375 2006-03-14 Wim Taymans <wim@fluendo.com>
14377 * gst/gstsegment.c: (gst_segment_to_stream_time):
14378 Return correct return type in case of errors.
14380 2006-03-14 Wim Taymans <wim@fluendo.com>
14382 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14383 Don't segfault on invalid formats.
14385 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14387 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14388 Can't use gst_segment_to_running_time() when the segment
14389 is not in GST_TIME_FORMAT (like with filesink, for example).
14390 Stops flac encoding pipelines from spewing critical warnings
14393 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14395 * gst/gstpipeline.c: (gst_pipeline_class_init):
14396 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14398 * plugins/elements/gsttypefindelement.c:
14399 (gst_type_find_element_handle_event):
14400 Don't try to typefind empty streams.
14402 2006-03-14 Wim Taymans <wim@fluendo.com>
14404 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14405 (gst_base_sink_do_qos):
14406 Separate QoS calculation.
14407 Only drop buffers when lateness is bigger than the
14408 duration of the buffer.
14410 2006-03-13 Wim Taymans <wim@fluendo.com>
14412 * gst/gstpipeline.c: (gst_pipeline_set_property),
14413 (gst_pipeline_get_property), (do_pipeline_seek),
14414 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14415 (gst_pipeline_get_delay):
14416 Don't deadlock when reading properties.
14418 2006-03-13 Wim Taymans <wim@fluendo.com>
14420 * libs/gst/base/gstbasetransform.c:
14421 (gst_base_transform_class_init), (gst_base_transform_init),
14422 (gst_base_transform_sink_event),
14423 (gst_base_transform_sink_eventfunc),
14424 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14425 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14426 (gst_base_transform_set_property),
14427 (gst_base_transform_get_property),
14428 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14429 (gst_base_transform_set_qos_enabled),
14430 (gst_base_transform_is_qos_enabled):
14431 * libs/gst/base/gstbasetransform.h:
14432 Make basetransform virtual method for src events too.
14433 Handle QOS in basetransform.
14434 API: gst_base_transform_update_qos()
14435 API: gst_base_transform_set_qos_enabled()
14436 API: gst_base_transform_is_qos_enabled()
14438 2006-03-13 Wim Taymans <wim@fluendo.com>
14440 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14441 (gst_base_sink_do_sync):
14443 Use QOS debug category.
14445 2006-03-13 Wim Taymans <wim@fluendo.com>
14447 * plugins/elements/gstqueue.c:
14448 Very small doc update.
14450 2006-03-13 Wim Taymans <wim@fluendo.com>
14452 * gst/gst_private.h:
14453 * gst/gstinfo.c: (_gst_debug_init):
14454 Added QOS debug category
14456 2006-03-13 Wim Taymans <wim@fluendo.com>
14458 * docs/gst/gstreamer-sections.txt:
14459 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14461 * gst/gstbus.c: (gst_bus_class_init):
14464 * gst/gstelement.c: (gst_element_set_locked_state):
14465 * gst/gstsegment.c:
14466 Documentation updates.
14468 * gst/gstpipeline.c: (gst_pipeline_get_type),
14469 (gst_pipeline_class_init), (gst_pipeline_init),
14470 (gst_pipeline_dispose), (gst_pipeline_set_property),
14471 (gst_pipeline_get_property), (do_pipeline_seek),
14472 (gst_pipeline_send_event), (gst_pipeline_change_state),
14473 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14474 (gst_pipeline_get_delay):
14475 * gst/gstpipeline.h:
14476 Added methods for setting the delay.
14477 API: gst_pipeline_set_delay()
14478 API: gst_pipeline_get_delay()
14479 Add pipeline debug category
14482 Don't reset stream time when seek failed.
14484 2006-03-13 Wim Taymans <wim@fluendo.com>
14486 * docs/design/draft-klass.txt:
14487 * docs/design/part-clocks.txt:
14488 * docs/design/part-events.txt:
14489 * docs/design/part-gstbin.txt:
14490 * docs/design/part-gstpipeline.txt:
14491 * docs/design/part-messages.txt:
14492 * docs/design/part-negotiation.txt:
14493 * docs/design/part-overview.txt:
14494 * docs/design/part-preroll.txt:
14495 * docs/design/part-seeking.txt:
14496 * docs/design/part-states.txt:
14497 * docs/design/part-streams.txt:
14498 Documentation updates.
14500 2006-03-12 Julien MOUTTE <julien@moutte.net>
14502 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14503 us to leak strings...
14505 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14507 * libs/gst/net/gstnettimeprovider.c:
14509 * win32/common/config.h:
14512 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14514 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14517 Don't check for libgnomeui (leftover from old examples
14518 that aren't built or disted any longer) (#334303).
14520 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14522 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14523 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14524 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14525 there's no space left on the device.
14527 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14530 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14531 to cast the input to GstClockTime before comparing with
14532 another GstClockTime value.
14534 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14539 === release 0.10.4 ===
14541 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14544 releasing 0.10.4, "Light"
14546 2006-03-10 Michael Smith <msmith@fluendo.com>
14548 * libs/gst/dataprotocol/dataprotocol.c:
14549 Fix docs for dataprocotol to not get the return types completely
14550 wrong for a few functions.
14552 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14554 * docs/gst/gstreamer-sections.txt:
14555 * gst/gstpipeline.c: (gst_pipeline_class_init),
14556 (gst_pipeline_init), (gst_pipeline_set_property),
14557 (gst_pipeline_get_property), (gst_pipeline_change_state),
14558 (gst_pipeline_set_auto_flush_bus),
14559 (gst_pipeline_get_auto_flush_bus):
14560 * gst/gstpipeline.h:
14561 Add new API: gst_pipeline_set_auto_flush_bus() and
14562 gst_pipeline_get_auto_flush_bus() to disable automatic
14563 flushing of the pipeline's GstBus when going from READY
14564 to NULL state (#332045).
14566 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14568 * docs/gst/gstreamer-sections.txt:
14569 * gst/gsturi.c: (gst_uri_has_protocol):
14571 Add new API: gst_uri_has_protocol() (#333779).
14573 2006-03-09 Wim Taymans <wim@fluendo.com>
14575 * gst/gstclock.c: (gst_clock_entry_new),
14576 (gst_clock_id_compare_func), (gst_clock_id_wait),
14577 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14578 (gst_clock_init), (gst_clock_get_internal_time),
14579 (gst_clock_set_master), (do_linear_regression),
14580 (gst_clock_add_observation), (gst_clock_set_property):
14584 Fix a possible segfault when the window-size is made smaller.
14585 Calculate jitter before performing the clock wait. Ideally
14586 the clock implementation should calculate jitter but we need
14587 API breakage for that.
14589 * gst/gstsystemclock.c: (gst_system_clock_init):
14592 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14593 Remove leftover else
14595 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14596 (gst_systemclock_suite):
14597 Added check to test GST_CLOCK_DIFF.
14599 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14601 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14602 (gst_type_find_helper_get_range):
14603 If we are provided with the size, we should implement
14604 GstTypeFind::get_length, so that typefind functions who
14605 want to can actually peek at the middle of a file.
14607 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14609 * docs/manual/advanced-dataaccess.xml:
14610 Add some very very basic error checking.
14612 * docs/pwg/appendix-checklist.xml:
14613 Some updates to the list of things to check when writing an element.
14615 2006-03-08 Wim Taymans <wim@fluendo.com>
14617 * docs/design/part-element-transform.txt:
14618 Added some docs about the design of tranform elements.
14620 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14621 (gst_base_src_loop), (gst_base_src_change_state):
14622 Mark buffers with the DISCONT flag.
14624 2006-03-08 Michael Smith <msmith@fluendo.com>
14626 * gst/gstregistry.h:
14627 * gst/gstregistryxml.c: (gst_registry_save),
14628 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14629 (gst_registry_xml_save_pad_template),
14630 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14631 (gst_registry_xml_write_cache):
14632 Rewrite registry-saving to avoid race conditions and check for
14635 2006-03-08 Wim Taymans <wim@fluendo.com>
14637 * libs/gst/base/gstbasetransform.c:
14638 (gst_base_transform_transform_caps),
14639 (gst_base_transform_transform_size),
14640 (gst_base_transform_prepare_output_buffer),
14641 (gst_base_transform_get_unit_size),
14642 (gst_base_transform_buffer_alloc),
14643 (gst_base_transform_handle_buffer),
14644 (gst_base_transform_change_state):
14645 Cleanups, separate normal flow from errors, add sensible
14647 Don't try to renegotiate when allocating an output buffer.
14648 Also copy DISCONT buffer flag when copying a buffer.
14649 Reset the transform after we finish streaming, not during.
14651 2006-03-08 Wim Taymans <wim@fluendo.com>
14653 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14654 Use last buffer timestamp in qos message.
14656 2006-03-07 Wim Taymans <wim@fluendo.com>
14658 Patch by: Christophe Fergeau
14660 * docs/pwg/advanced-tagging.xml:
14661 * docs/pwg/building-pads.xml:
14664 2006-03-07 Wim Taymans <wim@fluendo.com>
14666 * docs/libs/gstreamer-libs-sections.txt:
14667 Added basesink new methods.
14671 Docs updates. Flesh out the QoS docs.
14673 * libs/gst/base/gstadapter.c:
14674 Small doc clarification about ownership and flushing.
14676 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14677 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14678 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14679 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14680 * libs/gst/base/gstbasesink.h:
14682 Added new methods to allow subclass to control max-lateness
14684 Generate very basic QoS events based on last sync observation.
14685 Updated docs, fix typo, added some QoS blurb.
14687 * libs/gst/base/gstbasesrc.c:
14688 Remove obsolete _get_state() calls from docs.
14690 2006-03-07 Wim Taymans <wim@fluendo.com>
14692 * docs/libs/gstreamer-libs-sections.txt:
14693 * libs/gst/base/gstbasetransform.h:
14694 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14695 Fix docs for GstBaseSrc.
14697 2006-03-07 Wim Taymans <wim@fluendo.com>
14699 * docs/gst/gstreamer-sections.txt:
14702 * libs/gst/base/gstbasetransform.h:
14703 Small documentation fixes.
14705 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14708 Document thread-unsafety of gst_value_register_foo_func()
14709 when used at the same time as gst_value_foo() (#322628).
14711 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14713 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14714 (gst_push_src_check_get_range):
14715 Push sources don't support pull mode by default.
14717 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14719 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14720 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14721 (gst_base_src_default_check_get_range):
14722 * libs/gst/base/gstbasesrc.h:
14723 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14724 provide default implementation, and rename
14725 gst_base_src_check_get_range() to
14726 gst_base_src_pad_check_get_range() for clarity.
14728 2006-03-06 Wim Taymans <wim@fluendo.com>
14730 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14731 Make property overridable.
14733 2006-03-06 Wim Taymans <wim@fluendo.com>
14735 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14736 (gst_base_sink_init), (gst_base_sink_set_property),
14737 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14738 * libs/gst/base/gstbasesink.h:
14739 API addition: Make max-lateness a property.
14741 2006-03-06 Wim Taymans <wim@fluendo.com>
14743 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14744 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14745 Don't ever draw a frame that is >10ms late.
14747 2006-03-06 Michael Smith <msmith@fluendo.com>
14749 * gst/gstmessage.c: (_gst_message_copy):
14750 When copying a message, set the parent_refcount of the enclosed
14751 structure to point at the copy, not the original message.
14753 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14755 Patch by: Christophe Fergeau
14758 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14759 usable in c++ code (#333417)
14761 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14764 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14766 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14768 * libs/gst/base/gstbasetransform.c:
14769 (gst_base_transform_transform_caps):
14770 Make sure caps are writable before passing them to
14773 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14776 Fix some minor docs errors.
14778 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14780 Patch by: Ross Burton <ross at burtonini dot com>
14782 * gst/gsterror.c: (_gst_resource_errors_init):
14784 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14786 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14789 Add a check and output a g_warning when GStreamer is built
14790 against GLib 2.6 but running against 2.8 or higher, and vice
14791 versa. (Closes: #323542)
14793 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14795 * gst/parse/parse.l:
14796 Commit patch for parse_launch syntax from #331255. Removes
14797 support for quoted strings and mimetypes when writing filtered
14798 caps. See the bug report for more details - I'm pretty sure this
14799 obscure feature is not in use by _anyone_ anywhere.
14801 With this simple change, the size of the gstreamer.so here
14802 drops from 2193KB to 1565KB.
14804 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14806 * plugins/elements/gsttypefindelement.h:
14807 * plugins/elements/gsttypefindelement.c:
14808 (gst_type_find_element_src_event), (start_typefinding),
14809 (stop_typefinding), (gst_type_find_element_handle_event),
14810 (gst_type_find_element_chain),
14811 (gst_type_find_element_chain_do_typefinding):
14812 Use gst_type_find_helper_for_buffer() for chain-based
14815 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14817 * plugins/elements/gsttypefindelement.c:
14818 (gst_type_find_element_class_init),
14819 (gst_type_find_element_set_property),
14820 (gst_type_find_element_get_property):
14821 Deprecate "maximum" property (not only was it only taken into
14822 account for typefinding in push-mode anyway, it also was never
14823 actually possible to set it in the first place because the
14824 property was registered with the numeric property ID for the
14825 "minimum" property). Register "maximum" property correctly,
14826 for the sake of future copy'n'pasters. Remove some cruft
14827 from property get/set functions.
14829 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14831 * plugins/elements/gsttypefindelement.c:
14832 (gst_type_find_element_activate):
14833 Use gst_type_find_helper_get_range() here, so we
14834 can honour the "minimum" property and also emit
14835 the signal with the correct probability of the found caps.
14837 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14839 * docs/libs/gstreamer-libs-sections.txt:
14840 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14841 (helper_find_suggest), (gst_type_find_helper_get_range),
14842 (gst_type_find_helper):
14843 * libs/gst/base/gsttypefindhelper.h:
14844 New API: gst_type_find_helper_get_range() (#333042).
14846 2006-03-02 Michael Smith <msmith@fluendo.com>
14848 * gst/gstregistryxml.c: (load_feature):
14849 Asserting on a failure to read part of the registry is Not Cool.
14850 Just log a warning and return NULL (which is already handled)
14852 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14854 * win32/common/libgstbase.def:
14855 added export of gst_type_find_helper_for_buffer
14856 * win32/common/libgstbase.def:
14857 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14858 gst_ghost_pad_get_target
14860 2006-02-28 Wim Taymans <wim@fluendo.com>
14862 * docs/design/draft-klass.txt:
14864 Added Connector to mark elements that are only used to
14865 allow pipeline connections.
14866 Moved Debug to extra feature since most of them are
14867 functionally something else.
14869 2006-02-28 Wim Taymans <wim@fluendo.com>
14871 * docs/design/draft-klass.txt:
14872 Some updates and clarifications.
14874 2006-02-28 Wim Taymans <wim@fluendo.com>
14876 * docs/design/draft-klass.txt:
14877 Proposal for klass field values.
14879 * docs/design/part-streams.txt:
14880 Start of a doc describing stream anatomy.
14882 2006-02-28 Wim Taymans <wim@fluendo.com>
14884 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14885 Help the compiler a bit with type registration.
14886 Use existing forward cod path instead of duplicating it when
14887 handling a message.
14889 * gst/gstbus.c: (gst_bus_get_type):
14890 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14891 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14892 * gst/gstclock.c: (gst_clock_get_type):
14893 * gst/gstelement.c: (gst_element_get_type),
14894 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14895 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14896 * gst/gstminiobject.c: (gst_mini_object_get_type):
14897 * gst/gstpad.c: (gst_pad_get_type):
14898 * gst/gstsegment.c: (gst_segment_get_type):
14899 * gst/gststructure.c: (gst_structure_get_type):
14900 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14901 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14903 Help compiler with type registration.
14905 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14908 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14910 * plugins/elements/gsttypefindelement.c:
14911 (gst_type_find_element_handle_event):
14912 When we get an EOS event and have not found a type yet
14913 (most likely because we had not yet accumulated
14914 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14915 type given the data we have so far. Fixes typefinding
14916 for very short streams again, most notably quicktime
14917 redirections as used on Apple's trailer site (#331701).
14919 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14921 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14922 (gst_type_find_helper):
14923 Try typefinding factories with the highest rank first.
14925 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14927 * docs/libs/gstreamer-libs-docs.sgml:
14928 * docs/libs/gstreamer-libs-sections.txt:
14929 * libs/gst/base/gsttypefindhelper.c:
14930 Add section for typefind helper and add documentation
14931 for the old and the new function.
14933 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14935 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14936 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14937 (gst_type_find_helper_for_buffer):
14938 * libs/gst/base/gsttypefindhelper.h:
14939 New API: gst_type_find_helper_for_buffer() (#332723).
14941 2006-02-27 Michael Smith <msmith@fluendo.com>
14943 Patch by: Loïc Minier
14946 * docs/Makefile.am:
14947 * docs/slides/Makefile.am:
14948 prevent CVS directories getting disted.
14950 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14952 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14953 Use the REFCOUNTING category for caps refcounting.
14955 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14957 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14958 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14960 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14962 * plugins/elements/gsttypefindelement.c:
14963 (gst_type_find_element_activate):
14964 Use gst_pad_check_pull_range() before _activate_pull()
14965 to avoid unnecessary open/close (see #331690).
14967 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14970 Docs enhancement: make it crystal clear what the
14971 gst_pad_add_*_probe() callbacks should look like.
14973 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14975 * libs/gst/base/gstbasesrc.c:
14976 Document how applications can stop recording from
14977 live sources (see #330996).
14979 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14981 * tests/check/Makefile.am:
14982 * tests/check/libs/basesrc.c: (eos_event_counter),
14983 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14984 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14985 (gst_basesrc_suite), (main):
14986 ... and add some tests for the base source EOS stuff.
14988 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14990 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14991 Test case originally showed the problem fixed below,
14992 but was then amended. Add checks back at the place
14993 where they used to be.
14995 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14997 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14998 (gst_base_src_init), (gst_base_src_loop),
14999 (gst_base_src_activate_push), (gst_base_src_activate_pull),
15000 (gst_base_src_change_state):
15001 * libs/gst/base/gstbasesrc.h:
15002 Don't unconditionally send EOS when going from PAUSED to
15003 READY state, esp. make sure we don't send two EOS events
15004 in some cases (e.g. one when reaching EOS and one when
15005 going from PAUSED to READY). Also, we don't want to send
15006 EOS events when operating in pull mode. However, we do
15007 want to send an EOS event when shutting down a live
15008 source explicitly, for example (fixes #330996).
15010 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
15012 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
15013 Update src->read_position after a seek when not using mmap.
15014 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
15016 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
15022 Make things work with --disable-parse as they do with
15023 --disable-load-save - the symbols involved disappear, but the
15024 header is still installed and GST_DISABLE_PARSE is included via
15027 2006-02-20 Julien MOUTTE <julien@moutte.net>
15029 * libs/gst/base/gstbasetransform.c:
15030 (gst_base_transform_change_state): Fix a stupid bug. I was
15031 sure I compiled that.
15033 2006-02-20 Julien MOUTTE <julien@moutte.net>
15035 * gst/gstpad.c: (gst_pad_set_blocked_async):
15036 * gst/gstutils.c: (gst_pad_add_data_probe),
15037 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
15038 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
15039 (gst_pad_remove_buffer_probe): Make those function act on the
15040 ghostpad target when it's a ghostpad. (Closes #331727)
15042 2006-02-20 Julien MOUTTE <julien@moutte.net>
15044 * libs/gst/base/gstbasetransform.c:
15045 (gst_base_transform_change_state): Make basetransform reusable.
15048 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
15050 * docs/random/release:
15051 Move the current documentation of how to do a release to the top
15054 * gst/gstbin.c: (gst_bin_class_init),
15055 (gst_bin_handle_message_func):
15056 Allow multiple state-recalculation threads. (Closes #328873)
15058 2006-02-19 Julien MOUTTE <julien@moutte.net>
15060 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
15061 * gst/gstpad.c: (gst_pad_set_event_function),
15062 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15063 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
15064 2 strings. You can't use the STR_NULL macro on that.
15066 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
15068 * gst/gstpad.c: (gst_pad_set_event_function),
15069 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
15070 (gst_pad_set_getcaps_function)
15071 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
15072 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
15073 So now, we can use --gst-debug-level=5 on Windows
15074 * win32/common/libgstcontroller.def:
15075 Added export of gst_controller_init
15076 * win32/vs6/libgstcontroller.dsp:
15077 Fixed Release post build configuration
15079 2006-02-17 Wim Taymans <wim@fluendo.com>
15081 * tests/check/gst/gstquery.c: (GST_START_TEST):
15082 Added another check.
15084 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15086 * plugins/elements/gsttypefindelement.c: (find_peek):
15087 We can do peeks at non-zero offsets, as long as they
15088 fall within the buffer we have.
15090 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15092 * tests/check/Makefile.am:
15093 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15094 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15095 (parse_suite), (main):
15096 Add testsuite for parse launch syntax
15098 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15100 * plugins/elements/gsttypefindelement.c:
15101 (gst_type_find_element_chain):
15102 When typefinding is unsuccessful in the chain function, don't
15103 error out immediately. Only error out with NO_CAPS_FOUND if
15104 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15105 otherwise simply wait for more data so we can try typefinding
15106 again with more data later. Also, don't attempt to typefind
15107 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15108 this should improve typefinding from network sources where the
15109 size of the first buffer can be somewhat random.
15111 2006-02-14 Wim Taymans <wim@fluendo.com>
15113 * docs/gst/gstreamer-sections.txt:
15114 * gst/gstpadtemplate.c:
15115 * gst/gstpadtemplate.h:
15116 Fix padtemplate docs, fixes #328805.
15118 2006-02-14 Wim Taymans <wim@fluendo.com>
15120 * tools/gst-launch.c: (main):
15121 NO_PREROLL is not an ERROR so don't send confusing messages
15124 2006-02-14 Wim Taymans <wim@fluendo.com>
15126 Patch by: Torsten Schoenfeld
15128 * gst/gstregistry.c: (gst_registry_get_default),
15129 (_gst_registry_cleanup):
15130 Protect default registry with lock and ref/sink it.
15133 2006-02-14 Wim Taymans <wim@fluendo.com>
15136 * gst/gstquery.c: (gst_query_list_add_format),
15137 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15138 (gst_query_parse_formats_nth):
15139 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15142 2006-02-14 Wim Taymans <wim@fluendo.com>
15144 * docs/gst/gstreamer-sections.txt:
15145 Reworked query docs.
15147 * gst/gstquery.c: (gst_query_new_formats),
15148 (gst_query_list_add_format), (gst_query_set_formats),
15149 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15150 (gst_query_parse_formats_nth):
15152 Flesh out formats query, added some new methods.
15153 Fix part of #324398.
15155 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15156 Added query creation tests.
15158 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15160 * gst/gstpad.c: (fixate_value):
15161 Add a default fixation for fraction lists.
15163 2006-02-13 Wim Taymans <wim@fluendo.com>
15165 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15166 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15169 Detect and warn for obvious deadlocks. fixes #320340
15170 Fix error case where lock was not released.
15172 * tests/check/Makefile.am:
15173 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15174 (task_func), (gst_element_suite), (main):
15177 2006-02-13 Wim Taymans <wim@fluendo.com>
15179 * docs/gst/gstreamer-sections.txt:
15181 Add new functions to docs.
15183 2006-02-13 Wim Taymans <wim@fluendo.com>
15185 * docs/design/part-TODO.txt:
15186 Updated TODO list, basesrc supports seeking to non-bytes
15189 * docs/design/part-element-sink.txt:
15192 * gst/gstbin.c: (bin_replace_message),
15193 (gst_bin_handle_message_func):
15194 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15195 * gst/gstevent.c: (gst_event_finalize):
15196 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15197 (gst_pad_send_event):
15198 Use shiny new _TYPE_NAME macros.
15200 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15201 Move debug statement up.
15203 * gst/gstelement.c: (gst_element_set_locked_state):
15204 Add some debugging.
15206 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15208 * docs/gst/gstreamer-sections.txt:
15209 * gst/gstmessage.h:
15211 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15212 macros (#330906). Also, document the already existing
15213 GST_QUERY_TYPE macro.
15215 2006-02-13 Wim Taymans <wim@fluendo.com>
15217 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15218 (event_probe), (GST_START_TEST):
15219 Only events up to the pipeline EOS are counted, there are
15220 some more when going to NULL currently which we don't care
15223 2006-02-13 Wim Taymans <wim@fluendo.com>
15225 * gst/gstpad.c: (gst_pad_send_event):
15226 Correctly check flushing and emit probes. fixes #330125
15228 2006-02-10 Andy Wingo <wingo@pobox.com>
15230 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15232 (gst_bus_init): Cache the location of the private data in the
15233 instance structure.
15234 (gst_bus_enable_sync_message_emission)
15235 (gst_bus_disable_sync_message_emission): Implement new public
15237 (gst_bus_post): Emit the sync-message signal if the user asked for
15240 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15241 location of the bus-private structure.
15242 (gst_bus_enable_sync_message_emission)
15243 (gst_bus_disable_sync_message_emission): API addition
15245 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15247 Patch by: Vincent Torri
15249 * docs/pwg/building-boiler.xml:
15250 PWG patch from #326800
15252 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15255 * docs/Makefile.am:
15256 * docs/design/Makefile.am:
15259 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15264 === release 0.10.3 ===
15266 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15269 releasing 0.10.3, "Like a virgin"
15271 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15274 2nd prerelease of 0.10.3
15275 Bump libtool versioning.
15277 2006-02-07 Andy Wingo <wingo@pobox.com>
15279 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15280 update last_stop if we're in TIME format and the timestamp is
15283 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15284 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15285 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15286 If we get a new newsegment with a different format, adapt
15289 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15290 of 0. Not a problem, really.
15292 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15295 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15300 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15303 project files updated to the default vs7 configuration
15304 * win32/common/libgstbase.def:
15305 * win32/common/libgstreamer.def:
15307 removed empty lines,
15308 sorted all exported symbols alphabetically
15309 * win32/common/dirent.c:
15310 * win32/common/dirent.h:
15311 * win32/common/gchar.h:
15312 use windows line end.
15314 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15316 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15317 Send EOS event when stopping.
15319 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15322 Tell folks what to do if the plugin-foobar.xml file
15323 hasn't been generated for a newly-added plugin.
15325 2006-02-05 Julien MOUTTE <julien@moutte.net>
15327 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15328 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15329 (gst_collect_pads_start), (gst_collect_pads_stop),
15330 (gst_collect_pads_event): Collectpads now holds a reference
15331 to the GstPad that was added. Indeed we don't want to look
15332 at pads that might just go away with no warning...
15334 2006-02-05 Julien MOUTTE <julien@moutte.net>
15336 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15337 (gst_collect_pads_start), (gst_collect_pads_stop),
15338 (gst_collect_pads_event), (gst_collect_pads_chain):
15339 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15340 Mark Nauwelaerts's patch on bug #328491.
15342 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15344 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15346 Add some simple tests for gst_parse_bin_from_description() and
15347 gst_bin_find_unconnected_pad() (#329069).
15349 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15351 * tools/gst-launch.c: (event_loop), (main):
15352 Catch errors during preroll (#320084).
15354 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15356 * plugins/elements/gsttypefindelement.c:
15357 (gst_type_find_element_activate):
15358 Post TYPE_NOT_FOUND error message when typefinding
15359 is unsuccessful in the activate function as well.
15361 2006-02-02 Wim Taymans <wim@fluendo.com>
15363 * docs/design/part-element-sink.txt:
15366 2006-02-02 Wim Taymans <wim@fluendo.com>
15368 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15369 (gst_base_sink_render_object),
15370 (gst_base_sink_queue_object_unlocked):
15371 Only keep track of prerollable items when we are
15373 Before rendering after preroll, always check if we
15375 Added some more debugging.
15377 2006-02-02 Wim Taymans <wim@fluendo.com>
15379 * gst/gstelement.c: (gst_element_continue_state),
15380 (gst_element_set_state_func), (gst_element_change_state):
15381 Fixed #326576, been running this for quite some time with
15382 no regressions at all.
15384 2006-02-02 Wim Taymans <wim@fluendo.com>
15387 Added more suppressions
15389 2006-02-02 Wim Taymans <wim@fluendo.com>
15391 * docs/design/part-element-sink.txt:
15394 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15395 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15396 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15397 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15398 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15399 (gst_base_sink_preroll_object),
15400 (gst_base_sink_queue_object_unlocked),
15401 (gst_base_sink_queue_object), (gst_base_sink_event),
15402 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15403 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15404 (gst_base_sink_get_position), (gst_base_sink_change_state):
15405 * libs/gst/base/gstbasesink.h:
15406 Totally refactored matching the design doc.
15407 Use two segments, one to clip incomming buffers and another to
15409 Handle queueing correctly, bypass the queue when playing.
15410 Make EOS cancelable.
15411 Handle errors correctly when operating in pull based mode.
15413 * tests/check/elements/fakesink.c: (GST_START_TEST),
15415 Added new check for sinks.
15417 2006-02-02 Wim Taymans <wim@fluendo.com>
15419 * gst/gstsegment.c: (gst_segment_clip):
15420 No reason to refuse to clip when start == -1
15422 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15425 * docs/manual/intro-basics.xml:
15426 * docs/manual/intro-preface.xml:
15427 * docs/manual/manual.xml:
15428 * docs/pwg/advanced-dparams.xml:
15429 * docs/pwg/intro-basics.xml:
15430 * docs/pwg/intro-preface.xml:
15431 * docs/pwg/pwg.xml:
15432 describe dparams (controller) for plugins
15433 unify docs a little more
15435 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15437 * docs/gst/gstreamer-sections.txt:
15438 * gst/gstutils.c: (element_find_unconnected_pad),
15439 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15441 Add new API: gst_parse_bin_from_description() and
15442 gst_bin_find_unconnected_pad() (#329069).
15444 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15446 * docs/manual/README:
15447 uncover a nasty detail of the docs build
15449 2006-01-31 Wim Taymans <wim@fluendo.com>
15451 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15452 Don't cache duration messages if we're not going to use or
15455 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15457 * docs/manual/advanced-dparams.xml:
15458 * docs/pwg/advanced-dparams.xml:
15462 * libs/gst/controller/lib.c: (gst_controller_init):
15465 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15467 * gst/gstelement.c: (gst_element_message_full):
15468 also show file/line/func if no additional debug was given
15470 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15472 * win32/vs7/grammar.vcproj:
15473 activate copy of autogenerated files for Release mode
15475 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15477 * win32/common/libgstreamer.def:
15478 export gst_value_compare
15480 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15482 * plugins/elements/Makefile.am:
15483 * plugins/elements/gstelements.c:
15484 * plugins/elements/gstfdsink.c: (_do_init),
15485 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15486 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15487 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15488 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15489 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15490 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15491 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15492 * plugins/elements/gstfdsink.h:
15493 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15495 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15497 * docs/manual/advanced-dparams.xml:
15498 describe controller
15499 * docs/manual/advanced-position.xml:
15500 * docs/manual/basics-init.xml:
15501 * docs/manual/manual.xml:
15502 * docs/manual/titlepage.xml:
15503 * docs/pwg/pwg.xml:
15504 * docs/pwg/titlepage.xml:
15505 cleanup xml (more to come)
15506 * libs/gst/controller/gstcontroller.c:
15509 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15511 * win32/vs6/grammar.dsp:
15512 add autogen of gstmarshal.c,h for Release mode
15514 2006-01-30 Wim Taymans <wim@fluendo.com>
15516 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15517 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15518 (gst_base_sink_handle_object), (gst_base_sink_event),
15519 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15520 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15521 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15522 (gst_base_sink_deactivate), (gst_base_sink_activate),
15523 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15524 (gst_base_sink_query), (gst_base_sink_change_state):
15525 Basesink cleanups, remove some old code.
15526 Handle the case where a subclass can preroll in the render
15527 method (mostly audiosinks).
15528 Handle more events.
15529 Remove some locks around variables that are now protected
15530 with the PREROLL_LOCK (clock_id, flushing, ..).
15531 Optimize position query some more, do correct locking.
15532 Remove old code to push queue in state change, this is not
15533 needed anymore since preroll blocks on all prerollable items
15535 Almost implemented as described in design doc.
15537 2006-01-30 Wim Taymans <wim@fluendo.com>
15539 * tests/check/gst/gstbin.c: (GST_START_TEST):
15540 Wait for refcount to settle down before checking.
15542 2006-01-30 Wim Taymans <wim@fluendo.com>
15544 * docs/design/part-element-sink.txt:
15545 Pseudo code overview of desired sink behaviour regarding
15548 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15549 * win32/vs6/grammar.dsp:
15550 fix some bugs in Release mode for autogenerated files
15552 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15553 * win32/common/libgstbase.def:
15554 * win32/common/libgstreamer.def:
15555 export some new symbols: gst_base_src_set_format,
15556 gst_iterator_next, gst_structure_set_valist
15558 2006-01-29 Julien MOUTTE <julien@moutte.net>
15560 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15561 Set pad functions unconditionally. Fixes #329105.
15563 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15565 add vs8 project files created by Sergey Scobich
15567 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15569 * gst/gstutils.c: (gst_element_unlink_pads):
15570 Don't leak pad references.
15572 * tests/check/elements/fakesink.c: (GST_START_TEST):
15573 * tests/check/generic/sinks.c: (GST_START_TEST):
15574 * tests/check/generic/states.c: (GST_START_TEST):
15575 * tests/check/gst/gstbin.c: (GST_START_TEST):
15576 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15577 * tests/check/gst/gstelement.c: (GST_START_TEST):
15578 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15579 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15580 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15581 Fix a bunch of leaks. Make generic/sinks.c
15582 use a bit less cpu by slowing the buffer rate
15583 between fakesrc and fakesink.
15585 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15587 * gst/gstelement.c: (gst_element_send_event):
15590 * gst/gstiterator.c:
15591 * gst/gstiterator.h:
15592 * gst/gstpad.c: (gst_pad_send_event):
15593 * gst/gststructure.c:
15597 * libs/gst/base/gstadapter.c:
15598 doc fixes, to link to function, just write gst_cool_function(), don't
15601 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15603 * plugins/elements/gsttee.c: (gst_tee_do_push),
15604 (gst_tee_handle_buffer):
15605 Always prefer an actual return value from a src
15606 pad in place of NOT_LINKED. This means we return
15607 WRONG_STATE when all src pads are WRONG_STATE
15608 instead of NOT_LINKED.
15610 Lock when replacing the last message to prevent
15611 racing with the get_property method.
15615 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15617 * tests/check/Makefile.am:
15618 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15620 Add a very simple check that should have caught the memleak I fixed
15621 last night (if not for the slice allocator hiding it)
15623 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15625 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15626 (gst_bin_remove_func), (gst_bin_handle_message_func),
15627 (bin_query_duration_fold), (bin_query_generic_fold):
15628 Clean up references to the clock provider when disposed or when
15629 handling a clock-lost message from it.
15631 Unref sinks when performing a query via gst_iterator_fold, as the
15632 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15634 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15635 (gst_clock_set_master):
15636 Drop our reference to the master clock, if any, when we are disposed.
15638 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15639 Chain up in dispose.
15641 2006-01-26 Wim Taymans <wim@fluendo.com>
15643 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15644 Add some debugging.
15646 2006-01-26 Julien MOUTTE <julien@moutte.net>
15648 * plugins/elements/gsttee.c: (gst_tee_do_push),
15649 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15650 handles pad being NOT_LINKED or in WRONG_STATE.
15652 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15657 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15660 remove obsolete entry
15662 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15664 * docs/gst/gstreamer-sections.txt:
15665 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15666 (gst_bin_iterate_sources), (gst_bin_send_event):
15668 * gst/gstelement.c: (gst_element_send_event):
15670 * gst/gstpad.c: (gst_pad_send_event):
15671 added code for downstream events, reviewed docs in gstevent.c
15673 2006-01-25 Julien MOUTTE <julien@moutte.net>
15675 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15676 We only query position using the clock in the playing state.
15677 Query peer in the other cases.
15678 * win32/common/config.h: Updates.
15680 2006-01-24 Wim Taymans <wim@fluendo.com>
15682 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15683 A clock entry that is scheduled for the exact time of the
15684 clock is still in time.
15686 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15687 (gst_base_sink_do_sync):
15688 Add some more debug info.
15690 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15693 Add new vs7 project files and solution.
15695 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15698 all files removed as they were out-dated.
15700 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15702 * docs/random/release:
15704 * gst/gstbin.c: (gst_bin_init):
15705 * gst/gstbus.c: (gst_bus_new):
15707 * gst/gstpipeline.c: (gst_pipeline_init):
15708 use gst_bus_new(), improve logging, fix docs
15709 * win32/common/config.h:
15710 update for cvs build
15712 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15715 up required version of automake to 1.7
15717 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15719 * win32/common/libgstreamer.def:
15720 export gst_buffer_is_metadata_writable
15722 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15724 * docs/gst/gstreamer-sections.txt:
15726 Add gst_event_replace() (#327001)
15728 2006-01-20 Wim Taymans <wim@fluendo.com>
15730 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15731 Make it actually compile too..
15733 2006-01-20 Wim Taymans <wim@fluendo.com>
15736 Clarify behaviour of _is_equal() when passing NULL parameters.
15738 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15739 (gst_pad_set_caps):
15740 Cleanups. Don't unref NULL caps.
15741 When setting the same caps, protect caps of the pad with
15743 Use full functionality of _is_equal() when comparing caps.
15745 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15747 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15748 Don't loop infinitely if there are no buffers to present. Partially
15749 fixes #327197, but collectpads is just broken for reusing elements
15750 to do multiple encodes atm.
15752 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15754 * tools/gst-inspect.c: (print_element_features):
15755 * tools/gst-xmlinspect.c: (main):
15756 URL_HANDLER is not a plugin feature we can search for in
15759 2006-01-19 Edward Hervey <edward@fluendo.com>
15761 * gst/gstelement.c: (gst_element_pads_activate):
15762 When activating, do src pads first, then sink pads.
15763 When de-activating, do sink pads first, then src pads.
15765 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15767 * docs/gst/gstreamer-sections.txt:
15768 Add gst_index_add_associationv to the docs
15770 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15775 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15776 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15777 Do some refactoring. Doesn't actually change functionality,
15778 but makes landing the DRAIN event easier later.
15780 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15782 * docs/pwg/advanced-scheduling.xml:
15783 Update from 0.9.x to 0.10 API and make example a bit
15786 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15788 * docs/gst/gstreamer-sections.txt:
15789 Add gst_buffer_(is|make)_metadata_writable methods.
15791 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15793 * docs/design/part-sparsestreams.txt:
15794 Update sparse streams doc, hopefully for greater clarity
15796 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15798 * docs/design/part-events.txt:
15799 Remove mention of FILLER events.
15802 * docs/design/part-sparsestreams.txt:
15803 Write some things about using NEWSEGMENT to keep sparse streams
15806 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15808 * gst/gstbin.c: (gst_bin_dispose):
15809 Guard gst_object_unref call against a NULL object (dispose
15810 can theoretically be called multiple times).
15812 2006-01-18 Wim Taymans <wim@fluendo.com>
15814 * gst/gstbin.c: (gst_bin_element_set_state):
15815 * gst/gstclock.c: (gst_clock_id_wait):
15816 Added some more debug info.
15818 * libs/gst/base/gstadapter.c:
15821 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15822 (gst_base_sink_do_sync), (gst_base_sink_chain):
15823 Added some comments.
15825 2006-01-18 Wim Taymans <wim@fluendo.com>
15827 * tests/check/Makefile.am:
15828 * tests/check/elements/fakesink.c: (chain_async_buffer),
15829 (chain_async), (chain_async_return), (GST_START_TEST),
15830 (fakesink_suite), (main):
15831 Added fakesink test that checks prerolling and clipping
15834 * tests/check/gst/gstutils.c: (GST_START_TEST):
15835 Make check run faster so that buildbots don't timeout.
15837 2006-01-18 Wim Taymans <wim@fluendo.com>
15839 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15840 (gst_base_sink_do_sync):
15842 When the sink finishes blocking on the preroll buffer, it can
15843 immediatly render it instead of rendering when the next buffer
15846 2006-01-18 Wim Taymans <wim@fluendo.com>
15848 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15849 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15850 (gst_base_sink_chain):
15852 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15853 Don't store _last_stop if the buffer is dropped.
15855 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15857 * plugins/elements/gsttypefindelement.c:
15858 (gst_type_find_element_class_init):
15859 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15860 object method handler that sets the caps on the pad and we want
15861 that to happen before we emit the signal (fixes e.g. feeding a
15862 plain text file to decodebin).
15864 2006-01-18 Christian Schaller <Christian@fluendo.com>
15866 * gst/gstplugin.c: Add MPL and Proprietary as license options
15868 2006-01-18 Andy Wingo <wingo@pobox.com>
15870 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15871 symbol was exported before, it appears this was just an oversight.
15873 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15875 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15876 prototype to gint. OK since this prototype was not in the header.
15878 2006-01-17 Andy Wingo <wingo@pobox.com>
15880 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15881 registry while we remove plugins.
15883 * tools/gst-inspect.c (print_element_info): Don't unref the
15884 factory arg, that should be the responsibility of whatever code
15885 received the ref. Fixes a double-free when called from
15886 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15887 (main): Unref the factory if we have one.
15888 (print_element_list): No change -- relies on the
15889 plugin_feature_list_free to free the list of features.
15891 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15893 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15894 (gst_buffer_make_metadata_writable):
15896 * libs/gst/base/gstbasetransform.c:
15897 (gst_base_transform_prepare_output_buf):
15898 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15899 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15900 Replace gst_buffer_(make|is)_metadata_writable patch now
15901 that the release is out.
15903 2006-01-17 Andy Wingo <wingo@pobox.com>
15905 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15906 in the present tense without reference to versions.
15908 * gst/gstregistry.c (gst_registry_add_plugin)
15909 (gst_registry_remove_plugin, gst_registry_remove_feature)
15910 (gst_registry_find_feature, gst_registry_get_feature_list)
15911 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15912 (gst_registry_lookup, gst_registry_scan_path)
15913 (_gst_registry_remove_cache_plugins)
15914 (gst_registry_get_feature_list_by_plugin): Add argument
15917 === release 0.10.2 ===
15919 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15922 releasing 0.10.2, "If man is five"
15924 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15928 * libs/gst/base/gstbasetransform.c:
15929 (gst_base_transform_prepare_output_buf):
15930 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15931 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15932 Back out patch until after the release.
15934 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15936 * gst/gstminiobject.c:
15937 Spelling fix in docs.
15938 * ChangeLog - remove conflict indicator
15940 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15942 Reviewed By: Andy Wingo
15944 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15945 (gst_buffer_make_metadata_writable):
15947 Add gst_buffer_(is|make)_metadata_writable as analogues of
15948 gst_buffer_(is|make)_writable.
15950 * libs/gst/base/gstbasetransform.c:
15951 (gst_base_transform_prepare_output_buf):
15952 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15953 Use name gst_buffer_(is|make)_metadata_writable functions.
15955 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15956 Test gst_buffer_(is|make)_metadata_writable
15960 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15962 * docs/manual/Makefile.am:
15963 don't do parallel make
15966 * win32/common/config.h.in:
15967 add generations for HOST_CPU and GST_MAJORMINOR
15968 * win32/common/config.h:
15969 commit generated result
15971 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15973 * docs/manual/appendix-integration.xml:
15974 Update GNOME integration section to use gst_init_get_option_group()
15975 instead of the old popt stuff (#322911). Also, GNOME applications
15976 should now use gconf*sink and gconf*src instead of the old gconf
15979 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15982 * docs/gst/gstreamer-docs.sgml:
15983 * docs/gst/gstreamer-sections.txt:
15984 * docs/libs/gstreamer-libs-sections.txt:
15985 add new API entries to the docs
15986 * libs/gst/controller/Makefile.am:
15987 * libs/gst/controller/gstcontroller.c:
15988 * libs/gst/controller/gstcontroller.h:
15989 * libs/gst/controller/gstcontrollerprivate.h:
15990 * libs/gst/controller/gsthelper.c:
15991 * libs/gst/controller/gstinterpolation.c:
15992 move private structs to private header
15994 gstreamer-0.7 -> gstreamer-0.10
15995 * tests/check/libs/struct_i386.h:
15996 remove private structs
15998 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16000 * plugins/indexers/Makefile.am:
16001 Fixes as part of #317048
16003 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
16005 * plugins/indexers/Makefile.am:
16006 fix #316086 - compilation when mmap is missing
16008 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
16010 * libs/gst/base/gstbasesink.c:
16011 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
16012 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
16013 * win32/common/config.h:
16014 added some defines GST_MAJORMINOR and HOST_CPU
16015 * win32/common/libgstbase.def:
16016 * win32/common/libgstreamer.def:
16017 added some exported functions.
16019 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16021 * libs/gst/controller/gstcontroller.c:
16022 (gst_controlled_property_set_interpolation_mode),
16023 (gst_controlled_property_new):
16024 * libs/gst/controller/gstcontroller.h:
16025 * libs/gst/controller/gstinterpolation.c:
16026 (interpolate_none_get_string_value_array):
16027 make G_TYPE_STRING controlable
16029 2006-01-12 Stefan Kost <ensonic@users.sf.net>
16032 * tools/gst-feedback.1.in:
16033 * tools/gst-inspect.1.in:
16034 * tools/gst-launch.1.in:
16035 * tools/gst-md5sum.1.in:
16036 * tools/gst-typefind.1.in:
16037 * tools/gst-xmlinspect.1.in:
16038 * tools/gst-xmllaunch.1.in:
16039 cleanup man-pages, remove reference to gst-register, document env-vars
16041 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
16043 * gst/gstbuffer.c: (gst_buffer_span):
16044 gst_buffer_span should copy the timestamp of the first buffer
16045 if they were both originally overlapping subbuffers of the
16046 same parent, using the same logic as the 'slow copy' case.
16048 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
16050 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
16051 Need to awaken ALL the pads when we pop a buffer, otherwise
16052 collectpads only works when there is 2 input streams.
16054 2006-01-11 Stefan Kost <ensonic@users.sf.net>
16056 * docs/random/ensonic/media-device-daemon.txt:
16059 fix doc example, add clarification
16060 * tools/gst-launch.1.in:
16061 add initial info about GST_PLUGIN_PATH, needs more work
16063 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
16065 * docs/manual/basics-bins.xml:
16066 * docs/manual/basics-elements.xml:
16067 * docs/manual/intro-basics.xml:
16068 Some more minor docs additions and updates.
16070 2006-01-11 Wim Taymans <wim@fluendo.com>
16072 * docs/manual/basics-bins.xml:
16073 * docs/manual/basics-elements.xml:
16074 Some small fixes as pointed out by Ser-ver on IRC.
16076 2006-01-10 Edward Hervey <edward@fluendo.com>
16078 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
16079 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
16080 the single-segment mode.
16082 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
16084 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16086 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16087 (gst_base_src_perform_seek), (gst_base_src_send_event),
16088 (gst_base_src_set_property), (gst_base_src_get_property),
16089 (gst_base_src_loop), (gst_base_src_start),
16090 (gst_base_src_activate_push):
16091 * libs/gst/base/gstbasesrc.h:
16092 Name (private) union; makes Sun's Forte compiler happy (#324900).
16094 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16097 gst-register is gone.
16099 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16101 * gst/gstvalue.c: (_gst_value_initialize):
16102 make the G_TYPE_DATE instantiation work if debug is disabled
16104 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16106 * gst/gstmessage.c: (gst_message_parse_tag),
16107 (gst_message_parse_error), (gst_message_parse_warning):
16108 Don't crash when return location for error/warning debug
16109 string is NULL; add fact that return locations can be
16110 NULL to docs where appropriate.
16112 2006-01-05 Wim Taymans <wim@fluendo.com>
16114 * gst/gstplugin.c: (gst_plugin_load_file):
16115 Replace strdup by g_strdup.
16117 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16119 * docs/pwg/advanced-types.xml:
16122 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16124 submitted by: Abel Cheung
16128 Added Chinese (traditional) translation
16130 2006-01-04 Wim Taymans <wim@fluendo.com>
16132 * docs/manual/basics-pads.xml:
16133 * docs/plugins/Makefile.am:
16134 * docs/plugins/gstreamer-plugins-docs.sgml:
16135 * docs/plugins/gstreamer-plugins-sections.txt:
16136 * docs/pwg/advanced-clock.xml:
16137 * docs/pwg/advanced-scheduling.xml:
16138 * docs/pwg/advanced-types.xml:
16139 * plugins/elements/gstfdsink.c:
16140 * plugins/elements/gstfdsrc.c:
16141 * plugins/elements/gstfdsrc.h:
16142 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16143 * plugins/elements/gstidentity.h:
16144 * plugins/elements/gstqueue.h:
16145 * plugins/elements/gsttee.c:
16146 * plugins/elements/gsttee.h:
16147 * plugins/elements/gsttypefindelement.c:
16148 (gst_type_find_element_class_init):
16149 * plugins/elements/gsttypefindelement.h:
16150 Small updates to various docs.
16151 Added core plugins to docs.
16153 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16156 add a suppression for liboil's uninitialized variable
16158 2006-01-02 James Livingston <jrl at ids dot org dot au>
16160 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16163 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16164 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16165 compiler switch is being used (#325429).
16167 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16169 * gst/gstbin.c: (gst_bin_query):
16170 Disable duration query caching in bins until it gets
16171 fixed (see #324807).
16173 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16175 * tools/gst-inspect.c: (print_element_properties_info):
16176 Handle properties of POINTER and BOXED type.
16178 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16180 * gst/gst.c: (init_post):
16181 Init tags stuff and some other things before loading
16182 any static plugins (there may be other static plugins
16183 than just the GStreamer ones, and they may want to
16184 register their own tags or formats or whatever, and
16185 preferably without segfaulting).
16187 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16188 Print at least a warning in the debug logs if we drop a
16189 query just because we don't know how to adjust the value
16190 in the particular format.
16192 2005-12-24 David Schleef <ds@schleef.org>
16194 * tools/gstreamer-completion:
16195 Replacement for gst-complete written in sh and sed. Only
16196 completes names of features, but that's 90% of what I want
16197 it for. Properties are not available in registry.xml. (Maybe
16200 === release 0.10.1 ===
16202 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16205 releasing 0.10.1, "Nollaig chridheil"
16207 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16209 * docs/faq/cvs.xml:
16210 Add missing quote, should be make ERROR_CFLAGS="".
16212 2005-12-20 Wim Taymans <wim@fluendo.com>
16214 * docs/design/part-trickmodes.txt:
16215 More documentation on trickmodes.
16217 2005-12-20 Edward Hervey <edward@fluendo.com>
16219 * gst/gstcaps.c: (gst_static_caps_get_type):
16221 API addition: GST_TYPE_STATIC_CAPS
16222 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16223 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16224 * gst/gstpadtemplate.h:
16225 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16226 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16229 2005-12-18 Wim Taymans <wim@fluendo.com>
16231 * libs/gst/base/gstadapter.c:
16232 * libs/gst/base/gstadapter.h:
16233 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16234 (gst_base_sink_get_position):
16235 * libs/gst/base/gstbasesink.h:
16236 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16237 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16238 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16239 (gst_base_src_send_event), (gst_base_src_update_length),
16240 (gst_base_src_get_range), (gst_base_src_loop),
16241 (gst_base_src_start):
16242 * libs/gst/base/gstbasesrc.h:
16243 * libs/gst/base/gstbasetransform.h:
16244 * libs/gst/base/gstcollectpads.h:
16245 * libs/gst/base/gstpushsrc.c:
16246 * libs/gst/base/gstpushsrc.h:
16247 * libs/gst/dataprotocol/dataprotocol.c:
16248 * libs/gst/dataprotocol/dataprotocol.h:
16249 * libs/gst/net/gstnetclientclock.h:
16250 * libs/gst/net/gstnettimeprovider.h:
16251 Documentation updates.
16253 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16255 * docs/manual/basics-helloworld.xml:
16256 Remove superfluous closing bracket in helloworld example.
16258 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16260 * tools/gst-launch.1.in:
16261 Update gst-launch man page; add a section with useful
16262 environment variables. Fixes #323882.
16264 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16267 * gst/gst_private.h:
16268 change some char* into char[]
16270 2005-12-16 Wim Taymans <wim@fluendo.com>
16272 * gst/gstregistryxml.c: (load_feature):
16274 Don't use g_object_unref on GstObjects so that we avoid
16275 leaks on unsafe glibs.
16277 2005-12-16 Wim Taymans <wim@fluendo.com>
16279 * gst/gstbin.c: (gst_bin_recalc_state):
16282 2005-12-16 Wim Taymans <wim@fluendo.com>
16284 * common/check.mak:
16285 Added make forever target for check.
16287 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16289 * gst/gst.c: (init_post):
16290 make the registry cache file HOST_CPU-dependent
16292 2005-12-16 Andy Wingo <wingo@pobox.com>
16294 * plugins/elements/gstbufferstore.c
16295 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16298 * tests/check/gst/gstobject.c
16299 (test_fake_object_name_threaded_unique): Pay attention to
16300 g_list_sort return value.
16302 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16304 * tools/gst-feedback-m.m:
16305 Update for 0.9/0.10 (fixes #323870).
16307 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16309 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16310 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16312 * tests/check/gst/gstminiobject.c: (my_foo_init),
16313 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16314 (test_value_collection), (gst_mini_object_suite):
16315 Add test to ensure refcounts end up as expected when passing
16316 GstMiniObjects through g_object_get() and g_object_set().
16318 2005-12-14 Julien MOUTTE <julien@moutte.net>
16320 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16321 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16322 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16323 of collectpads. This version removes a lot of races without
16324 touching API/ABI. Yay !
16326 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16328 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16329 Don't allow activation of a srcpad in pull_range if it has no
16331 Change some debug statements to be a little clearer
16333 * plugins/elements/gsttypefindelement.c:
16334 (gst_type_find_handle_src_query):
16335 Check that we have a peer before executing queries thereupon.
16337 * tests/examples/metadata/read-metadata.c: (message_loop):
16338 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16339 immediately return us any available message with 0 timeout.
16341 2005-12-12 Michael Smith <msmith@fluendo.com>
16343 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16344 Don't unref factories after calling them.
16345 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16346 * plugins/elements/gsttypefindelement.c:
16347 (gst_type_find_element_chain):
16348 Free lists of factories after using them. Fixing typefinding memory
16351 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16353 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16354 (gst_plugin_feature_load):
16355 more meaningful debug output
16357 * tests/Makefile.am:
16358 * tests/old/examples/Makefile.am:
16359 make make distcheck happy again
16361 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16363 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16364 Catch the special case where we are operating chain-based,
16365 but the downstream peer pad has no chain function. Emit a
16366 custom error message in this case instead of letting the
16367 core generate one implying that this is some sort of core
16368 bug. It's not, it just means that whatever got plugged
16369 into the pipeline downstream when we announced the type
16370 can only operate pull-based, while our source can only
16371 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16372 Error string has not been marked for translation yet, as
16373 it probably needs some more work first.
16375 (gst_type_find_element_get_best_possibility):
16376 Add helper function to find the best of all available
16377 found possibilities that qualify given the min. threshold.
16379 (gst_type_find_element_handle_event):
16380 Fix the case where we get an EOS while still in TYPEFIND
16381 mode (we want to chose the best of all possible types,
16382 not just the first type that happens to be in our unsorted
16383 list of possible types).
16385 (gst_type_find_element_chain):
16386 Make sure we return GST_FLOW_ERROR when we errored out
16387 in stop_typefinding(); also, don't just find the best of
16388 all found type entries and then use the last examined
16389 type entry, but actually use the best entry.
16391 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16393 * tests/examples/typefind/typefind.c: (type_found):
16394 * tests/examples/xml/runxml.c: (xml_loaded):
16395 More gcc4 fixes and a mem leak fix.
16397 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16399 * tests/examples/xml/createxml.c: (object_saved):
16402 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16404 * tests/Makefile.am:
16405 enable the examples even more
16407 2005-12-12 Andy Wingo <wingo@pobox.com>
16409 * libs/gst/net/gstnettimeprovider.c
16410 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16411 (gst_net_time_provider_set_property)
16412 (gst_net_time_provider_get_property):
16413 API addition: Export "active" as a GObject property.
16414 (gst_net_time_provider_thread): Only respond to time queries if
16415 the time provider is active.
16417 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16418 NetTimeProvider, preserving binary compat.
16420 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16422 * tests/examples/controller/audio-example.c: (main):
16423 * tests/examples/launch/Makefile.am:
16424 convert comments again
16426 2005-12-12 Wim Taymans <wim@fluendo.com>
16428 * libs/gst/base/gstpushsrc.c:
16431 2005-12-12 Wim Taymans <wim@fluendo.com>
16433 * docs/libs/gstreamer-libs-sections.txt:
16434 Added new symbol to docs.
16436 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16437 (gst_base_src_init), (gst_base_src_set_format),
16438 (gst_base_src_default_query), (gst_base_src_query),
16439 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16440 (gst_base_src_perform_seek), (gst_base_src_send_event),
16441 (gst_base_src_default_event), (gst_base_src_event_handler),
16442 (gst_base_src_set_property), (gst_base_src_get_property),
16443 (gst_base_src_wait), (gst_base_src_do_sync),
16444 (gst_base_src_update_length), (gst_base_src_get_range),
16445 (gst_base_src_check_get_range), (gst_base_src_loop),
16446 (gst_base_src_default_negotiate), (gst_base_src_start),
16447 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16448 (gst_base_src_change_state):
16449 * libs/gst/base/gstbasesrc.h:
16450 Implement seeking to other formats than _BYTES.
16451 Implement more seeking methods correctly.
16453 Added query vmethod.
16454 Added do_seek vmethod to make life easier for subclasses
16456 API addition: gst_base_src_set_format()
16458 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16460 * tests/examples/Makefile.am:
16463 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16466 * docs/random/ensonic/media-device-daemon.txt:
16467 * tests/examples/controller/.cvsignore:
16468 * tests/examples/controller/Makefile.am:
16469 * tests/examples/controller/audio-example.c: (main):
16470 * tests/examples/helloworld/.cvsignore:
16471 * tests/examples/helloworld/Makefile.am:
16472 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16473 * tests/examples/launch/.cvsignore:
16474 * tests/examples/launch/Makefile.am:
16475 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16476 * tests/examples/metadata/.cvsignore:
16477 * tests/examples/metadata/Makefile.am:
16478 * tests/examples/metadata/read-metadata.c: (message_loop),
16479 (make_pipeline), (print_tag), (main):
16480 * tests/examples/queue/.cvsignore:
16481 * tests/examples/queue/Makefile.am:
16482 * tests/examples/queue/queue.c: (event_loop), (main):
16483 * tests/examples/typefind/.cvsignore:
16484 * tests/examples/typefind/Makefile.am:
16485 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16487 * tests/examples/xml/.cvsignore:
16488 * tests/examples/xml/Makefile.am:
16489 * tests/examples/xml/createxml.c: (object_saved), (main):
16490 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16491 * tests/old/examples/Makefile.am:
16492 * tests/old/examples/TODO:
16493 * tests/old/examples/controller/.cvsignore:
16494 * tests/old/examples/controller/Makefile.am:
16495 * tests/old/examples/controller/audio-example.c:
16496 * tests/old/examples/helloworld/.cvsignore:
16497 * tests/old/examples/helloworld/Makefile.am:
16498 * tests/old/examples/helloworld/helloworld.c:
16499 * tests/old/examples/launch/.cvsignore:
16500 * tests/old/examples/launch/Makefile.am:
16501 * tests/old/examples/launch/mp3parselaunch.c:
16502 * tests/old/examples/launch/mp3play:
16503 * tests/old/examples/manual/Makefile.am:
16504 * tests/old/examples/metadata/Makefile.am:
16505 * tests/old/examples/metadata/read-metadata.c:
16506 * tests/old/examples/queue/.cvsignore:
16507 * tests/old/examples/queue/Makefile.am:
16508 * tests/old/examples/queue/queue.c:
16509 * tests/old/examples/typefind/.cvsignore:
16510 * tests/old/examples/typefind/Makefile.am:
16511 * tests/old/examples/typefind/typefind.c:
16512 * tests/old/examples/xml/.cvsignore:
16513 * tests/old/examples/xml/Makefile.am:
16514 * tests/old/examples/xml/createxml.c:
16515 * tests/old/examples/xml/runxml.c:
16516 applied some simple fixing to some examples
16517 re-enabled the working examples
16519 2005-12-12 Wim Taymans <wim@fluendo.com>
16521 * gst/gstsegment.c: (gst_segment_init),
16522 (gst_segment_set_last_stop), (gst_segment_set_seek),
16523 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16524 (gst_segment_to_running_time):
16525 Added more documentation.
16526 Make sure the last_pos value is updated properly.
16527 Make sure to_stream_time and to_running_time don't
16528 operate on wrong values.
16530 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16533 2005-12-12 Michael Smith <msmith@fluendo.com>
16535 * plugins/elements/gsttypefindelement.c: (free_entry),
16536 (gst_type_find_element_chain):
16537 Now that we're not leaking factories, make sure we keep references
16538 to them while we need them.
16540 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16542 * tests/check/gst/struct_i386.h:
16543 ifdef out the XML structs
16545 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16547 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16548 floor is not needed, F is always positive; this obviates the
16549 need for adding -lm when building without libxml
16551 2005-12-12 Wim Taymans <wim@fluendo.com>
16553 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16554 Take current playback rate into account when reporting
16557 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16559 * docs/manual/mime-world.fig:
16560 Let's try this again, this time with a file that is
16561 actually in XFig format.
16563 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16565 * docs/manual/mime-world.fig:
16566 Add audioconvert element to diagram so that it
16567 matches the text and the code (fixes #319526).
16569 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16571 * docs/pwg/building-chainfn.xml:
16572 * docs/pwg/building-pads.xml:
16573 * docs/pwg/building-state.xml:
16574 * docs/pwg/other-source.xml:
16575 Update state change stuff for 0.10 (fixes #322969).
16577 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16579 * docs/manual/advanced-dataaccess.xml:
16580 * docs/manual/appendix-checklist.xml:
16581 * docs/manual/appendix-programs.xml:
16582 * docs/manual/basics-pads.xml:
16583 * docs/manual/highlevel-components.xml:
16584 * docs/manual/manual.xml:
16585 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16586 add converters in front of pipelines; remove curly
16587 brackets for threads stuff, they no longer exist; use
16588 GST_TYPE_FRACTION for framerates; update some pieces of
16589 code to 0.10, but there's plenty more to do.
16591 * docs/manual/appendix-porting.xml:
16592 Expand on asynchroneous state changes; s/0.9/0.10/;
16593 mention disappearance of gst_init_get_popt_table()
16596 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16598 * docs/faq/using.xml:
16599 Spider no longer exists, and neither does gst-launch-ext.
16600 Update examples to use decodebin and playbin and put
16601 converters in front of sinks (fixes #323726).
16603 2005-12-09 Michael Smith <msmith@fluendo.com>
16605 * plugins/elements/gsttypefindelement.c: (find_peek),
16606 (gst_type_find_element_chain):
16607 Fix leaking element factories in typefinding.
16608 Fix problem where we forgot about a probable type on non-seekable
16609 files, and thus later mis-typefound it.
16611 2005-12-09 Michael Smith <msmith@fluendo.com>
16613 * common/m4/gst-makecontext.m4:
16614 * common/m4/gst-mcsc.m4:
16616 * win32/common/config.h:
16617 * win32/common/config.h.in:
16618 Remove makecontext stuff; not used in 0.10 and causes problems on
16619 HPUX according to bug #322441
16621 2005-12-07 Wim Taymans <wim@fluendo.com>
16623 * tests/check/Makefile.am:
16624 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16626 * tests/check/libs/struct_i386.h:
16627 Added ABI check for libs
16629 2005-12-07 Wim Taymans <wim@fluendo.com>
16631 * tests/check/Makefile.am:
16632 And add the struct_i386.h to dist.
16634 2005-12-07 Wim Taymans <wim@fluendo.com>
16636 * tests/check/Makefile.am:
16637 * tests/check/gst/.cvsignore:
16638 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16640 * tests/check/gst/struct_i386.h:
16641 Added check for ABI compatibility.
16643 2005-12-07 Wim Taymans <wim@fluendo.com>
16645 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16646 (gst_fake_src_get_times), (gst_fake_src_create):
16647 Fix broken sync option, fixes #323259
16649 2005-12-07 Wim Taymans <wim@fluendo.com>
16654 * gst/gstcaps.c: (gst_caps_is_equal):
16655 Don't assert on NULL <--> X. Fixes #323260
16657 * gst/gstminiobject.c: (gst_mini_object_replace):
16658 If we're doing atomic operations, we might just as well use
16659 the proper way to get an atomic pointer.
16661 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16662 Clean up debugging.
16664 2005-12-07 Michael Smith <msmith@fluendo.com>
16666 * gst/parse/grammar.y:
16667 Remove handling of { } for threads.
16669 2005-12-06 David Schleef <ds@schleef.org>
16671 * libs/gst/base/gstbasetransform.c: speling fix.
16673 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16675 * docs/libs/tmpl/gstdataprotocol.sgml:
16676 * docs/random/omega/testing/gstobject.c:
16679 * gst/gstelement.c:
16680 * gst/gstelementfactory.c:
16683 * gst/gstghostpad.c:
16685 * gst/gstpadtemplate.c:
16686 * gst/gstregistryxml.c:
16687 * gst/gsttaglist.c:
16688 * gst/gsttagsetter.c:
16689 * gst/gsttypefind.c:
16691 * libs/gst/base/gstbasesrc.c:
16692 * libs/gst/net/gstnetclientclock.c:
16693 * libs/gst/net/gstnettimeprovider.c:
16694 * plugins/elements/gstfakesrc.c:
16695 * plugins/elements/gstfdsrc.c:
16696 * plugins/elements/gstfilesrc.c:
16697 * plugins/elements/gstidentity.c:
16698 * plugins/elements/gstqueue.c:
16699 * plugins/elements/gsttypefindelement.c:
16700 * plugins/indexers/gstfileindex.c:
16701 * plugins/indexers/gstmemindex.c:
16702 * tests/check/gst/gsttag.c:
16703 * tests/old/examples/cutter/cutter.c:
16704 * tests/old/examples/mixer/mixer.c:
16705 * tests/old/examples/xml/runxml.c: (main):
16706 * tests/old/testsuite/caps/normalisation.c:
16707 * tests/old/testsuite/debug/global.c:
16708 * tests/old/testsuite/parse/parse1.c:
16709 * tools/gst-xmlinspect.c:
16710 * win32/common/dirent.c:
16713 === release 0.10.0 ===
16715 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16718 releasing 0.10.0, "Maroilles"
16720 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16722 submitted by: Funda Wang <fundawang@linux.net.cn>
16726 added Chinese (Traditional) translation
16728 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16730 * docs/gst/gstreamer-sections.txt:
16731 * docs/libs/tmpl/gstdataprotocol.sgml:
16732 * docs/random/thomasvs/TODO:
16737 2005-12-05 Andy Wingo <wingo@pobox.com>
16739 patch by: Wim Taymans <wim@fluendo.com>
16741 * libs/gst/base/gstbasetransform.c
16742 (gst_base_transform_prepare_output_buf)
16743 (gst_base_transform_buffer_alloc):
16744 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16745 alloc_buffer_and_set_caps.
16747 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16748 set_caps on the source pad.
16749 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16750 alloc_buffer used to do. Fixes #322874.
16752 * docs/gst/gstreamer-sections.txt:
16753 * docs/design/part-negotiation.txt:
16754 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16757 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16759 patch by: Sebastien Moutte
16762 * win32/common/config.h.in:
16763 * win32/vs6/libgstcontroller.dsp:
16766 2005-12-05 Wim Taymans <wim@fluendo.com>
16768 * gst/gstcaps.c: (gst_caps_is_equal):
16769 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16770 (gst_fake_src_create):
16771 Back out previous code changes, leave doc updates, file bugs
16774 2005-12-05 Wim Taymans <wim@fluendo.com>
16776 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16777 (gst_fake_src_get_times), (gst_fake_src_create):
16778 * plugins/elements/gstfakesrc.h:
16779 Fix broken sync code.
16781 2005-12-05 Wim Taymans <wim@fluendo.com>
16783 * gst/gstcaps.c: (gst_caps_is_equal):
16784 Comparing NULL against !NULL yields different caps, not a
16787 2005-12-05 Wim Taymans <wim@fluendo.com>
16789 * gst/gstpipeline.c:
16790 Fix small typo in docs.
16792 2005-12-05 Andy Wingo <wingo@pobox.com>
16794 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16796 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16797 registries/plugins with a MAJORMINOR one.
16798 (plugin_desc): Rename library from gstcoreleements to
16799 staticelements. Fixes #323222.
16801 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16803 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16804 Change debug category to 'collectpads' from 'collect_pads'
16807 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16809 patch by: Sebastien Moutte
16811 * libs/gst/controller/gstinterpolation.c:
16812 use convert function for uint64/double
16813 * win32/vs6/libgstcontroller.dsp:
16816 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16818 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16819 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16821 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16822 add tests that seem to show that the guint64/gdouble conversions
16825 2005-12-02 Wim Taymans <wim@fluendo.com>
16827 * gst/gstregistry.c: (gst_registry_add_path):
16828 * gst/gstregistry.h:
16829 * gst/gstregistryxml.c:
16832 2005-12-02 Wim Taymans <wim@fluendo.com>
16834 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16835 (gst_util_uint64_scale_int):
16838 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16839 Add debug log line.
16841 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16844 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16847 * win32/common/config.h:
16848 * win32/vs6/gstreamer.dsw:
16849 * win32/vs6/libgstcoreelements.dsp:
16850 * win32/vs6/libgstelements.dsp:
16851 renamed core elements plugin
16853 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16855 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16857 do piece-wise major/minor comparison so 0.9 < 0.10
16858 also allow .exe extensions for tools
16860 2005-12-02 Michael Smith <msmith@fluendo.com>
16863 Escape a % to make gtkdoc happier; bug 322958.
16865 === release 0.9.7 ===
16867 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16870 releasing 0.9.7, "My Dog Has No Nose"
16872 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16874 * common/gst-xmlinspect.py:
16876 * docs/libs/tmpl/gstdataprotocol.sgml:
16877 * docs/random/release:
16896 * win32/common/config.h:
16897 * win32/common/config.h.in:
16898 * win32/vs6/gst_inspect.dsp:
16899 * win32/vs6/gst_launch.dsp:
16900 * win32/vs6/libgstbase.dsp:
16901 * win32/vs6/libgstelements.dsp:
16902 * win32/vs6/libgstreamer.dsp:
16903 * win32/vs7/GStreamer.vcproj:
16904 * win32/vs7/gst-inspect.vcproj:
16905 * win32/vs7/gst-launch.vcproj:
16906 * win32/vs7/libgstbase.vcproj:
16907 bump GST_MAJORMINOR to 0.10
16908 reset libtool version
16910 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16914 Added Bulgarian translation by (Alexander Shopov)
16916 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16918 * tests/check/gst/gstplugin.c:
16921 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16923 * common/gst-xmlinspect.py:
16924 * common/gtk-doc-plugins.mak:
16926 * docs/Makefile.am:
16927 * docs/gst/Makefile.am:
16928 * docs/gst/gstreamer-docs.sgml:
16929 * docs/gst/gstreamer-sections.txt:
16930 * docs/gst/gstreamer.types:
16931 * docs/gst/gstreamer.types.in:
16932 * docs/plugins/Makefile.am:
16933 * docs/plugins/gstreamer-plugins-docs.sgml:
16934 * docs/plugins/gstreamer-plugins-sections.txt:
16935 * docs/plugins/gstreamer-plugins.types:
16936 * docs/plugins/inspect.stamp:
16937 * docs/plugins/inspect/plugin-coreelements.xml:
16938 * docs/plugins/inspect/plugin-coreindexers.xml:
16939 * docs/plugins/scanobj-build.stamp:
16940 * gstreamer.spec.in:
16941 * plugins/elements/Makefile.am:
16942 * plugins/elements/gstelements.c:
16943 * plugins/elements/gstfakesink.c:
16944 * plugins/elements/gstfakesrc.c:
16945 * plugins/elements/gstfilesink.c:
16946 * plugins/elements/gstfilesrc.c:
16947 * plugins/elements/gstqueue.c:
16948 * plugins/indexers/Makefile.am:
16949 * plugins/indexers/gstindexers.c:
16950 document core plugins in a separate document just like all the
16952 rename these plugins to something starting with core
16954 2005-12-01 Andy Wingo <wingo@pobox.com>
16956 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16957 padding here before, but it missed the commit.
16959 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16961 * libs/gst/controller/gstinterpolation.c:
16962 whitespace prices have crashed, we should feel free to use some now
16963 use gst_guint64_to_gdouble
16965 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16967 * libs/gst/controller/gstcontroller.c:
16968 * libs/gst/controller/gsthelper.c:
16969 * libs/gst/controller/gstinterpolation.c:
16970 * libs/gst/controller/lib.c:
16971 wrap config.h include
16973 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16975 * docs/gst/gstreamer-sections.txt:
16978 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16980 * plugins/elements/gstelements.c:
16981 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16982 (gst_fd_sink__class_init), (gst_fd_sink__init),
16983 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16984 (gst_fd_sink__get_property):
16985 * plugins/elements/gstfdsink.h:
16986 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16987 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16988 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16989 (gst_fd_src_unlock), (gst_fd_src_set_property),
16990 (gst_fd_src_get_property), (gst_fd_src_create),
16991 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16992 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16993 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16994 (gst_fd_src_uri_handler_init):
16995 * plugins/elements/gstfdsrc.h:
16996 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16999 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17001 * docs/gst/Makefile.am:
17002 * docs/gst/gstreamer.types.in:
17006 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17012 * gst/gstregistry.h:
17013 * tests/benchmarks/complexity.c:
17014 * tests/benchmarks/mass-elements.c:
17015 * tests/check/Makefile.am:
17016 * tools/Makefile.am:
17017 * tools/gst-inspect.c:
17018 * tools/gst-xmlinspect.c:
17019 various fixes to make
17020 --disable-nls --disable-registry --disable-loadsave
17021 --disable-parse --disable-gst-debug
17022 work and get the core .so down to 360444 bytes after stripping
17024 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17029 * docs/random/thomasvs/TODO:
17030 * tests/Makefile.am:
17034 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17036 * win32/GStreamer.vcproj:
17039 * win32/Makefile.inspect:
17040 * win32/Makefile.launch:
17041 * win32/Makefile.register:
17042 * win32/README.txt:
17043 * win32/gst-inspect.vcproj:
17044 * win32/gst-launch.vcproj:
17045 * win32/gst-register.vcproj:
17046 * win32/gstelements.vcproj:
17047 * win32/gstgetbits.def:
17048 * win32/gstgetbits.vcproj:
17049 * win32/gstreamer-dbg.def:
17050 * win32/gstreamer.def:
17051 * win32/libgstbase.def:
17052 * win32/libgstbase.vcproj:
17053 * win32/link_oldruntime.c:
17057 * win32/msvc71.sln:
17058 move even more stuff, win32/ is nice and clean now
17060 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17062 * libs/gst/control/.cvsignore:
17067 * win32/gstbytestream.def:
17068 * win32/gstbytestream.vcproj:
17069 * win32/gstconfig.h:
17070 * win32/gstenumtypes.c:
17071 * win32/gstenumtypes.h:
17072 * win32/gstoptimalscheduler.vcproj:
17073 * win32/gstversion.h:
17075 * win32/testsuite/bins.vcproj:
17076 * win32/testsuite/bytestream.vcproj:
17077 * win32/testsuite/caps.vcproj:
17078 * win32/testsuite/cleanup.vcproj:
17079 * win32/testsuite/clock.vcproj:
17080 * win32/testsuite/debug.vcproj:
17081 * win32/testsuite/dlopen.vcproj:
17082 * win32/testsuite/dynparams.vcproj:
17083 * win32/testsuite/elements.vcproj:
17084 * win32/testsuite/ghostpads.vcproj:
17085 * win32/testsuite/indexers.vcproj:
17086 * win32/testsuite/negotiation.vcproj:
17087 * win32/testsuite/parse.vcproj:
17088 * win32/testsuite/plugin.vcproj:
17089 * win32/testsuite/refcounting.vcproj:
17090 * win32/testsuite/schedulers.vcproj:
17091 * win32/testsuite/states.vcproj:
17092 * win32/testsuite/tags.vcproj:
17093 * win32/testsuite/threads.vcproj:
17094 remove old win32 stuff that isn't maintained and should be
17097 2005-11-30 Andy Wingo <wingo@pobox.com>
17099 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17100 loading the gst.interfaces python module bork.
17102 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17103 available since GLib 2.2. Fixes #318031.
17105 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17108 * check/.cvsignore:
17109 * check/Makefile.am:
17110 * check/elements/.cvsignore:
17111 * check/elements/fakesrc.c:
17112 * check/elements/fdsrc.c:
17113 * check/elements/identity.c:
17114 * check/generic/.cvsignore:
17115 * check/generic/states.c:
17116 * check/gst-libs/.cvsignore:
17117 * check/gst-libs/controller.c:
17118 * check/gst-libs/gdp.c:
17119 * check/gst/.cvsignore:
17120 * check/gst/capslist.h:
17122 * check/gst/gstbin.c:
17123 * check/gst/gstbuffer.c:
17124 * check/gst/gstbus.c:
17125 * check/gst/gstcaps.c:
17126 * check/gst/gstelement.c:
17127 * check/gst/gstevent.c:
17128 * check/gst/gstghostpad.c:
17129 * check/gst/gstiterator.c:
17130 * check/gst/gstmessage.c:
17131 * check/gst/gstminiobject.c:
17132 * check/gst/gstobject.c:
17133 * check/gst/gstpad.c:
17134 * check/gst/gstpipeline.c:
17135 * check/gst/gstplugin.c:
17136 * check/gst/gstsegment.c:
17137 * check/gst/gststructure.c:
17138 * check/gst/gstsystemclock.c:
17139 * check/gst/gsttag.c:
17140 * check/gst/gstutils.c:
17141 * check/gst/gstvalue.c:
17142 * check/net/.cvsignore:
17143 * check/net/gstnetclientclock.c:
17144 * check/net/gstnettimeprovider.c:
17145 * check/pipelines/.cvsignore:
17146 * check/pipelines/cleanup.c:
17147 * check/pipelines/simple_launch_lines.c:
17148 * check/pipelines/stress.c:
17149 * check/states/.cvsignore:
17150 * check/states/sinks.c:
17152 * examples/Makefile.am:
17153 * examples/appreader/.cvsignore:
17154 * examples/appreader/Makefile.am:
17155 * examples/appreader/appreader.c:
17156 * examples/controller/.cvsignore:
17157 * examples/controller/Makefile.am:
17158 * examples/controller/audio-example.c:
17159 * examples/cutter/.cvsignore:
17160 * examples/cutter/Makefile.am:
17161 * examples/cutter/cutter.c:
17162 * examples/cutter/cutter.h:
17163 * examples/events/Makefile.am:
17164 * examples/events/seek.c:
17165 * examples/helloworld/.cvsignore:
17166 * examples/helloworld/Makefile.am:
17167 * examples/helloworld/helloworld.c:
17168 * examples/helloworld2/.cvsignore:
17169 * examples/helloworld2/Makefile.am:
17170 * examples/helloworld2/helloworld2.c:
17171 * examples/launch/.cvsignore:
17172 * examples/launch/Makefile.am:
17173 * examples/launch/mp3parselaunch.c:
17174 * examples/launch/mp3play:
17175 * examples/manual/.cvsignore:
17176 * examples/manual/Makefile.am:
17177 * examples/manual/extract.pl:
17178 * examples/metadata/Makefile.am:
17179 * examples/metadata/read-metadata.c:
17180 * examples/mixer/.cvsignore:
17181 * examples/mixer/Makefile.am:
17182 * examples/mixer/mixer.c:
17183 * examples/mixer/mixer.h:
17184 * examples/pingpong/.cvsignore:
17185 * examples/pingpong/Makefile.am:
17186 * examples/pingpong/pingpong.c:
17187 * examples/plugins/.cvsignore:
17188 * examples/plugins/Makefile.am:
17189 * examples/plugins/example.c:
17190 * examples/plugins/example.h:
17191 * examples/pwg/.cvsignore:
17192 * examples/pwg/Makefile.am:
17193 * examples/pwg/extract.pl:
17194 * examples/queue/.cvsignore:
17195 * examples/queue/Makefile.am:
17196 * examples/queue/queue.c:
17197 * examples/queue2/.cvsignore:
17198 * examples/queue2/Makefile.am:
17199 * examples/queue2/queue2.c:
17200 * examples/queue3/.cvsignore:
17201 * examples/queue3/Makefile.am:
17202 * examples/queue3/queue3.c:
17203 * examples/queue4/.cvsignore:
17204 * examples/queue4/Makefile.am:
17205 * examples/queue4/queue4.c:
17206 * examples/retag/.cvsignore:
17207 * examples/retag/Makefile.am:
17208 * examples/retag/retag.c:
17209 * examples/retag/transcode.c:
17210 * examples/thread/.cvsignore:
17211 * examples/thread/Makefile.am:
17212 * examples/thread/thread.c:
17213 * examples/typefind/.cvsignore:
17214 * examples/typefind/Makefile.am:
17215 * examples/typefind/typefind.c:
17216 * examples/xml/.cvsignore:
17217 * examples/xml/Makefile.am:
17218 * examples/xml/createxml.c:
17219 * examples/xml/runxml.c:
17220 * tests/Makefile.am:
17221 * tests/check/Makefile.am:
17222 * testsuite/.cvsignore:
17223 * testsuite/Makefile.am:
17225 * testsuite/caps/.cvsignore:
17226 * testsuite/caps/Makefile.am:
17227 * testsuite/caps/app_fixate.c:
17228 * testsuite/caps/audioscale.c:
17229 * testsuite/caps/caps.c:
17230 * testsuite/caps/caps.h:
17231 * testsuite/caps/caps_strings:
17232 * testsuite/caps/compatibility.c:
17233 * testsuite/caps/deserialize.c:
17234 * testsuite/caps/enumcaps.c:
17235 * testsuite/caps/eratosthenes.c:
17236 * testsuite/caps/filtercaps.c:
17237 * testsuite/caps/fixed.c:
17238 * testsuite/caps/fraction-convert.c:
17239 * testsuite/caps/fraction-multiply-and-zero.c:
17240 * testsuite/caps/intersect2.c:
17241 * testsuite/caps/intersection.c:
17242 * testsuite/caps/normalisation.c:
17243 * testsuite/caps/random.c:
17244 * testsuite/caps/renegotiate.c:
17245 * testsuite/caps/sets.c:
17246 * testsuite/caps/simplify.c:
17247 * testsuite/caps/string-conversions.c:
17248 * testsuite/caps/structure.c:
17249 * testsuite/caps/subtract.c:
17250 * testsuite/caps/union.c:
17251 * testsuite/debug/.cvsignore:
17252 * testsuite/debug/Makefile.am:
17253 * testsuite/debug/category.c:
17254 * testsuite/debug/commandline.c:
17255 * testsuite/debug/global.c:
17256 * testsuite/debug/output.c:
17257 * testsuite/debug/printf_extension.c:
17258 * testsuite/dlopen/.cvsignore:
17259 * testsuite/dlopen/Makefile.am:
17260 * testsuite/dlopen/dlopen_gst.c:
17261 * testsuite/dlopen/loadgst.c:
17262 * testsuite/elements/.cvsignore:
17263 * testsuite/elements/Makefile.am:
17264 * testsuite/elements/gst-inspect-check.in:
17265 * testsuite/elements/struct_i386.h:
17266 * testsuite/elements/struct_size.c:
17267 * testsuite/indexers/.cvsignore:
17268 * testsuite/indexers/Makefile.am:
17269 * testsuite/indexers/cache1.c:
17270 * testsuite/indexers/indexdump.c:
17271 * testsuite/parse/.cvsignore:
17272 * testsuite/parse/Makefile.am:
17273 * testsuite/parse/parse1.c:
17274 * testsuite/parse/parse2.c:
17275 * testsuite/plugin/.cvsignore:
17276 * testsuite/plugin/Makefile.am:
17277 * testsuite/plugin/README:
17278 * testsuite/plugin/dynamic.c:
17279 * testsuite/plugin/linked.c:
17280 * testsuite/plugin/loading.c:
17281 * testsuite/plugin/registry.c:
17282 * testsuite/plugin/static.c:
17283 * testsuite/plugin/static2.c:
17284 * testsuite/plugin/testplugin.c:
17285 * testsuite/plugin/testplugin2.c:
17286 * testsuite/plugin/testplugin2_s.c:
17287 * testsuite/plugin/testplugin_s.c:
17288 * testsuite/refcounting/.cvsignore:
17289 * testsuite/refcounting/Makefile.am:
17290 * testsuite/refcounting/bin.c:
17291 * testsuite/refcounting/element.c:
17292 * testsuite/refcounting/element_pad.c:
17293 * testsuite/refcounting/mainloop.c:
17294 * testsuite/refcounting/mem.c:
17295 * testsuite/refcounting/mem.h:
17296 * testsuite/refcounting/object.c:
17297 * testsuite/refcounting/pad.c:
17298 * testsuite/refcounting/sched.c:
17299 * testsuite/refcounting/thread.c:
17300 * testsuite/states/.cvsignore:
17301 * testsuite/states/Makefile.am:
17302 * testsuite/states/bin.c:
17303 * testsuite/states/locked.c:
17304 * testsuite/states/parent.c:
17305 * testsuite/threads/.cvsignore:
17306 * testsuite/threads/159566.c:
17307 * testsuite/threads/159852.c:
17308 * testsuite/threads/Makefile.am:
17309 * testsuite/threads/queue.c:
17310 * testsuite/threads/signals.c:
17311 * testsuite/threads/staticrec.c:
17312 * testsuite/threads/thread.c:
17313 * testsuite/threads/threadb.c:
17314 * testsuite/threads/threadc.c:
17315 * testsuite/threads/threadd.c:
17316 * testsuite/threads/threade.c:
17317 * testsuite/threads/threadf.c:
17318 * testsuite/threads/threadg.c:
17319 * testsuite/threads/threadh.c:
17320 * testsuite/threads/threadi.c:
17321 move all of these under tests
17323 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17326 * tests/Makefile.am:
17329 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17331 * docs/gst/gstreamer-sections.txt:
17332 * tests/sched/.cvsignore:
17333 * tests/sched/Makefile.am:
17334 * tests/sched/cases/(fs-fs).xml:
17335 * tests/sched/cases/(fs-i-fs).xml:
17336 * tests/sched/cases/(fs-i-i-fs).xml:
17337 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17338 * tests/sched/dynamic-pipeline.c:
17339 * tests/sched/interrupt1.c:
17340 * tests/sched/interrupt2.c:
17341 * tests/sched/interrupt3.c:
17342 * tests/sched/runtestcases:
17343 * tests/sched/runxml.c:
17344 * tests/sched/sched-stress.c:
17345 * tests/sched/sort.c:
17346 * tests/sched/testcases:
17347 * tests/sched/testcases1.tc:
17348 * tests/seeking/.cvsignore:
17349 * tests/seeking/Makefile.am:
17350 * tests/seeking/seeking1.c:
17351 * tests/threadstate/.cvsignore:
17352 * tests/threadstate/Makefile.am:
17353 * tests/threadstate/test1.c:
17354 * tests/threadstate/test2.c:
17355 * tests/threadstate/threadstate1.c:
17356 * tests/threadstate/threadstate2.c:
17357 * tests/threadstate/threadstate3.c:
17358 * tests/threadstate/threadstate4.c:
17359 * tests/threadstate/threadstate5.c:
17360 remove obsolete tests
17362 * tests/bench-complexity.scm:
17363 * tests/bench-mass_elements.scm:
17364 * tests/complexity.c:
17365 * tests/complexity.gnuplot:
17366 * tests/instantiate/.cvsignore:
17367 * tests/instantiate/Makefile.am:
17368 * tests/instantiate/caps.c:
17369 * tests/mass_elements.c:
17370 * tests/network-clock-utils.scm:
17371 * tests/network-clock.scm:
17373 First pass at cleaning up tests/ dir before moving the rest
17374 Combined with CVS surgery
17376 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17379 queue has moved, update
17381 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17383 * docs/gst/gstreamer-sections.txt:
17384 remove double entries from the docs
17385 * gst/gst_private.h:
17386 * gst/gstinfo.c: (_gst_debug_init):
17387 remove the THREAD debug category
17391 * docs/gst/gstreamer.types:
17392 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17393 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17394 completely move queue and fix up debugging categories
17396 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17398 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17399 make initialization portable, using LL is not
17401 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17403 * win32/common/gstconfig.h:
17406 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17408 * win32/common/libgstreamer.def:
17409 rename symbols; sort base section
17411 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17413 * gst/gstclock.c: (do_linear_regression):
17414 remove crack non-portable handrolled DEBUG macro
17416 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17418 * docs/random/release:
17420 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17421 (gst_object_flags_get_type), (register_gst_bin_flags),
17422 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17423 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17424 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17425 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17426 (gst_caps_flags_get_type), (register_gst_clock_return),
17427 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17428 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17429 (gst_clock_flags_get_type), (register_gst_state),
17430 (gst_state_get_type), (register_gst_state_change_return),
17431 (gst_state_change_return_get_type), (register_gst_state_change),
17432 (gst_state_change_get_type), (register_gst_element_flags),
17433 (gst_element_flags_get_type), (register_gst_core_error),
17434 (gst_core_error_get_type), (register_gst_library_error),
17435 (gst_library_error_get_type), (register_gst_resource_error),
17436 (gst_resource_error_get_type), (register_gst_stream_error),
17437 (gst_stream_error_get_type), (register_gst_event_type_flags),
17438 (gst_event_type_flags_get_type), (register_gst_event_type),
17439 (gst_event_type_get_type), (register_gst_seek_type),
17440 (gst_seek_type_get_type), (register_gst_seek_flags),
17441 (gst_seek_flags_get_type), (register_gst_format),
17442 (gst_format_get_type), (register_gst_index_certainty),
17443 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17444 (gst_index_entry_type_get_type),
17445 (register_gst_index_lookup_method),
17446 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17447 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17448 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17449 (gst_index_flags_get_type), (register_gst_debug_level),
17450 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17451 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17452 (gst_iterator_result_get_type), (register_gst_iterator_item),
17453 (gst_iterator_item_get_type), (register_gst_message_type),
17454 (gst_message_type_get_type), (register_gst_mini_object_flags),
17455 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17456 (gst_pad_link_return_get_type), (register_gst_flow_return),
17457 (gst_flow_return_get_type), (register_gst_activate_mode),
17458 (gst_activate_mode_get_type), (register_gst_pad_direction),
17459 (gst_pad_direction_get_type), (register_gst_pad_flags),
17460 (gst_pad_flags_get_type), (register_gst_pad_presence),
17461 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17462 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17463 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17464 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17465 (gst_plugin_flags_get_type), (register_gst_rank),
17466 (gst_rank_get_type), (register_gst_query_type),
17467 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17468 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17469 (gst_tag_flag_get_type), (register_gst_task_state),
17470 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17471 (gst_alloc_trace_flags_get_type),
17472 (register_gst_type_find_probability),
17473 (gst_type_find_probability_get_type), (register_gst_uri_type),
17474 (gst_uri_type_get_type), (register_gst_parse_error),
17475 (gst_parse_error_get_type):
17476 * win32/common/gstenumtypes.h:
17477 * win32/common/gstversion.h:
17478 update visual studio generated files
17480 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17482 * win32/vs6/libgstbase.dsp:
17483 * win32/vs6/libgstelements.dsp:
17484 update project files for new locations
17486 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17491 reinstate and update
17496 * docs/random/LICENSE:
17499 2005-11-30 Edward Hervey <edward@fluendo.com>
17501 * gst/gsttypefind.c: (gst_type_find_register):
17502 * gst/gsttypefind.h:
17503 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17504 (gst_type_find_factory_dispose):
17505 * gst/gsttypefindfactory.h:
17506 Fix memory leak in GstTypeFindFactory.
17508 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17511 * plugins/elements/Makefile.am:
17512 * plugins/elements/gstelements.c:
17513 * plugins/elements/gstqueue.c:
17514 move queue from core to the elements plugin
17516 2005-11-29 Andy Wingo <wingo@pobox.com>
17518 * libs/gst/base/gstbasetransform.h:
17519 * libs/gst/base/gstbasesrc.h:
17520 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17522 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17523 of pointers by which to pad very extensible base classes (like the
17524 ones in libs/gst/base).
17526 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17528 * docs/gst/gstreamer-docs.sgml:
17529 * docs/gst/gstreamer-sections.txt:
17530 * docs/libs/gstreamer-libs-docs.sgml:
17531 * docs/libs/gstreamer-libs-sections.txt:
17532 moving documentation from core to lib
17534 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17536 * check/Makefile.am:
17538 * docs/gst/Makefile.am:
17540 * gst/base/.cvsignore:
17541 * gst/base/Makefile.am:
17543 * gst/base/gstadapter.c:
17544 * gst/base/gstadapter.h:
17545 * gst/base/gstbasesink.c:
17546 * gst/base/gstbasesink.h:
17547 * gst/base/gstbasesrc.c:
17548 * gst/base/gstbasesrc.h:
17549 * gst/base/gstbasetransform.c:
17550 * gst/base/gstbasetransform.h:
17551 * gst/base/gstcollectpads.c:
17552 * gst/base/gstcollectpads.h:
17553 * gst/base/gstpushsrc.c:
17554 * gst/base/gstpushsrc.h:
17555 * gst/base/gsttypefindhelper.c:
17556 * gst/base/gsttypefindhelper.h:
17557 * gst/check/Makefile.am:
17558 * gst/check/gstcheck.c:
17559 * gst/check/gstcheck.h:
17560 * gst/net/Makefile.am:
17561 * gst/net/gstnet.h:
17562 * gst/net/gstnetclientclock.c:
17563 * gst/net/gstnetclientclock.h:
17564 * gst/net/gstnettimepacket.c:
17565 * gst/net/gstnettimepacket.h:
17566 * gst/net/gstnettimeprovider.c:
17567 * gst/net/gstnettimeprovider.h:
17568 * libs/gst/Makefile.am:
17569 * libs/gst/base/Makefile.am:
17570 * libs/gst/base/gstbasetransform.c:
17571 * libs/gst/check/Makefile.am:
17572 * plugins/elements/Makefile.am:
17574 CVS surgery + support to move base, check, and net out of gst
17577 2005-11-29 Andy Wingo <wingo@pobox.com>
17579 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17581 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17584 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17586 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17588 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17590 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17591 padding; reduces object size by about 30%. We don't expect
17592 anything else to go into gstobject.
17594 * gst/gstminiobject.h (struct _GstMiniObject)
17595 (struct _GstMiniObjectClass): Only one pointer of padding; the
17596 payload is only a pointer and two ints anyway. For the class there
17597 are only two methods as well.
17599 * gst/gstelement.h (struct _GstElementClass): Removed
17600 the state_changed signal callback, it is not used.
17602 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17604 * docs/gst/gstreamer.types:
17605 fix includes, though they are a little dinky
17607 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17609 * check/Makefile.am:
17610 look in the right place for elements, a lot more chance of
17613 remove indexers and elements subdirs
17614 * plugins/Makefile.am:
17615 make indexers conditional
17617 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17621 * plugins/elements/Makefile.am:
17622 * plugins/elements/gstcapsfilter.c:
17623 * plugins/elements/gstfilesink.c:
17624 * plugins/elements/gstfilesrc.c:
17625 * plugins/elements/gstidentity.c:
17626 * plugins/indexers/Makefile.am:
17627 do CVS surgery and related build fixery to move elements
17628 and indexers in a new gstreamer/plugins directory, out of the
17631 2005-11-29 Andy Wingo <wingo@pobox.com>
17633 * check/Makefile.am:
17634 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17635 * pkgconfig/gstreamer-net.pc.in:
17636 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17639 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17641 * tools/Makefile.am:
17642 * tools/gst-complete.1.in:
17643 * tools/gst-complete.c:
17644 * tools/gst-compprep.1.in:
17645 * tools/gst-compprep.c:
17646 removing -compprep and -complete
17648 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17650 * gst/gstevent.c: (gst_event_new_new_segment),
17651 (gst_event_parse_new_segment):
17653 fix #320529 - clean up new_segment API and structure.
17654 Let's hope everyone was using the methods, and not the structure.
17656 2005-11-29 Edward Hervey <edward@fluendo.com>
17658 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17659 (gst_base_sink_event), (gst_base_sink_do_sync),
17660 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17661 Properly handle non GST_FORMAT_TIME segment
17662 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17663 Properly handle non GST_FORMAT_TIME segment
17664 * gst/gstsegment.c:
17665 This function is valid if the accumulator is 0 and the format
17666 is different from the requested format.
17668 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17670 * docs/gst/gstreamer-sections.txt:
17671 Add gst_query_new_seeking and gst_query_parse_seeking to the
17674 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17676 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17677 Treat a pad alloc with new caps the same as if we were not
17678 negotiated, in order to allow a changing upstream output
17679 to produce a new format of data.
17681 2005-11-29 Edward Hervey <edward@fluendo.com>
17683 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17684 (gst_base_transform_event), (gst_base_transform_eventfunc):
17685 The event virtual method is now properly implemented, with a default
17687 Sub classes should call the parent_class event method. They should
17688 return FALSE if they had a problem handling the given event, or don't
17689 want GstBaseTransform to send that even downstream
17690 * gst/elements/gstidentity.c: (gst_identity_class_init),
17691 (gst_identity_init), (gst_identity_event),
17692 (gst_identity_transform_ip), (gst_identity_set_property),
17693 (gst_identity_get_property):
17694 * gst/elements/gstidentity.h:
17695 Added the single-segment boolean property.
17696 If set to TRUE, it will output a single segment of data, starting from
17697 0, will eat up all incoming newsegment, and modify the timestamp of the
17698 buffers accordingly
17700 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17702 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17703 Don't ref NULL target pad (#322751). Improve docs.
17705 2005-11-29 Michael Smith <msmith@fluendo.com>
17707 * gst/gstregistryxml.c: (load_plugin):
17708 Don't crash if we failed to load a feature from a plugin.
17710 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17712 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17714 use more check API and less GLib API
17716 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17719 don't run checks if we don't have check
17720 * common/check.mak:
17721 remove the registry when running make torture
17722 * docs/gst/gstreamer-sections.txt:
17723 remove second multiply
17724 * gst/gstqueue.c: (gst_queue_loop):
17725 fix a compile warning when disabling debug
17727 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17730 Hey! Let's print the pad name if the pointer != NULL instead
17731 of when it == NULL :-)
17733 2005-11-28 Wim Taymans <wim@fluendo.com>
17735 * check/gst/gstutils.c: (GST_START_TEST):
17736 Updated check, add some scaling accuracy checking code.
17738 * gst/gstutils.c: (gst_util_div128_64),
17739 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17740 (gst_util_uint64_scale_int):
17741 Fix 6 times faster division code. Optimize for common
17742 1/1 and less common X/1 cases.
17744 2005-11-28 Wim Taymans <wim@fluendo.com>
17746 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17749 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17750 (do_linear_regression), (gst_clock_add_observation):
17752 Release lock when the clock cannot be slaved.
17753 Catch the case where the regression returned an invalid denominator.
17755 * gst/gstutils.c: (gst_util_div128_64_iterate),
17756 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17757 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17758 Add protentially more performant non-iterative 128/64 divide function
17759 that unfortunatly does not work yet.
17760 Shortcut the trivial 0/X = 0 case.
17761 Remove the warnings on overflow.
17763 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17765 * gst/gstplugin.c: (gst_plugin_register_func):
17766 everything causing a plugin not to load should be at least a WARNING
17768 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17770 * docs/random/ensonic/dparams.txt:
17771 some TODOs for the next dev cycle
17772 * libs/gst/controller/gstcontroller.c:
17773 (gst_controlled_property_set_interpolation_mode),
17774 (gst_controlled_property_new):
17775 * libs/gst/controller/gstcontroller.h:
17776 use base type to assign acccessor functions
17778 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17780 * check/Makefile.am:
17781 Oops, that should have been top_srcdir
17783 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17785 * check/Makefile.am:
17786 * check/elements/fdsrc.c: (GST_START_TEST):
17787 Use a cmdline define to specify the location of a file to use for
17788 testing, to avoid breaking distcheck.
17790 2005-11-28 Andy Wingo <wingo@pobox.com>
17792 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17794 2005-11-28 Edward Hervey <edward@fluendo.com>
17796 * tools/gst-launch.c: (main):
17797 Clarify the output strings, makes it easier to translate.
17800 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17803 don't try and build net if we don't even have <sys/socket.h>
17805 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17807 * check/Makefile.am:
17808 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17809 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17810 Add tests for fdsrc seekability
17812 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17813 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17814 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17815 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17816 * gst/elements/gstfdsrc.h:
17817 fdsrc should not be a 'live' source.
17818 Implement seeking on seekable fd's.
17820 * gst/gstquery.c: (gst_query_new_seeking),
17821 (gst_query_parse_seeking):
17823 Implement SEEKING query functions:
17824 *_new_seeking and *_parse_seeking
17826 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17828 * gst/gstelement.c: (gst_element_dispose):
17831 * gst/gstiterator.c:
17832 * gst/gststructure.c:
17835 * libs/gst/controller/gstcontroller.c:
17836 (gst_controlled_property_set_interpolation_mode):
17837 * libs/gst/controller/gstcontroller.h:
17838 * libs/gst/controller/gstinterpolation.c:
17839 (interpolate_none_get_enum_value_array):
17840 support controlling enums
17842 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17845 Improve documentation for gst_value_union().
17848 Change return value for union, intersect and subtract functions
17849 from gint to gboolean.
17851 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17853 * gst/gstvalue.c: (gst_value_serialize_any_list),
17854 (gst_value_transform_any_list_string),
17855 (gst_value_deserialize_list), (gst_value_deserialize_array),
17856 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17857 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17858 (gst_value_set_fraction_range_full),
17859 (gst_value_deserialize_fraction_range),
17860 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17861 (gst_value_deserialize_boolean),
17862 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17863 (gst_value_serialize_float), (gst_value_deserialize_float),
17864 (gst_string_wrap), (gst_value_deserialize_string),
17865 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17866 (gst_value_union_int_range_int_range),
17867 (gst_value_intersect_int_range_int_range),
17868 (gst_value_intersect_double_range_double_range),
17869 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17870 (gst_value_subtract_int_range_int_range),
17871 (gst_value_subtract_double_double_range),
17872 (gst_value_subtract_double_range_double_range),
17873 (gst_value_deserialize_fraction):
17875 Use gint, gdouble and gchar in our API instead of int, double and
17876 char (and make usage in gstvalue.c more consistent).
17878 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17880 * check/Makefile.am:
17881 * libs/gst/controller/Makefile.am:
17882 * libs/gst/dataprotocol/Makefile.am:
17883 fix up Makefile.am and remove GST_ENABLE_NEW
17885 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17889 * gst/base/Makefile.am:
17890 * gst/check/Makefile.am:
17891 * gst/elements/Makefile.am:
17892 * gst/net/Makefile.am:
17893 update LDFLAGS use some more
17895 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17897 * common/m4/gst-doc.m4:
17900 2005-11-26 Edward Hervey <edward@fluendo.com>
17902 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17903 This shouldn't issue a g_warning since it returns NULL if it
17904 couldn't find the plugin, and all functions using this behave
17905 properly on a NULL return. Switching to a GST_WARNING.
17907 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17909 * gst/gstbin.c: (gst_bin_handle_message_func):
17910 Don't leak clock messages.
17912 2005-11-25 Wim Taymans <wim@fluendo.com>
17914 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17915 (gst_util_uint64_scale_int):
17916 Optimisations, remove unneeded vars.
17918 2005-11-25 Wim Taymans <wim@fluendo.com>
17920 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17921 Added more checks for the high precision uint64 cases.
17923 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17924 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17925 Implement high precision (guint64 * guint64) / guint64.
17927 2005-11-24 Wim Taymans <wim@fluendo.com>
17929 * gst/base/gstbasesrc.c: (gst_base_src_query):
17930 Fix wrong percentage query.
17932 * gst/gstutils.c: (gst_util_uint64_scale),
17933 (gst_util_uint64_scale_int):
17934 Add some more common cases that can be handled
17935 efficiently to _scale.
17937 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17939 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17940 (gst_mini_object_suite):
17941 don't use check calls from threads; check probably isn't
17942 threadsafe and using a lock to make it threadsafe would
17943 defeat the purpose of this check
17944 * gst/check/gstcheck.c:
17945 * gst/check/gstcheck.h:
17946 use GST_DEBUG some more
17948 2005-11-24 Wim Taymans <wim@fluendo.com>
17950 * gst/gstutils.c: (gst_util_uint64_scale),
17951 (gst_util_uint64_scale_int):
17952 Chain trivial case to _scale_int.
17954 2005-11-24 Wim Taymans <wim@fluendo.com>
17956 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17957 Added test for scaling.
17962 * gst/gstutils.c: (gst_util_uint64_scale_int):
17963 Implemented high precision scaling code.
17965 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17968 do not crash on pad==NULL
17970 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17972 Patch by: Stefan Kost
17974 * common/gtk-doc.mak:
17975 * docs/gst/Makefile.am:
17976 * docs/libs/Makefile.am:
17977 Fix distcheck issues for the libraries docs build
17980 2005-11-24 Michael Smith <msmith@fluendo.com>
17982 * docs/manual/basics-helloworld.xml:
17983 Fix bug #315027: memory leak in example code in docs.
17985 2005-11-24 Michael Smith <msmith@fluendo.com>
17987 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17988 Unlock the PREROLL_LOCK in a failure case.
17990 2005-11-24 Wim Taymans <wim@fluendo.com>
17992 * docs/gst/gstreamer-sections.txt:
17993 * gst/base/gstadapter.h:
17994 * gst/base/gstbasesink.h:
17995 * gst/base/gstbasesrc.h:
17996 * gst/base/gstbasetransform.h:
17997 * gst/base/gstpushsrc.h:
17998 * gst/elements/gstfakesink.h:
17999 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
18000 * gst/elements/gstfakesrc.h:
18001 * gst/elements/gstfilesink.h:
18002 * gst/elements/gstfilesrc.h:
18005 * gst/gstbuffer.c: (_gst_buffer_copy):
18008 * gst/gstchildproxy.c:
18010 * gst/gstelement.c:
18011 * gst/gstelementfactory.c:
18012 * gst/gstelementfactory.h:
18014 * gst/gstghostpad.h:
18016 * gst/gstinterface.h:
18017 * gst/gstminiobject.c:
18018 * gst/gstminiobject.h:
18021 * gst/gstpadtemplate.h:
18022 * gst/gstpipeline.h:
18023 * gst/gstpluginfeature.h:
18026 * gst/gsttaglist.c:
18027 * gst/gsttaglist.h:
18028 * gst/gsttagsetter.c:
18029 * gst/gsttagsetter.h:
18032 * gst/gsttypefind.h:
18035 * gst/net/gstnetclientclock.c:
18036 * gst/net/gstnetclientclock.h:
18037 * gst/net/gstnettimepacket.c:
18038 * gst/net/gstnettimeprovider.c:
18039 * gst/net/gstnettimeprovider.h:
18042 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18044 * configure.ac: back to HEAD
18046 === release 0.9.6 ===
18048 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18051 releasing 0.9.6, "Always On Time"
18053 2005-11-23 Wim Taymans <wim@fluendo.com>
18055 * docs/gst/gstreamer-sections.txt:
18056 * gst/glib-compat.c:
18057 * gst/gsttagsetter.c:
18059 * gst/net/gstnetclientclock.c:
18060 * gst/net/gstnettimepacket.h:
18063 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
18065 * docs/faq/using.xml:
18066 * docs/libs/tmpl/gstcontrol.sgml:
18067 * docs/manual/advanced-dparams.xml:
18068 * docs/manual/appendix-checklist.xml:
18069 * docs/manual/basics-elements.xml:
18070 * docs/pwg/other-source.xml:
18071 * docs/random/moving-plugins:
18073 * tools/gst-launch.1.in:
18074 remove mentions of sinesrc
18076 2005-11-23 Michael Smith <msmith@fluendo.com>
18078 * docs/gst/gstreamer-sections.txt:
18079 Update for new API and API changes.
18081 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
18083 Documentation typo fix.
18084 * gst/net/gstnettimepacket.c:
18085 Documentation fixes for arguments.
18087 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18089 * gst/gststructure.c: (gst_structure_get_fraction),
18090 (gst_structure_parse_value),
18091 (gst_structure_fixate_field_nearest_fraction):
18092 * gst/gststructure.h:
18093 * gst/gstutils.c: (gst_util_uint64_scale_int):
18095 * scripts/update-funcnames:
18097 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18098 Make gst_structure_fixate_field_nearest_fraction take a numerator
18099 and denominator argument instead of a GValue
18100 add gst_structure_get_fraction helper function.
18102 2005-11-23 Wim Taymans <wim@fluendo.com>
18104 * docs/design/part-TODO.txt:
18107 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18108 * gst/net/gstnetclientclock.h:
18109 Use parent fields for timeout and window_size.
18111 2005-11-23 Andy Wingo <wingo@pobox.com>
18113 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18114 rate_num/rate_denom change.
18116 * gst/net/gstnetclientclock.c
18117 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18118 OBJECT_LOCK. Don't call add_observation with the lock.
18120 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18122 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18124 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18125 deal with rate as a fraction whose numerator and denominator are
18126 GstClockTime values.
18127 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18128 master; the other fields are protected by the SLAVE_LOCK.
18129 (do_linear_regression): Note that this must be called with the
18131 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18132 OBJECT_LOCK. Call set_calibration instead of touching the
18133 variables directly.
18134 (gst_clock_set_property, gst_clock_get_property): Protect
18135 master/slave parameters with the SLAVE_LOCK.
18137 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18138 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18139 note that all of the instance variables that add_observation and
18140 the set_master functions use are protected by that lock and not
18142 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18144 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18145 the caller to take the object lock.
18147 2005-11-23 Wim Taymans <wim@fluendo.com>
18149 * gst/gsterror.c: (_gst_core_errors_init):
18151 Add error for clock stuff.
18153 * gst/gstpipeline.c: (gst_pipeline_change_state),
18154 (gst_pipeline_set_clock):
18155 Post clock error when clock cannot be used in a pipeline.
18157 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18159 * docs/gst/gstreamer-sections.txt:
18160 make two symbols from gstinfo private for the docs
18161 * gst/base/gstcollectpads.h:
18163 fix doc typos, update docs
18165 2005-11-22 Wim Taymans <wim@fluendo.com>
18167 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18168 (gst_base_sink_wait), (gst_base_sink_do_sync),
18169 (gst_base_sink_handle_event):
18170 * gst/base/gstbasesink.h:
18171 No need to store the clock, the parent element class already
18174 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18175 Updates for clock_set returning a gboolean
18177 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18178 (gst_clock_id_wait_async), (gst_clock_class_init),
18179 (gst_clock_init), (gst_clock_finalize),
18180 (gst_clock_get_internal_time), (gst_clock_get_time),
18181 (gst_clock_slave_callback), (gst_clock_set_master),
18182 (gst_clock_get_master), (do_linear_regression),
18183 (gst_clock_add_observation), (gst_clock_set_property),
18184 (gst_clock_get_property):
18186 Implement master/slave. When setting a clock as a slave, a
18187 periodic timeout is scheduled to sample master and slave times.
18188 Then the slave clock is recalibrated to match offset and rate
18189 of the master clock.
18190 Update logging a bit.
18191 Add flag so that a clock can state that is cannot be slaved to
18194 * gst/gstelement.c: (gst_element_set_clock):
18195 * gst/gstelement.h:
18196 The set clock returns a gboolean for when an element cannot
18197 deal with the selected clock in the pipeline.
18199 * gst/gstpipeline.c: (gst_pipeline_change_state),
18200 (gst_pipeline_set_clock):
18201 * gst/gstpipeline.h:
18202 Handle the case where the selected clock cannot be set on
18205 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18206 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18207 (gst_net_client_clock_set_property),
18208 (gst_net_client_clock_get_property),
18209 (gst_net_client_clock_observe_times):
18210 * gst/net/gstnetclientclock.h:
18211 Use regression code in GstClock parent, remove duplicated
18214 2005-11-22 Michael Smith <msmith@fluendo.com>
18216 * gst/gstutils.c: (gst_util_clock_time_scale):
18218 * docs/gst/gstreamer-sections.txt:
18219 Rename method to have extra underscore.
18221 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18223 * gst/elements/Makefile.am:
18224 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18225 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18226 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18227 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18228 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18229 * gst/elements/gstfakesrc.h:
18230 * gst/gstqueue.c: (queue_leaky_get_type):
18231 correctly fix GEnumValues so that nick is the short lowercase
18233 * tools/gst-inspect.c: (print_element_properties_info):
18234 also show the nick, since it's useful to use from parse_launch
18238 2005-11-22 Michael Smith <msmith@fluendo.com>
18240 * gst/gstutils.c: (gst_util_clocktime_scale):
18242 * docs/gst/gstreamer-sections.txt:
18243 Add util method for scaling a clocktime by a fraction. Useful
18244 implementation is left as an exercise for the reader.
18246 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18248 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18249 If needed, allocate storage in the destination value during
18252 2005-11-22 Edward Hervey <edward@fluendo.com>
18254 * docs/gst/gstreamer-sections.txt:
18257 * gst/gsturitype.c:
18258 * gst/gsturitype.h:
18259 * gst/gstutils.c: (gst_util_set_object_arg):
18260 * tools/gst-compprep.c: (main):
18261 * tools/gst-inspect.c: (print_element_properties_info):
18262 Removed GstURI, closes bug #321061
18264 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18266 * check/gst/gststructure.c: (GST_START_TEST):
18267 * gst/gststructure.c: (gst_structure_parse_value):
18268 Oops, broke automatic string type parsing.
18269 Add a test to catch it in future.
18271 2005-11-22 Andy Wingo <wingo@pobox.com>
18273 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18274 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18275 Actually rename the function implementations. Grr.
18277 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18279 * check/gst/capslist.h:
18281 * check/gst/gststructure.c: (GST_START_TEST),
18282 (gst_structure_suite):
18283 Test automatic value type detection in gst_structure_from_string.
18284 * gst/gststructure.c: (gst_structure_parse_value):
18285 Add fraction as a type we try and guess automatically in
18286 caps/structure strings.
18288 2005-11-22 Andy Wingo <wingo@pobox.com>
18290 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18292 * gst/gsttagsetter.h:
18293 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18294 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18295 (gst_tag_setter_add_tag_valist)
18296 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18297 _add_values, _add_valist, and _add_valist_values. Since this is an
18298 interface the function suffixes should be more explicit so
18299 language binding don't end up with element.add_valist ->
18300 gst_tag_setter_add_valist, for example. Fixes #322069.
18302 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18304 * check/gst/gstcaps.c: (GST_START_TEST):
18305 Extend caps string tests to check that a caps to string
18306 conversion is reversible and produces the same caps.
18308 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18309 Output "fraction" as the generic type fraction range, so caps
18310 serialisation and deserialisation works.
18311 * check/gst/capslist.h:
18312 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18313 Support 'MIN' and 'MAX' for deserialising fractions.
18315 2005-11-22 Andy Wingo <wingo@pobox.com>
18317 * gst/gstevent.h (gst_event_new_new_segment)
18318 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18319 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18320 Renamed from *_newsegment, *_buffersize, *_notarget.
18322 * scripts/update-funcnames: New script, performs the changes
18325 2005-11-22 Wim Taymans <wim@fluendo.com>
18327 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18328 Make sure the GstFlowReturn is returned.
18330 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18331 (gst_bus_add_signal_watch):
18333 add gst_bus_add_signal_watch_full.
18335 * gst/gstplugin.c: (gst_plugin_load_file):
18336 Small style cleanup.
18338 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18340 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18341 Block the fakesrc srcpad when we send an event, to avoid
18342 contention on the stream_lock causing random test failures.
18344 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18346 * check/gst/gstvalue.c: (GST_START_TEST):
18347 * gst/gstvalue.c: (gst_value_fraction_subtract):
18350 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18353 include "gstchildproxy.h"
18354 * gst/gstchildproxy.h:
18355 * libs/gst/controller/gstcontroller.h:
18356 use G_GNUC_NULL_TERMINATED
18358 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18360 * check/gst/capslist.h:
18361 * check/gst/gstcaps.c: (GST_START_TEST):
18362 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18363 * gst/gststructure.c: (gst_structure_parse_range),
18364 (gst_structure_fixate_field_nearest_fraction):
18365 * gst/gststructure.h:
18366 * gst/gstvalue.c: (gst_value_init_fraction_range),
18367 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18368 (gst_value_collect_fraction_range),
18369 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18370 (gst_value_set_fraction_range_full),
18371 (gst_value_get_fraction_range_min),
18372 (gst_value_get_fraction_range_max),
18373 (gst_value_serialize_fraction_range),
18374 (gst_value_transform_fraction_range_string),
18375 (gst_value_compare_fraction_range),
18376 (gst_value_deserialize_fraction_range),
18377 (gst_value_intersect_fraction_fraction_range),
18378 (gst_value_intersect_fraction_range_fraction_range),
18379 (gst_value_subtract_fraction_fraction_range),
18380 (gst_value_subtract_fraction_range_fraction),
18381 (gst_value_subtract_fraction_range_fraction_range),
18382 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18383 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18384 (gst_value_transform_string_fraction), (_gst_value_initialize):
18386 Implement fraction ranges and extend GstFraction to support
18387 arithmetic subtraction, as well as deserialization from integer
18388 strings such as "100"
18389 Add a testsuite as for int and double range set operations
18391 2005-11-21 Andy Wingo <wingo@pobox.com>
18393 * gst/gsttaglist.h:
18395 * gst/gststructure.h: Add glib-compat.h.
18397 2005-11-21 Wim Taymans <wim@fluendo.com>
18399 * gst/gstbin.c: (gst_bin_change_state_func):
18402 2005-11-21 Wim Taymans <wim@fluendo.com>
18404 * gst/gstsegment.h:
18405 And add a nice define too.
18407 2005-11-21 Wim Taymans <wim@fluendo.com>
18409 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18410 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18411 (gst_segment_set_duration), (gst_segment_set_last_stop),
18412 (gst_segment_set_seek), (gst_segment_set_newsegment),
18413 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18414 (gst_segment_clip):
18415 * gst/gstsegment.h:
18416 Make binding friendly.
18418 2005-11-21 Andy Wingo <wingo@pobox.com>
18420 * gst/gsttagsetter.h:
18421 * gst/gsttaglist.h:
18422 * gst/gststructure.h:
18424 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18427 * gst/gsterror.c (_gst_core_errors_init):
18428 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18431 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18432 (noinst_HEADERS): noinst the -private.
18434 2005-11-21 Michael Smith <msmith@fluendo.com>
18437 * gst/gstregistry.h:
18438 Remove unimplemented declarations for which we can see no sensible
18441 2005-11-21 Andy Wingo <wingo@pobox.com>
18443 * gst/gst.h: Include glib-compat.h.
18445 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18447 * gst/glib-compat.c: Include the public and the private header.
18449 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18453 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18455 * check/gst/gstevent.c (create_custom_events): Check that
18456 FLUSH_STOP is serialized.
18458 * check/elements/identity.c (event_func):
18459 * check/elements/fakesrc.c (event_func): No stream lock, the core
18462 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18463 stream lock taking, yay.
18465 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18466 ensure that core takes the stream lock.
18468 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18471 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18472 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18473 it already. For the flush start we do take it though so we get the
18474 right preroll state change messages.
18476 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18477 the stream lock here, the core does it for us.
18479 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18480 GST_STREAM_GET_LOCK.
18481 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18482 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18483 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18484 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18485 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18486 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18488 * gst/gstpad.c: Update for stream lock name change.
18490 * gst/base/gstbasesink.c: Update for preroll lock name change.
18492 2005-11-21 Wim Taymans <wim@fluendo.com>
18494 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18495 (gst_clock_get_master):
18497 * gst/gstsystemclock.c: (gst_system_clock_init):
18498 Convert Clock flags to object flags.
18499 Added methods to manage master/slave clocks.
18501 2005-11-21 Wim Taymans <wim@fluendo.com>
18503 * check/gst/gstsegment.c: (GST_START_TEST):
18504 * docs/design/part-TODO.txt:
18505 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18506 (gst_base_sink_event), (gst_base_sink_do_sync),
18507 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18508 (gst_base_sink_query), (gst_base_sink_change_state):
18509 * gst/base/gstbasesink.h:
18510 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18511 (gst_base_src_default_newsegment),
18512 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18513 (gst_base_src_get_range), (gst_base_src_loop),
18514 (gst_base_src_change_state):
18515 * gst/base/gstbasesrc.h:
18516 * gst/base/gstbasetransform.c:
18517 (gst_base_transform_prepare_output_buf),
18518 (gst_base_transform_event), (gst_base_transform_change_state):
18519 * gst/base/gstbasetransform.h:
18520 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18521 (gst_collect_pads_event):
18522 * gst/base/gstcollectpads.h:
18523 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18524 (gst_fake_src_create):
18525 * gst/elements/gstfakesrc.h:
18526 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18527 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18528 (gst_segment_set_last_stop), (gst_segment_set_seek),
18529 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18530 (gst_segment_to_running_time), (gst_segment_clip):
18531 * gst/gstsegment.h:
18532 More segment updates, replace code in plugins with segment
18535 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18537 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18538 Don't ignore sscanf results
18540 2005-11-21 Andy Wingo <wingo@pobox.com>
18542 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18545 * *.c: Ran scripts/update-macros. Oh yes.
18547 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18548 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18551 * scripts/update-macros: New script. Run it on your files to
18552 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18555 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18557 * docs/gst/Makefile.am:
18558 * docs/gst/gstreamer-docs.sgml:
18559 * docs/gst/gstreamer-sections.txt:
18560 * docs/gst/gstreamer.types:
18562 more docs fixes, add new api to the docs
18564 2005-11-21 Andy Wingo <wingo@pobox.com>
18566 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18567 state_broadcast call.
18569 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18571 2005-11-21 Julien MOUTTE <julien@moutte.net>
18573 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18574 function calls for arrays.
18576 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18578 * docs/random/ensonic/media-device-daemon.txt:
18579 wild idea, can this be done?
18580 * docs/gst/gstreamer-sections.txt:
18585 * gst/gstpluginfeature.c:
18589 doc fixes and additions
18591 2005-11-21 Andy Wingo <wingo@pobox.com>
18593 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18594 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18595 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18596 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18597 private to the basesrc implementation.
18599 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18600 behalf of event function if necessary. It should no longer be
18601 necessary to take the stream lock in pad's event functions. Fixes
18604 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18605 * docs/gst/gstreamer-sections.txt:
18606 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18607 (gst_structure_fixate_field_nearest_double),
18608 (gst_structure_fixate_field_boolean):
18609 * gst/gststructure.h:
18610 * win32/common/libgstreamer.def:
18611 * win32/gstreamer.def:
18613 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18616 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18618 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18619 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18620 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18621 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18622 (gst_fdsrc_uri_handler_init):
18623 * gst/elements/gstfdsrc.h:
18624 Port fd:// URI handler from 0.8 to fdsrc
18626 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18628 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18629 (gst_value_serialize_fourcc):
18631 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18632 consistent with our other format defines (#320324).
18634 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18636 * gst/gstvalue.c: (gst_value_is_fixed):
18637 Revert previous commit. Value lists are by definition
18638 not fixed, as they are a list of possible values.
18640 2005-11-21 Andy Wingo <wingo@pobox.com>
18642 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18643 during the stable series if we need it. Fixes #319178.
18645 * gst/gstevent.c (gst_event_new_filler): Removed.
18647 * check/gst/gstevent.c: Update comment about filler events.
18649 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18651 * gst/gstvalue.c: (gst_value_is_fixed):
18652 Should handle both value arrays and value lists.
18654 2005-11-21 Andy Wingo <wingo@pobox.com>
18656 patch by: Alessandro Dessina <alessandro nnva org>
18658 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18659 functions to access arrays. Fixes #321962.
18661 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18663 * docs/gst/gstreamer.types:
18664 gst_collectpads_get_type => gst_collect_pads_get_type.
18666 * gst/base/gstbasetransform.c:
18667 Remove unused SIGNAL_HANDOFF enum.
18669 2005-11-21 Andy Wingo <wingo@pobox.com>
18671 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18672 the event type (upstream, downstream, serialized). Renamed
18673 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18674 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18675 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18677 * gst/gstevent.c: Update for new CUSTOM event names.
18679 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18682 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18685 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18687 * docs/gst/gstreamer-sections.txt:
18688 * win32/common/libgstbase.def:
18689 * win32/libgstbase.def:
18690 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18691 (gst_collect_pads_class_init), (gst_collect_pads_init),
18692 (gst_collect_pads_finalize), (gst_collect_pads_new),
18693 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18694 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18695 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18696 (gst_collect_pads_start), (gst_collect_pads_stop),
18697 (gst_collect_pads_peek), (gst_collect_pads_pop),
18698 (gst_collect_pads_available), (gst_collect_pads_read),
18699 (gst_collect_pads_flush), (gst_collect_pads_event),
18700 (gst_collect_pads_chain):
18701 * gst/base/gstcollectpads.h:
18702 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18703 unimplemented functions as unimplemented. Add padding to
18704 GstCollectData. (#320766, #320423)
18706 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18708 * gst/gstmessage.c:
18709 Improve docs for DURATION message (usage of duration parameter)
18712 2005-11-20 Wim Taymans <wim@fluendo.com>
18714 * check/Makefile.am:
18715 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18719 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18720 (gst_segment_set_seek), (gst_segment_set_newsegment),
18721 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18722 (gst_segment_clip):
18723 * gst/gstsegment.h:
18724 Added segment helper structure and methods. Not fully implemented
18726 Added segment check.
18728 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18730 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18731 Add a deserialisation test for fractions
18732 * examples/metadata/read-metadata.c: (message_loop),
18733 (make_pipeline), (main):
18734 Fix up metadata reading sample.
18735 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18737 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18738 Don't try and fixate empty caps
18739 * gst/gst_private.h:
18740 Wrap in G_BEGIN_DECLS/G_END_DECLS
18741 * gst/gstvalue.c: (gst_value_collect_fraction),
18742 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18743 (gst_value_transform_string_fraction),
18744 (gst_value_compare_fraction):
18745 Add some extra guards to ensure that we don't end up
18746 with an invalid denominator of 0 in a gstfraction and
18747 that fractions always get reduced.
18749 2005-11-20 Wim Taymans <wim@fluendo.com>
18751 * docs/gst/gstreamer-sections.txt:
18753 * gst/gstelement.c:
18762 2005-11-20 Wim Taymans <wim@fluendo.com>
18764 * docs/design/part-TODO.txt:
18766 Make a proper enum of the flag.
18768 2005-11-19 Wim Taymans <wim@fluendo.com>
18770 * docs/design/part-TODO.txt:
18771 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18772 (gst_format_to_quark), (gst_format_register):
18774 * gst/gstquery.c: (_gst_query_initialize),
18775 (gst_query_type_get_name), (gst_query_type_to_quark),
18776 (gst_query_type_register):
18778 Add type to quark and type to string conversions.
18780 2005-11-19 Andy Wingo <wingo@pobox.com>
18782 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18785 2005-11-19 Wim Taymans <wim@fluendo.com>
18787 * docs/design/part-TODO.txt:
18788 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18789 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18790 (gst_bin_handle_message_func):
18792 Make message handling overridable.
18794 2005-11-19 Andy Wingo <wingo@pobox.com>
18796 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18799 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18801 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18802 is a GstClockTime. Fixes #321710.
18804 * gst/gstclock.h (GstClock): Remove offset property. Add
18805 internal_calibration and external_calibration. Fix padding. Pad
18806 also by GstClockTime so we don't run into problems.
18808 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18809 (gst_clock_get_rate_offset): Remove.
18810 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18813 * gst/gstutils.c (g_static_rec_cond_wait)
18814 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18816 * gst/gstbin.c: Remove terrible continue_state prototype.
18818 * gst/gstelement.h (gst_element_continue_state): Make public.
18820 * gst/gstelement.h:
18821 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18822 by continue_state. Fixes #319389.
18824 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18825 Really fixes #168438. However I don't see anywhere where the
18826 filter function is called... stupid GStreamer...
18828 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18829 don't have a dispose function, so it won't get called when the
18830 object is unreffed, but oh well!
18832 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18833 allows a destroy function to be set so user_data can be freed.
18835 (gst_index_set_filter): Call gst_index_set_filter_full.
18837 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18839 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18840 string should produce an error, given the lack of a way to
18841 represent NULL strings. Fixes #165650.
18844 * gst/gstvalue.c (gst_value_array_append_value)
18845 (gst_value_array_prepend_value, gst_value_array_get_size)
18846 (gst_value_array_get_value): New API, copied from
18847 gst_value_list_*, only operates on arrays.
18848 (gst_value_list_append_value, gst_value_list_prepend_value)
18849 (gst_value_list_concat, gst_value_list_get_size)
18850 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18852 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18853 init_list, because it works on both.
18854 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18855 (gst_value_copy_list_or_array): Renamed from copy_list.
18856 (gst_value_free_list_or_array): Renamed from free_list.
18857 (gst_value_collect_list_or_array): Renamed from collect_list.
18858 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18859 (gst_value_list_or_array_peek_pointer): Renamed from
18861 (_gst_value_array_value_table, _gst_value_list_value_table):
18862 Update value table functions.
18863 (gst_value_compare_list_or_array): Renamed from compare_list.
18865 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18868 * gst/gsttaglist.c:
18869 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18870 GstTagList*. Fixes #143472.
18872 * gst/gststructure.h: Clarify what the foreach/map functions can
18873 or can't do to their arguments.
18875 2005-11-18 Wim Taymans <wim@fluendo.com>
18877 * gst/gstclock.c: (gst_clock_set_calibration),
18878 (gst_clock_get_calibration):
18880 Calibration can be set with internal time equal to current
18883 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18889 2005-11-18 Andy Wingo <wingo@pobox.com>
18892 * pkgconfig/gstreamer-net.pc.in:
18893 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18894 * pkgconfig/Makefile.am: Add net pkgconfig files.
18896 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18899 * gst/gstghostpad.c:
18905 2005-11-18 Andy Wingo <wingo@pobox.com>
18907 * gst/net/gstnetclientclock.c: Turn off debugging.
18909 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18910 times connverge somewhat. Can't make a real test.
18912 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18913 integer arithmetic. Return the minimum of the domain, which can be
18914 set as "internal" for gst_clock_set_calibration.
18915 (gst_net_client_clock_observe_times): Call _set_calibration.
18916 (gst_net_client_clock_new): Call _set_calibration instead of
18919 * check/net/gstnetclientclock.c (test_functioning): Use the right
18923 * gst/gstclock.c (gst_clock_get_calibration)
18924 (gst_clock_set_calibration): New functions, obsolete the ones I
18925 added yesterday. Doh. Precision issues mean we have to extrapolate
18926 from a point in the more recent past than 1970.
18927 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18929 (gst_clock_adjust_unlocked): Use the right calibration data.
18931 2005-11-18 Edward Hervey <edward@fluendo.com>
18933 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18934 Also reset the ->current_* values in READY->PAUSED
18936 2005-11-18 Andy Wingo <wingo@pobox.com>
18938 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18939 Whoops, check the right fd. Also add some debugging.
18940 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18941 (do_linear_regression): Add a crapload of debugging. Subtract off
18942 the minimum values from the input series to discard unneeded bits.
18943 Use only int arithmetic. There is still double arithmetic when
18944 calculating the intercept that needs fixing. Return boolean to
18945 indicate success; FALSE would mean the domain or range is too
18946 great. Still needs fixes.
18948 2005-11-18 Wim Taymans <wim@fluendo.com>
18950 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18951 For the current position in stream time, we need to subtract
18954 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18955 Release lock before calling the callback function of async
18958 2005-11-18 Andy Wingo <wingo@pobox.com>
18960 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18961 Port goes all the way to MAXUINT16.
18963 * gst/net/gstnettimeprovider.c: Make the port range the same as
18964 for the kernel: 0 assigns, otherwise ports are less than
18967 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18970 * check/net/gstnetclientclock.c (test_functioning): Add the start
18973 2005-11-18 Wim Taymans <wim@fluendo.com>
18975 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18976 (gst_bin_remove_func), (bin_bus_handler):
18978 Removing a clock provider from a bin, triggers a clock lost message
18979 so that a new clock will be selected.
18980 Adding a clock to a bin triggers a clock provider message.
18981 Make sure we reselect a clock when we received a clock lost message.
18982 Keep a reference to the element that provided the clock.
18984 2005-11-18 Andy Wingo <wingo@pobox.com>
18986 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18987 the clock initially so it produces values around the base time.
18988 (gst_net_client_clock_class_init): Typo fix.
18989 (gst_net_client_clock_thread): Add note on when the socket gets
18992 2005-11-17 Wim Taymans <wim@fluendo.com>
18994 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18995 Free remote and local time arrays.
18997 2005-11-17 Wim Taymans <wim@fluendo.com>
18999 * gst/net/gstnetclientclock.c: (do_linear_regression),
19000 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
19001 Fix compilation, uninitialized vars and a forgotten continue.
19003 2005-11-17 Andy Wingo <wingo@pobox.com>
19005 * check/Makefile.am (check_PROGRAMS):
19006 * check/net/gstnetclientclock.c: Add a most minimal test for the
19007 net client clock. More to come later.
19009 * gst/net/gstnet.h:
19010 * gst/net/Makefile.am: Add netclientclock.
19012 * gst/net/gstnetclientclock.h:
19013 * gst/net/gstnetclientclock.c: New files, implement an untested
19014 GstClock that takes its time from a network time provider.
19015 Implements the algorithm in network-clock.scm.
19017 * tests/network-clock.scm (*window-size*): Rename from
19019 * tests/network-clock.scm (network-time):
19020 * tests/network-clock-utils.scm (q-push): Update callers.
19022 2005-11-17 Wim Taymans <wim@fluendo.com>
19024 * gst/gstbin.c: (gst_bin_provide_clock_func),
19025 (gst_bin_sort_iterator_new):
19026 And unref the child too..
19028 2005-11-17 Wim Taymans <wim@fluendo.com>
19030 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
19031 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
19032 Refactor the sort iterator so it can be used while holding the
19034 Make clock selection select a clock closest to the source.
19036 2005-11-17 Michael Smith <msmith@fluendo.com>
19038 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
19039 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
19041 Anonymous structs are a gcc (and some other compilers) extension, so
19042 don't use them. Since this is only for ABI-compatibility, and our
19043 API/ABI freeze is over in a few days, this whole thing will only
19044 last a few days, so don't bother trying to think up a meaningful
19045 name for the struct.
19047 2005-11-17 Andy Wingo <wingo@pobox.com>
19049 * gst/gstclock.h (GstClock): Add rate and offset properties,
19050 preserving ABI stability. Add rate/offset accessors. Will file bug
19051 for the freeze break.
19053 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
19054 and offset, trying to keep precision and avoiding
19055 underflow/overflow.
19056 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
19057 functions. Make gst_clock_set_time_adjust obsolete.
19058 (gst_clock_set_time_adjust): Note that this function is obsolete.
19059 Will file bug soon.
19061 * gst/base/gstbasetransform.h: Make the ABI-stability hack
19062 greppable by using GST_PADDING-1+1.
19064 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
19066 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19068 * gst/gstmessage.c: (gst_message_parse_clock_lost):
19069 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
19071 * gst/gstpadtemplate.h:
19072 * gst/gstpluginfeature.h:
19073 Don't use c++ style comments in headers (#321638).
19075 2005-11-16 Andy Wingo <wingo@pobox.com>
19077 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
19080 * check/net/gstnettimeprovider.c: Check to see that the time
19081 provider actually provides times. Works, yo!
19083 2005-11-16 Wim Taymans <wim@fluendo.com>
19085 * check/Makefile.am:
19088 * check/elements/fakesrc.c: (GST_START_TEST):
19089 Set element to NULL before disposing it.
19091 2005-11-16 Andy Wingo <wingo@pobox.com>
19093 * gst/net/Makefile.am:
19094 * gst/net/gstnet.h:
19095 * gst/net/gstnettimeprovider.c:
19096 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19097 provider, include it from gstnet.h, and add it to the build.
19099 * gst/net/gstnettimepacket.h:
19100 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19101 sending and receiving.
19103 2005-11-16 Wim Taymans <wim@fluendo.com>
19105 * check/Makefile.am:
19106 Enable valgrind check.
19108 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19109 (gst_fake_src_alloc_buffer):
19112 2005-11-16 Wim Taymans <wim@fluendo.com>
19114 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19115 Call parent finalize too.
19117 2005-11-16 Wim Taymans <wim@fluendo.com>
19119 * check/Makefile.am:
19120 Enable valgrind check that should work fine now.
19122 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19123 * gst/gstqueue.c: (gst_queue_init):
19124 Fix memleaks in pad allocation.
19126 2005-11-16 Andy Wingo <wingo@pobox.com>
19128 * gst/net/Makefile.am:
19129 * gst/net/gstnet.h: New part of core to hold network elements and
19130 objects. Put in core because it exposes API that applications want
19131 to use. The library is named libgstnet-tempname right now because
19132 of the existing libgstnet in gst-plugins-base. Solution is
19133 probably to rename the one in plugins-base; will file a bug for
19136 * gst/net/gstnettimeprovider.c:
19137 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19138 get_time call over the network.
19141 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19143 * check/Makefile.am:
19144 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19145 get additions shortly.
19147 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19149 * gst/gstpad.c: (gst_pad_new_from_static_template):
19151 add gst_pad_new_from_static_template functions
19152 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19153 (gst_check_setup_sink_pad):
19154 * gst/elements/gsttee.c: (gst_tee_init):
19157 2005-11-16 Wim Taymans <wim@fluendo.com>
19159 * gst/gstpad.c: (gst_pad_pause_task):
19160 Removed warning, it's not really an error either.
19162 2005-11-16 Wim Taymans <wim@fluendo.com>
19164 * gst/base/gstbasetransform.c:
19165 (gst_base_transform_prepare_output_buf),
19166 (gst_base_transform_event):
19167 Check if the caps are NULL, this can happen if the element
19168 is shutting down and the pad caps are set to NULL.
19170 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19172 * gst/elements/gsttee.c: (gst_tee_init):
19173 fix pad template leak in tee
19175 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19177 * gst/glib-compat.c: (g_value_dup_gst_object):
19178 * gst/glib-compat.h:
19179 * gst/gstpad.c: (gst_pad_set_property):
19180 use gst_object_ref when setting the pad template; this will
19181 trigger the pad template leaks on GLib 2.6 and the slaves
19183 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19185 * gst/glib-compat.c: (gst_flags_get_first_value):
19186 * gst/glib-compat.h:
19187 * gst/gstregistryxml.c:
19188 remove functions copied from GLib 2.6
19190 2005-11-16 Michael Smith <msmith@fluendo.com>
19193 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19194 do, but only breaks with newer valgrind versions. We're not a
19195 valgrind tool, we have no link-time dependencies on libcoregrind.
19197 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19199 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19201 * gst/gstmessage.h:
19204 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19206 * gst/base/gstbasesrc.c: (gst_base_src_init):
19207 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19208 * gst/gstqueue.c: (gst_queue_init):
19209 * gst/gstregistryxml.c: (load_feature):
19210 Revert all these unrefs, they don't even pass make check !
19212 2005-11-15 Johan Dahlin <johan@gnome.org>
19214 * gst/base/gstbasesrc.c: (gst_base_src_init):
19215 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19216 * gst/gstqueue.c: (gst_queue_init):
19217 Free pad templates, fixes a couple of leaks.
19219 2005-11-15 Daniel Fischer <dan at f3c dot com>
19221 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19223 * gst/gstpad.c: (gst_pad_get_property):
19224 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19225 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19228 2005-11-15 Wim Taymans <wim@fluendo.com>
19233 2005-11-15 Andy Wingo <wingo@pobox.com>
19235 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19237 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19238 using GST_CLOCK_TIME_NONE to disable base time management.
19239 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19240 time if it was NONE before.
19241 (gst_pipeline_change_state): Only munge the base time if
19242 stream_time != GST_CLOCK_TIME_NONE.
19244 * check/gst/gstpipeline.c (test_base_time): Punt around the
19245 problem of the probe not being called, because that's not the
19246 issue I'm looking at. Add a check that setting stream_time to NONE
19247 disables base time management.
19249 2005-11-15 Wim Taymans <wim@fluendo.com>
19251 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19252 segment_stop == -1 at startup.
19254 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19255 (gst_base_transform_change_state):
19256 Init segment values at start.
19258 2005-11-15 Wim Taymans <wim@fluendo.com>
19260 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19261 0 segment values are 0 in any format.
19263 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19264 * gst/base/gstbasetransform.h:
19265 Parse newsegment correctly in basetransform
19267 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19268 Sync to clock using updated segment values.
19270 2005-11-15 Andy Wingo <wingo@pobox.com>
19272 * check/gst/gstpipeline.c (test_base_time): Add check that the
19273 base time and stream time are reset correctly.
19275 2005-11-15 Wim Taymans <wim@fluendo.com>
19277 * docs/design/part-TODO.txt:
19278 Some more TODO items.
19280 2005-11-15 Andy Wingo <wingo@pobox.com>
19282 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19283 error if the user selected "no clock" as the clocking method.
19285 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19286 timestamps with live capture.
19288 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19289 is 0 but we are a live source, timestamp the buffers using the
19292 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19294 * docs/gst/gstreamer-sections.txt:
19296 * gst/gstghostpad.c:
19301 2005-11-14 Wim Taymans <wim@fluendo.com>
19304 add suppressions from Wim's Debian machine
19306 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19309 add suppressions from Andy's AMD64 Ubuntu machine
19311 2005-11-14 Andy Wingo <wingo@pobox.com>
19313 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19314 STATE_LOCK not necessary. Fixes #311489.
19316 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19319 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19320 this function is not implemented.
19322 2005-11-14 Julien MOUTTE <julien@moutte.net>
19324 * gst/base/gstbasetransform.c:
19325 (gst_base_transform_prepare_output_buf):
19326 Ref the source pad caps while we need them.
19329 2005-11-11 Wim Taymans <wim@fluendo.com>
19331 * docs/gst/gstreamer-sections.txt:
19332 Added some docs for GstCollectData.
19334 * gst/base/gstadapter.c:
19335 Some small code example fix.
19337 * gst/base/gstcollectpads.c:
19338 * gst/base/gstcollectpads.h:
19339 Document some more.
19341 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19343 * configure.ac: back to HEAD
19345 === release 0.9.5 ===
19347 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19350 releasing 0.9.5, "Bike Lunch Day"
19352 2005-11-11 Wim Taymans <wim@fluendo.com>
19354 * gst/gstbuffer.c: (_gst_buffer_copy):
19357 * gst/gstcaps.c: (gst_caps_is_equal):
19359 Make _is_equal fast in the trivial cases.
19361 * gst/gstminiobject.c:
19362 * gst/gstminiobject.h:
19363 More docs. Spifify .h file.
19368 2005-11-11 Wim Taymans <wim@fluendo.com>
19370 * gst/base/gstbasetransform.c:
19371 (gst_base_transform_prepare_output_buf),
19372 (gst_base_transform_handle_buffer):
19374 If we're processing a buffer and need to allocate an output
19375 buffer, we cannot accept a format change. If we did get a
19376 format change, we have to alloc a buffer ourselves of the
19379 2005-11-11 Wim Taymans <wim@fluendo.com>
19381 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19382 While checking the flag for reentrancy in the gstcaps function
19383 is nice to detect recursive invocations, it also makes it
19384 impossible to call getcaps from multiple threads, which must be
19385 possible. So, checking for recursive calls has to go.
19387 2005-11-11 Michael Smith <msmith@fluendo.com>
19389 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19390 Don't sync on buffers that fall partially outside our current
19391 segment. Prevents an assertion failure/abort playing some files.
19393 2005-11-10 Andy Wingo <wingo@pobox.com>
19395 * check/gst/gstbin.c (test_message_state_changed_children): Style
19398 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19399 gst_bus_poll with the signal watch. Ensures that poll and a signal
19400 watch see the same messages.
19402 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19403 a poll and a watch at the same time get the same messages.
19405 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19407 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19408 * gst/gstcaps.c: (gst_caps_intersect):
19409 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19410 and it's not needed.
19412 2005-11-10 Wim Taymans <wim@fluendo.com>
19414 * docs/design/part-TODO.txt:
19417 2005-11-10 Wim Taymans <wim@fluendo.com>
19419 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19420 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19421 (gst_base_src_do_sync), (gst_base_src_get_range):
19422 Implement clock sync in base class.
19424 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19426 patch by: Tim-Philipp Müller <tim at centricular dot net>
19428 * gst/gststructure.c: (gst_structure_parse_field),
19429 (gst_structure_from_string):
19430 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19431 so that gst_parse_launch() can deal with spaces in filtered link
19432 caps (fixes #164479)
19433 * check/gst/capslist.h:
19434 * check/gst/gststructure.c: (GST_START_TEST):
19435 add unit tests for this change
19437 2005-11-10 Wim Taymans <wim@fluendo.com>
19439 * docs/gst/gstreamer-sections.txt:
19440 * gst/gstelement.c:
19441 * gst/gstelement.h:
19442 Fix docs, move some STATE macros to private.
19444 2005-11-10 Wim Taymans <wim@fluendo.com>
19446 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19447 Added check for bug #317341
19451 Some more spiffifying.
19453 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19454 Call peer linkfunction if we are a source pad. Totally fixes
19458 Update docs, source pads should call the peer linkfunction
19459 so they can atomically perform the pad link.
19461 2005-11-09 Wim Taymans <wim@fluendo.com>
19465 Uber-spiffy-spiffify some more.
19467 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19469 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19470 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19471 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19472 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19473 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19474 * gst/gstpad.c: (gst_pad_init):
19475 Use GST_DEBUG_FUNCPTR() more extensively.
19477 2005-11-09 Wim Taymans <wim@fluendo.com>
19479 * gst/gstobject.c: (gst_object_class_init):
19481 Documentation fixes.
19483 2005-11-09 Edward Hervey <edward@fluendo.com>
19485 * gst/gsttypefindfactory.c:
19488 2005-11-09 Edward Hervey <edward@fluendo.com>
19490 * gst/base/gsttypefindhelper.c:
19491 * gst/gsttypefind.c:
19492 * gst/gsttypefind.h:
19495 2005-11-09 Wim Taymans <wim@fluendo.com>
19497 * gst/gstiterator.c:
19504 2005-11-09 Wim Taymans <wim@fluendo.com>
19510 2005-11-09 Wim Taymans <wim@fluendo.com>
19512 * docs/gst/gstreamer-sections.txt:
19513 Moved the message async delivery private lock and cond
19514 to the private section.
19516 * gst/gstmessage.c:
19517 * gst/gstmessage.h:
19520 2005-11-09 Edward Hervey <edward@fluendo.com>
19522 * docs/gst/gstreamer-sections.txt:
19525 Document GstURIHandler
19527 2005-11-09 Wim Taymans <wim@fluendo.com>
19529 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19530 (gst_iterator_find_custom):
19531 * gst/gstiterator.h:
19534 2005-11-09 Wim Taymans <wim@fluendo.com>
19537 Document another field.
19539 * gst/gststructure.c:
19540 * gst/gststructure.h:
19543 2005-11-09 Wim Taymans <wim@fluendo.com>
19546 Documented structs.
19548 2005-11-09 Wim Taymans <wim@fluendo.com>
19550 * docs/gst/gstreamer-sections.txt:
19551 Added some new macros.
19558 2005-11-09 Wim Taymans <wim@fluendo.com>
19560 * docs/design/part-TODO.txt:
19561 Some more items for the TODO
19567 2005-11-09 Andy Wingo <wingo@pobox.com>
19569 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19570 to work on something else now tho...
19572 * gst/base/gstadapter.c: More adapter docs.
19574 * gst/elements/gstfilesink.c (gst_file_sink_start)
19575 (gst_file_sink_stop): New functions, replace the state change
19577 (gst_file_sink_class_init): Hook up the start and stop functions.
19578 (gst_file_sink_base_init): Don't set the state change handler any
19579 more. It was a bit ugly too, being set from here...
19580 (gst_file_sink_get_property, gst_file_sink_set_property):
19582 (gst_file_sink_set_location): More robust check that doesn't call
19583 GST_STATE. Ugggggg.
19585 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19587 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19588 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19590 2005-11-08 Wim Taymans <wim@fluendo.com>
19592 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19593 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19594 (gst_base_sink_chain), (gst_base_sink_change_state):
19595 * gst/base/gstbasesink.h:
19596 * gst/base/gstbasesrc.h:
19597 * gst/gstelement.h:
19599 Avoid excessive typechecking in macros.
19601 * gst/gstminiobject.c: (gst_mini_object_get_type),
19602 (gst_mini_object_init), (gst_mini_object_new),
19603 (gst_mini_object_free):
19604 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19605 (gst_object_finalize):
19606 Remove cruft code, optimize alloc_trace.
19608 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19610 * docs/faq/gst-uninstalled:
19611 fix up PS1 for systems that try to reset it
19613 2005-11-07 Wim Taymans <wim@fluendo.com>
19615 * gst/base/gstbasesrc.c: (gst_base_src_init),
19616 (gst_base_src_get_range):
19617 Set the segment_end to -1 initially. Fixed typefind.
19619 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19621 * gst/base/gstadapter.c:
19622 Debug category should be 'adapter', not 'GstAdapter'.
19624 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19625 (gst_collectpads_class_init), (gst_collectpads_init),
19626 (gst_collectpads_peek), (gst_collectpads_pop),
19627 (gst_collectpads_event), (gst_collectpads_chain):
19628 Add debug category and some debugging output. Use boilerplate
19629 macros. Remove some extraneous words from docs.
19631 2005-11-05 Andy Wingo <wingo@pobox.com>
19633 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19636 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19638 * docs/gst/gstreamer-sections.txt:
19641 * gst/gstminiobject.h:
19646 2005-11-04 Wim Taymans <wim@fluendo.com>
19648 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19649 Small update to stop at the configured segment_end
19652 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19654 * gst/gstregistry.c:
19655 * gst/gstregistry.h:
19658 2005-11-04 Edward Hervey <edward@fluendo.com>
19660 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19661 Check if we are doing a segment seek and have arrived at the
19662 end of that segment.
19664 2005-11-04 Wim Taymans <wim@fluendo.com>
19666 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19667 Don't leak a mutex unlock in case of an error.
19672 2005-11-04 Wim Taymans <wim@fluendo.com>
19674 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19676 Get the context to wake up only once.
19678 2005-11-03 Wim Taymans <wim@fluendo.com>
19680 * check/states/sinks.c: (GST_START_TEST):
19681 Uncomment fixed check.
19683 * docs/design/part-TODO.txt:
19686 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19687 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19688 (gst_base_sink_get_position):
19689 If we are going to PLAYING, post the right pending state
19690 when we post the intermediate paused message.
19692 * gst/gstelement.c: (gst_element_continue_state),
19693 (gst_element_set_state_func), (gst_element_change_state):
19694 Don't post state changes that were between the same state
19695 and were not ASYNC.
19697 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19699 * docs/gst/gstreamer-sections.txt:
19702 * gst/gstminiobject.h:
19705 more docs and doc style fixes
19707 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19709 * docs/gst/gstreamer-sections.txt:
19710 * gst/gstelement.c:
19711 * gst/gstminiobject.c:
19714 2005-11-03 Andy Wingo <wingo@pobox.com>
19716 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19717 state-changed messages actually have the right order and the right
19720 2005-11-03 Wim Taymans <wim@fluendo.com>
19722 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19723 Added some more checks. Specifically the case where NO_PREROLL
19724 elements are in the pipeline.
19726 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19727 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19728 (gst_base_sink_get_position):
19729 Post READY->PAUSED state change messages too.
19730 Fix bug where VOID was posted as pending state...
19732 * gst/gstbin.c: (gst_bin_recalc_state):
19733 use _element_continue_state() to continue the state change.
19735 * gst/gstelement.c: (gst_element_continue_state),
19736 (gst_element_commit_state), (gst_element_set_state_func),
19737 (gst_element_change_state), (gst_element_change_state_func):
19738 Lots of state change cleanups, assign the STATE_RETURN in
19739 a new continue_state() function that also propagates the
19740 last return value from a state change to the app.
19741 Update some debug statements with proper category.
19743 2005-11-03 Wim Taymans <wim@fluendo.com>
19745 * docs/design/part-events.txt:
19746 * docs/design/part-gstpipeline.txt:
19747 * docs/design/part-messages.txt:
19748 * docs/design/part-overview.txt:
19749 * docs/design/part-seeking.txt:
19750 * docs/design/part-states.txt:
19751 * docs/design/part-trickmodes.txt:
19752 * docs/manual/advanced-position.xml:
19753 Small docs updates.
19756 People think !! is ugly, this looks better.
19758 * gst/gstpad.c: (gst_pad_set_blocked_async):
19759 Remove !! since it's fixed elsewhere now.
19761 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19763 * gst/gstminiobject.h:
19765 Add !! to _FLAG_IS_SET macros to make the result boolean.
19767 2005-11-03 Edward Hervey <edward@fluendo.com>
19769 * gst/gstpad.c: (gst_pad_set_blocked_async):
19770 comparing a flag and a gboolean rarely returns coherent results...
19771 Added two characters (!!) to make that work correctly.
19773 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19775 * gst/gstbus.c: (gst_bus_class_init):
19778 * gst/gstqueue.c: (gst_queue_loop):
19779 Don't assume a miniobject that isn't a buffer is an
19780 event (it could be that there is a refcounting
19781 problem somewhere and the pointer is stale and
19782 refers to an already destroyed miniobject).
19784 2005-11-03 Julien MOUTTE <julien@moutte.net>
19786 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19788 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19790 * docs/manual/advanced-position.xml:
19791 Update seek example and explanations to current 0.9 API.
19793 * gst/elements/gsttypefindelement.c:
19794 (gst_type_find_element_activate):
19795 Remove FIXME comment now that the found caps
19798 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19800 * gst/gstregistryxml.c: (load_feature):
19801 Add another GST_STR_NULL instance
19803 2005-11-02 Edward Hervey <edward@fluendo.com>
19805 * gst/gstpad.c: (handle_pad_block):
19806 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19808 2005-11-02 Wim Taymans <wim@fluendo.com>
19813 * gst/gstelement.c: (gst_element_commit_state):
19814 Remove unused value.
19816 * gst/gstiterator.c:
19817 Mention that the returned element is reffed in the docs.
19819 2005-11-02 Wim Taymans <wim@fluendo.com>
19821 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19822 (gst_pad_push), (gst_pad_push_event):
19823 Unlock blocked pads when they are flushed.
19825 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19828 * docs/gst/gstreamer-sections.txt:
19831 * gst/gstregistry.c: (gst_registry_scan_path_level):
19832 fix for a nasty little missed situation where an installed plug-in
19833 which was in the cache did not get overridden by an uninstalled one
19834 which was earlier in the plugin path because the newly created plugin
19835 for the uninstalled one (not in the registry) didn't get its
19836 ->registered set to TRUE
19838 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19840 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19841 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19842 (gst_collectpads_is_active), (gst_collectpads_collect),
19843 (gst_collectpads_collect_range), (gst_collectpads_start),
19844 (gst_collectpads_stop), (gst_collectpads_peek),
19845 (gst_collectpads_pop), (gst_collectpads_available),
19846 (gst_collectpads_read), (gst_collectpads_flush):
19847 Guard public API with assertions.
19850 Fix docs for gst_pad_set_link_function().
19852 2005-11-02 Johan Dahlin <johan@gnome.org>
19854 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19855 Unref found_caps after we used it.
19857 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19859 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19860 Don't try to ref NULL.
19862 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19864 * win32/common/config.h.in:
19865 provide a GST_FUNCTION that just gives a string for now
19867 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19869 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19870 (gst_object_flags_get_type), (register_gst_bin_flags),
19871 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19872 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19873 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19874 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19875 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19876 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19877 (gst_clock_flags_get_type), (register_gst_state),
19878 (gst_state_get_type), (register_gst_state_change_return),
19879 (gst_state_change_return_get_type), (register_gst_state_change),
19880 (gst_state_change_get_type), (register_gst_element_flags),
19881 (gst_element_flags_get_type), (register_gst_core_error),
19882 (gst_core_error_get_type), (register_gst_library_error),
19883 (gst_library_error_get_type), (register_gst_resource_error),
19884 (gst_resource_error_get_type), (register_gst_stream_error),
19885 (gst_stream_error_get_type), (register_gst_event_type),
19886 (gst_event_type_get_type), (register_gst_seek_type),
19887 (gst_seek_type_get_type), (register_gst_seek_flags),
19888 (gst_seek_flags_get_type), (register_gst_format),
19889 (gst_format_get_type), (register_gst_index_certainty),
19890 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19891 (gst_index_entry_type_get_type),
19892 (register_gst_index_lookup_method),
19893 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19894 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19895 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19896 (gst_index_flags_get_type), (register_gst_debug_level),
19897 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19898 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19899 (gst_iterator_result_get_type), (register_gst_iterator_item),
19900 (gst_iterator_item_get_type), (register_gst_message_type),
19901 (gst_message_type_get_type), (register_gst_mini_object_flags),
19902 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19903 (gst_pad_link_return_get_type), (register_gst_flow_return),
19904 (gst_flow_return_get_type), (register_gst_activate_mode),
19905 (gst_activate_mode_get_type), (register_gst_pad_direction),
19906 (gst_pad_direction_get_type), (register_gst_pad_flags),
19907 (gst_pad_flags_get_type), (register_gst_pad_presence),
19908 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19909 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19910 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19911 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19912 (gst_plugin_flags_get_type), (register_gst_rank),
19913 (gst_rank_get_type), (register_gst_query_type),
19914 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19915 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19916 (gst_tag_flag_get_type), (register_gst_task_state),
19917 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19918 (gst_alloc_trace_flags_get_type),
19919 (register_gst_type_find_probability),
19920 (gst_type_find_probability_get_type), (register_gst_uri_type),
19921 (gst_uri_type_get_type), (register_gst_parse_error),
19922 (gst_parse_error_get_type):
19923 * win32/common/gstversion.h:
19924 update win32 copies
19926 2005-11-01 Luca Ognibene <luogni@tin.it>
19929 fix docs. popt is dead, long live GOption.
19931 2005-10-31 Wim Taymans <wim@fluendo.com>
19936 2005-10-31 Andy Wingo <wingo@pobox.com>
19940 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19942 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19943 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19944 the possibility of deadlocks here if code calling notify() or
19945 set() has a lock that can be taken in another notify handler (ABBA
19946 with class lock and e.g. python GIL state lock).
19948 2005-10-28 Julien MOUTTE <julien@moutte.net>
19950 * gst/gstbus.c: Doc updates.
19952 2005-10-28 Wim Taymans <wim@fluendo.com>
19954 * docs/design/part-TODO.txt:
19955 * gst/gstiterator.c:
19956 * gst/gstsystemclock.c:
19957 * gst/gstsystemclock.h:
19960 2005-10-28 Edward Hervey <edward@fluendo.com>
19962 * docs/gst/gstreamer-docs.sgml:
19963 * docs/gst/gstreamer-sections.txt:
19964 the GstURIType documentation page is private, it only defines GstURIType
19965 which should be defined in the GstURIHandler page
19967 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19969 * gst/gstbin.c: (gst_bin_class_init):
19972 Documentation updates.
19974 2005-10-28 Wim Taymans <wim@fluendo.com>
19976 * docs/gst/gstreamer-sections.txt:
19979 Documented the clocks.
19981 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19983 * docs/gst/gstreamer-sections.txt:
19984 move some macros to private sections
19985 * gst/gstminiobject.c:
19986 * gst/gstminiobject.h:
19987 add descriptions provided by ds and some more
19989 mark macro as to be removed
19991 2005-10-28 Wim Taymans <wim@fluendo.com>
19993 * docs/design/part-TODO.txt:
19994 Add an item to TODO.
19996 * gst/gstiterator.c: (gst_iterator_fold),
19997 (gst_iterator_find_custom):
19998 * gst/gstiterator.h:
20001 2005-10-28 Wim Taymans <wim@fluendo.com>
20003 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
20004 (gst_base_transform_init):
20007 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
20008 An EOS event marks the queue as completely filled.
20010 2005-10-27 Wim Taymans <wim@fluendo.com>
20012 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20013 (gst_base_sink_do_sync), (gst_base_sink_get_position):
20014 Some more debugging.
20016 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
20017 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
20018 (gst_base_transform_event), (gst_base_transform_getrange),
20019 (gst_base_transform_chain):
20020 * gst/base/gstbasetransform.h:
20022 Protect transform and concurrent buffer alloc with a new lock.
20023 Try not to break ABI/API.
20025 2005-10-27 Wim Taymans <wim@fluendo.com>
20027 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
20028 (gst_base_src_init), (gst_base_src_query),
20029 (gst_base_src_default_newsegment),
20030 (gst_base_src_configure_segment), (gst_base_src_do_seek),
20031 (gst_base_src_send_event), (gst_base_src_event_handler),
20032 (gst_base_src_pad_get_range), (gst_base_src_loop),
20033 (gst_base_src_unlock), (gst_base_src_default_negotiate),
20034 (gst_base_src_start), (gst_base_src_deactivate),
20035 (gst_base_src_activate_push), (gst_base_src_change_state):
20036 Move some stuff around and cleanup things.
20038 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
20040 * gst/base/gstbasesrc.c: (gst_base_src_query):
20041 Add missing break statements.
20043 2005-10-27 Wim Taymans <wim@fluendo.com>
20045 * check/gst/gstbin.c: (GST_START_TEST):
20046 An extra refcount is taken in basesrc.
20048 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
20049 (gst_base_src_get_range), (gst_base_src_pad_get_range),
20050 (gst_base_src_loop):
20051 Small cleanups, check for flushing after being unlocked from the
20052 LIVE_LOCK. take refcounts correctly (not yet everywhere).
20053 Don't send out EOS when going to READY.
20055 2005-10-27 Wim Taymans <wim@fluendo.com>
20057 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20058 (gst_base_sink_get_position):
20061 * gst/gstbin.c: (message_check), (bin_replace_message),
20062 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20063 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20064 (bin_query_duration_init), (bin_query_duration_fold),
20065 (bin_query_duration_done), (bin_query_generic_fold),
20067 * tools/gst-launch.c: (main):
20070 2005-10-26 Stefan Kost <ensonic@users.sf.net>
20072 * examples/controller/audio-example.c: (main):
20073 * examples/queue/queue.c: (event_loop):
20074 * gst/base/gstbasetransform.h:
20075 * gst/gstelement.c: (gst_element_send_event):
20077 * gst/gstpad.c: (gst_pad_send_event):
20080 changing log priority in error situations
20082 2005-10-25 Wim Taymans <wim@fluendo.com>
20084 * gst/gstbin.c: (message_check), (bin_replace_message),
20085 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20086 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20087 (bin_query_duration_init), (bin_query_duration_fold),
20088 (bin_query_duration_done), (bin_query_generic_fold),
20090 Some doc and debug updates.
20091 Cache previously requested query DURATION for speed. invalidate
20092 cached duration if element posts a DURATION message.
20094 2005-10-25 Wim Taymans <wim@fluendo.com>
20096 * docs/design/part-TODO.txt:
20099 * gst/gstbin.c: (message_check), (bin_replace_message),
20100 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20101 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20102 (bin_query_duration_init), (bin_query_duration_fold),
20103 (bin_query_duration_done), (bin_query_generic_fold),
20105 Handle SEGMENT_START/DONE messages correctly.
20106 More evolved query algorithm that handles duration queries
20109 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20110 (gst_element_get_state_func), (gst_element_abort_state),
20111 (gst_element_commit_state), (gst_element_lost_state):
20112 Some more debugging.
20114 * gst/gstmessage.h:
20117 2005-10-25 Wim Taymans <wim@fluendo.com>
20119 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20120 Don't use invalid stream_time.
20122 * gst/gstevent.c: (gst_event_new_newsegment):
20123 stream_time in newsegment cannot be undefined.
20125 2005-10-24 Wim Taymans <wim@fluendo.com>
20130 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20132 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20134 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20136 * docs/libs/tmpl/gstdparam.sgml:
20137 * docs/libs/tmpl/gstdplinint.sgml:
20138 * docs/libs/tmpl/gstdpman.sgml:
20139 * docs/libs/tmpl/gstdpsmooth.sgml:
20140 * docs/libs/tmpl/gstunitconvert.sgml:
20143 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20148 === release 0.9.4 ===
20150 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20153 releasing 0.9.4, "Tyrannosaurus Rex"
20155 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20157 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20158 (gst_file_sink_get_current_offset):
20159 Use fseeko() and ftello() if available. When falling back on
20160 lseek() to get the current offset, fflush() first to make sure
20161 everything is up-to-date and we get the right offset.
20163 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20165 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20166 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20167 * gst/gsterror.c: (_gst_stream_errors_init):
20169 * gst/gstqueue.c: (gst_queue_loop):
20171 remove prematurely added error category and clean up the instances
20173 2005-10-21 Wim Taymans <wim@fluendo.com>
20175 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20176 (gst_base_sink_get_position), (gst_base_sink_query),
20177 (gst_base_sink_change_state):
20178 Simply set the right flag when going to playing, that's all
20179 we need to do instead of calling a function inside the object
20180 lock (that could take the lock as well and deadlock)
20182 2005-10-21 Wim Taymans <wim@fluendo.com>
20184 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20185 (gst_base_src_loop):
20186 Don't warn, the peer element knows what to do best when
20187 the seek failed, it might try something else.
20189 2005-10-21 Wim Taymans <wim@fluendo.com>
20191 * gst/base/gstbasesrc.c: (gst_base_src_init),
20192 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20195 2005-10-21 Wim Taymans <wim@fluendo.com>
20197 * docs/design/part-segments.txt:
20200 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20201 Correctly set caps, even on the subbufer.
20203 2005-10-21 Wim Taymans <wim@fluendo.com>
20205 * docs/gst/gstreamer-docs.sgml:
20206 * docs/gst/gstreamer-sections.txt:
20207 * gst/gstelement.h:
20210 * gst/gstmessage.h:
20213 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20217 And 2% more doc coverage.
20219 2005-10-21 Andy Wingo <wingo@pobox.com>
20221 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20222 position reporting.
20224 2005-10-20 Wim Taymans <wim@fluendo.com>
20226 * gst/gsterror.c: (gst_error_get_message):
20229 * gst/gststructure.c:
20234 2005-10-20 Wim Taymans <wim@fluendo.com>
20239 Another 1% more coverage.
20241 2005-10-20 Wim Taymans <wim@fluendo.com>
20243 * docs/gst/gstreamer-sections.txt:
20244 * gst/gstelement.c: (gst_element_get_state_func),
20245 (gst_element_abort_state), (gst_element_commit_state),
20246 (gst_element_lost_state):
20248 * gst/gstquery.c: (gst_query_set_position),
20249 (gst_query_parse_position), (gst_query_set_duration),
20250 (gst_query_parse_duration), (gst_query_new_convert):
20252 Yay! 1% more docs coverage.
20254 2005-10-20 Wim Taymans <wim@fluendo.com>
20257 * gst/gstquery.c: (gst_query_set_position),
20258 (gst_query_parse_position), (gst_query_set_duration),
20259 (gst_query_parse_duration), (gst_query_new_convert):
20261 * gst/gstutils.c: (gst_element_query_convert):
20263 Docs and consistency fixes.
20265 2005-10-20 Wim Taymans <wim@fluendo.com>
20271 2005-10-20 Wim Taymans <wim@fluendo.com>
20273 * gst/gstbin.c: (message_check), (bin_replace_message),
20274 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20275 (update_degree), (gst_bin_sort_iterator_next),
20276 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20277 Reworked the message handling a bit, cache the messages instead of
20278 only the senders. alows us to do more in the future.
20280 2005-10-20 Wim Taymans <wim@fluendo.com>
20282 * docs/design/part-TODO.txt:
20285 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20286 (gst_base_sink_query):
20287 Don't use clock time to report position when in EOS.
20289 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20291 * tools/gst-inspect.c: (print_interfaces),
20292 (print_element_properties_info), (print_element_info):
20293 Fix interface output with gst-inspect -a; don't print
20294 newlines after double/float properties.
20296 2005-10-20 Wim Taymans <wim@fluendo.com>
20298 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20299 (gst_base_sink_query):
20300 Speed up current position calculation.
20302 * gst/base/gstbasesrc.c: (gst_base_src_query),
20303 (gst_base_src_default_newsegment):
20304 Correctly set stream position in newsegment.
20306 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20307 (update_degree), (gst_bin_sort_iterator_next),
20308 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20309 * gst/gstmessage.c: (gst_message_new_custom):
20310 Clean up debugging info
20312 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20313 (gst_queue_loop), (gst_queue_handle_src_query):
20316 2005-10-19 Wim Taymans <wim@fluendo.com>
20318 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20319 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20320 Fix query handling again.
20322 2005-10-19 Wim Taymans <wim@fluendo.com>
20324 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20325 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20326 * gst/base/gstbasesrc.c: (gst_base_src_query):
20327 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20328 * gst/elements/gsttypefindelement.c:
20329 (gst_type_find_handle_src_query), (find_element_get_length),
20330 (gst_type_find_element_activate):
20333 * gst/gstquery.c: (gst_query_new_position),
20334 (gst_query_set_position), (gst_query_parse_position),
20335 (gst_query_new_duration), (gst_query_set_duration),
20336 (gst_query_parse_duration), (gst_query_set_segment),
20337 (gst_query_parse_segment):
20339 Bundling query position/duration is not a good idea since duration
20340 does not change much and we don't want to recalculate it for every
20341 position query, so they are separated again..
20342 Base value in segment query is not needed.
20344 * gst/gstqueue.c: (gst_queue_handle_src_query):
20345 * gst/gstutils.c: (gst_element_query_position),
20346 (gst_element_query_duration), (gst_pad_query_position),
20347 (gst_pad_query_duration):
20349 Updates for query API change.
20350 Added some docs here and there.
20352 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20354 * check/gst/gstbin.c: (GST_START_TEST):
20355 * check/gst/gstghostpad.c: (GST_START_TEST):
20356 * check/pipelines/cleanup.c: (GST_START_TEST):
20357 wait on thread to die so we can check refcount correctly
20359 2005-10-18 Wim Taymans <wim@fluendo.com>
20361 * check/pipelines/stress.c: (GST_START_TEST):
20362 Make check a little more time consuming.
20364 2005-10-18 Wim Taymans <wim@fluendo.com>
20366 * check/Makefile.am:
20367 * check/pipelines/stress.c: (GST_START_TEST),
20368 (simple_launch_lines_suite), (main):
20369 Small state change torture test.
20371 * docs/design/part-states.txt:
20372 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20373 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20374 (gst_base_sink_change_state):
20375 Never take state lock from streaming thread, clean up ugly
20376 hacks. Unfortunatly core does not yet support nice ways to
20377 async commit state.
20379 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20381 Start state recalc if a STATE_DIRTY message is posted, but only
20382 on the toplevel bin.
20384 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20385 (gst_element_get_state_func), (gst_element_abort_state),
20386 (gst_element_commit_state), (gst_element_lost_state),
20387 (gst_element_set_state_func), (gst_element_change_state):
20388 * gst/gstelement.h:
20389 State variables are now protected with the LOCK, the state
20390 lock is only used to serialize _set_state().
20392 2005-10-18 Wim Taymans <wim@fluendo.com>
20394 * check/gst/gstbin.c: (GST_START_TEST):
20395 * check/gst/gstmessage.c: (GST_START_TEST):
20396 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20397 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20399 * gst/gstelement.c: (gst_element_abort_state),
20400 (gst_element_commit_state), (gst_element_lost_state):
20401 * gst/gstmessage.c: (gst_message_new_state_changed),
20402 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20403 (gst_message_new_segment_done), (gst_message_new_duration),
20404 (gst_message_parse_state_changed),
20405 (gst_message_parse_segment_start),
20406 (gst_message_parse_segment_done), (gst_message_parse_duration):
20407 * gst/gstmessage.h:
20408 * tools/gst-launch.c: (event_loop):
20409 Seriously, this is better than a previous commit as we only need
20410 to notify the fact that an element changed state in a streaming
20411 thread, marking the state of the parents dirty, hence the
20412 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20415 2005-10-18 Wim Taymans <wim@fluendo.com>
20417 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20418 (gst_bin_recalc_func):
20419 * gst/gstelement.c: (gst_element_set_clock),
20420 (gst_element_abort_state), (gst_element_lost_state):
20421 Cleanups, prepare for state change fixes.
20423 2005-10-18 Wim Taymans <wim@fluendo.com>
20426 * gst/gstelement.c: (gst_element_class_init),
20427 (gst_element_set_state), (gst_element_set_state_func):
20428 * gst/gstelement.h:
20429 Pending ABI changes.
20430 GThreadPool in GstBinClass to monitor async state changes.
20431 state_cookie in GstElement to detect concurrent gst/set state.
20432 set_state is now virtual too in case a very complicated element
20433 has to be constructed.
20435 2005-10-18 Wim Taymans <wim@fluendo.com>
20437 * check/gst/gstbin.c: (GST_START_TEST):
20438 * check/gst/gstmessage.c: (GST_START_TEST):
20439 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20440 * gst/gstbin.c: (bin_bus_handler):
20441 * gst/gstelement.c: (gst_element_commit_state),
20442 (gst_element_lost_state):
20443 * gst/gstmessage.c: (gst_message_new_state_changed),
20444 (gst_message_new_segment_start), (gst_message_new_segment_done),
20445 (gst_message_new_duration), (gst_message_parse_state_changed),
20446 (gst_message_parse_segment_start),
20447 (gst_message_parse_segment_done), (gst_message_parse_duration):
20448 * gst/gstmessage.h:
20449 * tools/gst-launch.c: (event_loop):
20450 Make messages future proof.
20451 state-change gets a flag if it was a message comming from the
20453 segment-start/stop can also be specified in other formats.
20454 A message to notify an app that a pipeline changed playback
20456 Also fix a GstMessage leak in -launch
20458 2005-10-18 Andy Wingo <wingo@pobox.com>
20460 * gst/gstelement.c (gst_element_dispose): More helpful message.
20462 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20464 reviewed by: <delete if not using a buddy>
20466 * common/gtk-doc.mak:
20468 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20470 * gst/gstregistry.c: (gst_registry_scan_path_level):
20471 unref a plug-in we get that was already initialized
20473 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20475 * docs/gst/gstreamer-sections.txt:
20476 * docs/libs/gstreamer-libs-sections.txt:
20477 * gst/gstelement.h:
20478 add new api entries
20479 hide internal macro
20481 2005-10-17 Andy Wingo <wingo@pobox.com>
20483 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20486 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20488 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20490 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20491 (gst_element_get_state_func): Better debug message.
20492 (gst_element_commit_state): s/INFO/DEBUG/.
20493 (gst_element_lost_state, gst_element_change_state):
20495 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20496 (gst_message_new_custom): s/INFO/LOG/.
20498 2005-10-17 Michael Smith <msmith@fluendo.com>
20500 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20501 Check if end time is valid using end time, not start time.
20503 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20505 * check/gst-libs/controller.c: (GST_START_TEST),
20506 (gst_controller_suite):
20507 * libs/gst/controller/gstcontroller.c:
20508 (gst_controlled_property_set_interpolation_mode):
20509 * libs/gst/controller/gstcontroller.h:
20510 * libs/gst/controller/gstinterpolation.c:
20511 * testsuite/controller/.cvsignore:
20512 * testsuite/controller/Makefile.am:
20513 * testsuite/controller/interpolator.c:
20514 merge controller testsuites
20516 remove mem-chunk from docs
20518 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20520 * gst/gstmemchunk.c:
20521 * gst/gstmemchunk.h:
20522 * gst/gsttrashstack.c:
20523 * gst/gsttrashstack.h:
20524 out. get out. you're fired. to the Attic !
20526 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20528 * gst/gstcaps.c: (gst_caps_intersect):
20529 fix signedness issues in a (hopefully) correct way
20530 * gst/gstelement.c: (gst_element_pads_activate):
20532 * gst/gstobject.c: (gst_object_set_parent):
20535 2005-10-17 Julien MOUTTE <julien@moutte.net>
20537 * gst/gstvalue.h: Fix prototypes.
20539 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20541 * docs/gst/gstreamer-sections.txt:
20542 * gst/gst.c: (gst_version_string):
20544 * gst/gstversion.h.in:
20545 * win32/common/libgstreamer.def:
20546 add gst_version_string ()
20548 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20552 * gst/gst.c: (init_post):
20553 * win32/common/config.h.in:
20555 * gst/gstcaps.c: (gst_caps_intersect):
20556 use gint64, the range could be bigger than a guint
20558 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20561 document potential problem in 2038
20563 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20565 * gst/gstcaps.c: (gst_caps_intersect):
20566 Fix guint j diving under 0
20568 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20571 * win32/common/config.h:
20572 * win32/common/config.h.in:
20573 check for process.h, declares getpid() on Windows
20575 include process.h if we have it
20576 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20577 * gst/gstmemchunk.h:
20578 fix signedness issues
20579 * win32/common/libgstreamer.def:
20582 2005-10-16 Julien MOUTTE <julien@moutte.net>
20584 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20585 fix. Because of unsigned ints, caps intersection was going nuts and
20586 trying to access structures with G_MAXUINT index. That fixes
20587 videotestsrc ! ffmpegcolorspace ! fakesink
20588 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20591 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20594 use the gettext macro
20595 * gst/elements/gstelements.c:
20597 * gst/indexers/gstindexers.c:
20598 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20599 * win32/common/config.h:
20601 * win32/common/config.h.in:
20602 add the template to generate config.h
20603 * win32/common/gstenumtypes.c:
20604 * win32/common/gstversion.h:
20607 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20609 * gst/gst.c: (gst_version):
20610 * gst/gstversion.h.in:
20613 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20616 Oops, add missing closing bracket.
20618 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20621 use common m4's for argument checking
20623 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20625 * docs/gst/gstreamer-sections.txt:
20627 Add GST_EVENT_TYPE_NAME() macro.
20629 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20632 * gst/gstpluginfeature.c:
20634 privatize more symbols
20636 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20639 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20640 everything that uses GStreamer API should have the includes
20642 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20644 * docs/gst/gstreamer-sections.txt:
20645 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20647 give each value a _get_type, removes the DATA exports
20649 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20653 remove _gst_registry_auto_load, not used anymore
20654 * gst/gstbin.c: (gst_bin_get_type):
20656 * gst/gstelement.c: (gst_element_get_type):
20657 * gst/gstelement.h:
20658 * gst/gstobject.c: (gst_object_get_type):
20660 * gst/gstpad.c: (gst_pad_get_type):
20662 make _get_type functions similar, fixes data export from library
20664 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20667 correctly make conditionals
20668 * gst/elements/Makefile.am:
20669 * gst/elements/gstelements.c:
20670 fix typo causing fdsrc not to build
20672 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20674 * testsuite/Makefile.am:
20675 * testsuite/bytestream/.cvsignore:
20676 * testsuite/bytestream/Makefile.am:
20677 * testsuite/bytestream/filepadsink.c:
20678 * testsuite/bytestream/gstbstest.c:
20679 * testsuite/bytestream/test1.c:
20680 * testsuite/bytestream/testfile1:
20681 * testsuite/caps/normalisation.c:
20682 * testsuite/caps/random.c: (main):
20683 * testsuite/cleanup/.cvsignore:
20684 * testsuite/cleanup/Makefile.am:
20685 * testsuite/cleanup/cleanup1.c:
20686 * testsuite/cleanup/cleanup2.c:
20687 * testsuite/cleanup/cleanup3.c:
20688 * testsuite/cleanup/cleanup4.c:
20689 * testsuite/cleanup/cleanup5.c:
20690 * testsuite/controller/interpolator.c:
20691 * testsuite/debug/printf_extension.c: (main):
20692 * testsuite/elements/tee.c:
20693 * testsuite/negotiation/.cvsignore:
20694 * testsuite/negotiation/Makefile.am:
20695 * testsuite/negotiation/pad_link.c:
20696 * testsuite/pad/Makefile.am:
20697 * testsuite/pad/chainnopull.c:
20698 * testsuite/pad/getnopush.c:
20699 * testsuite/pad/link.c:
20700 * testsuite/refcounting/sched.c: (create_pipeline):
20701 * testsuite/registry/Makefile.am:
20702 * testsuite/registry/gst-print-formats.c:
20703 * testsuite/schedulers/.cvsignore:
20704 * testsuite/schedulers/142183-2.c:
20705 * testsuite/schedulers/142183.c:
20706 * testsuite/schedulers/143777-2.c:
20707 * testsuite/schedulers/143777.c:
20708 * testsuite/schedulers/147713.c:
20709 * testsuite/schedulers/147819.c:
20710 * testsuite/schedulers/147894-2.c:
20711 * testsuite/schedulers/147894.c:
20712 * testsuite/schedulers/Makefile.am:
20713 * testsuite/schedulers/group_link.c:
20714 * testsuite/schedulers/queue_link.c:
20715 * testsuite/schedulers/relink.c:
20716 * testsuite/schedulers/unlink.c:
20717 * testsuite/schedulers/unref.c:
20718 * testsuite/schedulers/useless_iteration.c:
20719 * testsuite/states/bin.c:
20720 clean out/remove some stuff from the testsuite directories
20722 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20725 check for some headers
20726 * gst/elements/Makefile.am:
20727 * gst/elements/gstelements.c:
20728 don't compile fdsrc without sys/socket.h
20729 * gst/indexers/Makefile.am:
20730 * gst/indexers/gstindexers.c: (plugin_init):
20731 don't compile fileindex without mmap
20733 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20740 * check/Makefile.am:
20741 * docs/gst/Makefile.am:
20742 * examples/helloworld/Makefile.am:
20744 * gst/base/Makefile.am:
20745 * gst/check/Makefile.am:
20746 * gst/elements/Makefile.am:
20747 * gst/indexers/Makefile.am:
20748 * gst/parse/Makefile.am:
20749 * libs/gst/controller/Makefile.am:
20750 * libs/gst/dataprotocol/Makefile.am:
20751 * examples/helloworld/helloworld.c: (event_loop):
20752 compile fixes, though it's not being compiled currently
20754 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20756 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20757 Add some simple tests for the new taglist date API.
20759 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20761 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20762 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20763 Beautify 'last-message' output: print 'none' for buffer timestamps
20764 and durations if none is set; improve alignment with next messages.
20766 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20768 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20769 * gst/gstpluginfeature.h:
20770 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20771 * gst/gstregistry.h:
20772 * docs/gst/gstreamer-sections.txt:
20773 Add new API to check plugin feature version requirements.
20775 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20776 Some basic tests for the above.
20778 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20780 * gst/gststructure.c: (gst_structure_to_string):
20781 guard against NULL printf - happens when for example
20782 a message structure with GstClock gets serialized
20784 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20786 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20787 Fix presumable copy'n'pasto.
20789 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20791 * gst/elements/gstfakesrc.h:
20792 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20793 * gst/elements/gsttypefindelement.c:
20794 fix some signedness
20795 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20796 I wonder if this could actually write +2GB files before
20798 2005-10-13 Andy Wingo <wingo@pobox.com>
20800 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20801 Fix Timmeke Waymans bug.
20802 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20803 string of the proper length to gst_caps_from_string. There's a
20804 potential for, before this fix, that this could cause someone
20805 connecting over the network to cause a segfault if the payload is
20806 not NUL-terminated.
20808 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20810 * docs/design/draft-push-pull.txt:
20811 * docs/design/part-overview.txt:
20812 * docs/random/TODO-pre-0.9:
20813 * docs/random/old/ChangeLog.gstreamer:
20814 * gst/base/gstpushsrc.c:
20818 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20820 * gst/glib-compat.c: (gst_flags_get_first_value):
20821 * gst/glib-compat.h:
20822 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20823 (gst_value_compare_double), (gst_value_serialize_flags):
20824 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20827 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20829 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20830 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20832 * tools/gst-launch.c: (event_loop):
20833 print out clock nicely
20835 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20837 * docs/gst/gstreamer-sections.txt:
20838 * gst/gsttaglist.h:
20839 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20840 (gst_tag_list_get_date_index):
20841 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20842 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20844 2005-10-13 Julien MOUTTE <julien@moutte.net>
20846 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20847 (gst_collectpads_chain):
20848 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20851 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20853 * docs/gst/gstreamer-sections.txt:
20856 * tools/gst-inspect.c: (main):
20857 * tools/gst-launch.c: (main):
20858 * tools/gst-run.c: (main):
20859 * tools/gst-xmlinspect.c: (main):
20860 fix GOption context leaks
20863 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20867 * win32/common/config.h:
20869 * win32/vs6/grammar.dsp:
20870 * win32/vs6/libgstelements.dsp:
20871 * win32/vs6/libgstreamer.dsp:
20874 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20876 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20877 * gst/base/gstbasesrc.c: (gst_base_src_query):
20878 fix more guint64<->gdouble conversions
20880 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20883 add win32-update target
20884 * win32/common/gstconfig.h:
20885 * win32/common/gstenumtypes.c:
20886 * win32/common/gstenumtypes.h:
20887 * win32/common/gstversion.h:
20888 add files that visual studio can't generate
20890 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20893 add a win32-update target
20896 2005-10-12 Wim Taymans <wim@fluendo.com>
20898 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20899 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20900 * gst/gstelement.c: (gst_element_commit_state),
20901 (gst_element_set_state):
20902 Protect flags with proper lock.
20903 unref provided cached clock in dispose.
20905 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20908 * gst/gstminiobject.h:
20910 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20911 removed unused flags from miniobject
20914 2005-10-12 Wim Taymans <wim@fluendo.com>
20916 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20917 (gst_file_sink_event), (gst_file_sink_render):
20918 Flush before seeking.
20920 2005-10-12 Andy Wingo <wingo@pobox.com>
20922 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20923 always been the case.
20925 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20927 * check/gst/gstbin.c: (GST_START_TEST):
20928 * docs/gst/gstreamer-sections.txt:
20929 * gst/base/gstbasesink.c: (gst_base_sink_init):
20930 * gst/base/gstbasesrc.c: (gst_base_src_init),
20931 (gst_base_src_get_range), (gst_base_src_check_get_range),
20932 (gst_base_src_start), (gst_base_src_stop):
20933 * gst/base/gstbasesrc.h:
20934 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20935 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20936 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20940 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20942 * gst/gstelement.c: (gst_element_is_locked_state),
20943 (gst_element_set_locked_state), (gst_element_commit_state),
20944 (gst_element_set_state):
20945 * gst/gstelement.h:
20946 * gst/gstindex.c: (gst_index_init):
20948 * gst/gstminiobject.h:
20949 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20950 (gst_object_set_parent):
20952 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20953 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20955 * gst/gstpadtemplate.h:
20956 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20957 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20958 * gst/gstpipeline.h:
20959 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20960 (gst_file_index_commit):
20961 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20962 * testsuite/pad/link.c: (gst_test_src_init),
20963 (gst_test_filter_init), (gst_test_sink_init):
20964 * testsuite/states/locked.c: (main):
20965 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20966 moved bitshift from macro to enum definition
20968 2005-10-12 Wim Taymans <wim@fluendo.com>
20970 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20971 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20972 (gst_file_sink_render):
20973 Some more debugging info.
20975 2005-10-12 Wim Taymans <wim@fluendo.com>
20977 * docs/design/part-states.txt:
20978 * tools/gst-launch.c: (main):
20980 Revert non-intentional change.
20982 2005-10-12 Wim Taymans <wim@fluendo.com>
20984 * check/gst/gstbin.c: (GST_START_TEST):
20985 * check/gst/gstelement.c: (GST_START_TEST):
20986 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20987 * check/gst/gstghostpad.c: (GST_START_TEST):
20988 * check/gst/gstpipeline.c: (GST_START_TEST):
20989 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20990 * check/states/sinks.c: (GST_START_TEST):
20991 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20992 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20993 (gst_bin_remove_func), (gst_bin_get_state_func),
20994 (gst_bin_recalc_state), (gst_bin_change_state_func),
20996 * gst/gstelement.c: (gst_element_get_state_func),
20997 (gst_element_get_state), (gst_element_abort_state),
20998 (gst_element_commit_state), (gst_element_set_state),
20999 (gst_element_change_state), (gst_element_change_state_func):
21000 * gst/gstelement.h:
21001 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
21002 (gst_pipeline_provide_clock_func):
21003 * gst/gstutils.c: (gst_element_link_pads_filtered):
21004 * tools/gst-launch.c: (main):
21005 * tools/gst-typefind.c: (main):
21006 Use GstClockTime in _get_state() instead of GTimeVal.
21007 Remove old code in gstutils.c
21009 2005-10-12 Andy Wingo <wingo@pobox.com>
21011 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
21014 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
21015 there is no task. Shouldn't affect any code, as nothing in our
21016 plugins checks this return value.
21017 (gst_pad_stop_task): Also take the stream lock if the pad has no
21018 task. Docs updated.
21020 2005-10-12 Wim Taymans <wim@fluendo.com>
21022 * gst/gstpad.c: (pre_activate), (post_activate),
21023 (gst_pad_activate_pull), (gst_pad_activate_push):
21024 Cleanup activation code. Reset old state if
21027 2005-10-12 Wim Taymans <wim@fluendo.com>
21029 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21030 (gst_base_sink_change_state):
21031 No need to prerol after receiving EOS.
21033 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
21034 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
21035 * gst/elements/gstidentity.c: (gst_identity_event):
21036 Print events more verbosely.
21038 2005-10-12 Wim Taymans <wim@fluendo.com>
21040 * check/Makefile.am:
21041 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
21042 * check/states/sinks2.c:
21043 Moved sinks2 testcode in sinks check.
21045 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
21046 (gst_bin_remove_func), (gst_bin_recalc_state),
21047 (gst_bin_change_state_func), (bin_bus_handler):
21048 Fix potential race condition when _get_state() iterated over an
21049 ASYNC element right before it posted a state completion.
21052 Do proper cast here.
21054 * gst/gstevent.c: (gst_event_new_newsegment),
21055 (gst_event_parse_newsegment):
21056 A playback rate of 0.0 is not allowed.
21058 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21060 * win32/common/config.h:
21061 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
21062 (_trewinddir), (_ttelldir), (_tseekdir):
21063 * win32/common/dirent.h:
21064 * win32/common/gtchar.h:
21065 * win32/common/libgstbase.def:
21066 * win32/common/libgstreamer.def:
21067 * win32/vs6/grammar.dsp:
21068 * win32/vs6/gst_inspect.dsp:
21069 * win32/vs6/gst_launch.dsp:
21070 * win32/vs6/gstreamer.dsw:
21071 * win32/vs6/libgstbase.dsp:
21072 * win32/vs6/libgstelements.dsp:
21073 * win32/vs6/libgstreamer.dsp:
21074 Visual Studio 6 project files, and a new common directory.
21077 2005-10-11 Wim Taymans <wim@fluendo.com>
21079 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21080 (gst_base_sink_do_sync), (gst_base_sink_query),
21081 (gst_base_sink_change_state):
21082 * gst/base/gstbasesink.h:
21083 Correctly parse newsegment info.
21085 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21087 * gst/gst.c: (init_post):
21088 split plugin paths correctly
21090 2005-10-11 Wim Taymans <wim@fluendo.com>
21092 * check/gst/gstevent.c: (GST_START_TEST):
21093 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21094 (gst_base_sink_change_state):
21095 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21096 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21097 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21098 * gst/gstevent.c: (gst_event_new_newsegment),
21099 (gst_event_parse_newsegment):
21101 Added extra flag to newsegment for future API freeze.
21102 Updated check and base elements.
21104 2005-10-11 Julien MOUTTE <julien@moutte.net>
21106 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21107 (gst_collectpads_add_pad), (gst_collectpads_pop),
21108 (gst_collectpads_event), (gst_collectpads_chain):
21109 * gst/base/gstcollectpads.h: Handle EOS correctly.
21111 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21113 * tools/gst-launch.c: (main):
21114 more null protecting
21116 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21118 * gst/gst-i18n-lib.h:
21119 check for ENABLE_NLS, not GETTEXT_PACKAGE
21120 * gst/gstregistry.c: (gst_registry_add_plugin),
21121 (gst_registry_scan_path_level),
21122 (_gst_registry_remove_cache_plugins):
21123 protect possibly NULL strings
21124 * gst/parse/types.h:
21125 config.h already included before
21126 * tools/gst-inspect.c: (main):
21127 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21128 check for ENABLE_NLS, not GETTEXT_PACKAGE
21129 * tools/gst-launch.c: (main):
21130 check for ENABLE_NLS, not GETTEXT_PACKAGE
21132 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21135 if we don't have glib, fail before testing 2.8
21136 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21137 fix a leak, should fix plugins-base testsuite
21139 2005-10-11 Andy Wingo <wingo@pobox.com>
21141 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21142 take the mode we're going to as an arg. Go head and set the mode
21143 and flushing flags now, so that if the activate function starts a
21144 thread all the flags will be in the right state.
21145 (post_activate): Renamed also. Just handle making sure streaming
21146 finishes for the deactivation case, and setting the deactivated
21148 (gst_pad_set_active): Complain loudly if deactivation fails.
21149 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21150 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21151 remove the terrible hack.
21153 2005-10-11 Wim Taymans <wim@fluendo.com>
21155 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21156 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21157 (gst_bin_recalc_state), (gst_bin_change_state_func),
21158 (gst_bin_dispose), (bin_bus_handler):
21160 Prepare to make current EOS message queue more generic.
21163 * gst/gstevent.c: (gst_event_new_newsegment),
21164 (gst_event_parse_newsegment):
21166 Rename base to stream_time.
21168 * gst/gstmessage.h:
21171 2005-10-11 Wim Taymans <wim@fluendo.com>
21173 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21174 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21175 (gst_bin_change_state_func), (bin_bus_handler):
21177 Work on proper clock selection.
21179 2005-10-11 Edward Hervey <edward@fluendo.com>
21181 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21182 * libs/gst/controller/gstcontroller.h:
21183 Added GList* version of _remove_properties() in order to be able to wrap
21186 2005-10-11 Wim Taymans <wim@fluendo.com>
21188 * docs/design/part-states.txt:
21191 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21192 (gst_bin_change_state_func), (bin_bus_handler):
21193 Doc updates. Don't distribute the same clock over and over again.
21199 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21200 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21201 (gst_pad_send_event):
21203 Make probe emission threadsafe again.
21204 Register quarks and move _get_name() from utils.
21207 * gst/gstpipeline.c: (gst_pipeline_class_init),
21208 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21209 Only redistribute the clock of it changed.
21211 * gst/gstsystemclock.h:
21216 Moved the _flow_get_name() to GstPad.
21218 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21220 * check/gst-libs/gdp.c: (GST_START_TEST):
21221 * check/gst/gstcaps.c: (GST_START_TEST):
21222 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21223 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21224 (gst_dp_packet_from_caps):
21225 fix more valgrind warnings before turning up the heat
21227 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21229 * gst/parse/grammar.y:
21230 some cleanup before the hacking
21232 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21234 * gst/base/gstbasesrc.c: (gst_base_src_query):
21236 * gst/gstutils.c: (gst_guint64_to_gdouble),
21237 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21239 externalize, basesrc uses it
21240 obviously the implementation needs testing
21242 2005-10-10 Wim Taymans <wim@fluendo.com>
21244 * tests/sched/Makefile.am:
21245 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21246 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21248 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21250 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21251 apparently converting from guint64 to double is not implemented
21254 2005-10-10 Wim Taymans <wim@fluendo.com>
21256 * check/Makefile.am:
21257 * check/generic/states.c: (GST_START_TEST):
21258 * check/gst/gstbin.c: (GST_START_TEST):
21259 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21260 * check/states/sinks.c: (GST_START_TEST):
21261 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21263 Check fixes, use API as stated in design docs, remove hacks.
21265 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21266 (gst_base_sink_change_state):
21267 Catch stopping our task while we're shutting down.
21269 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21270 (gst_bin_remove_func), (gst_bin_get_state_func),
21271 (gst_bin_recalc_state), (gst_bin_change_state_func),
21274 * gst/gstelement.c: (gst_element_init),
21275 (gst_element_get_state_func), (gst_element_abort_state),
21276 (gst_element_commit_state), (gst_element_lost_state),
21277 (gst_element_set_state), (gst_element_change_state),
21278 (gst_element_change_state_func):
21279 * gst/gstelement.h:
21280 New state change algorithm (see #318116)
21282 * gst/gstpipeline.c: (gst_pipeline_class_init),
21283 (gst_pipeline_init), (gst_pipeline_set_property),
21284 (gst_pipeline_get_property), (do_pipeline_seek),
21285 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21286 * gst/gstpipeline.h:
21287 Remove crude state change hacks.
21290 Remove crude hacks.
21292 * tools/gst-launch.c: (main):
21293 Fixes for state change. Needs some more work to fully use the
21296 2005-10-10 Andy Wingo <wingo@pobox.com>
21298 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21300 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21301 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21304 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21306 * gst/gstiterator.c: (gst_iterator_new):
21307 Fix my previous commit: GTypes passed to gst_iterator_new()
21308 can be fundamental types.
21310 2005-10-10 Wim Taymans <wim@fluendo.com>
21312 * gst/gstelement.c: (gst_element_iterate_pad_list),
21313 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21314 (gst_element_iterate_sink_pads):
21315 Use src/sink pads lists for the respective iterators instead
21318 2005-10-10 Andy Wingo <wingo@pobox.com>
21320 Merged in popt removal + GOption addition patch from Ronald, bug
21323 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21324 GstElement macros around, remove popt-related symbols, add goption
21327 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21329 * docs/gst/Makefile.am:
21330 * docs/libs/Makefile.am: No POPT_CFLAGS.
21332 * examples/manual/Makefile.am:
21333 * docs/manual/basics-init.xml: Doc updates with an example.
21335 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21336 (gst_init), (parse_one_option), (parse_goption_arg):
21337 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21338 bit of hand merging and debugging to get the GOption stuff working
21341 * tests/Makefile.am:
21342 * tools/Makefile.am:
21343 * tools/gst-inspect.c: (main):
21344 * tools/gst-launch.c: (main):
21345 * tools/gst-run.c: (main):
21346 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21348 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21350 * gst/gstiterator.c: (gst_iterator_new):
21351 Add assertions to make sure passed GType is likely to really
21352 be a GType (as the compiler won't catch it if the size and
21353 GType arguments get mixed up, see #318447).
21355 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21357 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21359 * gst/gstbin.c: (gst_bin_iterate_sorted):
21360 Pass GType and size arguments to gst_iterator_new() in the right
21361 order (maybe we should make _new() take the GType as first argument
21362 just like _new_list()?) (#318447).
21365 2005-10-10 Wim Taymans <wim@fluendo.com>
21367 * gst/gstelement.c: (gst_element_finalize):
21368 And free the GStaticRecMutex too
21370 2005-10-10 Andy Wingo <wingo@pobox.com>
21372 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21373 Allocate and free the mutex properly.
21375 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21377 (GstElement): The state_lock is now recursive. Rebuild your
21378 plugins, suckers. Old macros adapted.
21380 * docs/gst/gstreamer-sections.txt: Doc updates.
21383 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21384 (g_static_rec_cond_wait): Ported from state changes patch, while
21385 we wait on bug #317802 to be solved in a well-distributed GLib.
21387 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21388 gst_element_change_state, variable name changes.
21389 (gst_element_change_state): Split out of gst_element_set_state in
21390 preparation for the state change merge. Doesn't pay attention to
21391 the 'transition' argument.
21392 (gst_element_set_state): Updates, hopefully purely cosmetic.
21393 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21394 state change patch.
21395 (gst_element_get_state_func): Renamed from get_state, cosmetic
21398 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21400 * gst/elements/gstelements.c:
21401 * win32/GStreamer.vcproj:
21403 * win32/dirent.c: (_tseekdir):
21404 * win32/gst-inspect.vcproj:
21405 * win32/gst-launch.vcproj:
21406 * win32/gstconfig.h:
21407 * win32/gstelements.vcproj:
21408 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21409 * win32/gstreamer.def:
21410 * win32/msvc71.sln:
21411 updates for the win32 build (patch from Sebastien Moutte)
21413 2005-10-10 Andy Wingo <wingo@pobox.com>
21415 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21416 gst_bin_get_state, cleaned up (but no logic changes).
21417 (bin_element_is_sink): Comment updates.
21418 (sink_iterator_filter): Remove needless cast.
21419 (gst_bin_iterate_sinks): Doc update.
21420 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21421 cleaned up (but no logic changes).
21423 * check/states/sinks.c (test_src_sink): Cleanups from the state
21425 (test_livesrc_sink): Sync on the state.
21427 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21428 the state change patch.
21430 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21433 * check/gst/gstbin.c: Merge in some style fixes and additional
21434 checks from Wim's state change patch.
21436 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21438 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21439 (gst_type_find_helper):
21440 Check whether we have the requested data already in our list of
21441 cached buffers before pulling a new buffer; also make the buffer
21442 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21444 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21449 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21450 don't use long long, it's not portable. Replacing with
21451 gint64 seems to work; let's hope no skeletons fall out of the closet.
21453 2005-10-10 Andy Wingo <wingo@pobox.com>
21455 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21457 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21459 * docs/gst/gstreamer-sections.txt:
21464 * gst/gstmessage.c: (gst_message_parse_state_changed):
21467 more docs, fix compilation
21469 2005-10-09 Philippe Khalaf <burger@speedy.org>
21470 * gst/gstmessage.c:
21471 Fixed a few forgotten variables on previous commit
21473 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21475 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21476 Fix evil typefind crasher: getrange() might return a short
21477 buffer at the end of a file, but gst_type_find_peek() must
21478 either return the full data as requested or NULL, but
21479 never a short buffer.
21481 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21483 * gst/gstmessage.c: (gst_message_new_state_changed),
21484 (gst_message_parse_state_changed):
21485 * gst/gstmessage.h:
21486 don't use "new", it's a C++ keyword
21488 2005-10-08 Wim Taymans <wim@fluendo.com>
21490 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21491 * gst/gstelement.c: (gst_element_post_message):
21492 * gst/gstpipeline.c: (gst_pipeline_change_state):
21493 Small docs and debug updates.
21495 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21497 * docs/gst/gstreamer-sections.txt:
21498 * gst/gstelementfactory.c:
21500 * gst/gsttaglist.c:
21503 2005-10-08 Wim Taymans <wim@fluendo.com>
21505 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21506 (gst_bin_dispose), (bin_bus_handler):
21507 Fix typos, add comments.
21508 Clear EOS list when going to PAUSED from any direction and do it
21509 in a threadsafe way.
21510 Get base time in a threadsafe way too.
21511 Fix confusing debug in the change_state function.
21512 Various other small cleanups.
21514 * gst/gstelement.c: (gst_element_post_message):
21515 Fix very verbose bus posting code.
21517 * gst/gstpipeline.c: (gst_pipeline_class_init),
21518 (gst_pipeline_set_property), (gst_pipeline_get_property),
21519 (gst_pipeline_change_state):
21520 Small ARG_ -> PROP_ cleanup
21522 2005-10-08 Wim Taymans <wim@fluendo.com>
21524 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21525 Do a less CPU demanding EOS check because we can.
21527 2005-10-08 Wim Taymans <wim@fluendo.com>
21529 * libs/gst/dataprotocol/dataprotocol.c:
21530 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21531 (gst_dp_packet_from_event):
21532 * libs/gst/dataprotocol/dataprotocol.h:
21533 * libs/gst/dataprotocol/dp-private.h:
21534 It's about time we bump the version number.
21535 Since event types don't fit in the guint8 anymore describing
21536 the payload type, make payload type 16 bits wide.
21538 2005-10-08 Wim Taymans <wim@fluendo.com>
21540 * docs/design/part-TODO.txt:
21541 * docs/design/part-clocks.txt:
21542 * docs/design/part-events.txt:
21543 * docs/design/part-gstbin.txt:
21544 * docs/design/part-gstelement.txt:
21545 * docs/design/part-gstpipeline.txt:
21546 * docs/design/part-live-source.txt:
21547 * docs/design/part-messages.txt:
21548 * docs/design/part-overview.txt:
21549 * docs/design/part-states.txt:
21552 2005-10-08 Wim Taymans <wim@fluendo.com>
21556 Fix event quark registration.
21557 Add some space between events so we can insert them in the
21560 2005-10-08 Wim Taymans <wim@fluendo.com>
21562 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21563 (gst_base_sink_handle_buffer):
21564 Better log message.
21567 * gst/gstelement.h:
21570 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21571 (gst_queue_set_property), (gst_queue_get_property):
21573 Remove old unused properties.
21575 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21576 * docs/gst/gstreamer-sections.txt:
21577 * gst/gstmessage.c:
21578 * gst/gstmessage.h:
21579 * gst/gstminiobject.c:
21580 * gst/gstminiobject.h:
21584 lots of new docs and doc fixes
21586 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21588 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21590 * gst/gstregistry.c: (gst_registry_lookup_locked),
21591 (gst_registry_scan_path_level):
21592 * gst/gstregistryxml.c: (load_plugin):
21593 Only ever load one plugin for a given plugin basename.
21594 This ensures correct overriding of GST_PLUGIN_PATH over
21595 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21596 system installed plugins.
21598 2005-10-08 Wim Taymans <wim@fluendo.com>
21600 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21601 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21602 Prepare for doing QOS.
21604 2005-10-08 Wim Taymans <wim@fluendo.com>
21606 * check/gst/gstbin.c: (GST_START_TEST):
21607 * check/pipelines/cleanup.c: (GST_START_TEST):
21608 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21609 Allow new clock message too.
21611 2005-10-08 Wim Taymans <wim@fluendo.com>
21613 * gst/gstmessage.c: (gst_message_new_error),
21614 (gst_message_new_warning), (gst_message_new_tag),
21615 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21616 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21617 (gst_message_new_segment_start), (gst_message_new_segment_done),
21618 (gst_message_parse_state_changed),
21619 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21620 (gst_message_parse_new_clock):
21621 * gst/gstmessage.h:
21622 Also carry the clock in question.
21624 2005-10-08 Wim Taymans <wim@fluendo.com>
21626 * gst/gstmessage.c: (gst_message_new_custom),
21627 (gst_message_new_eos), (gst_message_new_error),
21628 (gst_message_new_warning), (gst_message_new_tag),
21629 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21630 (gst_message_new_new_clock), (gst_message_new_segment_start),
21631 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21632 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21633 * gst/gstmessage.h:
21635 Added clock related messages.
21637 * gst/gstpipeline.c: (gst_pipeline_change_state):
21638 Post message when the clock changed.
21640 * tools/gst-launch.c: (event_loop):
21643 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21645 * tools/gst-inspect.c: (print_element_properties_info):
21646 Can't pass NULL strings to g_print() on windows.
21648 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21650 * docs/Makefile.am:
21651 * docs/gst/Makefile.am:
21652 * docs/gst/gstreamer-docs.sgml:
21653 * docs/gst/running.xml:
21654 * docs/version.entities.in:
21655 add a chapter on running GStreamer.
21656 document GST_DEBUG and GST_PLUGIN* env vars
21658 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21663 remove PLUGINS_BUILDDIR stuff
21664 * gst/gst.c: (init_post):
21665 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21667 remove, it was condescending and not needed
21669 2005-10-08 Wim Taymans <wim@fluendo.com>
21671 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21672 (gst_base_sink_handle_object), (gst_base_sink_event),
21673 (gst_base_sink_wait), (gst_base_sink_handle_event),
21674 (gst_base_sink_change_state):
21675 * gst/base/gstbasesink.h:
21676 Repost EOS message while going to PLAYING if still EOS.
21677 Make sure that when receiving a FLUSH_START we don't attempt
21678 to sync on the clock anymore.
21680 2005-10-08 Wim Taymans <wim@fluendo.com>
21682 * tools/gst-launch.c: (event_loop):
21683 Better message printout.
21685 2005-10-08 Wim Taymans <wim@fluendo.com>
21687 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21688 (gst_bin_child_proxy_get_children_count):
21689 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21690 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21691 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21692 (gst_child_proxy_set_valist):
21693 * gst/parse/grammar.y:
21694 Make ChildProxy threadsafe and fix mem leaks.
21696 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21698 * gst/gst.c: (init_post):
21699 debug the GST_PLUGIN_ env vars
21701 2005-10-08 Wim Taymans <wim@fluendo.com>
21703 * check/gst/gstbin.c: (GST_START_TEST):
21704 * check/gst/gstmessage.c: (GST_START_TEST):
21705 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21706 * gst/gstelement.c: (gst_element_commit_state),
21707 (gst_element_lost_state):
21708 * gst/gstmessage.c: (gst_message_new_state_changed),
21709 (gst_message_parse_state_changed):
21710 * gst/gstmessage.h:
21711 * tools/gst-launch.c: (event_loop):
21712 Added extra field to STATE_CHANGE message with the pending
21713 state, which will be different from the new state soon.
21715 2005-10-08 Wim Taymans <wim@fluendo.com>
21717 * gst/gstbus.c: (gst_bus_pop):
21719 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21720 Small cleanups and doc updates.
21722 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21724 * gst/gst.c: (init_pre):
21725 * gst/gstbin.c: (gst_bin_add_func):
21726 log distributing clocks and base time
21727 * gst/gstregistry.c: (gst_registry_add_plugin),
21728 (gst_registry_scan_path_level), (gst_registry_scan_path):
21729 clean up the debugging output a little
21730 * gst/gstutils.c: (gst_element_state_get_name):
21731 warn about a memleak (I've actually seen this be used, though
21732 it was probably a bug)
21734 2005-10-07 Wim Taymans <wim@fluendo.com>
21736 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21737 (gst_base_src_init), (gst_base_src_default_newsegment),
21738 (gst_base_src_newsegment), (gst_base_src_do_seek),
21739 (gst_base_src_loop), (gst_base_src_start):
21740 * gst/base/gstbasesrc.h:
21741 Make the newsegment event customizable by subclasses.
21743 2005-10-07 Wim Taymans <wim@fluendo.com>
21745 * gst/gstevent.c: (gst_event_new_buffersize),
21746 (gst_event_parse_buffersize):
21748 New event for future idea.
21750 2005-10-07 Andy Wingo <wingo@pobox.com>
21752 * gst/gstelement.c (gst_element_post_message): Doc update.
21754 * docs/gst/gstreamer-sections.txt: Update.
21756 * gst/gstmessage.c (gst_message_new_application): Made into a
21757 function like honest API calls.
21758 (gst_message_new_element): New message type.
21760 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21762 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21763 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21766 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21767 NO_PREROLL from gst_element_change_state to fall through.
21769 2005-10-07 Wim Taymans <wim@fluendo.com>
21771 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21772 (gst_ghost_pad_do_activate_push):
21773 Activating a ghostpad with no internal pad in push mode
21776 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21779 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21780 Fixes compilation on Windows.
21782 2005-10-07 Michael Smith <msmith@fluendo.com>
21784 * tools/gst-inspect.c:
21785 Print out feature and plugin count at the end when printing out
21788 2005-10-04 Michael Smith <msmith@fluendo.com>
21790 * gst/gsterror.c: (_gst_stream_errors_init):
21791 Add another error string used in a few existing plugins.
21794 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21795 * tools/gst-inspect.c: (print_element_info):
21796 When a feature disappears from a plugin (and the feature exists in
21797 the cached registry file), things went horribly wrong. This isn't a
21798 complete fix, we should actually be removing the 'missing' features
21799 from the features list when we load the actual plugin. That's not
21802 2005-10-04 Johan Dahlin <johan@gnome.org>
21804 * check/gst/gstiterator.c: (GST_START_TEST):
21805 * gst/gstbin.c: (gst_bin_iterate_elements),
21806 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21807 * gst/gstelement.c: (gst_element_iterate_pads):
21808 * gst/gstformat.c: (gst_format_iterate_definitions):
21809 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21810 (gst_iterator_new_list), (gst_iterator_filter):
21811 * gst/gstiterator.h:
21812 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21813 Add a GType to GstIterator, update callsites and tests.
21815 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21817 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21818 give events a chance to be handled by event probes when the pad
21821 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21823 * gst/gstevent.c: (gst_event_type_get_name),
21824 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21826 add string representations for event types
21828 2005-10-06 Wim Taymans <wim@fluendo.com>
21830 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21831 Don't use NULL pointers.
21833 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21835 * gst/gst_private.h:
21837 * gst/gstelement.c:
21839 * gst/gstpluginfeature.c:
21840 widen the debug category in output to fit the biggest one we have
21841 add a bus category and use it
21842 play with the colors
21843 fix up some categories
21845 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21847 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21848 add push activation of sink ghost pads.
21849 Andye, please verify
21851 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21853 * gst/gstutils.c: (gst_element_link_pads):
21854 fix a bug in the case where neither element has a pad
21855 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21856 add a test for that case
21858 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21860 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21861 emit have-data before checking for peers. This allows
21862 for probe handlers to connect elements. This helps autopluggers.
21863 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21865 add six checks, linked/unlinked with no/true/false probe
21867 2005-10-04 Wim Taymans <wim@fluendo.com>
21869 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21870 (gst_fake_sink_event), (gst_fake_sink_preroll),
21871 (gst_fake_sink_render), (gst_fake_sink_change_state):
21872 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21873 (gst_fake_src_get_property), (gst_fake_src_create),
21874 (gst_fake_src_stop):
21875 * gst/elements/gstidentity.c: (gst_identity_stop):
21876 Protect last_message with lock.
21878 2005-10-04 Edward Hervey <edward@fluendo.com>
21881 Added precision in the comments for GST_FORMAT_DEFAULT
21883 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21885 * tools/gst-launch.c: (main):
21886 Don't try to run erroneous pipelines.
21888 2005-10-04 Julien MOUTTE <julien@moutte.net>
21890 * gst/gstbus.c: We don't need this header.
21892 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21895 back to development
21897 === release 0.9.3 ===
21899 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21903 Releasing 0.9.3, "Unregistered"
21905 2005-10-03 Andy Wingo <wingo@pobox.com>
21907 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21908 whereby calling a pad's activatepush() function can start a thread
21909 that starts to push or pull before the pad gets the FLUSHING flag
21910 unset. Hack around it by holding the stream lock until the flag is
21911 set. Need to replace this with a proper solution. Together with
21912 the ghost pad fixes, this fixes mp3 playing/tagreading.
21914 * docs/design/part-gstghostpad.txt: Add a note about activation of
21915 proxy pads outside of ghost pads.
21917 * gst/gstghostpad.c: Implement the ghost pad activation design.
21919 2005-10-02 Andy Wingo <wingo@pobox.com>
21921 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21922 It is volatile, after all.
21924 * docs/design/part-gstghostpad.txt: Flesh out activation with
21927 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21930 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21933 Fix (unused) AM_CONDITIONAL tests.
21935 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21937 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21939 * gst/gstutils.c: (gst_pad_query_convert):
21940 Add assertion that makes sure src_val is >=0, just like
21941 gst_query_new_convert() has. (#315895)
21943 2005-09-30 Edward Hervey <edward@fluendo.com>
21945 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21946 Let's not iterate pads we're not interested in, it avoids getting
21947 sky-high refcounts on sinkpad.
21949 2005-09-30 Wim Taymans <wim@fluendo.com>
21951 * gst/gstelement.c: (gst_element_set_state),
21952 (gst_element_change_state):
21953 Small tweak, element in ASYNC remains ASYNC.
21955 2005-09-30 Wim Taymans <wim@fluendo.com>
21957 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21958 Only error is an error.
21960 * gst/gstbin.c: (gst_bin_change_state):
21963 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21964 Also call pad_block in pad alloc.
21966 * gst/gstutils.c: (gst_flow_get_name):
21969 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21971 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21972 (gst_base_src_get_range):
21973 Fix documentation typos. Add some more debug info.
21975 2005-09-29 David Schleef <ds@schleef.org>
21977 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21978 more end-user friendly.
21979 * tools/gst-inspect.c: (main): Check if command-line argument is
21980 a file and attempt to load that file as a plugin.
21982 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21984 * check/gst/gstbin.c:
21985 * check/states/sinks.c:
21986 fix tests for the new warning
21987 * check/gst/gstpipeline.c:
21988 add a test for pipeline and bus interaction
21989 * gst/gstelement.c:
21990 elements should be NULL if they get disposed; add a warning if not
21992 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21995 for 2.6 refcounting, make debug log more correct by printing
21996 the actual refcounts at the time of swap (Wim)
21998 2005-09-29 Andy Wingo <wingo@pobox.com>
22000 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
22001 removes signal watches previously added via
22002 gst_bus_add_signal_watch.
22003 (gst_bus_add_signal_watch): Don't return the source id, just store
22004 it on the bus if there wasn't an id already.
22006 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
22007 add_signal_watch and remove_signal_watch.
22009 2005-09-29 Edward Hervey <edward@fluendo.com>
22011 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
22012 Better if we actually iterate the list :)
22014 2005-09-29 Wim Taymans <wim@fluendo.com>
22016 * check/gst/gstbin.c: (GST_START_TEST):
22017 Change for new bus API.
22019 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22020 (send_messages), (GST_START_TEST), (gstbus_suite):
22021 Change for new bus signal API.
22023 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
22024 (gst_bus_source_prepare), (gst_bus_source_check),
22025 (gst_bus_create_watch), (gst_bus_add_watch_full),
22026 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
22027 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
22029 Remove support for multiple GSources operating on different
22030 message types as it is too complex and unneeded when using
22032 Added support for receiving signals from the bus.
22034 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
22036 * docs/libs/tmpl/gstdataprotocol.sgml:
22037 * docs/manual/advanced-dataaccess.xml:
22038 * gst/elements/gstcapsfilter.c:
22040 rename filter-caps to caps property
22042 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22044 * gst/gstvalue.c: (gst_value_deserialize_fraction):
22045 More robust fraction string parsing.
22047 * docs/pwg/appendix-porting.xml:
22048 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
22050 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
22052 * gst/gstcaps.c: (gst_caps_do_simplify):
22053 Thou shalt not free a structure and then continue using it
22054 in the next loop iteration.
22056 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
22058 Add test case for caps simplification.
22060 2005-09-29 Wim Taymans <wim@fluendo.com>
22062 * check/gst/gstbin.c: (GST_START_TEST):
22065 2005-09-29 Wim Taymans <wim@fluendo.com>
22067 * check/gst/gstbin.c: (GST_START_TEST):
22070 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
22071 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22072 (find_element), (gst_bin_sort_iterator_next),
22073 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22074 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22075 (gst_bin_change_state), (gst_bin_dispose):
22076 A bin does not have a bus, it gets the bus from the parent.
22078 * gst/gstelement.c: (gst_element_requires_clock),
22079 (gst_element_provides_clock), (gst_element_is_indexable),
22080 (gst_element_is_locked_state), (gst_element_change_state),
22081 (gst_element_set_bus_func):
22084 * gst/gstpipeline.c: (gst_pipeline_class_init),
22085 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22086 The pipeline provides a bus.
22088 2005-09-28 Johan Dahlin <johan@gnome.org>
22090 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22091 gst_structure_get_enum instead of gst_structure_get_int
22093 * gst/gststructure.c (gst_structure_get_enum): Impl.
22095 * gst/gststructure.h (gst_structure_get_enum): Add
22097 * docs/gst/gstreamer-sections.txt: Ditto
22099 * gst/gstmessage.c (gst_message_new_state_changed): Use
22100 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22101 which does introspection.
22102 Reviewed by Christian Schaller
22104 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22106 * gst/gstinfo.c: (gst_debug_log_default):
22107 don't do dummy g_strdup()s
22108 * libs/gst/controller/gstcontroller.c:
22109 (on_object_controlled_property_changed),
22110 (gst_controlled_property_new), (gst_controller_new_valist),
22111 (gst_controller_new_list),
22112 (gst_controller_remove_properties_valist), (gst_controller_set),
22113 (gst_controller_get), (gst_controller_sync_values),
22114 (gst_controller_get_value_array), (_gst_controller_class_init),
22115 (gst_controller_get_type):
22116 * libs/gst/controller/gstcontroller.h:
22117 * libs/gst/controller/gstinterpolation.c:
22118 (gst_controlled_property_find_timed_value_node):
22119 convert // to /**/ comments
22121 2005-09-28 Wim Taymans <wim@fluendo.com>
22123 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22124 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22125 (gst_bus_sync_signal_handler):
22127 Added async-message and sync-message signals to the bus.
22128 Added helper BusFunc to emit signals for all posted messages.
22130 * gst/gstmessage.c: (gst_message_type_get_name),
22131 (gst_message_type_to_quark), (gst_message_get_type):
22132 * gst/gstmessage.h:
22133 Register quarks for message names.
22135 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22137 * docs/libs/gstreamer-libs-sections.txt:
22138 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22139 (gst_controller_new_list):
22140 * libs/gst/controller/gstcontroller.h:
22141 added another constructor for language bindings
22143 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22145 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22149 * gst/gstinfo.c: (_gst_debug_init):
22150 slightly more readable color for refcount debugging
22152 2005-09-28 Wim Taymans <wim@fluendo.com>
22154 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22155 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22156 (find_element), (gst_bin_sort_iterator_next),
22157 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22158 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22159 (gst_bin_change_state), (gst_bin_dispose):
22160 Small doc fixes. get_clock -> provide_clock.
22162 * gst/gstelement.c: (gst_element_class_init),
22163 (gst_element_provides_clock), (gst_element_provide_clock),
22164 (gst_element_get_clock), (gst_element_commit_state),
22165 (gst_element_lost_state):
22166 * gst/gstelement.h:
22167 Make get/set_clock() symetric. Add provide_clock vmethod since
22168 that is actually what this function does.
22170 * gst/gstpipeline.c: (gst_pipeline_class_init),
22171 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22172 (gst_pipeline_get_clock):
22173 get_clock -> provide_clock.
22175 2005-09-28 Andy Wingo <wingo@pobox.com>
22177 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22178 lieu of real docs...
22180 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22182 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22184 * gst/elements/gstcapsfilter.c:
22185 * gst/elements/gstfakesink.c:
22186 * gst/elements/gstfakesrc.c:
22187 * gst/elements/gstfdsink.c:
22188 * gst/elements/gstfdsrc.c:
22189 * gst/elements/gstfilesink.c:
22190 * gst/elements/gstfilesrc.c:
22191 * gst/elements/gstidentity.c:
22192 * gst/elements/gsttee.c:
22193 * gst/elements/gsttypefindelement.c:
22194 Make element details static.
22196 2005-09-28 Wim Taymans <wim@fluendo.com>
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), (gst_bin_dispose):
22203 Some documentation updates.
22204 Clean up dispose handlers.
22206 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22207 * gst/gstpad.c: (gst_pad_dispose):
22208 Clean up dispose handler.
22210 * gst/gstpipeline.c: (gst_pipeline_change_state):
22211 Removed spurious UNLOCK.
22213 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22215 * docs/gst/gstreamer-sections.txt:
22216 * gst/base/gstbasesrc.h:
22217 * gst/gstelement.h:
22221 * gst/gstpipeline.c:
22222 * gst/gstpipeline.h:
22225 added two new functions to the docs
22226 documents all undocumented GstXXXFlags
22227 completed some incomplete docs
22229 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22231 * gst/gstbin.c: (gst_bin_dispose):
22232 * gst/gstelement.c: (gst_element_dispose):
22233 remove now useless and leaky resurrection code in dispose
22234 * gst/base/gstbasesrc.c: (gst_base_src_init):
22235 * gst/gstelementfactory.c: (gst_element_factory_create):
22236 * gst/gstobject.c: (gst_object_set_parent):
22239 2005-09-27 Wim Taymans <wim@fluendo.com>
22241 * docs/design/part-TODO.txt:
22244 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22245 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22246 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22247 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22248 (gst_bin_change_state):
22249 * gst/gstelement.h:
22250 Remove element variable, we keep element info in the iterator now.
22252 2005-09-27 Andy Wingo <wingo@pobox.com>
22254 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22257 2005-09-27 Wim Taymans <wim@fluendo.com>
22259 * check/gst/gstbin.c: (GST_START_TEST):
22260 Enable check that works now.
22262 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22263 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22264 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22265 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22266 (gst_bin_change_state):
22268 Redid the state change algorithm using a topological sort algo.
22269 Handles all cases correctly.
22270 Exposed iterator for state change order.
22272 * gst/gstelement.h:
22273 Temp storage for state changes. Need to get rid of this soon.
22275 2005-09-27 Wim Taymans <wim@fluendo.com>
22277 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22278 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22279 (link_fold_func), (gst_pad_proxy_setcaps):
22280 Leak fixes, the fold functions need to unref the passed object and
22281 _get_parent_*() returns ref to parent.
22283 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22285 * check/gst/gstbuffer.c: (test_make_writable):
22286 Plug leak in test case and fix 'make check-valgrind'
22288 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22290 * gst/gstbuffer.c: (gst_subbuffer_init):
22291 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22292 works correctly in all circumstances (we could have just copied
22293 the parent buffer's readonly flag, but conceptually it seems
22294 cleaner to mark all subbuffers as read-only). (based on patch
22295 by Alessandro Decina, #314710).
22297 * check/gst/gstbuffer.c: (create_read_only_buffer),
22298 (test_make_writable), (test_subbuffer_make_writable),
22300 Add some tests for gst_buffer_make_writable().
22302 2005-09-27 Wim Taymans <wim@fluendo.com>
22304 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22305 use gst_object_has_ancestor().
22307 * gst/gstobject.c: (gst_object_has_ancestor):
22309 gst_object_has_ancestor() copied from gstbin.c as it is a
22312 * tests/instantiate/create.c: (create_all_elements):
22313 * tests/lat.c: (handoff_src), (handoff_sink):
22314 * tests/sched/runxml.c: (main):
22315 * tests/seeking/seeking1.c: (main):
22316 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22318 Fix compilation of some tests.
22320 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22323 Remove comment. GST_TYPE_G_ERROR is here to stay,
22324 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22325 (#316961, #300610).
22327 2005-09-26 Wim Taymans <wim@fluendo.com>
22329 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22330 Added check that shows error in state change order.
22332 2005-09-26 Wim Taymans <wim@fluendo.com>
22334 * gst/gstbin.c: (gst_bin_change_state):
22335 Make state change function use 3 queues again, we were
22336 adding elements in the wrong order.
22338 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22341 * gst/gstpad.c: (gst_pad_dispose):
22342 Added some debug info first.
22344 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22346 * docs/design/draft-push-pull.txt:
22347 * docs/design/part-events.txt:
22348 * docs/design/part-overview.txt:
22349 * docs/design/part-scheduling.txt:
22350 Replace all _pull_region() with _pull_range()
22352 2005-09-26 Andy Wingo <wingo@pobox.com>
22354 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22356 * check/gst-libs/controller.c: Update for controller api change.
22359 * tests/Makefile.am:
22360 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22361 over by GLib bug 118439.
22363 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22364 routines to a function.
22366 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22368 * libs/gst/controller/gsthelper.c:
22369 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22370 (gst_object_sync_values): Renamed from sink_values. Ugh.
22372 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22374 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22375 Renamed from controller_key, as it is exported.
22377 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22379 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22384 * gst/gstpadtemplate.h:
22387 * gst/gstqueryutils.c:
22388 * gst/gstqueryutils.h:
22389 remove queryutils headers after moving the two used functions
22390 to gstquery. also fixes build problem for gstsiddec
22392 2005-09-26 Michael Smith <msmith@fluendo.com>
22394 * tools/gst-launch.1.in:
22395 Correct documentation in manpage of debug syntax
22397 2005-09-26 Wim Taymans <wim@fluendo.com>
22399 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22400 (gst_base_src_is_seekable), (gst_base_src_change_state):
22401 Some more debugging info.
22403 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22405 * docs/gst/gstreamer-sections.txt:
22406 * gst/base/gstbasetransform.h:
22410 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22412 * docs/gst/.cvsignore:
22413 * docs/gst/tmpl/.cvsignore:
22414 * docs/gst/tmpl/gstpipeline.sgml:
22415 * docs/gst/tmpl/gstplugin.sgml:
22416 * gst/gstpipeline.c:
22419 inlined the last two docs files
22420 removed the tmpl directory from cvs (no more conflicts here!)
22422 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22424 * docs/gst/gstreamer-sections.txt:
22425 * docs/gst/tmpl/.cvsignore:
22426 * docs/gst/tmpl/gstpad.sgml:
22427 * docs/gst/tmpl/gstpadtemplate.sgml:
22429 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22430 (gst_pad_finalize), (gst_pad_set_pad_template):
22432 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22433 (gst_pad_template_class_init), (gst_pad_template_init),
22434 (gst_pad_template_dispose), (name_is_valid),
22435 (gst_static_pad_template_get), (gst_pad_template_new),
22436 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22437 (gst_pad_template_pad_created):
22438 * gst/gstpadtemplate.h:
22439 inlined two more docs
22440 factored gstpadtemplate out of gstpad
22442 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22444 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22445 (test_children_state_change_order_semi_sink):
22446 Fix test case: we can't rely on a fixed state change order when
22447 going from READY => PAUSED because the sink might commit its
22448 new state first when the first buffer created by the source
22449 reaches the sink before the source has finished its change state.
22450 (Test case still fails at times, see #316856, comment 5 onwards)
22452 2005-09-24 Wim Taymans <wim@fluendo.com>
22454 * docs/design/part-events.txt:
22455 * docs/design/part-gstbus.txt:
22456 * docs/design/part-gstpipeline.txt:
22457 * docs/design/part-messages.txt:
22458 * docs/design/part-overview.txt:
22459 * docs/design/part-segments.txt:
22463 * gst/gstelement.c:
22466 * gst/gstiterator.c:
22467 Various documentation updates.
22469 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22472 Well, that's embarassing. Luckily we weren't using
22473 GST_CLOCK_DIFF anywhere.
22475 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22477 * common/gtk-doc.mak:
22478 don't fail on building XML, FC4 slave shows a bunch of doc
22479 missing bits that I don't get
22481 * gst/gstpipeline.c:
22482 * gst/gststructure.c:
22485 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22487 * docs/design/part-gstbin.txt:
22488 * docs/design/part-gstbus.txt:
22490 Add blurb about how the bus goes into flushing mode and
22491 drops all messages when its bin goes from READY into NULL
22494 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22496 * docs/gst/gstreamer-sections.txt:
22497 * gst/gststructure.c: (gst_structure_get_clock_time):
22498 * gst/gststructure.h:
22499 add a method to get a GstClockTime out of a structure
22501 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22503 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22504 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22505 Added test to check state change order in bins (can still be made
22506 to fail here under heavy disk load; bails out with 'Push on pad
22507 fakesink:sink0, but it was not activated in push mode').
22509 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22510 Fix state change order when there is only a semi sink (#316856)
22512 * gst/gstbus.c: (gst_bus_class_init):
22513 Use _class_peek_parent(), not _class_ref(); fix docs to say
22514 'default main context' instead of 'mainloop' where that is
22517 * gst/gstelement.c: (gst_element_commit_state),
22518 (gst_element_set_state):
22519 Fix typos in debug messages
22521 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22524 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22525 * gst/gstpluginfeature.c:
22527 various doc updates
22528 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22529 change an assert into an error until it gets fixed properly
22531 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22533 * docs/gst/gstreamer-sections.txt:
22534 * docs/gst/tmpl/.cvsignore:
22535 * docs/gst/tmpl/gstelement.sgml:
22536 * docs/gst/tmpl/gstinfo.sgml:
22537 * docs/gst/tmpl/gstobject.sgml:
22538 * gst/gstelement.c:
22539 * gst/gstelement.h:
22542 * gst/gstobject.c: (gst_object_class_init):
22544 inlined 3 more biiiig doc files and added some missing docs on the fly
22546 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22548 * check/gst/.cvsignore:
22549 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22550 * gst/gstregistryxml.c: (load_plugin),
22551 (gst_registry_xml_save_plugin):
22552 put back source in registry. add checks for find_plugin.
22553 * testsuite/states/bin.c: (assert_state), (empty_bin),
22554 (test_adding_one_element), (main):
22555 * testsuite/states/locked.c: (main):
22556 some compile/run fixes
22558 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22560 * check/gst/gstvalue.c: (GST_START_TEST):
22561 fix leaks in the test itself
22563 2005-09-22 Wim Taymans <wim@fluendo.com>
22565 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22566 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22567 (gst_base_sink_query):
22568 Prepare for more accurate position reporting and query
22571 * gst/gstelement.c: (gst_element_send_event),
22572 (gst_element_set_state):
22575 2005-09-22 Wim Taymans <wim@fluendo.com>
22577 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22578 (gst_query_parse_segment):
22580 More documentation.
22581 Add segment query for future use.
22583 2005-09-22 Wim Taymans <wim@fluendo.com>
22585 * gst/gstbin.c: (gst_bin_add_func):
22586 Some more debug info.
22588 * gst/gstelement.c: (gst_element_send_event):
22589 Simplify send_event
22591 * gst/gstelement.h:
22592 Don't know how flags got broken.
22597 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22599 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22600 Add simplistic test suite for GST_TYPE_DATE serialisation and
22603 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22605 * docs/gst/gstreamer-sections.txt:
22606 * gst/gststructure.c: (gst_structure_set_valist),
22607 (gst_structure_get_date):
22608 * gst/gststructure.h:
22609 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22610 (gst_date_copy), (gst_value_compare_date),
22611 (gst_value_serialize_date), (gst_value_deserialize_date),
22612 (gst_value_transform_date_string),
22613 (gst_value_transform_string_date), (_gst_value_initialize):
22615 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22616 bunch of utility functions along with a hack that checks that
22617 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22618 is required. Part of the grand scheme in #170777.
22620 2005-09-22 Andy Wingo <wingo@pobox.com>
22622 * gst/gstconfig.h.in: Psych out gtk-doc.
22624 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22626 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22628 * tools/gst-inspect.c (print_element_list): Plug some
22629 inconsequential leaks.
22631 * gst/gstregistry.c (gst_registry_get_default): Doc.
22633 * check/gst/gstplugin.c:
22634 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22635 * gst/gstelementfactory.c (gst_element_factory_create):
22636 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22639 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22640 (gst_plugin_feature_load): Doc, don't eat refs.
22642 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22643 (gst_plugin_list_free): Doc.
22644 (gst_plugin_load_file): Doc updates.
22646 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22647 accessors returning refcounted objects, return a ref.
22649 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22650 accessor for caps. IDEMPOTENCE. Oh yes.
22652 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22654 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22656 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22657 (_gst_debug_register_funcptr):
22658 Add mutex to serialise access to the hash table with
22659 the function pointer => function name string mapping;
22660 make that hash table static scope (#316809).
22662 * gst/registries/.cvsignore:
22663 Remove left-over file.
22665 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22667 * docs/pwg/appendix-porting.xml:
22668 And something about newsegment events and caps-on-buffers to
22669 the porting guide (feel free to improve).
22671 2005-09-21 Andy Wingo <wingo@pobox.com>
22673 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22674 data and event probes on the same pad.
22675 (test_buffer_probe_once): Test that removing probes from within
22676 the probe functions works.
22678 2005-09-21 Andy Wingo <wingo@pobox.com>
22680 * check/gst/gstutils.c: New file.
22681 (test_buffer_probe_n_times): A simple buffer probe test. More to
22684 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22685 have-data::buffer, not have-data.
22686 (gst_pad_add_event_probe): Likewise for have-data::event.
22687 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22688 peer' isn't quite right yet though.
22689 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22690 (gst_pad_remove_data_probe): Change to take the guint handler_id
22691 as their arg, not the function+data, which is more glib-like.
22693 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22694 the signal emission to indicate if the data is a buffer or an
22696 (gst_pad_get_type): Initialize buffer and event quarks.
22697 (gst_pad_class_init): have-data is now a detailed signal, yes it
22700 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22702 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22703 * gst/gstutils.c: (gst_util_set_value_from_string),
22704 (gst_util_set_object_arg):
22705 Don't put functional code in g_return_if_fail() or
22706 g_return_val_if_fail() statements, otherwise things will
22707 break when G_DISABLE_CHECKS is defined during compilation.
22709 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22711 * docs/gst/tmpl/.cvsignore:
22712 * docs/gst/tmpl/gstvalue.sgml:
22715 inlied another one and added some obvious docs
22717 2005-09-21 Wim Taymans <wim@fluendo.com>
22719 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22720 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22721 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22722 (gst_fdsrc_get_property), (gst_fdsrc_create):
22723 * gst/elements/gstfdsrc.h:
22724 Properly implement fdsrc. Removed signal and timeout,
22725 better implemented somewhere else.
22727 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22729 * docs/gst/tmpl/.cvsignore:
22730 * docs/gst/tmpl/gstimplementsinterface.sgml:
22731 * gst/gstinterface.c:
22734 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22736 * docs/gst/gstreamer-sections.txt:
22737 * docs/gst/tmpl/.cvsignore:
22738 * docs/gst/tmpl/gstenumtypes.sgml:
22739 remove obsolete doc file
22741 2005-09-21 David Schleef <ds@schleef.org>
22743 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22744 little beer, fix a little leak.
22746 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22748 * docs/gst/gstreamer-docs.sgml:
22749 * docs/gst/gstreamer-sections.txt:
22750 * docs/gst/tmpl/.cvsignore:
22754 * gst/gstelement.h:
22755 * gst/gstindex.c: (gst_index_class_init):
22757 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22758 (gst_index_factory_class_init), (gst_index_factory_init),
22759 (gst_index_factory_finalize), (gst_index_factory_new),
22760 (gst_index_factory_destroy), (gst_index_factory_find),
22761 (gst_index_factory_create), (gst_index_factory_make):
22762 * gst/gstindexfactory.h:
22763 * gst/gstpluginfeature.c:
22764 * gst/gstpluginfeature.h:
22765 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22766 more docs inlined, splitted gstindex.{c,h}
22768 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22770 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22773 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22775 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22776 Set sync to FALSE by default.
22778 2005-09-20 Wim Taymans <wim@fluendo.com>
22780 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22781 (gst_base_sink_init):
22782 Make sync property settable from subclass.
22784 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22785 (gst_fake_sink_change_state):
22786 Set sync to FALSE by default.
22788 2005-09-20 Wim Taymans <wim@fluendo.com>
22790 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22791 * tools/gst-launch.c: (main):
22792 The timeout handler should have lower priority than the source
22793 so we don't timeout before popping a message with 0 timeout.
22794 Dump error messages after failed state change.
22796 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22798 * tools/gst-inspect.c: (print_element_properties_info):
22801 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22803 * check/gst/gstevent.c:
22804 * gst/elements/gstfakesink.c:
22805 * gst/elements/gstfakesink.h:
22806 remove the sync property from fakesink.
22807 has the side effect of setting sync TRUE
22808 for fakesink, which is a change. Anyone who knows how
22809 to fix this nicely in a GObject-y way, feel free.
22811 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22813 * docs/gst/gstreamer-docs.sgml:
22814 remove probe refsection
22816 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22818 * check/Makefile.am:
22819 disable valgrinding the controller test again
22820 * docs/gst/gstreamer-sections.txt:
22821 update for api-changes
22823 2005-09-20 Wim Taymans <wim@fluendo.com>
22825 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22826 (gst_base_sink_set_property), (gst_base_sink_get_property),
22827 (gst_base_sink_do_sync):
22828 * gst/base/gstbasesink.h:
22829 Added sync property to basesink to disable clock sync.
22831 2005-09-20 Andy Wingo <wingo@pobox.com>
22833 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22834 eating the caller's refcount.
22836 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22837 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22840 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22841 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22842 of GLib 2.8 public, so we can know which refcount to check in
22845 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22846 (gst_object_init): Only set the gst refcount if we're going ahead
22847 with the refcount hack.
22849 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22851 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22852 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22853 more leaks plumbed, added more debug-logging
22857 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22859 * gst/gstmessage.c:
22860 remove include of gstmemchunk.h
22862 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22864 * gst/gstclock.c: (_gst_clock_id_free):
22865 Commit from the Political Party For More Atomic CVS Commits,
22866 so that people don't waste too much of their day fishing
22867 out obvious leaks out of massive commits.
22868 Oh, and fix a pretty damn obvious leak in the memchunk
22871 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22873 * check/Makefile.am:
22874 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22875 plug mem-leak, re-add to valgrindable tests
22877 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22880 unbreak the build for those who have chronic arthritis
22881 and typing "make check" is just too taxing on the hands
22883 2005-09-20 Andy Wingo <wingo@pobox.com>
22885 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22886 really want it out, you should fix plugins at the same time.
22888 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22891 * docs/gst/gstreamer-sections.txt:
22893 added missing symbols to api docs
22894 disable ref-count hack if we have glib >= 2.8
22896 2005-09-19 David Schleef <ds@schleef.org>
22898 * docs/gst/Makefile.am: Ignore a few more internal headers
22899 * docs/gst/gstreamer-docs.sgml: Remove old sections
22900 * docs/gst/gstreamer-sections.txt: Remove old sections
22901 * docs/gst/tmpl/gstobject.sgml: update
22902 * docs/gst/tmpl/gstplugin.sgml: update
22903 * docs/gst/tmpl/gstpluginfeature.sgml: update
22904 * docs/random/ds/0.9-suggested-changes: update.
22905 * gst/Makefile.am: remove memchunk and trashstack, since they're
22907 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22908 * gst/gst.h: don't include some headers
22909 * gst/gstchildproxy.c: add gstmarshal.h
22910 * gst/gstclock.c: Don't use memchunks
22911 * gst/gstminiobject.c: Add some docs
22912 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22913 * gst/gstobject.h: same
22914 * gst/gstplugin.c: include gstmacros.h
22915 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22916 * gst/gstquery.c: don't use memchunks
22917 * gst/gstregistry.c: rename gst_registry_deinit()
22918 * gst/gstregistry.h: same
22920 2005-09-19 David Schleef <ds@schleef.org>
22922 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22923 * docs/libs/gstreamer-libs-sections.txt:
22924 * docs/libs/tmpl/gstgetbits.sgml:
22925 * docs/libs/tmpl/gstputbits.sgml:
22927 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22929 * win32/gstenumtypes.c:
22930 * win32/gstenumtypes.h:
22933 2005-09-19 Wim Taymans <wim@fluendo.com>
22935 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22936 Automatically PAUSE and RESUME a pipeline when a flushing seek
22939 2005-09-19 Andy Wingo <wingo@pobox.com>
22941 * gst/gstregistry.h: Spacing fixen.
22943 2005-09-19 Wim Taymans <wim@fluendo.com>
22945 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22946 Handle state change failure more correctly.
22948 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22950 * check/Makefile.am:
22951 * check/pipelines/cleanup.c: (run_pipeline):
22952 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22954 enable cleanup again after fixing the leak
22956 some more info on docs
22958 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22960 * check/Makefile.am:
22961 re-enable tests now that leaks are plugged
22963 * check/gst/gstbin.c:
22964 * check/gst/gstpipeline.c:
22965 add some more tests while fixing leaks
22966 * common/check.mak:
22967 make sure binaries are uptodate when valgrinding/gdbing
22969 * gst/gstelementfactory.c:
22970 remove a ref too many, and add a FIXME for when we get
22971 round to disposing of classes
22973 fix the refcounting when loading a plugin from a file and
22974 the code pretends that the pointer is the same even though
22975 of course it can change
22976 * gst/gstpluginfeature.c:
22977 unref plugins marked cached (a bit confusing as a name)
22978 as the docs state should be done
22979 various doc additions to explain refcounting
22980 * gst/gstregistry.c:
22981 * gst/gstregistryxml.c:
22984 2005-09-19 Wim Taymans <wim@fluendo.com>
22986 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22987 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22988 (send_messages), (GST_START_TEST), (gstbus_suite):
22989 * check/gst/gstpipeline.c: (GST_START_TEST):
22990 * check/pipelines/cleanup.c: (run_pipeline):
22991 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22993 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22994 (gst_bus_source_check), (gst_bus_source_dispatch),
22995 (gst_bus_create_watch), (gst_bus_add_watch_full),
22996 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22998 * tools/gst-launch.c: (event_loop):
22999 * tools/gst-md5sum.c: (event_loop):
23000 GstBusHandler -> GstBusFunc, return value has the same meaning as
23001 any other GSource (FALSE == remove source).
23002 _add_watch() and _add_watch_full() now take a MessageType mask to
23003 only handle specific types of messages.
23004 _poll() returns the GstMessage instead of the message type to avoid
23006 _have_pending() takes a MessageType mask now too.
23007 Added testsuite for multiple bus watches.
23008 Fix testsuites and applications for new bus API.
23010 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
23012 * check/Makefile.am:
23013 mark a bunch of the tests as to fix until we fix them
23015 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23017 * common/check.mak:
23018 use GST_PLUGIN settings for valgrind tests as well, so we're
23019 valgrinding the correct thing
23020 * gst/gst.c: (init_post):
23023 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23025 * gst/gst.c: (init_post), (gst_deinit):
23026 * gst/gstelementfactory.c: (gst_element_factory_class_init),
23027 (gst_element_factory_finalize), (gst_element_factory_cleanup):
23028 * gst/gstindex.c: (gst_index_factory_class_init),
23029 (gst_index_factory_finalize):
23030 * gst/gstobject.c: (gst_object_dispose):
23031 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
23032 (gst_plugin_load_file), (gst_plugin_desc_free):
23033 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
23034 (gst_plugin_feature_finalize):
23035 * gst/gstregistry.c: (gst_registry_class_init),
23036 (gst_registry_init), (gst_registry_finalize),
23037 (gst_registry_get_default), (gst_registry_deinit):
23038 * gst/gstregistry.h:
23039 * gst/gstregistryxml.c: (load_feature), (load_plugin):
23040 various cleanups and memleak plugging. make valgrind is happy now.
23042 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
23044 * common/check.mak:
23045 add a check-valgrind target
23047 2005-09-18 David Schleef <ds@schleef.org>
23049 * tools/gst-inspect.c: Revert the GOption code.
23051 2005-09-17 David Schleef <ds@schleef.org>
23053 * check/Makefile.am: Fix environment variables.
23054 * check/gst/gstplugin.c: Fix for API changes.
23055 * tools/gst-inspect.c: Fix for API changes.
23056 * tools/gst-xmlinspect.c: Fix for API changes.
23057 * gst/gstelementfactory.c:
23060 * gst/gstpluginfeature.c:
23061 * gst/gstpluginfeature.h:
23062 * gst/gstregistry.c:
23063 * gst/gstregistry.h:
23064 * gst/gstregistryxml.c:
23065 * gst/gsttypefind.c:
23066 * gst/gsttypefindfactory.c:
23067 * gst/indexers/gstfileindex.c:
23068 * gst/indexers/gstmemindex.c:
23069 * gst/schedulers/Makefile.am:
23070 Change registry to keep track of both plugins and features,
23071 removing the feature tracking from plugins themselves.
23073 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
23075 * check/Makefile.am:
23076 * tools/gst-register.1.in:
23077 remove gst-register
23079 2005-09-15 David Schleef <ds@schleef.org>
23081 * check/gst/gstplugin.c:
23082 * gst/gstelementfactory.c:
23084 * gst/gstpluginfeature.c:
23085 * gst/gstregistry.c:
23086 Getting tired of debugging. Disabled all the unreffing of
23087 plugins and features, which fixes the segfaults, but of
23088 course leaks like crazy. At least playbin works.
23090 2005-09-15 David Schleef <ds@schleef.org>
23092 * check/gst/gstplugin.c: (register_check_elements),
23093 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23095 * gst/elements/gsttypefindelement.c: Fix refcounting.
23096 * gst/gsttypefind.c:
23097 * gst/gsttypefindfactory.c:
23098 * gst/gsttypefindfactory.h:
23100 2005-09-15 David Schleef <ds@schleef.org>
23102 * gst/gstindex.c: get refcounting correct.
23103 * gst/gstregistry.c: Handle the case where a feature/plugin is
23106 2005-09-15 David Schleef <ds@schleef.org>
23108 * check/Makefile.am:
23109 * check/gst/gstplugin.c: Add test
23110 * gst/gstplugin.c: Fix problems noticed by testsuite
23112 * gst/gstregistry.c:
23113 * gst/gstregistry.h:
23115 2005-09-15 David Schleef <ds@schleef.org>
23117 * gst/gstplugin.c: Implement semi-decent recounting and locking
23118 in plugins and plugin features.
23120 * gst/gstpluginfeature.c:
23121 * gst/gstpluginfeature.h:
23122 * gst/gstregistry.c:
23124 2005-09-15 Michael Smith <msmith@fluendo.com>
23126 * gst/gstregistry.c: (gst_registry_get_feature_list):
23127 Implement this. Makes oggdemux work; decodebin still broken.
23129 2005-09-14 David Schleef <ds@schleef.org>
23131 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23133 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23134 * gst/check/Makefile.am:
23135 * libs/gst/controller/Makefile.am:
23136 * libs/gst/dataprotocol/Makefile.am:
23138 2005-09-14 David Schleef <ds@schleef.org>
23140 * configure.ac: Remove getbits library. Nothing uses it, and
23141 it should be in something like liboil if someone did want
23143 * libs/gst/Makefile.am:
23144 * libs/gst/getbits/Makefile.am:
23145 * libs/gst/getbits/gbtest.c:
23146 * libs/gst/getbits/getbits.c:
23147 * libs/gst/getbits/getbits.h:
23148 * libs/gst/getbits/gstgetbits_generic.c:
23149 * libs/gst/getbits/gstgetbits_i386.s:
23150 * libs/gst/getbits/gstgetbits_inl.h:
23152 2005-09-14 David Schleef <ds@schleef.org>
23154 * gst/Makefile.am: Dist glib-compat.h
23156 2005-09-14 David Schleef <ds@schleef.org>
23158 * configure.ac: Remove gst/registries, since it's no longer used.
23159 * gst/registries/Makefile.am:
23160 * gst/registries/gstlibxmlregistry.c:
23161 * gst/registries/gstlibxmlregistry.h:
23162 * gst/registries/gstxmlregistry.c:
23163 * gst/registries/gstxmlregistry.h:
23164 * gst/registries/registrytest.c:
23166 2005-09-14 David Schleef <ds@schleef.org>
23168 * gst/glib-compat.h:
23169 * gst/gstregistryxml.c:
23170 Convergence is near. Seriously.
23172 2005-09-14 David Schleef <ds@schleef.org>
23174 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23175 * gst/glib-compat.h:
23176 Attempt #4 to appease the buildbots.
23178 2005-09-14 David Schleef <ds@schleef.org>
23180 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23183 2005-09-14 David Schleef <ds@schleef.org>
23185 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23188 2005-09-14 David Schleef <ds@schleef.org>
23190 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23193 2005-09-14 David Schleef <ds@schleef.org>
23195 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23196 * gst/glib-compat.h: Add some functions that are in newer versions
23197 of glib than we care to require.
23198 * gst/gstregistryxml.c: Use them.
23200 2005-09-14 David Schleef <ds@schleef.org>
23202 * po/POTFILES.in: remove gst-register.c
23204 2005-09-14 David Schleef <ds@schleef.org>
23206 * docs/gst/gstreamer-docs.sgml:
23207 * docs/gst/gstreamer-sections.txt:
23208 * docs/gst/gstreamer.types:
23209 * docs/gst/tmpl/gstelement.sgml:
23210 * docs/gst/tmpl/gstplugin.sgml:
23211 * docs/gst/tmpl/gstpluginfeature.sgml:
23212 Documentation updates for registry changes.
23214 2005-09-14 David Schleef <ds@schleef.org>
23216 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23217 because we don't require glib-2.8.
23219 2005-09-14 David Schleef <ds@schleef.org>
23221 * gst/gstregistryxml.c: Added. Essentially moved out of the
23222 registries directory.
23224 2005-09-14 David Schleef <ds@schleef.org>
23226 * check/Makefile.am:
23227 * check/generic/states.c:
23231 * gst/gst_private.h:
23232 * gst/gstelementfactory.c:
23237 * gst/gstpluginfeature.c:
23238 * gst/gstpluginfeature.h:
23239 * gst/gstregistry.c:
23240 * gst/gstregistry.h:
23241 * gst/gstregistrypool.c: remove
23242 * gst/gstregistrypool.h: remove
23243 * gst/gsttypefind.c:
23244 * gst/gsttypefindfactory.c:
23246 * tools/Makefile.am:
23247 * tools/gst-compprep.c:
23248 * tools/gst-inspect.c:
23249 * tools/gst-register.c: remove
23250 * tools/gst-xmlinspect.c:
23251 Registry rewrite. Changes registry from being a file created
23252 by a tool into a simple cache file created automatically by
23253 libgstreamer. Removed gst-register (because it's no longer
23254 needed). Remove registry pools, because we only have one
23255 registry implementation (XML). Fix up other subsystems as
23258 2005-09-13 Michael Smith <msmith@fluendo.com>
23260 * gst/gstconfig.h.in:
23261 Don't Use windows linking attributes for MinGW. Fixes #316157
23263 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23265 * gst/gstutils.c: (set_state_async_thread_func),
23266 (gst_element_set_state_async):
23267 Apparently people think it's better if this function doesn't
23268 try to set the state to whatever state was asked for on the first
23269 call to this function for any object. Seriously.
23271 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23273 * check/gst/gstpipeline.c: (GST_START_TEST):
23274 * docs/gst/gstreamer-sections.txt:
23275 * gst/gstutils.c: (set_state_async_thread_func),
23276 (gst_element_set_state_async):
23278 add a "gst_element_set_state_async" method that
23279 sets the state and starts a thread to make sure the state
23280 change completes as best as it can
23282 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23284 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23285 codify design+behaviour in testsuite after discussion
23287 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23289 * docs/gst/tmpl/gstelement.sgml:
23290 * docs/manual/appendix-quotes.xml:
23292 * gst/gstelement.c: (gst_element_set_state):
23295 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23297 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23298 (gst_base_transform_prepare_output_buf),
23299 (gst_base_transform_handle_buffer):
23300 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23301 (gst_capsfilter_prepare_buf):
23302 Remove the requirement for sub-classes to call the parent
23303 implementation of prepare_output_buffer with a wrapper function.
23305 * gst/gsttaglist.h:
23306 * gst/gsttagsetter.h:
23307 Fix #define wrapper
23309 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23311 * docs/gst/gstreamer-sections.txt:
23314 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23316 * docs/gst/gstreamer-sections.txt:
23317 * docs/gst/tmpl/gstelement.sgml:
23318 * docs/gst/tmpl/gstplugin.sgml:
23319 * gst/gstminiobject.c:
23321 docs now stop throwing warnings
23323 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23325 * docs/gst/gstreamer-sections.txt:
23326 * docs/gst/gstreamer.types:
23327 * docs/gst/tmpl/gstpad.sgml:
23328 * docs/gst/tmpl/gsttypes.sgml:
23329 * gst/base/gstadapter.h:
23330 * gst/base/gstbasesink.h:
23331 * gst/base/gstbasesrc.h:
23337 * gst/gstelement.h:
23339 * gst/gstmessage.h:
23341 * gst/gststructure.c:
23342 * gst/registries/gstlibxmlregistry.h:
23343 various documentation fixes
23345 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23347 * docs/gst/gstreamer-sections.txt:
23348 * docs/gst/tmpl/gstvalue.sgml:
23349 rearrange gstvalue section
23350 * gst/gstutils.c: (gst_element_state_get_name):
23352 * gst/gstvalue.c: (_gst_value_initialize):
23356 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23358 * check/gst-libs/controller.c:
23359 Header include fix.
23360 * gst/base/gstbasetransform.c:
23361 (gst_base_transform_default_prepare_buf),
23362 (gst_base_transform_handle_buffer):
23363 * gst/base/gstbasetransform.h:
23364 Some more basetransform changes and fixes to enable sub-classes
23365 that modify buffer metadata only.
23366 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23367 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23368 (gst_capsfilter_prepare_buf):
23369 If the output pad has fixed allowed caps and input buffers
23370 don't have any, set the fixed caps on outgoing buffers.
23372 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23373 * check/elements/identity.c: (GST_START_TEST):
23374 Make the error a little clearer when the test fails because
23375 identity made a copy of the buffer.
23376 * docs/gst/gstreamer-sections.txt:
23377 New symbols in gstbasetransform.h
23378 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23379 (gst_base_transform_init), (gst_base_transform_transform_size),
23380 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23381 (gst_base_transform_default_prepare_buf),
23382 (gst_base_transform_get_unit_size),
23383 (gst_base_transform_buffer_alloc),
23384 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23385 (gst_base_transform_change_state),
23386 (gst_base_transform_set_passthrough),
23387 (gst_base_transform_set_in_place),
23388 (gst_base_transform_is_in_place):
23389 * gst/base/gstbasetransform.h:
23390 Change BaseTransform to separate in_place operate from same_caps
23391 output. in_place implies that the element can perform the transform
23392 on incoming buffers in-place, even if the caps on the output are
23394 Sub-class elements can now implement special buffer allocation
23395 methods for outgoing buffers if they wish to.
23396 Big documentation addition.
23397 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23398 * gst/elements/gstelements.c:
23399 Changes for basetransform modifications.
23400 * gst/elements/Makefile.am:
23401 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23402 Compile fix. Extra debug output.
23404 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23406 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23408 add tests for valid pad naming
23409 * gst/check/gstcheck.c: (gst_check_log_message_func),
23410 (gst_check_log_critical_func):
23412 remove printing of code, it is fragile when the code contains
23413 % and the line number is enough info
23414 * gst/check/gstcheck.h:
23415 * gst/gstpad.c: (gst_pad_template_new):
23418 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23421 say what CHECK flags we use
23422 * docs/libs/gstreamer-libs.types:
23423 * libs/gst/controller/Makefile.am:
23424 * libs/gst/controller/gst-controller.c:
23425 * libs/gst/controller/gst-controller.h:
23426 * libs/gst/controller/gst-helper.c:
23427 * libs/gst/controller/gst-interpolation.c:
23428 * libs/gst/controller/gstcontroller.c:
23429 * libs/gst/controller/gsthelper.c:
23430 * libs/gst/controller/gstinterpolation.c:
23431 * tools/gst-inspect.c: (print_plugin_info):
23432 we don't use dashes in header names
23434 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23436 * check/Makefile.am:
23437 * check/gst/.cvsignore:
23438 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23439 (gst_pipeline_suite), (main):
23440 adding a test for pipelines and state changes
23441 * gst/gstutils.c: (get_state_func):
23443 * gstreamer.spec.in:
23446 2005-09-08 Michael Smith <msmith@fluendo.com>
23448 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23449 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23450 (gst_file_src_is_seekable), (gst_file_src_get_size),
23451 (gst_file_src_start):
23452 * gst/elements/gstfilesrc.h:
23453 Various fixes for unseekable, unmmapable, and non-normal files, so
23454 that fallback to read() rather than mmap() works.
23455 * gst/gstevent.c: (gst_event_new_newsegment):
23456 Allow newsegment events with segment_start == segment_end, as will
23457 correctly happen if you use filesrc on a zero-size file, for
23460 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23462 * gst/gstplugin.c: (gst_plugin_load_file):
23463 Call g_module_close when we don't load the module
23465 * gst/registries/gstlibxmlregistry.c:
23466 (gst_xml_registry_get_property):
23467 Port leak fix from 0.8
23469 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23471 * docs/gst/gstreamer-docs.sgml:
23472 * docs/gst/tmpl/.cvsignore:
23473 * docs/gst/tmpl/gsttrace.sgml:
23474 * docs/gst/tmpl/gsttrashstack.sgml:
23477 * gst/gstelement.h:
23479 * gst/gstmessage.c:
23480 * gst/gstmessage.h:
23483 * gst/gsttaginterface.c:
23484 * gst/gsttaginterface.h:
23485 * gst/gsttaglist.c:
23486 * gst/gsttaglist.h:
23487 * gst/gsttagsetter.c:
23488 * gst/gsttagsetter.h:
23491 * gst/gsttrashstack.c:
23492 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23493 inlined docs for gsttrace, gsttrashstack
23495 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23498 * gst/elements/gstbufferstore.h:
23499 * gst/elements/gsttypefindelement.c:
23500 * gst/elements/gsttypefindelement.h:
23502 * gst/gsttypefind.c:
23503 * gst/gsttypefind.h:
23504 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23505 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23506 (gst_type_find_factory_dispose),
23507 (gst_type_find_factory_unload_thyself),
23508 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23509 (gst_type_find_factory_get_caps),
23510 (gst_type_find_factory_get_extensions),
23511 (gst_type_find_factory_call_function):
23512 * gst/gsttypefindfactory.h:
23513 * gst/registries/gstlibxmlregistry.c:
23514 * gst/registries/gstxmlregistry.c:
23515 splitted gsttypefind into gsttypefind, gsttypefindfactory
23517 2005-09-07 Andy Wingo <wingo@pobox.com>
23519 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23520 condition whereby the pad's task function is entered before the
23521 pad_mode variable was set.
23523 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23525 * gst/gstpad.c: (gst_pad_alloc_buffer):
23526 Catch misbehaving pad_alloc functions that don't
23527 set up caps and do it for them.
23529 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23531 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23532 test for pipe!=NULL
23533 * docs/gst/tmpl/.cvsignore:
23534 * docs/gst/tmpl/gstmemchunk.sgml:
23535 * docs/gst/tmpl/gstparse.sgml:
23536 * docs/gst/tmpl/gsttaglist.sgml:
23537 * docs/gst/tmpl/gsttagsetter.sgml:
23538 * docs/gst/tmpl/gsttypefind.sgml:
23539 * docs/gst/tmpl/gsttypefindfactory.sgml:
23540 * gst/gstmemchunk.c:
23543 * gst/gsttaginterface.c:
23544 * gst/gsttypefind.c:
23545 * gst/gsttypefind.h:
23548 === release 0.9.2 ===
23550 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23555 releasing 0.9.2, "South"
23557 2005-09-05 Andy Wingo <wingo@pobox.com>
23559 * gst/registries/gstxmlregistry.h:
23560 * gst/registries/gstxmlregistry.c: Um... resurrect...
23562 * gst/registries/gstxmlregistry.h:
23563 * gst/registries/gstxmlregistry.c: and update to newer API.
23564 Incidentally they should be a bit faster now that they don't have
23567 2005-09-05 Andy Wingo <wingo@pobox.com>
23569 * gst/registries/gstxmlregistry.h:
23570 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23571 replaced by the libxml registry a while back
23573 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23575 * docs/gst/tmpl/gstplugin.sgml:
23576 * gst/elements/gstelements.c:
23578 * gst/gstplugin.c: (gst_plugin_register_func),
23579 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23580 (gst_plugin_get_source):
23582 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23583 (gst_xml_registry_save_plugin):
23584 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23585 (gst_xml_registry_save_plugin):
23586 * tools/gst-inspect.c: (print_plugin_info):
23587 add a "source" plugin description field, to represent the source
23588 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23589 will set it to PACKAGE, which is automake's idea of the name of
23590 the source project.
23592 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23597 * docs/Makefile.am:
23598 * docs/faq/Makefile.am:
23599 * docs/gst/tmpl/gstelement.sgml:
23600 * docs/gst/tmpl/gsttypes.sgml:
23601 * docs/htmlinstall.mak:
23602 * docs/manual/Makefile.am:
23603 * docs/pwg/Makefile.am:
23604 reorganize doc build a little
23605 split out docbook and gtk-doc stuff
23606 have two separate --enable's and enable them through autogen
23607 but disable by default in configure (to be similar to other
23609 * gstreamer.spec.in:
23610 clean up docs install
23628 translation updates
23630 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23632 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23635 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23636 (gst_fake_sink_change_state):
23637 Make state change function thread-safe.
23639 * gst/gstpad.c: (gst_pad_alloc_buffer):
23640 Set offset on generic buffer allocated by fallback.
23642 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23644 * docs/gst/gstreamer-sections.txt:
23645 * docs/gst/tmpl/gstelement.sgml:
23647 * libs/gst/controller/gst-controller.c:
23648 (gst_controlled_property_set_interpolation_mode),
23649 (gst_controlled_property_new),
23650 (gst_controller_find_controlled_property):
23651 run the wingo-magic script against the docs
23653 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23655 * docs/gst/gstreamer-docs.sgml:
23656 * docs/gst/gstreamer-sections.txt:
23657 * docs/gst/tmpl/.cvsignore:
23658 * docs/gst/tmpl/gstelementdetails.sgml:
23659 * docs/gst/tmpl/gstelementfactory.sgml:
23662 * gst/gstelementfactory.c:
23663 * gst/gstelementfactory.h:
23664 merged elementdetails docs into elementfactory docs
23667 2005-09-02 Andy Wingo <wingo@pobox.com>
23669 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23670 consider this enum an enum and not a flags.
23672 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23674 * docs/gst/gstreamer-docs.sgml:
23675 * docs/gst/tmpl/.cvsignore:
23676 * docs/gst/tmpl/gstghostpad.sgml:
23677 * docs/gst/tmpl/gstiterator.sgml:
23678 * docs/gst/tmpl/gstmacros.sgml:
23679 * docs/gst/tmpl/gstrealpad.sgml:
23680 * docs/gst/tmpl/gstregistry.sgml:
23681 * docs/gst/tmpl/gstregistrypool.sgml:
23682 * docs/gst/tmpl/gststructure.sgml:
23683 * docs/gst/tmpl/gstsystemclock.sgml:
23684 * docs/gst/tmpl/gsttrace.sgml:
23685 * gst/gstghostpad.c:
23687 * gst/gstmemchunk.c:
23688 * gst/gstmemchunk.h:
23690 * gst/gstregistry.c:
23691 * gst/gstregistrypool.c:
23692 * gst/gststructure.c:
23693 * gst/gstsystemclock.c:
23696 2005-09-02 Andy Wingo <wingo@pobox.com>
23698 * gst/gstelement.h (GstState): Renamed from GstElementState,
23699 changed to be a normal enum instead of flags.
23700 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23701 munged to be GST_STATE_CHANGE_*.
23702 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23703 work with the new state representation.
23704 (GstStateChange): New enumeration of possible state transitions.
23705 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23706 (GstElementClass::change_state): Pass the GstStateChange along as
23707 an argument. Helps language bindings, so they don't have to use
23708 tricky lock-needing macros like GST_STATE_CHANGE ().
23710 * scripts/update-states (file): New script. Run it on a file to
23711 update it for state naming and API changes. Updates files in
23714 * All files updated for the new API.
23716 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23718 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23719 * gst/gstutils.c: (gst_util_set_value_from_string),
23720 (gst_util_set_object_arg):
23721 fix a bunch of unchecked return values
23722 * tools/gst-complete.c: (main):
23723 * gstreamer.spec.in:
23726 2005-09-01 Wim Taymans <wim@fluendo.com>
23728 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23729 (gst_base_sink_event), (gst_base_sink_do_sync),
23730 (gst_base_sink_handle_event):
23731 * gst/base/gstbasesink.h:
23732 Handle newsegments more correctly.
23737 * gst/gstevent.c: (gst_event_new_newsegment):
23738 A newsegment cannot have a start_time of -1
23740 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23742 * win32/gstenumtypes.c:
23743 * win32/gstenumtypes.h:
23746 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23748 * libs/gst/controller/gst-controller.c:
23749 (gst_controlled_property_set_interpolation_mode),
23750 (gst_controlled_property_new):
23751 fixed boolean again
23753 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23755 * docs/faq/gst-uninstalled:
23760 * gst/gstutils.c: (gst_element_link_filtered):
23762 add gst_element_link_filtered
23764 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23766 * docs/gst/gstreamer-docs.sgml:
23767 * docs/gst/gstreamer-sections.txt:
23768 * docs/gst/tmpl/.cvsignore:
23769 * docs/gst/tmpl/gsterror.sgml:
23770 * docs/gst/tmpl/gstfilter.sgml:
23771 * docs/gst/tmpl/gsturihandler.sgml:
23772 * docs/gst/tmpl/gsturitype.sgml:
23773 * docs/gst/tmpl/gstutils.sgml:
23774 * docs/gst/tmpl/gstxml.sgml:
23779 * gst/gsturitype.c:
23782 inlined more docs, fixed double id-ref
23784 2005-08-31 Wim Taymans <wim@fluendo.com>
23786 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23787 (gst_base_transform_handle_buffer):
23788 Passthrough elements don't need the caps as they don't care.
23790 2005-08-31 Wim Taymans <wim@fluendo.com>
23792 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23793 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23794 Don't leak refcounts on buffers.
23796 2005-08-31 Wim Taymans <wim@fluendo.com>
23798 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23799 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23800 (gst_base_transform_chain), (gst_base_transform_change_state):
23801 * gst/base/gstbasetransform.h:
23802 Handle the case where we are not negotiated more gracefully.
23804 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23806 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23807 (gst_file_src_map_region):
23808 Set READONLY flag on mmap'ed buffers, otherwise
23809 gst_buffer_make_writable() won't work properly (#314708).
23811 2005-08-31 Wim Taymans <wim@fluendo.com>
23813 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23814 passthrough elements can even do inplace on non writable
23815 buffers (as they don't touch them).
23817 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23819 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23820 (gst_test_mono_source_set_property),
23821 (gst_test_mono_source_class_init), (GST_START_TEST),
23822 (gst_controller_suite):
23823 more tests (hehe I have the most)
23825 describe popping messages whenusing mulltiple sources
23826 * libs/gst/controller/gst-controller.c:
23827 (gst_controlled_property_set_interpolation_mode),
23828 (gst_controlled_property_new):
23829 * libs/gst/controller/gst-controller.h:
23830 * libs/gst/controller/gst-interpolation.c:
23831 implement boolean properties
23833 2005-08-31 Wim Taymans <wim@fluendo.com>
23835 * gst/gstminiobject.c: (gst_mini_object_ref):
23836 Cannot assert that the refcount has to be positive
23837 since a disposed object can be resurrected.
23839 2005-08-31 Wim Taymans <wim@fluendo.com>
23841 * gst/gstpad.c: (gst_pad_init):
23842 Revert change, need to first fix badly behaving
23845 2005-08-30 Wim Taymans <wim@fluendo.com>
23847 * check/elements/fakesrc.c: (setup_fakesrc):
23848 * check/elements/identity.c: (setup_identity):
23849 Activate pads before using them.
23851 2005-08-30 Wim Taymans <wim@fluendo.com>
23853 * gst/base/gstadapter.c: (gst_adapter_flush):
23854 Flushing out 0 bytes is ok for this function.
23856 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23857 no newsegment gives a warning and sets the start/stop to
23860 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23861 (gst_base_transform_set_passthrough):
23864 * gst/gstminiobject.c: (gst_mini_object_ref):
23865 Check refcount here too.
23867 * gst/gstpad.c: (gst_pad_init):
23868 Pads are initially flushing and refusing data.
23870 * gst/gstutils.c: (gst_element_link_pads_filtered):
23871 When adding a capsfilter element make sure it has the
23872 same state as the parent bin.
23874 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23876 * docs/gst/tmpl/.cvsignore:
23877 * docs/gst/tmpl/gstformat.sgml:
23878 * docs/gst/tmpl/gstversion.sgml:
23882 * gst/gstversion.h.in:
23883 more docs and two more inlined
23885 2005-08-30 Wim Taymans <wim@fluendo.com>
23887 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23888 Don't sync to clock.
23890 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23892 * docs/gst/gstreamer-sections.txt:
23893 ultral33t func10ns deserve to appear in the docs actually
23894 * docs/gst/tmpl/.cvsignore:
23895 * docs/gst/tmpl/gstcompat.sgml:
23896 * docs/gst/tmpl/gstconfig.sgml:
23897 * gst/check/gstcheck.c:
23899 * gst/gstconfig.h.in:
23902 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23904 * docs/gst/tmpl/.cvsignore:
23905 * docs/gst/tmpl/gstquery.sgml:
23906 * docs/gst/tmpl/gstutils.sgml:
23909 inlined and extended docs
23911 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23913 * check/gst-libs/controller.c: (GST_START_TEST),
23914 (gst_controller_suite):
23916 * docs/gst/tmpl/gstutils.sgml:
23917 * docs/libs/gstreamer-libs-sections.txt:
23918 * docs/libs/tmpl/gstdataprotocol.sgml:
23920 * examples/controller/audio-example.c: (main):
23921 controller example works now
23924 * tools/gst-inspect.c: (print_element_properties_info):
23925 show param spec flags
23927 2005-08-29 Andy Wingo <wingo@pobox.com>
23929 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23931 2005-08-28 Andy Wingo <wingo@pobox.com>
23933 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23934 as having two arguments instead of just one. Allows superclasses
23935 to access information on subclasses -- see the terrible for() loop
23936 in gtype.c:g_type_create_instance for the reason why. All callers
23939 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23941 * docs/design/part-messages.txt:
23943 * docs/gst/tmpl/.cvsignore:
23944 * docs/gst/tmpl/gstcaps.sgml:
23945 * docs/gst/tmpl/gstclock.sgml:
23951 * gst/gstmessage.c:
23952 added descriptions for bus and message
23953 inline caps and clock docs
23955 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23957 * gst/gstmessage.c:
23958 * gst/gstmessage.h:
23961 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23963 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23966 2005-08-26 Andy Wingo <wingo@pobox.com>
23968 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23969 element_set_state's return val.
23970 (test_2_elements): Add test that's been disabled for months.
23972 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23973 can-activate-pull properties.
23975 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23976 can-activate-pull properties. Implement is_seekable so fakesrc can
23977 operate in pull mode.
23979 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23981 (gst_base_sink_activate, gst_base_sink_activate_pull)
23982 (gst_base_sink_activate_push): Make activation mode choosing work.
23984 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23985 is right. Make pull mode work. Post an eos before pausing in pull
23987 (gst_base_sink_change_state): Pay attention to the core's
23988 change_state() return val.
23990 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23991 has-getrange properties. Cleanups.
23993 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23994 has_getrange and replace with can_activate_pull and
23997 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23998 locking comments. Remove has_loop, has_chain and replace with
23999 can_activate_pull and can_activate_push.
24001 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
24004 * examples/Makefile.am:
24005 * examples/metadata/Makefile.am:
24006 * examples/metadata/read-metadata.c: (message_loop),
24007 (have_pad_handler), (make_pipeline), (print_tag), (main):
24008 Add metadata reading example that loops over a list of filenames,
24009 dumping any tags found.
24011 * gst/gstbus.c: (gst_bus_dispose):
24012 * gst/gstelement.c: (gst_element_dispose):
24013 Release a few potentially-held references in dispose.
24015 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24017 * docs/gst/tmpl/gstminiobject.sgml:
24018 do *not* add tmpl/*.sgml files to CVS!
24020 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24022 * libs/gst/bytestream/.cvsignore:
24023 * libs/gst/bytestream/Makefile.am:
24024 * libs/gst/bytestream/adapter.c:
24025 * libs/gst/bytestream/adapter.h:
24026 * libs/gst/bytestream/bytestream.c:
24027 * libs/gst/bytestream/bytestream.h:
24028 * libs/gst/bytestream/filepad.c:
24029 * libs/gst/bytestream/filepad.h:
24030 removing obsolete files
24032 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24034 * docs/gst/gstreamer-docs.sgml:
24035 * docs/libs/gstreamer-libs-docs.sgml:
24036 disabed additional index entries again, as this makes docs-gen just
24037 slow and they aren't useful yet
24038 * docs/libs/gstreamer-libs-sections.txt:
24039 little -section.txt cleanup for libs
24041 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
24043 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24044 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
24045 fix up some debugging
24046 (gst_base_transform_get_unit_size),
24047 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
24048 (gst_base_transform_handle_buffer):
24049 * gst/base/gstbasetransform.h:
24050 handle and store timed NEWSEGMENT events so that subclasses that
24051 calculate time by counting samples have a segment_start time they
24052 need to add to their timestamps - see audioresample
24054 2005-08-26 Stefan Kost <ensonic@users.sf.net>
24057 removed ';' from the end of macro defs
24058 * docs/gst/gstreamer-docs.sgml:
24059 * docs/gst/gstreamer-sections.txt:
24060 * docs/gst/tmpl/.cvsignore:
24062 * gst/gstelement.c: (gst_element_class_init),
24063 (gst_element_set_state), (activate_pads),
24064 (gst_element_save_thyself):
24065 * gst/gstevent.c: (gst_event_new_newsegment):
24067 * gst/gstiterator.c:
24068 * gst/gstiterator.h:
24071 * gst/gstutils.c: (gst_pad_query_convert):
24073 fixed parameter name mismatches between source, header and docs
24074 added some more docs, resolved the last batch of unused elements in
24075 docs (now someone needs to doc them)
24077 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24079 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
24080 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
24081 don't walk through the plugins backwards. Where is all this
24082 reversed logic coming from ?
24084 2005-08-25 Wim Taymans <wim@fluendo.com>
24086 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24087 (gst_base_transform_transform_size),
24088 (gst_base_transform_configure_caps),
24089 (gst_base_transform_get_unit_size),
24090 (gst_base_transform_buffer_alloc),
24091 (gst_base_transform_change_state):
24092 * gst/base/gstbasetransform.h:
24093 Cache caps unit_size.
24094 Make sure we cannot negotiate up and downstream at the
24097 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24099 * gst/gst.c: (init_pre), (init_post):
24100 register the installed plugin path after the env var
24101 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24102 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24103 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24104 directories, so the tests can prefer uninstalled over installed
24106 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24108 * gst/base/gstbasetransform.h:
24113 2005-08-25 Wim Taymans <wim@fluendo.com>
24115 * gst/gstbin.c: (bin_bus_handler):
24116 Be a bit more conservative about the posted message.
24118 * gst/gstbus.c: (gst_bus_post):
24119 Some cleanups, warn wrong return values.
24121 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24123 * check/gst/gstbin.c: (GST_START_TEST):
24124 * gst/gstbin.c: (bin_bus_handler):
24125 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24126 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24127 (gst_message_new_warning), (gst_message_new_tag),
24128 (gst_message_new_state_changed), (gst_message_new_segment_start),
24129 (gst_message_new_segment_done), (gst_message_new_custom):
24130 * gst/gstmessage.h:
24131 * tools/gst-launch.c: (event_loop):
24132 * tools/gst-md5sum.c: (event_loop):
24133 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24135 2005-08-25 Wim Taymans <wim@fluendo.com>
24137 * check/generic/states.c: (GST_START_TEST):
24138 Cleanup can be done at the end.
24140 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24141 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24142 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24143 Oh boy.. Thanks for finding this, Thomas.
24145 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24147 * docs/gst/gstreamer.types:
24148 added missing types
24150 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24152 * docs/gst/gstreamer-docs.sgml:
24153 * docs/gst/gstreamer-sections.txt:
24154 * docs/gst/tmpl/.cvsignore:
24156 * gst/gstiterator.c:
24158 * gst/registries/gstxmlregistry.h:
24159 added missing classes and symbols (123 more to go)
24160 removed removed symbols from section file
24161 fixed many doc-comments
24163 2005-08-24 Wim Taymans <wim@fluendo.com>
24165 * check/generic/states.c: (GST_START_TEST):
24166 Make sure all tasks are stopped.
24168 * check/gst/gstbin.c: (GST_START_TEST):
24169 Unref after usage for proper valgrinding.
24171 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24172 Really wait for the task to stop before destroying the
24175 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24176 (gst_queue_src_activate_push):
24177 Small cleanups. Don't stop the task when we did not start
24180 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24181 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24182 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24185 Protect the stream lock with the object lock.
24186 Disallow setting the stream lock when running.
24187 Add cleanup_all to wait for the threadpool to finish.
24188 Remove code to autoallocate a mutex if none was provided.
24189 Add _join() to wait for a task to stop.
24190 Protect the thread pool with a global lock.
24192 2005-08-24 Wim Taymans <wim@fluendo.com>
24194 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24195 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24196 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24197 * gst/base/gstbasesink.h:
24198 Handle newsegment events correctly.
24199 Drop buffers out of the segment range.
24201 2005-08-22 Andy Wingo <wingo@pobox.com>
24203 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24204 macro, implements an interface and gstimplementsinterface for a
24207 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24209 * check/Makefile.am:
24210 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24211 add a test that does a bunch of state changes on elements
24212 needs some fixing for valgrind
24213 * check/states/sinks.c: (gst_object_suite):
24216 add prototype for gst_caps_is_equal_fixed
24218 * gst/gstregistrypool.c:
24221 2005-08-24 Andy Wingo <wingo@pobox.com>
24223 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24224 convert a negative value. Doesn't make much sense. Mostly this is
24225 here to force callers to ensure -1 maps to -1.
24227 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24229 * docs/pwg/advanced-types.xml:
24230 Well done to Michael for catching my deliberate introduction
24231 of this spelling mistake.
24232 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24233 * gst/gstelement.h:
24234 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24235 unlink pads before removing the element from the bin.
24237 2005-08-24 Andy Wingo <wingo@pobox.com>
24239 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24240 the same thing as GST_DEBUG=*:4.
24241 (parse_debug_level, parse_debug_category): New helper parsers.
24243 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24245 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24246 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24247 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24248 (gst_base_transform_buffer_alloc),
24249 (gst_base_transform_handle_buffer):
24250 use gboolean return values and pointers to size so we can use the
24251 full GST_BUFFER_SIZE range (guint) for buffer sizes
24252 use GstPadDirection for transform_caps
24253 * gst/base/gstbasetransform.h:
24254 rename get_size to get_unit_size since that's what it is
24255 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24256 use GstPadDirection for transform_caps
24257 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24259 cleanup and debugging
24261 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24263 * gst/gstelement.c: (gst_element_class_init),
24264 (gst_element_set_state), (activate_pads),
24265 (gst_element_save_thyself):
24266 * tools/gst-compprep.c: (main):
24267 * tools/gst-inspect.c: (print_element_properties_info):
24268 * tools/gst-xmlinspect.c: (print_element_properties):
24269 Fixed long standing mem-leak
24271 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24273 * check/gst/gstbin.c: (GST_START_TEST):
24274 * gst/gstbin.c: (bin_bus_handler):
24275 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24276 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24277 (gst_message_new_warning), (gst_message_new_tag),
24278 (gst_message_new_state_changed), (gst_message_new_segment_start),
24279 (gst_message_new_segment_done), (gst_message_new_custom):
24280 * gst/gstmessage.h:
24281 * tools/gst-launch.c: (event_loop):
24282 * tools/gst-md5sum.c: (event_loop):
24283 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24284 that applications can sensibly post custom messages with references
24285 to their own objects.
24287 2005-08-24 Andy Wingo <wingo@pobox.com>
24289 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24292 2005-08-24 Wim Taymans <wim@fluendo.com>
24294 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24295 (gst_base_transform_transform_caps),
24296 (gst_base_transform_transform_size),
24297 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24298 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24299 (gst_base_transform_handle_buffer):
24300 * gst/base/gstbasetransform.h:
24301 Many fixes and new features added by Thomas. Can now also do
24302 transforms with variable sizes and a custom fixate_caps function.
24304 2005-08-24 Wim Taymans <wim@fluendo.com>
24306 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24310 Cast to ClockTime before formatting to time.
24315 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24317 * check/gst-libs/controller.c: (GST_START_TEST),
24318 (gst_controller_suite):
24319 * docs/gst/tmpl/gstcaps.sgml:
24320 * docs/gst/tmpl/gstghostpad.sgml:
24321 * docs/gst/tmpl/gstquery.sgml:
24322 * docs/gst/tmpl/gstutils.sgml:
24323 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24324 (gst_object_sink_values), (gst_object_get_value_arrays),
24325 (gst_object_get_value_array):
24326 gracefully handle helper method calls to objects that are not beeing
24327 controlled, added test case for that
24329 2005-08-23 Wim Taymans <wim@fluendo.com>
24331 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24332 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24333 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24334 (gst_event_parse_qos), (gst_event_new_seek),
24335 (gst_event_parse_seek):
24337 Some more debugging output and doc cleanups.
24339 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24340 Fix possible deadlock.
24342 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24344 * docs/gst/gstreamer-docs.sgml:
24345 * docs/gst/gstreamer-sections.txt:
24346 * docs/gst/gstreamer.types:
24347 * docs/gst/tmpl/.cvsignore:
24350 * gst/gstelement.c:
24352 added 100 symbols from gstreamer-unused.txt to the right sections
24353 fixed more broken comments
24354 added GstBus to docs
24356 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24358 * docs/gst/gstreamer-sections.txt:
24359 * docs/gst/tmpl/.cvsignore:
24360 * docs/gst/tmpl/gstbin.sgml:
24361 * docs/gst/tmpl/gstbuffer.sgml:
24362 * gst/base/gstbasesrc.c:
24363 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24366 * tools/gst-launch.1.in:
24367 inlined more doc comments, added missing comments and fixed comments
24370 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24372 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24376 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24378 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24379 * gst/gststructure.h:
24380 add a fixate function for booleans; add a FIXME that these func
24381 names should probably be gst_structure_fixate_*
24383 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24385 * docs/gst/gstreamer-docs.sgml:
24386 * docs/gst/gstreamer-sections.txt:
24388 * gst/gstbin.c: (gst_bin_get_type),
24389 (gst_bin_child_proxy_get_child_by_index),
24390 (gst_bin_child_proxy_get_children_count),
24391 (gst_bin_child_proxy_init):
24392 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24393 (gst_child_proxy_get_child_by_index),
24394 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24395 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24396 (gst_child_proxy_get), (gst_child_proxy_set_property),
24397 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24398 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24399 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24400 * gst/gstchildproxy.h:
24401 * gst/parse/grammar.y:
24402 * tools/gst-inspect.c: (print_interfaces),
24403 (print_element_properties_info), (print_element_info):
24404 ported gstchildproxy over from 0.8
24405 ported gst-inspect fixes and enhancements over from 0.8
24407 2005-08-22 Wim Taymans <wim@fluendo.com>
24409 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24410 (gst_base_transform_handle_buffer):
24411 Also call the transform function if we have ANY caps.
24413 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24416 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24418 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24419 Don't pretend to handle seek events if the source is not seekable
24421 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24423 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24424 Remove extra parameter to debug output
24426 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24427 (gst_base_src_do_seek), (gst_base_src_activate_push):
24428 Fix seek event handling.
24430 * gst/gstpipeline.c: (gst_pipeline_change_state):
24431 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24432 (gst_queue_src_activate_push):
24433 Don't start the src pad task on FLUSH_STOP if the pad
24437 2005-08-22 Wim Taymans <wim@fluendo.com>
24439 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24440 Added check for gst_static_caps_get() refcounting.
24442 2005-08-22 Wim Taymans <wim@fluendo.com>
24444 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24445 Make _static_caps_get() refcounting sane.
24447 * gst/gstelement.c: (gst_element_set_state):
24448 Add g_return_val_if_fail() to protect against segfaults.
24450 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24452 * docs/gst/tmpl/gstevent.sgml:
24455 inlined remaining docs, added missing doc comments
24457 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24459 * check/gst/gstbin.c: (GST_START_TEST):
24460 since we don't know when preroll is done, use refcount range
24462 * gst/check/gstcheck.h:
24463 add macro for checking refcount range
24465 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24467 * check/Makefile.am:
24468 clean up environment for when registry gets built versus
24469 when actual tests are run; valgrind seems to not report
24470 leaks if GST_PLUGIN_PATH is set to some specific values
24471 * check/gst/gstbin.c: (GST_START_TEST):
24472 add more refcounting checks; maybe this exposes a
24474 * common/check.mak:
24475 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24476 * gst/check/gstcheck.h:
24477 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24478 (gst_bin_change_state):
24479 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24480 add/fix debugging/whitespace
24482 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24484 * check/gst/gstevent.c: (event_probe), (test_event),
24486 Er, don't call gst_bin_watch_for_state_change you idiot.
24488 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24490 * check/Makefile.am:
24491 Use CHECK_CFLAGS and CHECK_LIBS
24492 * check/gst/gstevent.c: (event_probe), (test_event),
24495 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24496 (gst_base_src_start), (gst_base_src_stop),
24497 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24498 (gst_base_src_change_state):
24499 Sprinkle gst_base_src_stop liberally around error paths to fix
24500 problems reusing a source after failed state changes.
24501 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24502 (helper_find_suggest), (gst_type_find_helper):
24503 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24505 * docs/gst/tmpl/gstevent.sgml:
24506 Migrate part of the docs from the SGML file. Wait for ensonic to
24507 tell me how I did it wrong ;)
24508 * tools/gst-typefind.c: (main):
24509 Extra robustness to state changes between files.
24511 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24513 * check/Makefile.am:
24514 don't valgrind the controller test - it's leaking - Stefan, HELP
24515 * gst/check/gstcheck.c: (gst_check_message_error),
24516 (gst_check_chain_func), (gst_check_setup_element),
24517 (gst_check_teardown_element), (gst_check_setup_src_pad),
24518 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24519 (gst_check_teardown_sink_pad):
24520 * gst/check/gstcheck.h:
24521 add a bunch of methods to set up elements, and src and sink pads
24522 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24523 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24526 * gst/gstmessage.c:
24528 whitespace/doc fixes
24530 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24532 * gst/gstelement.h:
24533 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24534 be handled by the application and not always printed as well
24536 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24538 * check/Makefile.am:
24540 * gst/check/gstcheck.c: (gst_check_message_error):
24541 * gst/check/gstcheck.h:
24542 add a fail_unless_equals_int
24543 add fail_unless for error messages
24545 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24547 * check/Makefile.am:
24549 * common/Makefile.am:
24550 * common/check.mak:
24552 factor out some of the common stuff so we can use it
24554 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24556 * check/Makefile.am:
24557 * check/gst/gstiterator.c: (GST_START_TEST):
24558 * check/gst/gstsystemclock.c: (GST_START_TEST),
24559 (gst_systemclock_suite):
24560 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24562 valgrind more tests
24564 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24566 * check/elements/.cvsignore:
24567 * check/elements/gstfakesrc.c:
24568 rename to name of element
24569 * check/elements/identity.c: (chain_func), (event_func),
24570 (setup_identity), (cleanup_identity), (GST_START_TEST),
24571 (identity_suite), (main):
24572 add a test for identity
24573 * check/Makefile.am:
24574 * pkgconfig/Makefile.am:
24575 * pkgconfig/gstreamer-check.pc.in:
24576 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24580 move the check stuff to a library that gets installed
24581 * check/gst-libs/controller.c: (GST_START_TEST):
24582 * check/gst-libs/gdp.c:
24583 * check/gst/gst.c: (GST_START_TEST):
24584 * check/gst/gstbin.c:
24585 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24586 * check/gst/gstbus.c:
24587 * check/gst/gstcaps.c: (GST_START_TEST):
24588 * check/gst/gstelement.c:
24589 * check/gst/gstghostpad.c:
24590 * check/gst/gstiterator.c:
24591 * check/gst/gstmessage.c:
24592 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24593 * check/gst/gstobject.c:
24594 * check/gst/gstpad.c: (GST_START_TEST):
24595 * check/gst/gststructure.c: (GST_START_TEST):
24596 * check/gst/gstsystemclock.c: (GST_START_TEST),
24597 (gst_systemclock_suite):
24598 * check/gst/gsttag.c: (gst_tag_suite):
24599 * check/gst/gstvalue.c:
24600 * check/pipelines/cleanup.c:
24601 * check/pipelines/simple_launch_lines.c:
24602 * check/states/sinks.c:
24603 change include statement
24605 * docs/gst/gstreamer-sections.txt:
24606 * docs/gst/tmpl/gstpad.sgml:
24607 document more pad stuff
24608 * gst/gstminiobject.c: (gst_mini_object_ref),
24609 (gst_mini_object_unref):
24612 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24614 * docs/gst/tmpl/gst.sgml:
24616 eliminate another tmpl file, fix spelling in the long-description
24618 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24620 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24621 (test_event), (timediff), (gstevents_suite):
24622 Should fix build on 64-bit arch's
24624 2005-08-18 Andy Wingo <wingo@pobox.com>
24626 Make sure that when a pipeline goes to PLAYING, that data has
24627 actually hit the sink.
24629 * check/states/sinks.c (test_sink): A sink that doesn't get any
24630 data shouldn't return SUCCESS for going to either PLAYING or
24631 PAUSED. Test also the return values on the way back down.
24633 * gst/gstelement.c (gst_element_set_state): When changing the
24634 state of an element currently changing state asynchronously, go to
24635 lost-state after commiting the pending state. Makes future calls
24636 to get_state continue to return ASYNC.
24638 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24639 ASYNC when going to PLAYING if we still don't have preroll, as can
24640 happen with live sources.
24642 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24644 * docs/pwg/advanced-types.xml:
24645 Hack long paragraph into 2 chunks as a workaround for buggy
24646 jadetex version in sid and breezy that loops infinitely and
24649 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24651 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24652 (test_event), (timediff), (gstevents_suite):
24653 Provide more error margin in clock measurements to allow for
24654 g_get_current_time inaccuracies.
24656 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24658 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24659 (test_event), (timediff), (gstevents_suite):
24660 Fix error message output so I might be able to tell why the
24661 test works here but fails on the build farm.
24663 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24665 * check/Makefile.am:
24666 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24667 (test_event), (timediff), (gstevents_suite), (main):
24670 * docs/design/part-seeking.txt:
24671 Spelling correction
24673 * docs/gst/tmpl/gstevent.sgml:
24674 * docs/gst/tmpl/gstfakesrc.sgml:
24677 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24678 Treat a buffer-without-newsegment the same as a receiving
24679 a newsegment not in time format, and disable syncing to the clock
24682 * gst/gstbus.c: (gst_bus_set_sync_handler):
24683 Assert if anyone tries to replace the existing sync_handler for bus,
24684 as only the owner should be setting it.
24687 Have a fixed set of custom event enums with events identified by
24688 their structure name (as in 0.8), rather than a free-for-all
24689 allowing collisions between enum values from different plugins.
24691 * gst/gstpad.c: (gst_pad_class_init):
24694 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24695 Handle out-of-band downstream events from the sending thread.
24697 2005-08-17 Andy Wingo <wingo@pobox.com>
24699 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24700 play-timeout==0 to mean no timeout at all. In that case, don't
24701 bother with a get_state or a warning, just return directly, even
24704 * gst/base/gstbasetransform.c: Debug changes.
24707 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24708 ensure bins post state change messages. A bit of a hack but I can't
24709 think of a way to avoid it.
24711 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24713 2005-08-16 Andy Wingo <wingo@pobox.com>
24715 * gst/base/gstadapter.h:
24716 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24717 peek() but you own the data. Not terribly efficient atm.
24719 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24721 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24722 (gst_element_found_tags):
24724 Add two utility functions for tag handling.
24726 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24728 * docs/manual/advanced-dataaccess.xml:
24729 * docs/manual/basics-helloworld.xml:
24730 Fix docs to use _bin_add() before _link(), which fixes the examples
24731 with recent core versions (reported by Madhan Raj M
24732 <raj_madan@rediffmail.com>, #313199).
24734 2005-08-16 Wim Taymans <wim@fluendo.com>
24736 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24737 Added subtract checks.
24739 * docs/design/part-events.txt:
24740 Some more docs about newsegment
24742 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24745 * gst/gstcaps.c: (gst_caps_to_string):
24746 Add comments, cleanups.
24748 * gst/gstelement.c: (gst_element_save_thyself):
24751 * gst/gstvalue.c: (gst_value_collect_int_range),
24752 (gst_string_unwrap), (gst_value_union_int_int_range),
24753 (gst_value_union_int_range_int_range),
24754 (gst_value_intersect_int_int_range),
24755 (gst_value_intersect_int_range_int_range),
24756 (gst_value_intersect_double_double_range),
24757 (gst_value_intersect_double_range_double_range),
24758 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24759 (gst_value_subtract_int_range_int),
24760 (gst_value_subtract_double_range_double),
24761 (gst_value_subtract_double_range_double_range),
24762 (gst_value_subtract_from_list), (gst_value_subtract_list),
24763 (gst_value_can_compare), (gst_value_compare_fraction):
24764 Cleanups, add comments, remove unneeded asserts.
24766 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24768 * tools/gst-launch.c: (event_loop):
24769 don't convert NULL structures to strings
24771 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24773 * docs/gst/gstreamer-sections.txt:
24774 made some defines private
24775 * docs/gst/tmpl/gstconfig.sgml:
24776 * docs/gst/tmpl/gstqueue.sgml:
24777 * docs/gst/tmpl/gsttaglist.sgml:
24778 * docs/gst/tmpl/gsttypes.sgml:
24779 * docs/gst/tmpl/gstutils.sgml:
24780 * docs/pwg/appendix-porting.xml:
24781 * gst/base/gstbasesink.h:
24782 * gst/base/gstbasesrc.c:
24783 * gst/base/gstbasesrc.h:
24784 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24785 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24786 * gst/gstelement.c: (gst_element_class_init):
24787 * gst/gstpad.c: (gst_pad_class_init):
24788 * gst/gstqueue.c: (gst_queue_class_init):
24789 * gst/gstxml.c: (gst_xml_class_init):
24790 documented all undocumented signal inline
24791 * libs/gst/controller/gst-controller.h:
24794 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24796 * docs/pwg/appendix-porting.xml:
24797 Document _set_link_function -> _set_setcaps_function.
24799 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24801 * check/Makefile.am:
24802 add a .check target for running the check
24803 * check/gst-libs/controller.c: (GST_START_TEST):
24805 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24806 complete checks for gstbuffer; would be nice if I could get the
24807 gcov stuff to work so I can see if I actually completed gstbuffer.c
24808 * check/gstcheck.h:
24809 add ASSERT_BUFFER_REFCOUNT
24811 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24813 * docs/gst/gstreamer-sections.txt:
24814 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24816 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24817 spew out a warning if a tag that is already registered
24818 is re-registered, unless it is re-registered with a
24819 different type (#308438).
24821 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24823 * docs/pwg/appendix-porting.xml:
24824 * docs/pwg/building-state.xml:
24825 Add some paragraphs about state changes in 0.9 to the PWG
24826 and the porting guide, in particular about the new meaning
24827 of GST_STATE_PAUSED and how to write state change functions
24828 with concurrent access by multiple threads in mind.
24830 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24832 * docs/gst/gstreamer-docs.sgml:
24833 * docs/libs/gstreamer-libs-docs.sgml:
24834 added deprecation and since indexes
24835 * libs/gst/controller/gst-controller.c:
24836 * libs/gst/controller/gst-helper.c:
24840 2005-08-11 Wim Taymans <wim@fluendo.com>
24842 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24843 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24844 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24845 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24846 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24847 (gst_ghost_pad_set_target):
24848 Actually implement (re)setting the target on a ghostpad
24849 as described in the docs.
24851 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24853 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24854 Check whether GST_DEBUG_NO_COLOR environment variable is
24855 set and disable coloured debug output if that is the case.
24857 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24859 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24860 (gst_type_find_helper):
24861 The memory returned by gst_type_find_peek() needs to
24862 stay valid until the end of a typefind function, and
24863 typefind functions may keep results from different
24864 offsets around, so we can't just unref the buffer from
24865 the previous _peek(), but have to save all buffers
24866 returned by _peek() until typefinding is done and only
24869 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24871 * docs/gst/gstreamer-sections.txt:
24873 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24875 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24877 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24878 Fix a pretty good memleak.
24880 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24882 * gst/gstiterator.h:
24883 Fix wrong include and 'make distcheck'.
24885 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24887 * gst/gstbin.c: (bin_bus_handler):
24888 Use gst_element_post_message() instead.
24890 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24892 * gst/base/gstadapter.h:
24893 * gst/base/gstbasesink.h:
24894 * gst/base/gstbasesrc.h:
24895 * gst/base/gstbasetransform.h:
24896 * gst/base/gstcollectpads.h:
24897 * gst/base/gstpushsrc.h:
24898 * gst/gstiterator.h:
24899 Add padding to our base elements' class and instance structs and
24900 to GstIterator (you will need to rebuild all plugins and apps!)
24902 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24904 * gst/gstbin.c: (bin_bus_handler):
24905 Make default message forwarding from child->bus to bin->bus
24906 threadsafe and make it not emit warnings if the parent has no bus.
24908 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24910 * gst/gstelement.c: (activate_pads):
24911 On paused->ready, set pad->caps to NULL, as is the documented
24912 behaviour in this state change. Fixes playback of series of
24913 media files when visualization is enabled in Totem.
24915 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24917 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24918 Allow NULL as filter-caps (which means "any").
24920 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24922 * docs/libs/gstreamer-libs-sections.txt:
24923 * libs/gst/controller/gst-controller.c:
24924 * libs/gst/controller/gst-controller.h:
24925 * libs/gst/controller/gst-helper.c:
24926 adding more entries to the docs and fix small doc-bugs
24928 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24930 * docs/gst/gstreamer-docs.sgml:
24931 * docs/gst/gstreamer-sections.txt:
24932 * docs/gst/gstreamer.types:
24933 * docs/gst/tmpl/gstbasesink.sgml:
24934 * docs/gst/tmpl/gstbasesrc.sgml:
24935 * docs/gst/tmpl/gstbasetransform.sgml:
24936 * docs/gst/tmpl/gstfakesrc.sgml:
24937 * gst/base/gstcollectpads.c:
24938 * gst/base/gstcollectpads.h:
24939 * libs/gst/controller/gst-controller.c:
24940 * libs/gst/controller/gst-controller.h:
24941 * libs/gst/controller/gst-helper.c:
24942 * libs/gst/controller/gst-interpolation.c:
24943 * libs/gst/controller/lib.c:
24944 added long/short desc for controller docs
24945 added collectpads base class docs
24946 added correct includes to base-class docs
24948 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24950 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24951 (gst_test_mono_source_set_property),
24952 (gst_test_mono_source_class_init), (GST_START_TEST),
24953 (gst_controller_suite):
24954 * docs/gst/gstreamer-docs.sgml:
24955 * docs/gst/gstreamer-sections.txt:
24956 * docs/gst/gstreamer.types:
24957 * docs/libs/gstreamer-libs-docs.sgml:
24958 * docs/libs/gstreamer-libs-sections.txt:
24959 * gst/base/gstadapter.c:
24960 * libs/gst/controller/gst-controller.c:
24961 (gst_controlled_property_new), (gst_controlled_property_free),
24962 (gst_controller_new_valist),
24963 (gst_controller_remove_properties_valist),
24964 (gst_controller_sink_values), (_gst_controller_finalize):
24965 * libs/gst/controller/gst-controller.h:
24966 * libs/gst/controller/gst-helper.c:
24967 (gst_object_control_properties), (gst_object_uncontrol_properties),
24968 (gst_object_get_controller), (gst_object_set_controller),
24969 (gst_object_sink_values), (gst_object_get_value_arrays),
24970 (gst_object_get_value_array):
24971 more tests (and fixes) for the controller
24972 more docs for the controller
24973 integrated companies docs for the adapter
24975 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24977 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24978 (GST_START_TEST), (fakesrc_suite):
24979 add tests for sizetype
24981 2005-08-04 Andy Wingo <wingo@pobox.com>
24983 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24984 fixes buffer_alloc proxying among other things.
24986 * gst/base/gstbasetransform.c:
24987 * gst/base/gstbasetransform.h:
24988 Revert patch to gstbasetransform from 7-28 removing
24991 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24992 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24993 Semantics changed, should return not the size of the output buffer
24994 but the byte size of a buffer with a given caps.
24996 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24998 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24999 out) are not the pad caps until setcaps finishes.
25000 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
25001 not-in-place case as well. Deal with changing from in-place to
25002 not-in-place within calling pad_alloc_buffer. Still a bit
25003 concerned about the overhead here...
25005 2005-08-03 Andy Wingo <wingo@pobox.com>
25007 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
25008 fixating is an error.
25010 2005-08-04 Edward Hervey <edward@fluendo.com>
25012 * gst/base/gstadapter.h:
25013 Added gst_adapter_get_type() to the header
25015 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25017 * check/Makefile.am:
25018 * check/gst-libs/controller.c:
25019 * libs/gst/controller/gst-controller.c:
25020 (gst_controller_new_valist):
25021 added check test suite for the controller
25022 * gst/base/gstpushsrc.c:
25025 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25027 * docs/gst/Makefile.am:
25028 * docs/gst/gstreamer-docs.sgml:
25029 * docs/gst/gstreamer-sections.txt:
25030 * docs/gst/gstreamer.types:
25031 * docs/gst/tmpl/gstfakesrc.sgml:
25033 * gst/base/gstbasesink.c:
25034 * gst/base/gstbasesink.h:
25035 * gst/base/gstbasesrc.c:
25036 * gst/base/gstbasesrc.h:
25037 * gst/base/gstbasetransform.c:
25038 * gst/base/gstpushsrc.c:
25039 * gst/base/gstpushsrc.h:
25040 add short/long description docs to base classes
25041 add pushsrc to the docs
25042 remove consolidated doc fragments
25044 2005-08-03 Stefan Kost <ensonic@users.sf.net>
25047 * docs/libs/Makefile.am:
25048 * docs/libs/gstreamer-libs-docs.sgml:
25049 * docs/libs/gstreamer-libs-sections.txt:
25050 * docs/libs/gstreamer-libs.types:
25051 * examples/Makefile.am:
25052 * examples/controller/.cvsignore:
25053 * examples/controller/Makefile.am:
25054 * examples/controller/audio-example.c: (main):
25055 * libs/gst/Makefile.am:
25056 * libs/gst/controller/.cvsignore:
25057 * libs/gst/controller/Makefile.am:
25058 * libs/gst/controller/gst-controller.c:
25059 (on_object_controlled_property_changed), (gst_timed_value_compare),
25060 (gst_timed_value_find),
25061 (gst_controlled_property_set_interpolation_mode),
25062 (gst_controlled_property_new), (gst_controlled_property_free),
25063 (gst_controller_find_controlled_property),
25064 (gst_controller_new_valist), (gst_controller_new),
25065 (gst_controller_remove_properties_valist),
25066 (gst_controller_remove_properties), (gst_controller_set),
25067 (gst_controller_set_from_list), (gst_controller_unset),
25068 (gst_controller_get), (gst_controller_get_all),
25069 (gst_controller_sink_values), (gst_controller_get_value_arrays),
25070 (gst_controller_get_value_array),
25071 (gst_controller_set_interpolation_mode),
25072 (_gst_controller_finalize), (_gst_controller_init),
25073 (_gst_controller_class_init), (gst_controller_get_type):
25074 * libs/gst/controller/gst-controller.h:
25075 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
25076 (g_object_uncontrol_properties), (g_object_get_controller),
25077 (g_object_set_controller), (g_object_sink_values),
25078 (g_object_get_value_arrays), (g_object_get_value_array):
25079 * libs/gst/controller/gst-interpolation.c:
25080 (gst_controlled_property_find_timed_value_node),
25081 (interpolate_none_get), (interpolate_trigger_get),
25082 (interpolate_trigger_get_value_array):
25083 * libs/gst/controller/lib.c: (gst_controller_init):
25084 * pkgconfig/Makefile.am:
25085 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25086 * pkgconfig/gstreamer-control.pc.in:
25087 * testsuite/Makefile.am:
25088 * testsuite/controller/.cvsignore:
25089 * testsuite/controller/Makefile.am:
25090 * testsuite/controller/interpolator.c: (main):
25091 added controller code
25092 removed dparam pc files
25094 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25095 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25096 (gst_collectpads_stop):
25097 Broadcast the condition when shutting down, to make sure we wake all
25098 threads up. Shut down pads on finalize, for safety.
25100 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25101 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25102 (gst_base_transform_handle_buffer),
25103 (gst_base_transform_change_state):
25104 Handle PAUSED->READY->PAUSED transition after negotiation
25106 * gst/gstmessage.c: (gst_message_init):
25107 Extra piece of debug for new messages.
25109 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25112 * docs/gst/tmpl/gstbasesrc.sgml:
25113 * docs/gst/tmpl/gstelement.sgml:
25114 * docs/gst/tmpl/gstevent.sgml:
25115 * docs/gst/tmpl/gstfakesrc.sgml:
25116 * docs/gst/tmpl/gstformat.sgml:
25117 * docs/gst/tmpl/gstghostpad.sgml:
25118 * docs/gst/tmpl/gstpad.sgml:
25119 * docs/gst/tmpl/gstquery.sgml:
25120 * docs/gst/tmpl/gststructure.sgml:
25121 * docs/gst/tmpl/gsttaglist.sgml:
25122 * docs/gst/tmpl/gstvalue.sgml:
25123 * docs/libs/gstreamer-libs-docs.sgml:
25124 * docs/libs/gstreamer-libs-sections.txt:
25125 * docs/libs/gstreamer-libs.types:
25126 * libs/gst/Makefile.am:
25127 * libs/gst/control/.cvsignore:
25128 * libs/gst/control/Makefile.am:
25129 * libs/gst/control/control.c:
25130 * libs/gst/control/control.h:
25131 * libs/gst/control/dparam.c:
25132 * libs/gst/control/dparam.h:
25133 * libs/gst/control/dparam_smooth.c:
25134 * libs/gst/control/dparam_smooth.h:
25135 * libs/gst/control/dparamcommon.h:
25136 * libs/gst/control/dparammanager.c:
25137 * libs/gst/control/dparammanager.h:
25138 * libs/gst/control/dplinearinterp.c:
25139 * libs/gst/control/dplinearinterp.h:
25140 * libs/gst/control/unitconvert.c:
25141 * libs/gst/control/unitconvert.h:
25142 * testsuite/Makefile.am:
25143 * testsuite/dynparams/.cvsignore:
25144 * testsuite/dynparams/Makefile.am:
25145 * testsuite/dynparams/dparamstest.c:
25146 * tools/Makefile.am:
25147 * tools/gst-inspect.c: (print_element_info), (main):
25148 * tools/gst-xmlinspect.c: (print_element_info), (main):
25149 deactivate and remove dparams (libgstcontrol)
25151 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25153 * gst/elements/gsttypefindelement.c:
25154 (gst_type_find_element_have_type), (gst_type_find_element_init),
25155 (stop_typefinding), (gst_type_find_element_handle_event),
25156 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25157 * gst/elements/gsttypefindelement.h:
25158 Set caps on all outgoing buffers, not just the first one.
25160 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25162 * gst/elements/gsttypefindelement.c:
25163 (gst_type_find_element_have_type),
25164 (gst_type_find_element_check_set_buffer_caps),
25165 (gst_type_find_element_init), (stop_typefinding),
25166 (gst_type_find_element_handle_event),
25167 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25168 * gst/elements/gsttypefindelement.h:
25169 Set caps on first outgoing buffer when we've found the type.
25171 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25173 * docs/gst/gstreamer-docs.sgml:
25174 * docs/gst/gstreamer-sections.txt:
25175 * docs/gst/tmpl/gstscheduler.sgml:
25176 * docs/gst/tmpl/gstschedulerfactory.sgml:
25177 Remove some old cruft from docs.
25179 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25182 Fix inline docs for GstPadLinkReturn.
25184 * gst/gststructure.c: (gst_structure_has_name):
25185 * gst/gststructure.h:
25186 * docs/gst/gstreamer-sections.txt:
25187 New API: gst_structure_has_name().
25189 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25192 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25193 and _LARGEFILE_SOURCE in config.h as required. Do not
25194 export those flags in our .pc files any longer (#142209).
25196 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25198 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25199 (gst_file_sink_do_seek), (gst_file_sink_event),
25200 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25201 Redo seek/tell calls with large file support in mind; add some
25202 debugging messages; add log message that tells us when large
25203 file support is unavailable or not enabled for some reason.
25205 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25206 Add log message that tells us when large file support
25207 is unavailable or not enabled for some reason.
25209 2005-07-29 Wim Taymans <wim@fluendo.com>
25211 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25212 Added test for removing an element with ghostpad from a bin.
25213 Fixed test as current implementation does the right thing.
25215 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25216 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25217 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25218 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25219 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25220 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25221 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25222 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25223 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25224 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25225 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25226 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25227 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25228 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25229 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25230 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25231 * gst/gstghostpad.h:
25232 Clean up ghostpads, remove properties for internal stuff.
25235 Prepare for switching targets, not all use cases work yet.
25237 2005-07-29 Wim Taymans <wim@fluendo.com>
25239 * docs/design/part-gstghostpad.txt:
25242 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25243 (gst_bin_remove_func):
25244 Unlinking pads while holding the bin LOCK is not a good
25247 * gst/gstpad.c: (gst_pad_class_init),
25248 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25249 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25250 No prob setting template after creating the pad.
25252 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25254 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25255 (gst_bus_peek), (gst_bus_source_dispatch),
25256 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25257 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25258 gst_bus_poll may be called from other threads. Handle
25259 this nicely by not making poll_data disappear off the
25260 stack once gst_bus_poll returns.
25261 gst_bus_peek now increments the refcount on the returned
25264 2005-07-29 Wim Taymans <wim@fluendo.com>
25266 * docs/design/part-gstghostpad.txt:
25267 Overview of current GhostPad datastructures and use
25268 cases for changing the target.
25270 2005-07-28 Wim Taymans <wim@fluendo.com>
25272 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25273 Added checks for hierarchy consistency whan adding linked
25276 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25277 Added check to test element scheduling without bin/pipeline.
25279 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25280 First add elements to bin, then link.
25282 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25283 (gst_bin_remove_func):
25284 Unlink pads from elements added/removed from bin to maintain
25285 hierarchy consistency.
25287 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25289 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25290 (gst_base_transform_handle_buffer):
25291 * gst/base/gstbasetransform.h:
25292 Remove broken delay_configure (fixes renegotiation of software
25293 scaling pipelines); remove some leftover printf()s.
25295 2005-07-28 Wim Taymans <wim@fluendo.com>
25297 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25298 Added some more tests for wrong hierarchy
25300 * docs/design/part-overview.txt:
25303 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25306 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25307 (gst_element_dispose):
25308 Some more cleanups.
25310 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25311 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25312 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25313 (gst_pad_set_caps), (gst_pad_send_event):
25314 Check for correct hierarchy when linking pads. Moving to
25315 strict requirement for ghostpads when linking elements in
25319 Clean ups. Added WRONG_HIERARCHY return value.
25321 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25323 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25324 Better debug if no transform is possible.
25326 2005-07-27 Wim Taymans <wim@fluendo.com>
25328 * docs/random/wtay/network-transp:
25329 Some old doc I had.
25331 2005-07-27 Wim Taymans <wim@fluendo.com>
25333 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25334 (gst_dp_event_from_packet):
25335 Fix serialization of seek events.
25337 2005-07-27 Wim Taymans <wim@fluendo.com>
25339 * check/gst-libs/gdp.c: (GST_START_TEST):
25340 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25341 Fix compilation and fix event serialization.
25343 2005-07-27 Wim Taymans <wim@fluendo.com>
25346 * docs/design/part-TODO.txt:
25347 * docs/design/part-events.txt:
25350 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25351 (gst_base_sink_event), (gst_base_sink_do_sync),
25352 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25353 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25354 (gst_base_src_do_seek), (gst_base_src_event_handler),
25355 (gst_base_src_loop):
25356 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25357 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25358 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25359 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25360 (gst_base_transform_set_passthrough),
25361 (gst_base_transform_is_passthrough):
25362 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25363 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25369 * gst/gstelement.c: (gst_element_seek):
25370 * gst/gstelement.h:
25371 Update gst_element_seek.
25373 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25374 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25375 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25376 (gst_event_new_eos), (gst_event_new_newsegment),
25377 (gst_event_parse_newsegment), (gst_event_new_tag),
25378 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25379 (gst_event_parse_qos), (gst_event_new_seek),
25380 (gst_event_parse_seek), (gst_event_new_navigation):
25382 Make GstEvent use GstStructure. Add parsing code, make sure the
25383 API is sufficiently generic.
25384 Mark possible directions of events and serialization.
25386 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25387 (_gst_message_copy), (gst_message_new_segment_start),
25388 (gst_message_new_segment_done), (gst_message_new_custom),
25389 (gst_message_parse_segment_start),
25390 (gst_message_parse_segment_done):
25393 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25394 (gst_pad_set_caps), (gst_pad_send_event):
25395 Update for new events.
25396 Catch events sent in wrong directions.
25398 * gst/gstqueue.c: (gst_queue_link_src),
25399 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25400 (gst_queue_handle_src_query):
25405 Remove event code from this file.
25407 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25408 (gst_dp_event_from_packet):
25411 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25413 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25414 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25415 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25416 Make debugging actually useful.
25418 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25420 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25421 (gst_pad_fixate_caps):
25422 Implement default fixation once again, so that gst_pad_fixate()
25423 actually does anything at all. This probably needs to be some
25424 sort of a last resort, and use profile-based fixation first, but
25425 since that doesn't exist yet, this is the best we have. Fixes
25426 visualization in Totem.
25428 2005-07-22 Wim Taymans <wim@fluendo.com>
25430 * docs/design/part-events.txt:
25433 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25434 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25435 (gst_base_sink_activate_pull):
25436 Some more comments.
25438 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25439 (gst_fake_src_create):
25440 Fix handoff marshall.
25442 * gst/elements/gstidentity.c: (gst_identity_class_init),
25443 (gst_identity_transform_ip):
25444 We're a real inplace element.
25446 * gst/gstbus.c: (gst_bus_post):
25447 Added some comments.
25449 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25450 * tests/muxing/case1.c: (main):
25451 * tests/sched/dynamic-pipeline.c: (main):
25452 * tests/sched/interrupt1.c: (main):
25453 * tests/sched/interrupt2.c: (main):
25454 * tests/sched/interrupt3.c: (main):
25455 * tests/sched/runxml.c: (main):
25456 * tests/sched/sched-stress.c: (main):
25457 * tests/seeking/seeking1.c: (event_received), (main):
25458 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25460 * tests/threadstate/threadstate3.c: (main):
25461 * tests/threadstate/threadstate4.c: (main):
25462 * tests/threadstate/threadstate5.c: (main):
25465 2005-07-21 Wim Taymans <wim@fluendo.com>
25467 * docs/design/part-seeking.txt:
25468 Some small additions.
25470 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25471 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25472 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25473 * gst/base/gstbasesink.h:
25474 discont values are gint64, handle the math correctly.
25476 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25477 Make the basesrc report error if the source pad is not linked.
25479 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25480 (gst_queue_loop), (gst_queue_handle_src_query),
25481 (gst_queue_src_activate_push):
25482 Make queue collect data even if the srcpad is not linked.
25483 Start pushing out data as soon as it is linked.
25485 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25487 Added gst_flow_get_name() to ease error reporting.
25489 2005-07-20 Wim Taymans <wim@fluendo.com>
25491 * gst/gstmessage.c: (gst_message_new_segment_start),
25492 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25493 (gst_message_parse_segment_done):
25494 * gst/gstmessage.h:
25495 Added a bunch of messages for advanced seeking.
25497 * gst/parse/grammar.y:
25498 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25499 (gst_dpman_state_changed):
25500 Fix some new-pad -> pad-added signals
25502 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25504 * docs/manual/appendix-porting.xml:
25505 * docs/pwg/appendix-porting.xml:
25506 Document new-pad/state-change signal renames and the FixedList
25509 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25511 * docs/manual/advanced-autoplugging.xml:
25512 * docs/manual/basics-helloworld.xml:
25513 * docs/manual/basics-pads.xml:
25514 * docs/random/ds/0.9-suggested-changes:
25515 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25516 * gst/gstelement.h:
25520 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25521 (gst_structure_parse_array), (gst_structure_parse_value):
25522 * gst/gstvalue.c: (gst_type_is_fixed),
25523 (gst_value_list_prepend_value), (gst_value_list_append_value),
25524 (gst_value_list_get_size), (gst_value_list_get_value),
25525 (gst_value_transform_array_string), (gst_value_serialize_array),
25526 (gst_value_deserialize_array), (gst_value_intersect_array),
25527 (gst_value_is_fixed), (_gst_value_initialize):
25529 GstElement::new-pad -> pad-added, GstElement::state-change ->
25530 state-changed, GstValueFixedList -> GstValueArray, add format and
25531 flags as their own arguments in gst_element_seek() (should improve
25532 "bindeability"), remove function generators since they don't work
25533 under a whole bunch of compilers (they were deprecated already
25536 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25538 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25539 (_gst_debug_register_funcptr):
25541 Fix illegal cast on some platforms (#309253).
25543 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25545 * gst/gstmessage.c: (gst_message_new_custom):
25546 * gst/gstmessage.h:
25547 Add _new_custom, make _new_application a macro to _new_custom.
25549 2005-07-20 Wim Taymans <wim@fluendo.com>
25551 * gst/base/gstbasesrc.c: (gst_base_src_init),
25552 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25553 * gst/base/gstbasesrc.h:
25554 Add a gboolean to decide when to push out a discont.
25556 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25557 (gst_queue_loop), (gst_queue_handle_src_query),
25558 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25559 (gst_queue_set_property), (gst_queue_get_property):
25562 * tests/threadstate/threadstate1.c: (main):
25563 Make a thread test compile and run... very silly..
25566 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25568 * docs/manual/appendix-porting.xml:
25569 Mention removal of libgstgconf-0.9.la and existence of gconf
25572 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25574 * docs/pwg/advanced-clock.xml:
25575 * docs/pwg/appendix-porting.xml:
25576 * docs/pwg/intro-preface.xml:
25577 * docs/pwg/other-base.xml:
25578 * docs/pwg/other-manager.xml:
25579 * docs/pwg/other-nton.xml:
25580 * docs/pwg/other-ntoone.xml:
25581 * docs/pwg/other-oneton.xml:
25582 * docs/pwg/pwg.xml:
25583 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25584 demuxer), remove n-to-n (was never written), fix some code examples
25585 and links and update the porting section to include all this.
25587 2005-07-19 Wim Taymans <wim@fluendo.com>
25589 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25590 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25591 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25592 (gst_queue_src_activate_push), (gst_queue_change_state),
25593 (gst_queue_get_property):
25595 Propagate GstFlowReturn more intelligently upstream and output
25596 an ERROR/EOS when streaming stopped due to fatal error.
25598 2005-07-19 Wim Taymans <wim@fluendo.com>
25600 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25601 Don't block forever for the state change to complete, the
25602 pipeline already did with a sensible timeout.
25604 2005-07-19 Wim Taymans <wim@fluendo.com>
25606 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25607 Make sure we never call the create function is we
25610 2005-07-19 Andy Wingo <wingo@pobox.com>
25612 * gst/parse/parse.l: Attempt to solve bug #172815.
25614 2005-07-19 Wim Taymans <wim@fluendo.com>
25616 * docs/design/part-clocks.txt:
25617 * docs/design/part-events.txt:
25618 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25619 Small docs updates.
25620 Only update the seeking values when we are not
25623 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25625 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25626 Oops, ignore the result of gst_pad_push_event here.
25628 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25630 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25631 (gst_base_src_activate_push):
25632 Send discont event from the loop function, as pads
25633 aren't activated yet in the activate_push handler.
25635 * gst/gstbin.c: (bin_bus_handler):
25636 Don't leak element name.
25638 2005-07-18 Andy Wingo <wingo@pobox.com>
25640 * configure.ac: Use AS_LIBTOOL_TAGS.
25642 2005-07-18 Wim Taymans <wim@fluendo.com>
25644 * docs/gst/gstreamer.types:
25645 Remove deleted types.
25647 2005-07-18 Wim Taymans <wim@fluendo.com>
25649 * check/elements/gstfakesrc.c: (GST_START_TEST):
25652 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25653 (init_popt_callback):
25655 * gst/gst_private.h:
25656 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25657 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25660 * gst/gstconfig.h.in:
25661 * gst/gstelement.c: (gst_element_class_init),
25662 (gst_element_set_base_time), (gst_element_get_base_time),
25663 (iterator_fold_with_resync), (gst_element_change_state),
25664 (gst_element_dispose), (gst_element_get_bus):
25665 * gst/gstelement.h:
25666 * gst/gstelementfactory.h:
25667 * gst/gsterror.c: (_gst_core_errors_init):
25670 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25672 * gst/gstinfo.c: (_gst_debug_init):
25673 * gst/gstmessage.c: (_gst_message_copy):
25674 * gst/gstmessage.h:
25675 * gst/gstminiobject.h:
25678 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25679 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25682 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25683 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25684 (gst_pipeline_get_last_stream_time):
25685 * gst/gstpipeline.h:
25686 * gst/gstpluginfeature.h:
25688 * gst/gstscheduler.c:
25689 * gst/gstscheduler.h:
25690 * gst/gststructure.h:
25691 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25692 (gst_task_finalize), (gst_task_func), (gst_task_create),
25693 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25694 (gst_task_stop), (gst_task_pause):
25696 * gst/gsttypefind.h:
25698 * gst/registries/gstlibxmlregistry.c: (load_feature),
25699 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25700 * gst/registries/gstxmlregistry.c:
25701 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25702 * gst/schedulers/threadscheduler.c:
25703 * libs/gst/control/dparammanager.h:
25704 * tools/gst-inspect.c: (print_element_list),
25705 (print_plugin_features), (print_element_features):
25706 * tools/gst-xmlinspect.c: (print_element_list),
25707 (print_plugin_info), (main):
25708 Removed plugable schedulers.
25709 Removed Scheduler/Manager from elements.
25710 Removed gsttypes.h, rearranged includes.
25711 Removed dependency pad<->element, element<>pipeline, and
25712 various others, fix includes.
25713 implement gst_pad_get_parent() with gst_object_get_parent()
25714 Make GstTask sefcontained.
25715 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25717 Fix endless loop in iterator_fold_with_resync.
25720 2005-07-18 Wim Taymans <wim@fluendo.com>
25726 2005-07-18 Wim Taymans <wim@fluendo.com>
25729 No more cothreads.h
25731 2005-07-18 Wim Taymans <wim@fluendo.com>
25735 Let's remove these.
25737 2005-07-18 Wim Taymans <wim@fluendo.com>
25739 * docs/design/part-dynamic.txt:
25740 * docs/design/part-events.txt:
25741 * docs/design/part-seeking.txt:
25742 Some more docs in the works.
25744 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25745 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25746 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25747 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25748 (gst_base_transform_handle_buffer),
25749 (gst_base_transform_sink_activate_push),
25750 (gst_base_transform_src_activate_pull),
25751 (gst_base_transform_set_passthrough),
25752 (gst_base_transform_is_passthrough):
25755 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25758 * gst/gstevent.c: (gst_event_finalize):
25761 * gst/gstutils.c: (gst_element_unlink),
25762 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25763 (gst_pad_proxy_setcaps):
25765 Add _get_parent_element() to get a pads parent as an element.
25767 2005-07-18 Wim Taymans <wim@fluendo.com>
25769 * check/gst/gstbin.c: (GST_START_TEST):
25772 2005-07-18 Wim Taymans <wim@fluendo.com>
25774 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25775 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25776 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25777 (gst_base_sink_event), (gst_base_sink_do_sync),
25778 (gst_base_sink_chain), (gst_base_sink_loop),
25779 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25780 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25782 Fix logic for returning ASYNC when not prerolled.
25784 2005-07-18 Wim Taymans <wim@fluendo.com>
25786 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25787 Fix nasty refcount bug.
25789 2005-07-16 Philippe Khalaf <burger@speedy.org>
25791 * gst/elements/gstfdsrc.c:
25792 * gst/elements/gstfdsrc.h:
25793 * gst/elements/gstelements.c:
25794 * gst/elements/Makefile.am:
25795 Ported fdsrc to 0.9.
25797 2005-07-16 Wim Taymans <wim@fluendo.com>
25799 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25800 (gst_base_sink_do_sync):
25803 2005-07-16 Wim Taymans <wim@fluendo.com>
25805 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25806 (gst_base_sink_event), (gst_base_sink_get_times),
25807 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25808 * gst/base/gstbasesink.h:
25809 Store and use discont values when syncing buffers as described
25812 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25813 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25814 (gst_base_src_activate_push):
25815 Push discont event when starting.
25817 * gst/elements/gstidentity.c: (gst_identity_transform):
25820 * gst/gstbin.c: (gst_bin_change_state):
25821 Small cleanups in base_time distribution.
25823 * gst/gstelement.c: (gst_element_set_base_time),
25824 (gst_element_get_base_time), (gst_element_change_state):
25825 * gst/gstelement.h:
25826 Added methods for the base_time of the element.
25829 * gst/gstpipeline.c: (gst_pipeline_send_event),
25830 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25831 (gst_pipeline_get_last_stream_time):
25832 * gst/gstpipeline.h:
25834 Handle seeking as described in design doc, remove stream_time
25836 Cleanups clock and stream_time selection code. Added accessors
25837 for the stream_time.
25840 2005-07-16 Andy Wingo <wingo@pobox.com>
25842 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25845 2005-07-16 Wim Taymans <wim@fluendo.com>
25847 * check/gst/gstbin.c: (GST_START_TEST):
25848 Make elements silent as the deep_notify refs the
25849 parent, which might make the test fail.
25851 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25852 Don't hold the lock for too long.
25854 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25856 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25857 Don't unref the caps we passed to gst_caps_make_writable() after
25858 passing them. gst_caps_make_writable() will do that for us.
25860 2005-07-15 Andy Wingo <wingo@pobox.com>
25862 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25865 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25866 own marshalling function for the handoff signal. Properly type the
25867 buffer as a buffer. Fixes some warnings. Should do a more general
25869 (gst_identity_class_init): Plug into the right marshaller.
25871 2005-07-15 Wim Taymans <wim@fluendo.com>
25873 * docs/design/part-TODO.txt:
25874 * docs/design/part-clocks.txt:
25875 * docs/design/part-element-sink.txt:
25876 * docs/design/part-events.txt:
25877 * docs/design/part-gstpipeline.txt:
25878 Updated docs, mostly DISCONT related.
25880 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25882 * docs/pwg/building-pads.xml:
25883 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25885 2005-07-15 Andy Wingo <wingo@pobox.com>
25887 * tools/gst-typefind.c: Update, add copyright block.
25889 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25890 Normalize and truncate caps before fixation.
25893 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25894 discards all but the first structure from its argument.
25896 2005-07-15 Wim Taymans <wim@fluendo.com>
25898 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25899 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25900 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25901 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25902 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25903 (gst_base_transform_chain), (gst_base_transform_change_state),
25904 (gst_base_transform_set_passthrough),
25905 (gst_base_transform_is_passthrough):
25906 * gst/base/gstbasetransform.h:
25907 Make passthrough work using the bufferpools.
25908 Changed API a bit, subclasses have to write into a buffer
25909 provided by the base class.
25910 More debug info in nego functions.
25912 * gst/elements/gstidentity.c: (gst_identity_init),
25913 (gst_identity_transform):
25914 Port to new base class.
25916 2005-07-15 Wim Taymans <wim@fluendo.com>
25918 * gst/gstmessage.c: (gst_message_new_state_changed):
25919 * tools/gst-launch.c: (event_loop), (main):
25920 Totally dump messages in -launch with the -m option.
25921 Fix message name for State messages,
25923 2005-07-14 Wim Taymans <wim@fluendo.com>
25925 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25926 Post error messages on errors.
25928 2005-07-14 Wim Taymans <wim@fluendo.com>
25930 * gst/gstcaps.c: (gst_caps_do_simplify):
25934 Define error for stream stopped.
25936 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25937 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25938 Do proper return values.
25940 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25941 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25942 (gst_pad_get_range):
25943 Better return values.
25946 Reorganise return values, add macro to check for fatal errors.
25948 * gst/gstqueue.c: (gst_queue_chain):
25949 Return proper GstFlowReturn values,
25951 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25953 * docs/gst/gstreamer-sections.txt:
25954 * docs/gst/gstreamer.types:
25955 * docs/gst/tmpl/gst.sgml:
25956 * docs/gst/tmpl/gstbasesink.sgml:
25957 * docs/gst/tmpl/gstbasesrc.sgml:
25958 * docs/gst/tmpl/gstbasetransform.sgml:
25959 * docs/gst/tmpl/gstbin.sgml:
25960 * docs/gst/tmpl/gstbuffer.sgml:
25961 * docs/gst/tmpl/gstcaps.sgml:
25962 * docs/gst/tmpl/gstclock.sgml:
25963 * docs/gst/tmpl/gstcompat.sgml:
25964 * docs/gst/tmpl/gstconfig.sgml:
25965 * docs/gst/tmpl/gstelement.sgml:
25966 * docs/gst/tmpl/gstelementdetails.sgml:
25967 * docs/gst/tmpl/gstelementfactory.sgml:
25968 * docs/gst/tmpl/gstenumtypes.sgml:
25969 * docs/gst/tmpl/gsterror.sgml:
25970 * docs/gst/tmpl/gstevent.sgml:
25971 * docs/gst/tmpl/gstfakesink.sgml:
25972 * docs/gst/tmpl/gstfakesrc.sgml:
25973 * docs/gst/tmpl/gstfilesink.sgml:
25974 * docs/gst/tmpl/gstfilesrc.sgml:
25975 * docs/gst/tmpl/gstfilter.sgml:
25976 * docs/gst/tmpl/gstformat.sgml:
25977 * docs/gst/tmpl/gstghostpad.sgml:
25978 * docs/gst/tmpl/gstimplementsinterface.sgml:
25979 * docs/gst/tmpl/gstindex.sgml:
25980 * docs/gst/tmpl/gstindexfactory.sgml:
25981 * docs/gst/tmpl/gstinfo.sgml:
25982 * docs/gst/tmpl/gstiterator.sgml:
25983 * docs/gst/tmpl/gstmacros.sgml:
25984 * docs/gst/tmpl/gstmemchunk.sgml:
25985 * docs/gst/tmpl/gstminiobject.sgml:
25986 * docs/gst/tmpl/gstobject.sgml:
25987 * docs/gst/tmpl/gstpad.sgml:
25988 * docs/gst/tmpl/gstpadtemplate.sgml:
25989 * docs/gst/tmpl/gstparse.sgml:
25990 * docs/gst/tmpl/gstpipeline.sgml:
25991 * docs/gst/tmpl/gstplugin.sgml:
25992 * docs/gst/tmpl/gstpluginfeature.sgml:
25993 * docs/gst/tmpl/gstquery.sgml:
25994 * docs/gst/tmpl/gstqueue.sgml:
25995 * docs/gst/tmpl/gstregistry.sgml:
25996 * docs/gst/tmpl/gstregistrypool.sgml:
25997 * docs/gst/tmpl/gstscheduler.sgml:
25998 * docs/gst/tmpl/gstschedulerfactory.sgml:
25999 * docs/gst/tmpl/gststructure.sgml:
26000 * docs/gst/tmpl/gstsystemclock.sgml:
26001 * docs/gst/tmpl/gsttaglist.sgml:
26002 * docs/gst/tmpl/gsttagsetter.sgml:
26003 * docs/gst/tmpl/gsttrace.sgml:
26004 * docs/gst/tmpl/gsttrashstack.sgml:
26005 * docs/gst/tmpl/gsttypefind.sgml:
26006 * docs/gst/tmpl/gsttypefindfactory.sgml:
26007 * docs/gst/tmpl/gsttypes.sgml:
26008 * docs/gst/tmpl/gsturihandler.sgml:
26009 * docs/gst/tmpl/gsturitype.sgml:
26010 * docs/gst/tmpl/gstutils.sgml:
26011 * docs/gst/tmpl/gstvalue.sgml:
26012 * docs/gst/tmpl/gstversion.sgml:
26013 * docs/gst/tmpl/gstxml.sgml:
26014 * docs/libs/tmpl/gstcontrol.sgml:
26015 * docs/libs/tmpl/gstdataprotocol.sgml:
26016 * docs/libs/tmpl/gstdparam.sgml:
26017 * docs/libs/tmpl/gstdplinint.sgml:
26018 * docs/libs/tmpl/gstdpman.sgml:
26019 * docs/libs/tmpl/gstdpsmooth.sgml:
26020 * docs/libs/tmpl/gstgetbits.sgml:
26021 * docs/libs/tmpl/gstunitconvert.sgml:
26022 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
26023 (gst_push_src_base_init), (gst_push_src_class_init),
26024 (gst_push_src_init), (gst_push_src_create):
26025 * gst/base/gstpushsrc.h:
26026 * gst/elements/gstelements.c:
26027 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
26028 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
26029 (gst_fake_sink_init), (gst_fake_sink_set_property),
26030 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
26031 (gst_fake_sink_event), (gst_fake_sink_preroll),
26032 (gst_fake_sink_render), (gst_fake_sink_change_state):
26033 * gst/elements/gstfakesink.h:
26034 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
26035 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
26036 (gst_fake_src_base_init), (gst_fake_src_class_init),
26037 (gst_fake_src_init), (gst_fake_src_event_handler),
26038 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
26039 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
26040 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
26041 (gst_fake_src_create_buffer), (gst_fake_src_create),
26042 (gst_fake_src_start), (gst_fake_src_stop):
26043 * gst/elements/gstfakesrc.h:
26044 * gst/elements/gstfilesink.c: (_do_init),
26045 (gst_file_sink_base_init), (gst_file_sink_class_init),
26046 (gst_file_sink_init), (gst_file_sink_dispose),
26047 (gst_file_sink_set_location), (gst_file_sink_set_property),
26048 (gst_file_sink_get_property), (gst_file_sink_open_file),
26049 (gst_file_sink_close_file), (gst_file_sink_query),
26050 (gst_file_sink_event), (gst_file_sink_render),
26051 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
26052 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
26053 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
26054 * gst/elements/gstfilesink.h:
26055 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
26056 (gst_file_src_class_init), (gst_file_src_init),
26057 (gst_file_src_finalize), (gst_file_src_set_location),
26058 (gst_file_src_set_property), (gst_file_src_get_property),
26059 (gst_file_src_map_region), (gst_file_src_map_small_region),
26060 (gst_file_src_create_mmap), (gst_file_src_create_read),
26061 (gst_file_src_create), (gst_file_src_is_seekable),
26062 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
26063 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
26064 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
26065 (gst_file_src_uri_handler_init):
26066 * gst/elements/gstfilesrc.h:
26067 more autistic cleanliness in functions/names/defines
26069 2005-07-13 Andy Wingo <wingo@pobox.com>
26071 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
26072 source couldn't negotiate.
26074 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
26078 * gst/gstutils.c (gst_element_link_pads_filtered): New old
26079 function. I am channeling Hades. Put your boots on suckers!!!
26081 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
26083 * testsuite/caps/Makefile.am:
26084 * testsuite/caps/value_compare.c:
26085 * testsuite/caps/value_intersect.c:
26086 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26087 move two testsuite apps over to the check dir
26089 2005-07-12 Wim Taymans <wim@fluendo.com>
26091 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26092 Added more debug info in the negotiate process.
26094 * gst/gstmessage.h:
26095 Prepare for segment playback.
26097 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26103 * tools/gst-launch.c: (main):
26104 NULL pipeline on errors.
26106 2005-07-12 Andy Wingo <wingo@pobox.com>
26108 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26109 not it comes from a malloc region. Make sure our copy gets freed.
26111 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26113 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26114 * check/gst/gstmessage.c: (GST_START_TEST):
26115 * check/gst/gststructure.c: (GST_START_TEST),
26116 (gst_structure_suite), (main):
26118 * gst/gstelement.c: (gst_element_message_full):
26119 clean up GError and debug string now that they get copied
26120 * gst/gstmessage.c: (gst_message_new_error),
26121 (gst_message_new_warning), (gst_message_parse_error),
26122 (gst_message_parse_warning):
26123 use GST_TYPE_G_ERROR for structure_new, and take copies of
26124 arguments, so that we don't mess up refcounting
26126 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26128 * check/Makefile.am:
26129 add per-test valgrind targets
26130 * check/gst-libs/gdp.c: (GST_START_TEST),
26131 (gst_data_protocol_suite), (main):
26134 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26136 * check/Makefile.am:
26137 instate more valgrindable tests
26138 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26139 (GST_START_TEST), (fakesrc_suite):
26140 * check/gst/gstpad.c: (GST_START_TEST):
26141 * check/gst/gststructure.c: (GST_START_TEST):
26143 * docs/gst/tmpl/gstminiobject.sgml:
26144 * gst/gstpad.c: (gst_pad_finalize):
26145 fix the static mutex leak
26147 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26149 * check/Makefile.am:
26150 add two more tests for valgrinding
26151 * check/gst/gstvalue.c: (GST_START_TEST):
26152 test refcount of deserialized buffer, found a leak
26153 * docs/gst/gstreamer-docs.sgml:
26154 * docs/gst/gstreamer-sections.txt:
26155 * docs/gst/gstreamer.types:
26156 * docs/gst/tmpl/gstminiobject.sgml:
26157 add miniobject to docs
26158 * gst/gstminiobject.c:
26160 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26161 (gst_string_unwrap):
26162 fix a hard-to-find invalid write for one of the tests
26163 fix a leak for deserialized buffers
26165 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26167 * docs/pwg/advanced-events.xml:
26168 * docs/pwg/advanced-request.xml:
26169 * docs/pwg/advanced-scheduling.xml:
26170 * docs/pwg/appendix-porting.xml:
26171 * docs/pwg/building-boiler.xml:
26172 * docs/pwg/intro-preface.xml:
26173 * docs/pwg/other-ntoone.xml:
26174 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26175 of example code and explanation for pad activation, loop() and
26176 getrange() functions and a bit more. Remove old comments pointing
26178 * examples/pwg/Makefile.am:
26179 Add loop/getrange examples.
26181 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26184 check for valgrind binary + some fixes
26186 valgrind suppressions for the tests
26187 * check/Makefile.am:
26188 add a valgrind: target that valgrinds the unit tests
26189 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26190 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26191 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26192 * check/gst/gstghostpad.c:
26194 * check/gst/gstdata.c:
26196 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26197 (thread_unref), (gst_mini_object_suite), (main):
26199 * gst/gst.c: (gst_deinit):
26201 add a method to clean up.
26202 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26203 (gst_system_clock_obtain):
26204 allow for disposing the system clock.
26205 * tools/gst-launch.c: (main):
26208 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26210 * docs/gst/tmpl/gstbasesrc.sgml:
26211 * docs/gst/tmpl/gstfakesrc.sgml:
26212 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26213 (gst_base_src_init), (gst_base_src_set_property),
26214 (gst_base_src_get_property), (gst_base_src_get_range),
26215 (gst_base_src_start):
26216 * gst/base/gstbasesrc.h:
26217 add num-buffers property
26218 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26219 (gst_fakesrc_init), (gst_fakesrc_set_property),
26220 (gst_fakesrc_get_property), (gst_fakesrc_create),
26221 (gst_fakesrc_start):
26222 remove num-buffers property
26224 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26226 * docs/gst/gstreamer-sections.txt:
26227 * docs/gst/tmpl/gstbasesink.sgml:
26228 * docs/gst/tmpl/gstbasesrc.sgml:
26229 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26230 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26231 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26232 (gst_base_sink_set_property), (gst_base_sink_get_property),
26233 (gst_base_sink_handle_object), (gst_base_sink_event),
26234 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26235 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26236 (gst_base_sink_loop), (gst_base_sink_deactivate),
26237 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26238 (gst_base_sink_change_state):
26239 * gst/base/gstbasesink.h:
26240 * gst/base/gstbasesrc.h:
26241 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26242 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26243 (gst_filesink_init):
26244 more macro splitting
26246 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26248 * gst/gstelement.c: (gst_element_get_bus):
26250 * tools/gst-launch.c: (check_intr), (event_loop):
26253 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26255 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26258 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26260 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26261 (gst_base_src_finalize):
26262 add finalize method and clean up properly
26263 * gst/gstpipeline.c: (gst_pipeline_dispose):
26266 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26268 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26270 add more things to check
26271 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26272 * gst/gstelement.c:
26275 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26277 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26278 (GST_START_TEST), (fakesrc_suite):
26279 * check/gst-libs/gdp.c: (GST_START_TEST):
26280 * check/gst/gst.c: (GST_START_TEST):
26281 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26282 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26283 * check/gst/gstbus.c: (GST_START_TEST):
26284 * check/gst/gstcaps.c: (GST_START_TEST):
26285 * check/gst/gstdata.c: (GST_START_TEST):
26286 * check/gst/gstelement.c: (GST_START_TEST):
26287 * check/gst/gstghostpad.c: (GST_START_TEST):
26288 * check/gst/gstiterator.c: (GST_START_TEST):
26289 * check/gst/gstmessage.c: (GST_START_TEST):
26290 * check/gst/gstobject.c: (GST_START_TEST):
26291 * check/gst/gstpad.c: (GST_START_TEST):
26292 * check/gst/gststructure.c: (GST_START_TEST):
26293 * check/gst/gstsystemclock.c: (GST_START_TEST),
26294 (gst_systemclock_suite):
26295 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26296 * check/gst/gstvalue.c: (GST_START_TEST):
26297 * check/pipelines/cleanup.c: (GST_START_TEST):
26298 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26299 * check/states/sinks.c: (GST_START_TEST):
26300 * check/gstcheck.c: (gst_check_init):
26301 * check/gstcheck.h:
26302 add debugging category
26303 use GST_START_TEST now, so we add a debug line
26305 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26307 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26308 add test for state change message on a bin
26309 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26311 * gst/gstbin.c: (gst_bin_init):
26312 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26313 * gst/gstelement.c: (gst_element_post_message),
26314 (gst_element_set_state):
26315 * gst/gstelementfactory.c: (gst_element_factory_create):
26316 * gst/gstmessage.c: (gst_message_new):
26317 * gst/gstscheduler.c:
26318 various debugging additions and cleanups
26320 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26322 * check/Makefile.am:
26323 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26325 adding tests for elements
26326 * gst/gstelement.c: (gst_element_dispose):
26328 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26330 * gst/registries/gstlibxmlregistry.c: (load_feature):
26331 plug more leaks. A simple gst_init() now is leakfree, yay.
26333 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26335 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26336 (gst_xml_registry_load):
26337 plug another memleak
26339 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26342 use GST_SET_ERROR_CFLAGS
26343 * docs/faq/cvs.xml:
26344 change to ERROR_CFLAGS
26346 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26349 make GST_ERROR_CFLAGS overridable and re-enable Werror
26350 * docs/faq/cvs.xml:
26351 add a note about error CFLAGS
26352 * docs/gst/tmpl/gstfakesrc.sgml:
26353 * gst/elements/gstfakesrc.c:
26354 comment out some unused code
26355 * gst/gst.c: (split_and_iterate):
26356 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26360 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26362 * common/Makefile.am:
26363 * common/gtk-doc.mak:
26364 * docs/gst/Makefile.am:
26365 factor out gtk-doc.mak
26367 2005-07-07 Wim Taymans <wim@fluendo.com>
26369 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26370 (gst_thread_scheduler_dispose):
26371 Unlock the STREAM_LOCK completely.
26373 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26375 * check/Makefile.am:
26376 * check/elements/.cvsignore:
26377 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26378 (START_TEST), (fakesrc_suite), (main):
26379 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26380 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26381 (gst_fakesrc_create), (gst_fakesrc_start):
26382 * gst/elements/gstfakesrc.h:
26383 adding a first element test
26385 2005-07-07 Andy Wingo <wingo@pobox.com>
26387 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26390 2005-07-07 Wim Taymans <wim@fluendo.com>
26396 2005-07-07 Wim Taymans <wim@fluendo.com>
26398 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26399 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26400 Allow subclasses to implement their own negotiation.
26402 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26404 * docs/design/part-gstbin.txt:
26405 * docs/design/part-gstpipeline.txt:
26406 Update design notes to reflect the movement of
26407 responsibility for bus handling from GstPipeline to
26410 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26413 Remove unnecessary queue2/3/4 examples.
26415 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26417 * examples/Makefile.am:
26418 * examples/helloworld/helloworld.c: (event_loop), (main):
26419 * examples/queue/queue.c: (event_loop), (main):
26420 * examples/queue2/queue2.c: (main):
26421 Update a couple of the examples to work again.
26423 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26424 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26425 Spelling corrections and extra debug.
26427 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26428 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26429 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26431 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26432 (gst_pipeline_change_state):
26433 * gst/gstpipeline.h:
26434 Move the bus handler for children to the GstBin, and create a
26435 separate bus for receiving messages from children to the one the
26436 bus sends 'upwards' on.
26438 2005-07-06 Wim Taymans <wim@fluendo.com>
26441 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26442 (gst_base_sink_handle_object), (gst_base_sink_loop),
26443 (gst_base_sink_change_state):
26444 * gst/base/gstbasesink.h:
26445 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26446 (gst_base_src_init), (gst_base_src_setcaps),
26447 (gst_base_src_getcaps), (gst_base_src_loop),
26448 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26449 (gst_base_src_start), (gst_base_src_change_state):
26450 * gst/base/gstbasesrc.h:
26451 Make basesrc negotiate.
26452 Handle the case where preroll fails in basesink.
26455 2005-07-06 Wim Taymans <wim@fluendo.com>
26457 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26458 Implement the fixate function.
26459 Clean up acceptcaps.
26461 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26463 * docs/pwg/building-filterfactory.xml:
26464 * docs/pwg/pwg.xml:
26465 Remove never-written filter-factory chapter; I'll add the various
26466 base classes to part 4 ("other element types") later on.
26468 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26470 * docs/pwg/advanced-negotiation.xml:
26471 * docs/pwg/building-boiler.xml:
26472 * docs/pwg/building-pads.xml:
26473 * docs/pwg/pwg.xml:
26474 * examples/pwg/Makefile.am:
26475 Add a chapter on caps negotiation, simplify the original code
26476 samples a bit w.r.t. caps negotiation, add link to the advanced
26477 section. Add a bunch of examples showing different use cases of
26478 different types of caps negotiation. Upstream renegotiation isn't
26479 fully documented yet since nobody knows how that works.
26481 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26483 * check/gst/gstpad.c:
26484 * check/gstcheck.c:
26485 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26486 if pad has no parent, return NULL as list of internal links
26488 2005-07-05 Andy Wingo <wingo@pobox.com>
26490 * gst/elements/gstfilesrc.c:
26491 * gst/elements/gstfakesrc.c:
26492 * gst/base/gstpushsrc.c:
26493 * gst/base/gstbasesrc.h:
26494 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26496 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26499 better report generation target (lcov needs a patch)
26501 2005-07-05 Andy Wingo <wingo@pobox.com>
26503 * gst/elements, testsuite: Null if we got it...
26505 2005-07-05 Wim Taymans <wim@fluendo.com>
26508 * libs/gst/dataprotocol/Makefile.am:
26509 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26510 * libs/gst/dataprotocol/dataprotocol.h:
26511 * pkgconfig/Makefile.am:
26512 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26513 * pkgconfig/gstreamer-dataprotocol.pc.in:
26514 Ported dataprotol to 0.9.
26515 Added pkgconfig files.
26517 2005-07-05 Andy Wingo <wingo@pobox.com>
26519 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26520 Default to returning TRUE for the case when tranform_caps returns
26521 a fixed caps, like for identity or volume.
26523 * check/gst/gstbus.c (pound_bus_with_messages):
26524 * check/gst/gstmessage.c (START_TEST):
26525 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26526 message API change.
26528 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26529 logic weaks here: always run transform_caps, trying passthrough
26530 operation only if the original caps intersects with the transform.
26532 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26533 source and sink caps.
26535 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26536 Intersect the peer caps with the pad template before going into
26538 (gst_base_transform_transform_caps): More debugging.
26540 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26543 2005-07-04 Edward Hervey <edward@fluendo.com>
26547 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26550 2005-07-04 Andy Wingo <wingo@pobox.com>
26552 * check/gst/gstpad.c: Only set explicit caps on pads.
26554 2005-07-01 Andy Wingo <wingo@pobox.com>
26556 * tests/network-clock.scm: Commentary update.
26558 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26559 Didn't really make sense, not implementable with basetransform,
26561 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26562 attempt at implementing the sync property, needs an unlock method.
26564 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26565 New func, by default returns the same caps (the identity
26567 (gst_base_transform_getcaps): Uses transform_caps to return
26568 something sensible.
26569 (gst_base_transform_setcaps): Complicated logic to get caps on
26570 both pads, even if they are different, and to call set_caps once
26571 for every time both pads get their caps set.
26572 (gst_base_transform_handle_buffer): Give the ref to the transform
26573 function. Allows in-place modification of the buffer.
26575 * gst/base/gstbasetransform.h (transform_caps): New class method.
26576 Given caps on one side, what can I do on the other.
26577 (set_caps): Take two caps, one for each side of the element.
26580 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26581 caps in place. This is safe because we can check the mutability of
26582 the caps, and a good idea because fixate functions are just called
26583 as a matter of last resort. (Not actually implemented.)
26584 (gst_pad_set_caps): If the caps we're setting is actually the same
26585 as the existing pad caps, just update the pointer without calling
26586 setcaps. Assert that caps is either NULL or fixed, as per the
26589 * gst/gstghostpad.c: Update for fixate changes.
26591 2005-07-02 Andy Wingo <wingo@pobox.com>
26594 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26595 two refcounts makes it immutable, which is enough. Doc more.
26597 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26599 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26600 Put the mini_object into GValue as a mini_object,
26601 not a gpointer, since that's how we declared
26604 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26606 * examples/pwg/Makefile.am:
26607 Fix buildbot again.
26609 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26611 * docs/pwg/building-testapp.xml:
26613 * examples/pwg/Makefile.am:
26616 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26619 * examples/Makefile.am:
26620 * examples/pwg/Makefile.am:
26621 * examples/pwg/extract.pl:
26622 Enable building the PWG examples.
26623 * docs/pwg/advanced-interfaces.xml:
26624 Add URI interface stub.
26625 * docs/pwg/advanced-types.xml:
26626 * docs/pwg/other-autoplugger.xml:
26627 * docs/pwg/appendix-porting.xml:
26628 * docs/pwg/pwg.xml:
26629 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26630 * docs/pwg/building-boiler.xml:
26631 * docs/pwg/building-chainfn.xml:
26632 * docs/pwg/building-pads.xml:
26633 * docs/pwg/building-props.xml:
26634 * docs/pwg/building-state.xml:
26635 * docs/pwg/building-testapp.xml:
26636 Update the building-*.xml parts for 0.9 changes. All examples
26637 code blocks compile in examples/pwg/*.
26639 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26641 * docs/manual/advanced-autoplugging.xml:
26642 * docs/manual/appendix-checklist.xml:
26643 * docs/manual/appendix-integration.xml:
26644 * docs/manual/highlevel-components.xml:
26645 Fix playbin/decodebin examples, update docs a bit, mention bus
26646 instead of signals in various places, mention kmplayer and
26647 kaffeine since they have a working GStreamer backend in the KDE
26650 2005-06-30 Wim Taymans <wim@fluendo.com>
26653 * docs/design/draft-ghostpads.txt:
26654 * docs/design/draft-push-pull.txt:
26655 * docs/design/draft-query.txt:
26656 * docs/design/part-TODO.txt:
26657 * docs/design/part-query.txt:
26658 Added CHANGES-0.9 doc, updated status of other docs.
26663 2005-06-30 Wim Taymans <wim@fluendo.com>
26665 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26666 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26667 (gst_base_sink_change_state):
26668 * gst/base/gstbasesink.h:
26669 Some tweaks, only EOS and a buffer complete a preroll.
26671 2005-06-30 Andy Wingo <wingo@pobox.com>
26673 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26674 activate_push down to the internal pad as well.
26676 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26678 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26680 * gst/gsttaginterface.c:
26681 Some documentation fixes (#307394 and #307397).
26683 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26685 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26687 * gst/gstvalue.c: (gst_value_intersect_list):
26688 Fix memleak (#309125).
26690 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26692 * docs/manual/advanced-dataaccess.xml:
26693 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26694 * docs/manual/basics-pads.xml:
26695 Add reference for filtered caps to above chapter.
26697 2005-06-30 Wim Taymans <wim@fluendo.com>
26699 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26700 (gst_bin_change_state):
26702 Lame attempt at making the state change function a bit
26705 2005-06-30 Wim Taymans <wim@fluendo.com>
26707 * docs/design/part-clocks.txt:
26708 * docs/design/part-element-sink.txt:
26709 * docs/design/part-events.txt:
26710 * docs/design/part-preroll.txt:
26711 * docs/design/part-states.txt:
26712 Some more tweeks and additions to the docs.
26714 2005-06-30 Wim Taymans <wim@fluendo.com>
26716 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26717 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26718 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26719 (gst_pad_check_pull_range), (gst_pad_get_range),
26720 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26722 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26723 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26724 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26725 (gst_pad_remove_buffer_probe):
26726 Removed atomic operations, use existing LOCK.
26727 Move exception handling out of main code path.
26729 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26731 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26732 (silly_return_true_function), (gst_pad_class_init),
26733 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26734 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26735 (gst_pad_send_event):
26736 Fix accumulator, add default value by using _emitv() instead
26737 of _emit() for signal emission.
26739 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26741 * docs/manual/advanced-dataaccess.xml:
26742 * examples/manual/Makefile.am:
26744 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26747 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26749 * gst/elements/gstfilesink.c: (gst_filesink_render):
26750 Simplify code so that we don't have to handle short
26751 writes and return GST_FLOW_ERROR if an error occured.
26753 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26755 * docs/gst/gstreamer-docs.sgml:
26756 Remove probes more.
26758 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26760 * docs/gst/gstreamer-sections.txt:
26761 * docs/gst/tmpl/gstpad.sgml:
26762 * docs/gst/tmpl/gstprobe.sgml:
26764 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26765 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26766 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26767 (gst_pad_push_event), (gst_pad_send_event):
26769 * gst/gstutils.c: (gst_pad_add_data_probe),
26770 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26771 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26772 (gst_pad_remove_buffer_probe):
26774 Remove old probes, add new g-signal-based probes and some utility
26777 2005-06-29 Edward Hervey <edward@fluendo.com>
26779 * gst/gstelementfactory.c:
26782 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26783 the definition to the header file.
26785 2005-06-29 Andy Wingo <wingo@pobox.com>
26787 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26788 plugins from the source directory.
26790 2005-06-29 Wim Taymans <wim@fluendo.com>
26792 * docs/gst/tmpl/gstbuffer.sgml:
26793 * docs/gst/tmpl/gstclock.sgml:
26794 Some fixings for blantently wrong text.
26796 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26798 * check/Makefile.am:
26799 * gst/gst.c: (add_path_func), (init_pre):
26800 * gst/gstregistry.c: (gst_registry_add_path):
26801 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26802 only scan the GST_PLUGIN_PATH locations, and not add
26805 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26807 * docs/gst/gstreamer-sections.txt:
26808 * docs/gst/tmpl/gstbasesrc.sgml:
26809 * gst/gstelement.c:
26810 * gst/gstelement.h:
26815 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26817 * docs/manual/advanced-autoplugging.xml:
26818 Fix autoplugging example.
26820 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26822 * docs/manual/advanced-autoplugging.xml:
26823 * docs/manual/mime-world.fig:
26824 Try to get autoplugging working, fix type detection. Fix text
26825 in hello-world image.
26827 2005-06-29 Wim Taymans <wim@fluendo.com>
26829 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26830 (gst_base_sink_change_state):
26834 map SIGNAL and BROADCAST to the right function.
26837 Remove redundant braces.
26839 * gst/gstpad.c: (gst_pad_set_caps):
26840 Don't call setcaps function when reseting caps to NULL.
26842 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26843 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26844 (gst_system_clock_id_unschedule):
26845 Use BROADCAST as this is what we do.
26847 2005-06-29 Wim Taymans <wim@fluendo.com>
26849 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26850 We are actually prerolling before commiting the state
26853 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26855 * docs/manual/advanced-clocks.xml:
26856 * docs/manual/advanced-interfaces.xml:
26857 * docs/manual/advanced-metadata.xml:
26858 * docs/manual/advanced-position.xml:
26859 * docs/manual/advanced-schedulers.xml:
26860 * docs/manual/advanced-threads.xml:
26861 * docs/manual/appendix-porting.xml:
26862 * docs/manual/basics-bins.xml:
26863 * docs/manual/basics-bus.xml:
26864 * docs/manual/basics-elements.xml:
26865 * docs/manual/basics-helloworld.xml:
26866 * docs/manual/basics-pads.xml:
26867 * docs/manual/highlevel-components.xml:
26868 * docs/manual/manual.xml:
26869 * docs/manual/thread.fig:
26870 Update (until threads/scheduling) Application Development Manual;
26871 remove GstThread, add GstBus, add simple porting checklist, add
26872 documentation for tag writing, clocks, make all examples until this
26873 part compile and run.
26874 * examples/manual/Makefile.am:
26875 Update from changes to Application Development Manual; add bus
26876 example, remove thread example.
26878 2005-06-28 Wim Taymans <wim@fluendo.com>
26880 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26881 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26882 (gst_bus_source_dispatch):
26883 Add debugging messages.
26884 Make internal methods static.
26885 Handle the case where the bus is flushed in the handler.
26887 * gst/gstelement.c: (gst_element_get_bus):
26888 Fix refcount in _get_bus();
26890 * gst/gstpipeline.c: (gst_pipeline_change_state),
26891 (gst_pipeline_get_clock_func):
26892 Clock refcounting fixes.
26893 Handle the case where preroll timed out more gracefully.
26895 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26896 Clean up the internal thread in dispose. This is needed
26897 for subclasses that actually get disposed.
26899 * gst/schedulers/threadscheduler.c:
26900 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26901 (gst_thread_scheduler_dispose):
26902 Free thread pool in dispose.
26904 2005-06-28 Andy Wingo <wingo@pobox.com>
26906 * tests/network-clock-utils.scm (debug, print-event): New utils.
26908 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26909 (*packet-loss*): Unified loss probability.
26910 (network-time): Report out-of-band events.
26912 * tests/plot-data: Add support for out-of-band events. Hack it
26913 into this script instead of passing it down the pipe; should fix
26916 2005-06-28 Wim Taymans <wim@fluendo.com>
26918 * docs/gst/gstreamer.types:
26919 * docs/gst/tmpl/gstbasesrc.sgml:
26920 * docs/gst/tmpl/gstpad.sgml:
26923 2005-06-28 Wim Taymans <wim@fluendo.com>
26925 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26926 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26927 (gst_proxy_pad_do_fixatecaps):
26928 Correctly proxy the check_pull_range function.
26930 2005-06-28 Andy Wingo <wingo@pobox.com>
26932 * tests/network-clock.scm: Removed need for slib.
26934 2005-06-28 Wim Taymans <wim@fluendo.com>
26936 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26937 (gst_basesink_preroll_queue_flush):
26938 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26939 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26940 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26941 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26942 (gst_proxy_pad_set_property):
26945 * gst/gstqueue.c: (gst_queue_init):
26946 The deprecated pad loop function is removed now.
26948 2005-06-28 Andy Wingo <wingo@pobox.com>
26950 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26951 New parameters, simulate network packet loss.
26953 * tests/network-clock-utils.scm: Initialize the RNG.
26955 2005-06-28 Wim Taymans <wim@fluendo.com>
26957 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26958 (gst_basesink_event), (gst_basesink_deactivate):
26959 Flushing the preroll queue always needs to unlock the waiters.
26961 2005-06-28 Edward Hervey <edward@fluendo.com>
26963 * gst/gstpipeline.c: (gst_pipeline_send_event):
26964 Wheen a seek was successful on a pipeline, set the stream_time to the
26965 seek offset in order to have a synchronized stream_time.
26967 2005-06-28 Wim Taymans <wim@fluendo.com>
26969 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26970 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26971 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26972 (gst_proxy_pad_do_fixatecaps):
26973 Call wrapper function instead of just calling the function
26974 pointers. This takes care of any locking and whatmore.
26976 2005-06-28 Wim Taymans <wim@fluendo.com>
26978 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26979 (gst_pad_pull_range):
26981 CONNECTED -> LINKED.
26983 2005-06-28 Andy Wingo <wingo@pobox.com>
26985 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26986 source-munging commit!!!
26988 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26989 (gst_object_sink): Take gpointer arguments, not GstObject --
26990 avoids casts. Like GLib.
26992 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26995 2005-06-27 Andy Wingo <wingo@pobox.com>
26997 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
27000 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
27001 returns a sorted copy of the trace list.
27002 (gst_alloc_trace_print_live): New API, only prints traces with
27003 live objects. Sort the list.
27004 (gst_alloc_trace_print_all): Sort the list.
27005 (gst_alloc_trace_print): Align columns.
27007 * gst/elements/gstttypefindelement.c:
27008 * gst/elements/gsttee.c:
27009 * gst/base/gstbasesrc.c:
27010 * gst/base/gstbasesink.c:
27011 * gst/base/gstbasetransform.c:
27012 * gst/gstqueue.c: Adapt for pad activation changes.
27014 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
27016 (gst_pipeline_dispose): Drop ref on sched.
27018 * gst/gstpad.c (gst_pad_init): Set the default activate func.
27019 (gst_pad_activate_default): Push mode by default.
27020 (pre_activate_switch, post_activate_switch): New stubs, things to
27021 do before and after switching activation modes on pads.
27022 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
27023 the pad's activate function to choose which mode to activate.
27024 Shortcut on deactivation and call the right function directly.
27025 (gst_pad_activate_pull): New API, (de)activates a pad in pull
27027 (gst_pad_activate_push): New API, same for push mode.
27028 (gst_pad_set_activate_function)
27029 (gst_pad_set_activatepull_function)
27030 (gst_pad_set_activatepush_function): Setters for new API.
27032 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
27033 Trace all miniobjects.
27034 (gst_mini_object_make_writable): Unref the arg if we copy, like
27035 gst_caps_make_writable.
27037 * gst/gstmessage.c (_gst_message_initialize): No trace init.
27039 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
27040 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
27041 Adapt for new pad API.
27043 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
27045 * gst/gstelement.h:
27046 * gst/gstelement.c (gst_element_iterate_src_pads)
27047 (gst_element_iterate_sink_pads): New API functions.
27049 * gst/gstelement.c (iterator_fold_with_resync): New utility,
27050 should fold into gstiterator.c in some form.
27051 (gst_element_pads_activate): Simplified via use of fold and
27052 delegation of decisions to gstpad->activate.
27054 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
27057 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
27058 class once in init, like gstmessage. Didn't run into this issue
27059 but it seems correct. Don't initialize a trace, gstminiobject does
27062 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
27063 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
27065 (assert_live_count): New util function, uses alloc traces to check
27068 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
27069 To be modified when unlink drops the internal pad.
27071 2005-06-27 Wim Taymans <wim@fluendo.com>
27073 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
27074 (gst_bin_change_state):
27075 Cleanup the get_state() function a little, make sure it
27076 iterates the same set of elements.
27077 Added stub iterate_state_order().
27079 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
27081 * docs/gst/gstreamer-docs.sgml:
27082 * docs/gst/gstreamer-sections.txt:
27083 * docs/gst/gstreamer.types:
27084 * docs/gst/tmpl/gstbasesink.sgml:
27085 * docs/gst/tmpl/gstbasesrc.sgml:
27086 * docs/gst/tmpl/gstbasetransform.sgml:
27087 * docs/gst/tmpl/gstelement.sgml:
27088 * docs/gst/tmpl/gstiterator.sgml:
27089 * gst/base/gstbasesrc.c:
27090 * gst/base/gstbasesrc.h:
27091 * gst/base/gstbasetransform.h:
27092 * gst/gstelement.c:
27093 * gst/gstiterator.h:
27094 adding basetransform and iterator docs
27096 2005-06-27 Andy Wingo <wingo@pobox.com>
27098 * docs/design/part-activation.txt: Notes on how activation should
27099 work -- not quite implemented yet.
27101 2005-06-25 Wim Taymans <wim@fluendo.com>
27103 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27104 At least get the chain function correct, needs more
27107 2005-06-25 Wim Taymans <wim@fluendo.com>
27109 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27110 (gst_basesink_handle_object), (gst_basesink_event),
27111 (gst_basesink_do_sync), (gst_basesink_handle_event),
27112 (gst_basesink_change_state):
27114 Right, two problems here: ghostpads don't take locks and
27115 glib _rec_mutex_lock_full() with depth==0 still locks.
27116 Catch illegal locking and g_warn them.
27118 2005-06-25 Wim Taymans <wim@fluendo.com>
27120 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27121 Have to check for completion now...
27123 2005-06-25 Wim Taymans <wim@fluendo.com>
27125 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27126 (gst_basesink_handle_object), (gst_basesink_event),
27127 (gst_basesink_do_sync), (gst_basesink_handle_event),
27128 (gst_basesink_change_state):
27130 Unlock STREAM_LOCK whatever the recursion was.
27132 2005-06-25 Wim Taymans <wim@fluendo.com>
27134 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27135 (gst_basesink_preroll_queue_empty),
27136 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27137 (gst_basesink_event), (gst_basesink_do_sync),
27138 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27139 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27140 (gst_basesink_change_state):
27141 Reworked the base sink, handle event and buffer serialisation
27142 correctly and removed possible deadlock.
27143 Handle EOS correctly.
27145 2005-06-25 Wim Taymans <wim@fluendo.com>
27147 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27148 (gst_pipeline_change_state):
27149 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27150 Allow elements to post EOS in the state change function.
27151 Fix up -launch, make it exit the poll loop when the
27152 pipeline actually changed state.
27153 Fix up warning parsing in -launch.
27155 2005-06-25 Wim Taymans <wim@fluendo.com>
27157 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27158 (gst_tee_sink_activate):
27159 Core takes STREAM_LOCK for us now.
27161 2005-06-25 Wim Taymans <wim@fluendo.com>
27163 * gst/gstelement.c: (gst_element_get_state_func),
27164 (gst_element_set_state):
27165 * gst/gstelement.h:
27166 * gst/gstmessage.c: (gst_message_parse_error),
27167 (gst_message_parse_warning):
27168 Keep track of current target state while performing a state
27169 change so that subclasses can do something interesting.
27170 Fix parsing of warning/error messages when GError is NULL.
27172 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27174 * docs/gst/Makefile.am:
27175 * docs/gst/gstreamer-docs.sgml:
27176 * docs/gst/gstreamer-sections.txt:
27177 * docs/gst/gstreamer.types:
27178 * docs/gst/tmpl/gstbasesink.sgml:
27179 * docs/gst/tmpl/gstbasesrc.sgml:
27180 * docs/gst/tmpl/gstbin.sgml:
27181 * docs/gst/tmpl/gstcompat.sgml:
27182 * docs/gst/tmpl/gstfakesink.sgml:
27183 * docs/gst/tmpl/gstfakesrc.sgml:
27184 * docs/gst/tmpl/gstfilesink.sgml:
27185 * docs/gst/tmpl/gstfilesrc.sgml:
27186 * docs/gst/tmpl/gstindex.sgml:
27187 * docs/manual/appendix-quotes.xml:
27188 * gst/base/gstbasesrc.h:
27189 * gst/elements/gstfakesrc.h:
27190 * gst/gstmessage.h:
27191 start pulling in base classes and elements in our docs
27193 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27195 * docs/gst/Makefile.am:
27196 * docs/libs/Makefile.am:
27197 fixed make distcheck with gtk-doc 1.3
27199 2005-06-23 Wim Taymans <wim@fluendo.com>
27201 * gst/gstelement.c: (gst_element_get_state_func),
27202 (gst_element_set_state), (gst_element_change_state):
27203 When the state did not change, also report NO_PREROLL
27206 2005-06-23 Wim Taymans <wim@fluendo.com>
27208 * gst/gstpad.c: (gst_pad_event_default):
27209 * gst/gstqueue.c: (gst_queue_loop):
27210 No unsafe task pausing please.
27212 2005-06-23 Wim Taymans <wim@fluendo.com>
27214 * gst/schedulers/threadscheduler.c:
27215 (gst_thread_scheduler_task_start),
27216 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27217 Ref the task before pushing it on the threadpool. This
27218 makes sure that we have a ref when the threadfunction is
27221 2005-06-23 Andy Wingo <wingo@pobox.com>
27223 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27224 offset is greater than the file's size.
27226 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27227 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27228 * gst/gstobject.c (gst_object_class_init): Make the class lock
27229 recursive. Wim won't let me drop deep_notify. Decodebin works
27230 again, whoopdy doo.
27232 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27233 internal pad, and hacks accordingly. Doesn't do it on the target
27234 pad because we change its caps. Probably catches all cases of
27236 (gst_ghost_pad_set_property): Connect to notify::caps as
27239 * tests/network-clock.scm (plot-simulation): Pipe data to the
27240 elite python skript.
27242 * tests/network-clock-utils.scm (define-parameter): New macro,
27243 defines a parameter that can be set via the command line.
27244 (set-parameter!, parse-parameter-arguments): Command line args
27247 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27250 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27252 * gst/elements/gsttypefindelement.c:
27253 (gst_type_find_element_handle_event):
27254 Don't restart typefinding on a discont.
27255 * gst/gstelement.c: (gst_element_set_state):
27256 Debug spelling fix.
27257 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27258 Allow changing mode of an active pad.
27259 Debug output fixes.
27260 * gst/registries/gstlibxmlregistry.c: (load_feature):
27261 Don't cast a static pad template to a normal pad template.
27263 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27265 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27266 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27267 remove gst_strtoll completely, since it didn't actually do
27268 anything more than what g_ascii_strtoull already does.
27269 check for range errors when deserializing
27270 do a cast for the unsigned cases; but further fixing needs
27271 a decision on what the interpretation of "(int)" and
27272 deserialization should be for values that fall outside the
27273 type's boundaries (ie, refuse, or interpret as casting)
27275 2005-06-23 Wim Taymans <wim@fluendo.com>
27277 * check/Makefile.am:
27278 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27279 * docs/design/part-live-source.txt:
27280 * docs/design/part-states.txt:
27281 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27282 (gst_basesrc_set_live), (gst_basesrc_is_live),
27283 (gst_basesrc_get_range), (gst_basesrc_activate),
27284 (gst_basesrc_change_state):
27285 * gst/base/gstbasesrc.h:
27286 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27287 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27288 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27289 * gst/gstelement.c: (gst_element_get_state_func),
27290 (gst_element_set_state):
27291 * gst/gstelement.h:
27293 * tools/gst-launch.c: (event_loop), (main):
27294 Added support for live sources and other elements that
27296 Updated design docs, added live-source design doc.
27297 Implemented live source functionality in basesrc
27298 Fix error condition in _bin_get_state()
27299 Implement live source handling in -launch.
27300 Added check for live sources.
27301 Fixed case in GstBin where elements were changed state
27305 2005-06-23 Andy Wingo <wingo@pobox.com>
27307 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27308 borken refcounting.
27310 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27311 gst_caps_replace takes care of this for us.
27313 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27314 gst_pad_set_caps on the target, not just its setcaps() function.
27316 * tests/network-clock.scm:
27317 * tests/network-clock-utils.scm: A network clock simulator.
27318 Something of an algorithmic testbed before doing something in C.
27320 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27322 * check/Makefile.am:
27323 * check/gst/capslist.h:
27324 copy over from 0.8, and add two with bitmasks specified with
27326 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27327 add test to parse everything from capslist.h
27328 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27330 add test for structure deserialization
27331 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27332 add tests for deserialization of strings to int types
27333 * gst/gststructure.c: (gst_structure_nth_field_name):
27334 * gst/gststructure.h:
27335 add a way to get the name of a field referenced by index
27336 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27337 instead of checking if the resulting long long lies between
27338 min and max, we check if the long long would fit into
27339 a number of bytes for the final type.
27340 This fixes cases where a string represents 2^32 - 1, which
27341 when cast to int would be the (valid) -1, but is bigger than
27344 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27346 * gst/parse/grammar.y:
27347 add a log line for type deserialization
27349 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27351 * check/gst/gstvalue.c: (START_TEST):
27352 * gst/gstvalue.c: (gst_value_deserialize):
27353 return long long, not int, so gint64 deserialization actually
27354 works. Is there any flag that makes the compiler check this ?
27357 2005-06-22 Wim Taymans <wim@fluendo.com>
27360 Added convenience macros for setting buffers in GValue.
27362 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27364 * check/gst/.cvsignore:
27365 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27366 add a test deserializing int64, and comment part out because
27369 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27371 * check/Makefile.am:
27372 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27373 * testsuite/Makefile.am:
27374 * testsuite/caps/Makefile.am:
27375 * testsuite/caps/value_serialize.c:
27376 * testsuite/test_gst_init.c:
27377 move a value_serialize test over
27379 2005-06-20 Wim Taymans <wim@fluendo.com>
27384 * gst/gstvalue.c: (gst_value_compare_buffer),
27385 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27386 (gst_value_compare_flags), (gst_value_serialize_flags),
27387 (gst_value_deserialize_flags), (_gst_value_initialize):
27388 Fix serialisation of buffers, they are not boxed types anymore
27390 2005-06-20 Wim Taymans <wim@fluendo.com>
27392 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27393 Testcase to show error in buffer-on-caps serialisation.
27395 2005-06-20 Andy Wingo <wingo@pobox.com>
27397 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27398 will be adding to later.
27400 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27401 if its socks fill with rocks.
27402 (gst_system_clock_obtain): Set the name on object construction.
27403 Avoid double-checked locking.
27405 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27407 * gst/gsturi.c: (gst_element_make_from_uri):
27408 Fix potential endless loop.
27410 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27412 * check/Makefile.am:
27414 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27416 move over from testsuite dir and clean up
27419 * testsuite/Makefile.am:
27420 * testsuite/tags/.cvsignore:
27421 * testsuite/tags/Makefile.am:
27422 * testsuite/tags/merge.c:
27423 remove testsuite/tags
27425 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27427 * docs/gst/gstreamer-sections.txt:
27428 * docs/gst/tmpl/gstenumtypes.sgml:
27429 * win32/gstenumtypes.c:
27430 clean up documentation build a little
27432 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27434 * check/gstcheck.h:
27435 add macros for checking refcounts on objects and caps
27436 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27437 add some more unit tests
27438 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27439 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27440 fix leaked refcounts (I hope :)) so unittest works
27444 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27446 * configure.ac: back to HEAD
27448 === release 0.9.1 ===
27450 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27456 2005-06-17 Andy Wingo <wingo@pobox.com>
27458 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27459 assert; it's always possible that the pad gets deactivated in
27460 between the checks in gstpad.c and the implementation. Rely on
27461 finish_preroll() to return a FLUSHING or similar instead of on the
27464 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27465 clock and post an EOS message if we come out of finish_preroll in
27468 2005-06-16 David Schleef <ds@schleef.org>
27470 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27471 (gst_capsfilter_set_property): Allow NULL as possible value
27472 for filter_caps property, indicating GST_CAPS_ANY.
27474 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27476 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27478 * gst/schedulers/Makefile.am:
27480 * gstreamer.spec.in:
27483 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27485 * gstreamer.spec.in:
27488 2005-06-08 Andy Wingo <wingo@pobox.com>
27490 * gst/gstutils.c: RPAD fixes all around.
27491 (gst_element_link_pads): Refcounting fixes.
27493 * tools/gst-inspect.c:
27494 * tools/gst-xmlinspect.c:
27496 * gst/base/gsttypefindhelper.c:
27497 * gst/base/gstbasesink.c:
27498 * gst/gstqueue.c: RPAD fixes.
27500 * gst/gstghostpad.h:
27501 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27502 pads. The tricky thing is they provide both source and sink
27503 interfaces, since they proxy the internal pad for the external
27504 pad, and vice versa. Implement with lower-level ProxyPad objects,
27505 with the interior proxy pad as a child of the exterior ghost pad.
27506 Should write a doc on this.
27508 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27509 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27512 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27513 pads are real pads. No ghost pads in this file. Not documenting
27514 the myriad s/RPAD/PAD/ and REALIZE fixes.
27515 (gst_pad_class_init): Add properties for "direction" and
27516 "template". Both are construct-only, so they can't change during
27517 the life of the pad. Fixes properly deriving from GstPad.
27518 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27519 derived objects, just set properties when creating the objects via
27521 (gst_pad_get_parent): Implement as a function, return NULL if the
27522 parent is not an element.
27523 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27524 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27526 * gst/gstobject.c (gst_object_class_init): Make name a construct
27527 property. Don't set it in the object init.
27529 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27530 with UNKNOWN direction.
27531 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27532 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27533 (gst_element_remove_pad): Remove ghost-pad special cases.
27534 (gst_element_pads_activate): Remove rpad cruft.
27536 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27537 catch the pad's-parent-not-an-element case.
27539 * gst/gst.h: Include gstghostpad.h.
27541 * gst/gst.c (init_post): No more real, ghost pads.
27543 * gst/Makefile.am: Add gstghostpad.[ch].
27545 * check/Makefile.am:
27546 * check/gst/gstbin.c:
27547 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27548 into a bin creates ghost pads, and that the refcounts are right.
27549 Partly moved from gstbin.c.
27551 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27553 * check/gst-libs/.cvsignore:
27554 * check/gst/.cvsignore:
27555 * check/pipelines/.cvsignore:
27557 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27558 (START_TEST), (cleanup_suite), (main):
27559 add some tests related to cleanup after running pipelines
27561 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27563 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27564 add a testsuite for GstBuffer
27566 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27568 * gst/gstminiobject.h:
27569 add defines for accessing the refcount
27571 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27573 * Makefile.am: added support for html unit test coverage reports
27575 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27577 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27578 Free existing caps if the capsfilter changes. Add a FIXME about
27579 setting those caps on the pads.
27581 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27582 Before adding a ghost pad to a parent bin, check that there isn't
27583 already one for the element on the bin. Prevents infinite recursion
27584 when using decodebin in parse pipelines. Andy says he'll rewrite the
27585 way this works anyway, so ignore the hack.
27587 2005-06-02 Andy Wingo <wingo@pobox.com>
27589 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27590 file size, pass it on to the type find helper.
27592 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27593 segment_start and segment_end properly according to the seek
27594 method. Segment_end is still a bit flaky because offset can be
27595 negative for CUR and END cases, but it takes -1 as an "unset"
27598 2005-06-02 Wim Taymans <wim@fluendo.com>
27600 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27601 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27602 (gst_basesink_activate):
27603 * gst/base/gstbasesink.h:
27604 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27605 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27606 (gst_pad_query), (gst_pad_start_task):
27608 * gst/gstqueue.c: (gst_queue_bufferalloc),
27609 (gst_queue_handle_sink_event), (gst_queue_chain):
27610 Bufferalloc: return GstFlowReturn to more accuratly report
27611 why allocation failed.
27613 2005-06-02 Wim Taymans <wim@fluendo.com>
27615 * gst/gstpipeline.c: (gst_pipeline_send_event):
27616 Take snapshot of state without blocking.
27618 2005-06-02 Wim Taymans <wim@fluendo.com>
27620 * docs/design/part-TODO.txt:
27621 * docs/design/part-caps.txt:
27622 * docs/design/part-clocks.txt:
27623 * docs/design/part-negotiation.txt:
27624 * docs/design/part-preroll.txt:
27627 2005-05-30 Wim Taymans <wim@fluendo.com>
27629 * gst/elements/gstidentity.c: (gst_identity_event),
27630 (gst_identity_transform), (gst_identity_get_property):
27631 Protect last_message property as it is accessed from
27634 2005-05-30 Wim Taymans <wim@fluendo.com>
27636 * gst/gstelement.c: (gst_element_init),
27637 (gst_element_pads_activate), (gst_element_change_state):
27638 Slicker pad activation code.
27640 2005-05-30 Wim Taymans <wim@fluendo.com>
27643 * gst/gstelement.h:
27644 * gst/gstelementfactory.h:
27646 Move elementfactory methods to separate .h file.
27648 2005-05-30 Wim Taymans <wim@fluendo.com>
27650 * docs/design/part-overview.txt:
27651 * gst/gstsystemclock.h:
27652 Small typo fixes, doc updates.
27654 2005-05-30 Wim Taymans <wim@fluendo.com>
27656 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27657 (init_popt_callback):
27658 Remove cpu-opt flag.
27660 2005-05-30 Wim Taymans <wim@fluendo.com>
27662 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27663 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27665 Avoid typechecking in places where not needed.
27666 Added accessor for malloc_data.
27668 2005-05-30 Wim Taymans <wim@fluendo.com>
27670 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27671 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27672 (gst_pad_configure_sink), (gst_pad_configure_src),
27673 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27674 (gst_pad_start_task):
27675 Propagate errors from _set_caps() in configure_src/sink
27676 functions instead of returning TRUE.
27677 FLUSH events can travel up and downstream
27680 2005-05-30 Wim Taymans <wim@fluendo.com>
27682 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27683 (gst_basesink_activate):
27684 Handle EOS in preroll.
27686 2005-05-30 Wim Taymans <wim@fluendo.com>
27688 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27689 (gst_queue_loop), (gst_queue_handle_src_event):
27690 Remove old pieces of code
27691 Flushing the queue in an upstream event is a very bad idea.
27693 2005-05-26 Andy Wingo <wingo@pobox.com>
27695 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27696 gst_value_set_mini_object so as to add a ref on the object (which
27697 will be removed when the value is unset).
27699 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27700 arg type in ::handoff.
27702 * gst/gstelement.c (gst_element_change_state): Also deactivate
27703 pads in READY->NULL, just in case the element didn't make it to
27704 PAUSED. Wingo tested, Wim approved.
27706 2005-05-26 Wim Taymans <wim@fluendo.com>
27708 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27709 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27710 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27711 A flushing pad cannot be used to alloc_buffer from.
27713 2005-05-26 Wim Taymans <wim@fluendo.com>
27715 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27716 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27717 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27718 (gst_bus_create_watch), (gst_bus_add_watch_full):
27720 Implement a real GSource and use g_main_context_wakeup() to
27721 signal new messages instead of the socketpair.
27723 2005-05-25 Wim Taymans <wim@fluendo.com>
27725 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27726 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27727 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27728 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27729 (gst_pad_send_event), (gst_pad_start_task):
27730 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27731 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27732 (gst_queue_sink_activate), (gst_queue_src_activate),
27733 (gst_queue_change_state):
27735 Fix state changes for non sinks. We now change sinks, then elements
27736 with unconnected srcpads, then the rest.
27737 More efficient queue unlocking in flush and state changes.
27738 Set the pad activate mode even if it does not have an activate
27741 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27743 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27744 Don't go in pull mode for non-seekable sources.
27745 * gst/elements/gsttypefindelement.h:
27746 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27747 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27748 (free_entry), (stop_typefinding),
27749 (gst_type_find_element_handle_event), (find_peek),
27750 (gst_type_find_element_chain), (do_pull_typefind),
27751 (gst_type_find_element_change_state):
27752 Allow typefinding (w/o seeking) in push-mode, simplified version
27753 of what was in 0.8.
27754 * gst/gstutils.c: (gst_buffer_join):
27756 gst_buffer_join() from 0.8.
27758 2005-05-25 Wim Taymans <wim@fluendo.com>
27760 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27761 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27762 (gst_pad_send_event), (gst_pad_start_task):
27763 Disable attempt at mode switching until it is figured out.
27765 2005-05-25 Wim Taymans <wim@fluendo.com>
27767 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27768 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27769 (gst_basesink_finish_preroll), (gst_basesink_chain),
27770 (gst_basesink_loop), (gst_basesink_activate),
27771 (gst_basesink_change_state):
27772 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27773 (gst_basesrc_get_range), (gst_basesrc_loop),
27774 (gst_basesrc_activate):
27775 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27776 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27777 (gst_real_pad_init), (gst_real_pad_set_property),
27778 (gst_real_pad_get_property), (gst_pad_set_active),
27779 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27780 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27781 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27782 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27783 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27784 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27785 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27786 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27787 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27788 (gst_pad_stop_task):
27790 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27791 (gst_queue_loop), (gst_queue_src_activate):
27792 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27793 (gst_task_get_state):
27795 * gst/schedulers/threadscheduler.c:
27796 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27797 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27799 Remove ACTIVE pad flag, use FLUSHING everywhere
27800 Added _pad_chain(), _pad_get_range() to call chain/getrange
27802 Add locks around IS_FLUSHING when reading.
27803 Take STREAM lock in chain(), get_range() functions so plugins
27804 don't need to take it anymore.
27808 2005-05-25 Wim Taymans <wim@fluendo.com>
27810 * tools/gst-launch.c: (event_loop):
27811 Unref message after using its contents instead of
27814 2005-05-24 Wim Taymans <wim@fluendo.com>
27816 * docs/design/draft-ghostpads.txt:
27817 * docs/design/draft-push-pull.txt:
27818 * docs/design/draft-query.txt:
27819 * docs/design/part-overview.txt:
27820 Docs updates, added general overview doc.
27822 2005-05-21 David Schleef <ds@schleef.org>
27824 * docs/gst/tmpl/old/GstBin.sgml:
27825 * docs/gst/tmpl/old/GstBuffer.sgml:
27826 * docs/gst/tmpl/old/GstCaps.sgml:
27827 * docs/gst/tmpl/old/GstClock.sgml:
27828 * docs/gst/tmpl/old/GstCompat.sgml:
27829 * docs/gst/tmpl/old/GstData.sgml:
27830 * docs/gst/tmpl/old/GstElement.sgml:
27831 * docs/gst/tmpl/old/GstEvent.sgml:
27832 * docs/gst/tmpl/old/GstIndex.sgml:
27833 * docs/gst/tmpl/old/GstStructure.sgml:
27834 * docs/gst/tmpl/old/GstTag.sgml:
27835 * docs/gst/tmpl/old/cothreads.sgml:
27836 * docs/gst/tmpl/old/cothreads_compat.sgml:
27837 * docs/gst/tmpl/old/gettext.sgml:
27838 * docs/gst/tmpl/old/gobject2gtk.sgml:
27839 * docs/gst/tmpl/old/grammar.tab.sgml:
27840 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27841 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27842 * docs/gst/tmpl/old/gst_private.sgml:
27843 * docs/gst/tmpl/old/gstaggregator.sgml:
27844 * docs/gst/tmpl/old/gstarch.sgml:
27845 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27846 * docs/gst/tmpl/old/gstbufferstore.sgml:
27847 * docs/gst/tmpl/old/gstdata_private.sgml:
27848 * docs/gst/tmpl/old/gstdisksink.sgml:
27849 * docs/gst/tmpl/old/gstdisksrc.sgml:
27850 * docs/gst/tmpl/old/gstelementfactory.sgml:
27851 * docs/gst/tmpl/old/gstextratypes.sgml:
27852 * docs/gst/tmpl/old/gstfakesink.sgml:
27853 * docs/gst/tmpl/old/gstfakesrc.sgml:
27854 * docs/gst/tmpl/old/gstfdsink.sgml:
27855 * docs/gst/tmpl/old/gstfdsrc.sgml:
27856 * docs/gst/tmpl/old/gstfilesink.sgml:
27857 * docs/gst/tmpl/old/gstfilesrc.sgml:
27858 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27859 * docs/gst/tmpl/old/gstidentity.sgml:
27860 * docs/gst/tmpl/old/gstindexfactory.sgml:
27861 * docs/gst/tmpl/old/gstmarshal.sgml:
27862 * docs/gst/tmpl/old/gstmd5sink.sgml:
27863 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27864 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27865 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27866 * docs/gst/tmpl/old/gstpipefilter.sgml:
27867 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27868 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27869 * docs/gst/tmpl/old/gstshaper.sgml:
27870 * docs/gst/tmpl/old/gstspider.sgml:
27871 * docs/gst/tmpl/old/gstspideridentity.sgml:
27872 * docs/gst/tmpl/old/gststatistics.sgml:
27873 * docs/gst/tmpl/old/gsttee.sgml:
27874 * docs/gst/tmpl/old/gsttimecache.sgml:
27875 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27876 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27877 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27878 * docs/gst/tmpl/old/types.sgml:
27879 I didn't intend to add these or check them in.
27881 2005-05-19 David Schleef <ds@schleef.org>
27883 * configure.ac: Use -no-common everywhere. In a sane world, it
27884 would be the default in libtool, because without it, you can't
27885 build DLLs on Windows.
27886 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27887 * docs/gst/gstreamer-sections.txt:
27888 * docs/gst/tmpl/gstcpu.sgml:
27889 * docs/gst/tmpl/gstdata.sgml:
27890 * docs/gst/tmpl/gstthread.sgml:
27892 2005-05-19 David Schleef <ds@schleef.org>
27894 * gst/gstminiobject.c: (gst_value_set_mini_object),
27895 (gst_value_take_mini_object), (gst_value_get_mini_object):
27896 * gst/gstminiobject.h: Add GValue set/get functions.
27898 2005-05-19 Wim Taymans <wim@fluendo.com>
27900 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27901 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27902 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27904 * gst/gstbus.c: (gst_bus_post):
27905 * gst/gstelement.c: (gst_element_get_random_pad):
27906 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27907 Make subbufer unref the parent in finalize.
27908 some more debugging info.
27911 2005-05-19 Wim Taymans <wim@fluendo.com>
27913 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27914 (gst_basesink_init), (gst_basesink_finalize),
27915 (gst_basesink_activate), (gst_basesink_change_state):
27916 Don't free preroll queue too early.
27918 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27922 Hi, I'm outdated. Please shoot me.
27924 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27926 * gst/gstpipeline.c: (gst_pipeline_send_event):
27927 Do not access variables after they have been deleted.
27929 2005-05-19 Wim Taymans <wim@fluendo.com>
27931 * tools/gst-inspect.c: (print_plugin_features):
27932 A plugin feature does unfortunatly not use the
27935 2005-05-18 Wim Taymans <wim@fluendo.com>
27937 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27938 Port _span() functions to new subbuffers.
27940 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27942 * gst/gstbin.c: (gst_bin_add_func):
27943 Fix clock settery in bins when adding kids after the clock has
27946 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27948 * gst/elements/gstidentity.c: (gst_identity_class_init):
27949 Workaround until signals support GstMiniObject.
27951 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27954 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27956 2005-05-18 Wim Taymans <wim@fluendo.com>
27958 * gst/base/Makefile.am:
27959 * gst/base/gstadapter.c: (gst_adapter_base_init),
27960 (gst_adapter_class_init), (gst_adapter_init),
27961 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27962 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27963 (gst_adapter_flush), (gst_adapter_available),
27964 (gst_adapter_available_fast):
27965 * gst/base/gstadapter.h:
27966 Ported and added adapter to the base classes.
27968 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27971 * gst/gstmessage.c:
27972 Make sure the class is reffed/unreffed once before threads can be
27973 used. Fixes #304551.
27975 2005-05-17 Wim Taymans <wim@fluendo.com>
27977 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27978 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27979 * gst/gstminiobject.c: (gst_mini_object_get_type),
27980 (gst_mini_object_free):
27981 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27982 (gst_pad_push), (gst_pad_push_event):
27983 * gst/gstqueue.c: (gst_queue_change_state):
27984 Don't queue buffers in basesink when we are flushing.
27985 Unref buffer when flushing in basesink.
27986 Flush queue when going to READY
27987 Unref buffer when _push() returns an error.
27988 Don't free MiniObject instance when refcount is incremented
27989 in _finalize() so that we can recover objects.
27991 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27993 * docs/manual/advanced-schedulers.xml:
27994 * docs/manual/appendix-checklist.xml:
27995 * docs/pwg/advanced-clock.xml:
27996 * docs/pwg/advanced-interfaces.xml:
27997 * docs/pwg/advanced-request.xml:
27998 * docs/pwg/advanced-types.xml:
27999 * docs/pwg/intro-preface.xml:
28000 * examples/plugins/example.c: (gst_example_get_type),
28001 (gst_example_class_init), (gst_example_chain),
28002 (gst_example_set_property), (gst_example_get_property),
28003 (gst_example_change_state), (plugin_init):
28004 * examples/plugins/example.h:
28007 2005-05-17 Wim Taymans <wim@fluendo.com>
28009 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
28010 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
28011 * gst/gstqueue.c: (gst_queue_change_state):
28012 Clear queue when going to READY.
28013 Remove IN_SETCAPS flag too.
28015 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
28017 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
28018 Remove implicit cast from gboolean to GstElementStateReturn;
28019 make sure we still return failure in paused => ready case if
28020 the parent class fails to change state and our own stop
28023 2005-05-17 Wim Taymans <wim@fluendo.com>
28025 * tools/gst-launch.c: (event_loop):
28026 Message was unreffed too soon.
28028 2005-05-16 Andy Wingo <wingo@pobox.com>
28030 * gst/gstbin.c (sink_iterator_filter): Err... um...
28032 * check/gst/gstbin.c (test_ghost_pads): New test for the
28033 ghosting-if-elements-not-in-same-bin behavior.
28035 2005-05-16 David Schleef <ds@schleef.org>
28037 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
28038 accessing refcount directly.
28040 2005-05-15 David Schleef <ds@schleef.org>
28042 * check/Makefile.am: remove GstData checks
28043 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
28044 * gst/Makefile.am: add miniobject, remove data
28045 * gst/gst.h: add miniobject, remove data
28046 * gst/gstdata.c: remove
28047 * gst/gstdata.h: remove
28048 * gst/gstdata_private.h: remove
28049 * gst/gsttypes.h: remove GstEvent and GstMessage
28050 * gst/gstelement.c: (gst_element_post_message): fix for API changes
28051 * gst/gstmarshal.list: change BOXED -> OBJECT
28053 Implement GstMiniObject.
28054 * gst/gstminiobject.c:
28055 * gst/gstminiobject.h:
28057 Modify to be subclasses of GstMiniObject.
28058 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
28059 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
28060 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
28061 (gst_subbuffer_get_type), (gst_subbuffer_init),
28062 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
28065 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
28066 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
28067 (_gst_event_copy), (gst_event_new):
28069 * gst/gstmessage.c: (_gst_message_initialize),
28070 (gst_message_get_type), (gst_message_class_init),
28071 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
28072 (gst_message_new), (gst_message_new_error),
28073 (gst_message_new_warning), (gst_message_new_tag),
28074 (gst_message_new_state_changed), (gst_message_new_application):
28075 * gst/gstmessage.h:
28076 * gst/gstprobe.c: (gst_probe_perform),
28077 (gst_probe_dispatcher_dispatch):
28079 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
28080 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
28081 (_gst_query_copy), (gst_query_new):
28083 Update elements for GstData -> GstMiniObject changes
28085 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28086 (gst_queue_chain), (gst_queue_loop):
28087 * gst/elements/gstbufferstore.c:
28088 (gst_buffer_store_add_buffer_func),
28089 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28090 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28091 (gst_fakesink_render):
28092 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28093 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28094 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28095 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28096 (gst_filesrc_create_read):
28097 * gst/elements/gstidentity.c: (gst_identity_class_init):
28098 * gst/elements/gsttypefindelement.c:
28099 (gst_type_find_element_src_event), (free_entry_buffers),
28100 (gst_type_find_element_handle_event):
28101 * libs/gst/dataprotocol/dataprotocol.c:
28102 (gst_dp_header_from_buffer):
28103 * libs/gst/dataprotocol/dataprotocol.h:
28104 * libs/gst/dataprotocol/dp-private.h:
28106 2005-05-15 David Schleef <ds@schleef.org>
28108 * gst/elements/gstelements.c: Don't include headers that were
28111 2005-05-15 David Schleef <ds@schleef.org>
28113 * gst/elements/Makefile.am: Remove some elements that don't
28114 need to be in the core (or even exist at all).
28115 * gst/elements/gstaggregator.c:
28116 * gst/elements/gstaggregator.h:
28117 * gst/elements/gstmd5sink.c:
28118 * gst/elements/gstmd5sink.h:
28119 * gst/elements/gstmultifilesrc.c:
28120 * gst/elements/gstmultifilesrc.h:
28121 * gst/elements/gstpipefilter.c:
28122 * gst/elements/gstpipefilter.h:
28123 * gst/elements/gstshaper.c:
28124 * gst/elements/gstshaper.h:
28125 * gst/elements/gststatistics.c:
28126 * gst/elements/gststatistics.h:
28127 * po/POTFILES.in: Remove above files.
28129 2005-05-14 Andy Wingo <wingo@pobox.com>
28131 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28132 so as to get the refs right.
28133 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28134 unreffing objects that don't pass the filter.
28136 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28137 gst_element_set_bus.
28138 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28139 normal cases, this will destroy the bus.
28141 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28144 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28147 2005-05-13 Andy Wingo <wingo@pobox.com>
28149 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28150 gst_pad_link, call pad_link_maybe_ghosting,
28151 (pad_link_maybe_ghosting): Links pads, making sure that the
28152 elements being linked are in the same bin.
28153 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28154 Helpers for pad_link_maybe_ghosting.
28156 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28159 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28161 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28163 * docs/design/part-element-source.txt:
28166 2005-05-12 Wim Taymans <wim@fluendo.com>
28168 * gst/base/gstbasesink.c: (gst_basesink_init),
28169 (gst_basesink_activate):
28170 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28171 (gst_basesrc_is_seekable):
28172 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28173 (bin_element_is_sink), (gst_bin_change_state):
28174 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28175 * gst/gstelement.h:
28176 Identify sinks by their flag to avoid overly complicated
28178 Do state changes even for elements not reachable from the
28180 BaseSink is a sink now :)
28181 Some more debugging info in the basesrc.
28184 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28186 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28187 Implement _query on a bin, similar to _send_event.
28189 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28191 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28192 Discont event offset format should be GST_FORMAT_BYTES,
28193 not GST_FORMAT_TIME.
28195 2005-05-12 Wim Taymans <wim@fluendo.com>
28197 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28198 Same fix as Ronald's but without the signal.
28200 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28202 * gst/gstutils.c: (gst_element_query_position):
28203 No, an element is not a pad.
28205 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28207 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28208 (gst_bin_get_state):
28209 If a child is removed from a bin while we remove the child from
28210 the bin and while we're retrieving its state, signal this to the
28211 get_state function so we abort the wait (instead of waiting for
28212 a timeout) and can immediately re-iterate over all other elements.
28214 2005-05-12 Wim Taymans <wim@fluendo.com>
28216 * gst/base/Makefile.am:
28217 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28218 (gst_basesrc_start):
28219 * gst/base/gstbasesrc.h:
28220 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28221 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28222 (gst_pushsrc_init), (gst_pushsrc_create):
28223 * gst/base/gstpushsrc.h:
28224 Added is_seekable to BaseSrc
28225 Added simple PushSrc.
28227 2005-05-11 Wim Taymans <wim@fluendo.com>
28229 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28230 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28231 (gst_element_link_pads), (gst_element_query_position),
28232 (gst_element_query_convert), (intersect_caps_func),
28233 (gst_pad_query_position), (gst_pad_query_convert):
28234 Fix refcounting in utils function.
28235 No point in trying to activate a pad when it's added, it could
28236 be added from the state change function and then we deadlock, the
28237 element has to decide what to do.
28239 2005-05-10 Andy Wingo <wingo@pobox.com>
28241 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28242 *all* the arguments.
28244 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28245 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28246 lock (according to the docs -- if this is wrong change the docs).
28248 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28249 flush messages in the NULL state.
28251 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28252 message immediately and return.
28253 (gst_bus_set_flushing): New function. If a bus is flushing, it
28254 flushes out any queued messages and immediately unrefs new
28255 messages. This is so when an element goes to NULL, all of the
28256 unhandled messages coming from it can be freed, and their
28257 references to the element dropped. In other words: message source
28258 ref considered harmful :P
28260 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28261 we're finished with it.
28263 * gst/gstmessage.c (gst_message_new_state_changed):
28265 2005-05-10 Wim Taymans <wim@fluendo.com>
28267 * gst/gstvalue.c: (gst_value_compare_flags),
28268 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28269 (_gst_value_initialize):
28270 Added flags serialize/deserialize/compare code.
28272 2005-05-09 Andy Wingo <wingo@pobox.com>
28274 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28275 Intersect the peer's caps with our caps.
28277 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28279 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28280 * gst/elements/gsttypefindelement.c: (find_peek):
28281 Handle negative offsets better. Fixes decodebin.
28283 2005-05-09 Wim Taymans <wim@fluendo.com>
28285 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28286 (gst_base_transform_event):
28287 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28288 Implement accept_caps.
28289 Fix silly lock/unlock mismatch in base class.
28291 2005-05-09 Wim Taymans <wim@fluendo.com>
28293 * docs/design/draft-push-pull.txt:
28294 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28295 * gst/elements/gstfilesink.c: (gst_filesink_init),
28296 (gst_filesink_query):
28297 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28298 (gst_type_find_handle_src_query), (find_element_get_length):
28299 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28300 * gst/gstelement.h:
28301 * gst/gstmessage.c:
28302 * gst/gstmessage.h:
28303 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28304 (gst_real_pad_get_caps_unlocked),
28305 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28306 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28307 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28308 (gst_real_pad_dispose), (gst_real_pad_finalize),
28309 (gst_pad_load_and_link), (gst_pad_save_thyself),
28310 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28311 (gst_pad_check_pull_range), (gst_pad_pull_range),
28312 (gst_pad_template_get_type), (gst_pad_template_class_init),
28313 (gst_pad_template_init), (gst_pad_template_dispose),
28314 (name_is_valid), (gst_static_pad_template_get),
28315 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28316 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28317 (gst_pad_get_element_private), (gst_pad_start_task),
28318 (gst_pad_pause_task), (gst_pad_stop_task),
28319 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28320 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28321 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28322 (gst_ghost_pad_new):
28324 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28325 (gst_query_new_position), (gst_query_set_position),
28326 (gst_query_parse_position), (gst_query_new_convert),
28327 (gst_query_set_convert), (gst_query_parse_convert):
28329 * gst/gstqueryutils.c:
28330 * gst/gstqueryutils.h:
28331 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28332 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28333 (gst_queue_handle_src_query):
28334 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28335 (gst_element_query_position), (gst_element_query_convert),
28336 (intersect_caps_func), (gst_pad_query_position),
28337 (gst_pad_query_convert):
28339 * tools/gst-inspect.c: (print_pad_info):
28340 * tools/gst-xmlinspect.c: (print_element_info):
28341 Remove old query functions. Ported old code.
28342 Added position/convert helper functions to gstutils.
28343 Reordered gstpad.c code, grouping relevant things.
28344 Remove gst_message_new(), always need to speficy a specific
28348 2005-05-09 Andy Wingo <wingo@pobox.com>
28350 * gst/gstiterator.h: Add some includes.
28352 * gst/gstqueryutils.h: Include more headers.
28355 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28356 some uses of gst_pad_query.
28358 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28359 NULL out parameters.
28360 (gst_query_new_position): New proc, allocates a new position
28363 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28364 gstqueryutils.c to the build.
28366 * gst/gststructure.c (gst_structure_set_valist): Implement with
28367 the generic G_VALUE_COLLECT.
28369 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28371 * gst/Makefile.am: (gst_headers):
28372 Added gstqueryutils.h to the list of headers to install, that was
28373 a 'nachty' move wingo :)
28375 2005-05-06 Andy Wingo <wingo@pobox.com>
28378 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28379 GstData, init a memchunk.
28380 (standard_definitions): Add a few query types, deprecate a few.
28381 (gst_query_get_type): New proc.
28382 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28384 (gst_query_new_application, gst_query_get_structure): New public
28387 * docs/design/draft-query.txt: Removed LINKS from the query types,
28388 because all the rest can be dispatched to other pads -- seemed
28389 ugly to have a query that couldn't be dispatched. internal_links
28390 is fine as a pad method.
28392 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28393 in gstpad.c, but maintain binary compatibility for the moment.
28394 Will fix before 0.9 is out.
28396 * gst/gstqueryutils.c:
28397 * gst/gstqueryutils.h: New files, implement 3 methods for each
28398 query type: parse_query, parse_response, and set. Probably need an
28401 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28403 * gst/elements/gstfilesink.c (gst_filesink_query2):
28404 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28405 query_types, and formats methods.
28407 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28408 (gst_pad_set_query2_function): New functions.
28409 (gst_real_pad_init): Set query2_default as the default query2
28410 function. Basically just dispatches to internally linked pads.
28414 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28415 without using the atomic operations. Only one thread can possibly
28416 be accessing the data at this point. Changed so as to avoid
28417 gst_atomic operations.
28419 2005-05-06 Wim Taymans <wim@fluendo.com>
28421 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28422 Also set caps if we use the fallback buffer alloc.
28424 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28426 * docs/gst/Makefile.am:
28427 * docs/gst/gstreamer-docs.sgml:
28428 * docs/gst/gstreamer-sections.txt:
28429 * docs/gst/tmpl/gstatomic.sgml:
28430 * docs/gst/tmpl/gstmemchunk.sgml:
28431 * testsuite/elements/struct_i386.h:
28432 * win32/GStreamer.vcproj:
28434 Purge GstAtomic stuff from docs and win32 makefiles as well
28436 2005-05-06 Wim Taymans <wim@fluendo.com>
28438 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28439 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28440 * gst/gstpad.c: (gst_pad_peer_get_caps):
28441 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28442 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28443 (gst_queue_src_activate), (gst_queue_change_state):
28445 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28446 (intersect_caps_func):
28447 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28448 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28449 Some fixes for the peer_get_caps() change.
28451 2005-05-06 Wim Taymans <wim@fluendo.com>
28453 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28454 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28455 (gst_basesink_activate):
28456 Actually do something with error codes returned from the push
28459 2005-05-06 Wim Taymans <wim@fluendo.com>
28461 * docs/design/part-element-sink.txt:
28462 * docs/design/part-element-source.txt:
28463 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28464 (gst_basesink_event), (gst_basesink_activate):
28465 * gst/base/gstbasesink.h:
28466 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28467 (gst_basesrc_activate):
28468 * gst/base/gstbasesrc.h:
28469 * gst/gstelement.c: (gst_element_pads_activate):
28470 Some more documentation.
28471 Fixed scheduling decision in _pads_activate().
28473 2005-05-05 Andy Wingo <wingo@pobox.com>
28475 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28478 2005-05-05 Wim Taymans <wim@fluendo.com>
28480 * gst/base/Makefile.am:
28481 * gst/base/gstbasesink.h:
28482 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28483 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28484 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28485 (gst_collectpads_class_init), (gst_collectpads_init),
28486 (gst_collectpads_finalize), (gst_collectpads_new),
28487 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28488 (find_pad), (gst_collectpads_remove_pad),
28489 (gst_collectpads_is_active), (gst_collectpads_collect),
28490 (gst_collectpads_collect_range), (gst_collectpads_start),
28491 (gst_collectpads_stop), (gst_collectpads_peek),
28492 (gst_collectpads_pop), (gst_collectpads_available),
28493 (gst_collectpads_read), (gst_collectpads_flush),
28494 (gst_collectpads_chain):
28495 * gst/base/gstcollectpads.h:
28496 * gst/elements/Makefile.am:
28497 * gst/elements/gstelements.c:
28498 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28499 (gst_fakesink_get_times), (gst_fakesink_event),
28500 (gst_fakesink_preroll), (gst_fakesink_render):
28501 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28502 (gst_filesink_init), (gst_filesink_set_location),
28503 (gst_filesink_open_file), (gst_filesink_close_file),
28504 (gst_filesink_pad_query), (gst_filesink_event),
28505 (gst_filesink_render), (gst_filesink_change_state):
28506 * gst/elements/gstfilesink.h:
28507 Added object to help in making collect pad based elements.
28509 Make event function in sink baseclass return gboolean.
28511 2005-05-05 Wim Taymans <wim@fluendo.com>
28513 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28514 (gst_bin_get_by_name):
28516 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28517 (gst_clock_finalize):
28518 * gst/gstdata.c: (gst_data_replace):
28520 * gst/gstelement.c: (gst_element_request_pad),
28521 (gst_element_pads_activate):
28522 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28523 (gst_object_unref):
28524 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28525 (gst_pad_set_checkgetrange_function),
28526 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28527 (gst_pad_check_pull_range), (gst_pad_pull_range),
28528 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28529 (gst_pad_pause_task), (gst_pad_stop_task):
28530 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28531 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28532 Fix name lookup in GstBin.
28533 Added _data_replace() function and _buffer_replace()
28534 Use finalize method to clean up clock.
28535 Fix refcounting on request pads.
28536 Fix pad schedule mode error.
28537 Some more object refcounting debug info,
28540 2005-05-04 Andy Wingo <wingo@pobox.com>
28542 * check/Makefile.am:
28543 * docs/gst/tmpl/gstatomic.sgml:
28544 * docs/gst/tmpl/gstplugin.sgml:
28545 * gst/base/gstbasesink.c: (gst_basesink_activate):
28546 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28547 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28548 (gst_basesrc_query), (gst_basesrc_set_property),
28549 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28550 (gst_basesrc_activate):
28551 * gst/base/gstbasesrc.h:
28552 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28553 (gst_base_transform_src_activate):
28554 * gst/elements/gstelements.c:
28555 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28556 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28557 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28558 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28559 (gst_type_find_element_checkgetrange),
28560 (gst_type_find_element_activate):
28561 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28562 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28563 (gst_caps_load_thyself):
28564 * gst/gstelement.c: (gst_element_pads_activate),
28565 (gst_element_save_thyself), (gst_element_restore_thyself):
28566 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28567 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28569 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28570 (gst_xml_parse_file), (gst_xml_parse_memory),
28571 (gst_xml_get_element), (gst_xml_make_element):
28572 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28573 (_file_index_id_save_xml), (gst_file_index_commit):
28574 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28575 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28577 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28578 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28579 * tools/gst-complete.c: (main):
28580 * tools/gst-compprep.c: (main):
28581 * tools/gst-inspect.c: (print_element_properties_info):
28582 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28583 * tools/gst-xmlinspect.c: (print_element_properties):
28586 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28588 * gst/gstplugin.c: (gst_plugin_check_module),
28589 (gst_plugin_check_file), (gst_plugin_load_file):
28590 apply patch from #172526 to make register work on MacOSX
28592 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28594 * docs/gst/tmpl/gstconfig.sgml:
28595 * gst/gstconfig.h.in:
28596 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28597 * testsuite/debug/printf_extension.c: (main):
28598 Do not use GST_PTR_FORMAT on pointers to types with
28599 sizeof < sizeof(gpointer). Fixes test on 64-bit
28600 * testsuite/elements/property.h:
28601 use correct printf format
28603 2005-05-02 Wim Taymans <wim@fluendo.com>
28605 * docs/design/draft-push-pull.txt:
28606 * docs/design/draft-query.txt:
28607 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28608 (gst_basesrc_start):
28609 Added draft for new query API.
28610 Added draft for better selecting scheduling methods.
28611 Make basesrc ignore length if the subclass does not support
28614 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28617 possible fixes for automake-1.5 - _LIBADD is reserved
28619 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28621 * docs/faq/Makefile.am:
28622 * docs/manual/Makefile.am:
28623 * docs/manuals.mak:
28624 * docs/pwg/Makefile.am:
28626 possible fixes for automake-1.5
28628 2005-04-28 Wim Taymans <wim@fluendo.com>
28630 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28631 (gst_basesink_pad_getcaps), (gst_basesink_init),
28632 (gst_basesink_do_sync):
28633 * gst/gstclock.c: (gst_clock_entry_new):
28634 * gst/gstevent.c: (gst_event_discont_get_value):
28635 * gst/gstpipeline.c: (pipeline_bus_handler),
28636 (gst_pipeline_change_state):
28637 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28638 Better debugging of clocking info.
28639 Allow NULL values when getting discont values.
28641 2005-04-27 Wim Taymans <wim@fluendo.com>
28643 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28644 * check/gst/gstpad.c: (gst_pad_suite):
28645 Increase timeout for checks.
28647 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28649 * check/Makefile.am:
28650 fix the broken rule for cleanup. Apparently this rule is
28651 only needed on FC2, so maybe this warrants further autotool
28654 2005-04-26 Wim Taymans <wim@fluendo.com>
28656 * gst/gsttrashstack.h:
28657 Ooohh. a nasty one! After having a failed pop() from the stack,
28658 it's possible that the stack is empty. In that case, don't
28659 follow the NULL pointer.
28661 2005-04-25 Wim Taymans <wim@fluendo.com>
28663 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28664 (gst_pad_set_checkgetrange_function),
28665 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28666 (gst_pad_check_pull_range), (gst_pad_pull_range),
28667 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28668 (gst_pad_pause_task), (gst_pad_stop_task):
28669 * gst/gstplugin.c: (gst_plugin_load):
28671 Remove gst_library_load as it does more harm than good with
28672 the new g_module flags.
28673 Revert bogus caps template check in pad linking, pad caps
28674 are important when linking not the template, which is more
28675 general than the current caps.
28677 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28679 * gst/autoplug/.cvsignore:
28680 * gst/autoplug/Makefile.am:
28681 * gst/autoplug/gstsearchfuncs.c:
28682 * gst/autoplug/gstsearchfuncs.h:
28683 * gst/autoplug/gstspider.c:
28684 * gst/autoplug/gstspider.h:
28685 * gst/autoplug/gstspideridentity.c:
28686 * gst/autoplug/gstspideridentity.h:
28687 * gst/autoplug/spidertest.c:
28690 2005-04-25 Wim Taymans <wim@fluendo.com>
28692 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28693 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28694 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28695 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28697 Added stubs for unimplemented functions.
28699 2005-04-24 David Schleef <ds@schleef.org>
28701 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28704 2005-04-24 David Schleef <ds@schleef.org>
28706 Convert everything from GstAtomicInt to g_atomic_int_*, and
28711 * gst/gstatomic_impl.h:
28719 * gst/gstdata_private.h:
28723 * gst/gstmessage.c:
28726 * gst/gststructure.c:
28727 * gst/gststructure.h:
28728 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28731 2005-04-24 David Schleef <ds@schleef.org>
28733 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28734 make the regressions tests work. Remove some code that is no
28736 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28737 Disable warning for pads without templates.
28739 2005-04-24 David Schleef <ds@schleef.org>
28741 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28742 functions that handle filtered links.
28743 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28745 * gst/gstutils.c: Fix/remove utility functions that handle
28748 * gst/gstvalue.c: Add serialization/deserialization of caps
28749 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28750 requires fixing so that the filter caps notation creates
28751 a capsfilter element and sets the filter_caps property. I
28752 think everyone probably wants to keep the shorthand notation.
28753 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28754 * docs/gst/tmpl/gstpad.sgml:
28756 * gst/elements/gstelements.c: Register capsfilter element.
28757 * gst/Makefile.am: fix spacing
28758 * docs/random/ds/0.9-suggested-changes: random
28760 2005-04-23 David Schleef <ds@schleef.org>
28762 * gst/elements/Makefile.am:
28763 * gst/elements/gstcapsfilter.c: New element that acts like an
28764 identity, but filters caps. Will eventually replace filtered
28765 caps in pad linking.
28766 * gst/gstutils.c: (gst_element_create_all_pads): New function
28767 to create all the ALWAYS pads that are registered with an
28768 element class. This functionality should eventually be
28769 merged in with GstElement initialization.
28771 * testsuite/trigger/README: part of trigger test code that should
28772 have been checked in a long time ago.
28774 2005-04-23 David Schleef <ds@schleef.org>
28776 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28777 needed with new versions of libtool (nobody will confirm this),
28778 and hard to carry around.
28779 * gst/autoplug/Makefile.am:
28780 * gst/base/Makefile.am:
28781 * gst/elements/Makefile.am:
28782 * gst/indexers/Makefile.am:
28783 * gst/schedulers/Makefile.am:
28784 * libs/gst/bytestream/Makefile.am:
28785 * libs/gst/control/Makefile.am:
28786 * libs/gst/dataprotocol/Makefile.am:
28787 * libs/gst/getbits/Makefile.am:
28789 2005-04-21 Wim Taymans <wim@fluendo.com>
28791 * docs/design/draft-push-pull.txt:
28792 * docs/design/part-MT-refcounting.txt:
28793 * docs/design/part-TODO.txt:
28794 * docs/design/part-caps.txt:
28795 * docs/design/part-events.txt:
28796 * docs/design/part-gstbus.txt:
28797 * docs/design/part-gstpipeline.txt:
28798 * docs/design/part-messages.txt:
28799 * docs/design/part-push-pull.txt:
28800 * docs/design/part-query.txt:
28803 2005-04-21 Wim Taymans <wim@fluendo.com>
28805 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28806 (gst_message_new), (gst_message_new_error),
28807 (gst_message_new_warning), (gst_message_new_tag),
28808 (gst_message_new_state_changed), (gst_message_new_application),
28809 (gst_message_get_structure):
28810 * gst/gstmessage.h:
28811 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28812 (gst_structure_copy_conditional):
28813 Use parent refcount in GstMessage to ensure GstStructure
28815 Cleaned up headers a bit.
28818 2005-04-20 Wim Taymans <wim@fluendo.com>
28820 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28821 (gst_basesink_pad_getcaps), (gst_basesink_init),
28822 (gst_basesink_chain_unlocked):
28823 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28824 (gst_type_find_helper):
28825 * gst/elements/gsttypefindelement.c:
28826 (gst_type_find_element_have_type), (gst_type_find_element_init),
28827 (stop_typefinding), (gst_type_find_element_handle_event),
28828 (find_suggest), (gst_type_find_element_chain),
28829 (gst_type_find_element_checkgetrange),
28830 (gst_type_find_element_getrange), (do_typefind),
28831 (gst_type_find_element_activate):
28832 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28833 (gst_buffer_default_free), (gst_buffer_default_copy),
28834 (gst_buffer_set_caps):
28835 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28836 (gst_caps_replace):
28837 * gst/gstmessage.c: (gst_message_new),
28838 (gst_message_new_state_changed):
28839 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28840 (gst_pad_set_checkgetrange_function),
28841 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28842 (gst_pad_set_caps), (gst_pad_check_pull_range),
28843 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28845 * gst/gsttypefind.c: (gst_type_find_register):
28846 Make gst_caps_replace() work like other _replace() functions.
28847 Use _caps_replace() where possible.
28848 Make sure _message_new() initialises its field.
28849 Add gst_static_pad_template_get_caps()
28852 2005-04-18 Andy Wingo <wingo@pobox.com>
28854 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28855 on the peer, not the pad. I think that was a typo. Pass an extra
28856 arg to see if random access is possible. Activate the pads as
28857 PULL_RANGE if possible.
28859 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28861 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28862 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28865 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28867 * docs/faq/using.xml:
28868 Add note on gstreamer-properties (#154996).
28870 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28872 * docs/random/bbb/optional-properties:
28873 Some analysis on optional properties.
28875 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28877 * docs/gst/tmpl/gstelementfactory.sgml:
28878 * gst/gstelement.h:
28879 * gst/gstelementfactory.c: (gst_element_factory_init),
28880 (gst_element_factory_cleanup), (gst_element_register),
28881 (__gst_element_factory_add_static_pad_template),
28882 (gst_element_factory_get_static_pad_templates),
28883 (gst_element_factory_can_src_caps),
28884 (gst_element_factory_can_sink_caps):
28885 * gst/registries/Makefile.am:
28886 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28887 (gst_xml_registry_class_init), (gst_xml_registry_init),
28888 (gst_xml_registry_new), (gst_xml_registry_set_property),
28889 (gst_xml_registry_get_property), (get_time), (make_dir),
28890 (gst_xml_registry_get_perms_func),
28891 (plugin_times_older_than_recurse), (plugin_times_older_than),
28892 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28893 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28894 (add_to_char_array), (read_string), (read_uint), (read_enum),
28895 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28896 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28897 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28898 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28899 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28900 (gst_xml_registry_rebuild):
28901 * gst/registries/gstlibxmlregistry.h:
28902 * tools/gst-compprep.c: (main):
28903 * tools/gst-inspect.c: (print_pad_templates_info):
28904 * tools/gst-xmlinspect.c: (print_element_info):
28905 Use libxml2 for registry parsing, use staticpadtemplates in
28906 elementfactories. Makes gst_init() +/- 10x faster.
28908 2005-04-12 Wim Taymans <wim@fluendo.com>
28910 * gst/base/Makefile.am:
28911 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28912 (gst_basesink_pad_getcaps), (gst_basesink_init),
28913 (gst_basesink_event), (gst_basesink_change_state):
28914 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28915 (gst_basesrc_init), (gst_basesrc_query),
28916 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28917 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28918 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28919 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28920 (gst_basesrc_stop), (gst_basesrc_activate),
28921 (gst_basesrc_change_state):
28922 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28923 (helper_find_suggest), (gst_type_find_helper):
28924 * gst/base/gsttypefindhelper.h:
28925 * gst/elements/Makefile.am:
28926 * gst/elements/gstelements.c:
28927 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28928 (gst_fakesink_get_times), (gst_fakesink_event),
28929 (gst_fakesink_preroll), (gst_fakesink_render):
28930 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28931 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28932 (gst_fakesrc_get_property), (gst_fakesrc_create),
28933 (gst_fakesrc_start), (gst_fakesrc_stop):
28934 * gst/elements/gstfakesrc.h:
28935 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28936 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28937 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28938 (gst_filesrc_create_read), (gst_filesrc_create),
28939 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28940 (gst_filesrc_start):
28941 * gst/elements/gsttypefindelement.c:
28942 (gst_type_find_element_have_type), (gst_type_find_element_init),
28943 (start_typefinding), (stop_typefinding), (push_buffer_store),
28944 (gst_type_find_element_handle_event),
28945 (gst_type_find_element_chain),
28946 (gst_type_find_element_checkgetrange),
28947 (gst_type_find_element_getrange), (do_typefind),
28948 (gst_type_find_element_activate),
28949 (gst_type_find_element_change_state):
28950 * gst/elements/gsttypefindelement.h:
28951 * gst/gstpipeline.c: (pipeline_bus_handler):
28952 Added typefind helper.
28953 Small preroll fix in the base sink.
28954 Disable typefind code in basesrc.
28955 Crude port of typefindelement.
28959 2005-04-11 Wim Taymans <wim@fluendo.com>
28961 * check/gst/gstbus.c: (gstbus_suite):
28962 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28963 * check/gstcheck.h:
28964 Fix up the timeout so that the test does not fail.
28966 2005-04-06 Wim Taymans <wim@fluendo.com>
28969 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28970 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28971 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28972 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28973 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28974 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28975 (gst_basesrc_stop), (gst_basesrc_activate),
28976 (gst_basesrc_change_state), (basesrc_find_peek),
28977 (basesrc_find_suggest), (gst_basesrc_type_find):
28978 * gst/base/gstbasesrc.h:
28979 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28980 (gst_filesrc_class_init), (gst_filesrc_init),
28981 (gst_filesrc_finalize), (gst_filesrc_set_location),
28982 (gst_filesrc_set_property), (gst_filesrc_get_property),
28983 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28984 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28985 (gst_filesrc_create_read), (gst_filesrc_create),
28986 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28987 * gst/elements/gstfilesrc.h:
28988 * gst/gstelement.c: (gst_element_get_state_func),
28989 (gst_element_lost_state), (gst_element_pads_activate):
28990 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28991 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28992 (gst_pad_pull_range):
28994 More work on the generic source base class, implement seeking,
28996 Make filesrc extend the base source class.
28997 Added gst_pad_set_checkgetrange_function to GstPad.
28999 2005-04-06 Andy Wingo <wingo@pobox.com>
29001 * pkgconfig/gstreamer-base.pc.in:
29002 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
29004 * pkgconfig/Makefile.am:
29005 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
29007 2005-04-04 Wim Taymans <wim@fluendo.com>
29009 * gst/base/Makefile.am:
29011 * gst/base/gstbasesink.c: (gst_basesink_base_init),
29012 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29013 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29014 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
29015 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
29016 (gst_basesrc_base_init), (gst_basesrc_class_init),
29017 (gst_basesrc_init), (gst_basesrc_get_formats),
29018 (gst_basesrc_get_query_types), (gst_basesrc_query),
29019 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
29020 (gst_basesrc_set_property), (gst_basesrc_get_property),
29021 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
29022 (gst_basesrc_loop), (gst_basesrc_activate),
29023 (gst_basesrc_change_state):
29024 * gst/base/gstbasesrc.h:
29025 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
29026 (gst_fakesrc_class_init), (gst_fakesrc_init),
29027 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
29028 (gst_fakesrc_get_property), (gst_fakesrc_create):
29029 * gst/elements/gstfakesrc.h:
29030 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
29031 (gst_filesrc_open_file), (gst_filesrc_loop),
29032 (gst_filesrc_activate), (filesrc_find_peek),
29033 (gst_filesrc_type_find):
29034 Made base source class, make fakesrc extend it.
29035 Add comments to basesink class.
29036 Some filesrc cleanup.
29038 2005-03-31 David Schleef <ds@schleef.org>
29040 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
29041 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
29042 expected to link against libgstreamer.
29043 * gst/base/Makefile.am: link against libgstreamer
29044 * gst/elements/Makefile.am: same
29046 2005-03-31 Andy Wingo <wingo@pobox.com>
29048 * tests/instantiate/Makefile.am:
29049 * tests/instantiate/caps.c: Add test to test speed of caps copy
29052 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
29053 GMemChunk to be fair.
29055 * gst/gsttrashstack.h: Remove warning about using the fallback
29056 trash stack implementation, it's still faster than malloc.
29058 2005-03-30 Andy Wingo <wingo@pobox.com>
29060 * tests/complexity.c: Add a copyright.
29062 2005-03-31 Wim Taymans <wim@fluendo.com>
29064 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
29065 (gst_base_transform_class_init), (gst_base_transform_init),
29066 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
29067 (gst_base_transform_get_property),
29068 (gst_base_transform_sink_activate),
29069 (gst_base_transform_src_activate),
29070 (gst_base_transform_change_state):
29071 * gst/base/gstbasetransform.h:
29072 * gst/elements/gstidentity.c: (gst_identity_class_init),
29073 (gst_identity_event), (gst_identity_check_perfect),
29074 (gst_identity_transform), (gst_identity_start),
29075 (gst_identity_stop):
29076 Added start/stop methods to transform base class so subclasses
29077 don't need to deal with state changes even.
29079 2005-03-31 Wim Taymans <wim@fluendo.com>
29081 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
29082 (gst_event_new_discontinuous), (gst_event_discont_get_value):
29084 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29085 (gst_pad_pull_range):
29086 Added rate to the discont event to prepare for variable speed
29087 and reverse playback.
29089 2005-03-29 David Schleef <ds@schleef.org>
29092 * testsuite/trigger/Makefile.am:
29093 * testsuite/trigger/trigger.c: A little example program to show
29094 how trigger-based elements can work.
29096 2005-03-29 Wim Taymans <wim@fluendo.com>
29098 * gst/base/Makefile.am:
29100 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29101 (gst_basesink_base_init), (gst_basesink_class_init),
29102 (gst_basesink_pad_getcaps), (gst_basesink_init),
29103 (gst_basesink_activate), (gst_basesink_change_state):
29104 * gst/base/gstbasesink.h:
29105 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29106 (gst_base_transform_base_init), (gst_base_transform_finalize),
29107 (gst_base_transform_class_init), (gst_base_transform_init),
29108 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29109 (gst_base_transform_event), (gst_base_transform_getrange),
29110 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29111 (gst_base_transform_set_property),
29112 (gst_base_transform_get_property),
29113 (gst_base_transform_sink_activate),
29114 (gst_base_transform_src_activate),
29115 (gst_base_transform_change_state):
29116 * gst/base/gstbasetransform.h:
29117 * gst/elements/gstidentity.c: (gst_identity_finalize),
29118 (gst_identity_class_init), (gst_identity_init),
29119 (gst_identity_event), (gst_identity_check_perfect),
29120 (gst_identity_transform), (gst_identity_set_property),
29121 (gst_identity_get_property), (gst_identity_change_state):
29122 * gst/elements/gstidentity.h:
29123 * gst/gstelement.c: (gst_element_get_state_func),
29124 (gst_element_lost_state), (gst_element_pads_activate):
29125 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29126 (gst_pad_check_pull_range), (gst_pad_pull_range):
29128 Simplify pad activation.
29129 Added function to check if pull_range can be performed.
29130 Error out when pulling inactive or flushing pads.
29131 Removed const from refcounted types as it does not make sense.
29132 Simplify pad templates in basesink
29133 Added base class for simple 1-to-1 transforms.
29134 Make identity subclass the base transform.
29136 2005-03-29 Andy Wingo <wingo@pobox.com>
29138 * docs/libs/gstreamer-libs-overrides.txt:
29139 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29140 really don't understand what's going on, but like whatever. I want
29143 * docs/gst/Makefile.am:
29144 * docs/libs/Makefile.am: Dist the overrides files.
29146 * check/Makefile.am (clean-local): Remove .libs directories.
29148 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29149 elements to EXTRA_DIST, so po/ files are happy.
29151 * po/POTFILES.in: Er, remove it here.
29153 * po/POTFILES: Remove gstspider.c.
29155 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29157 * docs/libs/gstreamer-libs-docs.sgml:
29158 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29161 * tests/complexity.c (main): Set the length of the preroll queue
29162 on the sinks to prevent a lockup.
29164 * libs/gst/dataprotocol/Makefile.am:
29165 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29166 the same as the one in check/gst-libs/gdp.c.
29168 * po/, docs/gst/: Commit automatic changes to docs and po files.
29170 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29171 the versioned libgstbase.
29173 * check/Makefile.am: Depend on an unversioned gst-register, seems
29174 to make autoconf happier.
29176 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29178 2005-03-28 Wim Taymans <wim@fluendo.com>
29181 * docs/design/part-gstelement.txt:
29182 * docs/design/part-negotiation.txt:
29183 * docs/design/part-preroll.txt:
29184 * docs/design/part-scheduling.txt:
29185 * docs/design/part-states.txt:
29187 * gst/base/Makefile.am:
29189 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29190 (gst_basesink_base_init), (gst_basesink_class_init),
29191 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29192 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29193 (gst_basesink_set_pad_functions),
29194 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29195 (gst_basesink_set_property), (gst_basesink_get_property),
29196 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29197 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29198 (gst_basesink_preroll_queue_push),
29199 (gst_basesink_preroll_queue_empty),
29200 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29201 (gst_basesink_event), (gst_basesink_get_times),
29202 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29203 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29204 (gst_basesink_loop), (gst_basesink_activate),
29205 (gst_basesink_change_state):
29206 * gst/base/gstbasesink.h:
29207 * gst/elements/Makefile.am:
29208 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29209 (gst_fakesink_class_init), (gst_fakesink_init),
29210 (gst_fakesink_set_property), (gst_fakesink_get_property),
29211 (gst_fakesink_get_times), (gst_fakesink_event),
29212 (gst_fakesink_preroll), (gst_fakesink_render),
29213 (gst_fakesink_change_state):
29214 * gst/elements/gstfakesink.h:
29215 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29216 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29217 * gst/gstelement.c: (gst_element_add_pad),
29218 (gst_element_get_state_func), (gst_element_abort_state),
29219 (gst_element_commit_state), (gst_element_lost_state),
29220 (gst_element_set_state), (gst_element_pads_activate):
29221 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29222 * gst/gstpipeline.c: (gst_pipeline_send_event),
29223 (gst_pipeline_change_state):
29224 Added state change code.
29225 Added/updated docs.
29226 Added sink base class, make fakesink extend the base class.
29227 Small cleanups in GstPipeline.
29229 2005-03-26 David Schleef <ds@schleef.org>
29231 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29232 is broken and should be implemented in a different library.
29233 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29234 * gst/gst.h: remove gstcpu.h
29235 * gst/gstcpu.c: remove
29236 * gst/gstcpu.h: remove
29237 * gst/Makefile.am.future: Remove this file. It's ancient.
29239 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29241 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29242 (gst_bin_send_event):
29243 Add default event/set_manager handlers. The set_manager handler
29244 takes care that the manager is distributed over kids that were
29245 already in the bin before the manager was set. The event handler
29246 is a utility virtual function that sends the event over all sinks,
29247 so that gst_element_send_event (bin, event); has the expected
29249 * gst/gstpad.c: (gst_pad_event_default):
29250 Re-install default event handling for discontinuities, so that
29251 seeking works without requiring hacks in applications or extra
29253 * gst/gstpipeline.c: (gst_pipeline_class_init),
29254 (gst_pipeline_send_event):
29255 Half hack, half utility: set a pipeline to PAUSED for seek events,
29256 since that is the only way we can guarantee a/v sync. Means that
29257 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29258 and it "just works".
29260 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29262 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29263 Lock/unlock mismatch.
29265 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29267 * docs/faq/gst-uninstalled:
29268 add gst-plugins-base
29269 * docs/gst/Makefile.am:
29270 don't error out until docs are fixed
29271 * docs/gst/gstreamer.types:
29274 2005-03-22 Wim Taymans <wim@fluendo.com>
29276 * check/Makefile.am:
29277 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29278 * gst/gststructure.c: (gst_structure_set_valist),
29279 (gst_structure_copy_conditional):
29280 Activated more tests.
29281 Added message test.
29282 Added G_TYPE_POINTER to GstStructure.
29285 2005-03-22 Wim Taymans <wim@fluendo.com>
29287 * docs/design/part-TODO.txt:
29288 * docs/design/part-events.txt:
29289 * docs/design/part-gstbin.txt:
29290 * docs/design/part-gstbus.txt:
29291 * docs/design/part-gstpipeline.txt:
29292 * docs/design/part-messages.txt:
29294 * gst/gstmessage.c:
29297 2005-03-21 Wim Taymans <wim@fluendo.com>
29299 * gst/gstbus.c: (gst_bus_post):
29300 Fix copy-and-paste error.
29302 2005-03-21 Wim Taymans <wim@fluendo.com>
29304 * check/Makefile.am:
29306 * gst/elements/Makefile.am:
29307 * gst/elements/gstelements.c:
29308 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29309 (gst_fakesink_event), (gst_fakesink_chain):
29310 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29311 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29312 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29313 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29314 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29315 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29316 (gst_fakesrc_loop), (gst_fakesrc_activate),
29317 (gst_fakesrc_change_state):
29318 * gst/elements/gstfakesrc.h:
29319 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29320 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29321 (gst_filesrc_open_file), (gst_filesrc_loop),
29322 (gst_filesrc_activate), (gst_filesrc_change_state),
29323 (filesrc_find_peek), (filesrc_find_suggest),
29324 (gst_filesrc_type_find):
29325 * gst/elements/gstidentity.c: (gst_identity_finalize),
29326 (gst_identity_class_init), (gst_identity_init),
29327 (gst_identity_proxy_getcaps), (identity_queue_push),
29328 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29329 (gst_identity_getrange), (gst_identity_chain),
29330 (gst_identity_sink_loop), (gst_identity_src_loop),
29331 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29332 (gst_identity_set_property), (gst_identity_get_property),
29333 (gst_identity_change_state):
29334 * gst/elements/gstidentity.h:
29335 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29336 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29337 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29338 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29339 (gst_tee_sink_activate):
29340 * gst/elements/gsttee.h:
29341 * gst/gst.c: (gst_register_core_elements), (init_post):
29343 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29344 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29345 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29346 (gst_bin_change_state):
29348 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29349 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29350 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29351 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29352 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29353 (bus_watch_callback), (bus_watch_destroy),
29354 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29355 (poll_timeout), (gst_bus_poll):
29359 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29360 (gst_element_post_message), (gst_element_message_full),
29361 (gst_element_get_state_func), (gst_element_get_state),
29362 (gst_element_abort_state), (gst_element_commit_state),
29363 (gst_element_lost_state), (gst_element_set_state),
29364 (gst_element_pads_activate), (gst_element_change_state),
29365 (gst_element_dispose), (gst_element_set_manager_func),
29366 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29367 (gst_element_set_manager), (gst_element_get_manager),
29368 (gst_element_set_bus), (gst_element_get_bus),
29369 (gst_element_set_scheduler), (gst_element_get_scheduler):
29370 * gst/gstelement.h:
29371 * gst/gstevent.c: (gst_event_new_segment_seek),
29372 (gst_event_new_flush):
29374 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29375 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29376 (gst_message_new_eos), (gst_message_new_error),
29377 (gst_message_new_warning), (gst_message_new_tag),
29378 (gst_message_new_state_changed), (gst_message_new_application),
29379 (gst_message_get_structure), (gst_message_parse_tag),
29380 (gst_message_parse_state_changed), (gst_message_parse_error),
29381 (gst_message_parse_warning):
29382 * gst/gstmessage.h:
29383 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29384 (gst_real_pad_set_property), (gst_pad_set_active),
29385 (gst_pad_is_active), (gst_pad_set_blocked_async),
29386 (gst_pad_set_blocked), (gst_pad_is_blocked),
29387 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29388 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29389 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29390 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29391 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29392 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29393 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29394 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29395 (gst_pad_set_caps), (gst_pad_configure_sink),
29396 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29397 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29398 (gst_real_pad_dispose), (gst_real_pad_finalize),
29399 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29400 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29401 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29403 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29404 (pipeline_bus_handler), (gst_pipeline_change_state),
29405 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29406 * gst/gstpipeline.h:
29408 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29409 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29410 (gst_queue_link_src), (gst_queue_bufferalloc),
29411 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29412 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29413 (gst_queue_loop), (gst_queue_handle_src_event),
29414 (gst_queue_handle_src_query), (gst_queue_src_activate),
29415 (gst_queue_change_state):
29417 * gst/gstscheduler.c: (gst_scheduler_init),
29418 (gst_scheduler_dispose), (gst_scheduler_create_task),
29419 (gst_scheduler_factory_create):
29420 * gst/gstscheduler.h:
29421 * gst/gststructure.c: (gst_structure_get_type),
29422 (gst_structure_copy_conditional):
29423 * gst/gststructure.h:
29424 * gst/gsttaginterface.h:
29425 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29426 (gst_task_init), (gst_task_dispose), (gst_task_create),
29427 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29433 * gst/schedulers/Makefile.am:
29434 * gst/schedulers/cothreads_compat.h:
29435 * gst/schedulers/entryscheduler.c:
29436 * gst/schedulers/faircothreads.c:
29437 * gst/schedulers/faircothreads.h:
29438 * gst/schedulers/fairscheduler.c:
29439 * gst/schedulers/gstbasicscheduler.c:
29440 * gst/schedulers/gstoptimalscheduler.c:
29441 * gst/schedulers/gthread-cothreads.h:
29442 * gst/schedulers/threadscheduler.c:
29443 (gst_thread_scheduler_task_get_type),
29444 (gst_thread_scheduler_task_class_init),
29445 (gst_thread_scheduler_task_init),
29446 (gst_thread_scheduler_task_start),
29447 (gst_thread_scheduler_task_stop),
29448 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29449 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29450 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29451 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29453 * libs/gst/Makefile.am:
29454 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29455 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29456 (gst_file_pad_parent_set):
29457 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29458 (gst_dp_event_from_packet):
29459 * tests/complexity.c: (main):
29460 * tests/mass_elements.c: (main):
29461 * testsuite/states/locked.c: (message_received), (main):
29462 * testsuite/states/parent.c: (main):
29463 * tools/gst-inspect.c: (print_element_flag_info),
29464 (print_implementation_info), (print_pad_info):
29465 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29467 * tools/gst-md5sum.c: (event_loop), (main):
29468 * tools/gst-typefind.c: (main):
29469 * tools/gst-xmlinspect.c: (print_element_info):
29471 Added GstBus for mainloop integration.
29472 Added GstMessage for sending notifications on the bus.
29473 Added GstTask as an abstraction for pipeline entry points.
29475 Removed Schedulers.
29476 Simplified GstQueue for multithreaded core.
29477 Made _link threadsafe, removed old capsnego.
29478 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29479 Added pad blocking functions.
29480 Reworked scheduling functions in GstPad to prepare for
29481 scheduling updates soon.
29482 Moved events out of data stream.
29483 Simplified GstEvent types.
29484 Added return values to push/pull.
29485 Removed clocking from GstElement.
29486 Added prototypes for state change function for next merge.
29487 Removed iterate from bins and state change management.
29488 Fixed some elements, disabled others for now.
29489 Fixed -inspect and -launch.
29490 Added check for GstBus.
29492 2005-03-10 Wim Taymans <wim@fluendo.com>
29494 * docs/design/part-MT-refcounting.txt:
29495 * docs/design/part-clocks.txt:
29496 * docs/design/part-gstelement.txt:
29497 * docs/design/part-gstobject.txt:
29498 * docs/design/part-standards.txt:
29499 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29500 (gst_bin_remove_func), (gst_bin_remove):
29504 * testsuite/clock/clock1.c: (main):
29505 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29507 * testsuite/dlopen/loadgst.c: (do_test):
29508 * testsuite/refcounting/bin.c: (add_remove_test1),
29509 (add_remove_test2), (main):
29510 * testsuite/refcounting/element.c: (main):
29511 * testsuite/refcounting/element_pad.c: (main):
29512 * testsuite/refcounting/pad.c: (main):
29513 * tools/gst-launch.c: (sigint_handler_sighandler):
29514 * tools/gst-typefind.c: (main):
29516 Added doc about clock.
29517 removed gst_bin_iterate_recurse_up(), marked methods
29519 Fix more testsuites.
29521 2005-03-09 Wim Taymans <wim@fluendo.com>
29523 * gst/gstpad.c: (gst_pad_get_direction),
29524 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29525 (gst_pad_collect_valist):
29526 * testsuite/bins/interface.c: (main):
29527 * testsuite/caps/audioscale.c: (test_caps):
29528 * testsuite/caps/caps.c: (test1), (test2), (test3):
29529 * testsuite/caps/deserialize.c: (main):
29530 * testsuite/caps/enumcaps.c: (main):
29531 * testsuite/caps/filtercaps.c: (main):
29532 * testsuite/caps/intersect2.c: (main):
29533 * testsuite/caps/random.c: (main):
29534 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29535 * testsuite/caps/sets.c: (check_caps):
29536 * testsuite/caps/simplify.c: (check_caps), (main):
29537 * testsuite/caps/subtract.c: (check_caps):
29538 Fix _pad_get_direction wrt ghostpads.
29539 Fix caps testsuite.
29541 2005-03-09 Wim Taymans <wim@fluendo.com>
29543 * check/Makefile.am:
29544 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29545 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29546 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29547 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29548 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29549 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29550 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29551 (bin_element_is_sink), (gst_bin_iterate_sinks),
29552 (gst_bin_iterate_all_by_interface):
29554 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29555 (gst_element_change_state), (gst_element_dispose),
29556 (gst_element_finalize), (gst_element_set_loop_function):
29557 * gst/gstelement.h:
29558 * gst/gstiterator.c: (find_custom_fold_func):
29559 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29560 (gst_pad_collectv), (gst_pad_collect_valist),
29561 (gst_pad_template_new):
29562 * gst/gstpipeline.c: (gst_pipeline_class_init),
29563 (gst_pipeline_dispose), (gst_pipeline_set_property),
29564 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29565 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29566 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29568 * gst/schedulers/entryscheduler.c:
29569 * gst/schedulers/gstbasicscheduler.c:
29570 (gst_basic_scheduler_cothreaded_chain),
29571 (gst_basic_scheduler_chain_add_element):
29572 * testsuite/bins/interface.c: (main):
29574 Added GstSystemClock test.
29575 Implemented clock distribution code in GstBin.
29576 Implemented iterate sinks method for future use.
29577 Rearranged gstelement.h
29578 Fix GstIterator comparison bug.
29579 Moved some code to GstPipeline, mostly clocking related.
29581 2005-03-09 Wim Taymans <wim@fluendo.com>
29584 * gst/gst_private.h:
29585 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29586 (gst_bin_remove_func), (gst_bin_remove),
29587 (gst_bin_get_by_name_recurse_up):
29588 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29589 (gst_clock_id_compare_func), (gst_clock_id_wait),
29590 (gst_clock_id_wait_async), (gst_clock_init),
29591 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29592 * gst/gstelement.h:
29593 * gst/gstinfo.c: (_gst_debug_init):
29595 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29596 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29598 Bump version number, we're now 0.9.0
29599 Add future debugging category.
29600 Fix NULL _unref() in _get_by_name_recurse_up
29601 Rearrange gstpad.h.
29604 2005-03-08 Wim Taymans <wim@fluendo.com>
29606 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29607 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29608 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29609 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29610 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29611 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29612 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29613 * gst/elements/gstidentity.c: (gst_identity_class_init):
29614 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29615 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29616 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29617 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29618 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29620 * gst/gstelement.c: (gst_element_class_init),
29621 (gst_element_base_class_init), (gst_element_init),
29622 (gst_element_get_random_pad), (gst_element_wait_state_change),
29623 (gst_element_change_state), (gst_element_dispose),
29624 (gst_element_finalize), (gst_element_set_loop_function):
29625 * gst/gstelement.h:
29626 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29627 * gst/gstthread.c: (gst_thread_class_init),
29628 (gst_thread_release_children_locks), (gst_thread_change_state):
29629 * gst/schedulers/gstbasicscheduler.c:
29630 (gst_basic_scheduler_loopfunc_wrapper),
29631 (gst_basic_scheduler_chain_wrapper),
29632 (gst_basic_scheduler_src_wrapper),
29633 (gst_basic_scheduler_remove_element):
29634 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29635 Remove threadsafe properties. Fix elements because GObject
29636 complains when installing a property before declaring a
29637 set/get_property handler.
29638 Rearrange gstelement.h file, use STATE macros for state locks.
29639 Free mutexes in the finalize method instead of dispose.
29641 2005-03-08 Wim Taymans <wim@fluendo.com>
29643 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29644 * gst/gstthread.c: (gst_thread_release_children_locks):
29645 Added parentage check.
29646 Fix build og GstThread again.
29648 2005-03-08 Wim Taymans <wim@fluendo.com>
29650 * docs/design/part-MT-refcounting.txt:
29651 * docs/design/part-conventions.txt:
29652 * docs/design/part-gstobject.txt:
29653 * docs/design/part-relations.txt:
29654 * docs/design/part-standards.txt:
29655 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29656 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29657 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29658 (gst_bin_iterate_all_by_interface):
29661 * gst/gstelement.c: (gst_element_class_init),
29662 (gst_element_change_state), (gst_element_set_loop_function):
29663 * gst/gstelement.h:
29664 * gst/gstiterator.c:
29665 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29666 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29667 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29668 (gst_object_set_parent), (gst_object_unparent),
29669 (gst_object_check_uniqueness):
29671 Docs updates, clean up some headers.
29673 2005-03-07 Wim Taymans <wim@fluendo.com>
29675 * check/.cvsignore:
29676 * check/Makefile.am:
29677 * check/gst-libs/.cvsignore:
29678 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29679 * check/gst/.cvsignore:
29680 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29681 (START_TEST), (gstbus_suite), (main):
29682 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29683 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29684 (gst_data_suite), (main):
29685 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29686 (add_fold_func), (gstiterator_suite), (main):
29687 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29688 (thread_name_object), (thread_name_object_default),
29689 (gst_object_name_compare), (gst_object_suite), (main):
29690 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29691 (gst_pad_suite), (main):
29692 * check/gstcheck.c: (gst_check_log_message_func),
29693 (gst_check_log_critical_func), (gst_check_init):
29694 * check/gstcheck.h:
29695 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29696 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29699 2005-03-07 Wim Taymans <wim@fluendo.com>
29701 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29702 (gst_list_iterator_next), (gst_list_iterator_resync),
29703 (gst_list_iterator_free), (gst_iterator_new_list),
29704 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29705 (gst_iterator_free), (gst_iterator_push), (filter_next),
29706 (filter_resync), (filter_uninit), (filter_free),
29707 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29708 (gst_iterator_foreach), (find_custom_fold_func),
29709 (gst_iterator_find_custom):
29710 * gst/gstiterator.h:
29711 Added missing files.
29713 2005-03-07 Wim Taymans <wim@fluendo.com>
29717 * docs/design/part-MT-refcounting.txt:
29718 * docs/design/part-conventions.txt:
29719 * docs/design/part-gstobject.txt:
29720 * docs/design/part-relations.txt:
29721 * examples/mixer/mixer.c: (main):
29722 * examples/thread/thread.c: (eos), (main):
29724 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29725 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29726 (gst_spider_plug_from_srcpad):
29727 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29728 (gst_spider_identity_change_state),
29729 (gst_spider_identity_sink_loop_type_finding):
29730 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29731 * gst/elements/gstidentity.c: (gst_identity_init):
29732 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29733 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29734 * gst/elements/gsttypefindelement.c: (free_entry):
29737 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29738 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29739 (gst_bin_set_index), (gst_bin_set_element_sched),
29740 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29741 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29742 (gst_bin_iterate_elements), (iterate_child_recurse),
29743 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29744 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29745 (compare_interface), (gst_bin_get_by_interface),
29746 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29748 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29749 (gst_buffer_default_free), (gst_buffer_default_copy),
29750 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29751 (gst_buffer_create_sub):
29753 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29754 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29755 (gst_caps_unref), (gst_static_caps_get),
29756 (gst_caps_remove_and_get_structure), (gst_caps_append),
29757 (gst_caps_append_structure), (gst_caps_remove_structure),
29758 (gst_caps_copy_nth), (gst_caps_set_simple),
29759 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29760 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29761 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29762 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29763 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29764 (gst_caps_structure_figure_out_union),
29765 (gst_caps_switch_structures), (gst_caps_do_simplify),
29766 (gst_caps_replace), (gst_caps_from_string),
29767 (gst_caps_copy_conditional):
29769 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29770 (_gst_clock_id_free), (gst_clock_id_unref),
29771 (gst_clock_id_compare_func), (gst_clock_id_wait),
29772 (gst_clock_id_wait_async), (gst_clock_class_init),
29773 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29774 (gst_clock_get_time), (gst_clock_set_time_adjust),
29775 (gst_clock_set_property), (gst_clock_get_property):
29778 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29779 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29781 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29782 (gst_element_requires_clock), (gst_element_provides_clock),
29783 (gst_element_set_clock), (gst_element_clock_wait),
29784 (gst_element_wait), (gst_element_set_time_delay),
29785 (gst_element_is_indexable), (gst_element_add_pad),
29786 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29787 (pad_compare_name), (gst_element_get_static_pad),
29788 (gst_element_request_pad), (gst_element_get_request_pad),
29789 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29790 (gst_element_class_get_pad_template_list),
29791 (gst_element_class_get_pad_template), (gst_element_error_func),
29792 (gst_element_get_random_pad), (gst_element_get_event_masks),
29793 (gst_element_send_event), (gst_element_seek),
29794 (gst_element_get_query_types), (gst_element_query),
29795 (gst_element_get_formats), (gst_element_convert),
29796 (gst_element_is_locked_state), (gst_element_set_locked_state),
29797 (gst_element_sync_state_with_parent), (gst_element_change_state),
29798 (gst_element_finalize), (gst_element_yield),
29799 (gst_element_interrupt), (gst_element_set_scheduler),
29800 (gst_element_get_scheduler), (gst_element_set_loop_function):
29801 * gst/gstelement.h:
29803 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29804 (gst_format_get_by_nick), (gst_format_get_details),
29805 (gst_format_iterate_definitions):
29807 * gst/gstindex.c: (gst_index_gtype_resolver):
29810 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29811 (gst_mem_chunk_free):
29812 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29813 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29814 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29815 (gst_object_dispatch_properties_changed),
29816 (gst_object_set_name_default), (gst_object_set_name),
29817 (gst_object_get_name), (gst_object_set_name_prefix),
29818 (gst_object_get_name_prefix), (gst_object_set_parent),
29819 (gst_object_get_parent), (gst_object_unparent),
29820 (gst_object_check_uniqueness), (gst_object_save_thyself),
29821 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29822 (gst_object_set_property), (gst_object_get_property),
29823 (gst_object_get_path_string):
29825 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29826 (gst_real_pad_init), (gst_real_pad_get_property),
29827 (gst_pad_custom_new), (gst_pad_get_direction),
29828 (gst_pad_set_active), (gst_pad_is_active),
29829 (gst_pad_set_event_function), (gst_pad_is_linked),
29830 (gst_pad_link_free), (gst_pad_link_intersect),
29831 (gst_pad_link_fixate), (gst_pad_set_caps),
29832 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29833 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29834 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29835 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29836 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29837 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29838 (gst_pad_realize), (gst_pad_get_allowed_caps),
29839 (gst_real_pad_dispose), (gst_real_pad_finalize),
29840 (gst_pad_collectv), (gst_pad_collect_valist),
29841 (gst_pad_template_dispose), (gst_pad_template_new),
29842 (gst_pad_get_internal_links):
29844 * gst/gstpipeline.c: (gst_pipeline_dispose),
29845 (gst_pipeline_change_state):
29846 * gst/gstpipeline.h:
29848 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29849 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29850 * gst/gstpluginfeature.h:
29851 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29852 * gst/gstquery.c: (_gst_query_type_initialize),
29853 (gst_query_type_register), (gst_query_type_get_by_nick),
29854 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29856 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29857 * gst/gstscheduler.c: (gst_scheduler_add_element),
29858 (gst_scheduler_factory_create):
29859 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29860 (gst_structure_free), (gst_structure_set_name),
29861 (gst_structure_id_set_value), (gst_structure_set_value),
29862 (gst_structure_set_valist), (gst_structure_remove_field),
29863 (gst_structure_remove_fields),
29864 (gst_structure_remove_fields_valist),
29865 (gst_structure_remove_all_fields), (gst_structure_foreach),
29866 (gst_structure_map_in_place),
29867 (gst_caps_structure_fixate_field_nearest_int),
29868 (gst_caps_structure_fixate_field_nearest_double):
29869 * gst/gststructure.h:
29870 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29871 (gst_system_clock_init), (gst_system_clock_dispose),
29872 (gst_system_clock_async_thread),
29873 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29874 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29875 * gst/gstsystemclock.h:
29876 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29877 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29878 * gst/gsttaginterface.c:
29879 * gst/gstthread.c: (gst_thread_dispose),
29880 (gst_thread_release_children_locks), (gst_thread_change_state),
29881 (gst_thread_main_loop):
29882 * gst/gsttrashstack.h:
29883 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29885 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29886 (gst_element_request_pad), (gst_element_get_pad_from_template),
29887 (gst_element_request_compatible_pad),
29888 (gst_element_get_compatible_pad_filtered),
29889 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29890 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29891 (gst_element_link_many), (gst_element_link),
29892 (gst_element_link_pads), (gst_element_unlink_pads),
29893 (gst_element_unlink_many), (gst_element_unlink),
29894 (gst_pad_can_link_filtered), (gst_pad_can_link),
29895 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29896 (gst_object_default_error), (gst_bin_add_many),
29897 (gst_bin_remove_many), (gst_element_populate_std_props),
29898 (gst_element_class_install_std_props), (gst_buffer_merge),
29899 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29900 (link_fold_func), (gst_pad_proxy_setcaps):
29902 * gst/gstvalue.c: (gst_value_deserialize_string):
29903 * gst/parse/grammar.y:
29904 * gst/schedulers/gstbasicscheduler.c:
29905 (gst_basic_scheduler_cothreaded_chain),
29906 (gst_basic_scheduler_chain_recursive_add),
29907 (gst_basic_scheduler_pad_link):
29908 * gst/schedulers/gstoptimalscheduler.c:
29909 (get_group_schedule_function),
29910 (gst_opt_scheduler_state_transition),
29911 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29912 * libs/gst/bytestream/bytestream.c:
29913 * libs/gst/dataprotocol/dataprotocol.c:
29914 (gst_dp_header_from_buffer):
29917 * tests/threadstate/threadstate2.c: (eos):
29918 * tools/gst-compprep.c: (main):
29919 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29920 (print_pad_info), (print_children_info):
29921 * tools/gst-launch.c: (idle_func), (main):
29922 * tools/gst-md5sum.c: (idle_func), (main):
29923 * tools/gst-xmlinspect.c: (print_element_info):
29924 First THREADED backport attempt, focusing on adding locks and
29925 making sure the API is threadsafe. Needs more work. More docs
29928 2005-02-24 Andy Wingo <wingo@pobox.com>
29930 * tests/bench-complexity.scm:
29931 * tests/complexity.gnuplot: New files, good for running complexity
29934 * tests/Makefile.am:
29935 * tests/complexity.c: New test, sets up N elements, at each level
29936 teeing into M streams per element. Eeeenteresting.
29938 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29939 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29940 running bench-mass_elements.scm.
29942 * tests/bench-mass_elements.scm: New script, runs mass_elements
29943 for various numbers of identities, outputting the results to a
29944 file. Requires guile 1.6. Just for testing.
29946 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29948 * gst/schedulers/fairscheduler.c:
29949 compile with debug disabled
29951 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29954 hunting season on 0.9 is now OPEN