1 2008-06-21 Thijs Vermeir <thijsvermeir@gmail.com>
3 * libs/gst/check/gstcheck.c:
4 * libs/gst/check/gstcheck.h:
5 Also setup request pads and allow setup pads by name (#537812)
6 API: gst_check_setup_src_pad_by_name
7 API: gst_check_setup_sink_pad_by_name
9 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
11 * tests/check/gst/gstbuffer.c:
12 * tests/check/pipelines/parse-launch.c:
13 Use HAVE_VALGRIND_H some more.
15 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
17 * scripts/cvs-update.sh:
18 Pass arguments to make.
19 Run autoregen.sh if Makefile is not there.
21 2008-06-20 Thomas Vander Stichele <thomas at apestaart dot org>
25 Don't assume that <valgrind/valgrind.h> exists just because
28 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
30 * tests/check/Makefile.am:
31 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
32 (gst_test_trans_class_init), (gst_test_trans_init),
33 (gst_test_trans_set_data), (result_sink_chain),
34 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
36 * tests/check/libs/transform1.c: (GST_START_TEST),
37 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
38 Add some test basetransform element and the beginnings of various
41 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
43 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
44 Increase code readability.
45 Don't try to compare buffer offsets when ther are invalid.
47 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
49 * docs/design/Makefile.am:
50 Dist some more design docs.
52 * docs/random/moving-plugins:
53 Small addition: good plugins mustn't have functional code
54 within assertion macros.
56 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
58 * docs/design/draft-framestep.txt:
59 Some ideas about a framestep API
61 * docs/design/part-element-transform.txt:
62 Start design and use cases for basetransform in order to get it
65 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
68 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
71 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
74 Make it known that gst_bus_poll() is pure evil (fixes #538810).
76 2008-06-20 Stefan Kost <ensonic@users.sf.net>
78 * plugins/elements/gstcapsfilter.c:
79 * plugins/elements/gstfakesink.c:
80 * plugins/elements/gstfakesrc.c:
81 * plugins/elements/gstfdsink.c:
82 * plugins/elements/gstfdsrc.c:
83 * plugins/elements/gstfilesink.c:
84 * plugins/elements/gstfilesrc.c:
85 * plugins/elements/gstidentity.c:
86 * plugins/elements/gstmultiqueue.c:
87 * plugins/elements/gstqueue.c:
88 * plugins/elements/gsttee.c:
89 * plugins/elements/gsttypefindelement.c:
90 Remove short_description. Add basic docs for gsttypefindelement.
91 Simplify markup for fakesrc/fdsrc.
93 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
95 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
98 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
100 Patch by: joel larsson <tilljoel at gmail dot com>
102 * docs/plugins/gstreamer-plugins.args:
103 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
104 (gst_fd_src_init), (gst_fd_src_update_fd),
105 (gst_fd_src_set_property), (gst_fd_src_get_property),
107 * plugins/elements/gstfdsrc.h:
108 Add timeout property like udpsrc. Fixes #538628.
109 Add some more docs and example pipelines.
111 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
113 * docs/libs/gstreamer-libs-sections.txt:
114 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
115 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
116 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
117 (gst_base_sink_do_sync):
118 * libs/gst/base/gstbasesink.h:
119 * win32/common/libgstbase.def:
120 Add method to allow sinks to specify additional delay between the sync
121 times and the actual rendering of the data.
122 API: gst_base_sink_set_render_delay()
123 API: gst_base_sink_get_render_delay()
125 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
128 Bump version number back to dev -> 0.10.20.1
130 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
132 * docs/gst/gstreamer-sections.txt:
133 * gst/gsttaglist.c: (_gst_tag_initialize):
135 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
138 2008-06-20 Stefan Kost <ensonic@users.sf.net>
140 * libs/gst/controller/gstcontroller.c:
141 Revert one change, that make ret value possible uninitialized.
143 2008-06-20 Stefan Kost <ensonic@users.sf.net>
145 * libs/gst/controller/gstcontroller.c:
146 Use freeze/thaw notify to sync notify emission a bit (its also more
147 efficient). Move debug output to LOG (is called a lot in a loop).
148 Always unset g_values if the have been initialized.
150 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
152 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
153 (gst_base_sink_wait_eos), (gst_base_sink_event):
154 If we have not seen a buffer before EOS, use the segment values to
155 report the current position instead of invalid positions.
157 2008-06-20 Stefan Kost <ensonic@users.sf.net>
159 * docs/plugins/tmpl/.cvsignore:
160 * tests/check/gst/.cvsignore:
163 2008-06-20 Stefan Kost <ensonic@users.sf.net>
165 * libs/gst/controller/gstinterpolation.c:
166 * libs/gst/controller/gstinterpolationcontrolsource.c:
167 * tests/check/libs/controller.c:
168 Rewrite handling of default values. Fix overflow with unsigned types
169 in linear interpolation. Remove now obsolete _first_value() function.
170 Add more tests. Fixes #538201.
172 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
174 * libs/gst/base/gstbasetransform.c:
175 (gst_base_transform_class_init), (gst_base_transform_init),
176 (gst_base_transform_transform_caps),
177 (gst_base_transform_prepare_output_buffer):
179 When a buffer is writable, its metadata is also writable so we don't
180 need to subbuffer (which then makes the buffer not-writable anymore).
182 === release 0.10.20 ===
184 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
187 releasing 0.10.20, "You Crazy Diamond"
189 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
192 0.10.19.3 pre-release
194 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
198 Rename DATADIR to GST_DATADIR to avoid build problems
199 on win32. Patch By: David Schleef <ds@schleef.org>
202 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
205 Explicitely link with -ldl if dladdr() is found there. Before it was
206 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
207 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
209 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
211 * gst/gsterror.c: (_gst_stream_errors_init):
212 Fix typo (spotted by Fabricio Godoy, #536723).
214 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
217 0.10.19.2 pre-release
219 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
221 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
222 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
224 Make sure we don't generate invalid QoS messages.
226 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
228 * gst/gstevent.c: (gst_event_new_qos):
229 Add some assert and docs for invalid input to the qos function.
231 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
233 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
234 (gst_base_sink_get_position):
235 The reported position must always be smaller than the last seen
236 timestamps (or timestamp + duration for reverse).
238 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
240 Patch by: Rob Bradford <rob at robster dot org dot uk>
242 * gst/gstregistry.c: (gst_registry_scan_path_level):
243 Don't recurse into .debug directories as some distros install
244 the debugging symbols next to the plugins in .debug directories
245 and dlopen() crashes on them sometimes. Fixes bug #508070.
247 Add FIXME for 0.11 to not recurse into directories at all because
248 it's very inconsistent to the behaviour of other PATH environment
251 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
253 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
254 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
255 Fix position query range checks in reverse playback.
257 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
261 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
262 clear of the reference to the resulting pad must be released later
263 or not, resulting in possible leaks. Fixes bug #533865.
265 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
267 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
269 * gst/gstelementfactory.c:
270 Small doc fix. Fixes #535285.
272 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
274 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
276 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
277 (gst_base_src_get_range), (gst_base_src_pad_get_range),
278 (gst_base_src_loop), (gst_base_src_set_flushing),
279 (gst_base_src_change_state):
280 Make sending an EOS event to the basesrc non-blocking even if the
281 implementation does blocking waits in the create function. This is done
282 by unlocking the create function when EOS is sent.
285 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
287 * tools/gst-inspect.c: (print_element_properties_info):
288 If possible print the element type of GValueArray properties.
290 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
293 Remove an unused field from the private GstListIterator struct.
295 2008-05-27 Stefan Kost <ensonic@users.sf.net>
297 * libs/gst/controller/gstcontroller.c:
298 Add parameter guards.
300 2008-05-27 Stefan Kost <ensonic@users.sf.net>
302 * tests/check/gst/gstpipeline.c:
303 Revert test change and add comment why it should not work.
305 2008-05-27 Stefan Kost <ensonic@users.sf.net>
307 * tests/check/gst/gstpipeline.c:
308 Extending the test a little to verify that we also get the NULL state-
311 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
313 * gst/gstpreset.c: (gst_preset_default_get_meta),
314 (gst_preset_get_preset_names), (gst_preset_get_property_names),
315 (gst_preset_load_preset), (gst_preset_save_preset),
316 (gst_preset_rename_preset), (gst_preset_delete_preset),
317 (gst_preset_set_meta):
318 Add Since: markers to docs blurbs.
320 * win32/common/libgstreamer.def:
321 Add recently-added API.
323 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
325 Patch by: Stefan Kost <ensonic@users.sf.net>
328 Add DATADIR for storing presets.
330 * docs/gst/gstreamer-docs.sgml:
331 * docs/gst/gstreamer-sections.txt:
332 * docs/gst/gstreamer.types.in:
333 Add GstPreset to docs.
337 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
338 (preset_open_and_parse_header), (preset_parse_version),
339 (preset_merge), (preset_get_keyfile),
340 (gst_preset_default_get_preset_names),
341 (gst_preset_default_get_property_names),
342 (gst_preset_default_load_preset),
343 (gst_preset_default_save_presets_file),
344 (gst_preset_default_save_preset),
345 (gst_preset_default_rename_preset),
346 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
347 (gst_preset_default_get_meta), (gst_preset_default_randomize),
348 (gst_preset_default_reset), (gst_preset_get_preset_names),
349 (gst_preset_get_property_names), (gst_preset_load_preset),
350 (gst_preset_save_preset), (gst_preset_rename_preset),
351 (gst_preset_delete_preset), (gst_preset_set_meta),
352 (gst_preset_get_meta), (gst_preset_class_init),
353 (gst_preset_base_init), (gst_preset_get_type):
355 Add GstPreset to core. Fixes #396779
357 * tests/check/Makefile.am:
358 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
359 (gst_preset_test_set_property), (gst_preset_test_class_init),
360 (gst_preset_test_base_init), (gst_preset_test_get_type),
361 (gst_preset_test_plugin_init), (GST_START_TEST),
362 (remove_preset_file), (test_setup), (test_teardown),
364 Add GstPreset unit tests.
366 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
368 * gst/gstpad.c: (gst_pad_event_default_dispatch):
369 The default event function on a sinkpad should return TRUE when
370 there are no internal links but should collect the return values from
371 the internal links otherwise.
373 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
375 * plugins/elements/gsttypefindelement.c:
376 (gst_type_find_element_src_event),
377 (gst_type_find_element_handle_event):
378 Use faster and safer _pad_push_event().
380 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
382 * docs/gst/gstreamer-sections.txt:
383 * gst/gstutils.c: (element_find_unlinked_pad),
384 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
386 API: add gst_bin_find_unlinked_pad()
387 API: deprecate gst_bin_find_unconnected_pad() (#401456)
389 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
395 Fixed a bunch of typos.
397 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
400 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
401 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
402 (gst_parse_bin_from_description_full):
404 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
406 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
408 * docs/pwg/advanced-tagging.xml:
409 Small docs update, can't be bothered to rewrite the nonsensical
412 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
415 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
417 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
419 * gst/parse/grammar.y:
420 Remove unneeded casts.
422 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
424 * gst/parse/grammar.y:
425 * tests/check/pipelines/parse-launch.c:
426 Get all missing elements from a parse launch string if possible
427 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
429 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
431 * tests/check/Makefile.am:
432 * tests/check/pipelines/parse-launch.c:
433 Add some unit tests for the new gst_parse_launch*_full() API.
434 (Exposes a previously-existing memory leak in the error code
435 path, so adding to VALGRIND_TO_FIX for now).
437 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
439 * docs/gst/gstreamer-sections.txt:
440 * gst/gst.c: (init_post):
441 * gst/gst_private.h: (_GstParseContext):
442 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
443 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
444 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
445 (gst_parse_launch_full):
446 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
447 (GstParseFlags), (GstParseContext):
448 * gst/gstutils.c: (gst_parse_bin_from_description),
449 (gst_parse_bin_from_description_full):
451 * gst/parse/grammar.y:
453 * win32/common/libgstreamer.def:
454 Add new gst_parse_*_full API (#528178):
455 API: gst_parse_launch_full()
456 API: gst_parse_launchv_full()
457 API: gst_parse_bin_from_description_full()
458 API: gst_parse_context_new()
459 API: gst_parse_context_free()
460 API: gst_parse_context_get_missing_elements()
462 2008-05-23 Stefan Kost <ensonic@users.sf.net>
464 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
466 * docs/faq/gst-uninstalled:
467 Also support ffmpeg in gst-uninstalled.
469 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
472 After discussion on IRC use the binary registry as default
473 but allow to disable it with --disable-binary-registry.
475 * win32/common/libgstreamer.def:
476 Add the two new symbols for the binary registry.
478 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
480 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
481 * gst/gstutils.c: (gst_parse_bin_from_description):
482 * gst/parse/grammar.y: (graph):
483 More guards against bad input; typo fix; some minor clean-ups.
485 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
487 Patch by: Sjoerd Simons <sjoerd at luon dot net>
489 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
490 If nothing else can be used, use the last buffer's start time as
491 the segment's last stop. Fixes bug #534258.
493 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
495 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
496 Move size sanity check to the right place: downstream may return
497 a buffer with a smaller size if the buffer caps are different than
498 the requested ones, as may happen when doing reverse negotiation.
500 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
502 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
503 (gst_file_sink_render):
504 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
505 (gst_file_src_start):
506 Small cleanups. Add note adbout g_fopen() on windows and why we don't
509 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
511 * gst/gstpad.c: (gst_pad_load_and_link):
512 * gst/gstutils.c: (gst_element_link_pads),
513 (gst_element_unlink_pads):
514 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
515 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
516 (gst_check_teardown_sink_pad),
517 (gst_check_element_push_buffer_list):
518 * tests/check/elements/fakesink.c: (GST_START_TEST):
519 * tests/check/elements/filesink.c:
520 * tests/check/elements/filesrc.c: (GST_START_TEST):
521 * tests/check/elements/multiqueue.c: (setup_multiqueue),
522 (mq_sinkpad_to_srcpad):
523 * tests/check/elements/tee.c: (GST_START_TEST):
524 * tests/check/generic/sinks.c: (GST_START_TEST):
525 * tests/check/gst/gstbin.c: (GST_START_TEST):
526 * tests/check/gst/gstevent.c: (GST_START_TEST):
527 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
528 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
529 * tests/check/gst/gstquery.c: (GST_START_TEST):
530 * tests/check/gst/gstutils.c: (GST_START_TEST):
531 * tests/check/libs/basesrc.c: (GST_START_TEST):
532 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
533 (gst_parse_test_element_change_state):
534 Don't use gst_element_get_pad().
536 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
539 Fix installing plugin documentation when gtk-doc is disabled.
541 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
543 * docs/manual/advanced-autoplugging.xml:
544 * docs/manual/basics-helloworld.xml:
545 * docs/manual/basics-pads.xml:
546 * docs/manual/highlevel-components.xml:
547 Avoid using a bad function in the example code.
549 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
551 * gst/gstclock.c: (gst_clock_set_calibration):
552 Fix debug of the new clock rate.
554 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
556 * win32/common/libgstbase.def:
557 Add gst_base_sink_wait_clock() to the exported symbols.
559 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
561 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
563 * libs/gst/base/gstbasetransform.c:
564 (gst_base_transform_sink_event):
565 Unref events that the GstBaseTransform::event vfunc didn't want to
566 have forwarded by the base class. Closes a leak in identity.
569 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
571 * docs/libs/gstreamer-libs-sections.txt:
572 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
573 * libs/gst/base/gstbasesink.h:
574 Expose a method that was previously used internally to synchronize
575 against the clock because it can be useful for subclasses too.
576 API: GstBaseSink::gst_base_sink_wait_clock()
578 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
580 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
581 Add sanity check to make sure we don't get smaller buffers
582 than requested (and fallback to normal buffer alloc if we do).
584 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
586 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
587 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
588 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
589 Refactor adjusting the running_time with latency and offset into a
591 When doing clipping, we still want to use the subclass get_times method,
592 just in case the DURATION or TIMESTAMP are not set.
594 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
596 * docs/gst/gstreamer-sections.txt:
597 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
599 * win32/common/libgstreamer.def:
600 API: add gst_type_find_suggest_simple(), #533740.
602 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
604 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
605 Use right error code when typefinding fails, so we can use
606 the default (translated) error messages.
608 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
610 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
611 (gst_base_src_start):
612 When the subclass did not set caps on outgoing buffers, configure the
613 caps we negotiated on the source pad.
614 When the typefind helper does not find caps, error out properly instead
615 of doing things with NULL caps.
617 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
620 Tabs to spaces, oh yes!
622 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
624 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
625 Add David's and Benjamin's tests for array intersection to the
626 unit test suite (#147931).
628 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
631 Document that gst_event_new_tag() and gst_event_new_navigation()
632 take ownership of the taglist/structure passed to them. (#533635).
634 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
637 Don't descend into the plugins dir if plugin docs building
641 Add a note about the new type:GTypeName syntax for the plugin
642 documentation .types file.
644 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
646 * gst/gstmessage.c: (gst_message_new_error),
647 (gst_message_new_warning), (gst_message_new_info):
649 Mark the debug string parameters as const. Fixes bug #533490.
651 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
653 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
654 Sort buffer cache list by end offsets. This makes sure that we don't
655 stop to search for a cached buffer that contains the requested data
657 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
658 more efficient. Fixes bug #459862.
660 2008-05-14 Stefan Kost <ensonic@users.sf.net>
663 Explain why we copy the list.
669 Add one debug-log statement to help tracing probelms with linking pads.
671 2008-05-12 Stefan Kost <ensonic@users.sf.net>
673 * tests/check/gst/gstinfo.c:
674 Add a test for removing the default log handler. Seems to fail under
677 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
679 * gst/gstpad.c: (gst_pad_peer_accept_caps):
680 Release pad lock before calling out to avoid a possible deadlock.
682 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
684 * gst/parse/grammar.y:
685 Remove unneeded value unset.
687 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
688 Add unit test for de/serialization of caps.
690 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
692 * plugins/elements/gstfakesink.c:
693 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
694 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
695 (gst_fake_src_class_init):
696 Use custom marshalers that take GstMiniObject as first parameter.
697 Using OBJECT as parameter while a GstMiniObject is given will lead
698 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
700 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
702 * plugins/elements/gsttypefindelement.c:
703 (gst_type_find_element_handle_event),
704 (gst_type_find_element_send_cached_events),
705 (gst_type_find_element_change_state):
706 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
709 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
711 * plugins/elements/gsttypefindelement.c:
712 (gst_type_find_handle_src_query), (stop_typefinding),
713 (gst_type_find_element_handle_event),
714 (gst_type_find_element_send_cached_events),
715 (gst_type_find_element_change_state):
716 Forward FLUSH_START events immediately and clean up instead of
719 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
721 Patch by: Sjoerd Simons <sjoerd at luon dot net>
723 * libs/gst/base/gstbasetransform.c:
724 (gst_base_transform_buffer_alloc):
725 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
726 fall back to default negotiation in the chain function if the caps
727 are different from what was requested. Fixes bug #526768.
729 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
732 * tests/check/gst/gstsegment.c:
733 No, let's not use g_slice_{dup|copy} here, since they only exist
734 since GLib 2.14 and we still depend only on >= 2.12. Also add
735 unit test for gst_segment_copy().
737 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
739 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
740 Try to fix 'dereferencing type-punned pointer will break strict
741 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
742 changed the default GType typedef from gulong to gsize at some point,
743 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
744 g_once_* functions all take a gsize * though, so work around the type
745 mismatch for C++ by doing everything in gsize and casting to GType
748 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
750 * plugins/elements/gstmultiqueue.c:
751 Add documentation for the signals to push our core plugin docs
752 coverage back up to 100%.
754 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
756 * gst/gstinfo.h (GST_FUNCTION):
757 Reverted GST_FUNCTION to the old version as we don't want the
758 full signature in C++ code. Also added support for MSVC.
760 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
763 Intern the type name string, similar to what G_DEFINE_TYPE does.
765 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
768 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
770 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
772 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
774 * libs/gst/base/gstbasetransform.c:
775 (gst_base_transform_buffer_alloc):
776 Don't passthrough buffer allocation too easily if the caps change.
777 This breaks when working in passthrough mode and upstream changes
778 it's caps. Fixes bug #526768.
780 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
782 * gst/gstinfo.c (gst_debug_log_valist):
783 Improved the __FILE__ part of debug output for MSVC.
785 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
787 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
788 Declaration after statement fix for compilers like MSVC.
790 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
792 * win32/common/config.h.in:
793 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
794 use the real thing than having "???" unconditionally.
796 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
798 * gst/gstinfo.h (GST_FUNCTION):
799 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
801 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
803 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
806 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
807 (gst_base_sink_set_flushing):
808 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
811 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
813 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
814 (gst_fake_src_init), (gst_fake_src_set_property),
815 (gst_fake_src_get_property), (gst_fake_src_start):
816 * plugins/elements/gstfakesrc.h:
817 Added format property to control the format of the newsegment events.
818 API: GstFakeSrc:format
820 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
822 * win32/common/libgstreamer.def:
823 Add gst_pad_has_name() to the exported symbols.
825 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
827 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
828 * libs/gst/base/gstbasetransform.c:
829 (gst_base_transform_prepare_output_buffer):
830 Don't allow negative sizes when allocating new buffers.
833 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
835 Patch by: Sjoerd Simons <sjoerd at luon net>
837 * gst/gstbus.c: (gst_bus_source_dispatch):
838 Don't print a warning if the queue is empty when we try to pop
839 here. That could happen if another thread or callback set the
840 bus to flushing between the source's check/prepare and the
841 dispatch being called (#531538).
843 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
845 * plugins/elements/gstmultiqueue.c:
848 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
850 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
851 Add unit test for deserializing uint64s and check some really large
852 numbers in the int64 test.
854 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
856 * tools/gst-inspect.c: (n_print), (print_hierarchy),
857 (print_interfaces), (print_element_properties_info),
859 Use "%s" as format string instead of printing strings directly.
861 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
863 * gst/gstclock.c: (gst_clock_set_calibration):
864 Make some checks actually useful.
866 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
867 Remove some unused code. Unsigned integers tend to be >= 0.
869 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
871 * gst/gstminiobject.c: (gst_value_get_mini_object):
872 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
873 function was not in the unscheduled 0.10.19 release.
875 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
877 * gst/gstregistry.c: (gst_registry_scan_path_level):
878 Only print one log message per non-plugin file.
880 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
882 * gst/gstinfo.c: (gst_debug_log_default):
883 Fix alignment of debug log columns on 64-bit.
885 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
887 * docs/libs/Makefile.am:
888 * docs/libs/gstreamer-libs-sections.txt:
889 Ignore private controller headers for docs.
891 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
893 * libs/gst/controller/gstcontrollerprivate.h:
894 * libs/gst/controller/gsthelper.c:
895 * libs/gst/controller/gstinterpolation.c:
896 * libs/gst/controller/gstinterpolationcontrolsource.c:
897 (gst_interpolation_control_source_set_interpolation_mode):
898 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
899 * libs/gst/controller/lib.c:
900 Move some private declarations into private headers.
902 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
904 * gst/gstdebugutils.c: (debug_dump_element_pad):
905 Remove some code that is unused after Stefan's refactoring and uses
906 uninitialized variables now, resulting in a compiler warning.
908 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
910 * gst/gstregistry.c: (gst_registry_scan_path_level):
911 Run g_str_has_suffix() only on the file name, not the
914 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
916 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
917 Since we're not called only from the chain function any longer,
918 we can't assume that there's always data in the queue, so move
919 the is_full check to the beginning of the loop (otherwise we'd
920 hit the assert when changing the limit properties while the
921 queue is empty or not running yet).
922 Also, only set a discont if items were actually removed from
925 * tests/check/elements/queue.c: (test_leaky_downstream):
926 Test case for the above.
928 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
930 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
932 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
933 (gst_queue_chain), (queue_capacity_change),
934 (gst_queue_set_property):
935 When changing thr max capacity of a leaky queue, immediatly drop buffers
936 instead of waiting for a push on the sinkpad. Fixes #530637.
938 2008-04-30 Stefan Kost <ensonic@users.sf.net>
940 * gst/gstdebugutils.c:
941 Refactor code and fix handling of ghostpads and their proxypads.
943 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
945 * docs/gst/gstreamer-sections.txt:
946 * gst/gstevent.c: (gst_event_has_name):
948 * tests/check/gst/gstevent.c: (GST_START_TEST):
949 Add method to conveniently check the name of a custom event with
950 gst_event_has_name().
951 Reformat the event docs so that related methods are put together instead
952 of the default alphabetical sort.
953 Update unit test with new method.
954 API: GstEvent::gst_event_has_name()
956 2008-04-28 Michael Smith <msmith@songbirdnest.com>
958 * libs/gst/check/Makefile.am:
959 Don't add an explicit link to libgstreamer-0.10.la; it's already
960 included in GST_OBJ_LIBS.
962 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
965 Register GstClock type from a type-safe context. Fixes bug #530317.
967 2008-04-25 Michael Smith <msmith@songbirdnest.com>
969 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
971 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
973 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
975 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
977 Use the GLib stuff to create a private structure.
978 Add some locking around some dispose methods to make them a little
979 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
981 2008-04-25 Stefan Kost <ensonic@users.sf.net>
983 * libs/gst/base/gstbasesink.h:
984 * libs/gst/base/gstbasesrc.h:
985 * libs/gst/base/gstbasetransform.h:
986 * libs/gst/base/gstcollectpads.h:
987 Fix doc typos and unify caps a bit.
989 2008-04-25 Stefan Kost <ensonic@users.sf.net>
991 * tools/gst-launch.1.in:
992 Forgot to also add the envvar docs here.
994 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
996 * gst/gst.c: (init_post), (gst_deinit):
997 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
998 (test_concurrent_create), (gst_pipeline_suite):
999 Ref some more classes in gst_init() to work around thread-safety
1000 issues in pre-2.16 GLibs, and add basic unit test.
1002 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
1004 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
1005 (gst_base_sink_send_event):
1006 Rearrange the latency query code. We always want to do the upstream
1007 query, even if we are not live so that the upstream elements can get the
1008 latency results too. If we fail doing the query and we are live, we
1009 return TRUE afterwards.
1011 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1013 patch by: Jason Zhao <e3423c@motorola.com>
1015 * docs/gst/running.xml:
1017 Enable/disable scan_and_update_registry() based on commandline switch
1018 or environment variable. Fixes #520468.
1021 Fix typo in my previous commit.
1023 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1025 * gst/gstregistrybinary.c:
1026 Add a warning if we hit unhandled factories when saving.
1027 More debug logging detail, but move to LOG category.
1029 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1031 * gst/gstregistry.c:
1032 Tell the *truth* when improving the documentation.
1034 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1036 * gst/gstelementfactory.c: (gst_element_factory_make):
1037 Unref the factory after it was used the last time, not before.
1039 * gst/gstindexfactory.c: (gst_index_factory_make):
1040 Improve debugging a bit and don't leak a ref to the index factory with
1043 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1045 * gst/gstregistry.c:
1046 Improve the documentation.
1048 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1051 The glib macro seems to be borked. Use g_slice_copy directly and cast
1052 in the hope that this fixes the warning on 64bit.
1054 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1057 Document the new function. Use g_slice_dup() (no need for
1058 gst_segment_init()).
1060 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1062 * docs/gst/gstreamer-sections.txt:
1063 Move GParamSepc macros to standart section.
1066 Dn't document _get_type - its in private section in docs anyway and
1067 this doc-blob was incomplete.
1070 Fix wrong symbol names in docs.
1073 Add once doc sentence.
1075 * tests/check/gst/.cvsignore:
1078 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1080 * docs/gst/Makefile.am:
1081 And remove those libs here.
1083 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1085 * docs/libs/Makefile.am:
1086 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1088 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1090 Patch by: Olivier Crete <tester at tester dot ca>
1092 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1093 Add the min-threshold to the min latency if possible. Fixes #529148.
1095 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1097 * docs/gst/gstreamer.types.in:
1098 Stupid editor, I removed that line as it should go in yet.
1100 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1102 * docs/gst/gstreamer.types.in:
1103 * docs/libs/gstreamer-libs.types:
1104 Remove library types fro core docs and have them in libs docs.
1105 Reformat and cleanup. Add comment for miniobject types.
1107 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1109 * gst/gsturi.c: (gst_uri_get_protocol):
1110 Fix leak: g_strdown operates on the string in place, while
1111 g_ascii_strdown() returns a newly-allocated string.
1113 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1115 * tools/gst-inspect.c: (print_uri_handler_info),
1116 (print_element_info):
1117 Print the URI protocols and the URI type supported by the element.
1119 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1121 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1122 Use g_value_take_string() instead of the deprecated
1123 g_value_set_string_take_ownership().
1125 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1127 * gst/gstregistrybinary.c: (_gst_crc32):
1128 Return the old CRC instead of 0 if we give a NULL buffer
1129 or a buffer with a length of 0.
1131 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1133 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1134 (gst_uri_get_protocol), (gst_uri_has_protocol),
1135 (gst_uri_construct), (gst_uri_handler_set_uri):
1136 A valid URI scheme can also include '+', '-' and '.' additional
1137 to alphanumeric characters as per RFC 3986 Section 3.1.
1139 Handle URI schemes case insensitive in all places and convert
1140 to lower-case when constructing an URI or setting an URI with
1141 the GstURIHandler interface. Fixes bug #528868.
1142 All elements can still assume (as before) that they will
1143 get passed URIs with a lower-case URI scheme by the GstURIHandler
1146 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1148 * gst/gstcaps.c: (gst_static_caps_get):
1149 * gst/gstclock.c: (gst_clock_entry_new):
1150 Don't use g_atomic_set_int where it's not needed.
1152 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1154 * gst/gstvalue.c: (gst_value_deserialize_caps):
1155 * gst/parse/grammar.y:
1158 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1160 * gst/gstutils.c: (gst_atomic_int_set):
1161 Use g_atomic_int_set() here too instead of assignment +
1164 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1168 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1169 now that we depend on new enough GLib.
1171 * gst/gstcaps.c: (gst_static_caps_get):
1172 * gst/gstclock.c: (gst_clock_entry_new):
1173 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1174 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1175 (gst_debug_category_set_threshold):
1176 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1177 (gst_base_sink_set_qos_enabled):
1178 * libs/gst/net/gstnettimeprovider.c:
1179 (gst_net_time_provider_set_property):
1180 Use g_atomic_int_set() instead of gst_atomic_int_set().
1182 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1185 Also use G_GINT64_CONSTANT for the queries.
1187 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1190 Use G_GINT64_CONSTANT in varargs function.
1192 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1194 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1195 Initialize the registry magic with zeroes.
1197 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1199 * gst/gstregistrybinary.c: (_gst_crc32),
1200 (gst_registry_binary_write),
1201 (gst_registry_binary_initialize_magic),
1202 (gst_registry_binary_write_cache),
1203 (gst_registry_binary_check_magic),
1204 (gst_registry_binary_read_cache):
1205 * gst/gstregistrybinary.h:
1206 Add crc32 checksum to the binary registry file and check this before
1207 accepting a registry file.
1209 Also free the data list when writing to the registry file fails.
1211 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1213 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1214 (gst_registry_binary_load_feature),
1215 (gst_registry_binary_load_plugin):
1216 If an element supports the Uri interface, returns a valid pointer
1217 to the supported URI protocols but this pointer contains nothing
1218 don't try to save that as it will corrupt the registry.
1220 Don't unref the plugin if we added it to the registry already but
1221 fail to load a feature as gst_registry_add_plugin() takes ownership
1224 Improve debugging a bit.
1226 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1229 Clarify some tag item docs after discussion on irc.
1231 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1233 * docs/gst/gstreamer-docs.sgml:
1234 Remove commented out plugins (they have their own docs). Update
1237 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1239 * docs/gst/gstreamer-docs.sgml:
1240 * docs/gst/gstreamer-sections.txt:
1241 * gst/gstparamspecs.c:
1242 * gst/gstparamspecs.h:
1243 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1244 docs to own section.
1247 This now only documents GValue.
1249 * docs/libs/gstreamer-libs-sections.txt:
1250 * libs/gst/controller/gstcontroller.h:
1251 Remove GST_PARAM_CONTROLLABLE.
1253 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1256 Correct file path. Tell about how to use -overrides.txt.
1257 * docs/design/draft-tagreading.txt:
1258 Small design update.
1260 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1262 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1263 (gst_registry_binary_load_plugin):
1264 Fix a typo in a debug message and revert change from yesterday as
1265 gst_registry_add_plugin() will only fail if something is really wrong
1266 already and we can't survive it anyway.
1268 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1270 * gst/gst.c: (init_post), (gst_deinit):
1271 Pre-register GstGError GType from a thread-safe context
1272 (fixes #527967); unref enum type classes in deinit.
1274 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1276 Patch by: Rene Stadler <mail at renestadler de>
1278 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1279 Merging an empty list with another list in KEEP_ALL mode should
1280 yield an empty list as result and not the second list (#512578).
1282 * tests/check/gst/gsttagsetter.c:
1283 Add unit test for tag merge modes and the aforementioned bug.
1285 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1287 Patch by: Rene Stadler <mail at renestadler de>
1290 Fix description to match the order in the table (#512577).
1292 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1294 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1296 * libs/gst/net/gstnettimepacket.h:
1297 * docs/libs/gstreamer-libs-sections.txt:
1298 Define socklen_t as int if it's not defined yet. Fixes compilation
1299 with MSVC6 and other versions where socklen_t is not defined in
1300 the windows headers (#518022).
1302 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1304 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1305 If gst_registry_add_plugin() fails our reference to the plugin is
1306 invalid so don't try to use it anymore and instead error out.
1308 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1310 * tools/gst-xmlinspect.c: (print_element_info), (main):
1311 De-cruft a bit. If no argument is specified, print all elements in
1312 XML syntax rather than a freestyle list of elements like gst-inspect.
1313 Also, don't print XML header chunk unless we actually have something
1314 to print (ie. don't print it before an error message); print error
1315 message to stderr not stdout. Remove support for printing plugin
1316 info (it would just output something freestyle along the lines of
1317 gst-inspect so far), which fixes #514507. Also add license header.
1319 2008-04-11 Julien Moutte <julien@fluendo.com>
1322 * configure.ac: Merge platform specific defines, introduce a new
1323 define on OS X to remember that forking when updating registry is
1325 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1327 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1329 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1330 condition that leads to absolutely no plugins being registered on
1333 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1335 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1337 * gst/gstutils.c: (gst_pad_add_data_probe),
1338 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1339 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1340 (gst_pad_add_buffer_probe_full):
1342 * docs/gst/gstreamer-sections.txt:
1343 * win32/common/libgstreamer.def:
1344 Add gst_pad_add_*_probe_full() functions with a notify callback that
1345 lets the caller free the data it passes to the probe functions. This
1346 is useful for bindings such as gst-python or gstreamermm (#526814).
1347 API: gst_pad_add_data_probe_full
1348 API: gst_pad_add_buffer_probe_full
1349 API: gst_pad_add_event_probe_full
1351 * tests/check/gst/gstutils.c:
1352 Add minimal unit test to make sure freeing the data actually works
1355 * tests/benchmarks/.cvsignore:
1356 Random cvsignore addendum.
1358 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1360 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1361 (GST_DEBUG_BIN_TO_DOT_FILE):
1362 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1363 to it in the docs (since these are macros the types of the arguments
1364 won't be shown in the docs otherwise).
1366 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1369 Do not abort on out of memory for pad_alloc_buffer.
1371 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1373 * libs/gst/check/gstcheck.c:
1374 Remove blank line between symbol name ad parameters to fix gtkdoc
1377 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1379 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1381 * docs/gst/gstreamer-sections.txt:
1384 * win32/common/libgstreamer.def:
1385 Expose gst_segment_copy() to make things easier for the c++ bindings.
1387 API: gst_segment_copy()
1389 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1391 * gst/gst.c: (gst_init_get_option_group), (init_post):
1392 Fix const position; ref GType classes for enum types to work
1393 around thread-safety issues in GLib versions < 2.16.
1395 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1397 * docs/design/part-buffering.txt:
1398 Fix some typos and set the estimated total for push mode to -1.
1400 * gst/gstquery.c: (gst_query_new_buffering):
1401 Set buffering-left to 0 as we're not buffering by default.
1403 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1404 Implement BUFFERING query.
1406 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1408 Based on patch by: Milosz Derezynski <internalerror gmail com>
1410 * gst/gsterror.c: (_gst_stream_errors_init):
1412 Add two new error codes for encrypted content. Fixes #524659.
1413 API: GST_STREAM_ERROR_DECRYPT
1414 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1416 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1421 * win32/common/libgstreamer.def:
1424 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1426 * plugins/elements/gstidentity.c: (gst_identity_event),
1427 (gst_identity_start):
1428 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1429 event after processing some data. Fixes bug #526042.
1431 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1433 * docs/gst/gstreamer-sections.txt:
1434 * gst/gstquery.c: (gst_query_parse_latency),
1435 (gst_query_set_buffering_percent),
1436 (gst_query_parse_buffering_percent),
1437 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1439 Rename _avail -> _range
1440 API: gst_query_set_buffering_range
1441 API: gst_query_parse_buffering_range
1443 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1445 * docs/design/part-buffering.txt:
1448 * gst/gstquery.c: (gst_query_parse_latency),
1449 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1450 (gst_query_parse_buffering_percent):
1452 Add busy field and quark for the buffering query so that the app can
1453 only use the query to see if buffering is in progress.
1455 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1457 * docs/gst/gstreamer-sections.txt:
1458 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1459 (gst_message_parse_buffering_stats):
1461 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1462 (gst_query_parse_latency), (gst_query_new_buffering),
1463 (gst_query_set_buffering_percent),
1464 (gst_query_parse_buffering_percent),
1465 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1466 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1468 Reorder the message docs and headers for clarity.
1469 Add aditional buffering stats API for messages.
1470 Add buffering query.
1471 Convert some leftover queries to use GstQuark.
1472 API: gst_message_set_buffering_stats
1473 API: gst_message_parse_buffering_stats
1474 API: GST_QUERY_BUFFERING
1475 API: GstBufferingMode
1476 API: gst_query_new_buffering
1477 API: gst_query_set_buffering_percent
1478 API: gst_query_parse_buffering_percent
1479 API: gst_query_set_buffering_stats
1480 API: gst_query_parse_buffering_stats
1482 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1484 * gst/gstmessage.c: (gst_message_new_error),
1485 (gst_message_new_warning), (gst_message_new_info),
1486 (gst_message_new_buffering), (gst_message_new_state_changed),
1487 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1488 (gst_message_new_new_clock), (gst_message_new_segment_start),
1489 (gst_message_new_segment_done), (gst_message_new_duration),
1490 (gst_message_new_async_start), (gst_message_parse_buffering),
1491 (gst_message_parse_state_changed),
1492 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1493 (gst_message_parse_new_clock), (gst_message_parse_error),
1494 (gst_message_parse_warning), (gst_message_parse_info),
1495 (gst_message_parse_segment_start),
1496 (gst_message_parse_segment_done), (gst_message_parse_duration),
1497 (gst_message_parse_async_start):
1498 Use GstQuark for messages.
1500 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1502 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1504 Add some more quarks needed for messages and queries.
1506 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1508 * docs/design/part-buffering.txt:
1509 Remove the "none" buffering mode, STREAM is a good default.
1510 Move estimated-time to the avail query, that's when it will be needed.
1511 Other small typo fixes and updates.
1513 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1515 * gst/gstindex.c: (gst_index_resolver_get_type):
1516 Don't put descriptions into the nick field of a GEnumValue: it's not
1517 meant for that and some language bindings rely on the nick field to
1518 construct constants and the like. Fixes #526705.
1520 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1525 Merge other changes from 0.10.19 release branch.
1527 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1529 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1532 Actually build dlls when cross-compiling with mingw32.
1535 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1537 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1540 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1542 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1544 * docs/design/draft-latency.txt:
1547 * docs/design/part-buffering.txt:
1548 Update design docs with more buffering ideas.
1550 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1553 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1555 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1558 Revert part that belongs to the preset patch.
1560 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1563 Add qoutes to the define. Fixes # 525961.
1565 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1567 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1568 (gst_file_index_load), (gst_file_index_add_id),
1569 (gst_file_index_get_assoc_entry):
1570 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1571 (gst_mem_index_free_id), (gst_mem_index_add_id),
1572 (gst_mem_index_index_format):
1573 Use GSlice when possible.
1575 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1577 * libs/gst/controller/gstinterpolationcontrolsource.c:
1578 (gst_control_point_free),
1579 (gst_interpolation_control_source_set_internal):
1580 Use GSlice for allocating the control points.
1582 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1584 * plugins/elements/gsttypefindelement.c:
1585 (gst_type_find_element_class_init),
1586 (gst_type_find_element_set_property),
1587 (gst_type_find_element_get_property),
1588 (gst_type_find_element_activate):
1589 * plugins/elements/gsttypefindelement.h:
1591 Fix pad leak when peer query fails.
1592 We can still typefind when the peer returns -1.
1593 Add property to force caps and bypass typefinding. This will be used in
1597 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1602 * gst/glib-compat-private.h:
1603 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1604 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1605 Unconditionally use GSlice for allocation.
1607 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1608 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1609 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1610 (gst_structure_free):
1611 Use GSlice for allocation.
1613 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1615 * gst/parse/Makefile.am:
1616 * gst/parse/grammar.tab.pre.c:
1617 * gst/parse/grammar.tab.pre.h:
1618 * gst/parse/lex._gst_parse_yy.pre.c:
1619 Require a new enough flex and bison and remove the parser hacks to use
1620 a pre-regenerated version.
1622 2008-04-01 Julien Moutte <julien@fluendo.com>
1624 patch by: Jason Zhao <E3423C@motorola.com>
1626 * configure.ac: Add a configure switch to disable option parsing
1630 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1633 * gst/gstregistry.c:
1634 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1635 and handle this case.
1638 Add a comment here describing, why we stat each plugin and not try to
1641 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1643 * libs/gst/base/gstbasetransform.c:
1644 (gst_base_transform_prepare_output_buffer):
1645 Also unset the GAP flag on buffers if we're working inplace but
1646 the element is not GAP-aware.
1648 Mark a comment as FIXME 0.11.
1650 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1653 Fix type in log message and add one to ease seeing how long registry
1654 cache verification takes.
1656 * gst/gstregistry.c:
1657 Only test plugin filenames against G_MODULE_SUFFIX.
1659 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1661 * gst/gstdebugutils.c:
1662 Improve handling ghost/proxy pads.
1664 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1666 * docs/gst/gstreamer-sections.txt:
1669 Expose macro to docs and fix link to it.
1671 2008-03-27 Michael Smith <msmith@fluendo.com>
1673 * libs/gst/dataprotocol/dataprotocol.c:
1674 (gst_dp_packet_from_event_1_0):
1675 When calculating GDP body CRC, use the correct pointer.
1676 Fixes part of #522401.
1678 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1680 Patch by: Mark Nauwelaerts <manauw at skynet be>
1682 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1683 (gst_identity_init), (gst_identity_prepare_output_buffer):
1684 Identity is not always a passthrough element, it can modify the buffer
1685 timestamps when it has a datarate and operates in single-segment mode.
1686 We therefore make it an in_place filter with a custom buffer prepare
1687 function that conditionally makes the input buffer metadata writable
1688 when needed. Fixes #523985.
1690 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1692 Patch by: Mark Nauwelaerts <manauw at skynet be>
1695 * libs/gst/base/gstbasesrc.h:
1696 * libs/gst/base/gstbasetransform.c:
1697 * libs/gst/check/gstcheck.c:
1698 Small documentation fixes. Fixes #523978.
1700 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1702 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1703 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1704 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1706 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1708 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1709 (single_queue_underrun_cb):
1710 When trying to make room in the queue, bump the max allowed buffers
1711 bigger than the current amount of buffers in the queue. this fixes some
1712 nasty deadlocks in multiqueue when dynamically changing the limits of
1715 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1717 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1719 * gst/gstcaps.c: (gst_caps_set_simple),
1720 (gst_caps_set_simple_valist), (gst_caps_intersect):
1722 Constify the field gchar * params in set_simple and friends.
1725 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1727 * gst/gstvalue.c: (gst_value_transform_object_string):
1728 Transform a GstObject to a more meaningfull string that includes the
1729 object type in addition to its name.
1731 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1734 ChangeLog surgery to add bugnumber to commit.
1736 2008-03-23 Rene Stadler <mail@renestadler.de>
1738 * libs/gst/base/gstbasetransform.c:
1739 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1741 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1743 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1744 Rename constant everywhere and don't forget one occurence.
1746 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1748 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1749 Align memory to the pointer size even if the architecture allows
1750 unaligned memory access. Unaligned memory access usually comes with
1751 performance penality.
1753 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1755 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1756 (gst_registry_binary_check_magic),
1757 (gst_registry_binary_load_pad_template),
1758 (gst_registry_binary_load_feature),
1759 (gst_registry_binary_load_plugin):
1760 Align memory to the pointer size instead of always 32 bit. Fixes
1761 unaligned memory accesses on ia64 and friends.
1763 * gst/gstregistrybinary.h:
1764 Bump binary registry format version for this as it changes the
1765 format on those architectures that don't have unaligned access
1766 and 64 bit pointers.
1768 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1770 * docs/pwg/advanced-dparams.xml:
1771 * docs/pwg/building-props.xml:
1772 * docs/pwg/other-source.xml:
1773 * gst/glib-compat.h:
1774 * gst/gstbin.c: (gst_bin_class_init):
1775 * gst/gstclock.c: (gst_clock_class_init):
1776 * gst/gstindex.c: (gst_index_class_init):
1777 * gst/gstobject.c: (gst_object_class_init):
1778 * gst/gstpad.c: (gst_pad_class_init):
1779 * gst/gstpipeline.c: (gst_pipeline_class_init):
1780 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1781 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1782 * libs/gst/base/gstbasetransform.c:
1783 (gst_base_transform_class_init):
1784 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1785 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1786 (_gst_check_fault_handler_sighandler),
1787 (_gst_check_fault_handler_setup), (gst_check_init):
1788 * libs/gst/controller/gstcontroller.c:
1789 (_gst_controller_class_init):
1790 * libs/gst/controller/gstlfocontrolsource.c:
1791 (gst_lfo_control_source_class_init):
1792 * libs/gst/net/gstnetclientclock.c:
1793 (gst_net_client_clock_class_init):
1794 * libs/gst/net/gstnettimeprovider.c:
1795 (gst_net_time_provider_class_init):
1796 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1797 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1798 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1799 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1800 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1801 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1802 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1803 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1804 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1805 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1806 * plugins/elements/gsttee.c: (gst_tee_class_init):
1807 * plugins/elements/gsttypefindelement.c:
1808 (gst_type_find_element_class_init):
1809 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1810 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1811 use it everywhere for GParamSpecs that use static strings (i.e. all).
1812 This gives us less memory usage, fewer allocations and thus less
1813 memory defragmentation. Fixes bug #523806.
1815 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1817 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1818 (gst_param_spec_mini_object):
1819 * gst/gstminiobject.h:
1820 * win32/common/libgstreamer.def:
1821 * docs/gst/gstreamer-sections.txt:
1822 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1823 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1824 GstParamSpecMiniObject into a public header for this.
1826 This make GstMiniObject a bit more consistent with GObject and makes
1827 it possible to extend the param specs.
1829 gst_value_dup_mini_object is mainly useful for set_property methods.
1833 * tools/gst-inspect.c: (print_element_properties_info):
1834 Print something useful for GstMiniObject properties and not just
1837 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1839 * docs/gst/gstreamer-sections.txt:
1840 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1841 (gst_registry_binary_check_magic):
1842 * gst/gstregistrybinary.h:
1843 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1844 and add it to the (private part) of the docs to fix the build.
1846 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1848 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1849 (gst_registry_binary_check_magic),
1850 (gst_registry_binary_read_cache):
1851 * gst/gstregistrybinary.h:
1852 Don't use GST_MAJORMINOR for the binary registry version. Instead
1853 hardcode a value that must be changed whenever the format changes
1854 in an incompatible way.
1855 Also don't GST_ERROR when there is a version mismatch, just
1856 regenerate the registry silently.
1858 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1861 Back to development - 0.10.18.1
1863 === release 0.10.18 ===
1865 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1868 releasing 0.10.18, "So far away"
1870 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1873 * win32/common/config.h:
1874 0.10.17.4 pre-release
1876 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1878 Patch by: Ole André Vadla Ravnås
1879 <ole dot andre dot ravnas at tandberg dot com>
1881 * docs/gst/gstreamer-sections.txt:
1882 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1883 (gst_poll_update_winsock_event_mask),
1884 (gst_poll_prepare_winsock_active_sets),
1885 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1886 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1887 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1888 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1889 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1891 * win32/common/libgstreamer.def:
1892 Add new function gst_poll_fd_ignored() for improved Windows
1894 Various minor fixes and cleanups. See #520808.
1896 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1898 * gst/gstindex.c: (gst_index_entry_free):
1900 Don't free key strings which we don't own. Fixes crash in
1901 gst_index_entry_free() (#522741).
1903 * tests/check/Makefile.am:
1904 * tests/check/gst/.cvsignore:
1905 * tests/check/gst/gstindex.c: (test_index_entries),
1906 (gst_index_suite), (gst_index):
1907 Add unit test for the above.
1909 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1911 * win32/common/libgstreamer.def:
1912 Remove symbols that were removed recently. Fixes bug #521740.
1914 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1917 * win32/common/config.h:
1918 0.10.17.3 pre-release
1920 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1922 Patch by: Ole André Vadla Ravnås
1923 <ole dot andre dot ravnas at tandberg dot com>
1925 * docs/gst/gstreamer-sections.txt:
1926 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1927 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1928 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1929 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1930 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1931 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1932 (gst_poll_fd_can_write), (gst_poll_wait),
1933 (gst_poll_set_controllable), (gst_poll_restart),
1934 (gst_poll_set_flushing):
1936 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1937 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1938 (gst_net_time_provider_new):
1939 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1940 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1941 * tests/benchmarks/gstpollstress.c: (main):
1942 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1943 Remove GstPollMode from the API, it does not make sense to let the
1944 application control this.
1945 Add support for Win32.
1946 Fix the testsuite. Fixes #520671.
1948 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1950 Patch by: Ole André Vadla Ravnås
1951 <ole dot andre dot ravnas at tandberg dot com>
1953 * gst/gstregistrybinary.c:
1954 Include io.h for write() and close() when building with MSVC. Fixes
1957 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1960 * gst/gst_private.h:
1961 * gst/gstconfig.h.in:
1962 * gst/gstregistry.h:
1963 * gst/gstregistrybinary.c:
1964 * win32/common/gstconfig.h:
1965 Move registry backend API to private headers where we can. Add
1966 fixme-0.11 comments for the others. Add stubs for the xml backend when
1967 using the binary to ensure they functions exists (they should not be
1968 used though). Fixes #520756.
1970 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1973 * win32/common/config.h:
1976 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1978 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1979 (gst_registry_binary_read_cache):
1980 * gst/gstregistryxml.c: (gst_registry_save):
1981 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1982 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1983 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1984 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1985 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1988 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1990 * gst/gstminiobject.c:
1991 Import gst_private.h before any other header that might include other
1992 glib headers. This fixes the build on windows using native compilers.
1994 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1996 * win32/common/gstconfig.h:
1997 Add here too, just for completeness.
1999 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
2002 * gst/gstconfig.h.in:
2003 * gst/gstregistry.h:
2004 Fix broken use of config.h-defined preprocessor directive in a public
2005 header file. Add a corresponding define to gstconfig.h, since we can't
2006 really remove those function declarations from the header file now
2007 (or can we? and why are they there in the first place?).
2009 2008-03-03 Andy Wingo <wingo@pobox.com>
2011 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
2014 * gst/gststructure.c (gst_structure_from_string): Warn if
2015 structure_from_string didn't consume the whole string, but the
2016 caller did not provide an end pointer.
2018 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
2020 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
2022 * gst/gstregistryxml.c: (read_string), (load_feature):
2023 Strings allocated by libxml2 should be freed with xmlFree(), not
2024 with g_free(). Fixes issues on windows in certain contexts (#519698).
2026 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2028 * gst/gstinterface.c: (gst_element_implements_interface):
2029 Don't crash if the element supports the interface queried, but does
2030 not implement GstImplementsInterface. Fixes #519584.
2032 * tests/check/Makefile.am:
2033 * tests/check/gst/.cvsignore:
2034 * tests/check/gst/gstinterface.c:
2035 Add unit test for the above.
2037 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2039 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2042 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2044 * gst/gstsegment.c: (gst_segment_set_seek),
2045 (gst_segment_to_stream_time):
2046 Improve some comment.
2047 Update variables where it makes more sense.
2049 2008-02-29 Rene Stadler <mail@renestadler.de>
2051 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2052 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2053 URIHandlers implemented using language bindings.
2055 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2057 * gst/gstelementfactory.h:
2058 * tests/check/elements/fakesink.c:
2059 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2060 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2061 * tests/check/elements/filesink.c: (setup_filesink):
2062 * tests/check/elements/filesrc.c: (setup_filesrc):
2063 * tests/check/elements/identity.c: (setup_identity):
2064 * tests/check/elements/tee.c:
2065 * tests/check/generic/sinks.c:
2066 * tests/check/generic/states.c: (setup), (teardown):
2067 * tests/check/gst/gst.c:
2068 * tests/check/gst/gstabi.c:
2069 * tests/check/gst/gstbin.c:
2070 * tests/check/gst/gstbus.c: (pull_messages):
2071 * tests/check/gst/gstcaps.c:
2072 * tests/check/gst/gstelement.c:
2073 * tests/check/gst/gstevent.c:
2074 * tests/check/gst/gstghostpad.c:
2075 * tests/check/gst/gstiterator.c:
2076 * tests/check/gst/gstmessage.c:
2077 * tests/check/gst/gstminiobject.c: (my_foo_init):
2078 * tests/check/gst/gstobject.c: (thread_name_object),
2080 * tests/check/gst/gstpad.c:
2081 * tests/check/gst/gstplugin.c:
2082 * tests/check/gst/gstpoll.c:
2083 * tests/check/gst/gstquery.c:
2084 * tests/check/gst/gstsegment.c:
2085 * tests/check/gst/gststructure.c:
2086 * tests/check/gst/gstsystemclock.c:
2087 * tests/check/gst/gsttask.c:
2088 * tests/check/gst/gstutils.c:
2089 * tests/check/gst/gstvalue.c:
2090 * tests/check/gst/struct_hppa.h:
2091 * tests/check/gst/struct_i386.h:
2092 * tests/check/gst/struct_ppc32.h:
2093 * tests/check/gst/struct_ppc64.h:
2094 * tests/check/gst/struct_x86_64.h:
2095 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2096 * tests/check/libs/basesrc.c:
2097 * tests/check/libs/controller.c: (GST_START_TEST):
2098 * tests/check/libs/gdp.c:
2099 * tests/check/libs/gstnetclientclock.c:
2100 * tests/check/libs/gstnettimeprovider.c:
2101 * tests/check/libs/libsabi.c:
2102 * tests/check/libs/struct_hppa.h:
2103 * tests/check/libs/struct_i386.h:
2104 * tests/check/libs/struct_ppc32.h:
2105 * tests/check/libs/struct_ppc64.h:
2106 * tests/check/libs/struct_x86_64.h:
2107 * tests/check/pipelines/cleanup.c:
2108 * tests/check/pipelines/simple-launch-lines.c:
2109 * tests/check/pipelines/stress.c:
2110 And correct even more valid sparse warnings.
2112 * win32/common/libgstreamer.def:
2113 Add gst_poll_fd_init to the list of symbols.
2115 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2117 * gst/gstconfig.h.in:
2118 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2119 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2120 (gst_check_log_critical_func), (gst_check_drop_buffers),
2121 (gst_check_element_push_buffer_list):
2122 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2123 (gst_controller_get_type):
2124 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2125 (gst_object_get_controller), (gst_object_get_control_source):
2126 * libs/gst/controller/gstinterpolationcontrolsource.c:
2127 (gst_interpolation_control_source_new):
2128 * libs/gst/controller/gstlfocontrolsource.c:
2129 (gst_lfo_control_source_new):
2130 * libs/gst/dataprotocol/dataprotocol.c:
2131 (gst_dp_event_from_packet_0_2):
2132 * plugins/elements/gstfdsrc.c:
2133 * plugins/elements/gstmultiqueue.c:
2134 * plugins/elements/gsttee.c:
2135 * plugins/elements/gsttypefindelement.c:
2136 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2137 (gst_file_index_add_association):
2138 * plugins/indexers/gstmemindex.c:
2139 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2140 * tests/check/elements/queue.c: (setup_queue):
2141 * tests/check/gst/gstpipeline.c:
2142 * tests/check/libs/collectpads.c: (setup), (teardown),
2143 (gst_collect_pads_suite):
2144 * tests/examples/adapter/adapter_test.c:
2145 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2146 * tests/examples/xml/createxml.c:
2147 * tests/examples/xml/runxml.c:
2148 * tools/gst-inspect.c:
2150 Correct all relevant warnings found by the sparse semantic code
2151 analyzer. This include marking several symbols static, using
2152 NULL instead of 0 for pointers, not using variable sized arrays
2153 on the stack, moving variable declarations to the beginning of
2154 a block and using "foo (void)" instead of "foo ()" for declarations.
2156 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2158 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2159 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2160 Don't reset GstPollFDs, this is not necessary at all.
2162 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2163 (delayed_restart), (delayed_control):
2164 Use GST_POLL_FD_INIT.
2166 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2168 * gst/gstpoll.c: (gst_poll_fd_init):
2172 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2173 Use some more init macros.
2175 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2177 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2178 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2179 Use init macros and functions.
2181 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2183 * docs/gst/gstreamer-sections.txt:
2184 * gst/gstpoll.c: (gst_poll_fd_init):
2186 Add INIT macro and _init method for initializing the GstPollFD.
2188 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2190 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2191 (gst_fd_sink_update_fd):
2192 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2193 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2194 (delayed_restart), (delayed_control):
2195 Initialize some uninitialized variables as spotted by valgrind.
2197 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2199 * tests/benchmarks/Makefile.am:
2200 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2202 Add poll stress test.
2204 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2206 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2208 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2209 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2210 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2211 * plugins/elements/gstfdsink.h:
2212 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2213 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2214 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2215 (gst_fd_src_uri_set_uri):
2216 * plugins/elements/gstfdsrc.h:
2217 Port to GstPoll. See #505417.
2219 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2221 * win32/common/libgstreamer.def:
2222 Add new gst_poll_ symbols to win32 defs.
2224 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2226 * docs/libs/gstreamer-libs-sections.txt:
2227 * libs/gst/net/gstnetclientclock.c:
2228 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2229 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2230 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2231 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2232 * libs/gst/net/gstnetclientclock.h:
2233 * libs/gst/net/gstnettimeprovider.c:
2234 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2235 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2236 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2237 (gst_net_time_provider_new):
2238 * libs/gst/net/gstnettimeprovider.h:
2239 Use a private stuct to not break ABI.
2241 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2243 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2245 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2246 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2247 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2248 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2249 * libs/gst/net/gstnetclientclock.h:
2250 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2251 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2252 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2253 (gst_net_time_provider_new):
2254 * libs/gst/net/gstnettimeprovider.h:
2255 Massive code removal and cleanups because of GstPoll.
2258 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2261 Add checks for poll, ppoll and pselect.
2263 * docs/gst/gstreamer-docs.sgml:
2264 * docs/gst/gstreamer-sections.txt:
2265 Add docs for GstPoll.
2269 * gst/gstpoll.c: (find_index), (selectable_fds),
2270 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2271 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2272 (gst_poll_set_mode), (gst_poll_get_mode),
2273 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2274 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2275 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2276 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2277 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2278 (gst_poll_fd_can_write), (gst_poll_wait),
2279 (gst_poll_set_controllable), (gst_poll_restart),
2280 (gst_poll_set_flushing):
2282 Add generic poll abstraction. We ideally don't want to have this in core
2283 here but in glib intead...
2284 This code will be used in various network elements and ultimately for
2285 the nanosecond precision monotonic clock (that's why it's here in core).
2286 It'll allow us to implement cancelable socket operations for windows too.
2288 * tests/check/Makefile.am:
2289 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2290 (delayed_stop), (delayed_restart), (delayed_flush),
2291 (delayed_control), (gst_poll_suite):
2292 Add GstPoll unit test.
2294 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2297 Improve documentation of gst_filter_run(). Fixes #518627.
2299 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2302 Add a few lines about the new 'check-inspected-versions' target.
2304 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2306 * tests/check/gst/gstevent.c:
2307 Add qos to the event test. Rename tcase/tsuite; is not only about
2310 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2312 * plugins/elements/gstqueue.c:
2313 Ensure that buffer metadata is writeable, before modifying. Spotted by
2316 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2318 * plugins/elements/gstqueue.c:
2319 * plugins/elements/gstqueue.h:
2320 When dropping buffers in leaky modes, mark next buffers we sent as
2323 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2325 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2326 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2328 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2330 * plugins/elements/Makefile.am:
2331 * plugins/elements/gstbufferstore.c:
2332 * plugins/elements/gstbufferstore.h:
2333 * plugins/elements/gsttypefindelement.h:
2334 Remove GstBufferStore, no idea why we were still building it.
2335 It's not used anywhere and superseded by GstAdapter.
2337 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2338 (gst_file_src_create_mmap):
2339 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2340 Printf format fixes for 64-bit integers.
2342 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2345 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2346 We're not in 0.8 times anymore.
2348 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2350 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2351 (gst_check_element_push_buffer_list):
2352 * libs/gst/check/gstcheck.h:
2353 Make the declaration in the header for
2354 gst_check_element_push_buffer_list match the implementation.
2356 Fix up spelling, grammar and wording of the documentation in a few
2357 places, and add the Since keyword to new API functions.
2358 Use g_list_delete_link instead of g_list_remove in
2359 gst_check_drop_buffers, since it's immeasurably more efficient.
2361 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2362 Use new gst_check_drop_buffers function where appropriate.
2364 * win32/common/libgstbase.def:
2365 * win32/common/libgstreamer.def:
2366 Add new symbols gst_collect_pads_take_buffer,
2367 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2370 Changelog surgery to add API keyword to new gst_check API.
2372 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2374 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2375 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2376 Update pre-generated flex files with flex 2.3.34.
2378 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2380 * gst/gstminiobject.c:
2381 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2382 friendly to subclasses and not require them to know all internals
2383 of their parent class.
2385 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2387 * docs/libs/gstreamer-libs-sections.txt:
2388 * libs/gst/base/gstcollectpads.c:
2389 * libs/gst/base/gstcollectpads.h:
2390 Add sub-buffer functions to collectpads. Fixes #516187.
2391 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2393 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2396 Copy selected buffer-flags when creating subbuffers.
2399 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2401 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2402 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2403 * gst/gstmessage.c: (gst_message_class_init),
2404 (gst_message_finalize):
2405 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2406 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2407 (gst_mmap_buffer_finalize):
2408 Properly chain up finalize functions to the parent class.
2410 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2412 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2414 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2415 (gst_index_set_resolver_full):
2417 Add new function with option to dispose of user_data in resolver.
2418 Actually call the dispose function when finalizing the object and not
2419 just when changing the resolver/filter.
2420 API: GstIndex::gst_index_set_resolver_full()
2422 * docs/gst/gstreamer-sections.txt:
2423 Add new function to docs. Fixes #515469.
2425 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2427 * gst/gstindex.c: (gst_index_finalize):
2428 Chain up finalize to the parent class. Fixes leaking the GstObject
2429 name and other things.
2431 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2434 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2435 pre-releases or releases.
2437 * docs/faq/gst-uninstalled:
2440 * docs/random/release:
2441 Change one of the steps - we only upload core & base to Gnome FTP
2443 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2445 * gst/gstconfig.h.in:
2446 Add 'id' for example.
2450 * plugins/elements/gstfdsink.c:
2451 Link to signals. Doc and comment fixes.
2453 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2455 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2456 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2457 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2458 unused and unimplemented; finally, it is plugin features, not
2459 plugins, that have ranks.
2461 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2463 * gst/gstpluginfeature.h:
2464 Clarify GstRank range docs.
2466 2008-02-05 David Schleef <ds@schleef.org>
2468 * gst/gst.c: Add a separate gst_deinitialized that prevents
2469 gst_init() from being called after gst_deinit(). Fixes #509559
2471 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2473 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2474 (gst_bin_class_init):
2475 * gst/gstelement.c: (gst_element_base_class_init),
2476 (gst_element_class_add_pad_template):
2477 * gst/gstpadtemplate.c: (gst_pad_template_init):
2478 * gst/gstpipeline.c: (gst_pipeline_get_type),
2479 (gst_pipeline_base_init), (gst_pipeline_class_init):
2480 * libs/gst/base/gstbasesink.c:
2481 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2482 (gst_base_src_base_init), (gst_base_src_class_init):
2483 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2484 (gst_capsfilter_class_init):
2485 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2486 (gst_fake_sink_class_init):
2487 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2488 (gst_fake_src_class_init):
2489 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2490 (gst_fd_sink_class_init):
2491 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2492 (gst_fd_src_class_init):
2493 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2494 (gst_file_sink_class_init):
2495 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2496 (gst_file_src_class_init):
2497 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2498 (gst_identity_class_init):
2499 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2500 (gst_multi_queue_class_init):
2501 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2502 (gst_queue_class_init):
2503 * plugins/elements/gsttee.c: (gst_tee_base_init),
2504 (gst_tee_class_init):
2505 * plugins/elements/gsttypefindelement.c:
2506 (gst_type_find_element_base_init),
2507 (gst_type_find_element_class_init):
2508 * tests/check/gst/gstelement.c: (gst_element_suite):
2509 Revert previous changes to the behaviour of GstPadTemplates, etc
2510 and the possiblity to call them in class_init as it breaks too
2511 many elements. Reopens bug #491501.
2513 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2516 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2518 * tools/gst-launch.c:
2519 Dump one graph per pipeline state-change and state change name
2520 (if GST_DEBUG_DUMP_DOT_DIR is set).
2522 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2525 * tests/check/gst/gstpad.c:
2526 Be sure that we have a new copy of the caps and not
2527 reffed caps from a template
2529 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2531 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2532 * gst/gstpipeline.c: (gst_pipeline_get_type),
2533 (gst_pipeline_class_init):
2534 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2535 (gst_base_sink_class_init):
2536 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2537 (gst_base_src_class_init):
2538 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2539 (gst_base_transform_class_init):
2540 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2541 (gst_collect_pads_class_init):
2542 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2543 * libs/gst/net/gstnettimeprovider.c:
2544 (gst_net_time_provider_base_init),
2545 (gst_net_time_provider_class_init):
2546 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2547 (gst_capsfilter_class_init):
2548 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2549 (gst_fake_sink_class_init):
2550 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2551 (gst_fake_src_class_init):
2552 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2553 (gst_fd_sink_class_init):
2554 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2555 (gst_fd_src_class_init):
2556 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2557 (gst_file_sink_class_init):
2558 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2559 (gst_file_src_class_init):
2560 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2561 (gst_identity_class_init):
2562 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2563 (gst_multi_queue_class_init):
2564 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2565 (gst_queue_class_init):
2566 * plugins/elements/gsttee.c: (gst_tee_base_init),
2567 (gst_tee_class_init):
2568 * plugins/elements/gsttypefindelement.c:
2569 (gst_type_find_element_base_init),
2570 (gst_type_find_element_class_init):
2571 Don't use base_init where not absolutely necessary. For example it's
2572 not necessary anymore for adding pad templates or setting element
2575 Leave empty base_init functions in several places as GST_BOILERPLATE
2576 still defines and uses them.
2578 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2580 * gst/gstelement.c: (gst_element_base_class_init),
2581 (gst_element_class_add_pad_template):
2582 * gst/gstpadtemplate.c:
2583 Make it possible (and recommended) to set element details and add
2584 pad templates in the class_init functions by copying the details/pad
2585 templates in GstElement's base_init.
2587 Also make it possible to replace existing pad templates by adding
2588 a new one with the same name. This was done in a hackish fashion
2589 in same elements before already.
2591 Don't reference pad templates that are added a second time. A
2592 new pad template has a refcount of one and is not floating anymore
2593 and to be owned by the element's class. Make this more explicit by
2594 mentioning it in the docs of gst_element_class_add_pad_template().
2596 These changes are backwards compatible. Fixes bug #491501.
2598 * tests/check/gst/gstelement.c:
2599 Add unit test for setting element details, adding pad templates and
2600 replacing them in a subclass.
2602 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2604 * tools/gst-inspect.c: (print_interfaces),
2605 (print_element_properties_info), (print_pad_info),
2606 (print_signal_info), (print_element_info):
2607 Fix a few memory leaks.
2609 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2611 * docs/libs/gstreamer-libs-sections.txt:
2612 * libs/gst/check/gstcheck.c:
2613 * libs/gst/check/gstcheck.h:
2614 Add more functions for unit testing: gst_check_drop_buffers,
2615 gst_check_caps_equal, gst_check_element_push_buffer_list,
2616 gst_check_element_push_buffer
2617 API: gst_check_drop_buffers
2618 API: gst_check_caps_equal
2619 API: gst_check_element_push_buffer_list
2620 API: gst_check_element_push_buffer
2622 2008-02-01 Julien Moutte <julien@fluendo.com>
2624 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2625 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2626 (gst_index_finalize), (gst_index_entry_free),
2627 (gst_index_add_association): Fix memory leaks.
2628 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2629 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2630 (gst_mem_index_free_format), (gst_mem_index_free_id),
2631 (gst_mem_index_finalize): Fix memory leaks.
2632 * win32/common/config.h: Updated to CVS HEAD.
2634 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2637 Some more details about how the plugin docs works.
2639 * docs/plugins/gstreamer-plugins-sections.txt:
2642 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2644 * gst/parse/grammar.tab.pre.c:
2645 * gst/parse/grammar.tab.pre.h:
2646 * gst/parse/grammar.y:
2647 * gst/parse/lex._gst_parse_yy.pre.c:
2648 Add delayed set-property. This allows to set properties on dynamicaly
2649 created objects (pads in videomxer). Fixes #509391.
2651 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2654 Check if caps are not NULL (fix bug #510194)
2656 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2658 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2659 (gst_base_sink_get_position_paused):
2660 Add fixme regarding EOS in pull mode.
2661 Fix position reporting in PAUSED for negative rates.
2663 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2665 * gst/gstminiobject.c: (gst_mini_object_replace):
2666 When replacing a miniobject, do a quick equality check first so that we
2667 can avoid a ref/unref pair.
2669 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2671 * docs/design/part-synchronisation.txt:
2674 * docs/plugins/Makefile.am:
2675 * docs/plugins/gstreamer-plugins-docs.sgml:
2676 * docs/plugins/gstreamer-plugins-sections.txt:
2677 * plugins/elements/gstmultiqueue.c:
2678 Add multiqueue to the docs.
2680 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2685 === release 0.10.17 ===
2687 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2690 releasing 0.10.17, "Due Negligence"
2692 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2695 Revert caps != NULL check temporarily for 0.10.17 release.
2697 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2700 Check if caps are not NULL (fix bug #510194)
2702 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2705 Fix compilation on systems that have posix timers but no
2708 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2711 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2713 * tools/gst-inspect.c:
2714 Revert previous commit in preparation for an impromptu 0.10.17 release
2716 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2718 * tools/gst-inspect.c: (print_interfaces),
2719 (print_element_properties_info), (print_pad_info),
2720 (print_signal_info), (print_element_info):
2721 Fix a few memory leaks.
2723 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2728 === release 0.10.16 ===
2730 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2733 releasing 0.10.16, "Special Dispensation"
2735 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2738 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2739 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2740 not fail when trying to crosscompile on OpenEmbedded (#511750).
2742 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2745 Use $(MAKE) instead of make to fix the build if GNU make is
2746 called different. Fixes bug #510747.
2748 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2750 * gst/gstplugin.c: (_gst_plugin_initialize):
2751 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2752 again, which I broke two commits ago when changing the API
2753 of gst_plugin_register_static(): the g_list_foreach() in
2754 _gst_plugin_register_static still assumed the old function
2755 signature and would therefore fail (re-fixes #510187).
2757 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2758 (_gst_plugin_register_static), (gst_plugin_register_static):
2759 Revert the (technically correct) change to call g_thread_init() from
2760 the pre-main() constructor. This will break programs which call
2761 g_thread_init() without an if (!g_thread_supported()) guard in their
2762 main function. We could just blame it on GLib or the application, but
2763 it's probably best to just avoid this altogether and simply not use
2764 any GLib functions here and use plain old malloc() with a simple
2765 array to store the plugins to register later when gst_init() is
2766 finally called (re-fixes #510187).
2768 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2769 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2770 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2771 (GST_START_TEST), (gst_plugin_suite):
2772 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2775 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2777 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2778 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2779 This makes gtk-doc complain, but results in slightly better
2780 compiler errors. The old _gst_plugin_register_static() is
2781 still guarded, so there'll be a compiler warning about that
2782 instead. Fixes #510187 too.
2784 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2786 * gst/gst.c: (init_post):
2787 * gst/gstplugin.c: (_gst_plugin_register_static),
2788 (gst_plugin_register_static), (_gst_plugin_initialize):
2789 * gst/gstplugin.h: (GstPluginFilter):
2790 Change API of gst_plugin_register_static() to not take
2791 a GstPluginDesc, but rather just take all the arguments
2792 in a GstPluginDesc directly. This is more intuitive and
2793 avoids certain mistakes when porting code from
2794 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2797 * tests/check/gst/gstplugin.c:
2798 Fix up for changed API.
2800 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2802 * docs/faq/legal.xml:
2803 Update FAQ, Totem actually has an exception these days.
2805 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2807 * win32/common/libgstreamer.def:
2808 Add new API declarations
2810 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2812 * gst/gstminiobject.c:
2813 Spelling fixes for the API docs.
2815 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2817 * libs/gst/base/gstbasetransform.c:
2818 Fix long property description for QoS.
2820 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2823 _gst_trace_on is already provided by gsttrace.h, no need to declare
2826 * docs/libs/gstreamer-libs-sections.txt:
2827 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2828 and remove strange tcase_add_test which is outputting a warning.
2830 * libs/gst/check/gstcheck.c:
2831 * libs/gst/check/gstcheck.h:
2832 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2833 and define them in gstcheck.c instead of having every .c file whcih
2834 includes gstcheck.h be defining its own copy and relying on symbol
2835 interposing to marry them all, which doesn't work on Solaris.
2837 * tests/check/elements/identity.c: (GST_START_TEST):
2838 Don't define 'buffers' locally, it comes from libgstcheck.
2840 * tests/check/generic/sinks.c: (send_buffer):
2841 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2843 * tests/check/gst/gststructure.c: (GST_START_TEST):
2844 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2845 * tests/check/gst/gstutils.c: (GST_START_TEST):
2846 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2847 Add a bunch of casts to make various constants fit the types
2848 they're being assigned to.
2850 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2852 * gst/gstchildproxy.c:
2853 Improve docs and add some ideas for making this more general-purpose.
2855 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2857 * gst/gst_private.h: (GST_CAT_TYPES):
2858 Add GST_CAT_TYPES, for consistency, and so that the other
2859 debug categories don't make fun of it. Spotted by Saur on IRC.
2861 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2863 * gst/parse/Makefile.am:
2864 Move types.h from EXTRA_DIST to noinst_HEADERS.
2866 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2869 Add -Wno-portability to the automake parameters to stop warnings
2870 about GNU make extensions being used. We require GNU make in almost
2871 every Makefile anyway.
2874 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2875 at the same time is required for per target flags.
2877 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2880 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2881 __GNUC__ is defined before using it.
2883 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2885 * docs/gst/gstreamer-sections.txt:
2886 * gst/gst.c: (init_post):
2887 * gst/gstplugin.c: (_gst_plugin_register_static),
2888 (gst_plugin_register_static), (_gst_plugin_initialize),
2889 (gst_plugin_register_func):
2890 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2891 API: add gst_plugin_register_static() and deprecate
2892 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2894 Also, in _gst_plugin_register_static(), make sure to call
2895 g_thread_init() before calling GLib functions such as
2896 g_list_append() if we're not initialised yet, since that
2897 may lead to random crashes with older GSlice/GLib versions.
2899 * tests/check/gst/gstplugin.c:
2900 Adapt unit test to above changes.
2902 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2904 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2905 * gst/gstcaps.c: (gst_caps_to_string):
2906 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2907 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2908 Yet another gratuitous GString micro-optimisation: add a (private)
2909 function that serialises a structure appending to an existing
2910 GString, so that when we serialise caps we don't need to alloc+free
2911 a throwaway GString for each structure (each of which also entailing
2912 multiple reallocs on the way); also use g_string_sized_new() in
2913 various places with an approximate string length to avoid reallocs
2914 within GString. See #500143.
2916 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2918 * gst/gststructure.c: (gst_structure_id_set_value):
2919 Always check UTF-8 conformance of structure strings and not only
2920 if the debugging system is enabled; reasoning: the behaviour of
2921 the actual code shouldn't really change depending on whether the
2922 debugging system is enabled or not (#508291).
2924 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2927 Remove old coverage target in favour of "make lcov".
2929 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2931 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2932 (gst_base_src_loop):
2933 The start segment for reverse playback goes from start to last_stop.
2935 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2937 Patch by: Peter Kjellerstedt <pkj axis com>
2940 Cast the results from the timeval/spec_to_time macros to what the
2941 docs say it casts to, a GstClockTime. fixes #508175.
2943 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2946 Update some comments.
2948 * tools/gst-inspect.c: (print_element_properties_info):
2949 Improve printing of flags.
2951 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2953 * libs/gst/base/gstbasetransform.c:
2954 (gst_base_transform_transform_size):
2955 Print element name with g_warning() if there's a problem
2958 2008-01-07 David Schleef <ds@schleef.org>
2960 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2962 * libs/gst/controller/gstcontroller.h:
2963 * libs/gst/controller/gstcontrolsource.h:
2964 * libs/gst/controller/gstinterpolationcontrolsource.h:
2965 * libs/gst/controller/gstlfocontrolsource.h:
2966 * libs/gst/dataprotocol/dataprotocol.h:
2967 Fix empty prototypes. Fixes bug #507957.
2969 2008-01-07 David Schleef <ds@schleef.org>
2971 * docs/faq/dependencies.xml: Fix typo.
2973 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2975 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2976 (gst_base_src_loop):
2977 Don't update the last_stop position in do_seek, that's the position we
2979 Read backwards when we have a negative rate.
2981 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2982 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2984 Add check for reverse reading.
2986 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2988 Patch by: Alexis Ballier <aballier at gentoo org>
2990 * tests/check/gst/gstabi.c:
2991 * tests/check/gst/struct_ppc64.h:
2992 * tests/check/libs/libsabi.c:
2993 * tests/check/libs/struct_ppc64.h:
2994 Decide which header to include based on the userland ABI target
2995 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2996 for 64-bit userland (#503590). Might need something similar for
2999 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
3001 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
3002 Log the reason why fopen fails in addition to the fact that it failed.
3004 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
3006 * gst/parse/parse.l:
3007 Use "%option never-interactive" to prevent useless calls to isatty()
3008 on every input when parsing. Also use "%option noinput" to not define
3009 the static input/yyinput functions which we don't use anyway. This
3010 removes a compiler warning with gcc 4.3 and saves some bytes in the
3013 * gst/parse/lex._gst_parse_yy.pre.c:
3014 Regenerated for the above change.
3016 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
3018 * gst/gstpad.c: (fixate_value):
3019 Don't crash when trying to fixate and empty list.
3022 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
3024 * docs/faq/gst-uninstalled:
3025 Clarify the comments to make the usage of this script and what it
3026 does easier to understand.
3028 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3030 * tools/gst-plot-timeline.py:
3031 Add more options to gst-plot-timeline
3033 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3035 * docs/design/part-synchronisation.txt:
3036 Some more info on how the stream_time in GstBaseSink is done.
3038 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3040 * tests/check/generic/sinks.c: (gst_sinks_suite):
3041 Put back the tcase_set_timeout(), apparently it's needed after
3042 all; fix it up in a way that makes things work with valgrind too.
3044 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3046 * gst/gstdebugutils.c:
3047 Add warning when failed to open file for writing.
3049 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3051 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3053 * gst/gstvalue.c: (gst_value_is_fixed):
3054 Optimisation: bail out of the loop as early as possible (#500143).
3056 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3058 * gst/gstcaps.c: (gst_caps_to_string):
3059 * gst/gstinfo.c: (gst_debug_construct_term_color):
3060 * gst/gstparse.c: (gst_parse_launchv):
3061 * gst/gstutils.c: (gst_util_dump_mem):
3062 * gst/gstvalue.c: (gst_value_serialize_any_list),
3063 (gst_value_transform_any_list_string):
3064 Bunch of gratuitous nano-optimisations.
3066 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3068 * tests/check/generic/sinks.c: (async_done_func),
3069 (async_done_eos_func):
3070 Fix leak in unit test (bus sync handler must unref the message
3071 if it returns GST_BUS_DROP). Don't fiddle with the default test
3072 timeout, this is smaller than the current preconfigured value
3073 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3074 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3076 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3078 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3081 Check for stdio_ext.h for the filesink changes.
3083 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3084 (gst_file_sink_class_init), (gst_file_sink_init),
3085 (gst_file_sink_dispose), (gst_file_sink_set_property),
3086 (gst_file_sink_get_property), (gst_file_sink_open_file),
3087 (gst_file_sink_close_file):
3088 * plugins/elements/gstfilesink.h:
3089 Add two properties to control the buffering mode and size.
3090 API: GstFileSink::buffer-mode
3091 API: GstFileSink::buffer-size
3094 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3096 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3097 Add some more docs to explain why a FIXME was wrongly added.
3099 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3102 Fix typo in the gst_object_{ref,unref} documentation.
3104 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3106 * tests/check/libs/controller.c:
3107 * tests/check/libs/typefindhelper.c:
3108 * tests/check/pipelines/parse-launch.c:
3109 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3110 going to be deprecated (see #498924).
3112 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3114 * gst/gsttypefind.c: (gst_type_find_register):
3115 Make gst_type_find_register work for static typefind functions,
3116 ie. allow passing plugin == NULL (prerequisite for #498924).
3118 * gst/gstelementfactory.c: (gst_element_register):
3119 Small docs addition.
3121 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3123 * gst/gstpad.c: (gst_pad_dispose):
3124 Really unlink the peer pad instead of setting the peer pointer to NULL
3125 when we dispose the pad.
3126 This correctly calls the unlink functions and makes sure that the peer
3127 does not have a handle to invalid memory. See #504671.
3129 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3130 Add testsuite for above case.
3132 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3134 Patch by: Peter Kjellerstedt <pkj axis com>
3136 * libs/gst/check/gstcheck.h:
3137 Fix detection of the check version we're compiling against (would
3138 otherwise break if check goes v0.10.0); correctly report the
3139 name of the failed test again in case of failure, instead of
3140 just 'tf' (fixes #504499).
3142 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3144 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3145 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3146 (gst_base_src_loop), (gst_base_src_set_flushing),
3147 (gst_base_src_change_state):
3148 Allow sending EOS to the source to make it send out an EOS event from
3149 the streaming thread.
3150 Update docs and deprecate the old NULL/READY shutdown method.
3152 * tests/check/libs/basesrc.c: (GST_START_TEST),
3153 (gst_basesrc_suite):
3154 Add unit test for controlled shutdown.
3156 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3158 * docs/design/part-synchronisation.txt:
3161 * gst/gstsegment.c: (gst_segment_set_seek),
3162 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3163 (gst_segment_to_running_time):
3164 The seek format can be different from the segment format when the start
3165 and stop values are not to be updated, when we only do a rate change for
3168 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3169 (gst_segment_suite):
3170 Add a testcase for the rate-only seeks, checking that the format is
3171 correctly ignored when start and stop are not updated.
3173 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3175 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3177 * win32/vs8/grammar.vcproj:
3178 * win32/vs8/libgstcontroller.vcproj:
3179 * win32/vs8/libgstreamer.vcproj:
3180 Fix compilation with VS8 and include some missing files.
3182 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3185 Small docs addition: mention that the strings returned by
3186 gst_tag_list_get_string*() are in UTF-8 encoding.
3188 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3191 The check-exports stuff moved to common/win32.mak, so include that.
3193 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3195 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3196 (gst_base_src_perform_seek), (gst_base_src_get_range),
3197 (gst_base_src_set_playing), (gst_base_src_change_state):
3198 Make _wait_playing() not check any variables so that we can call this
3199 function from subclasses. Move the checks elsewhere similar to
3200 _wait_preroll() in basesink.
3202 Only signal the LIVE cond when we are going back to PLAYING.
3204 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3206 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3207 Use g_remove() and g_rename(). Check result of g_rename(), and
3208 don't leak the open file descriptor if we error out when writing.
3210 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3211 Must check the return value of close() after writing out the new
3212 registry file. Sometimes write problems such as out-of-diskspace
3213 are only reported when the file is closed and not already during
3214 the write. This may have caused partial/broken registry files in
3215 some rare circumstances. Should fix #503675.
3217 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3219 * docs/gst/.cvsignore:
3220 * docs/libs/.cvsignore:
3221 * docs/plugins/.cvsignore:
3222 Ignore files generated by new common/* modifications
3224 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3226 * win32/common/libgstbase.def:
3227 Yes, you can also have a <TAB> if you want.
3229 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3231 * win32/common/libgstbase.def:
3232 Add new basetransform API to win export file.
3234 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3236 * tests/check/gst/gstbin.c:
3237 Adjust the test to the refcount change two days ago.
3239 2007-12-14 David Schleef <ds@schleef.org>
3241 * docs/faq/getting.xml: Fix typo.
3243 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3245 * docs/libs/gstreamer-libs-sections.txt:
3246 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3247 (gst_base_transform_prepare_output_buffer),
3248 (gst_base_transform_set_gap_aware):
3249 * libs/gst/base/gstbasetransform.h:
3250 API: Add gst_base_transform_set_gap_aware() to control whether
3251 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3252 get buffers with this flag at all. Fixes #503231.
3254 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3256 * libs/gst/base/gstbasesink.c:
3257 * libs/gst/base/gstbasesrc.c:
3258 * libs/gst/base/gstbasetransform.c:
3259 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3260 thread. Correct log message in gstbasesrc.c.
3262 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3264 * gst/gstutils.c: (element_find_unconnected_pad):
3265 Fix possible compiler warning (#503417).
3267 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3269 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3270 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3272 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3274 * tools/gst-inspect.c: (print_element_properties_info):
3275 Add support for GstFraction properties.
3277 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3280 Add check-exports target and run it as part of 'make check'
3281 (see #499140 and #493983).
3283 * gst/gst_private.h:
3284 * gst/gstelementfactory.h:
3285 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3286 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3287 (_priv_gst_in_valgrind):
3288 * gst/gstinfo.h: (GstLogFunction):
3289 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3290 (gst_type_find_register):
3291 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3292 (gst_type_find_factory_get_type):
3293 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3294 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3295 (gst_controller_new_valist), (gst_controller_new_list),
3296 (_gst_controller_dispose), (_gst_controller_class_init):
3297 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3298 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3299 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3300 (gst_object_get_controller), (gst_object_set_controller),
3301 (gst_object_suggest_next_sync), (gst_object_sync_values),
3302 (gst_object_set_control_source), (gst_object_get_control_source),
3303 (gst_object_get_value_arrays), (gst_object_get_value_array),
3304 (gst_object_get_control_rate), (gst_object_set_control_rate):
3305 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3306 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3307 Make some functions that should be static static; rename some
3308 private symbols so that they don't get exported; add some FIXME
3309 comments so we can move accidentally exported functions into
3310 our private section in 0.11.
3312 * win32/common/libgstreamer.def:
3313 Add gst_utils_get_timestamp().
3315 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3319 Add more missing "Since:" tags to docs.
3321 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3324 Add mising "Since:" to docs.
3326 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3329 Include "glib-compat-private.h" to fix the build on system with
3330 glib < 2.10. Fixes #503131.
3332 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3336 Actually its not PURE as it gets the time from elsewhere.
3338 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3340 * docs/gst/gstreamer-sections.txt:
3342 * gst/gstdebugutils.c:
3346 * libs/gst/base/gstbasesink.c:
3347 * tools/gst-launch.c:
3348 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3349 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3350 Thanks Tim for spotting.
3351 API: gst_util_get_timestamp
3353 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3356 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3358 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3360 * gst/gststructure.c: (gst_structure_validate_name),
3361 (gst_structure_new_valist), (gst_structure_parse_value),
3362 (gst_structure_from_string):
3363 Don't crash in _from_string() if the structure name is not valid
3364 (fixes #501560). Allow structure names to start with a number
3365 again (this apparently broke the ubuntu codec installer).
3367 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3369 Add unit test for the crash; update unit tests for new behaviour.
3371 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3374 Clarify gst_element_get_compatible_pad() documentation.
3377 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3379 * tests/check/Makefile.am:
3380 Don't forget to dist {gst,libs}/struct_hppa.h.
3382 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3384 * libs/gst/base/gstbasesink.c:
3385 Use new API to get elapsed time.
3387 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3389 * gst/gstdebugutils.c:
3391 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3393 * tools/gst-launch.c:
3394 Use new API to get elapsed time.
3396 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3398 * docs/gst/gstreamer-sections.txt:
3400 * gst/gstdebugutils.c:
3402 Rename new API + ChangeLog surgery to remove old name from last entry..
3404 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3406 * docs/gst/gstreamer-sections.txt:
3408 * gst/gstdebugutils.c:
3410 Now hide the different clock stuff behind a macro.
3412 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3415 * gst/gstdebugutils.c:
3417 Apply the posix-timer check from #361155. Conditionally use the posix
3418 timer for logging. This gives better timestamp precission, less
3419 overhead and no ntp jitter.
3421 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3423 * gst/gstminiobject.c: (gst_mini_object_get_type),
3424 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3425 (gst_mini_object_finalize), (gst_mini_object_copy),
3426 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3427 (gst_mini_object_replace), (param_mini_object_validate),
3428 (gst_param_spec_mini_object_get_type):
3429 Some cleanup and checking against invalid function parameters.
3431 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3433 * docs/gst/gstreamer-sections.txt:
3435 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3436 (gst_systemclock_suite):
3437 Start merging in the easy bits of #361155, the monotonic clock patch.
3438 This one adds a few handy macros with docs and a testsuite.
3440 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3442 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3443 Be a bit smarter when seeking, like, don't try to do a seek when it's
3444 not needed. This avoids errors when the file is not seekable.
3447 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3449 * docs/gst/gstreamer-docs.sgml:
3450 * docs/gst/gstreamer-sections.txt:
3451 * docs/gst/gstreamer.types.in:
3456 * plugins/elements/gstqueue.c:
3457 Due to popular request remove preset interface again. :-(.
3459 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3461 * tools/gst-inspect.c:
3462 Print 'default value' for enums and flags too.
3464 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3466 * docs/random/ensonic/profiling.txt:
3470 Fix typo and give better log output.
3472 * gst/gstdebugutils.c:
3473 * gst/gstdebugutils.h:
3474 More ideas, make graphs a bit smaller and fix param name in macro.
3476 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3479 Try harder to use the return value from fgets().
3481 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3484 For theses two fgets we handle the error below.
3486 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3488 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3489 Only send upstream events upstream. Fixes #498746.
3491 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3493 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3495 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3496 (gst_identity_init), (gst_identity_transform_ip),
3497 (gst_identity_set_property), (gst_identity_get_property):
3498 * plugins/elements/gstidentity.h:
3499 Add property to disable handoff signal emission. Fixes #498694.
3500 API: GstIdentity::signal-handoffs
3502 2007-11-21 Julien Moutte <julien@fluendo.com>
3504 * docs/faq/gst-uninstalled: Yet another missing library for the
3505 uninstalled script (fft)
3507 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3509 * docs/faq/developing.xml:
3510 Add a question about how to submit new translations.
3512 * docs/random/release:
3513 Update the contact email address for the Translation Project
3515 * plugins/elements/gstfdsrc.c:
3516 The parent_class for fdsrc is pushsrc, not GstElement.
3518 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3521 Plug a leak and fix saving.
3523 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3525 * docs/gst/gstreamer-sections.txt:
3526 Add new gst_preset__get_property_names() function to the docs
3529 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3533 Change _get_preset_names API to return a strv with copies. Add
3534 _get_property_names to allow implementations to filter and provide
3535 good default implementation.
3537 2007-11-20 Julien MOUTTE <julien@moutte.net>
3539 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3542 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3545 More cleanups, docs, and TODOs from comments that now slowly come in.
3547 2007-11-19 Julien MOUTTE <julien@moutte.net>
3549 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3552 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3555 Fix bogus warning and make the property type specific code more
3558 2007-11-19 Julien MOUTTE <julien@moutte.net>
3560 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3563 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3565 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3566 (gst_bin_add_func), (gst_bin_remove_func),
3567 (gst_bin_change_state_func), (gst_bin_continue_func):
3568 Change email, cleanups add some more debug and comments.
3569 Also set bus and clock on new elements when the pipeline was in error.
3571 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3574 * gst/gstdebugutils.c:
3575 Fix build with --disable-gst-debug. Fixes #497859.
3576 Spotted by Sameer Naik.
3578 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3581 Little documentation improvment.
3584 More TODO cleanups. Remove c++ comments.
3586 * libs/gst/controller/gstcontroller.c:
3587 Add TODO and use quark from static string.
3589 * tests/check/gst/gstmessage.c:
3590 * tests/check/gst/gststructure.c:
3591 Use quark from static string.
3593 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3596 Add some comments and TODOs.
3599 Add padding for future changes.
3601 * plugins/elements/gstqueue.c:
3602 Implement the iface.
3604 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3606 * docs/gst/gstreamer-docs.sgml:
3607 * docs/gst/gstreamer-sections.txt:
3608 * docs/gst/gstreamer.types.in:
3613 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3615 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3621 === release 0.10.15 ===
3623 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3626 releasing 0.10.15, "October"
3628 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3630 * win32/vs6/libgstreamer.dsp:
3631 Convert line endings back to DOS.
3633 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3635 * docs/design/draft-tagreading.txt:
3636 * docs/random/ensonic/profiling.txt:
3637 Update fast tagreading draft and performance profiling ideas.
3639 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3641 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3642 Don't hold the object lock when unreffing a buffer because it could
3643 cause a deadlock when the finalize function wants to grab the object
3644 lock too. Fixes #495133.
3646 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3648 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3649 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3650 Also accumulate time correctly when doing reverse playback. Fixes
3652 When converting to running and stream time, use default values for
3653 start/stop/time/accum when comparing different formats. Fixes #494245.
3655 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3656 Do running/stream time in TIME format.
3658 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3659 (gst_segment_suite):
3660 2 new unit tests for segment accumulation.
3662 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3664 * gst/gst.c: (init_pre):
3665 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3666 (_gst_debug_bin_to_dot_file):
3667 Move getenv() back into gst_init, so everyone can live happily
3668 ever after. Make sure the symbol isn't exported though.
3670 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3672 Patch by: Sebastien Moutte <sebastien moutte net>
3674 * win32/common/gstenumtypes.c:
3675 * win32/common/gstenumtypes.h:
3678 * win32/vs6/libgstreamer.dsp:
3679 Update vs6 project files (#494343).
3681 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3683 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3684 (gst_base_src_perform_seek), (gst_base_src_default_event),
3685 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3686 (gst_base_src_activate_pull):
3687 Unify flushing code, remove some old unlock code that is no longer used.
3688 Take the streaming lock when seeking to avoid races. Fixes #492729.
3689 Added some more comments.
3691 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3693 * gst/gst.c: (_gst_disable_segtrap):
3694 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3695 we can use gst_segtrap_is_enabled() there now that we have that API.
3696 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3697 to do the getenv here (and export the variable).
3699 * gst/gstdebugutils.c: (debug_dump_element),
3700 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3701 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3703 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3704 (gst_debug_log_default):
3705 Rename _gst_info_start_time to priv_gst_info_start_time so it
3706 doesn't get exported (was never in any header).
3708 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3709 (gst_plugin_loading_mutex):
3710 Make static mutex gst_plugin_loading_mutex really static (was never
3711 in any header), and use gst_segtrap_is_enabled() instead of
3712 _gst_disable_segtrap.
3714 * gst/gsttrace.c: (_gst_trace_default):
3715 Make local _gst_trace_default static (was never in any header).
3717 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3719 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3721 * win32/common/libgstbase.def:
3722 * win32/common/libgstcontroller.def:
3723 * win32/common/libgstdataprotocol.def:
3724 * win32/common/libgstnet.def:
3725 * win32/common/libgstreamer.def:
3726 Add more missing symbols, remove some duplicates, and sort
3727 as the 'sort' command sorts it (partially fixes #493983).
3729 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3731 * gst/gstelement.c: (gst_element_set_state_func):
3732 Only change the state cookie if a different state was set on the
3733 element. See #492729.
3735 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3738 Remove unused and uninitialised type variables that were still
3739 exported for some reason (they were never in any header files
3742 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3744 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3745 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3746 (gst_base_sink_event), (gst_base_sink_get_position_last),
3747 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3748 (gst_base_sink_change_state):
3749 Don't try to report a 0 position when we don't know, return -1 and FALSE
3750 instead. This mostly happens when we are prerolling.
3751 Make sure we can report the right position before we post the ASYNC_DONE
3752 message so that a message handler can query position without races.
3754 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3755 (async_done_handoff), (async_done_func), (send_buffer),
3756 (async_done_eos_func), (gst_sinks_suite):
3757 Add two tests for the above.
3759 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3762 Update with new email address.
3764 * docs/design/part-TODO.txt:
3765 Add some more info about future pad-block and negotiation changes.
3767 * docs/design/part-buffering.txt:
3768 Add some ideas about buffering reporting.
3770 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3772 * tests/check/gst/gstobject.c:
3773 Disable silly racy test that always fails on this combination of CPU
3776 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3778 Patch by: Murray Cumming <murrayc@murrayc.com>
3781 Corrected the registration of the parent-set and parent-unset
3782 signals: The parameter is a GstObject, not a GObject (#493134).
3784 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3786 * gst/gst_private.h:
3795 Move declaration of private _gst_foo_initialize() functions into
3796 our private header file where they should have been all along.
3798 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3800 * docs/plugins/gstreamer-plugins-sections.txt:
3801 * gst/gstdebugutils.h:
3803 * plugins/elements/gstqueue.c:
3804 gtk-doc fixes; trailing-comma-in-enum fix.
3806 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3808 * gst/gst.c: (gst_deinit):
3809 Clean up on deinit (not the external ones though, doesn't seem to be
3810 needed for some reason).
3812 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3814 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3815 Remove __declspec(dllimport) for MSVC that was copied over into core
3816 from a plugin, obviously without ever having been tested (note the
3817 single underscore in _declspec in the initial commit), and that doesn't
3818 really make sense. See #492077.
3820 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3822 * gst/gst.c: (init_post):
3823 * gst/gstevent.c: (_gst_event_initialize):
3824 * gst/gstquery.c: (_gst_query_initialize):
3825 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3826 g_type_class_ref() other types as well, see #349410 and #64764.
3828 * gst/gstbuffer.c: (_gst_buffer_initialize):
3829 * gst/gstmessage.c: (_gst_message_initialize):
3830 Simplify existing g_type_class_ref().
3832 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3834 * gst/gstformat.c: (_gst_format_initialize):
3835 g_type_class_ref() our GstFormat type to make sure we avoid the
3836 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3837 bug #64764. Should fix intermittent tee unit test failures (#474823).
3839 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3841 * tests/check/elements/tee.c: (test_num_buffers):
3842 Simplify, simplify, simplify - or not. Rewrite unit test
3843 not to use gst_parse_launch(); allow N sub-streams. Increasing
3844 the number of sub-streams seems to reproduce #474823 more easily.
3846 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3848 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3851 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3852 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3853 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3854 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3855 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3856 so use _pipe() directly (#492077).
3858 * win32/common/dirent.c: (_treaddir):
3859 Add a couple of casts to make it build without warnings with MSVC.
3861 * win32/common/libgstreamer.def:
3862 Add some more symbols that need to be exported.
3864 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3866 * tests/examples/metadata/read-metadata.c: (message_loop):
3867 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3868 arriving in a second or third tag message are added to
3869 the tag list as well.
3871 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3873 * libs/gst/base/gstbasesrc.c:
3874 Its "Since:" and not "@Since:". And remove an superflous cast.
3876 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3878 * docs/libs/gstreamer-libs-sections.txt:
3879 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3880 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3881 (gst_base_sink_get_property), (gst_base_sink_render_object),
3882 (gst_base_sink_preroll_object),
3883 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3884 (gst_base_sink_change_state):
3885 * libs/gst/base/gstbasesink.h:
3886 Add a new last-buffer property that contains the last buffer used in
3887 basesink for preroll or rendering. useful for making snapshots.
3888 API: gst_base_sink_get_last_buffer()
3889 API: GstBaseSink::last-buffer
3891 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3893 * docs/gst/running.xml:
3895 * gst/gstdebugutils.c:
3896 * gst/gstdebugutils.h:
3897 * tools/gst-launch.c:
3898 Improve bin graph dumping, by using the envvar to specify a path.
3899 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3901 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3903 * plugins/elements/gsttypefindelement.c:
3904 (gst_type_find_element_handle_event),
3905 (gst_type_find_element_activate):
3906 Post special error message if we can't determine the type of a stream
3909 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3911 * docs/gst/running.xml:
3912 * gst/gstdebugutils.c:
3913 Document new env-var. Add one log-line after dumpng a graph.
3915 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3918 Ugly hack to put the (recently removed and non-portable, apparently)
3919 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3920 GNU ld, because without that 'make check' fails miserably on my debian
3921 stable box. Someone with more knowledge of linker intricacies and
3922 portability issues than me fix this properly please.
3924 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3926 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3927 Reset last seen position after flushing so that we don't report the old
3930 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3932 * gst/gstelementfactory.c: (gst_element_register):
3934 Patch from Alessandro Decina adding get_type_full and
3935 get_protocols_full private vfuncs to the URIHandler interface
3936 to allow bindings to support creating URI handlers.
3937 Partially fixes: #339279
3938 API: GstURIHandlerInterface::get_type_full
3939 API: GstURIHandlerInterface::get_protocols_full
3941 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3943 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3944 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3945 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3946 Make it so that pads are considered linked until a buffer is pushed
3947 and discovered otherwise. This avoids problems with decodebin2 hanging
3948 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3951 Make sure we lock the multiqueue when updating the max-size properties.
3953 Fix a crash on Solaris in a debug statement in get_request_pad that
3954 passes a NULL string to GST_DEBUG.
3956 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3957 (run_output_order_test):
3958 Fix the test to allow the first buffer on not-linked pads to come out
3959 of sequence while multiqueue discovers that they are not-linked.
3961 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3964 * libs/gst/check/Makefile.am:
3965 Use a custom export symbol regex for libgstcheck, as it needs
3966 to export symbols that don't match the standard GStreamer gst_*
3967 pattern, and --export-dynamic is not portable (only works on
3970 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3971 (gst_check_setup_sink_pad):
3972 Make sure to pass a message parameter to the fail_* macros.
3974 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3975 Fix some compiler warnings.
3977 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3979 * tests/check/gst/gststructure.c: (test_to_string):
3980 Disable test that checks that white spaces are not allowed
3981 in structure names or field names, since we need to
3982 support that for now for backwards compatibility reasons.
3984 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3986 * docs/gst/gstreamer-sections.txt:
3989 API: add GST_TAG_ARTIST_SORTNAME
3990 API: add GST_TAG_ALBUM_SORTNAME
3991 API: add GST_TAG_TITLE_SORTNAME
3992 Add tag variants for sorting (#414539).
3994 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3996 * gst/gststructure.c:
3997 Also allow white space for names so we don't break
3998 backwards compatibility.
4000 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
4002 * docs/design/part-TODO.txt:
4003 * docs/design/part-segments.txt:
4004 * docs/design/part-streams.txt:
4007 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4009 * docs/gst/gstreamer-sections.txt:
4010 Fixed documentation from my previous commit (added new API add
4011 gst_value_set_structure(), add gst_value_get_structure() and
4012 GST_VALUE_HOLDS_STRUCTURE).
4014 2007-10-22 Stefan Kost <ensonic@users.sf.net>
4016 * gst/gstdebugutils.c:
4017 Reflow code to fix uninitialized variable warning.
4019 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
4021 * gst/gstcaps.c: (gst_caps_to_string),
4022 (gst_caps_from_string_inplace):
4023 * gst/gststructure.c: (gst_structure_get_abbrs),
4024 (gst_structure_to_string), (gst_structure_from_string):
4025 * gst/gstvalue.c: (gst_value_set_structure),
4026 (gst_value_get_structure), (gst_value_serialize_structure),
4027 (gst_value_deserialize_structure), (_gst_value_initialize):
4029 * tests/check/gst/gststructure.c: (GST_START_TEST),
4030 (gst_structure_suite):
4031 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4032 Added GstStructure to gst_value_table and its related functions.
4033 Changed gst_structure_to_string to print ';' in the end.
4034 Changed gst_caps_to_string to not print ';' beteween its
4035 fields (structures) anymore and remove the lastes ';' from latest
4036 structure. Now it is possible to have nested structures.
4037 In addition, backward compatibilty is assured by accepting '\0' as
4038 end delimiter. Fixes: #487969.
4039 API: add gst_value_set_structure()
4040 API: add gst_value_get_structure()
4041 API: add GST_VALUE_HOLDS_STRUCTURE
4043 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4046 When no GSource callback has been set up, tell developer
4047 to use a function that actually exists.
4049 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4051 * docs/gst/gstreamer-sections.txt:
4055 * gst/gstdebugutils.c:
4056 * gst/gstdebugutils.h:
4059 * tools/gst-launch.c:
4060 Allow dumping pipelines as dot graphs. Fixes #456573.
4062 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4064 * gst/gststructure.c:
4065 Allow '+' as well, it can be part of media or mime types
4066 such as image/svg+xml.
4068 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4070 * docs/gst/gstreamer-sections.txt:
4073 API: add gst_bus_pop_filtered
4074 API: add gst_bus_timed_pop_filtered
4075 Two new functions for waiting for specific message types on the
4076 bus for a specified amount of time without iterating any main
4077 loops or main contexts.
4079 * tests/check/gst/gstbus.c:
4080 Some tests for the new functions.
4082 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4084 * docs/libs/gstreamer-libs-sections.txt:
4085 Make gtk-doc ignore stuff it should ignore.
4087 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4089 * libs/gst/check/gstcheck.c:
4090 * libs/gst/check/gstcheck.h:
4091 Allow runtime selection of unit tests to run via the GST_CHECKS
4092 environment variable (test case function names, comma-separated).
4094 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4096 * gst/gststructure.c:
4097 * tests/check/gst/gststructure.c:
4098 Revert serialisation change and constrain structure-names after
4099 consensus on irc. Update api documentation to reflect the change.
4101 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4103 * gst/gststructure.c:
4104 Improve serialization and fix tests.
4106 * tests/check/gst/gststructure.c:
4107 Add another test that covers why I actually did the previous structure
4110 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4112 * tools/gst-inspect.c: (print_element_info):
4113 Don't crash when inspecting an element.
4115 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4117 * tests/check/gst/gststructure.c:
4118 Add unit test for escaping of structure name when serialising
4119 and deserialising to/from strings.
4121 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4123 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4124 (gst_single_queue_new):
4125 * plugins/elements/gstqueue.c: (gst_queue_init),
4126 (gst_queue_push_one):
4127 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4128 upstream is tricked into thinking it can suggest a format downstream
4129 while downstream does not support that format. The real problem is that
4130 core calls acceptcaps when pushing a buffer with new caps, for which we
4131 do a little workaround by setting the caps on the srcpad ourselves
4132 before pushing the buffer (until this is figured out). Fixes #486758.
4134 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4136 * gst/gststructure.c:
4138 Add some more comments and debug output. Quote structure name to fix
4139 deserialisation of some strings.
4141 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4144 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4145 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4147 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4149 * tools/gst-inspect.c:
4150 Save approx. 400 1 byte allocs when printing. Use API to acces element
4156 * tools/gst-xmlinspect.c:
4157 Use API to acces element details.
4159 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4162 Fix some spelling errors.
4164 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4166 * gst/gstbin.c: (bin_handle_async_done):
4167 Correctly set the next state if all of our async children commited their
4168 state. This makes sure we can actually cancel the state change in
4169 progress. Fixes a regression in Rhythmbox when seeking.
4171 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4174 Don't shadow local variable.
4177 Don't shadow global function name.
4179 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4181 * gst/gstelementfactory.c:
4182 * gst/gstpluginfeature.c:
4183 * gst/gstpluginfeature.h:
4184 * gst/gstregistrybinary.c:
4185 * gst/gstregistryxml.c:
4186 * gst/gsttypefind.c:
4187 Use already-interned string for the private GstPluginFeature
4190 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4192 * docs/libs/gstreamer-libs-sections.txt:
4193 Add new API to docs; fixes the build.
4195 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4197 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4199 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4200 (gst_base_sink_event):
4201 * libs/gst/base/gstbasesink.h:
4202 Add function to wait for EOS, subclasses can use this to correctly wait
4203 for devices to drain before performing the EOS logic. Fixes #485343.
4204 API: gst_base_sink_wait_eos()
4206 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4209 Cast description string constants in GST_PLUGIN_DEFINE macros
4210 to a (gchar*) to make C++ code using these macros compile
4211 without warning with g++-4.2 (see #462737). Even if slightly
4212 ugly, this seems preferable to putting the description strings
4213 into the GLib quark table or making the structure member a
4214 const gchar * and doing casts in core code that allocs and
4215 frees these strings, or requiring a cast in the C++ code.
4217 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4220 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4221 to print the entire class/function signature into the log
4222 file for C++ code. This only affects C++ code, for C code
4223 everything remains the same.
4225 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4227 * gst/gstbin.c: (remove_from_queue):
4228 Work around a problem with pipelines containing (semi)loops until a
4229 proper, more complicated solution is ready. See #475455.
4231 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4235 * gst/gstregistrybinary.c:
4236 * gst/gstregistryxml.c:
4237 Put more strings into the GLib quark table. No need to keep
4238 a hundred-something copies of identical version strings,
4239 license strings, package name strings and package origin
4242 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4244 * docs/manual/advanced-dataaccess.xml:
4245 Don't imply that it's okay to unconditionally change
4246 buffer data or buffer metadata in a pad probe callback,
4247 and a bunch of other comments. Fixes #430031.
4249 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4251 * win32/common/gstenumtypes.c:
4252 * win32/common/gstenumtypes.h:
4253 * win32/common/gstversion.h:
4254 Update generated files.
4256 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4258 * docs/manual/advanced-autoplugging.xml:
4259 Prefix section with broken code with a warning (see #342432).
4261 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4263 * docs/manual/appendix-integration.xml:
4264 * docs/manual/basics-init.xml:
4265 Call g_thread_init() before g_option_context_new() to
4266 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4268 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4270 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4271 (gst_base_sink_queue_object_unlocked),
4272 (gst_base_sink_queue_object), (gst_base_sink_event),
4273 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4274 When we received EOS and are waiting for when to post the EOS message,
4275 our state is prerolled and we should not return ASYNC.
4276 Reorganize some code paths to implement this behavior.
4278 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4280 Add unit test to verify above EOS fix.
4282 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4284 * plugins/elements/gsttypefindelement.c:
4285 (gst_type_find_element_have_type), (gst_type_find_element_init),
4286 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4287 Move detecting the input caps of the sinkpad to the setcaps function.
4288 This allows us to update the output caps when we receive new input caps
4289 instead of always using the first detected caps.
4291 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4293 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4294 (gst_base_sink_get_position):
4295 Don't try to preroll non-async elements after a flush.
4296 Subtract latency form clock times when reporting position.
4298 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4300 * gst/gstpad.c: (gst_pad_pause_task):
4302 Small comment and documentation update.
4304 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4306 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4307 (gst_base_src_set_live), (gst_base_src_is_live),
4308 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4309 (gst_base_src_default_event), (gst_base_src_wait),
4310 (gst_base_src_do_sync), (gst_base_src_get_range),
4311 (gst_base_src_pad_get_range), (gst_base_src_loop),
4312 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4313 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4314 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4315 (gst_base_src_change_state):
4316 Rework the locking of basesrc in a similar fashion to basesink. We
4317 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4318 us to handle live sources and semi live ones much better.
4320 Fix unlocking when seeking, shutting down and pausing in live sources.
4322 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4324 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4325 Fix compilation again.
4327 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4330 Use meaningful categories for the logs to clean the default one.
4332 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4334 * tests/check/pipelines/cleanup.c:
4335 Print message name and not just number.
4337 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4339 * docs/design/draft-tagreading.txt:
4340 Add some more thoughts.
4342 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4344 * tests/check/pipelines/simple-launch-lines.c:
4345 Print message name and not just number.
4347 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4349 * libs/gst/base/gsttypefindhelper.c:
4350 Speedup typefinding. This is work in progress (see #459862).
4352 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4355 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4356 Spotted by Josep Torra Valles <josep@fluendo.com>.
4358 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4361 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4362 field has moved to GstObject.
4364 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4366 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4367 (gst_base_src_get_range), (gst_base_src_change_state):
4368 Call unlock for live sources so that they can't get stuck in _create and
4369 produce a buffer before they are set back to PLAYING.
4371 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4373 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4374 (gst_queue_locked_dequeue):
4375 Comment the segment-related code... in the PROPER function.
4376 See #482147 and my commit from yesterday.
4378 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4380 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4381 Also initialize the counter that calculates the first timestamp on a
4382 buffer correctly for non-live sources.
4384 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4386 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4387 Disable code that's breaking the current-time-level reporting.
4390 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4392 * docs/gst/gstreamer-sections.txt:
4393 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4394 as they shouldn't show up. Fixes the docs build.
4396 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4399 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4400 Define M_PI which is used in files which are including gstinfo.h.
4401 VS6 includes doesn't define it.
4402 * win32/common/libgstbase.def:
4403 * win32/common/libgstcontroller.def:
4404 * win32/common/libgstreamer.def:
4405 Add new exported functions and variables.
4406 * win32/vs6/libgstcontroller.dsp:
4407 * win32/vs6/libgstreamer.dsp:
4408 Update the list of files to build.
4410 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4412 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4414 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4415 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4416 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4417 Improve debugging. Fixes #480858.
4419 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4421 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4423 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4424 First patch of code cleanups, use the macros and right arguments in the
4425 macros to signal and lock the queue. See #480858.
4427 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4429 * gst/gstbus.c: (poll_func):
4430 Improve debugging when dealing with _poll().
4432 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4434 * gst/gstregistryxml.c:
4435 Fix memory leak I introduced a few days ago.
4437 2007-09-26 Michael Smith <msmith@fluendo.com>
4439 * gst/gstbuffer.c: (gst_buffer_finalize):
4440 Make it once again possible to free GstBuffers in the default
4442 The poisoning scribbles on parts of the miniobject we need in
4446 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4448 * docs/gst/gstreamer-sections.txt:
4451 API: add GST_TAG_COMPOSER, fixes #459809.
4453 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4457 Add the 3-clause BSD license and the MIT/X11 license to the license
4458 list. Fixes #479784.
4460 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4462 * docs/faq/getting.xml:
4463 Add Q+A about different GStreamer versions (#364056).
4465 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4467 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4468 (gst_base_sink_event), (gst_base_sink_change_state):
4469 Return correct gboolean from query function.
4471 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4473 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4474 (gst_base_sink_event), (gst_base_sink_query),
4475 (gst_base_sink_change_state):
4476 Simplify latency query.
4477 When not synchronizing, we can report latency without querying the peer
4480 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4484 Fix small typos in the docs.
4486 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4488 * docs/design/draft-latency.txt:
4489 * docs/design/draft-push-pull.txt:
4490 * docs/design/draft-tagreading.txt:
4491 * docs/design/part-MT-refcounting.txt:
4492 * docs/design/part-activation.txt:
4493 * docs/design/part-block.txt:
4494 * docs/design/part-element-source.txt:
4495 * docs/design/part-events.txt:
4496 * docs/design/part-gstbin.txt:
4497 * docs/design/part-gstelement.txt:
4498 * docs/design/part-gstobject.txt:
4499 * docs/design/part-gstpipeline.txt:
4500 * docs/design/part-messages.txt:
4501 * docs/design/part-preroll.txt:
4502 * docs/design/part-push-pull.txt:
4503 * docs/design/part-qos.txt:
4504 * docs/design/part-query.txt:
4505 * docs/design/part-scheduling.txt:
4506 * docs/design/part-seeking.txt:
4507 * docs/design/part-segments.txt:
4508 * docs/design/part-states.txt:
4509 Documentation updates and typo fixes.
4511 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4513 * plugins/elements/gstfakesink.c:
4514 Add some debug text to error message to indicate that
4515 we errored out on request.
4517 * tools/gst-launch.c:
4518 When the state change to PLAYING fails, check for an
4519 error message on the bus and print it.
4521 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4523 translated by: Jorge González González <aloriel@gmail.com>
4527 Added Spanish translation.
4529 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4531 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4532 Fix printf arguments.
4534 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4536 * tests/check/generic/states.c:
4537 Improved state change unit test.
4539 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4542 Move priv to the right place.
4544 * gst/gstsystemclock.c:
4545 Add FIXME: and improve log.
4547 * tests/check/Makefile.am:
4548 * tests/examples/manual/Makefile.am:
4549 Work with all types of registries.
4551 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4553 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4554 Don't unref the event after pushing it. Fixes #478401.
4556 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4559 * tests/examples/manual/.cvsignore:
4560 Ignore registries in any format.
4562 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4564 * gst/glib-compat-private.h:
4565 Add compatibility macro for g_intern_string() for
4566 GLib-2.8 (any reason we can't just bump the
4567 requirement to at least 2.10?)
4569 * gst/gstpadtemplate.h:
4570 * gst/gstelementfactory.c:
4571 * gst/gstregistryxml.c:
4572 * gst/gstregistrybinary.c:
4573 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4574 up the internal code accordingly. This shouldn't be a problem, since
4575 there is no reason external code could ever assume the string in such
4576 a structure is dynamically allocated unless it did that itself; the
4577 use of g_strdup() is private to element factories. The new code also
4578 saves some memory by putting pad template name strings into the GLib
4579 quark table instead of allocating them dynamically.
4580 Declaring this field constant fixes warnings with g++-4.2 when using
4581 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4583 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4585 * gst/gstelementfactory.c:
4586 Release static caps. Fixes #475723.
4588 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4592 Make some internal API take const gchar * instead of just
4593 gchar * to avoid compiler warnings with g++-4.2.2 when
4594 passing string constants (partially fixes #478092).
4596 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4598 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4599 A latency query fails when one of the sinks fail.
4601 * gst/gstelement.c: (gst_element_set_base_time):
4604 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4606 * gst/gstbin.c: (gst_bin_continue_func):
4607 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4608 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4609 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4611 Fix minor compilation warnings shown with Forte.
4613 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4615 * plugins/elements/gstqueue.c: (apply_buffer),
4616 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4617 Measure queue level based on the diff between head and tail timestamps
4618 even when pushing the first buffer.
4620 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4622 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4623 (gst_base_sink_event), (gst_base_sink_change_state):
4624 Sinks that don't preroll can always be queried for the latency.
4625 Don't post ASYNC start when we are not async.
4627 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4629 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4630 (gst_queue_handle_sink_event), (gst_queue_chain),
4631 (gst_queue_push_one), (gst_queue_handle_src_query),
4632 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4633 * plugins/elements/gstqueue.h:
4634 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4635 push more buffers but allow pushing of EOS and NEWSEGMENT.
4636 Add some more debug info here and there. Fixes #476514.
4638 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4640 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4641 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4642 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4643 (gst_base_sink_set_flushing), (gst_base_sink_query),
4644 (gst_base_sink_change_state):
4645 Latency query is allowed after we are prerolled. Introduce a new flag
4646 for this and stop abusing other variables.
4648 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4650 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4651 Push OOB events downstream when we get them in send_event. This allows
4652 the application to insert events in the pipeline.
4653 Add some more comments.
4655 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4657 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4658 (do_bin_latency), (gst_bin_change_state_func):
4659 * gst/gstpipeline.c: (gst_pipeline_change_state):
4660 Move latency query from GstPipeline to GstBin so that we can also
4661 use it when async-handling is enabled on bins.
4663 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4665 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4666 (gst_base_src_do_sync), (gst_base_src_change_state):
4668 Clean up the timestamping and syncing code for pseudo live sources.
4670 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4672 Patch by: Steve Fink <sphink gmail com>
4674 * docs/manual/appendix-checklist.xml:
4675 Mention less -R switch in the section about debug output (#474055).
4677 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4679 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4680 Queue can latency to the pipeline up to the configured max size in time.
4681 Report this fact in the latency query.
4683 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4685 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4687 * libs/gst/controller/gstinterpolation.c:
4688 * libs/gst/controller/gstlfocontrolsource.c:
4689 Use gst_guint64_to_gdouble() when converting from a uint64 or
4690 GstClockTime to double to fix the build on win32. Fixes #474371.
4692 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4694 * gst/gstbuffer.c: (gst_buffer_finalize):
4695 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4696 When finalizing a buffer the complete struct is filled with 0xff,
4697 thus making a use of the buffer after the final unref impossible.
4699 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4701 * tests/check/libs/controller.c: (GST_START_TEST):
4702 Use fail_unless_equals_int(a, b) instead of
4703 fail_unless_equals (a == b) to get better output on failures.
4705 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4707 * tests/check/gst/gsturi.c:
4708 Also check for the other file URI variant on win32.
4710 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4712 * gst/gsturi.c: (gst_uri_get_location):
4713 If there's no hostname, we want to return 'c:/foo/bar.txt'
4714 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4716 * tests/check/gst/gsturi.c:
4717 Unit test for the above and a few more things.
4719 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4721 * docs/design/part-live-source.txt:
4722 Add docs on how live sources should timestamp.
4724 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4725 Add some more debug info.
4726 For subclasses that are live and like to sync, add aditional startup
4727 latency to sync time and timestamps so that we timstamp according to the
4730 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4733 Also do a g_type_class_ref() for the subbuffer type in
4736 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4738 * docs/gst/gstreamer-sections.txt:
4739 * gst/gstpad.c: (gst_pad_peer_query):
4741 Add function to perform a query on the peer of a pad.
4742 API: gst_pad_peer_query()
4744 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4746 * tests/check/gst/gstsystemclock.c:
4747 Cleanup the test a little (use gst-logging and not g_message). Improve
4748 test to check if a wait reached the target.
4750 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4752 * docs/libs/gstreamer-libs-sections.txt:
4753 Add new API to docs and fix the build.
4755 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4757 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4758 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4759 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4760 (gst_base_src_get_property), (gst_base_src_do_sync):
4761 * libs/gst/base/gstbasesrc.h:
4762 Add property to make the basesrc timestamp buffers based on the current
4764 API: GstBaseSrc::do-timestamp
4765 API: gst_base_src_set_do_timestamp()
4766 API: gst_base_src_get_do_timestamp()
4768 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4770 * docs/random/release:
4771 Really make sure translations are up-to-date before
4772 a release (#465010).
4774 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4776 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4777 Always destroy the timer, also in error cases.
4779 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4781 * docs/manual/highlevel-xml.xml:
4782 Fix XML example code. Fixes #472714.
4784 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4786 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4787 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4788 (gst_base_sink_query):
4789 Protect eos and have_preroll with the OBJECT lock so we don't need to
4790 take the PREROLL lock when querying the latency. Fixes #473846.
4792 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4795 Give some log-messages a category.
4797 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4799 * gst/gststructure.c:
4800 (gst_structure_fixate_field_nearest_fraction):
4801 Fix fraction list fixation code. Take the fraction with the smallest
4802 difference with the target instead of the first one in the list.
4804 * tests/check/gst/gststructure.c: (GST_START_TEST),
4805 (gst_structure_suite):
4806 Added test to verify correct fraction list fixation behaviour.
4808 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4810 * win32/common/libgstreamer.def:
4811 Export gst_bus_add_signal_watch too.
4813 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4815 * docs/libs/gstreamer-libs-sections.txt:
4816 Add new methods to docs.
4818 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4819 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4820 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4821 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4822 * libs/gst/base/gstbasesink.h:
4823 Add ts-offset property to fine-tune the synchronisation.
4824 API: GstBaseSink::ts-offset property
4825 API: gst_base_sink_set_ts_offset()
4826 API: gst_base_sink_get_ts_offset()
4828 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4830 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4831 (gst_base_sink_init), (gst_base_sink_set_sync),
4832 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4833 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4834 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4835 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4836 (gst_base_sink_get_property), (gst_base_sink_change_state):
4837 * libs/gst/base/gstbasesink.h:
4838 Add async property to instruct the sink never to inform the parent about
4839 ASYNC state changes, update docs.
4840 Check argument with g_return_* for the public functions.
4841 API: GstBaseSink::async property
4842 API: gst_base_sink_set_async_enabled()
4843 API: gst_base_sink_is_async_enabled()
4845 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4847 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4850 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4851 (gst_base_src_default_query), (gst_base_src_wait),
4852 (gst_base_src_do_sync), (gst_base_src_change_state):
4853 Rearrange some code so that we can add support for measuring the
4856 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4858 * docs/random/ensonic/dynlink.txt:
4859 More thoughs on this.
4861 * plugins/elements/gstcapsfilter.c:
4862 Add bugzilla ticket number to FIXME comment.
4864 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4866 * docs/design/part-TODO.txt:
4867 * docs/design/part-block.txt:
4870 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4873 Revert patch which uses $(gst_headers) instead of $^ because it
4876 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4878 * tests/check/gst/gstbin.c: (GST_START_TEST):
4879 Fix leaks in the new unit test.
4881 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4884 Don't use GST_INFO before the debug system is actually initialised
4885 (shouldn't do any harm, but won't print anything either, so we can
4886 just as well remove it).
4889 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4890 compilers that don't support variadic macros (such as MSVC), should
4891 check for debug_level <= __gst_debug_min as well, since that's the
4892 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4893 inline helper functions. Should improve performance a bit, but also
4894 makes sure uses of GST_INFO et.al are ignored if the debugging
4895 system isn't initialised yet (instead of printing an assertion
4898 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4900 patch by: David Nečas <yeti@physics.muni.cz>
4903 Replace some non portable makefile constructs.
4905 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4907 * common/gtk-doc-plugins.mak:
4908 Grrrrr. Don't remove the types file on make clean.
4910 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4912 * tools/gst-launch.1.in:
4913 Add colorspace to example pipeline. Fixes #458274.
4915 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4917 * docs/random/release:
4918 The release manager should run 'make download-po' before making a
4919 release to make sure translations are up-to-date.
4925 Add some new translations.
4927 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4929 * tools/gst-launch.c: (event_loop), (main):
4930 Don´t try to do any state management when a live pipeline posts
4932 Also make the buffering string translatable.
4934 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4936 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4937 (bin_handle_async_start), (gst_bin_handle_message_func):
4939 When adding elements, insert messages into the bus of the newly added
4940 element and make sure the element is the source of the message. This
4941 allows the parent bin to intercept the message and do the
4942 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4943 messages to the app (which is not allowed).
4946 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4947 Fix testsuite so that is does not work around messages that should not
4948 have been posted in the first place.
4950 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4952 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4953 (update_degree), (gst_bin_sort_iterator_next):
4954 Fix annoying bug in the sorted iterator where a sink that is not really
4955 a sink (when it has downstream links) screwed up the iterator.
4957 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4958 Unit test to verify the fix.
4960 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4963 Add some more docs for the messages.
4965 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4966 (gst_base_sink_query):
4967 Add some more debugging.
4969 * tools/gst-launch.c: (event_loop):
4970 When interrupting, don't try to set pipeline to PAUSED twice.
4972 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4975 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4976 (bin_handle_async_start), (gst_bin_handle_message_func):
4977 Move ASYNC_START message posting to where it belongs, similar to
4979 Don't post ASYNC_START when we are in error.
4980 Post ASYNC_START when we added an async element to a bin.
4982 2007-08-14 Julien MOUTTE <julien@moutte.net>
4984 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4985 generation from vargs. Fixes #466595.
4987 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4989 * gst/gstbin.c: (gst_bin_element_set_state):
4990 Always change the state of a NO_PREROLL element even if it has ASYNC
4991 elements inside (in case of a bin).
4993 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4994 Unit test for this case.
4996 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4998 * libs/gst/check/gstbufferstraw.c:
4999 * libs/gst/check/gstcheck.h:
5000 * libs/gst/controller/gstcontroller.c:
5001 * libs/gst/controller/gstcontrolsource.h:
5002 * libs/gst/controller/gstlfocontrolsource.h:
5003 * plugins/elements/gstcapsfilter.h:
5004 * plugins/elements/gstfdsink.h:
5005 * plugins/elements/gstfdsrc.h:
5006 Add more missing docs.
5008 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5010 * gst/gststructure.c:
5011 Add Since tag to docs.
5013 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5015 * docs/gst/gstreamer-sections.txt:
5016 * gst/gststructure.c: (gst_structure_get_uint):
5017 * gst/gststructure.h:
5018 Add function to get uint from a structure.
5019 API: gst_structure_get_uint()
5021 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
5023 * gst/gstcaps.c: (gst_caps_set_simple_valist),
5024 (gst_caps_intersect):
5025 Fix proper check for simple caps.
5027 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5029 * docs/gst/Makefile.am:
5030 * docs/libs/Makefile.am:
5031 Remove cruft and do some cleanups.
5033 * docs/gst/gstreamer-docs.sgml:
5034 * docs/libs/gstreamer-libs-docs.sgml:
5035 Prepare for comming gtkdoc features (rebase against online docs).
5037 2007-08-10 Michael Smith <msmith@fluendo.com>
5039 * docs/gst/gstreamer-sections.txt:
5040 Add gst_registry_add_path to docs.
5042 2007-08-10 Michael Smith <msmith@fluendo.com>
5044 * gst/gstregistry.h:
5045 Add gst_registry_add_path, which was missing from this header.
5047 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5049 * libs/gst/controller/gstlfocontrolsource.c:
5052 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5054 * libs/gst/base/gstbasesink.c:
5055 Don't send an async_start message during downwards state change if
5056 target state is less than READY
5058 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5060 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5064 Added Hungarian translation.
5066 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5073 Updated translations.
5075 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5077 * libs/gst/controller/Makefile.am:
5078 Dist gstlfocontrolsourceprivate.h
5080 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5082 * docs/libs/gstreamer-libs.types:
5083 Don't register the enum type gst_lfo_waveform_get_type() in the
5084 .types file - only GObject derived types belong.
5086 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5088 Patch by: <arenevier at fdn dot fr>
5091 Remove comma from last element in enum to avoid compile errors when
5092 using -pendantic. Fixes #464366.
5094 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5096 * docs/design/part-TODO.txt:
5097 Add some more TODO items
5099 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5102 * gst/gstcaps.c: (gst_caps_intersect):
5103 Optimize trivial intersection case between identical caps pointers.
5105 * gst/gstelement.c: (gst_element_continue_state),
5106 (gst_element_set_state_func):
5108 Fix spelling and grammar mistakes.
5110 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5114 Update POTFILES. Fixes #461599.
5116 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5119 Fix confusing typo in debug output.
5121 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5123 reviewed by: Stefan Kost <ensonic@users.sf.net>
5125 * libs/gst/controller/Makefile.am:
5126 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5127 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5128 (gst_lfo_control_source_new),
5129 (gst_lfo_control_source_set_waveform),
5130 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5131 (gst_lfo_control_source_finalize),
5132 (gst_lfo_control_source_dispose),
5133 (gst_lfo_control_source_set_property),
5134 (gst_lfo_control_source_get_property),
5135 (gst_lfo_control_source_class_init):
5136 * libs/gst/controller/gstlfocontrolsource.h:
5137 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5138 API: Add GstLFOControlSource, a control source that gives values
5139 for specific timestamps based on several periodic waveforms.
5142 * tests/check/libs/controller.c: (GST_START_TEST),
5143 (gst_controller_suite):
5144 * docs/libs/gstreamer-libs-docs.sgml:
5145 * docs/libs/gstreamer-libs-sections.txt:
5146 * docs/libs/gstreamer-libs.types:
5147 Add documentation and unit tests for GstLFOControlSource.
5149 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5154 === release 0.10.14 ===
5156 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5159 releasing 0.10.14, "Breathing Vacuum"
5161 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5163 * gst/gstelement.c: (gst_element_class_set_details_simple):
5165 Make strings passed to gst_element_class_set_details_simple()
5166 constant, as they should be (#462752).
5168 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5170 * gst/gstbin.c: (gst_bin_change_state_func),
5171 (bin_handle_async_done), (gst_bin_handle_message_func):
5172 Don't forget about the fact that some element went ASYNC even after a
5173 resync. This makes us post the ASYNC_DONE message correctly.
5176 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5178 * gst/gstregistry.c: (gst_registry_add_feature):
5179 When replacing an existing feature in the registry, make sure to
5180 continue holding a reference until we've replaced the name string
5181 within our feature hash table. Make sure to use g_hash_table_replace
5182 instead of g_hash_table_insert to ensure the new name string is used
5183 as a key instead of the old one that we're about to free.
5186 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5188 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5189 (gst_plugin_feature_set_name):
5190 Revert patch from #459466 until after the release and we can work
5191 out exactly what the problem is (if any).
5193 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5195 * docs/gst/gstreamer-sections.txt:
5198 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5200 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5202 * docs/libs/Makefile.am:
5203 Include our build-prefix libs and includes before the generic ones to
5204 avoid linking against the installed libs when we want the build-tree
5207 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5209 Patch by: Steve Fink <sphink gmail com>
5211 * docs/pwg/building-testapp.xml:
5212 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5213 if people try to build or install the example from the plugin
5214 template against a GStreamer from package using the configure
5217 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5219 Patch by: Steve Fink <sphink gmail com>
5221 * tools/gst-inspect.1.in:
5222 Document --print-all and --print-plugin-auto-install-info command
5223 line options in man page.
5225 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5227 * docs/gst/gstreamer-sections.txt:
5228 Add docs for new api function.
5230 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5232 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5233 * gst/gstelementfactory.h:
5234 API: gst_element_factory_has_interface()
5235 Added method to check if an element factory implements a named
5238 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5241 * docs/gst/gstreamer.types.in:
5242 Another conditional doc check.
5245 * gst/gstparamspecs.h:
5246 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5251 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5253 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5254 (gst_registry_binary_load_feature),
5255 (gst_registry_binary_load_plugin),
5256 (gst_registry_binary_read_cache):
5257 Print error just once and with additional info.
5259 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5261 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5262 (helper_find_suggest), (helper_find_get_length),
5263 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5264 (gst_type_find_helper_for_buffer):
5265 Cleanup the typefindhelper code and add private doc comments.
5267 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5269 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5270 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5271 Fix capsfilter for cases where the caps set on capsfilter will provide
5272 additional information.
5275 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5277 * gst/gsttypefindfactory.c:
5278 Fix docs that recommened wrong function to use.
5280 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5282 * tools/gst-inspect.c: (print_plugin_features):
5283 Also give media-type for typefinders in element output.
5285 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5287 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5288 (gst_registry_remove_features_for_plugin_unlocked),
5289 (gst_registry_add_feature), (gst_registry_remove_feature),
5290 (gst_registry_lookup_feature_locked):
5291 * gst/gstregistry.h:
5292 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5295 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5297 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5298 (gst_plugin_feature_set_name):
5299 Avoid double memory usage for pluginfeature names. Fixes #459466.
5301 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5304 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5305 driving the pipeline may need to explicitly check for NOT_LINKED as
5306 well, since IS_FATAL doesn't cover that.
5308 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5310 * docs/pwg/advanced-types.xml:
5311 Fix typo and duplicate entry in video formats list.
5313 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5315 * libs/gst/controller/gstinterpolation.c:
5316 Also round to the nearest int when using cubic interpolation.
5318 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5320 * libs/gst/controller/gstinterpolation.c:
5321 When linearly interpolating integer types, round to the nearest int
5322 by adding 0.5. Don't do it for float/double types.
5323 Fixes the failing controller test on my machine, which is somehow
5324 rounding differently than on the buildbots.
5326 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5328 * tools/gst-plot-timeline.py:
5329 Better log parsing (categories can have -). Adjust text vs. lines, so
5330 that they span the same y-range.
5332 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5334 * docs/random/ensonic/audiobaseclasses.txt:
5335 * docs/random/ensonic/dynlink.txt:
5336 * docs/random/ensonic/profiling.txt:
5339 * docs/random/moving-plugins:
5340 Add note to use g_assert type macros.
5342 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5345 * libs/gst/check/Makefile.am:
5346 Add libm check as we use in for plugins.
5348 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5350 * gst/gstbin.c: (gst_bin_continue_func):
5351 Check that the state_cookie hasn't changed since the continue_func
5352 was scheduled. Avoids problems where the state changes back to
5353 something it shouldn't be because it was changed in the meantime.
5355 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5357 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5358 (gst_registry_binary_save_string),
5359 (gst_registry_binary_save_pad_template),
5360 (gst_registry_binary_save_feature),
5361 (gst_registry_binary_save_plugin),
5362 (gst_registry_binary_load_feature),
5363 (gst_registry_binary_load_plugin),
5364 (gst_registry_binary_read_cache):
5365 Fix memory leak. Be less verbose in the log.
5367 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5369 * tests/check/elements/.cvsignore:
5370 Add file to cvsignore as commanded.
5372 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5374 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5375 (mq_dummypad_event), (run_output_order_test):
5376 Use a GStaticMutex to protect all cases where libcheck
5377 fail_if/fail_unless macros might be called from multiple threads
5378 simultaneously to avoid errors like:
5379 "check_pack.c:107: :-1081725400:Bad message type arg"
5381 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5383 * tests/check/pipelines/stress.c: (GST_START_TEST):
5384 Make sure we set the pipeline back to the NULL state before
5385 dropping our final reference.
5387 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5389 * tests/check/elements/tee.c: (GST_START_TEST):
5390 Make the tee stress-test a little less stressful so it doesn't just
5391 time out on slow-machines, and remove a small race when it's starting
5392 up by adding a get_state() call.
5394 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5397 Avoid reading registry twice on startup. Fixes #457322.
5399 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5401 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5402 * pkgconfig/gstreamer-check.pc.in:
5403 Substitute the CFLAGS for libcheck into our .pc file too so that
5404 dependent modules will pick it up properly if libcheck is installed
5405 into some other prefix.
5407 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5410 Revert the pkg-config check for libcheck, since it pulls in the
5411 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5412 a proper solution, either from the check project, or something else.
5414 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5417 Use pkg-config to locate check.
5419 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5426 Add deprecation guards.
5428 * libs/gst/base/gstcollectpads.h:
5429 Don't document object (this is implicitly private).
5431 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5433 * gst/gststructure.c: (gst_structure_parse_value):
5434 When deserialising foo=bar without a type cast, check if it's a
5435 boolean before falling back to a string type, otherwise things like
5436 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5437 because the filtercaps end up having a signed=(string)true field,
5438 which causes problems later when intersection caps.
5440 * tests/check/gst/gststructure.c: (GST_START_TEST):
5441 Add a unit test for this.
5443 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5445 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5447 * libs/gst/controller/Makefile.am:
5448 * libs/gst/controller/gstcontroller.c:
5449 (gst_controlled_property_add_interpolation_control_source),
5450 (gst_controlled_property_new), (gst_controlled_property_free),
5451 (gst_controller_find_controlled_property),
5452 (gst_controller_new_valist), (gst_controller_new_list),
5453 (gst_controller_new), (gst_controller_remove_properties_valist),
5454 (gst_controller_remove_properties_list),
5455 (gst_controller_remove_properties),
5456 (gst_controller_set_property_disabled),
5457 (gst_controller_set_disabled), (gst_controller_set_control_source),
5458 (gst_controller_get_control_source), (gst_controller_get),
5459 (gst_controller_sync_values), (gst_controller_get_value_array),
5460 (_gst_controller_dispose), (gst_controller_get_type),
5461 (gst_controlled_property_set_interpolation_mode),
5462 (gst_controller_set), (gst_controller_set_from_list),
5463 (gst_controller_unset), (gst_controller_unset_all),
5464 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5465 * libs/gst/controller/gstcontroller.h:
5466 * libs/gst/controller/gstcontrollerprivate.h:
5467 * libs/gst/controller/gstcontrolsource.c:
5468 (gst_control_source_class_init), (gst_control_source_init),
5469 (gst_control_source_get_value),
5470 (gst_control_source_get_value_array), (gst_control_source_bind):
5471 * libs/gst/controller/gstcontrolsource.h:
5472 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5473 (gst_object_get_control_source):
5474 * libs/gst/controller/gstinterpolation.c:
5475 (gst_interpolation_control_source_find_control_point_node),
5476 (gst_interpolation_control_source_get_first_value),
5477 (_interpolate_none_get), (interpolate_none_get),
5478 (interpolate_none_get_boolean_value_array),
5479 (interpolate_none_get_enum_value_array),
5480 (interpolate_none_get_string_value_array),
5481 (_interpolate_trigger_get), (interpolate_trigger_get),
5482 (interpolate_trigger_get_boolean_value_array),
5483 (interpolate_trigger_get_enum_value_array),
5484 (interpolate_trigger_get_string_value_array):
5485 * libs/gst/controller/gstinterpolationcontrolsource.c:
5486 (gst_control_point_free), (gst_interpolation_control_source_reset),
5487 (gst_interpolation_control_source_new),
5488 (gst_interpolation_control_source_set_interpolation_mode),
5489 (gst_interpolation_control_source_bind),
5490 (gst_control_point_compare), (gst_control_point_find),
5491 (gst_interpolation_control_source_set_internal),
5492 (gst_interpolation_control_source_set),
5493 (gst_interpolation_control_source_set_from_list),
5494 (gst_interpolation_control_source_unset),
5495 (gst_interpolation_control_source_unset_all),
5496 (gst_interpolation_control_source_get_all),
5497 (gst_interpolation_control_source_get_count),
5498 (gst_interpolation_control_source_init),
5499 (gst_interpolation_control_source_finalize),
5500 (gst_interpolation_control_source_dispose),
5501 (gst_interpolation_control_source_class_init):
5502 * libs/gst/controller/gstinterpolationcontrolsource.h:
5503 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5504 API: Refactor GstController into the core controller which can take
5505 a GstControlSource for providing actual values for timestamps.
5506 Implement a interpolation control source and use this for backward
5507 compatibility, deprecate a bunch of functions that are now handled
5508 by GstControlSource or GstInterpolationControlSource.
5509 Make it possible to disable the controller completely or only for
5510 specific properties. Fixes #450711.
5511 * docs/libs/gstreamer-libs-docs.sgml:
5512 * docs/libs/gstreamer-libs-sections.txt:
5513 * docs/libs/gstreamer-libs.types:
5514 Add new functions and classes to the docs.
5515 * tests/check/libs/controller.c: (GST_START_TEST),
5516 (gst_controller_suite):
5517 * tests/examples/controller/audio-example.c: (main):
5518 Port unit test and example to the new API and add some new
5521 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5523 Patch by: Mark Nauwelaerts <manauw at skynet be>
5525 * plugins/elements/gstmultiqueue.c:
5526 (gst_multi_queue_get_internal_links), (apply_buffer),
5527 (single_queue_overrun_cb), (gst_single_queue_new):
5528 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5529 the pipeline layout can be tracked correctly. Fixes #453732.
5531 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5533 * docs/gst/Makefile.am:
5534 * docs/libs/Makefile.am:
5535 * docs/plugins/Makefile.am:
5536 Simplify --extra-dir as gtkdoc scans recursively.
5538 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5540 * tools/gst-launch.c: (main):
5541 When we got an error, there is no point in waiting for preroll when
5544 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5546 * plugins/elements/gsttee.c: (gst_tee_base_init),
5547 (gst_tee_request_new_pad), (gst_tee_release_pad),
5548 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5549 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5551 Be a lot smarter when deciding what srcpad to use for proxying
5552 the buffer_alloc. Also handle pad added/removed when doing so.
5554 Keep track of what pads we already pushed on in case we have pads
5555 added/removed while pushing. Fixes #374639
5557 * tests/check/Makefile.am:
5558 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5560 Added unit test for pad resync.
5562 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5566 Updated translations.
5568 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5570 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5574 Added new Finnish translation.
5576 2007-06-28 Wim Taymans <wim@fluendo.com>
5578 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5579 (single_queue_overrun_cb):
5580 When figuring out when a queue is filled, use our internal time estimate
5581 based on segments, just like check_full does.
5583 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5585 * gst/gstminiobject.c: (gst_mini_object_get_type):
5586 Remove 3 do-nothing methods.
5588 2007-06-27 Wim Taymans <wim@fluendo.com>
5590 Patch by: Tim Angus <tim at ngus dot net>
5592 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5593 (gst_capsfilter_set_property):
5594 Take a reference instead of a copy when setting "caps".
5595 Fix documentation to clarify this behaviour. Fixes #449414.
5597 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5599 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5600 * gst/gstplugin.c: (gst_plugin_init):
5601 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5602 * gst/gstquery.c: (gst_query_get_type):
5603 * gst/gstregistry.c: (gst_registry_init):
5604 * gst/gsturi.c: (gst_uri_handler_base_init):
5605 Remove empty instance_init() functions to save relocs and lessen the
5606 noise. Remove some of the function prototypes that are doubled by
5609 2007-06-27 Wim Taymans <wim@fluendo.com>
5611 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5613 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5614 Add peer and direction in the XML serialisation of ghostpads.
5617 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5620 Preserve useful information, thanks Tim.
5622 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5624 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5625 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5626 (gst_single_queue_push_one), (gst_multi_queue_loop),
5627 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5628 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5629 (compute_high_id), (gst_single_queue_new):
5630 * plugins/elements/gstmultiqueue.h:
5631 Take the multiqueue lock when updating the fill level so we don't get
5634 After applying a buffer or event on the src pad segment, make sure to
5635 call gst_data_queue_limits_changed() to get the data queue to unblock
5636 and check the filled state again.
5638 Rework the not-linked pad handling so the logic is that not-linked
5639 pads can push as fast as they like, but only so they never get
5640 ahead of any linked pads.
5642 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5643 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5644 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5646 Add a test to check that not-linked pads always stay behind
5651 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5653 * docs/random/release:
5654 Some updates to the release procedure.
5656 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5658 * gst/gstelementfactory.c: (__gst_element_details_clear):
5659 Microoptimization that saves stunning 80 bytes.
5661 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5663 * docs/plugins/gstreamer-plugins.args:
5664 * docs/plugins/inspect/plugin-coreelements.xml:
5665 * docs/plugins/inspect/plugin-coreindexers.xml:
5666 Update docs with caps info.
5668 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5671 Updated Italian translation.
5673 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5677 Update Vietnamese translations.
5679 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5681 * libs/gst/base/gstbasesink.c:
5682 Remove unused signal enum.
5684 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5686 * docs/gst/gstreamer-sections.txt:
5688 * gst/gstutils.c: (gst_type_register_static_full):
5689 Beef up and include the docs for gst_type_register_static_full and
5690 gst_element_class_set_details_simple and add the API keyword
5693 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5695 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5696 (update_time_level), (gst_single_queue_push_one),
5697 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5698 (single_queue_overrun_cb), (single_queue_underrun_cb),
5699 (single_queue_check_full):
5700 Fix setting max-* properties after adding queues.
5701 Use IS_FILLED for checking visible items.
5702 Signal overrun if multiple queues overrun.
5703 Add extra debug output.
5704 Patch by: Wim Taymans <wim@fluendo.com>
5706 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5708 * gst/gstelement.c: (gst_element_class_set_details_simple):
5710 * gst/gstutils.c: (gst_type_register_static_full):
5712 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5713 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5714 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5715 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5716 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5717 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5718 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5719 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5720 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5721 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5722 (apply_buffer), (gst_queue_chain):
5723 * plugins/elements/gsttee.c: (gst_tee_base_init):
5724 * plugins/elements/gsttypefindelement.c:
5725 (gst_type_find_element_base_init),
5726 (gst_type_find_element_class_init):
5727 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5728 API: add gst_type_register_static_full
5729 API: add gst_element_class_set_details_simple
5731 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5733 * docs/pwg/advanced-types.xml:
5734 Fix typo in iana.org URI.
5736 2007-06-19 Andy Wingo <wingo@pobox.com>
5738 * tests/check/pipelines/simple-launch-lines.c
5739 (test_state_change_returns): Enable pull-mode tests now that
5740 basesink has been fixed.
5742 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5743 Changed from gst_base_sink_is_prerolled, reversing the sense of
5744 the return value. Returns FALSE also if the sink is in pull mode,
5745 in which case it needs no preroll.
5746 (gst_base_sink_query, gst_base_sink_change_state): Update for
5747 needs_preroll change.
5748 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5749 chaining up, in which we return SUCCESS directly if we activated
5750 in pull mode instead of ASYNC. Involves countering an async_start
5751 message sent before chaining up; not sure if this is correct, in
5752 an ideal world we only send async-start when activating in push
5755 * tests/check/pipelines/simple-launch-lines.c
5756 (test_state_change_returns): New test, partially disabled until
5759 2007-06-19 Wim Taymans <wim@fluendo.com>
5761 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5762 (gst_multi_queue_sink_event):
5765 2007-06-19 Wim Taymans <wim@fluendo.com>
5767 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5768 (gst_bin_change_state_func), (bin_push_state_continue),
5769 (bin_handle_async_start), (bin_handle_async_done),
5770 (gst_bin_handle_message_func):
5771 Move the common code for posting state-change messages into
5773 Broadcast the state signal after we posted the messages.
5774 Mark the bin as busy when it's doing a state-change.
5775 Make sure async-start/done messages don't interfere with the bin's
5776 state when it's busy.
5777 After the state change, let the bin check which elements completed the
5778 state change while it was busy so that it can update its state.
5780 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5782 * docs/random/release:
5783 Add a note about updating the doap file to the release checklist
5785 2007-06-18 Wim Taymans <wim@fluendo.com>
5787 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5788 (gst_single_queue_push_one), (gst_multi_queue_chain),
5789 (gst_multi_queue_sink_event):
5790 Make sure we don't reference the buffer/event after we have given away
5791 ownership in the queue.
5793 2007-06-18 Wim Taymans <wim@fluendo.com>
5795 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5796 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5797 Update queue state _after_ adding the item in the queue because else we
5798 could end up being full without the element added yet.
5800 2007-06-18 Wim Taymans <wim@fluendo.com>
5802 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5803 (gst_bin_remove_func), (gst_bin_get_state_func),
5804 (gst_bin_element_set_state), (gst_bin_continue_func),
5805 (bin_push_state_continue), (bin_handle_async_start),
5806 (bin_handle_async_done), (gst_bin_handle_message_func):
5808 Immediatly commit the toplevel bin state when receiving an async-done
5809 message. This enables us to avoid spawning a thread to commit the state
5810 in some common cases and it also avoids some races.
5811 Avoid spawning a state thread when adding/removing async elements to a
5812 toplevel bin. Instead we immediatly update the bin state.
5813 Get rid of iterating all the children when getting the state in the bin
5814 because it is now always up-to-date.
5815 Fix bug where locked elements would always return _SUCCESS even it they
5816 returned NO_PREROLL before being locked.
5817 Fix the order of the state_change, async-start/done messages that was
5818 sometimes incorrect.
5819 Mark the state_dirty field as deprecated, we don't need it anymore as we
5820 are always up-to-date.
5822 * gst/gstelement.c: (gst_element_get_state_func),
5823 (gst_element_continue_state):
5824 Small debug inprovements.
5825 Return the previous element state return when nothing is pending instead
5826 of blindly returning SUCCESS.
5828 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5830 Add a whole bunch of new testcases.
5832 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5836 Update translations.
5838 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5841 Fix typo in the docs.
5843 2007-06-15 Wim Taymans <wim@fluendo.com>
5845 * docs/libs/gstreamer-libs-sections.txt:
5846 Add docs for new methods.
5848 2007-06-15 Wim Taymans <wim@fluendo.com>
5850 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5851 (gst_multi_queue_item_new):
5852 Don't use GSlice because we don't depend on >= 2.10 yet.
5854 2007-06-15 Wim Taymans <wim@fluendo.com>
5856 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5857 (update_time_level), (apply_segment), (apply_buffer),
5858 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5859 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5860 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5861 (single_queue_underrun_cb), (single_queue_check_full):
5862 Remove debug printf.
5864 2007-06-15 Wim Taymans <wim@fluendo.com>
5866 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5867 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5868 (gst_data_queue_set_flushing), (gst_data_queue_push),
5869 (gst_data_queue_pop), (gst_data_queue_drop_head),
5870 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5871 * libs/gst/base/gstdataqueue.h:
5873 Added methods to get the current levels and to inform the queue that the
5874 'full' limits changed.
5876 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5877 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5878 (gst_single_queue_flush), (update_time_level), (apply_segment),
5879 (apply_buffer), (gst_single_queue_push_one),
5880 (gst_multi_queue_item_steal_object),
5881 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5882 (gst_multi_queue_loop), (gst_multi_queue_chain),
5883 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5884 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5885 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5886 (single_queue_underrun_cb), (single_queue_check_full),
5887 (gst_single_queue_new):
5888 Keep track of time in the queue by measuring the difference between
5889 running_time on input and output. This gives more accurate results and
5890 can compensate for segments correctly.
5891 Make a queue by default only 5 buffers deep. We will now increase the
5892 buffer size depending on the filledness of the other queues.
5893 Factor out commong flush code.
5894 Make sure we don't add additional refcounts to buffers when we can avoid
5896 Propagate GstFlowReturn differently.
5897 Use GSlice for intermediate GstMultiQueueItems.
5899 Resize queues on over and underruns based on filled level of other
5901 When checking if the queue is filled, prefer to measure in time if we
5902 can and fall back to bytes when no time is known.
5904 * plugins/elements/gstqueue.c:
5907 2007-06-15 Wim Taymans <wim@fluendo.com>
5909 * libs/gst/base/gstbasetransform.c:
5910 (gst_base_transform_sink_event):
5911 Work around the brokenness of the event vmethod in basetransform. Prefer
5912 to return TRUE when the subclass returned FALSE (meaning don't forward
5915 * libs/gst/base/gstbasetransform.h:
5918 2007-06-15 Wim Taymans <wim@fluendo.com>
5920 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5921 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5922 (gst_base_src_default_query), (gst_base_src_get_range),
5923 (gst_base_src_start):
5924 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5927 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5929 * docs/pwg/advanced-types.xml:
5930 Added more formats to caps table.
5932 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5934 * tools/gst-launch.c: (main):
5935 Remove crufy code. GOption does not need this workaround.
5937 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5939 * libs/gst/controller/gstcontroller.c:
5940 (gst_controlled_property_set_interpolation_mode):
5941 Fix wrong getter for enums in controller.
5943 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5945 * libs/gst/check/gstcheck.c: (gst_check_init):
5946 Intercept criticals and warnings in the Gst-Phonon log domain, so
5947 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5950 2007-06-14 Edward Hervey <edward@fluendo.com>
5952 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5953 Since this file doesn't include "gst.h" it will not go through the
5954 macros that disable GST_LOG if debugging was disabled.
5956 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5958 * libs/gst/check/Makefile.am:
5959 * libs/gst/check/gstcheck.h:
5960 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5961 * pkgconfig/gstreamer-check.pc.in:
5962 Ugly 'fix' for the controller unit test on the p5 bot: in
5963 fail_unless_equals_float() check whether the values are 'almost
5964 equal' by allowing a small absolute error, which should be good
5965 enough for our use cases (normal numbers and values close to 0).
5966 Proper fixage left to floating point arithmetic aficionados.
5968 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5970 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5971 (gst_base_sink_render_object), (gst_base_sink_get_position):
5972 Add two breaks thats where missing.
5974 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5976 * docs/libs/gstreamer-libs-sections.txt:
5977 * libs/gst/check/gstcheck.h:
5978 API: add fail_unless_equals_float() and assert_equals_float().
5979 Add documentation for some of the macros.
5981 * tests/check/libs/controller.c: (GST_START_TEST):
5982 Use newly-added asserts.
5984 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5986 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5987 Show the caps change in the log to help spotting the case of not
5988 exactly matching caps.
5990 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5992 * docs/pwg/building-boiler.xml:
5993 Fix typos, spotted by Thijs Vermeir (#447190).
5995 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5997 * docs/plugins/tmpl/.cvsignore:
5998 Ignore file to keep the buildbots happy
6000 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
6002 * docs/plugins/Makefile.am:
6003 * docs/plugins/gstreamer-plugins-docs.sgml:
6004 * docs/plugins/gstreamer-plugins-sections.txt:
6005 Pull fdsink into the docs too.
6007 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
6009 * libs/gst/controller/gstinterpolation.c:
6010 Actually use the new functions with min/max checks for the trigger and
6011 none interpolation modes for get() and get_value_array() instead of
6014 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
6016 * libs/gst/controller/gstcontroller.c:
6017 (gst_controlled_property_free):
6018 Unset the minimum and maximum GValues when freeing the corresponding
6019 GstControllerProperty struct.
6021 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
6023 * libs/gst/controller/gstcontroller.c:
6024 (gst_controlled_property_new):
6025 * libs/gst/controller/gstcontrollerprivate.h:
6026 * libs/gst/controller/gstinterpolation.c:
6027 (gst_controlled_property_find_control_point_node),
6028 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6029 (interpolate_none_get_string_value_array),
6030 (interpolate_trigger_get),
6031 (interpolate_trigger_get_enum_value_array),
6032 (interpolate_trigger_get_string_value_array):
6033 Protect against values larger or smaller than the minimum or maximum
6034 allowed value for the property when using values that can be compared.
6036 Optimize trigger interpolator a bit by taking the last requested value
6037 into account instead of always looping through the complete list.
6039 Fix coding style a bit, everywhere else we use "return foo" instead
6042 * tests/check/libs/controller.c: (GST_START_TEST),
6043 (gst_controller_suite):
6044 Add unit test for the protection against too large or too small
6047 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6049 * docs/random/slomo/controller.txt:
6050 Add some thoughts about the future of the controller.
6052 2007-06-08 Wim Taymans <wim@fluendo.com>
6054 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6055 Don't overflow in retimestamping code.
6057 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6059 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6060 Use gst_util_guint64_to_gdouble for conversions.
6061 * win32/common/libgstreamer.def:
6062 Add new exported functions.
6064 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6067 Small docs addition.
6069 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6072 Remove that test line again.
6074 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6077 Test commit mail sending.
6079 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6082 Fix typo and test commit mail sending.
6084 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6086 * tests/examples/controller/audio-example.c:
6087 Improve comment and test commit mail sending.
6089 2007-06-07 Wim Taymans <wim@fluendo.com>
6091 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6092 (gst_bin_remove_func), (gst_bin_element_set_state),
6093 (bin_handle_async_start), (bin_handle_async_done),
6094 (gst_bin_handle_message_func):
6095 Add helper function to find messages.
6096 Generate the async-done messages together with the state change
6098 Small cleanups in handling toplevel bins.
6100 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6102 * libs/gst/base/gstdataqueue.c:
6103 * libs/gst/base/gstdataqueue.h:
6104 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6105 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6106 (gst_multi_queue_sink_event):
6107 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6108 Fix multiqueue leaking buffers and events when downstream or the
6109 queue are flushing. Make refcounting assumptions explicit and
6110 document them (shouldn't break existing code that uses it other than
6111 maybe leak miniobjects, but that already happens anyway). Add unit
6112 test for the most common flushing case. Fixes #423700.
6114 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6116 * libs/gst/controller/gstcontroller.c:
6117 Clarify docs: The get_all, get_value_array(s) functions
6118 don't modify the GObject properties.
6120 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6122 * libs/gst/controller/gstcontroller.c:
6123 (gst_controlled_property_set_interpolation_mode),
6124 (gst_controlled_property_prepend_default),
6125 (gst_controlled_property_new), (gst_controller_set_unlocked),
6126 (gst_controller_set), (gst_controller_set_from_list),
6127 (gst_controller_unset), (gst_controller_unset_all):
6128 * libs/gst/controller/gstcontrollerprivate.h:
6129 * libs/gst/controller/gstinterpolation.c:
6130 Factor out the 'set' logic into gst_controller_set_unlocked for the
6131 gst_controller_set and gst_controller_set_from_list functions.
6133 To make life of the interpolators easier always add a control point
6134 at timestamp zero with the default value.
6136 In the linear interpolator make things more obvious by better variable
6139 Implement cubic interpolation mode (by using a natural cubic spline)
6140 and map the quadratic interpolation mode to this too (as quadratic
6141 doesn't make much sense, see discussion on the list).
6143 * tests/check/libs/controller.c: (GST_START_TEST),
6144 (gst_controller_suite):
6145 Add unit test for the cubic interpolation mode and check everywhere
6146 if the interpolation mode could be set as expected.
6148 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6150 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6151 Don't use GLib-2.10 functions, we still depend on
6152 GLib-how-old-is-it-again-2.8.
6154 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6156 * docs/gst/gstreamer-sections.txt:
6160 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6161 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6162 (_gst_param_fraction_values_cmp),
6163 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6164 * gst/gstparamspecs.h:
6166 * tests/check/Makefile.am:
6167 * tests/check/gst/.cvsignore:
6168 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6169 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6170 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6171 (GST_START_TEST), (gst_param_spec_suite):
6172 API: add GstParamSpecFraction, so elements can have fraction
6173 properties without lots of painful string parsing (#444648).
6175 2007-06-05 Wim Taymans <wim@fluendo.com>
6177 * gst/gstobject.c: (gst_object_class_init):
6178 Fix signal signature.
6181 Add small clarification in the api docs.
6183 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6184 States are protected with object lock.
6186 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6189 I should probably be listed as an author by now.
6191 * docs/random/release:
6192 Update the release doc
6194 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6197 Make docs for gst_value_compare() mention return enums that
6200 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6205 === release 0.10.13 ===
6207 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6210 releasing 0.10.13, "With or without you"
6212 2007-05-25 Wim Taymans <wim@fluendo.com>
6214 * gst/gstbin.c: (bin_handle_async_done):
6215 Make sure that the child bin stops after completing the async state
6216 change so that the parent can continue the state change to PLAYING.
6219 2007-05-25 Wim Taymans <wim@fluendo.com>
6221 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6222 (unref_data), (gst_collect_pads_remove_pad),
6223 (gst_collect_pads_check_pads):
6224 Use additional refcounting to avoid crashes when dynamically adding and
6225 removing pads. Fixes #420206.
6227 2007-05-24 Wim Taymans <wim@fluendo.com>
6229 * tools/gst-launch.c: (event_loop):
6230 When buffering goes from a two digit to a single digit number, make sure
6231 to remove the old second digit by writing a blank over it.
6233 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6235 * libs/gst/base/gstdataqueue.c:
6236 Eliminate tabs and trailing comma in enum list; fix some typos.
6238 2007-05-24 Wim Taymans <wim@fluendo.com>
6240 * tests/check/gst/gstbin.c: (GST_START_TEST):
6241 Allow refcount of 3 and 4 because some state thread might still be busy
6244 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6246 * plugins/elements/Makefile.am:
6247 * plugins/elements/gstmultiqueue.h:
6248 * plugins/elements/gstqueue.h:
6249 These are not installed headers, no need for padding.
6251 2007-05-24 Wim Taymans <wim@fluendo.com>
6253 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6254 (gst_bin_continue_func):
6255 Enable latency for next release.
6256 Restore STATE_LOCK around recalc_state that was left out during the
6257 rewrite and could result in racy behaviour when _get_state and
6258 recalc_state are run concurrently. See #440463.
6260 2007-05-23 Wim Taymans <wim@fluendo.com>
6262 * tests/check/gst/gstsystemclock.c: (store_callback),
6264 Improve test_async_order to also work when both timers are already
6265 expired when we get scheduled to check it.
6267 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6269 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6270 (gst_bin_set_property), (gst_bin_get_property),
6271 (gst_bin_remove_func), (gst_bin_handle_message_func):
6273 'private' is a c++ keyword, let's not use that in header files,
6274 otherwise c++ compilers will throw a tantrum.
6276 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6278 * plugins/elements/gstelements.c:
6279 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6280 (gst_file_sink_get_current_offset):
6281 * plugins/indexers/gstindexers.c: (plugin_init):
6282 Use #ifdef for HAVE_XYZ for consistency.
6284 * tests/check/Makefile.am:
6285 * tests/check/elements/.cvsignore:
6286 * tests/check/elements/filesink.c: (setup_filesink),
6287 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6288 Add some unit tests for filesink.
6290 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6292 Patch by: Mark Nauwelaerts <manauw at skynet be>
6294 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6295 (gst_file_sink_query), (gst_file_sink_do_seek),
6296 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6297 * plugins/elements/gstfilesink.h:
6298 Fix position reporting; rename data_written member to current_pos to
6299 reflect its real meaning (fixes #412648).
6301 2007-05-22 Edward Hervey <edward@fluendo.com>
6303 * docs/gst/gstreamer-sections.txt:
6304 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6305 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6306 (gst_bin_remove_func), (gst_bin_handle_message_func):
6308 Add a property for bins that handle the state change of their childs.
6311 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6313 * libs/gst/controller/gstinterpolation.c:
6314 Use an array of the correct type when using _get_value_array with
6315 linear interpolation.
6317 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6319 * gst/gstelement.c (gst_element_requires_clock,
6320 gst_element_provides_clock, gst_element_request_pad,
6321 gst_element_class_set_details, gst_element_class_set_details_simple,
6322 gst_element_default_send_event, gst_element_abort_state,
6323 gst_element_continue_state, gst_element_set_state,
6324 gst_element_set_state_func, iterator_activate_fold_with_resync):
6325 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6326 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6327 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6328 gst_pad_get_range, gst_pad_pull_range):
6329 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6330 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6331 GstPadActivateModeFunction, GstPadChainFunction,
6332 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6333 GstPadFixateCapsFunction, GstPadTemplate):
6334 * gst/gstpipeline.c (gst_pipeline_change_state,
6335 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6336 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6337 gst_pipeline_get_delay):
6338 Whitespace and docs fixes.
6340 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6342 * libs/gst/controller/gstinterpolation.c:
6343 (interpolate_trigger_get_enum_value_array),
6344 (interpolate_trigger_get_string_value_array):
6345 Add support for retrieving value arrays when using the trigger
6348 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6350 * libs/gst/controller/gstcontroller.c:
6351 (gst_controller_get_value_array):
6352 * libs/gst/controller/gstcontroller.h:
6353 Clarify the docs of gst_controller_get_value_array(): The array where
6354 the values should be written to must be allocated as there seems to be
6355 no way to get the size of a random GType. This doesn't change any
6356 behaviour. Also fix some typos all over the place and remove an unused,
6357 commented function that is not necessary as g_object_set() could be
6359 * tests/check/libs/controller.c: (GST_START_TEST),
6360 (gst_controller_suite):
6361 Add unit test for gst_controller_get_value_array().
6363 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6365 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6367 Disable part of the gst_buffer_try_new_and_alloc test, because
6368 it can happily succeed on 64-bit systems where there's more address
6371 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6373 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6374 Add unit test for the improved caps checking from bug #421543.
6376 2007-05-21 Wim Taymans <wim@fluendo.com>
6378 * docs/design/part-synchronisation.txt:
6381 * gst/gstbin.c: (gst_bin_query):
6382 * plugins/elements/gstqueue.c: (apply_segment):
6388 2007-05-21 Wim Taymans <wim@fluendo.com>
6390 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6391 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6392 (gst_pad_configure_src):
6393 Added simple version of improved caps checking. It was previously
6394 assumed that a setcaps function would check the validity of the caps but
6395 people prefer us to check caps against the template automatically.
6398 2007-05-21 Wim Taymans <wim@fluendo.com>
6400 * libs/gst/base/gstbasetransform.h:
6401 Fix macro for locking/unlocking the transform lock.
6403 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6405 * docs/plugins/tmpl/.cvsignore:
6408 2007-05-18 Edward Hervey <edward@fluendo.com>
6410 * plugins/elements/gstqueue.c: (gst_queue_loop):
6411 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6412 for the subtle art of warning a potentially blocking thread that it
6413 should check the source pad return value, and relay the information
6416 2007-05-18 Edward Hervey <edward@fluendo.com>
6418 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6419 Release the queue lock !
6421 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6423 * docs/libs/gstreamer-libs-sections.txt:
6424 Add the two new controller functions to the appropiate places.
6426 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6428 reviewed by: Stefan Kost <ensonic@users.sf.net>
6430 * libs/gst/controller/gstcontroller.c:
6431 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6432 (_gst_controller_get_property), (_gst_controller_set_property),
6433 (_gst_controller_init), (_gst_controller_class_init):
6434 * libs/gst/controller/gstcontroller.h:
6435 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6436 (gst_object_get_control_rate), (gst_object_set_control_rate):
6437 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6438 Add API that provides sync suggestion timestamps for elements that
6439 call gst_object_sync_values() from which those elements can subdivide
6440 their processing loop to get the best results for the controlled
6441 properties. For now it just suggests last_sync + control_rate as
6442 new timestamp but this will be improved in the future.
6444 While doing that change the control-rate property to a GstClockTime
6445 from guint and change it's meaning from samples to nanoseconds as
6446 the GstController doesn't know anything about sampling rate. Strictly
6447 speaking this breaks ABI but as the control-rate property didn't do
6448 anything in the past and as such couldn't be used this should be no
6451 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6453 reviewed by: Stefan Kost <ensonic@users.sf.net>
6455 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6456 (gst_controller_unset_all):
6457 * libs/gst/controller/gstcontrollerprivate.h:
6458 * libs/gst/controller/gstinterpolation.c:
6459 (gst_controlled_property_find_control_point_node):
6460 Save last synced value from the list to continue searching from there
6461 in future syncs. This speeds everything up a bit.
6463 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6465 reviewed by: Stefan Kost <ensonic@users.sf.net>
6467 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6468 (gst_control_point_find), (gst_controlled_property_new),
6469 (gst_control_point_free), (gst_controlled_property_free),
6470 (gst_controller_set), (gst_controller_set_from_list),
6471 (gst_controller_unset), (gst_controller_unset_all),
6472 (gst_controller_sync_values):
6473 * libs/gst/controller/gstcontroller.h:
6474 * libs/gst/controller/gstcontrollerprivate.h:
6475 * libs/gst/controller/gstinterpolation.c:
6476 (gst_controlled_property_find_control_point_node),
6477 (interpolate_none_get), (interpolate_trigger_get):
6478 Add a new private GstControlPoint struct which "inherits" from
6479 GstTimedValue to allow different interpolators to store internal
6480 values next to each control point. From the outside everything is
6481 still a GstControlPoint so we don't loose binary compatibility.
6482 Also fixup all the GValue handling to not leak GValues or list nodes.
6483 * tests/check/libs/controller.c: (GST_START_TEST):
6484 Free the list nodes and GValues in the controller_misc test.
6486 2007-05-17 Edward Hervey <edward@fluendo.com>
6491 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6493 * gst/gstplugin.c: (gst_plugin_load_file):
6494 If we fail to load a plugin because of unresolved symbols or missing
6495 libraries and spew a warning to stderr, we may just as well mention
6496 which plugin it was that failed to load.
6498 2007-05-13 David Schleef <ds@schleef.org>
6500 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6501 handles the case when ENABLE_GTK_DOC is false, and installs
6502 the prebuilt documentation. So gtk-doc subdirs are
6503 unconditionally enabled. Fixes: #349099.
6505 2007-05-13 David Schleef <ds@schleef.org>
6507 * gst/gstutils.h: Reword some documentation.
6509 2007-05-12 David Schleef <ds@schleef.org>
6511 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6512 do anything with the passed "module" parameter, so remove it.
6513 Allows removal of additional vestigal code.
6515 2007-05-12 David Schleef <ds@schleef.org>
6518 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6519 Switch to using g_stat() because it's more portable.
6521 2007-05-12 David Schleef <ds@schleef.org>
6524 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6525 parsing for embedded systems.
6526 * gst/gstelementfactory.c:
6527 Allow gst_element_register() to be called with plugin==NULL.
6528 Did nobody notice that static elements were broken?
6530 2007-05-12 Wim Taymans <wim@fluendo.com>
6532 * tools/gst-launch.c: (event_loop):
6533 Give more interesting info when buffering starts and stops.
6534 Fix case where buffering starts but we fail to update the buffering flag
6535 because the target state is not PLAYING.
6537 2007-05-12 Wim Taymans <wim@fluendo.com>
6539 * plugins/elements/gstqueue.c: (gst_queue_init),
6540 (gst_queue_finalize), (update_time_level), (apply_segment),
6541 (apply_buffer), (gst_queue_locked_flush),
6542 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6543 (gst_queue_handle_sink_event), (gst_queue_chain),
6544 (gst_queue_push_one), (gst_queue_loop):
6545 * plugins/elements/gstqueue.h:
6546 Refactor an cleanup queue a bit.
6547 Do better time level calculations that also work when the srcpad is not
6549 Remove some unneeded debug lines.
6551 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6552 Added testcase for time level measurement.
6553 Try to make some stuff more racefree.
6555 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6557 * gst/gsturi.c: (gst_element_make_from_uri):
6558 Don't leak plugin feature.
6560 * tests/check/Makefile.am:
6561 * tests/check/gst/.cvsignore:
6562 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6563 Add brain-dead unit test.
6565 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6567 Patch by: Jeroen Wouters <woutersj at gmail com>
6569 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6570 Treat protocol strings in a case-insensitive way (#437563).
6572 2007-05-11 Michael Smith <msmith@fluendo.com>
6574 * gst/gstplugin.c: (gst_plugin_load_file):
6575 * gst/gstregistry.c: (gst_registry_scan_path_level):
6576 Don't print a g_warning for any failure to load a shared object.
6577 Instead, push this down into gstplugin.c, and warn _only_ if we
6578 failed to open the module (i.e. failure to link).
6579 Avoids warnings on normal, working, non-plugin .so files.
6581 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6583 * gst/gstplugin.c (gst_plugin_load_file):
6584 * gst/gstregistry.c (GST_CAT_DEFAULT,
6585 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6586 Print a g_warning if there was an error when loading a plugins during
6587 registry scan. The shuld help beginners starting with gst-plugin
6590 2007-05-10 Wim Taymans <wim@fluendo.com>
6592 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6593 (update_time_level), (gst_queue_locked_flush),
6594 (gst_queue_handle_sink_event), (gst_queue_chain),
6595 (gst_queue_push_one), (gst_queue_loop):
6596 * plugins/elements/gstqueue.h:
6597 Be smarter when calculating the current amount of data in the queue by
6598 measuring the difference between start and end timestamps (in running
6599 time) inside the queue. Fixes #432876.
6600 API: GstQueue::pushing to notify elements that we are pushing data again
6601 since the running signal is rather broken for this purpose.
6603 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6605 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6606 gst_queue_base_init, gst_queue_init):
6609 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6611 * win32/common/libgstreamer.def:
6612 Add new exported functions.
6613 * win32/vs6/grammar.dsp:
6614 Use grammar pre-generated files.
6616 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6618 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6621 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6623 * gst/gstutils.c: (gst_parse_bin_from_description):
6625 Maintain API and ABI when --disable-parse is used. Now that
6626 we have an appropriate error code, we can just return NULL and the
6627 appropriate error when gst_parse_launch() is used despite it having
6628 been disabled (#342564).
6630 * tests/check/Makefile.am:
6631 * tests/check/pipelines/.cvsignore:
6632 * tests/check/pipelines/parse-disabled.c:
6633 Make sure these functions exist and return NULL plus a GError when
6634 --disable-parse is used.
6636 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6638 * tests/benchmarks/complexity.c: (main):
6639 * tests/benchmarks/mass-elements.c: (main):
6640 Set a good example and don't leak messages.
6642 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6644 * docs/gst/Makefile.am:
6645 * docs/libs/Makefile.am:
6646 Correct fixxrefs options.
6648 * docs/plugins/Makefile.am:
6649 * docs/plugins/gstreamer-plugins-docs.sgml:
6650 * docs/plugins/gstreamer-plugins-sections.txt:
6651 * plugins/elements/Makefile.am:
6652 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6653 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6654 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6655 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6656 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6657 _GstCapsFilterClass, trans_class):
6658 * plugins/elements/gstelements.c (name, rank, type, _elements):
6659 * plugins/elements/gstidentity.c
6660 (gst_identity_check_imperfect_timestamp,
6661 gst_identity_check_imperfect_offset):
6662 Document capsfilter and add doc-blurb to identity.
6664 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6666 * libs/gst/controller/gstcontroller.c:
6667 (gst_controlled_property_set_interpolation_mode):
6668 * libs/gst/controller/gstinterpolation.c:
6669 Don't crash if someone tries to set an interpolation mode that
6670 is invalid or that isn't supported yet. Fixes #422295.
6672 * tests/check/libs/controller.c: (GST_START_TEST),
6673 (gst_controller_suite):
6674 Add a test case for the above.
6676 2007-05-03 Edward Hervey <edward@fluendo.com>
6678 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6679 Properly set the last_stop position on GstSegment. This will only happen
6680 if there is a buffer to push out.
6682 2007-05-03 Wim Taymans <wim@fluendo.com>
6684 * libs/gst/base/gstbasetransform.c:
6685 (gst_base_transform_buffer_alloc):
6686 always_in_place does not mean that the sink and source caps are the
6687 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6689 2007-05-03 Wim Taymans <wim@fluendo.com>
6691 * docs/libs/gstreamer-libs-sections.txt:
6692 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6693 (gst_base_src_default_query), (gst_base_src_get_range):
6694 * libs/gst/base/gstbasesrc.h:
6695 API: gst_base_src_query_latency(). Added method so that subclasses can
6696 easily get the latency values of the base source class.
6698 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6700 * tools/gst-inspect.c (print_implementation_info):
6703 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6705 * tools/Makefile.am:
6706 * tools/gst-launch.1.in:
6707 Don't create a customised man page based on the host architecture,
6708 describe the default registry path generically. That way the man
6709 page is the same for all architectures and packagers have one
6710 multilib issue less to deal with. Fixes #434926.
6712 2007-05-02 Wim Taymans <wim@fluendo.com>
6715 Fix documentation as spotted by rg on IRC.
6717 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6720 Improve docs for gst_element_{link,unlink}.
6722 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6724 * docs/design/part-events.txt:
6725 * docs/design/part-overview.txt:
6729 * libs/gst/base/gstbasesink.c:
6730 Typo fixes; minor docs addition.
6732 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6734 * docs/gst/gstreamer-sections.txt:
6735 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6736 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6738 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6739 or src that supports a given URI protocol exists.
6741 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6743 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6744 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6745 Set the location to NULL if "file://" is set as URI. Otherwise
6746 some random previous URI would still be set if "file://" is
6747 set on an already used filesink/filesrc.
6749 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6751 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6752 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6753 Special case the "file://" URI as as this is used by some
6754 applications to test with gst_element_make_from_uri if there's
6755 an element that supports the URI protocol.
6756 Also move the g_path_is_absolute() check for the location part
6757 of the URI to also check this for "file://localhost/bla" URIs.
6759 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6761 * docs/gst/gstreamer-sections.txt:
6762 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6764 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6766 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6768 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6770 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6771 (gst_registry_binary_load_pad_template),
6772 (gst_registry_binary_load_plugin),
6773 (gst_registry_binary_read_cache):
6774 * gst/gstregistrybinary.h:
6775 Implement no-mmap alternative for registry reading. Do code cleanups.
6776 Add more comments about avoiding strdups for all text data. Comments
6779 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6781 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6782 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6783 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6784 Comment structs and reformat to fix the build (that stuff should go
6785 into a priv. header).
6787 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6789 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6790 (gst_registry_binary_load_feature):
6791 * gst/gstregistrybinary.h:
6792 Refactor so that we can implement multiple features. Add support for
6793 TypeFindFactory features.
6795 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6797 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6800 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6802 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6804 * gst/gstbin.c: (gst_bin_element_set_state),
6805 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6806 (bin_handle_async_done), (gst_bin_handle_message_func):
6807 Fix build with --gst-disable-gst-debug
6809 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6811 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6812 Make sure streaming has finished before calling the ::stop() vfunc,
6813 since that vfunc might clear state which is being used in the
6814 streaming thread. This fixes a race that caused crashes in
6815 audioresample when shutting down a pipeline (#420106).
6817 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6819 * docs/gst/gstreamer-sections.txt:
6820 That was one byte missing.
6822 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6825 * docs/gst/gstreamer-sections.txt:
6827 * gst/gstconfig.h.in:
6828 * gst/gstobject.c: (gst_object_class_init),
6829 (gst_signal_object_class_init):
6831 2nd attempt to have a xml-less build as a joined effort of #413123
6834 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6836 * docs/design/draft-tagreading.txt:
6837 Added open issues/thoughts to draft.
6839 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6841 * gst/parse/grammar.tab.pre.c:
6842 * gst/parse/grammar.tab.pre.h:
6843 * gst/parse/lex._gst_parse_yy.pre.c:
6844 Update the prebuild parser sources.
6846 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6848 * gst/parse/Makefile.am:
6849 And now fix the building of the flex sources. Now everything should
6852 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6854 * gst/parse/Makefile.am:
6855 Now hopefully fix the build failures by setting proper rule
6856 dependencies and moving instead of copying.
6858 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6860 * tests/benchmarks/complexity.gnuplot:
6861 * tests/benchmarks/complexity.scm:
6862 * tests/benchmarks/mass-elements.gnuplot:
6863 * tests/benchmarks/mass-elements.scm:
6864 Total licensification.
6866 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6868 * gst/parse/Makefile.am:
6869 Fix the build by correcting the rule that gave wrong files to flex.
6871 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6873 * tests/benchmarks/complexity.c:
6874 * tests/benchmarks/mass-elements.c:
6875 Change licence to LGPL as granted by Benjamin and Andy.
6877 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6879 * gst/parse/Makefile.am:
6880 Add correct grammar.tab.h dependency if compiling without new enough
6881 flex. Fixes #431150.
6883 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6885 * gst/parse/Makefile.am:
6886 Fix typo and use outdated sources if the flex/bison sources are newer
6887 than the pregenerated ones but flex is too old. Print a warning in
6888 that case. This should fix the build on the build bot.
6890 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6892 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6893 * gst/parse/Makefile.am:
6894 * gst/parse/grammar.y:
6895 * gst/parse/parse.l:
6896 Make the parser reentrant and recursively callable. This requires flex
6897 >= 2.5.31, for older versions pregenerated sources are used as we
6898 can't bump the build dependency. Finally fixes #349180.
6900 * gst/gstparse.c: (gst_parse_launch):
6901 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6904 * docs/gst/Makefile.am:
6905 * docs/gst/Makefile.am:
6906 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6907 (__gst_parse_strfree), (__gst_parse_link_new),
6908 (__gst_parse_link_free), (__gst_parse_chain_new),
6909 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6910 (gst_parse_element_set), (gst_parse_free_link),
6911 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6912 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6913 (_gst_parse_launch):
6914 * gst/parse/grammar.tab.pre.h:
6915 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6916 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6917 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6918 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6919 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6920 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6921 (_gst_parse_yypop_buffer_state),
6922 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6923 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6924 (yy_fatal_error), (_gst_parse_yyget_extra),
6925 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6926 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6927 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6928 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6929 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6930 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6931 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6932 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6933 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6934 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6935 (_gst_parse_yyfree):
6936 If the installed flex version is too old use pre-generated parser
6937 sources. These pre-generated parser sources are always updated when
6938 the actual flex/bison sources change but require everybody who wants
6939 to change something in the parser to have flex >= 2.5.31 installed.
6941 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6943 * common/m4/gst-gettext.m4:
6944 * gst/gst-i18n-lib.h:
6945 Make --disable-nls to work
6947 2007-04-17 Wim Taymans <wim@fluendo.com>
6949 * gst/gstconfig.h.in:
6950 Revert previous change that broke the build.
6952 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6956 * gst/gstconfig.h.in:
6957 Drop libxml2 dependency when building with
6958 --enable-binary-registry --disable-loadsave
6960 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6962 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6963 (gst_registry_binary_read_cache):
6964 * gst/gstregistrybinary.h:
6965 Remove unnecessary <sys/mman.h> include which broke the win32 build
6966 with MingW; move includes from header file to .c file, even if the
6967 header file isn't installed; use g_strerror() where UTF-8 strings
6968 are expected, such as in GST_DEBUG messages.
6970 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6972 * docs/libs/gstreamer-libs-sections.txt:
6973 Remove bogus addition for API I didn't end up keeping.
6975 * libs/gst/base/gstbasesrc.h:
6976 Mention Since: 0.10.13 in the documentation.
6978 Add the API keyword to the previous ChangeLog entry.
6980 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6982 * docs/libs/gstreamer-libs-sections.txt:
6983 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6984 (gst_base_src_default_prepare_seek_segment),
6985 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6986 * libs/gst/base/gstbasesrc.h:
6987 Allow basesrc derived classes to execute seeks in other formats
6988 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6989 to prepare the GstSegment in any format that their perform_seek method
6990 will be able to understand. The default implementation provides the
6991 old behaviour of attempting to convert the seek offsets to the
6992 configured native format.
6994 API: basesrc::prepare_seek_segment vmethod.
6996 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6998 * gst/gstelement.c: (gst_element_get_state_func):
6999 Don't output the same debug statement twice.
7001 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
7002 (gst_adapter_peek), (gst_adapter_take_buffer):
7003 Optimise the case where we have buffers at the head of the queue that
7004 can be joined quickly (because they're contiguous sub-buffers) by
7005 merging them together rather than copying data out into new memory.
7007 * gst/parse/grammar.y:
7008 * tests/check/pipelines/parse-launch.c:
7009 Fix a leak in an error path for parse_launch, and add a check
7010 for it to the testsuite.
7012 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
7014 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7015 Don't deadlock when releasing a pad - gst_pad_set_active may try
7016 and take the multiqueue lock too.
7018 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
7020 * gst/gsterror.c: (_gst_core_errors_init):
7022 API: add GST_CORE_ERROR_DISABLED (#392804).
7024 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
7026 * docs/faq/gst-uninstalled:
7027 don't get empty paths on the PATH variables
7028 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7029 Don't format for the uncommon terminal width of 84 characters.
7031 2007-04-06 Wim Taymans <wim@fluendo.com>
7033 * gst/gstpipeline.c: (reset_stream_time),
7034 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7035 Only try to select a different pipeline clock when we went back to
7036 PAUSED and not when we merely got flushed.
7038 2007-04-05 Michael Smith <msmith@fluendo.com>
7040 * tools/gst-launch.1.in:
7041 fractions are better supported in gstreamer than ractions, so
7042 suggest using those.
7044 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7046 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7050 Added Danish translation.
7052 2007-04-05 Wim Taymans <wim@fluendo.com>
7054 * libs/gst/base/gstbasesink.c:
7055 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7056 Fix leak caused when refusing newsegment after EOS.
7058 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7059 (gst_fake_sink_init), (gst_fake_sink_set_property),
7060 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7061 (gst_fake_sink_render), (gst_fake_sink_change_state):
7062 * plugins/elements/gstfakesink.h:
7063 Add num-buffers property to make the element generate EOS after a
7064 configurable amount of buffers.
7065 API: fakesink::num-buffers property.
7067 * tests/check/elements/fakesink.c: (GST_START_TEST),
7069 Fix GstBus leak in test.
7070 Test for fakesink num-buffers.
7072 2007-04-05 Wim Taymans <wim@fluendo.com>
7074 * libs/gst/base/gstbasesink.c:
7075 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7076 (gst_base_sink_change_state):
7077 Don't accept anything after an EOS, return UNEXPECTED instead.
7079 * tests/check/elements/fakesink.c: (GST_START_TEST),
7081 Unit test for new EOS behaviour.
7083 2007-04-05 Wim Taymans <wim@fluendo.com>
7085 * gst/gstelement.c: (gst_element_get_request_pad):
7086 Make padtemplates also work when they don't contain %s or %d.
7088 2007-04-05 Wim Taymans <wim@fluendo.com>
7090 * docs/gst/gstreamer-sections.txt:
7091 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7092 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7094 Improve _adjust_unlocked() so that it overflows less.
7095 Add gst_clock_unadjust_unlocked to convert from external time to
7096 internal time based on calibration.
7097 Add some more debug.
7098 API: GstClock::gst_clock_unadjust_unlocked()
7100 2007-04-03 Wim Taymans <wim@fluendo.com>
7102 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7104 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7105 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7106 when releasing sink pad. Fixes #425400.
7108 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7110 * docs/random/ensonic/dynlink.txt:
7111 More work on proposal for new core api.
7113 * docs/libs/gstreamer-libs-sections.txt:
7114 * libs/gst/base/gstbasetransform.h:
7115 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7117 * libs/gst/controller/gstcontroller.c:
7118 (on_object_controlled_property_changed),
7119 (gst_controller_sync_values),
7120 (gst_controller_set_interpolation_mode):
7121 * libs/gst/controller/gstcontroller.h:
7122 Less verbose logging add docs for unimplemented parts and correctly
7123 return when using unavailable parts.
7125 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7127 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7128 Move all the debug to the CLOCK category, and associate it with
7131 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7133 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7134 Make take_buffer a bit quicker by removing redundant checks
7135 caused by calling gst_adapter_take.
7137 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7139 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7142 * tests/check/Makefile.am:
7143 * tests/check/elements/.cvsignore:
7144 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7145 (GST_START_TEST), (multiqueue_suite):
7146 Add some dead simple unit tests for the 'multiqueue' element
7147 (some bits don't work yet and are disabled for now).
7149 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7151 * gst/gstelement.c: (gst_element_get_request_pad),
7152 (gst_element_class_get_request_pad_template):
7153 Make gst_element_get_request_pad() create request pads only for
7154 request pad templates and not for, say, sometimes pad templates.
7156 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7158 * docs/design/draft-klass.txt:
7159 Add example that needs more thinking.
7161 * docs/design/draft-missing-plugins.txt:
7162 More thoughts about wrapper plugins.
7164 * docs/random/ensonic/embedded.txt:
7165 * docs/random/ensonic/profiling.txt:
7168 2007-03-25 Wim Taymans <wim@fluendo.com>
7170 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7171 (gst_base_src_loop):
7172 Only push the segment events in the PLAYING state for live sources.
7174 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7176 * gst/gstpipeline.c: (gst_pipeline_change_state):
7177 Modify the clock distribution path in PAUSED->PLAYING so that we
7178 never attempt to choose a new clock unless we're actually leaving
7179 the PAUSED state for the first time. This prevents choosing a
7180 different clock when the state_change gets called for a 2nd time due
7181 to some element doing an async state change.
7183 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7185 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7186 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7187 (gst_pad_chain_unchecked), (gst_pad_push):
7188 Revert last commit. This needs some more thoughts.
7190 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7192 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7193 (gst_pad_chain_unchecked), (gst_pad_push):
7194 Check in set_caps if the caps are compatible with the pad and remove
7195 two functions that are redundant now. Fixes #421543.
7197 2007-03-22 Wim Taymans <wim@fluendo.com>
7199 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7200 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7201 Unref some more to make valgrind happy.
7203 2007-03-22 Wim Taymans <wim@fluendo.com>
7205 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7206 (gst_system_clock_id_wait_jitter),
7207 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7208 Fix anoying regression that survived a few releases. When adding an
7209 async entry while blocking on a sync entry, the sync entry will unblock
7210 but still be busy, so it should continue to wait instead of returning
7212 Add some comments here and there.
7214 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7215 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7216 Add testcase for this.
7218 2007-03-22 Wim Taymans <wim@fluendo.com>
7220 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7221 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7222 WRONG_STATE and can silently pause the task. All other cases should
7225 2007-03-22 Wim Taymans <wim@fluendo.com>
7227 Patch by: Ville Syrjala <syrjala at sci dot fi>
7229 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7230 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7233 2007-03-21 Michael Smith <msmith@fluendo.com>
7235 * docs/pwg/advanced-types.xml:
7236 Fix some errors in the typefinding docs pointed out on irc.
7238 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7240 * libs/gst/base/gstbasesrc.c:
7241 Clarify FIXME comment in the face of having added unlock_stop()
7243 2007-03-21 Wim Taymans <wim@fluendo.com>
7245 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7246 Prepare for release where we warn against possible app breakage in the
7247 case of live pipelines along with an env var to enable/disable live
7248 preroll mode (GST_COMPAT=[no-]live-preroll).
7250 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7252 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7253 So we should use correct constants for checking for None offset.
7255 2007-03-20 Wim Taymans <wim@fluendo.com>
7257 * docs/design/part-block.txt:
7258 Mention the fact that the newly switched element should be set to at
7261 2007-03-20 Wim Taymans <wim@fluendo.com>
7264 Fix compilation with registry disabled as spotted by Saur.
7266 2007-03-20 Wim Taymans <wim@fluendo.com>
7268 Patch by: Olivier Crete <tester at tester dot ca>
7270 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7271 Look at the pending state too when syncing the element state to the
7272 parent. Fixes #420133.
7274 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7276 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7277 (gst_base_sink_change_state):
7278 * libs/gst/base/gstbasesink.h:
7279 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7280 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7281 (gst_base_src_deactivate):
7282 * libs/gst/base/gstbasesrc.h:
7283 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7284 for sub-classes to correctly clear any state they set trying to
7285 unlock, such as clearing out unlock commands from a command fd.
7286 API: basesrc::unlock_stop
7287 API: basesink::unlock_stop
7289 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7290 (gst_fd_sink_render), (gst_fd_sink_unlock),
7291 (gst_fd_sink_unlock_stop):
7292 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7293 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7294 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7296 Implement unlock_stop in fdsrc and fdsink.
7297 Implement seeking in fdsrc when a seekable fd is passed, as in
7298 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7300 2007-03-19 Wim Taymans <wim@fluendo.com>
7302 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7304 * gst/gstelement.c: (gst_element_class_init):
7305 Fix pad-added and pad-removed signal signatures so that the pad type is
7306 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7308 2007-03-19 Wim Taymans <wim@fluendo.com>
7310 * docs/gst/gstreamer-sections.txt:
7311 Add new element field and method.
7313 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7314 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7315 (gst_bin_recalc_state), (gst_bin_get_state_func),
7316 (gst_bin_element_set_state), (gst_bin_change_state_func),
7317 (gst_bin_continue_func), (bin_bus_handler),
7318 (bin_push_state_continue), (bin_handle_async_start),
7319 (bin_handle_async_done), (gst_bin_handle_message_func):
7320 Make async state changes a bit smarter by using new ASYNC_START and
7321 ASYNC_DONE messages. This reduces the number of times we run the state
7322 recalculation thread.
7323 Don't change state of element with a pending ASYNC_START message.
7324 Deprecate STATE_DIRTY messages.
7326 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7327 (gst_element_get_state_func), (gst_element_continue_state),
7328 (gst_element_lost_state), (gst_element_set_state_func),
7329 (gst_element_change_state):
7331 Keep the state that was last set by the app in a new element field.
7332 Don't allow state changes when handling an element event.
7333 Post ASYNC_START and ASYNC_DONE messages.
7334 Change lost_state so that we go to PAUSED and wait for the parent to set
7335 us to PLAYING again (so latency calculation can be performed)
7336 Export gst_element_change_state() method so that subclasses can use it.
7337 API: gst_element_change_state()
7338 API: GST_STATE_TARGET
7340 * gst/gstpipeline.c: (gst_pipeline_class_init),
7341 (reset_stream_time), (gst_pipeline_change_state),
7342 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7343 Using the new ASYNC_START message we can reset the base_time when
7344 needed. This can then be used to implement base_time redistribution in
7345 flushing seeks so that we can remove the explicit seek handling.
7346 Perform latency query and configuration when going to PLAYING.
7348 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7349 (gst_base_sink_query), (gst_base_sink_change_state):
7350 Post new ASYNC_START/ASYNC_DONE messages.
7352 * tests/check/generic/sinks.c: (GST_START_TEST):
7353 Fix test because the bin will not set the async element to PLAYING right
7356 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7357 Make the message check a little stronger.
7358 Handle ASYNC messages.
7360 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7361 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7362 Expect ASYNC_DONE messages.
7364 2007-03-19 Wim Taymans <wim@fluendo.com>
7366 * docs/gst/gstreamer-sections.txt:
7367 * gst/gstmessage.c: (gst_message_new_async_start),
7368 (gst_message_new_async_done), (gst_message_parse_info),
7369 (gst_message_parse_async_start):
7371 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7374 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7376 * tools/gst-inspect.c:
7377 (print_plugin_automatic_install_info_codecs):
7378 Now that we don't check for the 'Codec' keyword any longer in the
7379 klass, we shouldn't spew a warning if the klass isn't a decoder or
7380 encoder (since it might be a Source/Network, for example).
7382 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7384 * tools/gst-inspect.c:
7385 (print_plugin_automatic_install_info_codecs):
7386 Don't require decoder/demuxer/depayloader elements or
7387 encoder/muxer/paylader elements to have 'Codec' as part of their
7388 factory class string when introspecting a plugin's capabilities.
7389 draft-klass.txt mentions that it might be removed in future, and
7390 flump3dec doesn't have it as part of its class string, so chances
7391 are others might also not have it.
7393 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7415 Update translations from translation project
7417 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7419 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7420 (gst_child_proxy_set_property):
7421 Invert precondition check to be alike the ones in the mimiced gobject
7424 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7426 * docs/design/draft-tagreading.txt:
7427 * docs/random/ensonic/audiobaseclasses.txt:
7428 Do some Architect work.
7430 * gst/gstobject.c: (gst_object_set_name):
7434 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7436 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7438 * gst/gstsystemclock.c: (gst_system_clock_init),
7439 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7440 Defer starting the async system clock thread until the first async
7441 wait is scheduled. Fixes #414986.
7443 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7445 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7446 (gst_single_queue_free):
7447 Fix small leak (free GstSingleQueue structure too, not only contents).
7449 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7451 * gst/gstbin.c:(gst_bin_add):
7452 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7453 * win32/common/libgstbase.def:
7454 * win32/common/libgstreamer.def:
7455 Add new exported functions.
7457 2007-03-09 Wim Taymans <wim@fluendo.com>
7459 * docs/plugins/gstreamer-plugins-sections.txt:
7462 2007-03-09 Wim Taymans <wim@fluendo.com>
7464 * docs/gst/gstreamer-sections.txt:
7465 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7467 Add metadata copy functions. Fixes #393099.
7468 API: gst_buffer_copy_metadata()
7470 * gst/gstutils.c: (gst_buffer_stamp):
7471 * libs/gst/base/gstbasetransform.c:
7472 (gst_base_transform_prepare_output_buffer):
7473 Use new metadata copy functions.
7475 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7477 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7478 (gst_identity_init), (gst_identity_check_perfect),
7479 (gst_identity_check_imperfect_timestamp),
7480 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7481 (gst_identity_set_property), (gst_identity_get_property):
7482 * plugins/elements/gstidentity.h:
7483 Separate out check-imperfect-timestamp and check-imperfect-offset.
7484 Put back check-perfect as it was to keep compatibility.
7486 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7488 * gst/gstelement.c: (gst_element_dispose):
7489 There's no need to warn if VOID_PENDING is not NONE here, as
7490 long as the state is NULL it's ok, and that's checked immediately
7493 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7495 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7496 Fix check for perfect stream to ignore buffers with -1
7497 offsets/offset ends when checking data contiguity.
7499 2007-03-08 Wim Taymans <wim@fluendo.com>
7501 * tools/gst-launch.c: (event_loop):
7502 Print INFO messages.
7504 2007-03-08 Wim Taymans <wim@fluendo.com>
7506 * libs/gst/base/gstbasetransform.c:
7507 (gst_base_transform_sink_eventfunc),
7508 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7509 (gst_base_transform_activate):
7510 * libs/gst/base/gstbasetransform.h:
7511 Add support for dropping buffers with custom GstFlowReturn.
7512 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7513 buffers or dropped buffers.
7515 * docs/libs/gstreamer-libs-sections.txt:
7516 docs for new custom return code.
7518 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7519 Use drop support in base class to implement drop-probability.
7521 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7523 * gst/gst.c: (load_plugin_func):
7524 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7525 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7526 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7527 Remove newlines at end of debug log strings.
7529 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7531 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7532 Only post bus message at max, once per buffer received.
7534 2007-03-07 Wim Taymans <wim@fluendo.com>
7536 * docs/design/Makefile.am:
7537 * docs/design/part-synchronisation.txt:
7538 Add doc about synchronisation
7540 * docs/design/draft-latency.txt:
7541 * docs/design/part-TODO.txt:
7542 * docs/design/part-clocks.txt:
7543 * docs/design/part-events.txt:
7544 * docs/design/part-gstbus.txt:
7545 * docs/design/part-gstpipeline.txt:
7546 * docs/design/part-live-source.txt:
7547 * docs/design/part-messages.txt:
7548 * docs/design/part-overview.txt:
7549 * docs/design/part-streams.txt:
7550 * docs/design/part-trickmodes.txt:
7551 Documentation updates.
7553 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7556 Update the doap file.
7558 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7560 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7561 Rename non-perfect to imperfect for Mike and for the sanctity of the
7563 Also make sure bus message gets emitted for data-incontiguities.
7565 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7567 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7568 (gst_identity_start):
7569 * plugins/elements/gstidentity.h:
7570 Emit bus message if check-perfect is true and we encounter a
7571 non-perfect stream between 2 consecutive buffers.
7574 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7579 === release 0.10.12 ===
7581 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7584 releasing 0.10.12, "Inevitable Demise"
7586 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7589 Version 0.10.11.2 (0.10.12 pre-release)
7590 Bump libtool versioning.
7592 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7594 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7595 Log flow-names and not numbers.
7597 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7600 Convert to new AG_GST style.
7602 2007-02-28 Wim Taymans <wim@fluendo.com>
7604 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7605 Don't unref query twice.
7607 2007-02-28 Wim Taymans <wim@fluendo.com>
7609 * gst/gstvalue.c: (gst_value_transform_object_string),
7610 (_gst_value_initialize):
7611 Implement GstObject -> string transform so we print object names
7612 when serializing GValues containing GstObjects.
7614 2007-02-28 Wim Taymans <wim@fluendo.com>
7616 * docs/gst/gstreamer-sections.txt:
7617 Add new stuff to docs.
7619 2007-02-28 Wim Taymans <wim@fluendo.com>
7621 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7622 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7623 (gst_base_sink_change_state):
7624 Improve latency query code.
7625 Don't leak latency events.
7627 * tests/check/gst/gstbin.c: (GST_START_TEST):
7630 2007-02-28 Wim Taymans <wim@fluendo.com>
7632 * gst/gstelement.c: (gst_element_message_full),
7633 (gst_element_get_state_func):
7635 Improve docs a little. Added Since: for new macro.
7637 * gst/gstobject.c: (gst_object_sink):
7638 * gst/gstpipeline.c: (gst_pipeline_change_state),
7639 (gst_pipeline_set_new_stream_time):
7640 * gst/gstpipeline.h:
7641 Improve debugging and docs.
7643 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7646 2007-02-28 Wim Taymans <wim@fluendo.com>
7648 * gst/gstelement.c: (gst_element_message_full),
7649 (gst_element_set_locked_state), (gst_element_get_state_func),
7650 (gst_element_change_state):
7651 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7652 Documentation updates.
7653 Small code cleanups.
7655 * gst/gstmessage.c: (gst_message_new_info),
7656 (gst_message_parse_info):
7658 API: gst_message_new_info()
7659 API: gst_message_parse_info()
7660 Add INFO message create and parse code.
7662 2007-02-28 Wim Taymans <wim@fluendo.com>
7664 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7665 (bin_query_latency_done):
7666 Also report the live parameter of a latency query.
7668 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7670 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7671 Copy the current generic/states example from -base and adapt so
7672 we can use the exact same code everywhere.
7673 Check a STATES_IGNORE_ELEMENTS env var which can be used
7674 to ignore certain element factories for this test, which is
7675 what is being done in -base
7676 * tests/check/Makefile.am:
7677 Mention this environment variable.
7679 2007-02-27 Wim Taymans <wim@fluendo.com>
7681 * docs/gst/gstreamer-sections.txt:
7682 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7683 (gst_bus_timed_pop), (gst_bus_pop):
7685 API: gst_bus_timed_pop()
7686 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7687 message to arrive on the bus.
7689 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7691 Two unit tests for new _timed_pop() function.
7693 2007-02-23 Wim Taymans <wim@fluendo.com>
7695 * gst/gstpipeline.c: (gst_pipeline_change_state),
7696 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7697 Don't ref a NULL clock in _provide_clock_func().
7698 Don't allow an INVALID delay.
7699 Don't try to calculate base_time with an invalid start_time.
7700 Also distribute and notify a NULL clock when it was selected.
7702 * tools/gst-launch.c: (event_loop):
7703 Don't crash when a NULL clock was selected in the pipeline.
7705 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7707 * docs/design/Makefile.am:
7708 * docs/design/draft-missing-plugins.txt:
7709 * docs/random/draft-missing-plugins.txt:
7710 Some small updates: update plugin system identifier prefix
7711 ('gstreamer.net' to 'gstreamer'), mention our new install
7712 API in libgstbaseutils rather than libgimme-codec, add
7713 reference to the online docs.
7715 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7717 * win32/common/config.h:
7718 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7719 use moap cl ci to only check in what is mentioned in the ChangeLog.
7721 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7723 * docs/gst/gstreamer-sections.txt:
7725 Fix up documentation to link to the correct GstGError section.
7726 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7728 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7730 * tools/gst-launch.c: (event_loop):
7731 Make sure that we actually show the important message part of a
7733 No need to check if the gerror is not NULL to free; first of all
7734 g_free accepts NULL; and second the default error handler would
7735 segfault if gerror was NULL.
7737 2007-02-21 Wim Taymans <wim@fluendo.com>
7739 * docs/gst/gstreamer-sections.txt:
7740 Removed docs as well.
7742 2007-02-21 Wim Taymans <wim@fluendo.com>
7744 * gst/gstmessage.c: (gst_message_parse_duration):
7746 Remove new messages for release.
7748 2007-02-20 Wim Taymans <wim@fluendo.com>
7750 * docs/design/part-gstghostpad.txt:
7751 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7752 (gst_ghost_pad_new_full):
7753 Make the ghostpad a parent of the internal pad again for better backward
7754 compatibility. Don't write code that relies on this however.
7756 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7757 (gst_pad_link_check_hierarchy):
7758 Require that parents should be GstElements in the hierarchy check.
7760 2007-02-20 Wim Taymans <wim@fluendo.com>
7762 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7763 (gst_bin_change_state_func), (bin_query_min_max_init),
7764 (bin_query_latency_fold), (bin_query_latency_done),
7767 Implement latency query.
7769 2007-02-20 Wim Taymans <wim@fluendo.com>
7771 * docs/design/part-gstghostpad.txt:
7772 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7773 (gst_ghost_pad_internal_do_activate_push),
7774 (gst_ghost_pad_internal_do_activate_pull),
7775 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7776 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7777 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7778 Do not set the internal pad as a parent anymore so we can avoid
7779 hierarchy linking errors when the ghostpad has no parent yet. This also
7780 fixes failed activation because of unlinked internal pads, which in
7781 turn fixes the impossible case where you have to activate a pad before
7782 you can add it to a running element.
7785 * gst/gstpad.c: (pre_activate), (post_activate),
7786 (gst_pad_set_active), (gst_pad_activate_pull),
7787 (gst_pad_activate_push), (gst_pad_check_pull_range):
7788 Add some more debug info.
7789 Mark activation mode in pre_activate so that we don't try to activate in
7790 endless loops. Fixes #385084.
7792 2007-02-19 Wim Taymans <wim@fluendo.com>
7794 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7795 (gst_base_transform_check_get_range):
7796 Implement a checkgetrange function instead of relying on the default
7797 core behaviour that assumes we can operate in pull mode if we have a
7798 getrange function. First step at fixing #385084.
7800 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7802 * gst/gstchildproxy.h:
7803 * libs/gst/base/gstbasesink.h:
7804 * libs/gst/base/gstbasesrc.h:
7805 * libs/gst/base/gstbasetransform.h:
7806 More docs coverage and some ChangeLog surgery (add missing names)
7808 2007-02-15 Wim Taymans <wim@fluendo.com>
7810 * docs/design/part-TODO.txt:
7811 * docs/design/part-activation.txt:
7812 * docs/design/part-block.txt:
7813 * docs/design/part-buffering.txt:
7814 * docs/design/part-clocks.txt:
7815 * docs/design/part-element-source.txt:
7816 * docs/design/part-events.txt:
7817 * docs/design/part-gstbin.txt:
7818 * docs/design/part-gstbus.txt:
7819 * docs/design/part-gstpipeline.txt:
7820 * docs/design/part-live-source.txt:
7821 * docs/design/part-messages.txt:
7822 * docs/design/part-overview.txt:
7823 * docs/design/part-qos.txt:
7824 * docs/design/part-query.txt:
7825 * docs/design/part-states.txt:
7826 * docs/design/part-trickmodes.txt:
7827 Some doc updates. Start renaming from stream_time to running_time where
7828 it was used wrongly.
7830 2007-02-15 Wim Taymans <wim@fluendo.com>
7832 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7833 Answer LATENCY query.
7835 2007-02-15 Wim Taymans <wim@fluendo.com>
7837 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7841 2007-02-15 Wim Taymans <wim@fluendo.com>
7843 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7844 (gst_pad_dispatcher):
7845 Improve debugging of default pad dispatcher and query functions.
7847 2007-02-15 Wim Taymans <wim@fluendo.com>
7849 * docs/gst/gstreamer-sections.txt:
7850 Remove old unused method.
7852 2007-02-13 Wim Taymans <wim@fluendo.com>
7854 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7857 2007-02-13 Wim Taymans <wim@fluendo.com>
7859 * docs/design/part-seeking.txt:
7862 * gst/gstsegment.c: (gst_segment_set_seek):
7863 Revert old bogus change that should make seeking work again.
7865 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7867 * docs/random/ensonic/dynlink.txt:
7868 * docs/random/ensonic/interfaces.txt:
7869 * docs/random/ensonic/receipies.txt:
7870 Possible dynamic reconnection api, plus some type fixes the other two
7873 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7875 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7876 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7877 Also check for an absolute path following file:// in the filesrc
7878 element. Remove redundant check and call g_path_is_absolute() on the
7881 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7883 * docs/design/draft-klass.txt:
7884 Add existing category analysis.
7887 Fix doc example, framerate is a fraction.
7889 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7892 * docs/gst/Makefile.am:
7893 * docs/gst/gstreamer-sections.txt:
7894 * docs/libs/Makefile.am:
7895 Erm, forgot a bunch of --extra-dir.
7897 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7900 * docs/gst/Makefile.am:
7901 * docs/libs/Makefile.am:
7902 * docs/plugins/Makefile.am:
7903 Add crossreferences to glib/gobject docs.
7905 2007-02-12 Wim Taymans <wim@fluendo.com>
7907 * docs/design/draft-latency.txt:
7910 * docs/libs/gstreamer-libs-sections.txt:
7911 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7912 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7913 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7914 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7915 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7916 (gst_base_sink_get_position), (gst_base_sink_query),
7917 (gst_base_sink_change_state):
7918 * libs/gst/base/gstbasesink.h:
7919 API: gst_base_sink_query_latency() to let subclasses query the upstream
7921 API: gst_base_sink_get_latency() to let subclasses query the configured
7922 latency in the sink.
7923 Implement query and set latency.
7925 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7926 don't continue preroll when we are flushing. Fixes #405284.
7928 * tests/check/pipelines/stress.c: (change_state_timeout),
7929 (quit_timeout), (GST_START_TEST), (stress_suite):
7932 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7934 Patch by: René Stadler <mail at renestadler de>
7936 * docs/gst/gstreamer-sections.txt:
7937 * gst/gsttaglist.c: (_gst_tag_initialize):
7939 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7941 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7943 * docs/libs/Makefile.am:
7944 Fix path to core docs.
7946 * gst/gstbin.c: (gst_bin_get_by_interface),
7947 (gst_bin_iterate_all_by_interface):
7948 Refix docs by also renaming 'interface' to 'iface' in implementation.
7950 * docs/gst/gstreamer-sections.txt:
7952 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7953 * gst/gstchildproxy.h:
7954 * gst/gstelementfactory.c:
7955 * gst/gstpadtemplate.h:
7956 * libs/gst/controller/gstcontroller.c:
7957 (gst_controlled_property_new):
7960 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7962 * gst/gstbin.h:(gst_bin_get_by_interface),
7963 (gst_bin_iterate_all_by_interface):
7964 Replace interface parameter name by iface as interface is
7965 a reserved keyword in Visual Studio for C++ projects so it removes
7966 a build error for application developpers using VS.
7967 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7968 Fix a bug on Windows in uri format check. Now the prefix checked
7969 is file:// and next we check if the path after file:// is absolute.
7970 * win32/common/libgstbase.def:
7971 * win32/common/libgstdataprotocol.def:
7972 * win32/common/libgstgstreamer.def:
7973 Add new exported functions.
7975 2007-02-09 Andy Wingo <wingo@pobox.com>
7977 * tests/check/pipelines/simple-launch-lines.c
7978 (simple_launch_lines_suite, test_tee): Disable tee test until I
7979 have time to fix it :-(
7981 * tests/check/Makefile.am (noinst_HEADERS):
7982 * tests/check/libs/libsabi.c:
7983 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7984 * tests/check/gst/gstabi.c:
7985 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7987 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7988 tests for push and pull tee behavior.
7990 * plugins/elements/gsttee.h:
7991 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7992 mark as deprecated as well as unimplemented. It was a crack idea.
7993 Add support for tee operating in pull mode, off by default.
7995 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7996 normal-case logs down to LOG, raise errors to WARNING.
7997 (gst_registry_xml_read_cache): Don't log before calling a function
8000 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
8001 exit (registry finalize).
8002 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
8003 DEBUG log when we emit signals that people don't even have the
8004 chance to connect to.
8005 (gst_registry_scan_path_level): Less logging in the normal case.
8007 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8009 Patch by: Michal Benes <michal dot benes at itonis dot tv>
8011 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
8012 Correctly generate EOS for non-seekable files. We don't have a total
8013 length for them and would get an unexpected end of file if we only
8014 special-cased for regular files. (Fixes: #404569)
8016 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
8018 * tests/check/elements/filesrc.c: (GST_START_TEST),
8020 Add unit test for the GstURIHandler interface in filesrc. This also
8021 tests the newly added file://localhost/foo/bar support.
8023 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
8025 * gst/gstelementfactory.h:
8026 The klass string is not a hierarchy. Add reference to the design doc
8027 for more information and common types.
8029 2007-02-02 Wim Taymans <wim@fluendo.com>
8031 * gst/gstquery.c: (gst_query_new_latency):
8032 Remove old structure field.
8034 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8036 * tools/gst-launch.1.in:
8037 Give example for network streaming (#351998)
8039 2007-02-02 Wim Taymans <wim@fluendo.com>
8041 * docs/gst/gstreamer-sections.txt:
8042 Add docs for new methods.
8044 * gst/gstevent.c: (gst_event_new_latency),
8045 (gst_event_parse_latency):
8047 Add new LATENCY event to configure latency in a pipeline.
8048 API: gst_event_new_latency
8049 API: gst_event_parse_latency
8051 * gst/gstmessage.c: (gst_message_new_buffering),
8052 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8053 (gst_message_new_latency), (gst_message_parse_buffering),
8054 (gst_message_parse_lost_preroll):
8056 Added messages used in draft-latency.
8057 API: gst_message_new_lost_preroll
8058 API: gst_message_parse_lost_preroll
8059 API: gst_message_new_prerolled
8060 API: gst_message_new_latency
8062 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8063 (gst_query_parse_latency):
8065 Implemented new latency query as in design doc.
8066 API: gst_query_new_latency
8067 API: gst_query_set_latency
8068 API: gst_query_parse_latency
8070 2007-02-02 Wim Taymans <wim@fluendo.com>
8072 * docs/design/draft-latency.txt:
8073 Slight redesign to allow for dynamic latency adjustments.
8075 * docs/design/part-negotiation.txt:
8078 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8080 reviewed by: Wim Taymans <wim@fluendo.com>
8082 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8083 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8084 Allow file://localhost/foo/bar URLs and correctly fail for every other
8085 hostname that one sets. This was gnomevfssrc is linked for those if
8086 installed as it can handle it (#403172)
8088 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8090 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8092 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8093 (unref_data), (gst_collect_pads_add_pad_full):
8094 * libs/gst/base/gstcollectpads.h:
8095 Don't put the previously added destroy notify in the GstCollectData
8096 struct as all it's padding is already used and we don't want to break
8097 ABI. Instead put in the pad's GObject data for now. This should be
8098 cleaned up for 0.11 (#402393).
8100 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8102 reviewed by: Wim Taymans <wim@fluendo.com>
8104 * docs/libs/gstreamer-libs-sections.txt:
8105 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8106 (unref_data), (gst_collect_pads_add_pad),
8107 (gst_collect_pads_add_pad_full):
8108 * libs/gst/base/gstcollectpads.h:
8109 API: Add function to specify a destroy notification for custom
8110 GstCollectData when adding new pads in GstCollectPads (#402393).
8112 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8115 Update Swedish translation (#378255).
8117 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8119 * docs/design/draft-klass.txt:
8120 Fix the previous change, this is a list of categories and not a hierarchy.
8122 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8124 * docs/design/draft-klass.txt:
8125 Add info about how to get a list of used classes.
8127 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8129 * plugins/elements/gsttypefindelement.c:
8130 (gst_type_find_element_chain_do_typefinding),
8131 (gst_type_find_element_change_state):
8132 Don't leak found caps in chain function (no idea why that never
8133 showed up as a leak anywhere).
8135 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8138 Fix and expand GstPluginDesc API docs.
8140 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8143 * gst/gstelementfactory.c:
8144 * gst/gstpadtemplate.h:
8147 * libs/gst/controller/gstcontroller.c:
8148 (gst_controlled_property_new):
8149 * tests/examples/controller/audio-example.c:
8152 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8155 comment about refining the xml deps
8158 comments about moving away from jade for docs
8161 recommit the ifdefs to use the binary registry
8163 * gst/gstbin.c: (gst_bin_change_state_func):
8164 this break is obsolete
8166 * gst/gstelementfactory.h:
8167 better GST_ELEMENT_DETAILS docs, add comment about translation
8172 * gst/gstobject.c: (gst_signal_object_get_type):
8173 add G_UNLIKELY as usual
8175 * gst/gstpad.c: (gst_pad_event_default):
8176 add fall trhu comment
8178 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8179 (gst_registry_binary_initialize_magic),
8180 (gst_registry_binary_save_string),
8181 (gst_registry_binary_save_pad_template),
8182 (gst_registry_binary_save_feature),
8183 (gst_registry_binary_save_plugin),
8184 (gst_registry_binary_write_cache),
8185 (gst_registry_binary_check_magic),
8186 (gst_registry_binary_load_pad_template),
8187 (gst_registry_binary_load_feature),
8188 (gst_registry_binary_load_plugin),
8189 (gst_registry_binary_read_cache):
8190 comment typo and formatting
8192 * gst/gstutils.c: (gst_element_state_get_name),
8193 (gst_element_state_change_return_get_name):
8194 remove obsolete breaks
8196 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8197 add FIXME 0.11 and remove cpp comment
8199 2007-01-29 Edward Hervey <edward@fluendo.com>
8201 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8202 Fix print statement in an even more portable way.
8204 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8206 * docs/gst/gstreamer-sections.txt:
8208 API: add GST_ROUND_DOWN_* macros (#401781).
8210 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8212 * docs/gst/gstreamer.types.in:
8213 * gst/gstregistry.c: (gst_registry_class_init):
8214 Document registry signals and make gtk-doc pick them up (#401381).
8216 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8218 * docs/pwg/building-testapp.xml:
8219 Add some audioconverts and audioresample to the pipeline, and some
8220 more comments and error handling.
8222 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8224 * docs/manual/manual.xml:
8228 2007-01-26 Wim Taymans <wim@fluendo.com>
8230 * gst/gstcaps.c: (gst_static_caps_get):
8231 Init caps flags too.
8233 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8235 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8237 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8238 If not using mmap'ed files try to seek to the end instead of the
8239 start to determine whether we can seek at all. This fixes the case
8240 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8241 seeks for everything afterwards fail. Fixes #400656
8243 2007-01-25 Wim Taymans <wim@fluendo.com>
8245 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8246 Add some refcount debugging.
8247 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8248 in multiple streaming threads.
8250 2007-01-25 Wim Taymans <wim@fluendo.com>
8252 Patch by: David Schleef <ds at schleef dot org>
8254 * docs/libs/gstreamer-libs-sections.txt:
8255 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8256 * libs/gst/base/gstadapter.h:
8257 API: gst_adapter_copy() that can reduce the amount of memcpy when
8258 getting data from the adapter. Fixes #388201.
8260 2007-01-25 Edward Hervey <edward@fluendo.com>
8262 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8263 In print statements, "%x" is for guint. Fixes build on macosx.
8265 2007-01-24 Edward Hervey <edward@fluendo.com>
8267 * plugins/elements/gstmultiqueue.c:
8268 (gst_multi_queue_loop):
8270 (single_queue_overrun_cb), (single_queue_underrun_cb),
8271 (single_queue_check_full), (gst_single_queue_new):
8272 Implement single queue growth system.
8273 This uses the extra-size properties, and will grow single queues by
8274 that much if one goes full whereas there are others empty. This is
8275 called extra-mode in the code.
8276 When a single queue's levels go back below the initial max-size
8277 limits, it is no longer in extra-mode. This is to ensure we don't
8278 consume too much memory.
8281 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8283 * gst/gst.c: (gst_init_get_option_group):
8284 Make warning about late g_thread_init() calls a bit more explicit,
8285 so that it's more obvious to application developers what they need
8286 to do if a user files a bug against their application.
8288 2007-01-22 Edward Hervey <edward@fluendo.com>
8290 * plugins/elements/gstmultiqueue.c:
8291 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8292 Remove previous hack of unsetting the flushing flag for the source pad
8293 instead of activating it. Instead, fix the source pad activate function
8294 so that it no longer depends on having a parent set or not.
8296 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8298 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8300 * docs/manual/basics-bus.xml:
8301 Fix example code, gst_element_unref() doesn't exist any longer.
8303 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8305 Patch by: Mark Nauwelaerts <manauw at skynet be>
8308 Fix two docs typoes (#399094).
8310 2007-01-19 Edward Hervey <edward@fluendo.com>
8312 * docs/faq/gst-uninstalled:
8313 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8314 depending on libgstbaseutils can work in uninstalled environment.
8316 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8319 * gst/gsttagsetter.c:
8320 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8321 statement for new tag.
8323 2007-01-17 Edward Hervey <edward@fluendo.com>
8325 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8326 When dynamically creating single queues, activate sinkpad before adding
8328 We should be doing the same thing for the source pad, but we can't
8329 since it would call a method which needs the parent to be set in order
8330 to work propertly. Instead of activating the source pad, we just unset
8331 the flushing flag, which is the minimal requirement for adding a pad
8332 to an element in a state greater than READY.
8334 2007-01-17 Edward Hervey <edward@fluendo.com>
8336 * docs/faq/gst-uninstalled:
8337 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8340 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8342 * tests/check/gst/gstabi.c:
8343 * tests/check/gst/struct_hppa.h:
8344 * tests/check/libs/libsabi.c:
8345 * tests/check/libs/struct_hppa.h:
8346 Add ABI structs for HPPA (see #393796).
8348 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8350 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8351 Actually write ABI structs to the file specified in the GST_ABI
8352 environment variable, as the message we print claims we would.
8354 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8356 * tests/check/gst/gsttask.c:
8359 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8361 * gst/gsttaglist.c: (_gst_tag_initialize):
8362 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8363 previous two entries.
8365 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8367 * docs/gst/gstreamer-sections.txt:
8368 * gst/gsttaglist.c: (_gst_tag_initialize):
8370 Add tag support for beat-per-minute.
8372 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8374 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8375 (gst_registry_binary_initialize_magic),
8376 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8377 (gst_registry_binary_save_pad_template),
8378 (gst_registry_binary_save_feature),
8379 (gst_registry_binary_save_plugin),
8380 (gst_registry_binary_write_cache),
8381 (gst_registry_binary_check_magic),
8382 (gst_registry_binary_load_pad_template),
8383 (gst_registry_binary_load_feature),
8384 (gst_registry_binary_load_plugin),
8385 (gst_registry_binary_read_cache):
8386 * gst/gstregistrybinary.h:
8387 Use glib types, cleanup comments, impement interfaces and uri-types.
8389 2007-01-13 Andy Wingo <wingo@pobox.com>
8391 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8392 getrange() to return buffers with other caps, while we fix
8393 demuxers and typefind, or otherwise change part-negotiation.txt.
8395 2007-01-12 Andy Wingo <wingo@pobox.com>
8397 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8398 Factor start/stop into this private function instead of partially
8399 in activate functions and partially in the change_state function.
8400 Fixes setup before the element has changed from READY->PAUSED, as
8401 is the case in pull-mode pipelines.
8402 (gst_base_transform_sink_activate_push)
8403 (gst_base_transform_src_activate_pull): Refactor to use
8404 gst_base_transform_activate().
8405 (gst_base_transform_change_state): Removed, not needed any more.
8407 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8408 Truncate before fixating.
8410 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8411 Don't set_caps() if the result of fixating is ANY, as it's not
8412 supported, and not necessary in the case of a link with no
8413 template caps on either side. Fixes tests/check/libs/basesrc in
8414 some pull-mode tests.
8416 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8417 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8418 (gst_base_transform_src_activate_pull):
8419 Track the activation mode.
8420 (gst_base_transform_setcaps): In pull mode, when activating the
8421 src pad, after activating the sink pad, activate the sink pad's
8422 peer, as discussed in part-negotiation.txt.
8424 * libs/gst/base/gstbasesrc.h:
8425 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8426 vmethod, as in basesink.
8428 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8430 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8431 mode, first proxy the setcaps to the peer pad.
8432 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8434 (gst_base_sink_default_activate_pull): Rename from
8435 gst_base_sink_activate_pull.
8436 (gst_base_sink_negotiate_pull): New function, performs negotiation
8437 in pull mode before calling ::activate_pull().
8438 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8439 vmethod instead of the default implementation. I have no idea how
8440 this worked before. Negotiate before calling activate_pull.
8442 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8443 sink pads in pull mode. In addition to being correct, fixes
8444 filesrc ! decodebin ! identity ! fakesink.
8445 (gst_pad_get_range, gst_pad_pull_range): Don't call
8446 gst_pad_set_caps() if the caps changes; instead error out with
8447 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8449 2007-01-12 Andy Wingo <wingo@pobox.com>
8451 * docs/design/part-negotiation.txt: Update with more policy.
8453 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8455 * libs/gst/check/gstbufferstraw.h:
8456 * libs/gst/check/gstcheck.h:
8457 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8460 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8462 * tests/check/Makefile.am:
8463 * tests/check/gst/.cvsignore:
8464 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8465 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8466 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8467 (GST_START_TEST), (gst_tag_setter_suite):
8468 Add minimal unit test for beforementioned GstTagSetter bug.
8470 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8472 Patch by: René Stadler <mail at renestadler dot de>
8474 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8475 gst_tag_list_merge() returns a new list, so it's not the best idea
8476 to ingore its return value. Effectively meant that tags could only
8477 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8478 Also add function guard to require a non-NULL taglist as input (has
8479 always been so due to gst_tag_list_copy(), just making it explicit).
8481 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8483 * docs/random/draft-missing-plugins.txt:
8484 Some additions: mention new API that is supposed to be used at the
8485 various stages; short blob about new gst-inspect introspection
8486 option; mention potential future problem with plugins that have
8487 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8489 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8491 * tools/gst-inspect.c:
8492 (print_plugin_automatic_install_info_codecs),
8493 (print_plugin_automatic_install_info_protocols),
8494 (print_plugin_automatic_install_info), (main):
8495 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8496 introspect plugin files and get machine-parsable output that corresponds
8497 to the last bit of the missing-plugin installer string (small gotcha:
8498 doesn't take into account ranks).
8500 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8503 * docs/gst/gstreamer-sections.txt:
8505 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8506 (gst_registry_lookup_locked):
8507 * gst/gstregistry.h:
8508 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8509 (gst_registry_binary_initialize_magic),
8510 (gst_registry_binary_save_string),
8511 (gst_registry_binary_save_pad_template),
8512 (gst_registry_binary_save_feature),
8513 (gst_registry_binary_save_plugin),
8514 (gst_registry_binary_write_cache),
8515 (gst_registry_binary_check_magic),
8516 (gst_registry_binary_load_pad_template),
8517 (gst_registry_binary_load_feature),
8518 (gst_registry_binary_load_plugin),
8519 (gst_registry_binary_read_cache):
8520 * gst/gstregistrybinary.h:
8521 * gst/gstregistryxml.c: (load_feature),
8522 (gst_registry_xml_read_cache):
8523 commit binary registry (disabled by default, see #359653)
8525 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8527 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8528 Fix 'make check' too.
8530 2007-01-10 Andy Wingo <wingo@pobox.com>
8532 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8535 * docs/design/part-negotiation.txt: Update with, um, one way that
8536 pull-mode negotiation might work?
8539 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8540 that the pad must be a src pad; makes sense to call it the other
8541 way in pull mode, and the logic is symmetric anyway.
8543 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8545 * plugins/elements/gstfilesink.c:
8546 Include <stdio.h> for fseeko().
8548 2007-01-10 Wim Taymans <wim@fluendo.com>
8552 Reserve LATENCY event.
8554 2007-01-09 Wim Taymans <wim@fluendo.com>
8556 * docs/design/draft-latency.txt:
8559 2007-01-09 Wim Taymans <wim@fluendo.com>
8561 * docs/design/draft-latency.txt:
8565 * gst/gststructure.c:
8569 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8571 * tests/check/.cvsignore:
8572 Ignore test-registry.xml as well.
8574 2007-01-09 Wim Taymans <wim@fluendo.com>
8576 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8577 unref data at the end when we are done with the pad.
8579 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8581 * docs/gst/gstreamer-sections.txt:
8582 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8583 (init_post), (gst_deinit), (gst_update_registry):
8585 API: add gst_update_registry() (#391296).
8587 * tests/check/Makefile.am:
8588 * tests/check/gst/gstregistry.c:
8589 * tests/check/gst/.cvsignore:
8590 Simple unit test for the above.
8592 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8594 * gst/gstregistry.c: (gst_registry_scan_path_level):
8595 Plugin extension on HP-UX is .sl, add that to the list of approved
8596 plugin extensions (see #393796).
8598 * tests/check/gst/gstpad.c: (GST_START_TEST):
8599 ulong => gulong. Fixes compilation with HP-UX compiler.
8601 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8602 Fix compilation if valgrind headers are not available.
8604 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8606 * win32/common/libgstreamer.def:
8607 Add new exported function.
8608 * win32/vs6/libgstbase.dsp:
8609 Add gstdataqueue.c to the build.
8610 * win32/vs6/libgstcoreelements.dsp:
8611 Add gstmultiqueue.c to the build.
8613 2007-01-06 Andy Wingo <wingo@pobox.com>
8615 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8616 activate_pull(), providing for a way to specialize the process of
8617 spawning a thread to pull on the sink pad. There is a default
8620 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8621 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8622 (gst_base_sink_init): Renamed pad activation functions (inserting
8623 "_pad" in their names). Refactor to use the new activate_pull
8624 vmethod, as appropriate.
8625 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8626 default activate_pull function to start a task pulling from the
8627 sink pad, as before.
8629 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8630 on the pads if necessary, as in push()/chain(). Update docs.
8631 Shouldn't affect existing pull() usage as it is currently only
8632 being used on buffers without caps.
8634 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8636 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8638 Call g_thread_init() first thing in gst_init() / gst_check_init().
8639 When initialisation is done via gst_init_get_option_group() and
8640 GOption parsing, issue a warning if the GLib thread system has not
8641 been initialised yet by the time gst_init_get_option_group() is
8642 called, as it's quite likely other GLib functions such as
8643 g_option_context_new() have been called already then, and
8644 g_thread_init() must be called before any other GLib function. The
8645 application in question must be fixed in that case, since memory
8646 corruption might happen otherwise.
8647 We issue the warning because even if the GLib folks decide to work
8648 around the problem on their end in future, this is still an issue
8649 with all GLib versions >= 2.10.0, so we should warn until we depend
8650 on a GLib version we know to be safe.
8651 Update documentation as well.
8654 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8656 * tools/gst-inspect.c: (main):
8657 * tools/gst-launch.c: (main):
8658 * tools/gst-typefind.c: (main):
8659 * tools/gst-xmlinspect.c: (main):
8660 Call g_thread_init() really really early, before any other GLib
8661 function (see #342564 and recent discussion on gtk-devel-list).
8663 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8665 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8667 * gst/gst_private.h:
8668 * gst/gstconfig.h.in:
8670 On win32, all the __declspec stuff for symbol exporting is
8671 apparently only needed with MSVC, but doesn't work with MingW.
8672 Fixes compilation with MingW and #391909.
8674 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8676 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8677 Change some GST_ERROR_OBJECT that aren't really errors to
8678 GST_WARNING_OBJECT in order to reduce terminal spam.
8680 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8682 * tests/check/Makefile.am:
8683 disable test again, as there seem to be still race problems
8685 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8687 * tests/check/Makefile.am:
8688 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8689 (GST_START_TEST), (queue_suite):
8690 enable queue test again, add tests for the leaky behaviour
8692 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8695 * tests/examples/Makefile.am:
8696 Compile adapter test/example only if the required headers are
8697 available (fixes #391915).
8699 2007-01-01 David Schleef <ds@schleef.org>
8702 Restore the previous signal handler for SIGSEGV instead of
8703 setting to default, since we may have stolen it away from
8704 someone. (i.e., Mono)
8706 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8708 * docs/random/draft-missing-plugins.txt:
8709 Some small additions and clarifications.
8711 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8713 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8714 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8715 since that can lead to random memory corruptions and crashes
8716 (may or may not be related to #383244, #386711, and #386711).
8718 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8720 * tests/check/.cvsignore:
8721 * tests/check/Makefile.am:
8722 sync .cvsignome and CLEANFILES
8724 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8726 * tests/check/Makefile.am:
8729 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8731 * docs/design/part-states.txt:
8732 two tiny additional comments
8734 * gst/gststructure.c:
8737 * tests/check/Makefile.am:
8738 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8740 disable test for now, unless it gets fixed
8742 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8744 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8746 fix race in underrun test
8748 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8750 * tests/check/elements/.cvsignore:
8753 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8755 try to narrow test failure
8757 2006-12-21 David Schleef <ds@schleef.org>
8759 * plugins/elements/gstfakesrc.c:
8760 Use g_random_int_range(), since it produces better random
8761 numbers in a range than almost-correct floating point code.
8763 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8765 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8766 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8767 (gst_check_teardown_sink_pad):
8768 do not automatically (de)activate pads
8770 * tests/check/Makefile.am:
8771 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8772 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8773 add new, yet simple tests for queue
8775 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8776 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8777 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8779 * tests/check/elements/identity.c: (cleanup_identity):
8780 consistent pad (de)activation
8782 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8784 Patch by: Sebastian Dröge <slomo ubuntu com>
8786 * libs/gst/base/gstcollectpads.c:
8787 Fix two doc typos (#387866).
8789 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8791 * docs/manual/advanced-dparams.xml:
8792 Fix typo (g_object_control_properties() doesn't exist).
8794 2006-12-19 Edward Hervey <edward@fluendo.com>
8796 * gst/gstsegment.c: (gst_segment_set_seek):
8797 Fine tune the cases where the segment start/stop values are really
8799 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8800 Add tests for the return values of gst_segment_set_seek().
8802 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8807 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8809 Fix incorrect documentation and flesh it out a bit more.
8810 Set default values for the max properties on the GParamSpec as well,
8811 so it shows up correctly in gst-inspect.
8813 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8815 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8816 Correct docs of queue, add more detail and crosslink it more.
8818 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8820 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8821 Print additional debug info when the stream isn't perfectly
8822 timestamped; don't try to use invalid durations.
8824 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8826 * docs/design/Makefile.am:
8827 Dist new design docs.
8829 2006-12-16 Wim Taymans <wim@fluendo.com>
8831 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8833 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8834 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8835 (gst_collect_pads_stop), (gst_collect_pads_event),
8836 (gst_collect_pads_chain):
8837 * libs/gst/base/gstcollectpads.h:
8838 Add refcounting to the collectpads data so we can track when it's safe
8839 to free the data. Fixes #383382.
8841 2006-12-15 Wim Taymans <wim@fluendo.com>
8843 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8844 (gst_collect_pads_remove_pad):
8845 Automatically activate/deactivate pads when they are added to a
8846 started/stoped collectpads.
8848 2006-12-15 Wim Taymans <wim@fluendo.com>
8850 * gst/gstelement.c: (gst_element_add_pad):
8851 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8852 * gst/gstpad.c: (gst_pad_init):
8853 Set pads to FLUSHING when they are created. Check, warn and fix when a
8854 demuxer adds an inactive pad to itself when running. Fixes #339326.
8856 2006-12-15 Wim Taymans <wim@fluendo.com>
8858 * gst/gstelement.c: (gst_element_class_init),
8859 (gst_element_default_send_event), (gst_element_send_event),
8860 (gst_element_default_query), (gst_element_query):
8861 Expose default element send_event and query handling as vmethods that
8862 subclasses can chain up to.
8864 2006-12-15 Wim Taymans <wim@fluendo.com>
8866 * gst/gstelement.c: (gst_element_set_state_func):
8867 Small documentation fixes.
8869 2006-12-15 Wim Taymans <wim@fluendo.com>
8871 * docs/design/draft-latency.txt:
8872 Checked in draft for handling latency in pipelines.
8874 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8878 * gstreamer.spec.in:
8881 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8883 * gst/gst.c: (init_pre), (init_post):
8884 init_pre() and init_post() might be called via our GOptionGroup or
8885 from gst_init(), and we should skip both of them if we've already
8886 been initialised, otherwise we will init some things twice or add
8887 two default log functions.
8889 2006-12-13 Edward Hervey <edward@fluendo.com>
8891 * docs/manual/basics-bus.xml:
8892 No, gst_main_loop does not exist. Its g_main_loop.
8893 Discovered by somebody who abused the copy-paste technique of coding :)
8895 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8897 * gst/gstghostpad.c:
8898 Log ghostpad debug stuff to the GST_PADS category as well rather
8899 than just to the default category.
8901 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8904 * gst/gst.c: (init_pre):
8905 Add some basic system details such as OS and architecture
8906 to the debug output if possible, courtesy of uname().
8908 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8910 * docs/gst/running.xml:
8911 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8912 environment variables.
8914 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8916 * tests/check/gst/gstbin.c: (GST_START_TEST):
8917 It is acceptable to have a refcount of 2 or 3 at this point in the
8918 test, because the pipeline might be just posting its state_change
8919 message. The next line then waits for that message to appear using
8920 bus_poll, so that should be fine too.
8922 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8924 * gst/gst.c: (ensure_current_registry_forking):
8925 Ignore EINTR when reading from the child registry pipe.
8926 Explicitly ignore the return value from close, since it makes no
8929 * gst/gstminiobject.c: (gst_mini_object_ref),
8930 (gst_mini_object_unref):
8931 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8933 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8934 When removing cached plugins, remove their features too, so they're
8935 not visible after they've disappeared.
8937 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8938 In the unlikely case that we are linking pads with no parents, don't
8939 crash trying to get the non-existent parent bin.
8941 * gst/parse/grammar.y:
8942 Output debug in the PIPELINE category
8944 2005-03-08 Wim Taymans <wim@fluendo.com>
8946 Patch by: René Stadler <mail at renestadler dot de>
8948 * gst/gstclock.c: (gst_clock_new_periodic_id):
8949 Reject invalid clock times for interval of periodic ids.
8952 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8954 * gst/gstelementfactory.c: (gst_element_factory_create):
8955 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8956 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8957 * tools/gst-inspect.c: (print_element_info):
8958 Fix refcounting of gst_plugin_feature_load to match the docs.
8961 2006-12-07 Wim Taymans <wim@fluendo.com>
8963 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8964 (gst_base_sink_get_position):
8965 Improve debugging of events.
8967 2006-12-07 Wim Taymans <wim@fluendo.com>
8969 Patch by: René Stadler <mail at renestadler dot de>
8971 * gst/gstclock.c: (gst_clock_id_wait):
8972 Make period ids add the interval to the origial requested time instead
8973 of the possibly updated time which can be wrong when there are multiple
8974 waiters for the same id. Fixes #382592.
8976 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8977 (gst_system_clock_id_wait_jitter_unlocked),
8978 (gst_system_clock_id_wait_jitter):
8979 Fix restart in the async notify thread when an async entry is added to
8980 the front of the list. Fixes #381492.
8982 * tests/check/gst/gstsystemclock.c: (store_callback),
8983 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8984 Added test for multiple async waits.
8985 Added test for async wait order.
8987 2006-12-07 Wim Taymans <wim@fluendo.com>
8989 * gst/gstbin.c: (gst_bin_query):
8990 Add some more docs about the POSITION query.
8992 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8995 Bump version nano - back to CVS.
8997 === release 0.10.11 ===
8999 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
9002 releasing 0.10.11, "Love never runs on time"
9004 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
9006 * win32/common/libgstbase.def:
9007 * win32/common/libgstreamer.def:
9008 * win32/vs8/libgstbase.vcproj:
9009 * win32/vs8/libgstcoreelements.vcproj:
9010 * win32/vs8/libgstreamer.vcproj:
9011 Fix compilation on win32 under VS8
9012 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9013 Partially fixes #381175
9015 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
9017 * gst/gstvalue.c: (gst_value_compare_fraction):
9018 If someone is foolish enough to compare 2 fractions with denominator =
9019 0, return UNORDERED rather than aborting.
9021 2006-11-28 Edward Hervey <edward@fluendo.com>
9023 * libs/gst/base/Makefile.am:
9024 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
9025 (gst_data_queue_base_init), (gst_data_queue_class_init),
9026 (gst_data_queue_init), (gst_data_queue_new),
9027 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9028 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9029 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9030 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9031 (gst_data_queue_set_flushing), (gst_data_queue_push),
9032 (gst_data_queue_pop), (gst_data_queue_drop_head),
9033 (gst_data_queue_set_property), (gst_data_queue_get_property):
9034 * libs/gst/base/gstdataqueue.h:
9035 New GstDataQueue object for threadsafe queueing. Most useful for
9036 elements that need some queueing functionnality.
9037 * docs/libs/gstreamer-libs-docs.sgml:
9038 * docs/libs/gstreamer-libs-sections.txt:
9039 Insert documentation for GstDataQueue
9040 * plugins/elements/Makefile.am:
9041 * plugins/elements/gstelements.c:
9042 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9043 (gst_multi_queue_class_init), (gst_multi_queue_init),
9044 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9045 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9046 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9047 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9048 (gst_multi_queue_loop), (gst_multi_queue_chain),
9049 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9050 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9051 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9052 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9053 (wake_up_next_non_linked), (compute_next_non_linked),
9054 (single_queue_overrun_cb), (single_queue_underrun_cb),
9055 (single_queue_check_full), (gst_single_queue_new):
9056 * plugins/elements/gstmultiqueue.h:
9057 New multiqueue element, using GstDataQueue. Used for queuing multiple
9059 Closes #344639 and #347785
9061 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9063 * docs/pwg/advanced-types.xml:
9064 add more missing type details
9066 * tools/gst-run.c: (main):
9067 remove unused variable
9069 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9071 * docs/libs/Makefile.am:
9072 * docs/libs/gstreamer-libs.types:
9073 add types of base classes to enable gobject specific stuff in the docs
9075 * docs/random/ensonic/embedded.txt:
9076 more ideas about isolating platform specific things
9078 2006-11-20 Wim Taymans <wim@fluendo.com>
9080 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9082 * libs/gst/check/gstcheck.h:
9083 Fix compilation and running against 0.9.4. Fixes #377332.
9085 2006-11-20 Wim Taymans <wim@fluendo.com>
9087 * gst/gstsegment.c: (gst_segment_set_seek),
9088 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9089 (gst_segment_to_running_time):
9090 Fix boundary checking in to_running_time() and to_stream_time().
9093 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9094 stream and running time can now be calculated for the complete
9097 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9099 * gst/gstpad.c: (gst_pad_push_event):
9100 Can't access event structure after giving away ownership of
9103 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9105 * docs/random/ensonic/embedded.txt:
9106 * docs/random/ensonic/profiling.txt:
9107 * docs/random/ensonic/receipies.txt:
9110 2006-11-13 Wim Taymans <wim@fluendo.com>
9112 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9115 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9117 2006-11-13 Wim Taymans <wim@fluendo.com>
9119 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9121 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9122 Store new length in segment duration so we don't keep on calling the
9123 potentially expensize get_size() call. Fixes #370865.
9125 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9127 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9129 * win32/common/libgstreamer.def:
9130 Add two missing symbols (#366492).
9132 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9134 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9135 (gst_adapter_take_buffer):
9136 Fix format string to use all its arguments.
9137 Remove useless >= check on a guint
9139 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9141 * tests/examples/adapter/.cvsignore:
9142 Ignore build file as commanded by the build-bot
9144 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9146 * tests/examples/adapter/Makefile.am:
9147 * tests/examples/adapter/adapter_test.c: (run_test_take),
9148 (run_test_take_buffer), (run_tests), (main):
9150 Add new files from the previous commit
9152 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9156 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9157 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9158 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9159 * libs/gst/base/gstadapter.h:
9160 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9161 (GST_START_TEST), (gst_adapter_suite):
9162 * tests/examples/Makefile.am:
9163 Do some optimisation work in GstAdapter to avoid copies in more cases.
9164 It could still do slightly better by merging buffers when
9165 gst_buffer_is_span_fast is true, but is already faster.
9167 Also, avoid traversing a single-linked list to append each incoming
9168 buffer inside the adapter.
9170 Add simple test app that times the adapter behaviour in different
9171 situations, and extend the unit test to check that bytes enter and
9172 exit the adapter in their original order.
9174 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9176 * docs/random/draft-missing-plugins.txt:
9177 Update: use element message instead of adding a new message
9178 type to the core; don't provide GStreamer API to initiate the
9179 plugin download, just provide API to compose the strings needed
9180 and let an external libgimmestuff handle the rest.
9182 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9184 * tools/gst-inspect.c: (print_element_properties_info):
9185 Print a string instead of 'unknown type' for GValueArray properties
9187 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9189 * docs/random/draft-missing-plugins.txt:
9192 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9194 * tests/examples/typefind/typefind.c: (type_found), (main):
9195 Make typefind element example work again (#371894); add a
9198 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9200 * docs/random/draft-missing-plugins.txt:
9201 Commit initial draft about how to deal with missing plugins,
9202 needs work (API too).
9204 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9206 * docs/pwg/advanced-types.xml:
9207 documents the new caps elements (see #363118)
9209 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9211 * gst/gstplugin.c: (gst_plugin_load_file):
9212 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9213 (gst_file_src_map_region), (gst_file_src_start):
9214 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9215 (gst_file_index_commit):
9216 Use g_strerror() instead of strerror() - we want UTF-8.
9218 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9220 Patch by: Peter Kjellerstedt <pkj at axis com>
9222 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9223 Another printf fix (#371493).
9225 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9227 * tests/check/gst/gsttag.c:
9228 relicence (okay with author=company)
9230 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9232 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9233 (gst_pad_push_event):
9234 Enhance debug and improve docs
9239 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9241 * docs/random/ensonic/distributed.txt:
9242 * docs/random/ensonic/profiling.txt:
9245 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9247 * docs/gst/gstreamer-sections.txt:
9248 add new API and fix the build
9250 * gst/gstbin.c: (gst_bin_recalc_state):
9251 * gst/gstelement.c: (gst_element_message_full),
9252 (gst_element_get_state_func), (gst_element_set_state_func):
9253 use new API and improve logging
9255 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9257 API: add function to get StateChangereturn names to improve logs
9259 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9261 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9262 I'm considering shooting the next person to put strerror stuff
9263 in the translateable part of the message.
9265 2006-11-03 Wim Taymans <wim@fluendo.com>
9267 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9268 Get the type and printf conversion specifiers right.
9270 2006-11-03 Wim Taymans <wim@fluendo.com>
9272 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9274 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9275 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9276 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9277 Some small cleanups. Improve debugging.
9279 Signal all waiting threads with a broadcast instead of just one.
9282 2006-11-03 Wim Taymans <wim@fluendo.com>
9284 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9285 (gst_fd_src_create):
9287 Only update fd when it's different from the old.
9289 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9291 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9292 Printf fixes for PPC/OSX, take two (#369366).
9294 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9296 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9298 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9299 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9300 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9301 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9302 don't cast to long long for portability reasons, but use
9303 GLib's types instead.
9305 2006-10-30 Michael Smith <msmith@fluendo.com>
9307 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9308 Get the arguments to lseek() the right way around.
9311 2006-10-30 Wim Taymans <wim@fluendo.com>
9313 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9316 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9318 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9320 Patch by: Kjartan Maraas <kmaraas at gnome org>
9322 * docs/design/part-MT-refcounting.txt:
9323 * docs/random/wtay/capsnego2-docs:
9326 Typo fixes (#366212).
9328 2006-10-28 Wim Taymans <wim@fluendo.com>
9330 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9333 * win32/common/libgstbase.def:
9334 * win32/common/libgstreamer.def:
9335 * win32/vs8/libgstbase.vcproj:
9336 * win32/vs8/libgstcontroller.vcproj:
9337 Add needed entries in .def files.
9339 Rearrange def files in vs8 solutions. Fixes #366286.
9341 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9343 * win32/common/gstconfig.h:
9344 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9345 hand-made win32 gstconfig.h. Fixes #366321.
9347 2006-10-27 Wim Taymans <wim@fluendo.com>
9349 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9350 (gst_ghost_pad_new_full):
9351 Make acceptcaps return TRUE when we don't have a target, just like
9354 2006-10-27 Wim Taymans <wim@fluendo.com>
9356 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9357 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9359 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9361 * gst/gststructure.c: (gst_structure_id_set_value):
9362 If someone tries to set a non-UTF8 string field on a structure,
9363 don't just print a warning, but also ignore the request and do
9364 not change/add that field to the structure.
9366 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9369 2006-10-25 David Schleef <ds@schleef.org>
9372 g_hash_table_insert() needs a cast to a non-const pointer duh.
9374 2006-10-25 David Schleef <ds@schleef.org>
9378 Change name parameter of _gst_debug_register_funcptr to const
9379 to reflect the constness of its use in the function as well
9380 as to quiet a gcc warning.
9382 2006-10-25 Edward Hervey <edward@fluendo.com>
9384 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9385 Don't push the buffer if it's empty.
9388 2006-10-24 Wim Taymans <wim@fluendo.com>
9393 * libs/gst/base/gstbasetransform.c:
9394 (gst_base_transform_sink_eventfunc):
9395 Debug segment values *after* updating them as this is more
9398 2006-10-23 Wim Taymans <wim@fluendo.com>
9400 * docs/design/part-events.txt:
9403 * docs/design/part-block.txt:
9404 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9405 (gst_pad_push_event):
9406 Revert BLOCKING patch, it tries to be smart without really having a
9407 clear idea what or how. So, now we discard all FLUSHING events again on
9408 a blocking pad. Should fix gnonlin again.
9410 2006-10-23 Wim Taymans <wim@fluendo.com>
9412 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9414 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9415 (gst_base_src_start), (gst_base_src_activate_push):
9416 Make sure size is always initialized. Fixes #364388.
9418 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9420 * docs/random/ensonic/distributed.txt:
9421 add some ideas about doing distributed processing
9423 * docs/random/ensonic/profiling.txt:
9424 get_rusage look promising
9426 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9428 * docs/manual/basics-helloworld.xml:
9429 Add a cast in example to fix compile warning
9431 2006-10-18 Wim Taymans <wim@fluendo.com>
9433 * gst/gstsegment.c: (gst_segment_set_last_stop),
9434 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9435 Relax arg checking again, -1 is allowed.
9437 2006-10-18 Wim Taymans <wim@fluendo.com>
9439 * gst/gstsegment.c: (gst_segment_set_last_stop),
9440 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9441 _set_last_stop() must be with a value != -1
9442 A _TYPE_SET to -1 means seek to 0.
9443 Calc last_stop correctly for negative rates.
9444 Make sure we work with positive durations when updating a segment.
9446 2006-10-18 Wim Taymans <wim@fluendo.com>
9448 * docs/design/part-live-source.txt:
9452 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9455 Add an explicit cast to GstBuffer** to keep old code that added an
9456 explicit cast to GstMiniObject** for gst_mini_object_replace()
9457 compiling without warning.
9459 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9461 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9462 check for validity of dates
9464 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9466 * docs/gst/gstreamer-sections.txt:
9467 Forgot this one, makes gtk-doc shut up.
9469 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9471 Patch by: Peter Kjellerstedt <pkj at axis com>
9474 Don't define xmlNodePtr to gpointer if the core was built with
9475 --disable-loadsave and --disable-registry, this will break
9476 applications that want to use libxml2 but are buildling against a
9477 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9478 instead so we don't have to mess with the libxml2 namespace
9481 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9484 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9485 type-punned pointer warnings.
9487 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9490 Add casts to the correct return type to state <=> state transition
9493 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9495 * docs/design/part-live-source.txt:
9496 describe howto handle latency
9498 * docs/random/ensonic/profiling.txt:
9501 * tools/gst-plot-timeline.py:
9502 fix log parsing for solaris, remove unused function
9504 2006-10-16 Wim Taymans <wim@fluendo.com>
9506 * docs/design/part-trickmodes.txt:
9508 Update some docs regarding reverse playback.
9510 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9512 Patch by: Marcus Granado <mrc dot gran at gmail com>
9514 * win32/vs8/grammar.vcproj:
9515 Error out with a warning if glib-genmarshal.exe is not in path,
9516 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9518 2006-10-13 Wim Taymans <wim@fluendo.com>
9520 * gst/gstsegment.c: (gst_segment_set_seek):
9521 When seeking to stop -1, set last_stop (current position) to the
9522 duration of the segment.
9524 2006-10-13 Wim Taymans <wim@fluendo.com>
9527 Clarify _NO_PREROLL a bit more.
9532 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9533 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9534 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9535 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9536 due to wrong locking order. Fixes #361769.
9537 Remove some redundant/misplaced checks in pad_block.
9539 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9540 For negative rates, count backwards from the duration.
9542 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9544 * gst/gsterror.c: (_gst_library_errors_init):
9545 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9546 up with something better).
9548 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9550 * win32/vs6/libgstreamer.dsp:
9551 * win32/vs7/libgstreamer.vcproj:
9552 * win32/vs8/libgstreamer.vcproj:
9553 Don't reference glib-compat.c which is currently not used and not
9554 disted; add gstquark.c which was recently added. Fixes #361730.
9556 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9558 * win32/common/libgstbase.def:
9559 * win32/common/libgstcontroller.def:
9560 * win32/common/libgstreamer.def:
9561 Add gst_caps_merge() and a bunch of other recently-added functions.
9564 2006-10-11 Wim Taymans <wim@fluendo.com>
9566 * docs/plugins/gstreamer-plugins.args:
9567 * docs/plugins/inspect/plugin-coreelements.xml:
9568 * docs/plugins/inspect/plugin-coreindexers.xml:
9569 Update element args.
9571 * gst/gstsystemclock.c:
9572 Small comment update.
9574 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9575 (gst_tee_request_new_pad), (gst_tee_release_pad),
9576 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9577 (gst_tee_sink_activate_pull):
9578 * plugins/elements/gsttee.h:
9580 Add default property defines.
9581 Implement release pad function.
9582 Give properties better blubs etc.
9583 Activate pads before adding them to a running tee.
9584 Do simple buffer_alloc on the first requested pad.
9585 Post error when activation fails.
9587 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9589 * gst/gst.c: (ensure_current_registry_forking):
9590 Check return value of write() to make compiler happy.
9592 2006-10-11 Wim Taymans <wim@fluendo.com>
9594 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9596 * plugins/elements/gstqueue.c: (gst_queue_chain):
9597 Recheck queue filledness after signalling the overrun when we're about
9598 to leak downstream because we released the lock when emitting the signal
9599 and the queue could be empty again. Fixes #352345.
9601 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9603 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9604 Fix refcounting here too, just like we did for _new_valist() a few
9605 days ago (#357180) (thanks to René Stadler). Also remove all those
9606 'Since: 0.9' from the gtk-doc blobs.
9608 * tests/check/libs/controller.c: (controller_refcount_new_list),
9609 (gst_controller_suite):
9610 Unit test for the above.
9612 2006-10-10 Wim Taymans <wim@fluendo.com>
9614 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9616 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9617 (gst_pad_save_thyself):
9619 Write pad direction in XML output. Fixes #345496.
9621 2006-10-10 Wim Taymans <wim@fluendo.com>
9623 Patch by: René Stadler <mail at renestadler dot de>
9625 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9626 (gst_controller_new_list), (_gst_controller_dispose),
9627 (_gst_controller_finalize), (_gst_controller_class_init):
9628 Take ref to controlled object so that it cannot disappear.
9631 2006-10-10 Wim Taymans <wim@fluendo.com>
9633 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9634 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9635 (gst_check_teardown_sink_pad):
9636 Activate/deactivate pads in setup/teardown respectively.
9638 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9640 Patch by: Josep Torra Valles <josep@fluendo.com>
9643 Cast values when making gstenumtypes.h. This pacifies Forte
9644 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9647 2006-10-09 Wim Taymans <wim@fluendo.com>
9649 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9650 Rename some more @cur to @start to fix docs.
9652 * gst/gstsegment.c: (gst_segment_set_seek):
9654 time and start must always stay in sync as defined in design doc.
9656 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9657 Rename param to fix docs.
9659 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9660 Check that start and time are in sync.
9662 * tests/check/pipelines/parse-launch.c:
9663 (gst_parse_test_element_change_state):
9664 Activate pad before adding to the element.
9666 2006-10-09 Wim Taymans <wim@fluendo.com>
9668 * docs/design/part-qos.txt:
9673 Update seek event docs regarding negative rates.
9674 Rename @cur to @start.
9676 * gst/gstsegment.c: (gst_segment_set_seek):
9678 Update set_seek docs regarding negative rates.
9679 Correctly update last_stop to @stop when dealing with negative
9681 Rename @cur to @start.
9683 * tests/check/gst/gstpad.c: (GST_START_TEST):
9684 Activate pads before trying to use them.
9686 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9687 (gst_segment_suite):
9688 Add simple check for segments and negative rates.
9690 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9692 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9694 * docs/gst/gstreamer-sections.txt:
9695 API: add gst_tag_list_is_empty() (#360467).
9697 * tests/check/gst/gsttag.c: (GST_START_TEST):
9700 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9703 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9704 a value that doesn't fit on enumeration.
9706 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9708 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9709 Remove local debugging system and use Gstreamer's instead.
9711 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9713 Patch by: Josep Torra Valles <josep@fluendo.com>
9715 * common/m4/gst-error.m4:
9716 Disable warning of statement not reached on Forte.
9718 Fix warning on Forte (value doesn't fit on enumeration).
9719 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9720 Fix warning on Forte (value doesn't fit on enumeration).
9721 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9722 DEBUG macro says it takes minimum of 2 args and so Forte
9723 complains about the use with just 1 arg.
9724 * plugins/elements/gstfdsink.c:
9725 * plugins/elements/gstfdsrc.c:
9726 * plugins/elements/gstfilesink.c:
9727 * plugins/elements/gstfilesrc.c:
9728 Use correct return type for the uri handler implementations.
9730 All these fix warnings in Forte. Fixes bug #360860.
9732 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9735 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9736 format string, so don't use G_GNUC_PRINTF for those versions.
9738 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9740 * gst/gsttaglist.c: (gst_is_tag_list):
9742 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9744 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9745 Small test for the above.
9747 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9750 Less tabs, more spaces.
9752 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9755 Those two function declarations do actually belong there, revert
9756 commit from yesterday that turned them intro macros.
9758 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9760 Patch by: Josep Torra Valles <josep@fluendo.com>
9762 * gst/gst.c: (gst_init_get_option_group):
9763 Fix empty declaration and type mismatch.
9764 * gst/gstbin.c: (gst_bin_change_state_func):
9766 * gst/gstelement.c: (gst_element_continue_state),
9767 (gst_element_set_state_func), (gst_element_change_state),
9768 (gst_element_change_state_func):
9769 Fix type mismatches.
9770 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9771 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9772 Cast as appropriate.
9773 * gst/gstobject.c: (gst_class_signal_connect):
9774 Cast as appropriate. The function pointer parameter really
9775 has the wrong type but would break API if we change it.
9777 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9778 order of including string.h.
9779 * gst/gstutils.c: (gst_element_state_get_name):
9780 Remove unreachable line.
9781 * gst/gstxml.c: (gst_xml_parse_doc):
9783 All these caught by Forte.
9785 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9787 Patch by: Josep Torra Valles <josep@fluendo.com>
9789 * common/m4/gst-error.m4:
9791 We need to disable warnings on Forte for empty declarations
9792 due to gst-indent adding ;s to lines that just use macros
9793 where the macro actually doesn't need a ; at end to end
9796 2006-10-06 Wim Taymans <wim@fluendo.com>
9798 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9799 (gst_file_sink_close_file), (gst_file_sink_event),
9800 (gst_file_sink_render):
9801 Add some FIXME for the NEWSEGMENT handling.
9803 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9805 * gst/parse/grammar.y:
9806 Remove static function gst_parse_element_lock as all it does
9807 is return. Looks like cruft from 0.8.
9809 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9811 Patch by: Josep Torra Valles <josep@fluendo.com>
9813 * common/m4/gst-error.m4:
9815 * libs/gst/net/Makefile.am:
9816 Fix a compilation issue with Forte on Solaris. inet_aton is in
9819 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9821 * gst/gstpad.c: (pre_activate):
9822 * gst/gstregistry.c: (gst_registry_scan_path_level):
9823 * gst/gstregistryxml.c: (load_plugin):
9824 * libs/gst/controller/gstcontroller.c:
9825 (gst_controlled_property_set_interpolation_mode):
9826 * libs/gst/dataprotocol/dataprotocol.c:
9827 (gst_dp_packet_from_event_1_0):
9828 * libs/gst/net/gstnetclientclock.c:
9829 (gst_net_client_clock_observe_times):
9830 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9833 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9836 * docs/gst/gstreamer-sections.txt:
9837 * gst/gstconfig.h.in:
9840 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9841 whether we can use G_GNUC_PRINTF in other header files and at
9842 least check the printf format/arguments of debug messages and
9843 GST_ELEMENT_ERROR messages when the printf extension is not
9845 Replace more tabs with spaces in gstinfo.h and remove two spurious
9846 function declarations in GST_DISABLE_DEBUG part with macros.
9848 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9850 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9851 More docs for the sync-message signal (mention that it is not
9852 emitted by default); log message structures of messages posted on
9855 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9857 * gst/gst.c: (ensure_current_registry_forking):
9858 Use a pipe pair to receive status results from the forked child, and
9859 ignore the result from waitpid. Fixes #355499
9861 2006-10-02 Wim Taymans <wim@fluendo.com>
9863 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9864 (gst_ghost_pad_suite):
9867 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9870 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9872 2006-10-02 Edward Hervey <edward@fluendo.com>
9874 * docs/design/part-block.txt:
9875 Further explain the use of flushing on blocked pads.
9876 * docs/gst/gstreamer-sections.txt:
9877 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9878 (gst_pad_push_event):
9880 Added new GstPadFlag : GST_PAD_BLOCKING.
9881 Adds the notion of pads really blocking, which enables to properly
9882 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9884 API: gst_pad_is_blocking()
9885 API: GST_PAD_IS_BLOCKING() macro
9886 API: GST_PAD_BLOCKING GstPadFlag
9888 2006-10-02 Wim Taymans <wim@fluendo.com>
9890 Patch by: mrcgran <mrc.gran at gmail dot com>
9892 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9893 Filter the proxied caps against the padtemplate if we have one.
9895 * gst/gstquery.c: (gst_query_new_segment):
9896 Add include for gstinfo.h so that compilation with
9897 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9899 2006-10-02 Wim Taymans <wim@fluendo.com>
9901 Patch by: Alessandro Decina <alessandro at nnva org>
9903 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9904 (gst_file_sink_set_location), (gst_file_sink_open_file),
9905 (gst_file_sink_close_file), (gst_file_sink_event),
9906 (gst_file_sink_render):
9907 Set file to NULL when closing filesink so that we can set a new filename
9908 in READY. Fixes #358613.
9910 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9912 Patch by: Alessandro Decina <alessandro at nnva org>
9914 * gst/gstevent.c: (_gst_event_copy):
9915 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9916 with event structures by setting the parent refcount address of the
9917 copied structure to the address of the refcount member of the newly
9918 copied event rather than the address of the refcount member of the
9919 original event. Fixes #358737.
9921 * tests/check/gst/gstevent.c: (GST_START_TEST):
9922 Unit test for the above.
9924 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9926 * docs/design/Makefile.am:
9927 Dist some more files.
9929 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9931 * tests/check/libs/controller.c: (GST_START_TEST),
9932 (gst_controller_suite):
9933 Add test for the previous fix; add some more tests
9934 for correct refcounting behaviour; fix a few leaks
9935 in test cases; call gst_controller_init() at start
9938 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9940 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9941 (gst_controller_set_from_list):
9942 Don't g_return_val_if_fail() on timed values with invalid timestamps
9943 inside a critical section without unlocking the mutex. Spotted by
9944 René Stadler. (#357617)
9945 Also, fix up refcounting properly: when returning an existing
9946 controller, we should increase the reference only once and not
9947 once per property and when trying to control a property again
9948 we should also increase the refcount.
9950 2006-09-29 Wim Taymans <wim@fluendo.com>
9952 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9953 * libs/gst/net/gstnettimeprovider.c:
9954 (gst_net_time_provider_thread):
9955 Stop reading commands when EOF as well.
9957 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9958 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9959 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9960 Unify description of the dump property.
9962 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9964 * tests/examples/manual/.cvsignore:
9965 OK, so it's actually cvsignore that needs changing. Stop laughing.
9967 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9969 * tests/examples/manual/Makefile.am:
9970 Gah, declare vars *before* using them
9972 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9974 * gst/gst.c: (init_pre), (scan_and_update_registry),
9975 (ensure_current_registry_nonforking),
9976 (ensure_current_registry_forking), (ensure_current_registry),
9977 (init_post), (gst_debug_help), (gst_deinit):
9978 * gst/gst_private.h:
9979 * gst/gstregistry.c: (gst_registry_finalize),
9980 (gst_registry_remove_features_for_plugin_unlocked),
9981 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9982 (gst_registry_scan_path),
9983 (_priv_gst_registry_remove_cache_plugins),
9984 (_priv_gst_registry_cleanup):
9985 * gst/gstregistry.h:
9986 Re-commit the registry changes, along with an extra fix:
9987 When a cached plugin is encountered at a different file path,
9988 update the stored path in the registry cache so that the parent
9989 process knows where it actually is now when it re-reads the registry
9990 cache. Fixes the thing that broke distcheck with the previous commit.
9992 * tests/check/Makefile.am:
9993 Clean up files named 'core' too when running make clean.
9995 * tests/examples/manual/Makefile.am:
9996 Set up a registry path for running these tests, and clean it properly
9999 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
10002 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
10003 want gmodule-no-export-2.0.pc instead so that we don't drag in
10004 --export-dynamic on every project that links to GStreamer.
10006 Also, make our export regex only match the start of symbols, rather
10007 than any symbol that contains '_gst' somewhere.
10009 * libs/gst/check/Makefile.am:
10010 The libgstcheck we build does however need export-dynamic, as it
10011 produces some symbols that don't match our _gst... style regex.
10014 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10016 * gst/gst.c: (init_pre), (scan_and_update_registry),
10017 (ensure_current_registry_nonforking),
10018 (ensure_current_registry_forking), (ensure_current_registry),
10019 (init_post), (gst_debug_help), (gst_deinit):
10020 * gst/gst_private.h:
10021 * gst/gstregistry.c: (gst_registry_finalize),
10022 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10023 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
10024 (_gst_registry_cleanup):
10025 * gst/gstregistry.h:
10026 Revert previous change until I figure out why it breaks distcheck.
10028 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10030 * gst/gst.c: (init_pre), (scan_and_update_registry),
10031 (ensure_current_registry_nonforking),
10032 (ensure_current_registry_forking), (ensure_current_registry),
10033 (init_post), (gst_debug_help), (gst_deinit):
10035 Make init_pre and init_post take the full complement of GOptionFunc
10036 args so they can return useful GErrors. Make the registry updating
10039 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10040 ensure that the registry we're about to write out doesn't contain
10041 stale information about old-deleted plugin files.
10043 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10044 that deletion of plugin files is considered a registry change.
10046 * gst/gst_private.h:
10047 * gst/gstregistry.c: (gst_registry_finalize),
10048 (gst_registry_remove_features_for_plugin_unlocked),
10049 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10050 (gst_registry_scan_path),
10051 (_priv_gst_registry_remove_cache_plugins),
10052 (_priv_gst_registry_cleanup):
10053 * gst/gstregistry.h:
10054 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10055 by adding _priv prefix, so that they won't appear in the global
10056 symbol table. They still do atm though because of #318031. Move the
10057 prototypes to gst_private.h
10059 When removing a plugin, remove all features for that plugin too.
10062 2006-09-27 Wim Taymans <wim@fluendo.com>
10064 * docs/random/moving-plugins:
10065 Make it clear that the "compiled-in descriptions" really mean
10066 the element details.
10068 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10069 (gst_base_sink_wait_preroll):
10072 * docs/libs/gstreamer-libs-sections.txt:
10073 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10074 (gst_base_src_get_range), (gst_base_src_activate_push):
10075 * libs/gst/base/gstbasesrc.h:
10076 Added function to block while waiting for PLAYING, this function
10077 is used by live sources that block on the clock.
10078 API: gst_base_src_wait_playing()
10080 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10082 Patch by: Peter Kjellerstedt <pkj at axis com>
10085 gst-element-check.m4 is generated and should therefore be
10086 copied from the build dir rather than the source dir (#357593).
10087 'make distcheck' hasn't noticed this because we were disting
10088 the file as well, so stop doing that.
10090 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10092 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10093 Add some tests for gst_caps_intersect().
10095 * tools/gst-launch.c: (event_loop):
10096 Print all buffering percentages we get, even the 100% one.
10098 2006-09-26 Wim Taymans <wim@fluendo.com>
10100 * tools/gst-inspect.c: (print_element_properties_info),
10101 (print_signal_info):
10102 Fix printing of flags to match the look of enums.
10104 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10106 * gst/gstelementfactory.c:
10107 Fix typo in docs blurb.
10109 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10111 * gst/gsturi.c: (search_by_entry):
10112 Don't assert/crash here if a uri handler doesn't return any
10113 supported protocols. The list of protocols could be generated
10114 dynamically at runtime or at plugin registration, and an error
10115 in the underlying library shouldn't be fatal (#353301).
10117 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10120 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10121 (spotted by Peter Kjellerstedt).
10123 2006-09-23 Wim Taymans <wim@fluendo.com>
10125 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10127 * libs/gst/base/gstbasesrc.c:
10128 (gst_base_src_default_check_get_range), (gst_base_src_start),
10129 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10130 (gst_base_src_change_state):
10131 Match _start/_stop calls in the activate functions. Remove redundant
10132 _stop call from the state change function. Fixes #356910.
10133 Turn failure DEBUG into ERROR.
10135 2006-09-22 Wim Taymans <wim@fluendo.com>
10137 * docs/design/part-buffering.txt:
10138 * gst/gstmessage.c: (gst_message_new_buffering),
10139 (gst_message_parse_buffering):
10140 Update docs about buffering.
10142 * docs/design/part-trickmodes.txt:
10145 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10147 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10148 (gst_controller_new_list):
10149 Ref instances when returning them again (fixes #357180)
10151 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10153 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10154 Don't forget to release proxy lock when there's an error.
10156 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10159 Add extra initialisers for Caps things, to fix some plugin warnings
10162 2006-09-18 Wim Taymans <wim@fluendo.com>
10164 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10165 Also set template on the internal pad so that a getcaps from the
10166 target pad returns the template caps.
10168 2006-09-18 Wim Taymans <wim@fluendo.com>
10170 * gst/gstelement.c: (gst_element_post_message),
10171 (gst_element_dispose):
10172 Use _DEBUG_OBJECT some more.
10174 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10177 * tools/gst-launch.c: (main):
10178 If the toplevel element is not a GstPipeline, it must be put in a
10179 pipeline so that a bus and clock is selected.
10181 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10183 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10184 JITTER, RATE, and LATENCY query should be handled by the
10185 default case and not by the CONVERT query code.
10187 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10189 * gst/gstformat.c: (gst_format_register):
10190 Fix locking order (must take lock before using n_values).
10192 * gst/gstvalue.c: (gst_value_serialize_enum),
10193 (gst_value_deserialize_enum_iter_cmp),
10194 (gst_value_deserialize_enum):
10195 Fix serialisation/deserialisation of custom registered GstFormats.
10197 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10198 Unit test for custom format serialisation/deserialisation.
10200 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10202 * docs/pwg/building-boiler.xml:
10203 * plugins/elements/gstcapsfilter.c:
10204 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10207 2006-09-16 Edward Hervey <edward@fluendo.com>
10209 * libs/gst/base/gstbasetransform.c:
10210 (gst_base_transform_buffer_alloc):
10211 Check if requested caps are the same as the sinks caps IF
10212 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10214 This fixes the renegotiation issues stated in #352827.
10216 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10219 * docs/manual/advanced-autoplugging.xml:
10220 * tests/examples/Makefile.am:
10221 * tests/examples/manual/.cvsignore:
10222 * tests/examples/manual/Makefile.am:
10223 * tests/examples/manual/extract.pl:
10224 Extract the manual examples again like we used to do.
10227 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10229 * win32/common/config.h:
10232 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10235 Documents how to receive errors.
10237 2006-09-15 Wim Taymans <wim@fluendo.com>
10239 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10240 (event_loop), (main):
10241 Added some comments here and there.
10242 Post an application message when an interrupt is caught instead of doing
10243 an uncontrolled state change.
10244 Clean up the event loop.
10245 Handle buffering messages, pause/resume the pipeline.
10246 Make shutdown because of an interrupt more reliable.
10248 2006-09-15 Wim Taymans <wim@fluendo.com>
10250 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10251 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10252 (gst_base_sink_preroll_object):
10253 Make sure that our internal state is correct when we commit our state
10254 asynchronously. This solves a race where a state change to PLAYING
10255 could cause the sink to remain blocked in preroll in some situations.
10257 2006-09-15 Wim Taymans <wim@fluendo.com>
10259 * tools/gst-inspect.c: (print_element_properties_info),
10260 (print_signal_info):
10261 List flags as hex so it's easier to deal with.
10263 2006-09-15 Wim Taymans <wim@fluendo.com>
10265 * docs/libs/gstreamer-libs-sections.txt:
10266 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10267 (gst_base_sink_do_sync):
10268 * libs/gst/base/gstbasesink.h:
10269 Expose logic to wait for preroll so that subclasses such as audiosink
10270 can also use this method.
10271 API: gst_base_sink_wait_preroll()
10273 2006-09-15 Wim Taymans <wim@fluendo.com>
10275 * gst/gstobject.c: (gst_object_set_parent):
10276 * gst/gstpipeline.c: (do_pipeline_seek):
10277 Small cleanups in docs and code.
10279 * gst/gstsegment.c: (gst_segment_clip):
10280 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10281 if stop == start and start is in the segment, no clipping should be
10282 done. Also add a test for this.
10284 2006-09-15 Wim Taymans <wim@fluendo.com>
10286 * docs/design/part-buffering.txt:
10287 * docs/gst/gstreamer-sections.txt:
10288 * gst/gstmessage.c: (gst_message_new_buffering),
10289 (gst_message_parse_buffering):
10290 * gst/gstmessage.h:
10291 Added methods to create and parse BUFFERING messages.
10292 Added preliminary docs about buffering.
10293 API: gst_message_new_buffering
10294 API: gst_message_parse_buffering
10296 2006-09-06 Wim Taymans <wim@fluendo.com>
10299 Update documentation.
10301 * gst/gstelement.c: (gst_element_class_init),
10302 (gst_element_release_request_pad), (gst_element_set_clock),
10303 (gst_element_get_index), (gst_element_add_pad),
10304 (gst_element_remove_pad), (gst_element_get_random_pad),
10305 (gst_element_send_event), (gst_element_get_query_types),
10306 (gst_element_query), (gst_element_post_message),
10307 (gst_element_message_full), (gst_element_continue_state),
10308 (gst_element_lost_state), (gst_element_save_thyself),
10309 (gst_element_restore_thyself):
10310 Documentation updates.
10311 Rename last bit of the new-pad -> pad-added signal rename.
10312 Fix the case where an element query would only work if the source
10314 Avoid some useless type checking in message handling.
10319 Documentation updates.
10321 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10323 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10324 add an INFO line for when we actually update the fd
10326 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10331 === release 0.10.10 ===
10333 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10336 releasing 0.10.10, "Pais"
10338 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10340 * docs/manual/advanced-position.xml:
10341 Fix typo in sample code.
10343 2006-09-05 Wim Taymans <wim@fluendo.com>
10345 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10346 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10347 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10348 * libs/gst/net/gstnetclientclock.h:
10349 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10350 * libs/gst/net/gstnettimepacket.h:
10351 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10352 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10353 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10354 * libs/gst/net/gstnettimeprovider.h:
10355 Make stuff compile on windows. Fixes #345295.
10357 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10359 * gst/gst.c: (ensure_current_registry_forking):
10360 Print better details when child was terminated by signal.
10362 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10364 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10365 Print a warning rather than g_assert() if a plugin feature
10366 is a URI handler but returns no protocols (#353976).
10368 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10370 * docs/random/moving-plugins:
10373 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10375 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10376 Fix locking order, handle NULL function values properly.
10381 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10382 Initialise variable before using it and fix debug statement to
10383 print the address of the function rather than the address of the
10384 variable on the stack holding the address of the function.
10386 2006-09-01 Wim Taymans <wim@fluendo.com>
10388 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10389 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10390 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10391 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10392 (gst_ghost_pad_parent_unset),
10393 (gst_ghost_pad_internal_do_activate_push),
10394 (gst_ghost_pad_internal_do_activate_pull),
10395 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10396 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10397 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10398 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10399 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10400 (gst_ghost_pad_new_no_target_from_template),
10401 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10403 Avoid needless typechecking in macros.
10404 Since the internal pad is always present and never changes, there is
10405 no need to locking or ref when retrieving it.
10406 Improve debugging a bit.
10407 Handle link errors when setting the target. Fixes #341029.
10409 2006-09-01 Wim Taymans <wim@fluendo.com>
10411 * docs/libs/gstreamer-libs-sections.txt:
10412 * docs/plugins/gstreamer-plugins-sections.txt:
10413 Fix docs some more.
10415 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10416 (gst_collect_pads_event):
10417 * libs/gst/base/gstcollectpads.h:
10418 Documentation updates.
10419 Free queued buffer when removing a pad.
10421 2006-08-31 Michael Smith <msmith@fluendo.com>
10423 * gst/gstutils.c: (gst_element_link_pads),
10424 (gst_element_link_pads_filtered):
10425 Ensure that we set a capsfilter to NULL if we failed to link it
10426 when doing filtered linking, to avoid criticals.
10428 No need to check for unreffing srcpad, which is explicly NULLed
10429 above (a trivial code cleanup).
10431 2006-08-31 Wim Taymans <wim@fluendo.com>
10433 * docs/design/part-gstghostpad.txt:
10434 Update ascii art in documentation.
10436 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10437 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10438 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10439 (gst_ghost_pad_internal_do_activate_push),
10440 (gst_ghost_pad_internal_do_activate_pull),
10441 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10442 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10443 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10444 (gst_ghost_pad_set_target):
10445 Small cleanups and leak fixes.
10446 Remove some checks now that the internal pad is never NULL.
10447 Fix the case where linking pads without a target would create nasty
10448 criticals. Fixes #341029.
10449 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10450 value of _set_target().
10452 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10453 (gst_ghost_pad_suite):
10454 Some more tests for creating and linking untargeted ghostpads.
10456 2006-08-31 Edward Hervey <edward@fluendo.com>
10458 * docs/gst/gstreamer-sections.txt:
10459 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10460 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10461 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10462 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10463 (gst_ghost_pad_new_from_template),
10464 (gst_ghost_pad_new_no_target_from_template):
10465 * gst/gstghostpad.h:
10466 Refactored *_new() functions.
10467 Templates are now used as a g_object_new() parameter.
10468 Use template in _do_getcaps() if we don't have a target.
10469 Small documentation cleanups.
10470 Added two new constructors:
10471 gst_ghost_pad_new_from_template()
10472 gst_ghost_pad_new_no_target_from_template()
10473 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10474 (gst_ghost_pad_suite):
10475 Added tests for new ghostpad instanciation functions.
10477 API additions: gst_ghost_pad_new_from_template,
10478 gst_ghost_pad_new_no_target_from_template
10480 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10482 * docs/random/ensonic/profiling.txt:
10483 Ideas about qos profiling.
10485 2006-08-29 Wim Taymans <wim@fluendo.com>
10487 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10491 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10494 Improve and detypofy docs.
10496 * tests/check/Makefile.am:
10497 * tests/check/gst/.cvsignore:
10498 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10499 Add a basic test suite for GstXML.
10501 2006-08-29 Wim Taymans <wim@fluendo.com>
10503 * gst/gstelement.c: (activate_pads), (clear_caps),
10504 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10505 Clear the pad caps when the element shut down all of the pads and
10506 is not streaming data that could modify the caps.
10509 2006-08-28 Michael Smith <msmith@fluendo.com>
10511 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10512 Revert previous change; I misunderstood single-segment mode.
10514 2006-08-28 Michael Smith <msmith@fluendo.com>
10516 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10517 Unset DISCONT on buffers when using single-segment mode.
10519 2006-08-28 Wim Taymans <wim@fluendo.com>
10521 * gst/gstcaps.c: (gst_caps_merge_structure):
10523 Fix docs and indentation again.
10525 * tests/check/gst/gstquery.c: (GST_START_TEST):
10526 Fix leak in tests and add some more tests.
10528 2006-08-28 Edward Hervey <edward@fluendo.com>
10530 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10531 Inform GstSegment of the last stop position in order for the current
10532 segment to have a proper duration if it doesn't have a specific stop
10533 position from which a duration could be calculated.
10534 This bug was noticeable when a non-flushing, non-update new segment was
10535 followed by another segment (all buffers from the new segment were being
10538 2006-08-28 Wim Taymans <wim@fluendo.com>
10540 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10541 Small comment update.
10543 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10544 (gst_identity_transform_ip):
10545 Drop-probability is broken, mention this in the code with a
10546 FIXME and also in the property description.
10547 Make silent also be silent about the drop messages.
10549 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10551 * docs/manual/appendix-win32.xml:
10552 Remove mention of popt, we don't depend on that any
10553 longer (#353136). Add some comments pointing out that
10554 this section is slightly outdated.
10556 2006-08-28 Wim Taymans <wim@fluendo.com>
10558 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10560 * gst/gstquery.c: (gst_query_new_segment):
10561 * tests/check/gst/gstquery.c: (GST_START_TEST):
10562 Initialize variables when creating a new segment query.
10565 2006-08-28 Wim Taymans <wim@fluendo.com>
10567 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10569 * gst/gstelement.c: (gst_element_get_bus):
10570 * tests/check/gst/gstelement.c: (GST_START_TEST):
10571 Check for NULL before _reffing the bus. Fixes #353122.
10573 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10575 * docs/manual/basics-bus.xml:
10576 Docs update: fix wrong callback return value explanation; add
10577 some lines about the implicit relationship between main loop
10578 and main context; remove duplicate main loop variable declaration.
10580 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10582 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10583 Don't leak caps in unit test; add a few more simple
10586 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10588 * docs/gst/gstreamer-sections.txt:
10589 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10590 (gst_caps_structure_is_subset), (gst_caps_merge),
10591 (gst_caps_merge_structure):
10593 * libs/gst/base/gstbasetransform.c:
10594 (gst_base_transform_transform_caps):
10595 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10596 implement caps merging (fixes #352580)
10598 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10600 * tools/Makefile.am:
10601 * tools/gst-plot-timeline.py:
10602 add debug-log plotting developer tool (#340674)
10604 2006-08-23 Wim Taymans <wim@fluendo.com>
10606 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10607 (gst_pad_stop_task):
10608 Improve debugging for task functions.
10610 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10611 (gst_task_start), (gst_task_pause), (gst_task_join):
10612 Make sure that the task function started and finished after a
10614 Don't try to push the task function on the threadpool multiple
10616 Improve the g_warning message with some useful suggestions
10617 about how to fix the problem.
10619 2006-08-23 Wim Taymans <wim@fluendo.com>
10621 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10622 Handle RESYNC correctly in _proxy_getcaps.
10624 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10626 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10627 (gst_xml_parse_memory), (gst_xml_get_element):
10628 Chain up to parent class in dispose function and also
10629 unref the elements in the toplevel_elements GList.
10630 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10631 Always return a reference in gst_xml_get_element() rather
10632 than only sometimes.
10634 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10635 Don't leak GstXml object.
10637 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10639 * docs/gst/gstreamer-sections.txt:
10640 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10643 * libs/gst/base/gstbasetransform.c:
10644 (gst_base_transform_transform_caps):
10645 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10648 2006-08-21 Edward Hervey <edward@fluendo.com>
10650 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10651 Implement GObject::dispose virtual method in GstXML so we can free the
10652 top_elements GList.
10654 2006-08-21 Wim Taymans <wim@fluendo.com>
10656 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10657 (gst_buffer_create_sub):
10658 Copy duration/offset_end/caps when creating a subbuffer of the
10660 Make the subbuffer read-only when we make the metadata writable for
10661 now. Fixes #351768.
10663 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10664 Added check for metadata copy when creating subbuffers.
10666 2006-08-21 Edward Hervey <edward@fluendo.com>
10668 * libs/gst/base/gstbasetransform.c:
10669 (gst_base_transform_buffer_alloc):
10670 Only call downstream buffer_alloc if transform element is passthrough
10671 or always_in_place. Closes #350449.
10673 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10676 ChangeLog surgery to add comments to previous changes
10678 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10683 * gst/gstpad.c: (gst_pad_set_active):
10684 Be more verbose in the log
10686 * libs/gst/base/gstbasetransform.c:
10687 (gst_base_transform_transform_caps):
10688 Simplify caps to get rid of duplicates, fixes #345444
10690 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10694 Use these optimizations only internally.
10696 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10698 * gst/gstvalue.c: (gst_value_compare_list),
10699 (gst_value_compare_fraction_range),
10700 (gst_value_intersect_fraction_fraction_range),
10701 (gst_value_intersect_fraction_range_fraction_range),
10702 (gst_value_subtract_fraction_fraction_range),
10703 (gst_value_subtract_fraction_range_fraction_range),
10704 (gst_value_get_compare_func), (gst_value_compare),
10705 (gst_value_compare_with_func):
10707 Saves the expensive lookup of the compare function in many cases
10710 2006-08-18 Edward Hervey <edward@fluendo.com>
10712 * tests/check/gst/gstinfo.c: (gst_info_suite):
10713 Disable test that require gstdebug if it wasn't built in core.
10715 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10717 * docs/random/ensonic/logging.txt:
10720 * gst/gstinfo.c: (gst_debug_log_default):
10721 reorder fields, save some columns, add optional color codes for log
10724 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10726 * docs/random/ensonic/logging.txt:
10727 add ideas about making the logs a bit more useful
10729 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10731 * docs/pwg/advanced-events.xml:
10732 * docs/pwg/titlepage.xml:
10733 Update for 0.10 API (#340627). Add myself
10736 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10738 * docs/libs/gstreamer-libs-docs.sgml:
10739 * docs/libs/gstreamer-libs-sections.txt:
10740 * libs/gst/check/gstbufferstraw.c:
10741 Make gstcheck stuff show up in docs (still needs to
10742 be documented properly though).
10744 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10746 * docs/gst/gstreamer-sections.txt:
10748 * gst/gst.c: (init_post):
10749 * gst/gst_private.h:
10750 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10752 * gst/gstquery.c: (gst_query_new_position),
10753 (gst_query_set_position), (gst_query_parse_position),
10754 (gst_query_new_duration), (gst_query_set_duration),
10755 (gst_query_parse_duration), (gst_query_new_convert),
10756 (gst_query_set_convert), (gst_query_parse_convert),
10757 (gst_query_new_segment), (gst_query_set_segment),
10758 (gst_query_parse_segment), (gst_query_new_seeking),
10759 (gst_query_set_seeking), (gst_query_parse_seeking):
10760 Add internal helpers for pre-registering quarks from static strings
10761 and using the quark values directly instead of looking them up when
10762 creating and parsing queries. Can be used for event construction too.
10765 2006-08-16 Wim Taymans <wim@fluendo.com>
10770 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10772 * gst/gstutils.c: (gst_util_set_value_from_string):
10773 Fix memleak (#351502).
10775 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10776 Add unit test for most of gst_util_set_value_from_string()
10777 (not that one would want to encourage use of this function).
10779 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10781 * libs/gst/check/gstcheck.h:
10782 Use const gchar * variables in fail_unless_equals_string
10783 macro to avoid compiler warnings (and don't use tabs for
10786 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10788 * tools/gst-launch.c: (print_tag):
10789 More space on the left for the tag names, to cater
10790 for the 'extended comment' tag (not touching the
10791 string for the first line since it's translated).
10793 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10795 * libs/gst/check/gstcheck.h:
10796 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10797 print something when they fail.
10799 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10801 * docs/gst/gstreamer-sections.txt:
10802 * gst/gsttaglist.c: (_gst_tag_initialize):
10803 * gst/gsttaglist.h:
10804 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10805 Also change merge function for GST_TAG_COMMENT to
10808 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10810 * gst/gstinfo.c: (gst_debug_print_object):
10811 Make GST_PTR_FORMAT print messages as well.
10813 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10814 (GST_START_TEST), (gst_info_suite):
10817 2006-08-14 Edward Hervey <edward@fluendo.com>
10819 * gst/gstelementfactory.c: (gst_element_register):
10820 If the GstElementClass doesn't have a GstElementDetails with all fields
10821 filled up correctly (longname, description AND author), then error out
10822 nicely instead of crashing.
10824 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10826 * gst/gststructure.c:
10827 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10830 Expand on the difference between arrays and lists as we use them.
10832 2006-08-14 Wim Taymans <wim@fluendo.com>
10834 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10835 If the parent state change function failed, don't assume we can safely
10836 stop the source, this will be done when the pads are deactivated.
10838 2006-08-14 Wim Taymans <wim@fluendo.com>
10841 * gst/gsttask.c: (gst_task_join):
10844 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10845 (gst_pad_stop_task):
10846 When pad (de)activation failed for some reason, restore the old
10847 activation mode and set the pad to flushing instead of assuming the
10848 pad is deactivated.
10849 If the _task_join() failed, reinstall the task on the pad so that it can
10850 be stopped later and return an error.
10852 2006-08-11 Andy Wingo <wingo@pobox.com>
10855 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10856 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10857 is only for users of API that don't want to see deprecated
10858 functions in the headers; people that want to compile out
10859 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10860 CFLAGS. Fixes the build of multifdsink, or will soon..
10862 2006-08-11 Wim Taymans <wim@fluendo.com>
10864 * docs/gst/gstreamer-sections.txt:
10865 Add GstClockClass vmethod docs.
10868 Mark #endif with comment for associated #if
10870 * gst/gstclock.c: (gst_clock_id_wait):
10872 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10873 most clock implementations.
10875 Flesh out docs about resolution methods.
10876 API: GstClockClass::wait_jitter
10878 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10879 (gst_system_clock_async_thread),
10880 (gst_system_clock_id_wait_jitter_unlocked),
10881 (gst_system_clock_id_wait_jitter):
10882 Use base class wait_jitter variant for improved performance
10883 due to less clock polling.
10885 2006-08-11 Edward Hervey <edward@fluendo.com>
10887 * gst/gst.c: (gst_init_check), (init_post):
10888 Set gst as being initialized before scanning/updating the registry,
10889 since there might be my python plugin loader that calls gst_init() and
10890 we don't want to loop back in.
10893 2006-08-11 Wim Taymans <wim@fluendo.com>
10895 * docs/design/part-qos.txt:
10896 Bring docs in line with the code. Mostly the sign of the jitter was
10897 wrong in the docs. Fixes #349943.
10900 Fix the docs for the jitter.
10902 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10903 (gst_event_parse_tag), (gst_event_new_buffer_size),
10904 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10905 (gst_event_new_seek), (gst_event_parse_seek),
10906 (gst_event_new_navigation):
10907 Make sure the GstStructure has no parent when creating custom
10909 Add some more argument checking so that we avoid 0.0 rates.
10910 Flesh out the docs for the QoS event some more.
10912 2006-08-11 Wim Taymans <wim@fluendo.com>
10914 * docs/gst/gstreamer-sections.txt:
10915 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10916 (ensure_current_registry_forking), (ensure_current_registry),
10917 (parse_one_option), (parse_goption_arg), (gst_deinit),
10918 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10921 Added API and command line option to disable registry forking in
10922 addition to the environment variable.
10923 Constify some static arrays.
10924 Added some more debug.
10925 Don't deinit twice.
10926 API: gst_registry_fork_is_enabled()
10927 API: gst_registry_fork_set_enabled()
10928 API: --gst-disable-registry-fork command line option
10931 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10933 * gst/gst.c: (gst_init):
10934 Fix typo in error message.
10936 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10938 * libs/gst/controller/gstcontroller.h:
10939 fix ABI size-correction
10941 * tests/check/libs/gdp.c: (gst_dp_suite):
10942 make tests that use deprecated API conditional
10944 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10946 * docs/libs/gstreamer-libs-sections.txt:
10947 * libs/gst/controller/gstcontroller.c:
10948 (_gst_controller_get_property), (_gst_controller_set_property),
10949 (_gst_controller_init), (_gst_controller_class_init):
10950 * libs/gst/controller/gstcontroller.h:
10951 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10952 (gst_object_set_control_rate):
10953 API: add gst_object_{s,g}et_control_rate(), add private data section,
10956 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10957 * libs/gst/dataprotocol/dataprotocol.h:
10958 add deprecation guards to make gtk-doc happy and allow disabling cruft
10960 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10962 * tests/check/Makefile.am:
10963 * tests/check/gst/.cvsignore:
10964 Let's enable the new unit test as well.
10966 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10969 * docs/gst/gstreamer-sections.txt:
10970 * gst/gstconfig.h.in:
10971 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10972 (_gst_info_printf_extension_ptr),
10973 (_gst_info_printf_extension_segment):
10974 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10975 register that lets us easily dump GstSegments into debug
10978 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10979 (info_segment_format_printf_extension), (gst_info_suite):
10980 Add simple unit test that logs a bunch of different segments (not
10981 valgrinded at the moment because of leaks in
10982 gst_debug_add_log_function).
10984 2006-08-09 Edward Hervey <edward@fluendo.com>
10986 * libs/gst/base/gstbasetransform.c:
10987 (gst_base_transform_buffer_alloc):
10988 Even if we can't figure out the proper format to request downstream,
10989 call buffer_alloc() downstream with the input parameters without setting
10990 the caps on the srcpad. This will force negotiation in the chain
10994 2006-08-08 Edward Hervey <edward@fluendo.com>
10996 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10997 Unlinking from a pad without a target is now a perfectly valid case
10998 which should NOT raise an assertion.
10999 This case would happen if a linked ghostpad its target set to NULL after
11000 it was previously linked.
11002 2006-08-08 Edward Hervey <edward@fluendo.com>
11004 * tests/check/libs/gdp.c:
11005 Also comment out the test (see below).
11007 2006-08-08 Edward Hervey <edward@fluendo.com>
11009 * tests/check/libs/gdp.c: (gst_dp_suite):
11010 Use the architecture information from config.h and not gcc macros
11011 in order to properly disable a test that fails on PPC64.
11013 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
11015 * gst/gstelement.c: (gst_element_remove_pad):
11016 Don't crash printing the warning if the pad has no parent.
11018 2006-08-02 Wim Taymans <wim@fluendo.com>
11020 * libs/gst/dataprotocol/dataprotocol.c:
11021 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
11022 (gst_dp_crc), (gst_dp_header_payload_length),
11023 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
11024 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
11025 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
11026 (gst_dp_event_from_packet), (gst_dp_validate_header),
11027 (gst_dp_validate_payload):
11028 Make debug category static
11029 Constify the crc table.
11030 Do some more arg checking in public functions.
11031 Fix some docs and do some small cleanups.
11033 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11034 Add some more checks to see if GDP deals with bogus input.
11036 2006-07-31 Wim Taymans <wim@fluendo.com>
11038 * gst/gstvalue.c: (gst_value_compare_list):
11039 Fix GstValueList comparison code. Fixes #347293.
11041 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11042 Check to test GstValueList comparison.
11044 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11046 * gst/gstelementfactory.c: (gst_element_factory_create):
11047 Remove unnecessary ref/unref pair
11049 * gst/parse/grammar.y:
11050 Make sure to free the parse buffer on all code paths.
11051 Move a g_free up to the error handler where it's easier to see.
11053 * tests/check/gst/gstevent.c: (test_event):
11054 Extending timeout for downstream travelling events to 10 seconds to
11055 hopefully avoid intermittent failure on the buildbots.
11057 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11058 Don't manually set the state of the src element - it will happen as a
11059 natural consequence of the pipeline changing state, and that way it
11060 will do it in the right order too.
11062 2006-07-31 Wim Taymans <wim@fluendo.com>
11064 * libs/gst/base/gstbasetransform.c:
11065 (gst_base_transform_buffer_alloc):
11066 Use OBJECT_LOCK and refcounting to get the pad caps in the
11067 buffer_alloc function because the caps could change while we are
11068 busy with them. Fixes #349105
11070 2006-07-31 Wim Taymans <wim@fluendo.com>
11072 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11073 Protect _PAD_CAPS with OBJECT_LOCK.
11075 2006-07-31 Wim Taymans <wim@fluendo.com>
11077 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11078 (gst_pad_get_property), (gst_pad_activate_pull),
11079 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11080 (gst_pad_set_activate_function),
11081 (gst_pad_set_activatepull_function),
11082 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11083 (gst_pad_set_getrange_function),
11084 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11085 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11086 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11087 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11088 (gst_pad_set_acceptcaps_function),
11089 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11090 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11091 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11092 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11093 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11094 (gst_pad_configure_sink), (gst_pad_configure_src),
11095 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11096 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11097 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11098 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11099 (gst_pad_send_event):
11100 Use _DEBUG_OBJECT when it makes sense.
11101 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11102 Small cleanups and code reflows.
11103 Avoid caps refcounting in _accept_caps.
11104 Refactor alloc_buffer so that the code performed on the peer is in a
11105 separate function. Also if the pad does not implement a buffer alloc
11106 function, we should still check if the pad is flushing before falling
11107 back to the default allocator.
11109 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11111 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11112 Make all uses of identity and fakesink have silent=true to avoid
11113 serialising every passing data structure, which is breaking tests
11114 on FC4 for some unknown reason.
11116 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11118 * gst/parse/Makefile.am:
11119 * gst/parse/grammar.y:
11120 * gst/parse/parse.l:
11121 Reverted previous patch as it required to bump the flex dependency to
11122 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11124 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11126 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11128 * gst/parse/Makefile.am:
11129 * gst/parse/grammar.y:
11130 * gst/parse/parse.l:
11131 push & pop the state of the lexer for reentrant use case
11134 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11136 * libs/gst/base/gstbasesrc.h:
11137 Note in the docs that the ::newsegment vfunc is not actually used by
11140 2006-07-28 Wim Taymans <wim@fluendo.com>
11142 * libs/gst/base/gstcollectpads.c:
11143 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11144 (gst_collect_pads_clear), (gst_collect_pads_flush),
11145 (gst_collect_pads_event), (gst_collect_pads_chain):
11146 When flushing a pad, also clear the queued buffer so that we don't
11147 accidentally use it when we shouldn't.
11148 Fix leaks by inreffing incomming buffer.
11149 Flush out queued buffers in case of errors.
11152 2006-07-28 Wim Taymans <wim@fluendo.com>
11154 * docs/random/phonon-gst:
11155 Random notes about a Phonon backend.
11157 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11159 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11161 * tests/check/libs/gdp.c: (gst_dp_suite):
11162 Take a whack at fixing the ppc compile using a different define to
11163 disable the broken test.
11165 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11166 Remove excess g_print()
11168 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11170 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11171 Oops, meant to uncomment this line too to dampen the noise a bit.
11173 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11175 * gst/parse/grammar.y:
11176 * gst/parse/parse.l:
11177 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11178 (GST_START_TEST), (parse_suite):
11179 Fix some of the leaks exposed by extending the parse-launch testsuite,
11180 and move the 3 I can't figure out into a separate test that won't run
11181 the pipelines unless the appropriate line is uncommented.
11183 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11185 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11186 Requesting 0 bytes before the end of the file should result in
11187 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11190 2006-07-27 Wim Taymans <wim@fluendo.com>
11192 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11193 Fix useless assert, a uint is always positive.
11195 * gst/gststructure.c: (gst_structure_nth_field_name),
11196 (gst_structure_foreach), (gst_structure_map_in_place):
11197 Check input arguments for public functions to avoid obvious crashes.
11199 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11200 * plugins/elements/gstfakesink.h:
11201 Do less useless typechecking.
11203 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11205 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11206 Do not use mmap() by default since there are a number of error
11207 conditions that we would like to handle in a non-fatal way that
11208 will result in a SIGBUS if we use mmap(). Examples: external
11209 devices (USB harddrive, portable music player) being unplugged
11210 while in use; file on mounted CD/DVD that can't be read because
11211 the medium is partly damaged. Fixes #348455 and #348475.
11213 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11216 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11217 rates are a gdouble
11219 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11221 * gst/gstregistry.c:
11222 Move big documentation comment into class section header, so that it
11223 appears in the API docs.
11225 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11227 * docs/gst/gstreamer-sections.txt:
11228 Oops. Commit the docs additions too for new API.
11229 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11231 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11233 * gst/gststructure.c: (gst_structure_id_set),
11234 (gst_structure_id_set_valist):
11235 * gst/gststructure.h:
11236 Add API for setting values into structures without performing
11237 a quark lookup, if the appropriate quark is already known.
11239 API: gst_structure_id_set
11240 API: gst_structure_id_set_valist
11242 * gst/parse/grammar.y:
11243 * gst/parse/parse.l:
11244 Remove some dead code shown by the coverage information.
11245 Don't throw a critical g_warning when encountering a syntax error,
11246 just warn and let the normal error path handle it.
11248 * plugins/elements/gstelements.c:
11249 Bump the rank of filesink up to PRIMARY so that it is preferred over
11250 gnomevfssink for file:// sink uri's
11252 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11253 (GST_START_TEST), (run_delayed_test),
11254 (gst_parse_test_element_base_init),
11255 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11256 (gst_parse_test_element_change_state),
11257 (gst_register_parse_element), (parse_suite):
11258 Beef up the tests for parse syntax to check that more error cases
11259 fail as they are supposed to. Increases the test coverage a bit.
11261 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11263 * docs/manual/basics-elements.xml:
11264 Fix gst_element_link() example.
11267 Mention in API docs that one should usually gst_bin_add()
11268 elements to a bin or pipeline before doing the linking.
11270 2006-07-26 Wim Taymans <wim@fluendo.com>
11272 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11273 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11274 Avoid function call for known types by keeping the buffer and
11275 subbuffer GType global.
11277 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11278 Random silly optimisations in read() path.
11280 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11282 * tools/gst-launch.c: (main):
11283 If the top-level of the parse is a normal bin, it doesn't do the
11284 right logic to run as a top-level element, so place it inside a
11287 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11289 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11290 Remove superfluous g_object_notify() calls, GObject does
11291 that for us automatically.
11293 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11296 on Win32, use dllspec to export the debug category symbols
11298 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11300 * gst/gsttaglist.c: (_gst_tag_initialize):
11301 Allow more than one GST_TAG_IMAGE per taglist.
11303 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11305 * gst/gstminiobject.c:
11307 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11308 (gst_fd_src_create):
11309 log recurring events at LOG level
11310 add more debug for when the fd gets set
11312 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11314 * gst/gstparse.c: (gst_parse_launch):
11315 Also remove reentrance checks if flex is MT safe (#348179)
11316 Fix my empty ChangeLog entry below
11318 2006-07-21 Andy Wingo <wingo@pobox.com>
11320 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11322 * libs/gst/check/Makefile.am
11323 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11324 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11325 * libs/gst/check/gstbufferstraw.h:
11326 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11327 functions, thus proving I am still a GStreamer haxor. OK I wrote
11328 them a long time ago, but anyways.
11330 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11333 * gst/gstparse.c: (gst_parse_launch):
11334 Check for flex version and omit mutex if we have a MT save flex
11337 2006-07-21 Wim Taymans <wim@fluendo.com>
11339 * gst/gstparse.c: (gst_parse_launch):
11340 Protect recursive calls to _parse with a recursive mutex
11343 2006-07-21 Wim Taymans <wim@fluendo.com>
11345 * tests/check/gst/gstpad.c: (GST_START_TEST):
11348 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11350 * gst/gstparse.c: (gst_parse_launch):
11351 Do not hang on recursive usage of gst_parse_launch()
11353 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11355 * gst/gsttaglist.c:
11356 Add some more docs, comments and FIXME 0.11s here and there
11357 and also fix some typos.
11359 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11361 * gst/gstsegment.h:
11362 Convert tabs to spaces for better readability.
11364 2006-07-20 Edward Hervey <edward@fluendo.com>
11366 * tests/check/libs/gdp.c: (gst_dp_suite):
11367 the test_buffer test fails at line 140 on ppc64 at the following
11369 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11370 GST_BUFFER_FLAG_IN_CAPS),
11371 "GST_BUFFER_IN_CAPS flag should have been copied !");
11372 See bug #348114 for more details.
11374 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11376 * docs/pwg/advanced-scheduling.xml:
11378 Fix typos (#348000).
11380 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11382 * docs/pwg/intro-basics.xml:
11383 Fix wrong links (#347927).
11385 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11387 * gst/gstregistry.h:
11388 * gst/gstregistryxml.c: (load_feature),
11389 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11390 * win32/common/config.h:
11391 make --disable-index work (#342564)
11393 2006-07-18 Wim Taymans <wim@fluendo.com>
11395 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11399 The attached patch adds two missing defines to gsttrace.h when tracing
11400 is disabled. It also corrects one existing define.
11403 2006-07-17 Wim Taymans <wim@fluendo.com>
11405 * docs/gst/gstreamer-sections.txt:
11406 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11408 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11409 Add two functions to check and change the SIGSEGV behaviour
11410 when loading plugins.
11411 Don't mess with the SIGSEGV handler when we were told not to.
11413 API: gst_segtrap_is_enabled
11414 API: gst_segtrap_set_enabled
11416 2006-07-14 Wim Taymans <wim@fluendo.com>
11418 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11419 * tests/check/elements/filesrc.c: (GST_START_TEST):
11420 Revert fix for regression in #347408 after release.
11422 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11424 Patch by: Antoine Tremblay <hexa00 at gmail com>
11426 * gst/gstutils.c: (gst_element_unlink):
11427 Free iterator when done (#347311).
11429 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11430 And add a test case for this.
11432 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11435 Bump nano back to CVS
11437 === release 0.10.9 ===
11439 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11442 releasing 0.10.9, "On the road again"
11444 2006-07-13 Wim Taymans <wim@fluendo.com>
11446 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11447 * tests/check/elements/filesrc.c: (GST_START_TEST):
11448 Revert pull-0 fix for release. Disable check. Fixes #347408.
11450 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11452 * libs/gst/dataprotocol/dataprotocol.c:
11453 (gst_dp_event_from_packet_1_0):
11454 Fixes #347337: failure to deserialize event packets with
11455 empty payload (only event type)
11457 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11460 do not install a .c file in the header directory
11462 2006-07-13 Edward Hervey <edward@fluendo.com>
11464 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11465 GhostPad no longer implicitely use the padtemplates of the targets.
11468 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11470 * gst/gstvalue.c: (gst_value_compare_list),
11471 (gst_value_compare_array), (_gst_value_initialize):
11472 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11473 Make GstValueArray comparison be order dependent as designed.
11474 Add checks for value lists and value array comparisons.
11477 2006-07-11 Edward Hervey <edward@fluendo.com>
11479 * gst/gstbin.c: (activate_pads),
11480 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11481 (gst_bin_change_state_func):
11482 (de)activate src pads before calling state_change on the childs.
11483 This is to avoid the case where a src ghostpad is blocked (holding the
11484 stream lock), which would block the deactivation of the ghostpad's
11486 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11487 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11488 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11489 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11490 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11491 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11492 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11493 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11494 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11495 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11496 (gst_ghost_pad_class_init),
11497 (gst_ghost_pad_internal_do_activate_push),
11498 (gst_ghost_pad_internal_do_activate_pull),
11499 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11500 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11501 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11502 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11503 GhostPads now create their internal GstProxyPad at creation (and not
11504 when they're linked, as it was being done previously).
11505 The internal and target pads are linked straight away.
11506 The data will also travel through the other pad in order to make
11507 pad blocking and probes non-hackish (the probe/block now really happens
11508 on the GhostPad and not on the target).
11509 * gst/gstpad.c: (gst_pad_set_blocked_async),
11510 (gst_pad_link_prepare), (gst_pad_push_event):
11511 Remove previous ghostpad cruft.
11512 * gst/gstutils.c: (gst_pad_add_data_probe),
11513 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11514 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11515 (gst_pad_remove_buffer_probe):
11516 Remove previous ghost pad cruft.
11517 Added more detailed debug statements.
11518 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11519 Fix the testsuite for refcounting changes.
11520 The comments about who has references were correct, but the refcount
11521 being checked wasn't the same (!?!).
11525 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11527 * docs/gst/gstreamer-sections.txt:
11528 * gst/gstconfig.h.in:
11529 More docs for configuration options, add docs to gtk-doc.
11531 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11534 * gst/gstconfig.h.in:
11535 * win32/common/config.h:
11536 Fix build when disabling tracing (fixes #344016). Also start to document
11537 the defines that disable the sub-systems.
11539 2006-07-10 Edward Hervey <edward@fluendo.com>
11541 * gst/gst.c: (ensure_current_registry_forking):
11542 let's make valgrind happy...
11544 2006-07-09 Wim Taymans <wim@fluendo.com>
11546 * gst/gstelement.c: (activate_pads),
11547 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11548 Better pad activation code: Reset the collect value too on resync.
11551 2006-07-09 Wim Taymans <wim@fluendo.com>
11553 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11554 (gst_pad_activate_push):
11555 Use some more macros where it makes sense.
11556 Allow pad mode switching instead of asserting. When a pad
11557 is activated in one mode and we activate it in another,
11558 deactivate it first before activating it in a different mode.
11561 2006-07-08 Andy Wingo <wingo@pobox.com>
11563 * tools/gst-launch.c (main): Handle err == NULL.
11565 * gst/gst.c (init_post, ensure_current_registry)
11566 (ensure_current_registry_forking)
11567 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11568 factoring out the registry scanning into separate functions. Don't
11569 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11570 Better environment var name/interface suggestions accepted.
11572 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11574 * gst/gstobject.c: (gst_object_set_name_default),
11575 (gst_object_set_name):
11576 Random micro-optimisation: don't use a hash table
11577 with strings as keys and the usual strdup/strcmp
11578 involved, but rather just use the GQuark of the
11579 type name as key, since it needs to be looked up
11580 anyway to get the type name string.
11582 * tests/check/gst/gstobject.c: (GST_START_TEST):
11585 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11587 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11588 (gst_bin_iterate_all_by_interface):
11589 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11590 GTypes are gulongs and thus the top 4 bytes might be cut
11591 off on some platforms when doing GPOINTER_TO_INT, leading
11592 to invalid GTypes and bad things happening (see RH bug #179654).
11593 Also add a check to make sure the type passed in is really
11596 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11601 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11605 * gst-element-check.m4:
11606 * gst-element-check.m4.in:
11607 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11608 instead of the unversioned gst-inspect (#324176, #168659).
11610 2006-07-06 Wim Taymans <wim@fluendo.com>
11612 * gst/gstmessage.h:
11613 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11616 2006-07-06 Wim Taymans <wim@fluendo.com>
11618 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11619 (gst_base_src_wait), (gst_base_src_update_length),
11620 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11621 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11622 (gst_base_src_loop), (gst_base_src_start),
11623 (gst_base_src_activate_pull):
11625 blocksize == 0 now means the default blocksize when working in push
11627 Remove some pointless asserts in _wait function.
11628 Fix offset/length calculations and EOS handling. We can now pull 0
11629 bytes as well, which is allowed.
11630 use _check_get_range() to decide if we can operate in _pull based
11632 Fix refcounting leak when check_get_range function was not
11634 API GstBaseSrc::blocksize range can be 0 too now (default)
11636 * tests/check/elements/filesrc.c: (GST_START_TEST),
11638 Added check to test _get_range() behaviour.
11640 2006-07-06 Wim Taymans <wim@fluendo.com>
11642 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11643 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11644 (gst_pad_pull_range):
11646 Lots of comments and docs added to the pad functions.
11647 Flesh out the expected behaviour of the get_range() functions.
11649 2006-07-06 Wim Taymans <wim@fluendo.com>
11654 * gst/gstiterator.h:
11658 Remove comma at end of enumerator list.
11660 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11662 * win32/common/libgstbase.def:
11663 * win32/common/libgstdataprotocol.def:
11664 * win32/common/libsgtreamer.def:
11665 Add new exported functions.
11667 2006-07-05 Wim Taymans <wim@fluendo.com>
11669 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11670 Add some more docs here and there.
11672 2006-07-05 Wim Taymans <wim@fluendo.com>
11674 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11675 (gst_base_sink_loop), (gst_base_sink_get_position):
11676 When operating in pull mode update the offset so that we
11679 2006-07-05 Wim Taymans <wim@fluendo.com>
11681 * gst/gstregistryxml.c: (read_string):
11682 Avoid strdup. (will happen in libxml, but hey!)
11685 Add some more docs.
11687 2006-07-05 Wim Taymans <wim@fluendo.com>
11689 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11690 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11691 (gst_buffer_suite):
11692 No point in checking if the size of the subbuffer > 0, the
11693 code handles it correclty as demonstrated by unit test.
11694 Also add a unit test for the zero sized _new_and_alloc and
11695 _copy. Fixes #346663.
11697 2006-07-05 Wim Taymans <wim@fluendo.com>
11699 * libs/gst/base/gstbasetransform.c:
11700 (gst_base_transform_prepare_output_buffer),
11701 (gst_base_transform_buffer_alloc),
11702 (gst_base_transform_handle_buffer):
11703 Make sure the buffer we pass to transform_ip has a refcount of
11704 1 and thus is writable. Fixes #343196
11706 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11708 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11709 (gst_file_src_init), (gst_file_src_set_property),
11710 (gst_file_src_get_property), (gst_file_src_map_region):
11711 * plugins/elements/gstfilesrc.h:
11712 Add "sequential" property, off by default, to use madvise and hint
11713 to the kernel that sequential access is desired.
11714 Touch all retrieved pages by default to ensure they are pulled
11715 into memory. (Closes #345720)
11717 2006-07-03 Wim Taymans <wim@fluendo.com>
11719 * docs/design/part-block.txt:
11720 * docs/design/part-dynamic.txt:
11721 Small docs updates.
11723 2006-07-03 Wim Taymans <wim@fluendo.com>
11725 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11726 (gst_caps_unref), (gst_static_caps_get),
11727 (gst_caps_append_structure):
11728 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11729 Use GSlice when the glib we build against is >= 2.10
11731 2006-07-03 Wim Taymans <wim@fluendo.com>
11733 * gst/gstelement.c: (gst_element_pads_activate):
11734 Small cleanup in pad activation code.
11736 2006-07-03 Wim Taymans <wim@fluendo.com>
11738 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11740 * gst/gst-i18n-app.h:
11741 * gst/gst-i18n-lib.h:
11742 * tools/gst-inspect.c: (print_signal_info):
11743 The attached patch will make the inclusion of gettext.h unconditional in
11744 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11745 libintl.h in tools/gst-inspect.c.
11746 This allows use of --disable-nls again and fixes #344642.
11748 2006-07-03 Edward Hervey <edward@fluendo.com>
11750 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11751 Implement pad blocking on events according to part-block.txt.
11752 More comments on behaviour.
11753 * tests/check/gst/gstevent.c: (test_event):
11754 Send event to peer pad of blocked pad (else it will block).
11756 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11758 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11759 (gst_check_run_suite):
11760 if we get the wrong message, give us the types as string
11761 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11763 * tests/check/elements/filesrc.c: (GST_START_TEST):
11764 add a test for trying to open a non-existing file
11766 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11768 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11769 add a test for adding self
11771 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11773 * libs/gst/check/gstcheck.h:
11774 add some assert_ as alias for fail_unless_*
11775 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11776 increase test coverage
11778 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11781 include lcov.mak for lcov coverage generation
11782 * tools/Makefile.am:
11785 2006-07-02 Edward Hervey <edward@fluendo.com>
11787 * tests/check/elements/.cvsignore:
11790 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11793 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11794 * tests/check/Makefile.am:
11795 clean up gcov files
11797 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11799 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11800 remove gst_caps_simplify; it was not declared and not used
11801 and deprecated in 0.8
11803 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11805 * docs/faq/gst-uninstalled:
11806 don't put empty paths on PYTHONPATH
11807 * docs/gst/gstreamer-sections.txt:
11808 remove some symbols that are not there
11810 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11812 * gst/gstcaps.c: (gst_caps_compare_structures):
11814 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11815 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11818 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11820 * libs/gst/dataprotocol/Makefile.am:
11821 build dataprotocol test by linking to the lib, instead of
11822 compiling the source, so we get coverage
11823 * tests/check/Makefile.am:
11824 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11825 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11826 add a test for filesrc
11828 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11830 * tests/check/gst/gststructure.c: (GST_START_TEST),
11831 (gst_structure_suite):
11832 Push coverage from 59.04% to 70.00%
11834 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11836 * tests/check/Makefile.am:
11837 gst-inspect every element; this makes sure that we also get
11838 coverage on element's get/set functions
11840 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11843 set CFLAGS and friends to -O0 if gcov is being used
11846 * libs/gst/base/Makefile.am:
11847 * libs/gst/check/Makefile.am:
11848 * libs/gst/controller/Makefile.am:
11849 * libs/gst/dataprotocol/Makefile.am:
11850 * libs/gst/net/Makefile.am:
11851 * plugins/elements/Makefile.am:
11852 * plugins/indexers/Makefile.am:
11853 add makefile rules to generate gcov data and clean up
11854 * tests/check/Makefile.am:
11855 add a coverage target that generates an html overview
11858 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11860 * tests/check/elements/fakesink.c:
11861 * tests/check/elements/fakesrc.c:
11862 * tests/check/elements/fdsrc.c:
11863 * tests/check/elements/identity.c:
11864 * tests/check/generic/sinks.c: (gst_sinks_suite):
11865 * tests/check/generic/states.c:
11866 * tests/check/gst/gst.c:
11867 * tests/check/gst/gstabi.c:
11868 * tests/check/gst/gstbin.c:
11869 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11870 * tests/check/gst/gstbus.c: (gst_bus_suite):
11871 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11872 * tests/check/gst/gstelement.c:
11873 * tests/check/gst/gstevent.c: (gst_event_suite):
11874 * tests/check/gst/gstghostpad.c:
11875 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11876 * tests/check/gst/gstmessage.c: (gst_message_suite):
11877 * tests/check/gst/gstminiobject.c:
11878 * tests/check/gst/gstobject.c:
11879 * tests/check/gst/gstpad.c:
11880 * tests/check/gst/gstpipeline.c:
11881 * tests/check/gst/gstplugin.c:
11882 * tests/check/gst/gstquery.c: (gst_query_suite):
11883 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11884 * tests/check/gst/gststructure.c:
11885 * tests/check/gst/gstsystemclock.c:
11886 * tests/check/gst/gsttag.c:
11887 * tests/check/gst/gsttask.c: (gst_task_suite):
11888 * tests/check/gst/gstutils.c:
11889 * tests/check/gst/gstvalue.c:
11890 * tests/check/libs/adapter.c:
11891 * tests/check/libs/basesrc.c:
11892 * tests/check/libs/collectpads.c:
11893 * tests/check/libs/controller.c:
11894 * tests/check/libs/gdp.c: (gst_dp_suite):
11895 * tests/check/libs/gstnetclientclock.c:
11896 * tests/check/libs/gstnettimeprovider.c:
11897 * tests/check/libs/libsabi.c: (libsabi_suite):
11898 * tests/check/libs/typefindhelper.c:
11899 * tests/check/pipelines/cleanup.c:
11900 * tests/check/pipelines/parse-launch.c:
11901 * tests/check/pipelines/simple-launch-lines.c:
11902 * tests/check/pipelines/stress.c: (stress_suite):
11905 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11907 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11908 * libs/gst/check/gstcheck.h:
11909 create a macro and function so that the simple unit test
11910 case can be just one macro to create main()
11912 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11914 * gst/gstbin.c: (gst_bin_restore_thyself):
11915 * gst/gstxml.c: (gst_xml_make_element):
11916 Fix deserialisation from XML. Set parent manually
11917 instead of using gst_bin_add(), since gst_bin_add()
11918 will unlink all pads of the element being added.
11921 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11923 Patch by: Peter Kjellerstedt <pkj at axis com>
11925 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11926 Fix missing g_strdup() and double free when using the
11927 --gst-plugin-load command line option (#346097).
11929 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11932 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11934 * libs/gst/net/gstnetclientclock.c:
11935 * libs/gst/net/gstnettimeprovider.c:
11936 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11938 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11940 * docs/manual/advanced-dataaccess.xml:
11941 Fix buffer probe example compilation in
11944 2006-06-22 Edward Hervey <edward@fluendo.com>
11946 * gst/gstelement.c: (gst_element_pads_activate):
11947 We need to deactivate src pads first and then sink pads.
11948 The reason is the src pads might be blocking while holding the streaming
11949 lock, so we need to deactivate them first so that deactivating the sink
11950 pads doesn't block (since it will require the streaming lock).
11952 2006-06-22 Wim Taymans <wim@fluendo.com>
11954 * libs/gst/base/gstbasetransform.c:
11955 (gst_base_transform_buffer_alloc):
11956 Forgot to remove two unneeded unrefs.
11957 Simplify a check _is_equal allready checks the obvious case.
11959 2006-06-22 Wim Taymans <wim@fluendo.com>
11961 * docs/design/part-block.txt:
11962 Some docs about what pad_block should do.
11964 2006-06-22 Wim Taymans <wim@fluendo.com>
11966 * gst/gstcaps.c: (gst_caps_replace):
11967 Fix crasher when passed NULL. Doc clarification.
11968 Optimize for the trivial case.
11970 * gst/gstpipeline.c: (gst_pipeline_change_state):
11973 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11974 Small documentation cleanup.
11976 * libs/gst/base/gstbasetransform.c:
11977 (gst_base_transform_buffer_alloc):
11978 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11979 is what we need and it avoids a whole lot of redundant
11980 refcount operations.
11982 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11984 Patch by: Philip Jägenstedt <philip at lysator liu se>
11986 * docs/manual/advanced-dataaccess.xml:
11987 Fix 'Embedding static elements' section to use
11988 GST_PLUGIN_DEFINE_STATIC (#345607).
11990 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11992 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11993 Attempt to 'fix' spuriously failing test case: it seems like the
11994 timeout of half a second is simply too small when the system is under
11995 load otherwise, and the timeout doesn't really seem to serve any
11996 particular purpose here. Give the pipeline a few seconds to preroll
11997 first, and then give it another half a second to go from PAUSED to
11998 PLAYING and marshal the message into the main thread.
12000 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12002 * tools/gst-feedback-m.m:
12003 Don't only use unversioned tools, try versioned tools as well
12006 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
12008 * gst/gstbus.c: (gst_bus_class_init):
12009 Fix some typos, make docs more explicit.
12011 2006-06-20 Wim Taymans <wim@fluendo.com>
12013 * tests/check/gst/gstghostpad.c: (block_callback),
12014 (GST_START_TEST), (gst_ghost_pad_suite):
12015 Added some more ghostpad tests, mainly blocking
12018 2006-06-16 Wim Taymans <wim@fluendo.com>
12020 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
12021 (gst_file_sink_close_file), (gst_file_sink_do_seek),
12022 (gst_file_sink_event), (gst_file_sink_render):
12023 * plugins/elements/gstfilesink.h:
12024 Check if we can seek in the file instead of assuming
12025 we always can. Post an error when we are asked to seek in a
12026 non-seekable file (like a fifo). Fixes #343312.
12029 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12031 * tools/gst-launch.1.in:
12032 Un-garble (fourcc) bit in filtered caps section.
12034 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12036 * docs/manual/advanced-autoplugging.xml:
12037 * docs/manual/basics-helloworld.xml:
12038 * docs/manual/highlevel-components.xml:
12039 Don't leak bus reference in sample code.
12041 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12044 Add default for new --enable-plugin-docs switch.
12047 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12050 * docs/Makefile.am:
12051 Use new ENABLE_PLUGIN_DOCS conditional.
12053 2006-06-14 Wim Taymans <wim@fluendo.com>
12055 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12056 Make it clear with a FIXME and a real define what the #if 0
12057 previously disabled.
12059 2006-06-14 Wim Taymans <wim@fluendo.com>
12061 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12062 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12063 * libs/gst/base/gstbasetransform.c:
12064 (gst_base_transform_sink_eventfunc):
12065 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12066 Don't randomly and silently reset a segment when the format
12067 changes as this is a bug somewhere upstream. Fixes #330379.
12069 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12071 Patch by: Wouter Paesen <wouter at kangaroot net>
12073 * libs/gst/controller/gstcontroller.c:
12074 (gst_controlled_property_new):
12075 Fix controlling of float properties (#344849).
12077 * tests/check/libs/controller.c:
12078 (gst_test_mono_source_get_property),
12079 (gst_test_mono_source_set_property),
12080 (gst_test_mono_source_class_init), (GST_START_TEST):
12081 While we're at it, add some float stuff to unit test.
12083 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12086 * docs/images/gdp-header.svg:
12088 * docs/libs/Makefile.am:
12089 * docs/libs/gdp-header.png:
12090 * libs/gst/dataprotocol/dataprotocol.c:
12091 add it to the API docs
12092 * docs/manual/intro-motivation.xml:
12095 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12097 * gst/gst.c: (scan_and_update_registry), (init_post):
12098 If the fork()'ed child process can't write the updated registry cache
12099 file to disk for some reason, make it exit with a failure exit code,
12100 so that the parent can then re-scan the plugins itself and update the
12101 registry structures in memory and work with that (rather than failing
12102 when creating elements because seemingly no plugins are available).
12103 Refactor registry scanning code into separate function for this and
12104 also separate fork() and non-fork() code paths. Fixes #344748.
12106 2006-06-13 Wim Taymans <wim@fluendo.com>
12108 * docs/manual/advanced-dataaccess.xml:
12109 Fix wrong PluginDesc. Fixes #344755.
12111 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12113 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12114 Fix silly bug that prevented us from creating
12115 ~/.gstreamer-0.10 and writing the registry in one
12116 go (the first call to g_mkstemp() would overwrite the
12117 placeholder in the template string, so the second call
12118 to g_mkstemp() after creating the missing directory
12119 would then error out with 'invalid argument').
12121 2006-06-13 Edward Hervey <edward@fluendo.com>
12123 * gst/gst.c: (init_post):
12126 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12128 * gst/glib-compat-private.h:
12129 * gst/glib-compat.c:
12130 * gst/glib-compat.h:
12131 * gst/gstvalue.c: (gst_value_serialize_flags):
12132 remove GLib 2.6 compatibility code
12134 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12136 * gst/parse/Makefile.am:
12137 Fix build with 'make -j N' even more (#340016).
12139 2006-06-12 Wim Taymans <wim@fluendo.com>
12141 * docs/gst/gstreamer-sections.txt:
12144 2006-06-12 Wim Taymans <wim@fluendo.com>
12146 * gst/gstsegment.c: (gst_segment_set_duration),
12147 (gst_segment_set_last_stop), (gst_segment_set_seek),
12148 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12149 (gst_segment_to_running_time), (gst_segment_clip):
12150 Use G_UNLIKELY to help the compiler a bit.
12152 2006-06-12 Wim Taymans <wim@fluendo.com>
12154 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12156 * gst/gstevent.c: (gst_event_get_type):
12157 * gst/gstmessage.c:
12158 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12160 constify quark registration strings. Fixes #344115
12161 Avoid unneeded type checking is _pad_push() by internally
12162 calling gst_pad_chain_unchecked().
12164 2006-06-12 Wim Taymans <wim@fluendo.com>
12166 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12167 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12168 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12169 (gst_buffer_is_span_fast), (gst_buffer_span):
12170 Init _type for consistency.
12171 Use _FLAGS macro to avoid type check.
12172 Avoid unneeded type checks in subbufer code.
12174 2006-06-12 Wim Taymans <wim@fluendo.com>
12176 * gst/gst.c: (gst_debug_help):
12177 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12178 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12179 (gst_plugin_feature_list_free):
12180 * gst/gstregistry.c: (gst_registry_add_plugin),
12181 (gst_registry_add_feature), (gst_registry_plugin_filter),
12182 (gst_registry_feature_filter), (gst_registry_find_plugin),
12183 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12184 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12185 * gst/gstregistryxml.c: (load_feature),
12186 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12187 * gst/gstminiobject.c: (gst_mini_object_unref),
12188 (gst_mini_object_replace), (gst_value_mini_object_free),
12189 (gst_value_mini_object_copy):
12190 Use _CAST macros to avoid unneeded type checking.
12191 Added some more G_UNLIKELY.
12193 2006-06-12 Wim Taymans <wim@fluendo.com>
12196 Avoid unneeded type checking.
12197 API: GST_BUFFER_IS_DISCONT
12199 * gst/gstminiobject.h:
12200 Avoid type check in flag accessor.
12202 * gst/gstelementfactory.h:
12204 * gst/gstpluginfeature.h:
12206 API: GST_ELEMENT_FACTORY_CAST
12207 API: GST_PLUGIN_CAST
12208 API: GST_PLUGIN_FEATURE_CAST
12210 2006-06-12 Wim Taymans <wim@fluendo.com>
12212 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12213 (gst_object_unref):
12214 Add G_UNLIKELY in type registration.
12215 Avoid type check in _ref/_unref since that is also
12218 2006-06-12 Wim Taymans <wim@fluendo.com>
12220 * gst/gsterror.c: (gst_g_error_get_type):
12221 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12222 (gst_static_pad_template_get_type):
12223 * gst/gsttaglist.c: (gst_tag_list_get_type):
12224 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12225 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12226 * gst/gsturi.c: (gst_uri_handler_get_type):
12227 * gst/gstvalue.c: (gst_date_get_type):
12228 * gst/gstxml.c: (gst_xml_get_type):
12229 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12230 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12231 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12232 Add G_UNLIKELY in type registration.
12234 2006-06-12 Wim Taymans <wim@fluendo.com>
12236 * tools/gst-inspect.c: (print_signal_info):
12237 Properly print enum values.
12239 2006-06-12 Wim Taymans <wim@fluendo.com>
12241 * gst/gstinfo.c: (gst_debug_set_active),
12242 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12244 Add some G_[UN]LIKELY.
12245 Maintain __gst_debug_min to avoid formatting the arguments of
12246 debug messages that will be dropped anyway to avoid a lot of
12247 overhead from the debugging system.
12249 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12252 * po/POTFILES.skip:
12253 add missing files containing translatable strings, tell intltool about
12256 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12258 * tests/check/libs/.cvsignore:
12259 add test-binary to ignore list
12261 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12263 * docs/libs/gstreamer-libs-docs.sgml:
12264 reorder (put dp into a chapter) and indent
12266 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12271 === release 0.10.8 ===
12273 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12276 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12278 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12280 * gst/gst.c: (init_post):
12281 move pid declaration to declaration block
12283 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12285 * gst/gst.c: (init_post):
12286 use _exit() instead of exit() in our forked child; this ensures
12287 that none of the registered exit handlers from whatever is using
12288 GStreamer get executed. This fixes gnome-mixer-applet failing
12289 to load, because ORBit would shut down.
12290 Spotted by: Edward Hervey <edward@fluendo.com>
12291 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12294 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12299 === release 0.10.7 ===
12301 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12304 releasing 0.10.7, "Soepeke, ik zie ou"
12306 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12329 * win32/common/config.h:
12330 0.10.6.2 prerelease
12332 2006-06-07 Wim Taymans <wim@fluendo.com>
12334 * gst/gstindex.c: (gst_index_gtype_resolver):
12335 * tools/gst-xmlinspect.c: (print_plugin_info):
12336 Fix leak spotted by coverity checker. Fixes #343827
12337 Fix another other leak found by paolo borelli.
12339 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12341 * libs/gst/dataprotocol/dataprotocol.c:
12342 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12343 (gst_dp_version_get_type), (gst_dp_init),
12344 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12345 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12346 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12347 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12348 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12349 (gst_dp_packetizer_free):
12350 * libs/gst/dataprotocol/dataprotocol.h:
12351 API: add a GstDPPacketizer object, and create/free functions
12352 API: add GstDPVersion enum
12353 Add 1.0 event function that uses the string serialization
12354 Serialize more useful buffer flags
12357 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12359 * tests/check/Makefile.am:
12360 * tests/check/gst/gstabi.c:
12361 * tests/check/gst/struct_ppc64.h:
12362 * tests/check/libs/libsabi.c:
12363 * tests/check/libs/struct_ppc64.h:
12364 add ppc64 structure sizes
12366 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12368 * tests/check/Makefile.am:
12369 * tests/check/gst/gstabi.c:
12370 * tests/check/gst/struct_x86_64.h:
12371 * tests/check/libs/libsabi.c:
12372 * tests/check/libs/struct_x86_64.h:
12373 generate and add structure size lists for x86_64
12375 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12377 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12378 * libs/gst/check/gstcheck.h:
12379 factor out the method from tests that checks size of structures,
12380 and add code to generate the header containing these sizes
12381 * tests/check/gst/gstabi.c: (GST_START_TEST):
12382 * tests/check/gst/struct_i386.h:
12383 * tests/check/libs/libsabi.c: (GST_START_TEST):
12384 * tests/check/libs/struct_i386.h:
12387 2006-06-06 Michael Smith <msmith@fluendo.com>
12389 * gst/gstsegment.h:
12390 Don't use c++-style comments, fixes #343929
12392 2006-06-05 Edward Hervey <edward@fluendo.com>
12395 plugin_paths is not used if we build without registry support.
12397 * gst/gstsegment.c: (gst_segment_copy):
12398 _copy() was always returning NULL...
12400 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12402 * libs/gst/dataprotocol/dataprotocol.c:
12403 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12404 (gst_dp_packet_from_event):
12405 factor out CRC code
12407 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12409 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12410 make sure we unset caps
12412 2006-06-02 Michael Smith <msmith@fluendo.com>
12414 * libs/gst/check/gstcheck.c: (gst_check_init),
12415 (gst_check_chain_func):
12416 * libs/gst/check/gstcheck.h:
12417 Add a cond/mutex to the check support lib, signal this whenever we
12418 add to the buffers list. This will allow tests to not busy-wait on
12421 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12423 * libs/gst/dataprotocol/dataprotocol.c:
12424 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12425 (gst_dp_packet_from_event):
12426 factor out some common header init code
12428 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12430 * docs/libs/gstreamer-libs-sections.txt:
12431 * docs/libs/tmpl/gstdataprotocol.sgml:
12432 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12433 * libs/gst/dataprotocol/dataprotocol.h:
12434 API: make gst_dp_crc() public
12436 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12438 * plugins/indexers/gstindexers.c: (plugin_init):
12439 conditionally register fileindexer (fixes #343598)
12441 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12443 * gst/gsttagsetter.h:
12444 Can't cast ifaces to a class
12446 * libs/gst/net/gstnetclientclock.h:
12447 * libs/gst/net/gstnettimeprovider.h:
12448 * plugins/elements/gstfakesink.h:
12449 * plugins/elements/gstfakesrc.h:
12450 * plugins/elements/gstfdsink.h:
12451 * plugins/elements/gstfdsrc.h:
12452 * plugins/elements/gstfilesink.h:
12453 * plugins/elements/gstfilesrc.h:
12454 * plugins/elements/gstidentity.h:
12455 * plugins/elements/gstqueue.h:
12456 * plugins/elements/gsttee.h:
12457 * plugins/indexers/gstfileindex.c:
12458 * plugins/indexers/gstmemindex.c:
12459 * tests/old/examples/plugins/example.h:
12460 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12462 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12464 * libs/gst/dataprotocol/dataprotocol.c:
12465 (gst_dp_header_from_buffer):
12466 make sure we zero the whole ABI-compatible area
12468 2006-06-01 Wim Taymans <wim@fluendo.com>
12470 Patch by: Alessandro Decina <alessandro at nnva dot org>
12472 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12473 Make sure the EOS flag is cleared from pads after a flush
12474 or stop. Fixes #343538.
12476 * tests/check/libs/collectpads.c: (GST_START_TEST),
12477 (gst_collect_pads_suite):
12478 Added test for collectpads reusage after EOS.
12480 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12483 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12484 * win32/common/libgstbase.def:
12485 export gst_collect_pads_set_flushing
12486 * win32/common/libgstreamer.def:
12487 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12488 gst_value_fraction_multiply
12489 * win32/vs6/gst_inspect.dsp:
12490 add a link to intl.lib
12492 2006-05-30 Wim Taymans <wim@fluendo.com>
12494 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12495 (gst_collect_pads_chain):
12496 Handle the case where a pad is removed from the collection
12497 that could cause the other pads to become collectable.
12499 2006-05-30 Wim Taymans <wim@fluendo.com>
12501 * gst/gstelement.c:
12502 Clarify the use of _release_request_pad() and
12503 _get_request_pad() a bit better.
12505 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12506 (gst_adapter_take_buffer):
12507 Fix some doc and comment typos.
12509 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12511 * docs/gst/gstreamer-sections.txt:
12512 * docs/libs/gstreamer-libs-sections.txt:
12513 add declared symbols
12515 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12517 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12518 Add debug that can be enabled using a #define at the top of the file,
12519 for dumping stats about how late/early we were when waking up from
12520 waiting on the clock.
12522 2006-05-30 Wim Taymans <wim@fluendo.com>
12524 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12525 When rebuilding the pad list, don't leak the previous list.
12527 2006-05-30 Wim Taymans <wim@fluendo.com>
12529 Patch by: Lutz Mueller <lutz at topfrose dot de>
12531 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12532 (gst_base_src_get_query_types), (gst_base_src_update_length):
12533 Publish supported query types.
12534 Update last_stop field in get_range mode so the position
12535 query works. Fixes #342321.
12537 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12539 * docs/gst/gstreamer-sections.txt:
12540 * gst/gsttaglist.c: (_gst_tag_initialize):
12541 * gst/gsttaglist.h:
12542 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12544 2006-05-30 Wim Taymans <wim@fluendo.com>
12546 Patch by: Alessandro Decina <alessandro at nnva dot org>
12548 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12549 Unlock mutex when removing an unknown pad.
12552 * tests/check/Makefile.am:
12553 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12554 (push_event), (setup), (teardown), (GST_START_TEST),
12555 (gst_collect_pads_suite), (main):
12556 Added collecpads check, disabled for now as check crashes for
12559 2006-05-29 Wim Taymans <wim@fluendo.com>
12561 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12562 Don't leak pads lists.
12564 2006-05-29 Wim Taymans <wim@fluendo.com>
12566 * docs/libs/gstreamer-libs-sections.txt:
12567 * libs/gst/base/gstcollectpads.c:
12568 (gst_collect_pads_set_flushing_unlocked),
12569 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12570 (gst_collect_pads_stop):
12571 * libs/gst/base/gstcollectpads.h:
12572 API: gst_collect_pads_set_flushing()
12573 Added api to set the pads to flushing, useful for seeking
12574 code in elements using collectpads.
12575 Clear segment when receiving a flush.
12577 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12579 * gst/gst.c: (add_path_func), (init_post):
12580 Don't scan registry paths passed via --gst-plugin-path immediately
12581 (will crash, because absolutely nothing is set up and no types are
12582 registered etc.); do this later in init_post(). Fixes #343057.
12584 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12586 * gst/gst.c: (init_post):
12587 if we have fork, fork while reading/rebuilding the registry
12588 so the parent doesn't take the hit of having all plugins loaded
12589 in memory. Fixes #342777.
12591 Check if we have fork()
12592 * win32/common/config.h.in:
12595 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12597 * plugins/elements/gstelements.c:
12598 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12599 (gst_file_src_init), (gst_file_src_set_property),
12600 (gst_file_src_get_property), (gst_file_src_start):
12601 * plugins/elements/gstfilesrc.h:
12602 API: GstFileSrc::use-mmap
12604 Add a use-mmap property to enable easier testing of all code paths.
12605 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12606 in the absence of gnomevfssrc. (Closes #340501)
12608 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12610 * tools/gst-inspect.c:
12611 Add missing include, removes warning of ngettext not being defined on
12614 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12616 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12617 Handle NULL input and output pointers silently as a failed conversion,
12618 rather than g_warnings.
12620 2006-05-25 Wim Taymans <wim@fluendo.com>
12622 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12623 Initialize variable before using. Fixes #342820.
12625 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12627 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12628 Fix off-by-one bug that would only allow peeks of N-1 bytes
12629 from the start even if the buffer to typefind on contains
12630 in fact N bytes of data (makes vorbis typefinding from a
12631 vorbis identification header buffer work).
12633 * tests/check/Makefile.am:
12634 * tests/check/libs/.cvsignore:
12635 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12636 (gst_typefindhelper_suite), (main), (foobar_typefind),
12638 Add very basic unit test for gst_type_find_helper_for_buffer()
12639 that checks for the problem fixed above.
12641 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12643 * tools/gst-inspect.c: (print_interfaces),
12644 (print_element_properties_info), (print_element_list), (main):
12645 add more translatable strings
12647 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12649 Patch by: Julien Moutte <julien at moutte net>
12651 * docs/gst/gstreamer-sections.txt:
12652 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12654 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12655 (gst_fake_sink_preroll):
12656 * plugins/elements/gstfakesink.h:
12657 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12659 2006-05-23 Wim Taymans <wim@fluendo.com>
12661 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12663 Added _CUSTOM error and success GstFlowReturn that can be
12664 used be elements internally.
12665 Added macro to check for SUCCESS flowreturns.
12666 API: GST_FLOW_CUSTOM_SUCCESS
12667 API: GST_FLOW_CUSTOM_ERROR
12668 API: GST_FLOW_IS_SUCCESS
12670 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12671 Added check for GstFlowReturn sanity.
12673 2006-05-23 Wim Taymans <wim@fluendo.com>
12675 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12677 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12678 (gst_collect_pads_event):
12679 clear/reset segment info in FLUSH_STOP.
12682 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12684 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12685 (gst_collect_pads_check_collected):
12686 Flush queued buffer on _stop(), fixes playing again (#342454)
12688 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12690 * tests/check/gst/gststructure.c: (GST_START_TEST),
12691 (gst_structure_suite):
12692 add a test for a complete structure
12694 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12696 * docs/faq/developing.xml:
12697 * docs/faq/faq.xml:
12698 * docs/faq/troubleshooting.xml:
12699 * docs/faq/using.xml:
12700 Some minor FAQ updates that won't change the fact that
12701 our FAQ is badly structured, full of information hardly
12702 anyone new to GStreamer needs to know and lacking lots
12703 of information people constantly ask for.
12705 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12707 * gst/gstpad.c: (gst_pad_set_caps):
12708 Short-circuit gst_pad_set_caps if setting the existing
12709 caps pointer again, and avoid printing debug and
12710 reffing/unreffing the caps.
12712 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12713 There's actually no need to set the caps before pushing -
12714 the acceptcaps method will handle it anyway.
12716 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12718 * docs/gst/gstreamer-sections.txt:
12719 * win32/common/libgstreamer.def:
12720 * gst/gstutils.c: (gst_element_seek_simple):
12722 API: add gst_element_seek_simple() (#342238).
12724 2006-05-18 Edward Hervey <edward@fluendo.com>
12726 * gst/gsttypefind.c: (gst_type_find_get_type):
12727 * gst/gsttypefind.h:
12728 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12729 registered for GstTypeFind pointers. This allows wrapping the structure
12730 in bindings (i.e. gst-python).
12732 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12734 * gst/gsttagsetter.c:
12735 Docs additions and fixes (see #339918).
12737 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12739 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12740 The caps intersection algorithm can produce multiple copies of the
12741 caps. Until that is fixed, we need to simplify the result to be
12742 sure whether the allowed caps are fixed or not.
12744 * plugins/elements/gstqueue.c: (gst_queue_init),
12745 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12746 (gst_queue_push_one):
12747 Proxied buffer alloc should not set the caps on the source pad.
12748 When pushing buffers, we always accept the caps change that triggers.
12749 This prevents negotiation errors caused by caps changing mid-stream
12750 and then being refused on our source pad (because upstream is now
12751 refusing those caps).
12753 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12755 * tests/examples/helloworld/helloworld.c: (main):
12756 Must plug audioconvert and audioresample between decoder
12759 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12761 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12762 (load_feature), (load_plugin):
12763 Allow empty strings for some of the plugin fields so we don't
12764 drop valid plugin entries that were written out correctly
12767 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12769 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12770 Use g_remove and g_rename instead of remove and rename that don't
12771 handle utf8 characters. rename was failing for users who had specific
12772 characters in their name then the registry was built at each
12774 * win32/vs6/gst_inspect.dsp:
12775 * win32/vs6/gst_launch.dsp:
12776 * win32/vs6/libgstbase.dsp:
12777 * win32/vs6/libgstcoreelements.dsp:
12778 * win32/vs6/libgstreamer.dsp:
12779 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12780 build of libgstreamer and clean unused libraries in projects link
12783 2006-05-17 Edward Hervey <edward@fluendo.com>
12785 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12786 The queue is not responsible for pushing an EOS when receiving a fatal
12787 flow error. It's up to the real element driving the pipeline to do that.
12789 2006-05-16 Edward Hervey <edward@fluendo.com>
12791 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12792 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12793 buffer returned a fatal error. It should just send an EOS and stop
12795 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12796 when pushing buffers on the queue and will be able to handle the event.
12798 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12800 * docs/manual/basics-bins.xml:
12801 * docs/manual/basics-init.xml:
12802 Fix typos and minor errors in sample code (#341856).
12804 2006-05-16 Wim Taymans <wim@fluendo.com>
12806 * docs/design/part-qos.txt:
12807 Fix indexes in formulas to make more sense.
12809 2006-05-15 Wim Taymans <wim@fluendo.com>
12811 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12812 Don't report POSITION based on clock time if sync is
12813 disabled in a sink.
12815 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12818 Add cast to make compiler happy - refcount variable was a gint
12819 in GstObject but is a guint in GObject and g_atomic_int_get()
12822 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12824 * gst/parse/Makefile.am:
12825 chain commands using &&, which also makes parallel make work
12827 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12829 * docs/gst/gstreamer-sections.txt:
12832 * gst/gstmessage.h:
12835 === release 0.10.6 ===
12837 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12840 releasing 0.10.6, "Take the cannoli"
12842 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12844 * tools/gst-launch.c: (print_tag):
12845 Fix use of uninitialized variable in the hypothetical
12846 case that some broken plugin creates a GST_TAG_IMAGE
12847 tag containing a NULL buffer (#341667).
12849 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12851 * tools/gst-launch.c: (print_tag):
12852 Print something more intelligible for image tags when
12853 using the -t switch (#341556).
12855 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12860 define GST_MAJORMINOR so we have it available in win32/common/config.h
12861 Possibly remove it from our Makefile.am files later
12862 * win32/common/config.h:
12863 * win32/common/config.h.in:
12864 added GST_MAJORMINOR
12865 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12866 * win32/common/gstversion.h:
12869 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12872 Update win32 files listing.
12873 * win32/common/gstversion.h:
12874 Add GST_MAJORMINOR definition.
12875 * win32/common/libgstreamer.def:
12876 Add new exported functions.
12878 2006-05-12 Michael Smith <msmith@fluendo.com>
12880 * gst/gstplugin.c: (gst_plugin_load_file):
12881 If an so file has no plugin entry point, unload the module.
12883 2006-05-11 Wim Taymans <wim@fluendo.com>
12885 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12886 (gst_queue_set_property):
12887 Don't forget to signal the _chain or _loop function
12888 when the queue size or thresholds change since that might
12889 cause them to make progres again.
12891 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12893 * gst/gstclock.c: (gst_clock_class_init):
12894 * gst/gstindex.c: (gst_index_class_init):
12895 * gst/gstobject.c: (gst_object_class_init):
12896 * gst/gstpad.c: (gst_pad_class_init):
12897 * gst/gstpipeline.c: (gst_pipeline_class_init):
12898 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12899 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12900 * libs/gst/base/gstbasetransform.c:
12901 (gst_base_transform_class_init):
12902 * libs/gst/net/gstnetclientclock.c:
12903 (gst_net_client_clock_class_init):
12904 * libs/gst/net/gstnettimeprovider.c:
12905 (gst_net_time_provider_class_init):
12906 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12907 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12908 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12909 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12910 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12911 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12912 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12913 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12914 * plugins/elements/gsttee.c: (gst_tee_class_init):
12915 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12916 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12917 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12919 2006-05-11 Wim Taymans <wim@fluendo.com>
12921 * gst/gstbuffer.c: (_gst_buffer_initialize):
12922 Register subbufer along with the buffer type so that
12923 it does not accidentally gets registered from N
12924 different streaming threads in a non threadsafe way.
12926 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12930 * gst/gstmessage.h:
12931 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12932 gst_event_ref() and gst_message_ref() functions again
12933 (ugly hack, please do fix if there's a better way besides
12934 overrides.txt, which doesn't seem to work).
12936 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12938 * libs/gst/check/gstcheck.h:
12939 add an assert for setting state to avoid lots of repetitive code
12942 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12944 * gst/gstvalue.c: (gst_value_serialize_flags):
12945 fix a leak if no flags are set
12946 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12949 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12951 * docs/manual/basics-pads.xml:
12952 Expand a bit on caps and filtered links and update
12953 examples that were still using the no longer existing
12954 gst_pad_link_filtered() (#338206).
12956 2006-05-10 Wim Taymans <wim@fluendo.com>
12958 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12959 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12960 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12961 (gst_collect_pads_stop):
12962 * libs/gst/base/gstcollectpads.h:
12963 No need to call _stop in _finalize.
12964 Iterate the main pad list in _finalize.
12965 Added some more debug.
12966 Free lists and data in the right order.
12967 Also free data whem doing _remove_pad when stopped for
12968 backward compatibility protect ::started with PAD_LOCK as
12971 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12973 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12974 (gst_structure_parse_value):
12976 rename a method so that it actually says what it does better
12978 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12980 * gst/gstevent.c: (_gst_event_initialize):
12981 * gst/gstformat.c: (_gst_format_initialize):
12982 make sure some essential types used by events are registered
12983 as part of gst_init()
12984 * gst/gstvalue.c: (gst_value_serialize_flags):
12985 if no flags are set, serialize them to a value that represents NONE
12986 so that deserializing them works
12987 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12988 add tests for serialization and deserialization of flags
12990 2006-05-10 Wim Taymans <wim@fluendo.com>
12992 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12993 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12994 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12995 (gst_collect_pads_event), (gst_collect_pads_chain):
12998 Catch and return errors from the collect function
12999 Refuse data on eos pads.
13001 2006-05-10 Edward Hervey <edward@fluendo.com>
13003 * gst/gstinterface.h:
13004 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
13005 GInterface type checking.
13006 They were previously using non-defined macros.
13008 2006-05-09 Wim Taymans <wim@fluendo.com>
13010 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
13011 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
13012 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
13013 (gst_collect_pads_start), (gst_collect_pads_stop),
13014 (gst_collect_pads_peek), (gst_collect_pads_pop),
13015 (gst_collect_pads_available), (gst_collect_pads_read),
13016 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
13017 (gst_collect_pads_is_collected), (gst_collect_pads_event),
13018 (gst_collect_pads_chain):
13019 * libs/gst/base/gstcollectpads.h:
13020 Clean up the mess that is collectpads, add comments and
13021 FIXMEs where needed.
13022 Maintain a separate pad list so we can add pads while
13023 collecting the other ones. For this we need a new separate
13025 Fix memory leak in finalize.
13026 Refactor some weird code to set/unset pad flushing flags, mark
13028 Don't crash in _available, _read, _flush when we're EOS.
13030 * tests/check/libs/.cvsignore:
13031 Ignore adapter check binary.
13033 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13035 * gst/gstindex.c: (gst_index_resolver_get_type):
13036 * plugins/elements/gstfakesink.c:
13037 (gst_fake_sink_state_error_get_type):
13038 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13039 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13040 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13041 Const-ify GEnumValue arrays.
13043 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13045 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13046 Add test case for flags + gst_buffer_make_metadata_writable().
13048 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13050 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13051 gst_buffer_make_metadata_writable() should maintain the
13052 buffer flags (those that make sense at least) (see #340859).
13054 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13056 * tools/gst-inspect.c:
13057 * tools/gst-launch.c:
13058 * tools/gst-typefind.c:
13059 * tools/gst-xmlinspect.c:
13061 Fix up includes: need to include stdlib.h in tools.h for exit().
13063 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13065 * gst/gsttaglist.c: (_gst_tag_initialize):
13066 * gst/gsttaglist.h:
13067 API: add GST_TAG_IMAGE tag (#340721).
13069 2006-05-08 Wim Taymans <wim@fluendo.com>
13072 Added some docs for the segment query.
13074 2006-05-08 Wim Taymans <wim@fluendo.com>
13076 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13077 (gst_base_src_loop), (gst_base_src_change_state):
13078 Always push non-flushing serialized events in the streaming
13081 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13083 * gst/gsterror.c: (_gst_stream_errors_init):
13084 Add a missing error string.
13086 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13088 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13089 Add applied_rate to the debug
13091 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13092 Copy applied_rate into the outgoing NEWSEGMENT event
13094 2006-05-08 Wim Taymans <wim@fluendo.com>
13096 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13098 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13099 (gst_base_sink_change_state):
13100 call ::unlock before taking the PREROLL_LOCK so we can safely
13101 handle elements that lock in ::render.
13104 2006-05-08 Edward Hervey <edward@fluendo.com>
13106 * autogen.sh: (CONFIGURE_DEF_OPT):
13107 Darwin's libtoolize is in fact called glibtoolize.
13108 Adding glibtoolize to the list of accepted names for libtoolize.
13110 2006-05-08 Wim Taymans <wim@fluendo.com>
13112 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13113 Unify error handling, don't post an error message
13114 when a push() returns EOS but perform our normal EOS
13115 handling code. Fixes #340772.
13117 2006-05-08 Wim Taymans <wim@fluendo.com>
13119 * docs/design/part-overview.txt:
13120 Make upsteam/downstream concepts more clear.
13121 Give an example of serialized/non-serialized events.
13123 * docs/design/part-events.txt:
13124 * docs/design/part-streams.txt:
13125 Mention applied_rate.
13127 * docs/design/part-trickmodes.txt:
13128 Mention applied rate, flesh out some more use cases.
13130 * gst/gstevent.c: (gst_event_new_new_segment),
13131 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13132 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13133 (gst_event_parse_tag), (gst_event_new_buffer_size),
13134 (gst_event_parse_buffer_size), (gst_event_new_qos),
13135 (gst_event_parse_qos), (gst_event_parse_seek),
13136 (gst_event_new_navigation):
13138 Add applied_rate field to NEWSEGMENT event.
13139 API: gst_event_new_new_segment_full()
13140 API: gst_event_parse_new_segment_full()
13142 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13143 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13144 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13145 * gst/gstsegment.h:
13146 Add applied_rate to GstSegment structure.
13147 Make calculation of stream_time and running_time more correct
13148 wrt rate/applied_rate.
13149 Add some more docs.
13150 API: GstSegment::applied_rate field
13151 API: gst_segment_set_newsegment_full();
13153 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13154 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13155 * libs/gst/base/gstbasetransform.c:
13156 (gst_base_transform_sink_eventfunc),
13157 (gst_base_transform_handle_buffer):
13158 Parse and use applied_rate in the GstSegment field.
13160 * tests/check/gst/gstevent.c: (GST_START_TEST):
13161 Add check for applied_rate field.
13163 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13164 (gstsegments_suite):
13165 Add more checks for various GstSegment operations.
13167 2006-05-08 Wim Taymans <wim@fluendo.com>
13169 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13170 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13171 (gst_base_sink_get_position), (gst_base_sink_change_state):
13172 Store the sync time of the buffer end position separatly in a
13173 new variable eos_rtime so we can properly sync the EOS event.
13175 Fix the docs for gst_base_sink_set_qos_enabled().
13176 Don't set segment start to invalid value when we receive a
13177 non TIME newsegment.
13178 get closer to handling position reporting for negative rates
13181 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13184 Docs about how to print caps for debug purposes.
13186 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13187 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13189 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13191 * gst/gstelement.c:
13192 use full enum names and preprend a '%' in docs strings to make recent
13193 gtk-doc turn that into a link
13195 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13197 * docs/manual/basics-bins.xml:
13198 * docs/manual/basics-bus.xml:
13199 * docs/manual/basics-pads.xml:
13200 Some typo fixes, some additions, some clarifications.
13202 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13204 * tools/gst-inspect.c: (main):
13205 * tools/gst-launch.c: (main):
13206 * tools/gst-run.c: (main):
13207 * tools/gst-typefind.c: (main):
13208 * tools/gst-xmlinspect.c: (main):
13209 Use the string passed to g_option_context_new() for
13210 what it's intended for - the program name is already
13213 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13215 * tools/Makefile.am:
13216 * tools/gst-inspect.c: (main):
13217 * tools/gst-launch.c: (main):
13218 * tools/gst-xmlinspect.c: (main):
13220 Add back --version command line option (#340460).
13222 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13223 Add --version option and use GOption for argument parsing; refactor a
13224 bit; accept directories as arguments and recurse into them; lastly,
13225 print a decent error message when things go wrong.
13227 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13229 * docs/manual/basics-bins.xml:
13230 Don't mention GstThread (#340611)
13231 * docs/manual/basics-elements.xml:
13232 Update link to GObject tutorial (#340607)
13234 2006-05-05 Wim Taymans <wim@fluendo.com>
13237 * gst/gstminiobject.c:
13238 Add note about refcounting and miniobject/buffer writeability
13239 to docs. Fixes #340604
13241 * gst/gstelementfactory.h:
13242 Added some explanation about @klass.
13244 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13246 * docs/manual/intro-motivation.xml:
13247 * docs/manual/manual.xml:
13248 Avoid CORBA & Bonobo references (#340598)
13250 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13252 * docs/manual/basics-bus.xml:
13253 * docs/manual/basics-pads.xml:
13254 Fix up some inaccuracies and omissions (#340609)
13256 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13258 * gst/gstghostpad.c:
13259 Small typo in docs (#340625)
13261 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13263 * gst/parse/Makefile.am:
13264 Make 'make -j' proof (see #340698).
13266 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13269 Require GLib-2.8 here as well.
13271 2006-05-05 Wim Taymans <wim@fluendo.com>
13273 * gst/glib-compat.c:
13274 * gst/gst.c: (init_pre):
13275 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13276 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13277 (gst_object_dispatch_properties_changed):
13279 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13280 * gst/gststructure.c: (gst_structure_set_valist):
13281 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13282 Remove pre glib2.8 compatibility, fixes #340508
13284 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13286 * gst/gsttaglist.h:
13287 Mention type of tags in doc blurbs.
13289 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13291 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13292 (gst_pad_configure_src), (gst_pad_push):
13293 Restore acceptcaps checking behaviour now that good plugins have
13296 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13298 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13305 * gst/gstmessage.c:
13309 * gst/parse/Makefile.am:
13310 * libs/gst/base/gstadapter.c:
13311 * libs/gst/base/gstbasesrc.c:
13312 * libs/gst/base/gstpushsrc.c:
13313 * libs/gst/base/gsttypefindhelper.c:
13314 * plugins/elements/gstfakesrc.c:
13315 * plugins/elements/gstidentity.c:
13316 Make sure gstprivate.h and/or config.h are
13317 always included first, otherwise some of our
13318 defines (like _FILE_OFFSET_BITS) might be
13319 redefined in the system headers. Fixes build
13320 on opensolaris (#340016).
13322 2006-05-04 Wim Taymans <wim@fluendo.com>
13324 * docs/libs/gstreamer-libs-sections.txt:
13325 API: addition: gst_adapter_take_buffer()
13327 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13328 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13329 (gst_adapter_available_fast):
13330 * libs/gst/base/gstadapter.h:
13331 Prepare for optimizing the hell out of this hugely inefficient
13333 Added gst_adapter_take_buffer() so we can at least start thinking
13334 about subbuffering and merging.
13335 Added some comments.
13337 * tests/check/Makefile.am:
13338 * tests/check/libs/adapter.c: (GST_START_TEST),
13339 (gst_adapter_suite), (main):
13340 Added GstAdapter check.
13342 2006-05-04 Wim Taymans <wim@fluendo.com>
13344 * docs/design/part-overview.txt:
13345 Fix some typos, add blurb about buffer flags.
13347 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13349 * docs/libs/gstreamer-libs-sections.txt:
13350 make sure GstBaseTransformClass shows up in the docs
13351 * libs/gst/base/gstbasetransform.c:
13352 * libs/gst/base/gstbasetransform.h:
13353 move docs so gtk-doc picks it up now
13355 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13357 * docs/libs/gstreamer-libs-sections.txt:
13358 add missing symbols to docs
13360 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13362 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13363 back out the newsegment handling change, see #340060 for ongoing
13366 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13368 * tools/gst-run.c: (get_candidates), (main):
13369 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13370 work); fix typo in error message. Fixes #340079.
13372 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13374 * common/Makefile.am:
13375 * docs/Makefile.am:
13376 * docs/faq/Makefile.am:
13377 * docs/gst/Makefile.am:
13378 * docs/libs/Makefile.am:
13379 * docs/manual/Makefile.am:
13380 * docs/plugins/Makefile.am:
13381 * docs/pwg/Makefile.am:
13382 * docs/slides/Makefile.am:
13384 * common/upload.mak:
13385 move upload.mak to common
13387 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13389 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13390 add more asserts on refcounts
13391 do more cleanup at end of tests
13392 fix test leaks showing in FC5
13394 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13396 * plugins/elements/gsttypefindelement.c:
13397 (gst_type_find_element_handle_event):
13398 reverted wrong change and reflowed code to avoid others falling into
13401 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13403 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13404 fix changelog entry about last collectpads change,
13405 add notes about proper fix
13407 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13410 * gst/gstregistry.c: (gst_registry_scan_path_level),
13411 (gst_registry_scan_path):
13412 * gst/gstregistry.h:
13413 only write out registry if it has changed, fixes #338339
13415 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13418 * gst/gstpipeline.c:
13419 * plugins/elements/gstcapsfilter.c:
13420 * plugins/elements/gstfakesink.c:
13421 * plugins/elements/gstfakesrc.c:
13422 * plugins/elements/gstfdsink.c:
13423 * plugins/elements/gstfdsrc.c:
13424 * plugins/elements/gstfilesink.c:
13425 * plugins/elements/gstfilesrc.c:
13426 * plugins/elements/gstidentity.c:
13427 * plugins/elements/gstqueue.c:
13428 * plugins/elements/gsttee.c:
13429 * plugins/elements/gsttypefindelement.c:
13430 (gst_type_find_element_handle_event):
13431 make GstElementDetails const
13433 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13435 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13436 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13437 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13438 more detailed debug and formatting cleanup,
13439 forward newsegments to src-pad (so that e.g. adder not eats them)
13441 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13443 * gst/gstutils.c: (gst_element_link_pads):
13444 cleanup double code
13446 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13448 * libs/gst/controller/gstcontroller.c:
13449 (gst_controller_sync_values):
13451 * tests/check/libs/controller.c: (GST_START_TEST),
13452 (gst_controller_suite):
13453 a new test for live value handling
13455 2006-04-28 Wim Taymans <wim@fluendo.com>
13457 * gst/gstutils.c: (push_and_ref):
13458 Added some more docs.
13459 Fix refcount issue whith gst_element_found_tags() helper
13460 function. Fixes #338335
13462 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13463 Added testsuite for gst_element_found_tags().
13465 2006-04-28 Michael Smith <msmith@fluendo.com>
13467 * gst/gstvalue.c: (gst_value_serialize_flags):
13468 Avoid NULL dereference when trying to serialize flags containing
13471 2006-04-28 Michael Smith <msmith@fluendo.com>
13473 * plugins/elements/gsttypefindelement.c:
13474 (gst_type_find_element_handle_event):
13475 If we get EOS before any data is accumulated, don't use
13476 uninitialised local variables.
13478 2006-04-28 Michael Smith <msmith@fluendo.com>
13480 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13481 (gst_dp_event_from_packet):
13482 Fixes in reading/writing events over GDP (not currently used?) -
13483 dereferencing NULL events for unknown/invalid event types, memory
13484 leak, and change g_warning to GST_WARNING.
13486 2006-04-28 Wim Taymans <wim@fluendo.com>
13488 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13489 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13490 (gst_base_sink_get_position), (gst_base_sink_change_state):
13491 When frame dropping is enabled, we should not ignore frames
13492 without a duration.
13493 Update some documentation.
13495 2006-04-28 Wim Taymans <wim@fluendo.com>
13497 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13498 (gst_base_src_send_event), (gst_base_src_change_state):
13499 Documentation updates.
13501 2006-04-28 Wim Taymans <wim@fluendo.com>
13503 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13504 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13505 handle EAGAIN, EINTR and short writes correctly. Also clean
13506 up some error cases, avoid a deadlock on bad file descriptors and
13507 use GST_DEBUG_OBJECT.
13510 2006-04-28 Wim Taymans <wim@fluendo.com>
13512 * gst/gstvalue.c: (gst_value_serialize_buffer),
13513 (gst_value_deserialize_buffer):
13514 Don't try to serialize a GValue with a NULL buffer.
13517 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13518 Added check for serialisation of NULL buffers.
13520 2006-04-28 Wim Taymans <wim@fluendo.com>
13522 * gst/gstminiobject.c: (gst_value_take_mini_object):
13523 Taking a NULL miniobject is valid, fix the case where
13524 we try to unref the NULL miniobject.
13526 2006-04-28 Wim Taymans <wim@fluendo.com>
13528 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13530 * gst/gstbin.c: (gst_bin_handle_message_func):
13532 Don't leak bin refcount when a state recalc is
13533 in progress and we delay another one #339808.
13535 2006-04-28 Wim Taymans <wim@fluendo.com>
13537 * docs/design/part-TODO.txt:
13538 Mention QoS as an ongoing work item.
13540 * docs/design/part-buffering.txt:
13541 New doc about buffering that needs to be fleshed out
13544 * docs/design/part-qos.txt:
13545 More QoS policy for decoders/demuxers/transforms
13547 * docs/design/part-trickmodes.txt:
13550 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13555 === release 0.10.5 ===
13557 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13560 releasing 0.10.5, "Fogo"
13562 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13564 patch by: Wim Taymans
13566 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13567 (gst_pad_configure_src), (gst_pad_push):
13568 * gst/gstpipeline.c: (gst_pipeline_init):
13569 Fix internal data flow errors. Fixes #338711.
13571 2006-04-12 Wim Taymans <wim@fluendo.com>
13573 * tests/check/gst/gstelement.c: (GST_START_TEST):
13574 Don't leak the factory.
13576 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13579 * win32/common/config.h:
13582 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13584 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13585 (gst_controller_unset_all):
13586 Free allocated GstTimedValues when freeing list nodes.
13587 Should fix leaks 'make check-valgrind' complains about.
13589 * win32/common/libgstcontroller.def:
13590 Add gst_controller_unset_all.
13592 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13594 * docs/libs/gstreamer-libs-sections.txt:
13595 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13596 (gst_controller_unset_all):
13597 * libs/gst/controller/gstcontroller.h:
13598 API: Added new method gst_controller_unset_all()
13599 fixed gst_controller_unset()
13600 * tests/check/libs/controller.c: (GST_START_TEST),
13601 (gst_controller_suite):
13602 Added two testcases for new and fixed method
13604 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13606 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13607 MSG_DONTWAIT is not defined on Cygwin, so work
13608 around that (fixes #317048).
13610 2006-04-11 Wim Taymans <wim@fluendo.com>
13612 * gst/gstelementfactory.c: (gst_element_register),
13613 (gst_element_factory_create), (gst_element_factory_make):
13616 Updated docs (Fixes #131079)
13618 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13621 * tests/check/gst/gstelement.c: (GST_START_TEST),
13622 (gst_element_suite):
13623 Added testcase for elementfactory class field.
13625 2006-04-10 Wim Taymans <wim@fluendo.com>
13627 * gst/gstsegment.c:
13628 Added some more docs.
13630 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13631 (gst_base_sink_reset_qos):
13632 Calculate more accurate rate values.
13634 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13636 * gst/gst_private.h:
13637 add a new #ifdef to use __declspec(dllimport) only for
13638 other modules and not for gstreamer core
13639 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13640 use gst_guint64_to_gdouble for conversion
13641 * win32/common/libgstreamer.def:
13642 add new exported functions
13643 * win32/vs6/gst_inspect.dsp:
13644 * win32/vs6/gst_launch.dsp:
13645 * win32/vs6/libgstbase.dsp:
13646 * win32/vs6/libgstcontroller.dsp:
13647 * win32/vs6/libgstcoreelements.dsp:
13648 * win32/vs6/libgstdataprotocol.dsp:
13649 * win32/vs6/libgstnet.dsp:
13650 update project files
13652 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13654 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13655 * gst/gstclock.c: (gst_clock_class_init):
13656 * gst/gstelement.c: (gst_element_class_init):
13657 * gst/gstindex.c: (gst_index_class_init):
13658 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13659 * gst/gstobject.c: (gst_object_class_init),
13660 (gst_signal_object_class_init):
13661 * gst/gstpad.c: (gst_pad_class_init):
13662 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13663 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13664 * gst/gstregistry.c: (gst_registry_class_init):
13665 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13666 * gst/gsttask.c: (gst_task_class_init):
13667 * gst/gstxml.c: (gst_xml_class_init):
13668 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13669 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13670 (gst_base_src_loop):
13671 * libs/gst/controller/gstcontroller.c:/
13672 (_gst_controller_class_init):
13673 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13674 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13675 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13676 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13677 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13678 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13680 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13682 * gst/gstpad.c: (gst_pad_link):
13683 Must set peer pads before calling the link function, otherwise
13684 a task started from a link function might get a flow-not-linked
13685 result when trying to push because the other thread where the
13686 linking happens hasn't had a chance to set the peers yet. This
13687 might happen for example when a queue gets linked to a downstream
13688 element, as queue starts a streaming task when its source pad
13689 gets linked. Happens in real life when playing back flac/musepack
13690 files in playbin (#332390).
13692 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13696 * libs/gst/base/gstadapter.h:
13697 * libs/gst/base/gstbasesink.h:
13698 * libs/gst/base/gstbasesrc.h:
13699 * libs/gst/base/gstbasetransform.h:
13700 * libs/gst/base/gstcollectpads.h:
13701 * libs/gst/base/gstpushsrc.h:
13702 Fix broken GObject macros
13704 2006-04-07 Wim Taymans <wim@fluendo.com>
13706 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13707 Initialize start and stop times, thanks valgrind.
13709 2006-04-07 Wim Taymans <wim@fluendo.com>
13711 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13712 Be a bit nicer to badly behaving upstream elements that expect
13713 us to deal with non TIME segments and timestamps (such as fakesrc
13716 2006-04-07 Wim Taymans <wim@fluendo.com>
13719 Small documentation clarification about the signal watch.
13721 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13722 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13723 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13724 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13725 (gst_base_sink_get_position_last),
13726 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13727 Convert and store timestamps in stream time and running time, the
13728 raw timestamps are not useful, also document this better.
13729 Use different window sizes for good and bad QoS observations so
13730 we react to badness a little quicker.
13731 Keep track of the amount of rendered and dropped buffers.
13732 Send QoS timestamps in running time.
13734 * libs/gst/base/gstbasetransform.c:
13735 (gst_base_transform_sink_eventfunc),
13736 (gst_base_transform_handle_buffer):
13737 Compare QoS timestamps against running time.
13739 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13742 Typo fixes in docs.
13744 2006-04-06 Michael Smith <msmith@fluendo.com>
13746 * gst/gstpad.c: (gst_pad_set_property):
13747 Use g_value_get_object() instead of g_value_dup_gst_object(),
13748 to avoid double-reffing the pad template (which we then sink,
13749 so this worked previously if (and only if) the pad template
13752 * gst/gstpadtemplate.c: (gst_pad_template_init),
13753 (gst_pad_template_pad_created):
13754 Never return floating references to pad templates, create
13755 them as initially-sunken.
13757 Document an extra function (and make this stop sinking our
13758 pad template, since that is now guaranteed to do nothing,
13759 since we created it sunken).
13761 * gst/gstghostpad.c:
13764 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13766 * gst/gstinfo.c: (__gst_in_valgrind):
13769 * plugins/elements/gsttypefindelement.c:
13770 (gst_type_find_element_chain):
13771 Don't leak buffer caps.
13773 2006-04-06 Michael Smith <msmith@fluendo.com>
13775 * gst/parse/grammar.y:
13776 Fix a leak in parse-launch for any source-or-sink named element
13779 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13780 Unref the pipeline if it exists after we've failed parsing.
13782 2006-04-05 Michael Smith <msmith@fluendo.com>
13784 * gst/gstpipeline.c: (gst_pipeline_init):
13785 When we create a pipeline bus, initially create it in flushing mode.
13786 Fixes leaks in at least one test, and makes a new pipeline work the
13787 same as one that has gone to READY and then back to NULL.
13789 * gst/gstelement.c:
13792 2006-04-05 Michael Smith <msmith@fluendo.com>
13794 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13795 Unref a pad we reffed.
13796 * tests/check/gst/gstutils.c: (GST_START_TEST):
13799 2006-04-05 Michael Smith <msmith@fluendo.com>
13801 * gst/gstquery.c: (gst_query_set_formats),
13802 (gst_query_set_formatsv):
13803 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13805 2006-04-05 Michael Smith <msmith@fluendo.com>
13807 * tests/check/generic/sinks.c: (GST_START_TEST):
13808 Fix a variety of memleaks in sinks check, which are only sometimes
13809 shown by running the tests under valgrind (weird?).
13811 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13813 * docs/version.entities.in:
13814 Fix the substituted entity name after thomas' changes on the
13817 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13819 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13822 2006-04-05 Andy Wingo <wingo@pobox.com>
13824 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13826 * libs/gst/base/gstbasetransform.c
13827 (gst_base_transform_sink_eventfunc): When resetting our segment on
13828 FLUSH_STOP, also update the flag saying we haven't seen a
13831 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13833 Patch by: Paolo Borelli <pborelli at katamail dot com>
13835 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13836 (gst_plugin_check_license):
13837 minor clean-ups: G_DEFINE_TYPE already takes care of the
13838 parent_class stuff, no need to do it twice. Mark array of
13839 license strings as constant. (#337103)
13841 2006-04-04 Michael Smith <msmith@fluendo.com>
13843 * tools/gst-inspect.c: (print_element_list):
13844 Free the right plugin list; fixes a memory leak.
13846 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13848 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13850 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13851 Don't error out on empty buffers (#336945).
13853 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13855 * docs/libs/gstreamer-libs-sections.txt:
13856 * gst/gsttaglist.c:
13857 * libs/gst/base/gstbasesink.c:
13858 * libs/gst/base/gstbasesink.h:
13859 * libs/gst/base/gstbasesrc.c:
13860 * libs/gst/base/gstbasesrc.h:
13861 Documentation updates. Make BaseSink and BaseSrc docs contain the
13862 class structure so that people can actually see the prototypes for
13863 virtual functions they're supposed to be overriding.
13865 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13867 * plugins/elements/gsttypefindelement.c:
13868 (gst_type_find_element_chain):
13869 More debug info; when skipping typefinding, send cached
13870 events in all cases.
13872 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13875 use new AS_VERSION and AS_NANO macros
13876 * gst/gst-i18n-lib.h:
13879 * gst/gstversion.h.in:
13880 * win32/common/config.h:
13881 * win32/common/config.h.in:
13884 2006-03-31 Michael Smith <msmith@fluendo.com>
13886 * plugins/elements/gsttypefindelement.c:
13887 (gst_type_find_element_chain):
13888 Do not typefind content if the buffers already have caps.
13889 Neccesary for icydemux (#333657), and the right thing to do anyway.
13891 2006-03-30 Wim Taymans <wim@fluendo.com>
13893 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13894 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13895 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13896 (gst_base_sink_record_qos_observation),
13897 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13898 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13899 (gst_base_sink_change_state):
13900 More QoS measurements as described in the design doc.
13901 Get rid of ringbuffer with observations, running average is
13902 more simple and equally good.
13903 Calculates valid proportion now.
13904 Added beginning of flood measurement.
13906 2006-03-29 Wim Taymans <wim@fluendo.com>
13908 * docs/design/part-qos.txt:
13910 Small documentation updates and additions.
13912 2006-03-29 Wim Taymans <wim@fluendo.com>
13914 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13915 (gst_base_src_send_event), (gst_base_src_loop),
13916 (gst_base_src_change_state):
13917 Perform the EOS logic when we reach the segment stop position.
13918 Fix compilation on gcc4.1
13920 2006-03-29 Wim Taymans <wim@fluendo.com>
13922 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13924 * plugins/elements/gstqueue.c: (gst_queue_init),
13925 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13926 (gst_queue_set_property):
13927 * plugins/elements/gstqueue.h:
13928 In queue, when EOS is received, if minimum threshold > max_size -
13929 current_level, there is chance that queue blocks forever in conditional
13930 item del wait. This is because the queue is not emptied completely due
13931 to minimum threshold. Here is another approach. Instead of setting
13932 cur_levels to max in EOS, just zero all minimum threshold levels. This
13933 should make sure that queue gives out all data. When going to READY
13934 (stop) state, just reset the original minimum threshold levels.
13937 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13939 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13940 (gst_type_find_element_handle_event),
13941 (gst_type_find_element_send_cached_events),
13942 (gst_type_find_element_change_state):
13943 * plugins/elements/gsttypefindelement.h:
13944 When typefinding is done in push mode, we should cache
13945 events we receive during typefinding instead of just
13946 dropping them (e.g. newsegment, custom events from
13947 dvdreadsrc etc.) and then send them out once we've
13948 determined the type of the stream (and decodebin
13949 has had a chance to plug in a decoder/demuxer).
13951 2006-03-27 Wim Taymans <wim@fluendo.com>
13953 * docs/design/part-qos.txt:
13956 2006-03-27 Wim Taymans <wim@fluendo.com>
13958 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13960 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13961 (gst_base_src_send_event), (gst_base_src_change_state):
13962 Handle element seek correctly when we are streaming.
13965 2006-03-24 Michael Smith <msmith@fluendo.com>
13967 * docs/faq/gst-uninstalled:
13968 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13969 allow you to correctly run intalled applications built against old
13970 core, using plugins that require updated core (e.g. running
13971 installed totem against a full uninstalled gstreamer stack)
13973 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13975 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13978 2006-03-24 Wim Taymans <wim@fluendo.com>
13980 * docs/gst/gstreamer-sections.txt:
13981 Rearrange the order of the methods so that related methods
13982 are grouped together in sections.
13984 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13986 * gst/gstelement.c:
13987 Little clarification in the docs
13989 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13993 * plugins/elements/gstidentity.c:
13994 * plugins/elements/gstqueue.c:
13995 * plugins/elements/gsttee.c:
13996 * plugins/elements/gsttypefindelement.c:
13997 GST_ELEMENT_DETAILS formatting
13999 2006-03-24 Wim Taymans <wim@fluendo.com>
14001 * libs/gst/base/gstbasesink.h:
14002 Only add fields, not insert or we break ABI.
14004 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14006 * win32/common/libgstbase.def:
14007 * win32/common/libgstreamer.def:
14008 Update, add recently added functions.
14010 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14012 * docs/gst/gstreamer-sections.txt:
14013 * gst/gstutils.c: (gst_pad_query_peer_position),
14014 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
14016 API: add some new utility functions:
14017 - gst_pad_query_peer_position()
14018 - gst_pad_query_peer_duration()
14019 - gst_pad_query_peer_convert()
14021 2006-03-23 Wim Taymans <wim@fluendo.com>
14023 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14024 (gst_base_sink_init), (gst_base_sink_finalize),
14025 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
14026 (gst_base_sink_set_property), (gst_base_sink_get_property),
14027 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14028 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14029 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14030 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14031 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14032 (gst_base_sink_preroll_object), (gst_base_sink_event),
14033 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14034 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14035 (gst_base_sink_query), (gst_base_sink_change_state):
14036 Decouple max-lateness and the fact that QoS messages are generated
14037 with a new property (qos).
14038 added API: GstBaseSink::async_play()
14039 Add vmethod so subclasses can be notified of ASYNC playing
14041 Collect timestamp start and stop to report better current
14042 position in EOS/PLAYING/PAUSED/READY/NULL.
14043 Refactor QoS/frame dropping and other measurements.
14044 API: GstBaseSrc::qos
14047 * libs/gst/base/gstbasesink.h:
14048 Added Private struct.
14049 API: gst_base_sink_set_qos_enabled()
14050 API: gst_base_sink_is_qos_enabled()
14052 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14054 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14055 If compiling against GLib-2.8 or newer, try to read the
14056 registry file using GMappedFile first before falling back
14057 to fopen() + fread() (#332151).
14059 2006-03-22 Wim Taymans <wim@fluendo.com>
14061 * gst/gstinfo.c: (gst_debug_set_active),
14062 (gst_debug_category_set_threshold):
14063 Disable debugging unless explicitly activated.
14066 2006-03-22 Wim Taymans <wim@fluendo.com>
14068 * gst/gstelement.c: (gst_element_set_locked_state),
14069 (gst_element_dispose):
14070 Cleanup the error case.
14072 * gst/gstobject.c: (gst_object_dispose):
14073 print a critical when some object was disposed with
14074 a parent, also revive the object since it might
14077 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14079 * tools/gst-launch.1.in:
14082 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14085 * tests/check/Makefile.am:
14086 disable some tests when we don't have a registry
14087 * tests/check/gst/gstutils.c: (gst_utils_suite):
14088 don't build the part that needs parsing
14090 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14093 * tests/examples/Makefile.am:
14094 fix --disable-parse build
14096 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14098 * tools/gst-feedback.1.in:
14099 Fix typo: s/feeback/feedback/ (#133494).
14101 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14103 * tools/Makefile.am:
14104 * tools/gst-launch.1.in:
14105 Add FILES section and correct entry about GST_REGISTRY_PATH
14106 environment variable (#133495; #133494).
14108 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14110 * tools/Makefile.am:
14111 * tools/gst-md5sum.1.in:
14112 * tools/gst-md5sum.c:
14113 Remove gst-md5sum and man page (the md5sink element
14114 required was removed ages ago)
14116 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14118 * gst/gststructure.c: (gst_structure_id_set_value):
14119 Make sure that string fields in structures/taglists
14120 contain valid UTF-8 - we don't want to pass rubbish to
14121 applications because of a buggy plugin (cp. #334167).
14123 2006-03-21 Edward Hervey <edward@fluendo.com>
14125 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14126 (gst_bin_handle_message_func):
14127 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14128 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14129 (gst_element_set_bus_func):
14130 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14131 * gst/gstminiobject.c: (gst_value_set_mini_object),
14132 (gst_value_take_mini_object):
14133 * gst/gstpad.c: (gst_pad_set_pad_template):
14134 * gst/gstpipeline.c: (gst_pipeline_dispose),
14135 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14136 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14137 (gst_collect_pads_chain):
14138 * libs/gst/net/gstnettimeprovider.c:
14139 (gst_net_time_provider_set_property):
14140 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14141 It's in fact all issues with gst_*object_replace().
14143 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14145 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14147 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14148 * pkgconfig/gstreamer-check.pc.in:
14149 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14151 2006-03-21 Edward Hervey <edward@fluendo.com>
14155 * gst/gstmessage.h:
14156 gst_[buffer|event|message]_ref() macros are replaced by a static
14157 inline functions because gcc-4.1 will about if the return value
14159 * tests/check/gst/gstevent.c: (event_probe):
14160 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14162 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14165 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14166 the type' case. (Closes: #335195 for now). In the future, when we
14167 depend on GLib 2.10, we could also intern the type name using
14168 g_intern_static_string()
14170 2006-03-20 Wim Taymans <wim@fluendo.com>
14172 * gst/gstbin.c: (gst_bin_handle_message_func),
14173 (bin_query_max_init), (bin_query_position_fold),
14174 (bin_query_position_done), (gst_bin_query):
14175 Position query should also take max of all streams.
14177 2006-03-20 Wim Taymans <wim@fluendo.com>
14179 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14180 (gst_fake_src_finalize):
14181 Fix leaks in fakesrc.
14183 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14184 Fix leaks in the testcase.
14186 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14188 * gst/gst_private.h:
14189 add win32 specific import decoration(__declspec(dllimport))
14190 for all extern GstDebugCategory * variables
14191 * win32/common/libgstbase.def:
14192 * win32/common/libgstcontroller.def:
14193 * win32/common/libgstreamer.def:
14194 Add some exports, remove empty lines
14195 * win32/common/libgstdataprotocol.def:
14196 * win32/common/libgstdataprotocol.dsp:
14197 * win32/common/libgstnet.def:
14198 * win32/common/libgstnet.dsp:
14199 new project files and exportation files added
14201 2006-03-19 Wim Taymans <wim@fluendo.com>
14203 * tests/check/libs/basesrc.c: (eos_event_counter):
14204 Use proper return value for probe.
14206 2006-03-17 Wim Taymans <wim@fluendo.com>
14208 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14210 Don't leak buffers, caps and pads on negotiation errors.
14212 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14214 * docs/faq/cvs.xml:
14215 * docs/faq/dependencies.xml:
14216 * docs/faq/developing.xml:
14217 * docs/faq/faq.xml:
14218 * docs/faq/general.xml:
14219 * docs/faq/getting.xml:
14220 * docs/faq/legal.xml:
14221 * docs/faq/troubleshooting.xml:
14222 * docs/faq/using.xml:
14223 Faq review and update.
14225 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14227 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14229 Don't pound the cpu to pieces by checking get_caps when accept_caps
14230 is called with the same caps as the pad already has.
14231 Use GST_DEBUG_OBJECT when outputting caps change information.
14233 2006-03-15 Wim Taymans <wim@fluendo.com>
14235 * gst/gstclock.c: (gst_clock_class_init):
14238 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14243 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14244 (gst_pad_accept_caps), (gst_pad_configure_sink),
14245 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14246 Make the default acceptcaps behaviour be to check the requested
14247 caps against the gst_pad_get_caps output.
14249 Ensure that gst_pad_accept_caps is used to check caps when a pad
14250 doesn't have a setcaps function, so that pads automatically refuse
14251 caps that they don't allow in their pad template. (Fixes #332986)
14253 When a buffer with attached caps is pushed, ensure that the source
14254 pad receives those caps even if the element didn't call
14255 gst_pad_set_caps first.
14257 2006-03-15 Wim Taymans <wim@fluendo.com>
14259 * libs/gst/base/gstadapter.c:
14262 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14264 * win32/common/libgstbase.def:
14265 * win32/common/libgstcontroller.def:
14266 * win32/common/libgstreamer.def:
14267 Add a whole bunch of missing functions (#334434).
14269 2006-03-14 Wim Taymans <wim@fluendo.com>
14271 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14272 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14273 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14274 Better debug info when we receive a segment event.
14275 Reorganize a bit so we can pass the get_times() results around.
14276 Use the segment format when calculating the running time.
14277 Don't do QoS is sync is disabled or we have no clock or the
14278 element does not want us to sync to the clock.
14279 Don't drop buffers if QoS is disabled for now.
14281 2006-03-14 Wim Taymans <wim@fluendo.com>
14283 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14284 Marked the stats property as unimplemented so people don't get
14286 Add debug message when regression goes wrong.
14287 Added some more docs.
14289 2006-03-14 Wim Taymans <wim@fluendo.com>
14291 * gst/gstsegment.c: (gst_segment_to_stream_time):
14292 Return correct return type in case of errors.
14294 2006-03-14 Wim Taymans <wim@fluendo.com>
14296 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14297 Don't segfault on invalid formats.
14299 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14301 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14302 Can't use gst_segment_to_running_time() when the segment
14303 is not in GST_TIME_FORMAT (like with filesink, for example).
14304 Stops flac encoding pipelines from spewing critical warnings
14307 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14309 * gst/gstpipeline.c: (gst_pipeline_class_init):
14310 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14312 * plugins/elements/gsttypefindelement.c:
14313 (gst_type_find_element_handle_event):
14314 Don't try to typefind empty streams.
14316 2006-03-14 Wim Taymans <wim@fluendo.com>
14318 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14319 (gst_base_sink_do_qos):
14320 Separate QoS calculation.
14321 Only drop buffers when lateness is bigger than the
14322 duration of the buffer.
14324 2006-03-13 Wim Taymans <wim@fluendo.com>
14326 * gst/gstpipeline.c: (gst_pipeline_set_property),
14327 (gst_pipeline_get_property), (do_pipeline_seek),
14328 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14329 (gst_pipeline_get_delay):
14330 Don't deadlock when reading properties.
14332 2006-03-13 Wim Taymans <wim@fluendo.com>
14334 * libs/gst/base/gstbasetransform.c:
14335 (gst_base_transform_class_init), (gst_base_transform_init),
14336 (gst_base_transform_sink_event),
14337 (gst_base_transform_sink_eventfunc),
14338 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14339 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14340 (gst_base_transform_set_property),
14341 (gst_base_transform_get_property),
14342 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14343 (gst_base_transform_set_qos_enabled),
14344 (gst_base_transform_is_qos_enabled):
14345 * libs/gst/base/gstbasetransform.h:
14346 Make basetransform virtual method for src events too.
14347 Handle QOS in basetransform.
14348 API: gst_base_transform_update_qos()
14349 API: gst_base_transform_set_qos_enabled()
14350 API: gst_base_transform_is_qos_enabled()
14352 2006-03-13 Wim Taymans <wim@fluendo.com>
14354 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14355 (gst_base_sink_do_sync):
14357 Use QOS debug category.
14359 2006-03-13 Wim Taymans <wim@fluendo.com>
14361 * plugins/elements/gstqueue.c:
14362 Very small doc update.
14364 2006-03-13 Wim Taymans <wim@fluendo.com>
14366 * gst/gst_private.h:
14367 * gst/gstinfo.c: (_gst_debug_init):
14368 Added QOS debug category
14370 2006-03-13 Wim Taymans <wim@fluendo.com>
14372 * docs/gst/gstreamer-sections.txt:
14373 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14375 * gst/gstbus.c: (gst_bus_class_init):
14378 * gst/gstelement.c: (gst_element_set_locked_state):
14379 * gst/gstsegment.c:
14380 Documentation updates.
14382 * gst/gstpipeline.c: (gst_pipeline_get_type),
14383 (gst_pipeline_class_init), (gst_pipeline_init),
14384 (gst_pipeline_dispose), (gst_pipeline_set_property),
14385 (gst_pipeline_get_property), (do_pipeline_seek),
14386 (gst_pipeline_send_event), (gst_pipeline_change_state),
14387 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14388 (gst_pipeline_get_delay):
14389 * gst/gstpipeline.h:
14390 Added methods for setting the delay.
14391 API: gst_pipeline_set_delay()
14392 API: gst_pipeline_get_delay()
14393 Add pipeline debug category
14396 Don't reset stream time when seek failed.
14398 2006-03-13 Wim Taymans <wim@fluendo.com>
14400 * docs/design/draft-klass.txt:
14401 * docs/design/part-clocks.txt:
14402 * docs/design/part-events.txt:
14403 * docs/design/part-gstbin.txt:
14404 * docs/design/part-gstpipeline.txt:
14405 * docs/design/part-messages.txt:
14406 * docs/design/part-negotiation.txt:
14407 * docs/design/part-overview.txt:
14408 * docs/design/part-preroll.txt:
14409 * docs/design/part-seeking.txt:
14410 * docs/design/part-states.txt:
14411 * docs/design/part-streams.txt:
14412 Documentation updates.
14414 2006-03-12 Julien MOUTTE <julien@moutte.net>
14416 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14417 us to leak strings...
14419 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14421 * libs/gst/net/gstnettimeprovider.c:
14423 * win32/common/config.h:
14426 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14428 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14431 Don't check for libgnomeui (leftover from old examples
14432 that aren't built or disted any longer) (#334303).
14434 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14436 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14437 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14438 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14439 there's no space left on the device.
14441 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14444 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14445 to cast the input to GstClockTime before comparing with
14446 another GstClockTime value.
14448 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14453 === release 0.10.4 ===
14455 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14458 releasing 0.10.4, "Light"
14460 2006-03-10 Michael Smith <msmith@fluendo.com>
14462 * libs/gst/dataprotocol/dataprotocol.c:
14463 Fix docs for dataprocotol to not get the return types completely
14464 wrong for a few functions.
14466 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14468 * docs/gst/gstreamer-sections.txt:
14469 * gst/gstpipeline.c: (gst_pipeline_class_init),
14470 (gst_pipeline_init), (gst_pipeline_set_property),
14471 (gst_pipeline_get_property), (gst_pipeline_change_state),
14472 (gst_pipeline_set_auto_flush_bus),
14473 (gst_pipeline_get_auto_flush_bus):
14474 * gst/gstpipeline.h:
14475 Add new API: gst_pipeline_set_auto_flush_bus() and
14476 gst_pipeline_get_auto_flush_bus() to disable automatic
14477 flushing of the pipeline's GstBus when going from READY
14478 to NULL state (#332045).
14480 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14482 * docs/gst/gstreamer-sections.txt:
14483 * gst/gsturi.c: (gst_uri_has_protocol):
14485 Add new API: gst_uri_has_protocol() (#333779).
14487 2006-03-09 Wim Taymans <wim@fluendo.com>
14489 * gst/gstclock.c: (gst_clock_entry_new),
14490 (gst_clock_id_compare_func), (gst_clock_id_wait),
14491 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14492 (gst_clock_init), (gst_clock_get_internal_time),
14493 (gst_clock_set_master), (do_linear_regression),
14494 (gst_clock_add_observation), (gst_clock_set_property):
14498 Fix a possible segfault when the window-size is made smaller.
14499 Calculate jitter before performing the clock wait. Ideally
14500 the clock implementation should calculate jitter but we need
14501 API breakage for that.
14503 * gst/gstsystemclock.c: (gst_system_clock_init):
14506 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14507 Remove leftover else
14509 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14510 (gst_systemclock_suite):
14511 Added check to test GST_CLOCK_DIFF.
14513 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14515 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14516 (gst_type_find_helper_get_range):
14517 If we are provided with the size, we should implement
14518 GstTypeFind::get_length, so that typefind functions who
14519 want to can actually peek at the middle of a file.
14521 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14523 * docs/manual/advanced-dataaccess.xml:
14524 Add some very very basic error checking.
14526 * docs/pwg/appendix-checklist.xml:
14527 Some updates to the list of things to check when writing an element.
14529 2006-03-08 Wim Taymans <wim@fluendo.com>
14531 * docs/design/part-element-transform.txt:
14532 Added some docs about the design of tranform elements.
14534 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14535 (gst_base_src_loop), (gst_base_src_change_state):
14536 Mark buffers with the DISCONT flag.
14538 2006-03-08 Michael Smith <msmith@fluendo.com>
14540 * gst/gstregistry.h:
14541 * gst/gstregistryxml.c: (gst_registry_save),
14542 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14543 (gst_registry_xml_save_pad_template),
14544 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14545 (gst_registry_xml_write_cache):
14546 Rewrite registry-saving to avoid race conditions and check for
14549 2006-03-08 Wim Taymans <wim@fluendo.com>
14551 * libs/gst/base/gstbasetransform.c:
14552 (gst_base_transform_transform_caps),
14553 (gst_base_transform_transform_size),
14554 (gst_base_transform_prepare_output_buffer),
14555 (gst_base_transform_get_unit_size),
14556 (gst_base_transform_buffer_alloc),
14557 (gst_base_transform_handle_buffer),
14558 (gst_base_transform_change_state):
14559 Cleanups, separate normal flow from errors, add sensible
14561 Don't try to renegotiate when allocating an output buffer.
14562 Also copy DISCONT buffer flag when copying a buffer.
14563 Reset the transform after we finish streaming, not during.
14565 2006-03-08 Wim Taymans <wim@fluendo.com>
14567 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14568 Use last buffer timestamp in qos message.
14570 2006-03-07 Wim Taymans <wim@fluendo.com>
14572 Patch by: Christophe Fergeau
14574 * docs/pwg/advanced-tagging.xml:
14575 * docs/pwg/building-pads.xml:
14578 2006-03-07 Wim Taymans <wim@fluendo.com>
14580 * docs/libs/gstreamer-libs-sections.txt:
14581 Added basesink new methods.
14585 Docs updates. Flesh out the QoS docs.
14587 * libs/gst/base/gstadapter.c:
14588 Small doc clarification about ownership and flushing.
14590 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14591 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14592 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14593 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14594 * libs/gst/base/gstbasesink.h:
14596 Added new methods to allow subclass to control max-lateness
14598 Generate very basic QoS events based on last sync observation.
14599 Updated docs, fix typo, added some QoS blurb.
14601 * libs/gst/base/gstbasesrc.c:
14602 Remove obsolete _get_state() calls from docs.
14604 2006-03-07 Wim Taymans <wim@fluendo.com>
14606 * docs/libs/gstreamer-libs-sections.txt:
14607 * libs/gst/base/gstbasetransform.h:
14608 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14609 Fix docs for GstBaseSrc.
14611 2006-03-07 Wim Taymans <wim@fluendo.com>
14613 * docs/gst/gstreamer-sections.txt:
14616 * libs/gst/base/gstbasetransform.h:
14617 Small documentation fixes.
14619 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14622 Document thread-unsafety of gst_value_register_foo_func()
14623 when used at the same time as gst_value_foo() (#322628).
14625 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14627 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14628 (gst_push_src_check_get_range):
14629 Push sources don't support pull mode by default.
14631 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14633 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14634 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14635 (gst_base_src_default_check_get_range):
14636 * libs/gst/base/gstbasesrc.h:
14637 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14638 provide default implementation, and rename
14639 gst_base_src_check_get_range() to
14640 gst_base_src_pad_check_get_range() for clarity.
14642 2006-03-06 Wim Taymans <wim@fluendo.com>
14644 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14645 Make property overridable.
14647 2006-03-06 Wim Taymans <wim@fluendo.com>
14649 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14650 (gst_base_sink_init), (gst_base_sink_set_property),
14651 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14652 * libs/gst/base/gstbasesink.h:
14653 API addition: Make max-lateness a property.
14655 2006-03-06 Wim Taymans <wim@fluendo.com>
14657 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14658 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14659 Don't ever draw a frame that is >10ms late.
14661 2006-03-06 Michael Smith <msmith@fluendo.com>
14663 * gst/gstmessage.c: (_gst_message_copy):
14664 When copying a message, set the parent_refcount of the enclosed
14665 structure to point at the copy, not the original message.
14667 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14669 Patch by: Christophe Fergeau
14672 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14673 usable in c++ code (#333417)
14675 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14678 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14680 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14682 * libs/gst/base/gstbasetransform.c:
14683 (gst_base_transform_transform_caps):
14684 Make sure caps are writable before passing them to
14687 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14690 Fix some minor docs errors.
14692 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14694 Patch by: Ross Burton <ross at burtonini dot com>
14696 * gst/gsterror.c: (_gst_resource_errors_init):
14698 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14700 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14703 Add a check and output a g_warning when GStreamer is built
14704 against GLib 2.6 but running against 2.8 or higher, and vice
14705 versa. (Closes: #323542)
14707 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14709 * gst/parse/parse.l:
14710 Commit patch for parse_launch syntax from #331255. Removes
14711 support for quoted strings and mimetypes when writing filtered
14712 caps. See the bug report for more details - I'm pretty sure this
14713 obscure feature is not in use by _anyone_ anywhere.
14715 With this simple change, the size of the gstreamer.so here
14716 drops from 2193KB to 1565KB.
14718 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14720 * plugins/elements/gsttypefindelement.h:
14721 * plugins/elements/gsttypefindelement.c:
14722 (gst_type_find_element_src_event), (start_typefinding),
14723 (stop_typefinding), (gst_type_find_element_handle_event),
14724 (gst_type_find_element_chain),
14725 (gst_type_find_element_chain_do_typefinding):
14726 Use gst_type_find_helper_for_buffer() for chain-based
14729 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14731 * plugins/elements/gsttypefindelement.c:
14732 (gst_type_find_element_class_init),
14733 (gst_type_find_element_set_property),
14734 (gst_type_find_element_get_property):
14735 Deprecate "maximum" property (not only was it only taken into
14736 account for typefinding in push-mode anyway, it also was never
14737 actually possible to set it in the first place because the
14738 property was registered with the numeric property ID for the
14739 "minimum" property). Register "maximum" property correctly,
14740 for the sake of future copy'n'pasters. Remove some cruft
14741 from property get/set functions.
14743 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14745 * plugins/elements/gsttypefindelement.c:
14746 (gst_type_find_element_activate):
14747 Use gst_type_find_helper_get_range() here, so we
14748 can honour the "minimum" property and also emit
14749 the signal with the correct probability of the found caps.
14751 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14753 * docs/libs/gstreamer-libs-sections.txt:
14754 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14755 (helper_find_suggest), (gst_type_find_helper_get_range),
14756 (gst_type_find_helper):
14757 * libs/gst/base/gsttypefindhelper.h:
14758 New API: gst_type_find_helper_get_range() (#333042).
14760 2006-03-02 Michael Smith <msmith@fluendo.com>
14762 * gst/gstregistryxml.c: (load_feature):
14763 Asserting on a failure to read part of the registry is Not Cool.
14764 Just log a warning and return NULL (which is already handled)
14766 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14768 * win32/common/libgstbase.def:
14769 added export of gst_type_find_helper_for_buffer
14770 * win32/common/libgstbase.def:
14771 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14772 gst_ghost_pad_get_target
14774 2006-02-28 Wim Taymans <wim@fluendo.com>
14776 * docs/design/draft-klass.txt:
14778 Added Connector to mark elements that are only used to
14779 allow pipeline connections.
14780 Moved Debug to extra feature since most of them are
14781 functionally something else.
14783 2006-02-28 Wim Taymans <wim@fluendo.com>
14785 * docs/design/draft-klass.txt:
14786 Some updates and clarifications.
14788 2006-02-28 Wim Taymans <wim@fluendo.com>
14790 * docs/design/draft-klass.txt:
14791 Proposal for klass field values.
14793 * docs/design/part-streams.txt:
14794 Start of a doc describing stream anatomy.
14796 2006-02-28 Wim Taymans <wim@fluendo.com>
14798 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14799 Help the compiler a bit with type registration.
14800 Use existing forward cod path instead of duplicating it when
14801 handling a message.
14803 * gst/gstbus.c: (gst_bus_get_type):
14804 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14805 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14806 * gst/gstclock.c: (gst_clock_get_type):
14807 * gst/gstelement.c: (gst_element_get_type),
14808 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14809 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14810 * gst/gstminiobject.c: (gst_mini_object_get_type):
14811 * gst/gstpad.c: (gst_pad_get_type):
14812 * gst/gstsegment.c: (gst_segment_get_type):
14813 * gst/gststructure.c: (gst_structure_get_type):
14814 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14815 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14817 Help compiler with type registration.
14819 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14822 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14824 * plugins/elements/gsttypefindelement.c:
14825 (gst_type_find_element_handle_event):
14826 When we get an EOS event and have not found a type yet
14827 (most likely because we had not yet accumulated
14828 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14829 type given the data we have so far. Fixes typefinding
14830 for very short streams again, most notably quicktime
14831 redirections as used on Apple's trailer site (#331701).
14833 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14835 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14836 (gst_type_find_helper):
14837 Try typefinding factories with the highest rank first.
14839 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14841 * docs/libs/gstreamer-libs-docs.sgml:
14842 * docs/libs/gstreamer-libs-sections.txt:
14843 * libs/gst/base/gsttypefindhelper.c:
14844 Add section for typefind helper and add documentation
14845 for the old and the new function.
14847 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14849 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14850 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14851 (gst_type_find_helper_for_buffer):
14852 * libs/gst/base/gsttypefindhelper.h:
14853 New API: gst_type_find_helper_for_buffer() (#332723).
14855 2006-02-27 Michael Smith <msmith@fluendo.com>
14857 Patch by: Loïc Minier
14860 * docs/Makefile.am:
14861 * docs/slides/Makefile.am:
14862 prevent CVS directories getting disted.
14864 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14866 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14867 Use the REFCOUNTING category for caps refcounting.
14869 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14871 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14872 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14874 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14876 * plugins/elements/gsttypefindelement.c:
14877 (gst_type_find_element_activate):
14878 Use gst_pad_check_pull_range() before _activate_pull()
14879 to avoid unnecessary open/close (see #331690).
14881 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14884 Docs enhancement: make it crystal clear what the
14885 gst_pad_add_*_probe() callbacks should look like.
14887 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14889 * libs/gst/base/gstbasesrc.c:
14890 Document how applications can stop recording from
14891 live sources (see #330996).
14893 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14895 * tests/check/Makefile.am:
14896 * tests/check/libs/basesrc.c: (eos_event_counter),
14897 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14898 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14899 (gst_basesrc_suite), (main):
14900 ... and add some tests for the base source EOS stuff.
14902 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14904 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14905 Test case originally showed the problem fixed below,
14906 but was then amended. Add checks back at the place
14907 where they used to be.
14909 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14911 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14912 (gst_base_src_init), (gst_base_src_loop),
14913 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14914 (gst_base_src_change_state):
14915 * libs/gst/base/gstbasesrc.h:
14916 Don't unconditionally send EOS when going from PAUSED to
14917 READY state, esp. make sure we don't send two EOS events
14918 in some cases (e.g. one when reaching EOS and one when
14919 going from PAUSED to READY). Also, we don't want to send
14920 EOS events when operating in pull mode. However, we do
14921 want to send an EOS event when shutting down a live
14922 source explicitly, for example (fixes #330996).
14924 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14926 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14927 Update src->read_position after a seek when not using mmap.
14928 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14930 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14936 Make things work with --disable-parse as they do with
14937 --disable-load-save - the symbols involved disappear, but the
14938 header is still installed and GST_DISABLE_PARSE is included via
14941 2006-02-20 Julien MOUTTE <julien@moutte.net>
14943 * libs/gst/base/gstbasetransform.c:
14944 (gst_base_transform_change_state): Fix a stupid bug. I was
14945 sure I compiled that.
14947 2006-02-20 Julien MOUTTE <julien@moutte.net>
14949 * gst/gstpad.c: (gst_pad_set_blocked_async):
14950 * gst/gstutils.c: (gst_pad_add_data_probe),
14951 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14952 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14953 (gst_pad_remove_buffer_probe): Make those function act on the
14954 ghostpad target when it's a ghostpad. (Closes #331727)
14956 2006-02-20 Julien MOUTTE <julien@moutte.net>
14958 * libs/gst/base/gstbasetransform.c:
14959 (gst_base_transform_change_state): Make basetransform reusable.
14962 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14964 * docs/random/release:
14965 Move the current documentation of how to do a release to the top
14968 * gst/gstbin.c: (gst_bin_class_init),
14969 (gst_bin_handle_message_func):
14970 Allow multiple state-recalculation threads. (Closes #328873)
14972 2006-02-19 Julien MOUTTE <julien@moutte.net>
14974 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14975 * gst/gstpad.c: (gst_pad_set_event_function),
14976 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14977 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14978 2 strings. You can't use the STR_NULL macro on that.
14980 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14982 * gst/gstpad.c: (gst_pad_set_event_function),
14983 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14984 (gst_pad_set_getcaps_function)
14985 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14986 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14987 So now, we can use --gst-debug-level=5 on Windows
14988 * win32/common/libgstcontroller.def:
14989 Added export of gst_controller_init
14990 * win32/vs6/libgstcontroller.dsp:
14991 Fixed Release post build configuration
14993 2006-02-17 Wim Taymans <wim@fluendo.com>
14995 * tests/check/gst/gstquery.c: (GST_START_TEST):
14996 Added another check.
14998 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
15000 * plugins/elements/gsttypefindelement.c: (find_peek):
15001 We can do peeks at non-zero offsets, as long as they
15002 fall within the buffer we have.
15004 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
15006 * tests/check/Makefile.am:
15007 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
15008 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
15009 (parse_suite), (main):
15010 Add testsuite for parse launch syntax
15012 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
15014 * plugins/elements/gsttypefindelement.c:
15015 (gst_type_find_element_chain):
15016 When typefinding is unsuccessful in the chain function, don't
15017 error out immediately. Only error out with NO_CAPS_FOUND if
15018 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
15019 otherwise simply wait for more data so we can try typefinding
15020 again with more data later. Also, don't attempt to typefind
15021 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
15022 this should improve typefinding from network sources where the
15023 size of the first buffer can be somewhat random.
15025 2006-02-14 Wim Taymans <wim@fluendo.com>
15027 * docs/gst/gstreamer-sections.txt:
15028 * gst/gstpadtemplate.c:
15029 * gst/gstpadtemplate.h:
15030 Fix padtemplate docs, fixes #328805.
15032 2006-02-14 Wim Taymans <wim@fluendo.com>
15034 * tools/gst-launch.c: (main):
15035 NO_PREROLL is not an ERROR so don't send confusing messages
15038 2006-02-14 Wim Taymans <wim@fluendo.com>
15040 Patch by: Torsten Schoenfeld
15042 * gst/gstregistry.c: (gst_registry_get_default),
15043 (_gst_registry_cleanup):
15044 Protect default registry with lock and ref/sink it.
15047 2006-02-14 Wim Taymans <wim@fluendo.com>
15050 * gst/gstquery.c: (gst_query_list_add_format),
15051 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15052 (gst_query_parse_formats_nth):
15053 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15056 2006-02-14 Wim Taymans <wim@fluendo.com>
15058 * docs/gst/gstreamer-sections.txt:
15059 Reworked query docs.
15061 * gst/gstquery.c: (gst_query_new_formats),
15062 (gst_query_list_add_format), (gst_query_set_formats),
15063 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15064 (gst_query_parse_formats_nth):
15066 Flesh out formats query, added some new methods.
15067 Fix part of #324398.
15069 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15070 Added query creation tests.
15072 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15074 * gst/gstpad.c: (fixate_value):
15075 Add a default fixation for fraction lists.
15077 2006-02-13 Wim Taymans <wim@fluendo.com>
15079 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15080 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15083 Detect and warn for obvious deadlocks. fixes #320340
15084 Fix error case where lock was not released.
15086 * tests/check/Makefile.am:
15087 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15088 (task_func), (gst_element_suite), (main):
15091 2006-02-13 Wim Taymans <wim@fluendo.com>
15093 * docs/gst/gstreamer-sections.txt:
15095 Add new functions to docs.
15097 2006-02-13 Wim Taymans <wim@fluendo.com>
15099 * docs/design/part-TODO.txt:
15100 Updated TODO list, basesrc supports seeking to non-bytes
15103 * docs/design/part-element-sink.txt:
15106 * gst/gstbin.c: (bin_replace_message),
15107 (gst_bin_handle_message_func):
15108 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15109 * gst/gstevent.c: (gst_event_finalize):
15110 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15111 (gst_pad_send_event):
15112 Use shiny new _TYPE_NAME macros.
15114 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15115 Move debug statement up.
15117 * gst/gstelement.c: (gst_element_set_locked_state):
15118 Add some debugging.
15120 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15122 * docs/gst/gstreamer-sections.txt:
15123 * gst/gstmessage.h:
15125 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15126 macros (#330906). Also, document the already existing
15127 GST_QUERY_TYPE macro.
15129 2006-02-13 Wim Taymans <wim@fluendo.com>
15131 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15132 (event_probe), (GST_START_TEST):
15133 Only events up to the pipeline EOS are counted, there are
15134 some more when going to NULL currently which we don't care
15137 2006-02-13 Wim Taymans <wim@fluendo.com>
15139 * gst/gstpad.c: (gst_pad_send_event):
15140 Correctly check flushing and emit probes. fixes #330125
15142 2006-02-10 Andy Wingo <wingo@pobox.com>
15144 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15146 (gst_bus_init): Cache the location of the private data in the
15147 instance structure.
15148 (gst_bus_enable_sync_message_emission)
15149 (gst_bus_disable_sync_message_emission): Implement new public
15151 (gst_bus_post): Emit the sync-message signal if the user asked for
15154 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15155 location of the bus-private structure.
15156 (gst_bus_enable_sync_message_emission)
15157 (gst_bus_disable_sync_message_emission): API addition
15159 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15161 Patch by: Vincent Torri
15163 * docs/pwg/building-boiler.xml:
15164 PWG patch from #326800
15166 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15169 * docs/Makefile.am:
15170 * docs/design/Makefile.am:
15173 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15178 === release 0.10.3 ===
15180 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15183 releasing 0.10.3, "Like a virgin"
15185 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15188 2nd prerelease of 0.10.3
15189 Bump libtool versioning.
15191 2006-02-07 Andy Wingo <wingo@pobox.com>
15193 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15194 update last_stop if we're in TIME format and the timestamp is
15197 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15198 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15199 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15200 If we get a new newsegment with a different format, adapt
15203 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15204 of 0. Not a problem, really.
15206 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15209 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15214 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15217 project files updated to the default vs7 configuration
15218 * win32/common/libgstbase.def:
15219 * win32/common/libgstreamer.def:
15221 removed empty lines,
15222 sorted all exported symbols alphabetically
15223 * win32/common/dirent.c:
15224 * win32/common/dirent.h:
15225 * win32/common/gchar.h:
15226 use windows line end.
15228 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15230 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15231 Send EOS event when stopping.
15233 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15236 Tell folks what to do if the plugin-foobar.xml file
15237 hasn't been generated for a newly-added plugin.
15239 2006-02-05 Julien MOUTTE <julien@moutte.net>
15241 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15242 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15243 (gst_collect_pads_start), (gst_collect_pads_stop),
15244 (gst_collect_pads_event): Collectpads now holds a reference
15245 to the GstPad that was added. Indeed we don't want to look
15246 at pads that might just go away with no warning...
15248 2006-02-05 Julien MOUTTE <julien@moutte.net>
15250 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15251 (gst_collect_pads_start), (gst_collect_pads_stop),
15252 (gst_collect_pads_event), (gst_collect_pads_chain):
15253 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15254 Mark Nauwelaerts's patch on bug #328491.
15256 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15258 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15260 Add some simple tests for gst_parse_bin_from_description() and
15261 gst_bin_find_unconnected_pad() (#329069).
15263 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15265 * tools/gst-launch.c: (event_loop), (main):
15266 Catch errors during preroll (#320084).
15268 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15270 * plugins/elements/gsttypefindelement.c:
15271 (gst_type_find_element_activate):
15272 Post TYPE_NOT_FOUND error message when typefinding
15273 is unsuccessful in the activate function as well.
15275 2006-02-02 Wim Taymans <wim@fluendo.com>
15277 * docs/design/part-element-sink.txt:
15280 2006-02-02 Wim Taymans <wim@fluendo.com>
15282 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15283 (gst_base_sink_render_object),
15284 (gst_base_sink_queue_object_unlocked):
15285 Only keep track of prerollable items when we are
15287 Before rendering after preroll, always check if we
15289 Added some more debugging.
15291 2006-02-02 Wim Taymans <wim@fluendo.com>
15293 * gst/gstelement.c: (gst_element_continue_state),
15294 (gst_element_set_state_func), (gst_element_change_state):
15295 Fixed #326576, been running this for quite some time with
15296 no regressions at all.
15298 2006-02-02 Wim Taymans <wim@fluendo.com>
15301 Added more suppressions
15303 2006-02-02 Wim Taymans <wim@fluendo.com>
15305 * docs/design/part-element-sink.txt:
15308 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15309 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15310 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15311 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15312 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15313 (gst_base_sink_preroll_object),
15314 (gst_base_sink_queue_object_unlocked),
15315 (gst_base_sink_queue_object), (gst_base_sink_event),
15316 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15317 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15318 (gst_base_sink_get_position), (gst_base_sink_change_state):
15319 * libs/gst/base/gstbasesink.h:
15320 Totally refactored matching the design doc.
15321 Use two segments, one to clip incomming buffers and another to
15323 Handle queueing correctly, bypass the queue when playing.
15324 Make EOS cancelable.
15325 Handle errors correctly when operating in pull based mode.
15327 * tests/check/elements/fakesink.c: (GST_START_TEST),
15329 Added new check for sinks.
15331 2006-02-02 Wim Taymans <wim@fluendo.com>
15333 * gst/gstsegment.c: (gst_segment_clip):
15334 No reason to refuse to clip when start == -1
15336 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15339 * docs/manual/intro-basics.xml:
15340 * docs/manual/intro-preface.xml:
15341 * docs/manual/manual.xml:
15342 * docs/pwg/advanced-dparams.xml:
15343 * docs/pwg/intro-basics.xml:
15344 * docs/pwg/intro-preface.xml:
15345 * docs/pwg/pwg.xml:
15346 describe dparams (controller) for plugins
15347 unify docs a little more
15349 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15351 * docs/gst/gstreamer-sections.txt:
15352 * gst/gstutils.c: (element_find_unconnected_pad),
15353 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15355 Add new API: gst_parse_bin_from_description() and
15356 gst_bin_find_unconnected_pad() (#329069).
15358 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15360 * docs/manual/README:
15361 uncover a nasty detail of the docs build
15363 2006-01-31 Wim Taymans <wim@fluendo.com>
15365 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15366 Don't cache duration messages if we're not going to use or
15369 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15371 * docs/manual/advanced-dparams.xml:
15372 * docs/pwg/advanced-dparams.xml:
15376 * libs/gst/controller/lib.c: (gst_controller_init):
15379 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15381 * gst/gstelement.c: (gst_element_message_full):
15382 also show file/line/func if no additional debug was given
15384 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15386 * win32/vs7/grammar.vcproj:
15387 activate copy of autogenerated files for Release mode
15389 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15391 * win32/common/libgstreamer.def:
15392 export gst_value_compare
15394 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15396 * plugins/elements/Makefile.am:
15397 * plugins/elements/gstelements.c:
15398 * plugins/elements/gstfdsink.c: (_do_init),
15399 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15400 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15401 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15402 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15403 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15404 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15405 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15406 * plugins/elements/gstfdsink.h:
15407 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15409 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15411 * docs/manual/advanced-dparams.xml:
15412 describe controller
15413 * docs/manual/advanced-position.xml:
15414 * docs/manual/basics-init.xml:
15415 * docs/manual/manual.xml:
15416 * docs/manual/titlepage.xml:
15417 * docs/pwg/pwg.xml:
15418 * docs/pwg/titlepage.xml:
15419 cleanup xml (more to come)
15420 * libs/gst/controller/gstcontroller.c:
15423 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15425 * win32/vs6/grammar.dsp:
15426 add autogen of gstmarshal.c,h for Release mode
15428 2006-01-30 Wim Taymans <wim@fluendo.com>
15430 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15431 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15432 (gst_base_sink_handle_object), (gst_base_sink_event),
15433 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15434 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15435 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15436 (gst_base_sink_deactivate), (gst_base_sink_activate),
15437 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15438 (gst_base_sink_query), (gst_base_sink_change_state):
15439 Basesink cleanups, remove some old code.
15440 Handle the case where a subclass can preroll in the render
15441 method (mostly audiosinks).
15442 Handle more events.
15443 Remove some locks around variables that are now protected
15444 with the PREROLL_LOCK (clock_id, flushing, ..).
15445 Optimize position query some more, do correct locking.
15446 Remove old code to push queue in state change, this is not
15447 needed anymore since preroll blocks on all prerollable items
15449 Almost implemented as described in design doc.
15451 2006-01-30 Wim Taymans <wim@fluendo.com>
15453 * tests/check/gst/gstbin.c: (GST_START_TEST):
15454 Wait for refcount to settle down before checking.
15456 2006-01-30 Wim Taymans <wim@fluendo.com>
15458 * docs/design/part-element-sink.txt:
15459 Pseudo code overview of desired sink behaviour regarding
15462 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15463 * win32/vs6/grammar.dsp:
15464 fix some bugs in Release mode for autogenerated files
15466 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15467 * win32/common/libgstbase.def:
15468 * win32/common/libgstreamer.def:
15469 export some new symbols: gst_base_src_set_format,
15470 gst_iterator_next, gst_structure_set_valist
15472 2006-01-29 Julien MOUTTE <julien@moutte.net>
15474 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15475 Set pad functions unconditionally. Fixes #329105.
15477 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15479 add vs8 project files created by Sergey Scobich
15481 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15483 * gst/gstutils.c: (gst_element_unlink_pads):
15484 Don't leak pad references.
15486 * tests/check/elements/fakesink.c: (GST_START_TEST):
15487 * tests/check/generic/sinks.c: (GST_START_TEST):
15488 * tests/check/generic/states.c: (GST_START_TEST):
15489 * tests/check/gst/gstbin.c: (GST_START_TEST):
15490 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15491 * tests/check/gst/gstelement.c: (GST_START_TEST):
15492 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15493 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15494 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15495 Fix a bunch of leaks. Make generic/sinks.c
15496 use a bit less cpu by slowing the buffer rate
15497 between fakesrc and fakesink.
15499 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15501 * gst/gstelement.c: (gst_element_send_event):
15504 * gst/gstiterator.c:
15505 * gst/gstiterator.h:
15506 * gst/gstpad.c: (gst_pad_send_event):
15507 * gst/gststructure.c:
15511 * libs/gst/base/gstadapter.c:
15512 doc fixes, to link to function, just write gst_cool_function(), don't
15515 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15517 * plugins/elements/gsttee.c: (gst_tee_do_push),
15518 (gst_tee_handle_buffer):
15519 Always prefer an actual return value from a src
15520 pad in place of NOT_LINKED. This means we return
15521 WRONG_STATE when all src pads are WRONG_STATE
15522 instead of NOT_LINKED.
15524 Lock when replacing the last message to prevent
15525 racing with the get_property method.
15529 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15531 * tests/check/Makefile.am:
15532 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15534 Add a very simple check that should have caught the memleak I fixed
15535 last night (if not for the slice allocator hiding it)
15537 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15539 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15540 (gst_bin_remove_func), (gst_bin_handle_message_func),
15541 (bin_query_duration_fold), (bin_query_generic_fold):
15542 Clean up references to the clock provider when disposed or when
15543 handling a clock-lost message from it.
15545 Unref sinks when performing a query via gst_iterator_fold, as the
15546 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15548 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15549 (gst_clock_set_master):
15550 Drop our reference to the master clock, if any, when we are disposed.
15552 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15553 Chain up in dispose.
15555 2006-01-26 Wim Taymans <wim@fluendo.com>
15557 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15558 Add some debugging.
15560 2006-01-26 Julien MOUTTE <julien@moutte.net>
15562 * plugins/elements/gsttee.c: (gst_tee_do_push),
15563 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15564 handles pad being NOT_LINKED or in WRONG_STATE.
15566 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15571 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15574 remove obsolete entry
15576 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15578 * docs/gst/gstreamer-sections.txt:
15579 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15580 (gst_bin_iterate_sources), (gst_bin_send_event):
15582 * gst/gstelement.c: (gst_element_send_event):
15584 * gst/gstpad.c: (gst_pad_send_event):
15585 added code for downstream events, reviewed docs in gstevent.c
15587 2006-01-25 Julien MOUTTE <julien@moutte.net>
15589 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15590 We only query position using the clock in the playing state.
15591 Query peer in the other cases.
15592 * win32/common/config.h: Updates.
15594 2006-01-24 Wim Taymans <wim@fluendo.com>
15596 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15597 A clock entry that is scheduled for the exact time of the
15598 clock is still in time.
15600 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15601 (gst_base_sink_do_sync):
15602 Add some more debug info.
15604 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15607 Add new vs7 project files and solution.
15609 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15612 all files removed as they were out-dated.
15614 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15616 * docs/random/release:
15618 * gst/gstbin.c: (gst_bin_init):
15619 * gst/gstbus.c: (gst_bus_new):
15621 * gst/gstpipeline.c: (gst_pipeline_init):
15622 use gst_bus_new(), improve logging, fix docs
15623 * win32/common/config.h:
15624 update for cvs build
15626 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15629 up required version of automake to 1.7
15631 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15633 * win32/common/libgstreamer.def:
15634 export gst_buffer_is_metadata_writable
15636 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15638 * docs/gst/gstreamer-sections.txt:
15640 Add gst_event_replace() (#327001)
15642 2006-01-20 Wim Taymans <wim@fluendo.com>
15644 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15645 Make it actually compile too..
15647 2006-01-20 Wim Taymans <wim@fluendo.com>
15650 Clarify behaviour of _is_equal() when passing NULL parameters.
15652 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15653 (gst_pad_set_caps):
15654 Cleanups. Don't unref NULL caps.
15655 When setting the same caps, protect caps of the pad with
15657 Use full functionality of _is_equal() when comparing caps.
15659 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15661 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15662 Don't loop infinitely if there are no buffers to present. Partially
15663 fixes #327197, but collectpads is just broken for reusing elements
15664 to do multiple encodes atm.
15666 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15668 * tools/gst-inspect.c: (print_element_features):
15669 * tools/gst-xmlinspect.c: (main):
15670 URL_HANDLER is not a plugin feature we can search for in
15673 2006-01-19 Edward Hervey <edward@fluendo.com>
15675 * gst/gstelement.c: (gst_element_pads_activate):
15676 When activating, do src pads first, then sink pads.
15677 When de-activating, do sink pads first, then src pads.
15679 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15681 * docs/gst/gstreamer-sections.txt:
15682 Add gst_index_add_associationv to the docs
15684 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15689 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15690 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15691 Do some refactoring. Doesn't actually change functionality,
15692 but makes landing the DRAIN event easier later.
15694 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15696 * docs/pwg/advanced-scheduling.xml:
15697 Update from 0.9.x to 0.10 API and make example a bit
15700 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15702 * docs/gst/gstreamer-sections.txt:
15703 Add gst_buffer_(is|make)_metadata_writable methods.
15705 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15707 * docs/design/part-sparsestreams.txt:
15708 Update sparse streams doc, hopefully for greater clarity
15710 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15712 * docs/design/part-events.txt:
15713 Remove mention of FILLER events.
15716 * docs/design/part-sparsestreams.txt:
15717 Write some things about using NEWSEGMENT to keep sparse streams
15720 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15722 * gst/gstbin.c: (gst_bin_dispose):
15723 Guard gst_object_unref call against a NULL object (dispose
15724 can theoretically be called multiple times).
15726 2006-01-18 Wim Taymans <wim@fluendo.com>
15728 * gst/gstbin.c: (gst_bin_element_set_state):
15729 * gst/gstclock.c: (gst_clock_id_wait):
15730 Added some more debug info.
15732 * libs/gst/base/gstadapter.c:
15735 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15736 (gst_base_sink_do_sync), (gst_base_sink_chain):
15737 Added some comments.
15739 2006-01-18 Wim Taymans <wim@fluendo.com>
15741 * tests/check/Makefile.am:
15742 * tests/check/elements/fakesink.c: (chain_async_buffer),
15743 (chain_async), (chain_async_return), (GST_START_TEST),
15744 (fakesink_suite), (main):
15745 Added fakesink test that checks prerolling and clipping
15748 * tests/check/gst/gstutils.c: (GST_START_TEST):
15749 Make check run faster so that buildbots don't timeout.
15751 2006-01-18 Wim Taymans <wim@fluendo.com>
15753 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15754 (gst_base_sink_do_sync):
15756 When the sink finishes blocking on the preroll buffer, it can
15757 immediatly render it instead of rendering when the next buffer
15760 2006-01-18 Wim Taymans <wim@fluendo.com>
15762 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15763 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15764 (gst_base_sink_chain):
15766 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15767 Don't store _last_stop if the buffer is dropped.
15769 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15771 * plugins/elements/gsttypefindelement.c:
15772 (gst_type_find_element_class_init):
15773 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15774 object method handler that sets the caps on the pad and we want
15775 that to happen before we emit the signal (fixes e.g. feeding a
15776 plain text file to decodebin).
15778 2006-01-18 Christian Schaller <Christian@fluendo.com>
15780 * gst/gstplugin.c: Add MPL and Proprietary as license options
15782 2006-01-18 Andy Wingo <wingo@pobox.com>
15784 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15785 symbol was exported before, it appears this was just an oversight.
15787 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15789 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15790 prototype to gint. OK since this prototype was not in the header.
15792 2006-01-17 Andy Wingo <wingo@pobox.com>
15794 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15795 registry while we remove plugins.
15797 * tools/gst-inspect.c (print_element_info): Don't unref the
15798 factory arg, that should be the responsibility of whatever code
15799 received the ref. Fixes a double-free when called from
15800 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15801 (main): Unref the factory if we have one.
15802 (print_element_list): No change -- relies on the
15803 plugin_feature_list_free to free the list of features.
15805 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15807 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15808 (gst_buffer_make_metadata_writable):
15810 * libs/gst/base/gstbasetransform.c:
15811 (gst_base_transform_prepare_output_buf):
15812 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15813 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15814 Replace gst_buffer_(make|is)_metadata_writable patch now
15815 that the release is out.
15817 2006-01-17 Andy Wingo <wingo@pobox.com>
15819 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15820 in the present tense without reference to versions.
15822 * gst/gstregistry.c (gst_registry_add_plugin)
15823 (gst_registry_remove_plugin, gst_registry_remove_feature)
15824 (gst_registry_find_feature, gst_registry_get_feature_list)
15825 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15826 (gst_registry_lookup, gst_registry_scan_path)
15827 (_gst_registry_remove_cache_plugins)
15828 (gst_registry_get_feature_list_by_plugin): Add argument
15831 === release 0.10.2 ===
15833 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15836 releasing 0.10.2, "If man is five"
15838 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15842 * libs/gst/base/gstbasetransform.c:
15843 (gst_base_transform_prepare_output_buf):
15844 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15845 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15846 Back out patch until after the release.
15848 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15850 * gst/gstminiobject.c:
15851 Spelling fix in docs.
15852 * ChangeLog - remove conflict indicator
15854 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15856 Reviewed By: Andy Wingo
15858 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15859 (gst_buffer_make_metadata_writable):
15861 Add gst_buffer_(is|make)_metadata_writable as analogues of
15862 gst_buffer_(is|make)_writable.
15864 * libs/gst/base/gstbasetransform.c:
15865 (gst_base_transform_prepare_output_buf):
15866 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15867 Use name gst_buffer_(is|make)_metadata_writable functions.
15869 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15870 Test gst_buffer_(is|make)_metadata_writable
15874 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15876 * docs/manual/Makefile.am:
15877 don't do parallel make
15880 * win32/common/config.h.in:
15881 add generations for HOST_CPU and GST_MAJORMINOR
15882 * win32/common/config.h:
15883 commit generated result
15885 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15887 * docs/manual/appendix-integration.xml:
15888 Update GNOME integration section to use gst_init_get_option_group()
15889 instead of the old popt stuff (#322911). Also, GNOME applications
15890 should now use gconf*sink and gconf*src instead of the old gconf
15893 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15896 * docs/gst/gstreamer-docs.sgml:
15897 * docs/gst/gstreamer-sections.txt:
15898 * docs/libs/gstreamer-libs-sections.txt:
15899 add new API entries to the docs
15900 * libs/gst/controller/Makefile.am:
15901 * libs/gst/controller/gstcontroller.c:
15902 * libs/gst/controller/gstcontroller.h:
15903 * libs/gst/controller/gstcontrollerprivate.h:
15904 * libs/gst/controller/gsthelper.c:
15905 * libs/gst/controller/gstinterpolation.c:
15906 move private structs to private header
15908 gstreamer-0.7 -> gstreamer-0.10
15909 * tests/check/libs/struct_i386.h:
15910 remove private structs
15912 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15914 * plugins/indexers/Makefile.am:
15915 Fixes as part of #317048
15917 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15919 * plugins/indexers/Makefile.am:
15920 fix #316086 - compilation when mmap is missing
15922 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15924 * libs/gst/base/gstbasesink.c:
15925 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15926 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15927 * win32/common/config.h:
15928 added some defines GST_MAJORMINOR and HOST_CPU
15929 * win32/common/libgstbase.def:
15930 * win32/common/libgstreamer.def:
15931 added some exported functions.
15933 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15935 * libs/gst/controller/gstcontroller.c:
15936 (gst_controlled_property_set_interpolation_mode),
15937 (gst_controlled_property_new):
15938 * libs/gst/controller/gstcontroller.h:
15939 * libs/gst/controller/gstinterpolation.c:
15940 (interpolate_none_get_string_value_array):
15941 make G_TYPE_STRING controlable
15943 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15946 * tools/gst-feedback.1.in:
15947 * tools/gst-inspect.1.in:
15948 * tools/gst-launch.1.in:
15949 * tools/gst-md5sum.1.in:
15950 * tools/gst-typefind.1.in:
15951 * tools/gst-xmlinspect.1.in:
15952 * tools/gst-xmllaunch.1.in:
15953 cleanup man-pages, remove reference to gst-register, document env-vars
15955 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15957 * gst/gstbuffer.c: (gst_buffer_span):
15958 gst_buffer_span should copy the timestamp of the first buffer
15959 if they were both originally overlapping subbuffers of the
15960 same parent, using the same logic as the 'slow copy' case.
15962 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15964 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15965 Need to awaken ALL the pads when we pop a buffer, otherwise
15966 collectpads only works when there is 2 input streams.
15968 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15970 * docs/random/ensonic/media-device-daemon.txt:
15973 fix doc example, add clarification
15974 * tools/gst-launch.1.in:
15975 add initial info about GST_PLUGIN_PATH, needs more work
15977 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15979 * docs/manual/basics-bins.xml:
15980 * docs/manual/basics-elements.xml:
15981 * docs/manual/intro-basics.xml:
15982 Some more minor docs additions and updates.
15984 2006-01-11 Wim Taymans <wim@fluendo.com>
15986 * docs/manual/basics-bins.xml:
15987 * docs/manual/basics-elements.xml:
15988 Some small fixes as pointed out by Ser-ver on IRC.
15990 2006-01-10 Edward Hervey <edward@fluendo.com>
15992 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15993 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15994 the single-segment mode.
15996 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15998 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16000 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
16001 (gst_base_src_perform_seek), (gst_base_src_send_event),
16002 (gst_base_src_set_property), (gst_base_src_get_property),
16003 (gst_base_src_loop), (gst_base_src_start),
16004 (gst_base_src_activate_push):
16005 * libs/gst/base/gstbasesrc.h:
16006 Name (private) union; makes Sun's Forte compiler happy (#324900).
16008 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
16011 gst-register is gone.
16013 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
16015 * gst/gstvalue.c: (_gst_value_initialize):
16016 make the G_TYPE_DATE instantiation work if debug is disabled
16018 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
16020 * gst/gstmessage.c: (gst_message_parse_tag),
16021 (gst_message_parse_error), (gst_message_parse_warning):
16022 Don't crash when return location for error/warning debug
16023 string is NULL; add fact that return locations can be
16024 NULL to docs where appropriate.
16026 2006-01-05 Wim Taymans <wim@fluendo.com>
16028 * gst/gstplugin.c: (gst_plugin_load_file):
16029 Replace strdup by g_strdup.
16031 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16033 * docs/pwg/advanced-types.xml:
16036 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16038 submitted by: Abel Cheung
16042 Added Chinese (traditional) translation
16044 2006-01-04 Wim Taymans <wim@fluendo.com>
16046 * docs/manual/basics-pads.xml:
16047 * docs/plugins/Makefile.am:
16048 * docs/plugins/gstreamer-plugins-docs.sgml:
16049 * docs/plugins/gstreamer-plugins-sections.txt:
16050 * docs/pwg/advanced-clock.xml:
16051 * docs/pwg/advanced-scheduling.xml:
16052 * docs/pwg/advanced-types.xml:
16053 * plugins/elements/gstfdsink.c:
16054 * plugins/elements/gstfdsrc.c:
16055 * plugins/elements/gstfdsrc.h:
16056 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16057 * plugins/elements/gstidentity.h:
16058 * plugins/elements/gstqueue.h:
16059 * plugins/elements/gsttee.c:
16060 * plugins/elements/gsttee.h:
16061 * plugins/elements/gsttypefindelement.c:
16062 (gst_type_find_element_class_init):
16063 * plugins/elements/gsttypefindelement.h:
16064 Small updates to various docs.
16065 Added core plugins to docs.
16067 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16070 add a suppression for liboil's uninitialized variable
16072 2006-01-02 James Livingston <jrl at ids dot org dot au>
16074 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16077 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16078 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16079 compiler switch is being used (#325429).
16081 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16083 * gst/gstbin.c: (gst_bin_query):
16084 Disable duration query caching in bins until it gets
16085 fixed (see #324807).
16087 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16089 * tools/gst-inspect.c: (print_element_properties_info):
16090 Handle properties of POINTER and BOXED type.
16092 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16094 * gst/gst.c: (init_post):
16095 Init tags stuff and some other things before loading
16096 any static plugins (there may be other static plugins
16097 than just the GStreamer ones, and they may want to
16098 register their own tags or formats or whatever, and
16099 preferably without segfaulting).
16101 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16102 Print at least a warning in the debug logs if we drop a
16103 query just because we don't know how to adjust the value
16104 in the particular format.
16106 2005-12-24 David Schleef <ds@schleef.org>
16108 * tools/gstreamer-completion:
16109 Replacement for gst-complete written in sh and sed. Only
16110 completes names of features, but that's 90% of what I want
16111 it for. Properties are not available in registry.xml. (Maybe
16114 === release 0.10.1 ===
16116 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16119 releasing 0.10.1, "Nollaig chridheil"
16121 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16123 * docs/faq/cvs.xml:
16124 Add missing quote, should be make ERROR_CFLAGS="".
16126 2005-12-20 Wim Taymans <wim@fluendo.com>
16128 * docs/design/part-trickmodes.txt:
16129 More documentation on trickmodes.
16131 2005-12-20 Edward Hervey <edward@fluendo.com>
16133 * gst/gstcaps.c: (gst_static_caps_get_type):
16135 API addition: GST_TYPE_STATIC_CAPS
16136 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16137 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16138 * gst/gstpadtemplate.h:
16139 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16140 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16143 2005-12-18 Wim Taymans <wim@fluendo.com>
16145 * libs/gst/base/gstadapter.c:
16146 * libs/gst/base/gstadapter.h:
16147 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16148 (gst_base_sink_get_position):
16149 * libs/gst/base/gstbasesink.h:
16150 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16151 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16152 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16153 (gst_base_src_send_event), (gst_base_src_update_length),
16154 (gst_base_src_get_range), (gst_base_src_loop),
16155 (gst_base_src_start):
16156 * libs/gst/base/gstbasesrc.h:
16157 * libs/gst/base/gstbasetransform.h:
16158 * libs/gst/base/gstcollectpads.h:
16159 * libs/gst/base/gstpushsrc.c:
16160 * libs/gst/base/gstpushsrc.h:
16161 * libs/gst/dataprotocol/dataprotocol.c:
16162 * libs/gst/dataprotocol/dataprotocol.h:
16163 * libs/gst/net/gstnetclientclock.h:
16164 * libs/gst/net/gstnettimeprovider.h:
16165 Documentation updates.
16167 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16169 * docs/manual/basics-helloworld.xml:
16170 Remove superfluous closing bracket in helloworld example.
16172 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16174 * tools/gst-launch.1.in:
16175 Update gst-launch man page; add a section with useful
16176 environment variables. Fixes #323882.
16178 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16181 * gst/gst_private.h:
16182 change some char* into char[]
16184 2005-12-16 Wim Taymans <wim@fluendo.com>
16186 * gst/gstregistryxml.c: (load_feature):
16188 Don't use g_object_unref on GstObjects so that we avoid
16189 leaks on unsafe glibs.
16191 2005-12-16 Wim Taymans <wim@fluendo.com>
16193 * gst/gstbin.c: (gst_bin_recalc_state):
16196 2005-12-16 Wim Taymans <wim@fluendo.com>
16198 * common/check.mak:
16199 Added make forever target for check.
16201 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16203 * gst/gst.c: (init_post):
16204 make the registry cache file HOST_CPU-dependent
16206 2005-12-16 Andy Wingo <wingo@pobox.com>
16208 * plugins/elements/gstbufferstore.c
16209 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16212 * tests/check/gst/gstobject.c
16213 (test_fake_object_name_threaded_unique): Pay attention to
16214 g_list_sort return value.
16216 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16218 * tools/gst-feedback-m.m:
16219 Update for 0.9/0.10 (fixes #323870).
16221 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16223 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16224 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16226 * tests/check/gst/gstminiobject.c: (my_foo_init),
16227 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16228 (test_value_collection), (gst_mini_object_suite):
16229 Add test to ensure refcounts end up as expected when passing
16230 GstMiniObjects through g_object_get() and g_object_set().
16232 2005-12-14 Julien MOUTTE <julien@moutte.net>
16234 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16235 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16236 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16237 of collectpads. This version removes a lot of races without
16238 touching API/ABI. Yay !
16240 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16242 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16243 Don't allow activation of a srcpad in pull_range if it has no
16245 Change some debug statements to be a little clearer
16247 * plugins/elements/gsttypefindelement.c:
16248 (gst_type_find_handle_src_query):
16249 Check that we have a peer before executing queries thereupon.
16251 * tests/examples/metadata/read-metadata.c: (message_loop):
16252 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16253 immediately return us any available message with 0 timeout.
16255 2005-12-12 Michael Smith <msmith@fluendo.com>
16257 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16258 Don't unref factories after calling them.
16259 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16260 * plugins/elements/gsttypefindelement.c:
16261 (gst_type_find_element_chain):
16262 Free lists of factories after using them. Fixing typefinding memory
16265 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16267 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16268 (gst_plugin_feature_load):
16269 more meaningful debug output
16271 * tests/Makefile.am:
16272 * tests/old/examples/Makefile.am:
16273 make make distcheck happy again
16275 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16277 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16278 Catch the special case where we are operating chain-based,
16279 but the downstream peer pad has no chain function. Emit a
16280 custom error message in this case instead of letting the
16281 core generate one implying that this is some sort of core
16282 bug. It's not, it just means that whatever got plugged
16283 into the pipeline downstream when we announced the type
16284 can only operate pull-based, while our source can only
16285 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16286 Error string has not been marked for translation yet, as
16287 it probably needs some more work first.
16289 (gst_type_find_element_get_best_possibility):
16290 Add helper function to find the best of all available
16291 found possibilities that qualify given the min. threshold.
16293 (gst_type_find_element_handle_event):
16294 Fix the case where we get an EOS while still in TYPEFIND
16295 mode (we want to chose the best of all possible types,
16296 not just the first type that happens to be in our unsorted
16297 list of possible types).
16299 (gst_type_find_element_chain):
16300 Make sure we return GST_FLOW_ERROR when we errored out
16301 in stop_typefinding(); also, don't just find the best of
16302 all found type entries and then use the last examined
16303 type entry, but actually use the best entry.
16305 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16307 * tests/examples/typefind/typefind.c: (type_found):
16308 * tests/examples/xml/runxml.c: (xml_loaded):
16309 More gcc4 fixes and a mem leak fix.
16311 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16313 * tests/examples/xml/createxml.c: (object_saved):
16316 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16318 * tests/Makefile.am:
16319 enable the examples even more
16321 2005-12-12 Andy Wingo <wingo@pobox.com>
16323 * libs/gst/net/gstnettimeprovider.c
16324 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16325 (gst_net_time_provider_set_property)
16326 (gst_net_time_provider_get_property):
16327 API addition: Export "active" as a GObject property.
16328 (gst_net_time_provider_thread): Only respond to time queries if
16329 the time provider is active.
16331 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16332 NetTimeProvider, preserving binary compat.
16334 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16336 * tests/examples/controller/audio-example.c: (main):
16337 * tests/examples/launch/Makefile.am:
16338 convert comments again
16340 2005-12-12 Wim Taymans <wim@fluendo.com>
16342 * libs/gst/base/gstpushsrc.c:
16345 2005-12-12 Wim Taymans <wim@fluendo.com>
16347 * docs/libs/gstreamer-libs-sections.txt:
16348 Added new symbol to docs.
16350 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16351 (gst_base_src_init), (gst_base_src_set_format),
16352 (gst_base_src_default_query), (gst_base_src_query),
16353 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16354 (gst_base_src_perform_seek), (gst_base_src_send_event),
16355 (gst_base_src_default_event), (gst_base_src_event_handler),
16356 (gst_base_src_set_property), (gst_base_src_get_property),
16357 (gst_base_src_wait), (gst_base_src_do_sync),
16358 (gst_base_src_update_length), (gst_base_src_get_range),
16359 (gst_base_src_check_get_range), (gst_base_src_loop),
16360 (gst_base_src_default_negotiate), (gst_base_src_start),
16361 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16362 (gst_base_src_change_state):
16363 * libs/gst/base/gstbasesrc.h:
16364 Implement seeking to other formats than _BYTES.
16365 Implement more seeking methods correctly.
16367 Added query vmethod.
16368 Added do_seek vmethod to make life easier for subclasses
16370 API addition: gst_base_src_set_format()
16372 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16374 * tests/examples/Makefile.am:
16377 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16380 * docs/random/ensonic/media-device-daemon.txt:
16381 * tests/examples/controller/.cvsignore:
16382 * tests/examples/controller/Makefile.am:
16383 * tests/examples/controller/audio-example.c: (main):
16384 * tests/examples/helloworld/.cvsignore:
16385 * tests/examples/helloworld/Makefile.am:
16386 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16387 * tests/examples/launch/.cvsignore:
16388 * tests/examples/launch/Makefile.am:
16389 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16390 * tests/examples/metadata/.cvsignore:
16391 * tests/examples/metadata/Makefile.am:
16392 * tests/examples/metadata/read-metadata.c: (message_loop),
16393 (make_pipeline), (print_tag), (main):
16394 * tests/examples/queue/.cvsignore:
16395 * tests/examples/queue/Makefile.am:
16396 * tests/examples/queue/queue.c: (event_loop), (main):
16397 * tests/examples/typefind/.cvsignore:
16398 * tests/examples/typefind/Makefile.am:
16399 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16401 * tests/examples/xml/.cvsignore:
16402 * tests/examples/xml/Makefile.am:
16403 * tests/examples/xml/createxml.c: (object_saved), (main):
16404 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16405 * tests/old/examples/Makefile.am:
16406 * tests/old/examples/TODO:
16407 * tests/old/examples/controller/.cvsignore:
16408 * tests/old/examples/controller/Makefile.am:
16409 * tests/old/examples/controller/audio-example.c:
16410 * tests/old/examples/helloworld/.cvsignore:
16411 * tests/old/examples/helloworld/Makefile.am:
16412 * tests/old/examples/helloworld/helloworld.c:
16413 * tests/old/examples/launch/.cvsignore:
16414 * tests/old/examples/launch/Makefile.am:
16415 * tests/old/examples/launch/mp3parselaunch.c:
16416 * tests/old/examples/launch/mp3play:
16417 * tests/old/examples/manual/Makefile.am:
16418 * tests/old/examples/metadata/Makefile.am:
16419 * tests/old/examples/metadata/read-metadata.c:
16420 * tests/old/examples/queue/.cvsignore:
16421 * tests/old/examples/queue/Makefile.am:
16422 * tests/old/examples/queue/queue.c:
16423 * tests/old/examples/typefind/.cvsignore:
16424 * tests/old/examples/typefind/Makefile.am:
16425 * tests/old/examples/typefind/typefind.c:
16426 * tests/old/examples/xml/.cvsignore:
16427 * tests/old/examples/xml/Makefile.am:
16428 * tests/old/examples/xml/createxml.c:
16429 * tests/old/examples/xml/runxml.c:
16430 applied some simple fixing to some examples
16431 re-enabled the working examples
16433 2005-12-12 Wim Taymans <wim@fluendo.com>
16435 * gst/gstsegment.c: (gst_segment_init),
16436 (gst_segment_set_last_stop), (gst_segment_set_seek),
16437 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16438 (gst_segment_to_running_time):
16439 Added more documentation.
16440 Make sure the last_pos value is updated properly.
16441 Make sure to_stream_time and to_running_time don't
16442 operate on wrong values.
16444 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16447 2005-12-12 Michael Smith <msmith@fluendo.com>
16449 * plugins/elements/gsttypefindelement.c: (free_entry),
16450 (gst_type_find_element_chain):
16451 Now that we're not leaking factories, make sure we keep references
16452 to them while we need them.
16454 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16456 * tests/check/gst/struct_i386.h:
16457 ifdef out the XML structs
16459 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16461 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16462 floor is not needed, F is always positive; this obviates the
16463 need for adding -lm when building without libxml
16465 2005-12-12 Wim Taymans <wim@fluendo.com>
16467 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16468 Take current playback rate into account when reporting
16471 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16473 * docs/manual/mime-world.fig:
16474 Let's try this again, this time with a file that is
16475 actually in XFig format.
16477 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16479 * docs/manual/mime-world.fig:
16480 Add audioconvert element to diagram so that it
16481 matches the text and the code (fixes #319526).
16483 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16485 * docs/pwg/building-chainfn.xml:
16486 * docs/pwg/building-pads.xml:
16487 * docs/pwg/building-state.xml:
16488 * docs/pwg/other-source.xml:
16489 Update state change stuff for 0.10 (fixes #322969).
16491 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16493 * docs/manual/advanced-dataaccess.xml:
16494 * docs/manual/appendix-checklist.xml:
16495 * docs/manual/appendix-programs.xml:
16496 * docs/manual/basics-pads.xml:
16497 * docs/manual/highlevel-components.xml:
16498 * docs/manual/manual.xml:
16499 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16500 add converters in front of pipelines; remove curly
16501 brackets for threads stuff, they no longer exist; use
16502 GST_TYPE_FRACTION for framerates; update some pieces of
16503 code to 0.10, but there's plenty more to do.
16505 * docs/manual/appendix-porting.xml:
16506 Expand on asynchroneous state changes; s/0.9/0.10/;
16507 mention disappearance of gst_init_get_popt_table()
16510 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16512 * docs/faq/using.xml:
16513 Spider no longer exists, and neither does gst-launch-ext.
16514 Update examples to use decodebin and playbin and put
16515 converters in front of sinks (fixes #323726).
16517 2005-12-09 Michael Smith <msmith@fluendo.com>
16519 * plugins/elements/gsttypefindelement.c: (find_peek),
16520 (gst_type_find_element_chain):
16521 Fix leaking element factories in typefinding.
16522 Fix problem where we forgot about a probable type on non-seekable
16523 files, and thus later mis-typefound it.
16525 2005-12-09 Michael Smith <msmith@fluendo.com>
16527 * common/m4/gst-makecontext.m4:
16528 * common/m4/gst-mcsc.m4:
16530 * win32/common/config.h:
16531 * win32/common/config.h.in:
16532 Remove makecontext stuff; not used in 0.10 and causes problems on
16533 HPUX according to bug #322441
16535 2005-12-07 Wim Taymans <wim@fluendo.com>
16537 * tests/check/Makefile.am:
16538 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16540 * tests/check/libs/struct_i386.h:
16541 Added ABI check for libs
16543 2005-12-07 Wim Taymans <wim@fluendo.com>
16545 * tests/check/Makefile.am:
16546 And add the struct_i386.h to dist.
16548 2005-12-07 Wim Taymans <wim@fluendo.com>
16550 * tests/check/Makefile.am:
16551 * tests/check/gst/.cvsignore:
16552 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16554 * tests/check/gst/struct_i386.h:
16555 Added check for ABI compatibility.
16557 2005-12-07 Wim Taymans <wim@fluendo.com>
16559 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16560 (gst_fake_src_get_times), (gst_fake_src_create):
16561 Fix broken sync option, fixes #323259
16563 2005-12-07 Wim Taymans <wim@fluendo.com>
16568 * gst/gstcaps.c: (gst_caps_is_equal):
16569 Don't assert on NULL <--> X. Fixes #323260
16571 * gst/gstminiobject.c: (gst_mini_object_replace):
16572 If we're doing atomic operations, we might just as well use
16573 the proper way to get an atomic pointer.
16575 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16576 Clean up debugging.
16578 2005-12-07 Michael Smith <msmith@fluendo.com>
16580 * gst/parse/grammar.y:
16581 Remove handling of { } for threads.
16583 2005-12-06 David Schleef <ds@schleef.org>
16585 * libs/gst/base/gstbasetransform.c: speling fix.
16587 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16589 * docs/libs/tmpl/gstdataprotocol.sgml:
16590 * docs/random/omega/testing/gstobject.c:
16593 * gst/gstelement.c:
16594 * gst/gstelementfactory.c:
16597 * gst/gstghostpad.c:
16599 * gst/gstpadtemplate.c:
16600 * gst/gstregistryxml.c:
16601 * gst/gsttaglist.c:
16602 * gst/gsttagsetter.c:
16603 * gst/gsttypefind.c:
16605 * libs/gst/base/gstbasesrc.c:
16606 * libs/gst/net/gstnetclientclock.c:
16607 * libs/gst/net/gstnettimeprovider.c:
16608 * plugins/elements/gstfakesrc.c:
16609 * plugins/elements/gstfdsrc.c:
16610 * plugins/elements/gstfilesrc.c:
16611 * plugins/elements/gstidentity.c:
16612 * plugins/elements/gstqueue.c:
16613 * plugins/elements/gsttypefindelement.c:
16614 * plugins/indexers/gstfileindex.c:
16615 * plugins/indexers/gstmemindex.c:
16616 * tests/check/gst/gsttag.c:
16617 * tests/old/examples/cutter/cutter.c:
16618 * tests/old/examples/mixer/mixer.c:
16619 * tests/old/examples/xml/runxml.c: (main):
16620 * tests/old/testsuite/caps/normalisation.c:
16621 * tests/old/testsuite/debug/global.c:
16622 * tests/old/testsuite/parse/parse1.c:
16623 * tools/gst-xmlinspect.c:
16624 * win32/common/dirent.c:
16627 === release 0.10.0 ===
16629 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16632 releasing 0.10.0, "Maroilles"
16634 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16636 submitted by: Funda Wang <fundawang@linux.net.cn>
16640 added Chinese (Traditional) translation
16642 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16644 * docs/gst/gstreamer-sections.txt:
16645 * docs/libs/tmpl/gstdataprotocol.sgml:
16646 * docs/random/thomasvs/TODO:
16651 2005-12-05 Andy Wingo <wingo@pobox.com>
16653 patch by: Wim Taymans <wim@fluendo.com>
16655 * libs/gst/base/gstbasetransform.c
16656 (gst_base_transform_prepare_output_buf)
16657 (gst_base_transform_buffer_alloc):
16658 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16659 alloc_buffer_and_set_caps.
16661 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16662 set_caps on the source pad.
16663 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16664 alloc_buffer used to do. Fixes #322874.
16666 * docs/gst/gstreamer-sections.txt:
16667 * docs/design/part-negotiation.txt:
16668 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16671 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16673 patch by: Sebastien Moutte
16676 * win32/common/config.h.in:
16677 * win32/vs6/libgstcontroller.dsp:
16680 2005-12-05 Wim Taymans <wim@fluendo.com>
16682 * gst/gstcaps.c: (gst_caps_is_equal):
16683 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16684 (gst_fake_src_create):
16685 Back out previous code changes, leave doc updates, file bugs
16688 2005-12-05 Wim Taymans <wim@fluendo.com>
16690 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16691 (gst_fake_src_get_times), (gst_fake_src_create):
16692 * plugins/elements/gstfakesrc.h:
16693 Fix broken sync code.
16695 2005-12-05 Wim Taymans <wim@fluendo.com>
16697 * gst/gstcaps.c: (gst_caps_is_equal):
16698 Comparing NULL against !NULL yields different caps, not a
16701 2005-12-05 Wim Taymans <wim@fluendo.com>
16703 * gst/gstpipeline.c:
16704 Fix small typo in docs.
16706 2005-12-05 Andy Wingo <wingo@pobox.com>
16708 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16710 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16711 registries/plugins with a MAJORMINOR one.
16712 (plugin_desc): Rename library from gstcoreleements to
16713 staticelements. Fixes #323222.
16715 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16717 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16718 Change debug category to 'collectpads' from 'collect_pads'
16721 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16723 patch by: Sebastien Moutte
16725 * libs/gst/controller/gstinterpolation.c:
16726 use convert function for uint64/double
16727 * win32/vs6/libgstcontroller.dsp:
16730 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16732 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16733 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16735 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16736 add tests that seem to show that the guint64/gdouble conversions
16739 2005-12-02 Wim Taymans <wim@fluendo.com>
16741 * gst/gstregistry.c: (gst_registry_add_path):
16742 * gst/gstregistry.h:
16743 * gst/gstregistryxml.c:
16746 2005-12-02 Wim Taymans <wim@fluendo.com>
16748 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16749 (gst_util_uint64_scale_int):
16752 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16753 Add debug log line.
16755 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16758 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16761 * win32/common/config.h:
16762 * win32/vs6/gstreamer.dsw:
16763 * win32/vs6/libgstcoreelements.dsp:
16764 * win32/vs6/libgstelements.dsp:
16765 renamed core elements plugin
16767 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16769 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16771 do piece-wise major/minor comparison so 0.9 < 0.10
16772 also allow .exe extensions for tools
16774 2005-12-02 Michael Smith <msmith@fluendo.com>
16777 Escape a % to make gtkdoc happier; bug 322958.
16779 === release 0.9.7 ===
16781 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16784 releasing 0.9.7, "My Dog Has No Nose"
16786 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16788 * common/gst-xmlinspect.py:
16790 * docs/libs/tmpl/gstdataprotocol.sgml:
16791 * docs/random/release:
16810 * win32/common/config.h:
16811 * win32/common/config.h.in:
16812 * win32/vs6/gst_inspect.dsp:
16813 * win32/vs6/gst_launch.dsp:
16814 * win32/vs6/libgstbase.dsp:
16815 * win32/vs6/libgstelements.dsp:
16816 * win32/vs6/libgstreamer.dsp:
16817 * win32/vs7/GStreamer.vcproj:
16818 * win32/vs7/gst-inspect.vcproj:
16819 * win32/vs7/gst-launch.vcproj:
16820 * win32/vs7/libgstbase.vcproj:
16821 bump GST_MAJORMINOR to 0.10
16822 reset libtool version
16824 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16828 Added Bulgarian translation by (Alexander Shopov)
16830 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16832 * tests/check/gst/gstplugin.c:
16835 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16837 * common/gst-xmlinspect.py:
16838 * common/gtk-doc-plugins.mak:
16840 * docs/Makefile.am:
16841 * docs/gst/Makefile.am:
16842 * docs/gst/gstreamer-docs.sgml:
16843 * docs/gst/gstreamer-sections.txt:
16844 * docs/gst/gstreamer.types:
16845 * docs/gst/gstreamer.types.in:
16846 * docs/plugins/Makefile.am:
16847 * docs/plugins/gstreamer-plugins-docs.sgml:
16848 * docs/plugins/gstreamer-plugins-sections.txt:
16849 * docs/plugins/gstreamer-plugins.types:
16850 * docs/plugins/inspect.stamp:
16851 * docs/plugins/inspect/plugin-coreelements.xml:
16852 * docs/plugins/inspect/plugin-coreindexers.xml:
16853 * docs/plugins/scanobj-build.stamp:
16854 * gstreamer.spec.in:
16855 * plugins/elements/Makefile.am:
16856 * plugins/elements/gstelements.c:
16857 * plugins/elements/gstfakesink.c:
16858 * plugins/elements/gstfakesrc.c:
16859 * plugins/elements/gstfilesink.c:
16860 * plugins/elements/gstfilesrc.c:
16861 * plugins/elements/gstqueue.c:
16862 * plugins/indexers/Makefile.am:
16863 * plugins/indexers/gstindexers.c:
16864 document core plugins in a separate document just like all the
16866 rename these plugins to something starting with core
16868 2005-12-01 Andy Wingo <wingo@pobox.com>
16870 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16871 padding here before, but it missed the commit.
16873 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16875 * libs/gst/controller/gstinterpolation.c:
16876 whitespace prices have crashed, we should feel free to use some now
16877 use gst_guint64_to_gdouble
16879 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16881 * libs/gst/controller/gstcontroller.c:
16882 * libs/gst/controller/gsthelper.c:
16883 * libs/gst/controller/gstinterpolation.c:
16884 * libs/gst/controller/lib.c:
16885 wrap config.h include
16887 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16889 * docs/gst/gstreamer-sections.txt:
16892 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16894 * plugins/elements/gstelements.c:
16895 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16896 (gst_fd_sink__class_init), (gst_fd_sink__init),
16897 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16898 (gst_fd_sink__get_property):
16899 * plugins/elements/gstfdsink.h:
16900 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16901 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16902 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16903 (gst_fd_src_unlock), (gst_fd_src_set_property),
16904 (gst_fd_src_get_property), (gst_fd_src_create),
16905 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16906 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16907 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16908 (gst_fd_src_uri_handler_init):
16909 * plugins/elements/gstfdsrc.h:
16910 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16913 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16915 * docs/gst/Makefile.am:
16916 * docs/gst/gstreamer.types.in:
16920 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16926 * gst/gstregistry.h:
16927 * tests/benchmarks/complexity.c:
16928 * tests/benchmarks/mass-elements.c:
16929 * tests/check/Makefile.am:
16930 * tools/Makefile.am:
16931 * tools/gst-inspect.c:
16932 * tools/gst-xmlinspect.c:
16933 various fixes to make
16934 --disable-nls --disable-registry --disable-loadsave
16935 --disable-parse --disable-gst-debug
16936 work and get the core .so down to 360444 bytes after stripping
16938 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16943 * docs/random/thomasvs/TODO:
16944 * tests/Makefile.am:
16948 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16950 * win32/GStreamer.vcproj:
16953 * win32/Makefile.inspect:
16954 * win32/Makefile.launch:
16955 * win32/Makefile.register:
16956 * win32/README.txt:
16957 * win32/gst-inspect.vcproj:
16958 * win32/gst-launch.vcproj:
16959 * win32/gst-register.vcproj:
16960 * win32/gstelements.vcproj:
16961 * win32/gstgetbits.def:
16962 * win32/gstgetbits.vcproj:
16963 * win32/gstreamer-dbg.def:
16964 * win32/gstreamer.def:
16965 * win32/libgstbase.def:
16966 * win32/libgstbase.vcproj:
16967 * win32/link_oldruntime.c:
16971 * win32/msvc71.sln:
16972 move even more stuff, win32/ is nice and clean now
16974 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16976 * libs/gst/control/.cvsignore:
16981 * win32/gstbytestream.def:
16982 * win32/gstbytestream.vcproj:
16983 * win32/gstconfig.h:
16984 * win32/gstenumtypes.c:
16985 * win32/gstenumtypes.h:
16986 * win32/gstoptimalscheduler.vcproj:
16987 * win32/gstversion.h:
16989 * win32/testsuite/bins.vcproj:
16990 * win32/testsuite/bytestream.vcproj:
16991 * win32/testsuite/caps.vcproj:
16992 * win32/testsuite/cleanup.vcproj:
16993 * win32/testsuite/clock.vcproj:
16994 * win32/testsuite/debug.vcproj:
16995 * win32/testsuite/dlopen.vcproj:
16996 * win32/testsuite/dynparams.vcproj:
16997 * win32/testsuite/elements.vcproj:
16998 * win32/testsuite/ghostpads.vcproj:
16999 * win32/testsuite/indexers.vcproj:
17000 * win32/testsuite/negotiation.vcproj:
17001 * win32/testsuite/parse.vcproj:
17002 * win32/testsuite/plugin.vcproj:
17003 * win32/testsuite/refcounting.vcproj:
17004 * win32/testsuite/schedulers.vcproj:
17005 * win32/testsuite/states.vcproj:
17006 * win32/testsuite/tags.vcproj:
17007 * win32/testsuite/threads.vcproj:
17008 remove old win32 stuff that isn't maintained and should be
17011 2005-11-30 Andy Wingo <wingo@pobox.com>
17013 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
17014 loading the gst.interfaces python module bork.
17016 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
17017 available since GLib 2.2. Fixes #318031.
17019 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17022 * check/.cvsignore:
17023 * check/Makefile.am:
17024 * check/elements/.cvsignore:
17025 * check/elements/fakesrc.c:
17026 * check/elements/fdsrc.c:
17027 * check/elements/identity.c:
17028 * check/generic/.cvsignore:
17029 * check/generic/states.c:
17030 * check/gst-libs/.cvsignore:
17031 * check/gst-libs/controller.c:
17032 * check/gst-libs/gdp.c:
17033 * check/gst/.cvsignore:
17034 * check/gst/capslist.h:
17036 * check/gst/gstbin.c:
17037 * check/gst/gstbuffer.c:
17038 * check/gst/gstbus.c:
17039 * check/gst/gstcaps.c:
17040 * check/gst/gstelement.c:
17041 * check/gst/gstevent.c:
17042 * check/gst/gstghostpad.c:
17043 * check/gst/gstiterator.c:
17044 * check/gst/gstmessage.c:
17045 * check/gst/gstminiobject.c:
17046 * check/gst/gstobject.c:
17047 * check/gst/gstpad.c:
17048 * check/gst/gstpipeline.c:
17049 * check/gst/gstplugin.c:
17050 * check/gst/gstsegment.c:
17051 * check/gst/gststructure.c:
17052 * check/gst/gstsystemclock.c:
17053 * check/gst/gsttag.c:
17054 * check/gst/gstutils.c:
17055 * check/gst/gstvalue.c:
17056 * check/net/.cvsignore:
17057 * check/net/gstnetclientclock.c:
17058 * check/net/gstnettimeprovider.c:
17059 * check/pipelines/.cvsignore:
17060 * check/pipelines/cleanup.c:
17061 * check/pipelines/simple_launch_lines.c:
17062 * check/pipelines/stress.c:
17063 * check/states/.cvsignore:
17064 * check/states/sinks.c:
17066 * examples/Makefile.am:
17067 * examples/appreader/.cvsignore:
17068 * examples/appreader/Makefile.am:
17069 * examples/appreader/appreader.c:
17070 * examples/controller/.cvsignore:
17071 * examples/controller/Makefile.am:
17072 * examples/controller/audio-example.c:
17073 * examples/cutter/.cvsignore:
17074 * examples/cutter/Makefile.am:
17075 * examples/cutter/cutter.c:
17076 * examples/cutter/cutter.h:
17077 * examples/events/Makefile.am:
17078 * examples/events/seek.c:
17079 * examples/helloworld/.cvsignore:
17080 * examples/helloworld/Makefile.am:
17081 * examples/helloworld/helloworld.c:
17082 * examples/helloworld2/.cvsignore:
17083 * examples/helloworld2/Makefile.am:
17084 * examples/helloworld2/helloworld2.c:
17085 * examples/launch/.cvsignore:
17086 * examples/launch/Makefile.am:
17087 * examples/launch/mp3parselaunch.c:
17088 * examples/launch/mp3play:
17089 * examples/manual/.cvsignore:
17090 * examples/manual/Makefile.am:
17091 * examples/manual/extract.pl:
17092 * examples/metadata/Makefile.am:
17093 * examples/metadata/read-metadata.c:
17094 * examples/mixer/.cvsignore:
17095 * examples/mixer/Makefile.am:
17096 * examples/mixer/mixer.c:
17097 * examples/mixer/mixer.h:
17098 * examples/pingpong/.cvsignore:
17099 * examples/pingpong/Makefile.am:
17100 * examples/pingpong/pingpong.c:
17101 * examples/plugins/.cvsignore:
17102 * examples/plugins/Makefile.am:
17103 * examples/plugins/example.c:
17104 * examples/plugins/example.h:
17105 * examples/pwg/.cvsignore:
17106 * examples/pwg/Makefile.am:
17107 * examples/pwg/extract.pl:
17108 * examples/queue/.cvsignore:
17109 * examples/queue/Makefile.am:
17110 * examples/queue/queue.c:
17111 * examples/queue2/.cvsignore:
17112 * examples/queue2/Makefile.am:
17113 * examples/queue2/queue2.c:
17114 * examples/queue3/.cvsignore:
17115 * examples/queue3/Makefile.am:
17116 * examples/queue3/queue3.c:
17117 * examples/queue4/.cvsignore:
17118 * examples/queue4/Makefile.am:
17119 * examples/queue4/queue4.c:
17120 * examples/retag/.cvsignore:
17121 * examples/retag/Makefile.am:
17122 * examples/retag/retag.c:
17123 * examples/retag/transcode.c:
17124 * examples/thread/.cvsignore:
17125 * examples/thread/Makefile.am:
17126 * examples/thread/thread.c:
17127 * examples/typefind/.cvsignore:
17128 * examples/typefind/Makefile.am:
17129 * examples/typefind/typefind.c:
17130 * examples/xml/.cvsignore:
17131 * examples/xml/Makefile.am:
17132 * examples/xml/createxml.c:
17133 * examples/xml/runxml.c:
17134 * tests/Makefile.am:
17135 * tests/check/Makefile.am:
17136 * testsuite/.cvsignore:
17137 * testsuite/Makefile.am:
17139 * testsuite/caps/.cvsignore:
17140 * testsuite/caps/Makefile.am:
17141 * testsuite/caps/app_fixate.c:
17142 * testsuite/caps/audioscale.c:
17143 * testsuite/caps/caps.c:
17144 * testsuite/caps/caps.h:
17145 * testsuite/caps/caps_strings:
17146 * testsuite/caps/compatibility.c:
17147 * testsuite/caps/deserialize.c:
17148 * testsuite/caps/enumcaps.c:
17149 * testsuite/caps/eratosthenes.c:
17150 * testsuite/caps/filtercaps.c:
17151 * testsuite/caps/fixed.c:
17152 * testsuite/caps/fraction-convert.c:
17153 * testsuite/caps/fraction-multiply-and-zero.c:
17154 * testsuite/caps/intersect2.c:
17155 * testsuite/caps/intersection.c:
17156 * testsuite/caps/normalisation.c:
17157 * testsuite/caps/random.c:
17158 * testsuite/caps/renegotiate.c:
17159 * testsuite/caps/sets.c:
17160 * testsuite/caps/simplify.c:
17161 * testsuite/caps/string-conversions.c:
17162 * testsuite/caps/structure.c:
17163 * testsuite/caps/subtract.c:
17164 * testsuite/caps/union.c:
17165 * testsuite/debug/.cvsignore:
17166 * testsuite/debug/Makefile.am:
17167 * testsuite/debug/category.c:
17168 * testsuite/debug/commandline.c:
17169 * testsuite/debug/global.c:
17170 * testsuite/debug/output.c:
17171 * testsuite/debug/printf_extension.c:
17172 * testsuite/dlopen/.cvsignore:
17173 * testsuite/dlopen/Makefile.am:
17174 * testsuite/dlopen/dlopen_gst.c:
17175 * testsuite/dlopen/loadgst.c:
17176 * testsuite/elements/.cvsignore:
17177 * testsuite/elements/Makefile.am:
17178 * testsuite/elements/gst-inspect-check.in:
17179 * testsuite/elements/struct_i386.h:
17180 * testsuite/elements/struct_size.c:
17181 * testsuite/indexers/.cvsignore:
17182 * testsuite/indexers/Makefile.am:
17183 * testsuite/indexers/cache1.c:
17184 * testsuite/indexers/indexdump.c:
17185 * testsuite/parse/.cvsignore:
17186 * testsuite/parse/Makefile.am:
17187 * testsuite/parse/parse1.c:
17188 * testsuite/parse/parse2.c:
17189 * testsuite/plugin/.cvsignore:
17190 * testsuite/plugin/Makefile.am:
17191 * testsuite/plugin/README:
17192 * testsuite/plugin/dynamic.c:
17193 * testsuite/plugin/linked.c:
17194 * testsuite/plugin/loading.c:
17195 * testsuite/plugin/registry.c:
17196 * testsuite/plugin/static.c:
17197 * testsuite/plugin/static2.c:
17198 * testsuite/plugin/testplugin.c:
17199 * testsuite/plugin/testplugin2.c:
17200 * testsuite/plugin/testplugin2_s.c:
17201 * testsuite/plugin/testplugin_s.c:
17202 * testsuite/refcounting/.cvsignore:
17203 * testsuite/refcounting/Makefile.am:
17204 * testsuite/refcounting/bin.c:
17205 * testsuite/refcounting/element.c:
17206 * testsuite/refcounting/element_pad.c:
17207 * testsuite/refcounting/mainloop.c:
17208 * testsuite/refcounting/mem.c:
17209 * testsuite/refcounting/mem.h:
17210 * testsuite/refcounting/object.c:
17211 * testsuite/refcounting/pad.c:
17212 * testsuite/refcounting/sched.c:
17213 * testsuite/refcounting/thread.c:
17214 * testsuite/states/.cvsignore:
17215 * testsuite/states/Makefile.am:
17216 * testsuite/states/bin.c:
17217 * testsuite/states/locked.c:
17218 * testsuite/states/parent.c:
17219 * testsuite/threads/.cvsignore:
17220 * testsuite/threads/159566.c:
17221 * testsuite/threads/159852.c:
17222 * testsuite/threads/Makefile.am:
17223 * testsuite/threads/queue.c:
17224 * testsuite/threads/signals.c:
17225 * testsuite/threads/staticrec.c:
17226 * testsuite/threads/thread.c:
17227 * testsuite/threads/threadb.c:
17228 * testsuite/threads/threadc.c:
17229 * testsuite/threads/threadd.c:
17230 * testsuite/threads/threade.c:
17231 * testsuite/threads/threadf.c:
17232 * testsuite/threads/threadg.c:
17233 * testsuite/threads/threadh.c:
17234 * testsuite/threads/threadi.c:
17235 move all of these under tests
17237 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17240 * tests/Makefile.am:
17243 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17245 * docs/gst/gstreamer-sections.txt:
17246 * tests/sched/.cvsignore:
17247 * tests/sched/Makefile.am:
17248 * tests/sched/cases/(fs-fs).xml:
17249 * tests/sched/cases/(fs-i-fs).xml:
17250 * tests/sched/cases/(fs-i-i-fs).xml:
17251 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17252 * tests/sched/dynamic-pipeline.c:
17253 * tests/sched/interrupt1.c:
17254 * tests/sched/interrupt2.c:
17255 * tests/sched/interrupt3.c:
17256 * tests/sched/runtestcases:
17257 * tests/sched/runxml.c:
17258 * tests/sched/sched-stress.c:
17259 * tests/sched/sort.c:
17260 * tests/sched/testcases:
17261 * tests/sched/testcases1.tc:
17262 * tests/seeking/.cvsignore:
17263 * tests/seeking/Makefile.am:
17264 * tests/seeking/seeking1.c:
17265 * tests/threadstate/.cvsignore:
17266 * tests/threadstate/Makefile.am:
17267 * tests/threadstate/test1.c:
17268 * tests/threadstate/test2.c:
17269 * tests/threadstate/threadstate1.c:
17270 * tests/threadstate/threadstate2.c:
17271 * tests/threadstate/threadstate3.c:
17272 * tests/threadstate/threadstate4.c:
17273 * tests/threadstate/threadstate5.c:
17274 remove obsolete tests
17276 * tests/bench-complexity.scm:
17277 * tests/bench-mass_elements.scm:
17278 * tests/complexity.c:
17279 * tests/complexity.gnuplot:
17280 * tests/instantiate/.cvsignore:
17281 * tests/instantiate/Makefile.am:
17282 * tests/instantiate/caps.c:
17283 * tests/mass_elements.c:
17284 * tests/network-clock-utils.scm:
17285 * tests/network-clock.scm:
17287 First pass at cleaning up tests/ dir before moving the rest
17288 Combined with CVS surgery
17290 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17293 queue has moved, update
17295 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17297 * docs/gst/gstreamer-sections.txt:
17298 remove double entries from the docs
17299 * gst/gst_private.h:
17300 * gst/gstinfo.c: (_gst_debug_init):
17301 remove the THREAD debug category
17305 * docs/gst/gstreamer.types:
17306 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17307 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17308 completely move queue and fix up debugging categories
17310 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17312 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17313 make initialization portable, using LL is not
17315 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17317 * win32/common/gstconfig.h:
17320 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17322 * win32/common/libgstreamer.def:
17323 rename symbols; sort base section
17325 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17327 * gst/gstclock.c: (do_linear_regression):
17328 remove crack non-portable handrolled DEBUG macro
17330 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17332 * docs/random/release:
17334 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17335 (gst_object_flags_get_type), (register_gst_bin_flags),
17336 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17337 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17338 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17339 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17340 (gst_caps_flags_get_type), (register_gst_clock_return),
17341 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17342 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17343 (gst_clock_flags_get_type), (register_gst_state),
17344 (gst_state_get_type), (register_gst_state_change_return),
17345 (gst_state_change_return_get_type), (register_gst_state_change),
17346 (gst_state_change_get_type), (register_gst_element_flags),
17347 (gst_element_flags_get_type), (register_gst_core_error),
17348 (gst_core_error_get_type), (register_gst_library_error),
17349 (gst_library_error_get_type), (register_gst_resource_error),
17350 (gst_resource_error_get_type), (register_gst_stream_error),
17351 (gst_stream_error_get_type), (register_gst_event_type_flags),
17352 (gst_event_type_flags_get_type), (register_gst_event_type),
17353 (gst_event_type_get_type), (register_gst_seek_type),
17354 (gst_seek_type_get_type), (register_gst_seek_flags),
17355 (gst_seek_flags_get_type), (register_gst_format),
17356 (gst_format_get_type), (register_gst_index_certainty),
17357 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17358 (gst_index_entry_type_get_type),
17359 (register_gst_index_lookup_method),
17360 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17361 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17362 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17363 (gst_index_flags_get_type), (register_gst_debug_level),
17364 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17365 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17366 (gst_iterator_result_get_type), (register_gst_iterator_item),
17367 (gst_iterator_item_get_type), (register_gst_message_type),
17368 (gst_message_type_get_type), (register_gst_mini_object_flags),
17369 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17370 (gst_pad_link_return_get_type), (register_gst_flow_return),
17371 (gst_flow_return_get_type), (register_gst_activate_mode),
17372 (gst_activate_mode_get_type), (register_gst_pad_direction),
17373 (gst_pad_direction_get_type), (register_gst_pad_flags),
17374 (gst_pad_flags_get_type), (register_gst_pad_presence),
17375 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17376 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17377 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17378 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17379 (gst_plugin_flags_get_type), (register_gst_rank),
17380 (gst_rank_get_type), (register_gst_query_type),
17381 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17382 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17383 (gst_tag_flag_get_type), (register_gst_task_state),
17384 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17385 (gst_alloc_trace_flags_get_type),
17386 (register_gst_type_find_probability),
17387 (gst_type_find_probability_get_type), (register_gst_uri_type),
17388 (gst_uri_type_get_type), (register_gst_parse_error),
17389 (gst_parse_error_get_type):
17390 * win32/common/gstenumtypes.h:
17391 * win32/common/gstversion.h:
17392 update visual studio generated files
17394 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17396 * win32/vs6/libgstbase.dsp:
17397 * win32/vs6/libgstelements.dsp:
17398 update project files for new locations
17400 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17405 reinstate and update
17410 * docs/random/LICENSE:
17413 2005-11-30 Edward Hervey <edward@fluendo.com>
17415 * gst/gsttypefind.c: (gst_type_find_register):
17416 * gst/gsttypefind.h:
17417 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17418 (gst_type_find_factory_dispose):
17419 * gst/gsttypefindfactory.h:
17420 Fix memory leak in GstTypeFindFactory.
17422 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17425 * plugins/elements/Makefile.am:
17426 * plugins/elements/gstelements.c:
17427 * plugins/elements/gstqueue.c:
17428 move queue from core to the elements plugin
17430 2005-11-29 Andy Wingo <wingo@pobox.com>
17432 * libs/gst/base/gstbasetransform.h:
17433 * libs/gst/base/gstbasesrc.h:
17434 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17436 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17437 of pointers by which to pad very extensible base classes (like the
17438 ones in libs/gst/base).
17440 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17442 * docs/gst/gstreamer-docs.sgml:
17443 * docs/gst/gstreamer-sections.txt:
17444 * docs/libs/gstreamer-libs-docs.sgml:
17445 * docs/libs/gstreamer-libs-sections.txt:
17446 moving documentation from core to lib
17448 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17450 * check/Makefile.am:
17452 * docs/gst/Makefile.am:
17454 * gst/base/.cvsignore:
17455 * gst/base/Makefile.am:
17457 * gst/base/gstadapter.c:
17458 * gst/base/gstadapter.h:
17459 * gst/base/gstbasesink.c:
17460 * gst/base/gstbasesink.h:
17461 * gst/base/gstbasesrc.c:
17462 * gst/base/gstbasesrc.h:
17463 * gst/base/gstbasetransform.c:
17464 * gst/base/gstbasetransform.h:
17465 * gst/base/gstcollectpads.c:
17466 * gst/base/gstcollectpads.h:
17467 * gst/base/gstpushsrc.c:
17468 * gst/base/gstpushsrc.h:
17469 * gst/base/gsttypefindhelper.c:
17470 * gst/base/gsttypefindhelper.h:
17471 * gst/check/Makefile.am:
17472 * gst/check/gstcheck.c:
17473 * gst/check/gstcheck.h:
17474 * gst/net/Makefile.am:
17475 * gst/net/gstnet.h:
17476 * gst/net/gstnetclientclock.c:
17477 * gst/net/gstnetclientclock.h:
17478 * gst/net/gstnettimepacket.c:
17479 * gst/net/gstnettimepacket.h:
17480 * gst/net/gstnettimeprovider.c:
17481 * gst/net/gstnettimeprovider.h:
17482 * libs/gst/Makefile.am:
17483 * libs/gst/base/Makefile.am:
17484 * libs/gst/base/gstbasetransform.c:
17485 * libs/gst/check/Makefile.am:
17486 * plugins/elements/Makefile.am:
17488 CVS surgery + support to move base, check, and net out of gst
17491 2005-11-29 Andy Wingo <wingo@pobox.com>
17493 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17495 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17498 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17500 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17502 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17504 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17505 padding; reduces object size by about 30%. We don't expect
17506 anything else to go into gstobject.
17508 * gst/gstminiobject.h (struct _GstMiniObject)
17509 (struct _GstMiniObjectClass): Only one pointer of padding; the
17510 payload is only a pointer and two ints anyway. For the class there
17511 are only two methods as well.
17513 * gst/gstelement.h (struct _GstElementClass): Removed
17514 the state_changed signal callback, it is not used.
17516 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17518 * docs/gst/gstreamer.types:
17519 fix includes, though they are a little dinky
17521 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17523 * check/Makefile.am:
17524 look in the right place for elements, a lot more chance of
17527 remove indexers and elements subdirs
17528 * plugins/Makefile.am:
17529 make indexers conditional
17531 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17535 * plugins/elements/Makefile.am:
17536 * plugins/elements/gstcapsfilter.c:
17537 * plugins/elements/gstfilesink.c:
17538 * plugins/elements/gstfilesrc.c:
17539 * plugins/elements/gstidentity.c:
17540 * plugins/indexers/Makefile.am:
17541 do CVS surgery and related build fixery to move elements
17542 and indexers in a new gstreamer/plugins directory, out of the
17545 2005-11-29 Andy Wingo <wingo@pobox.com>
17547 * check/Makefile.am:
17548 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17549 * pkgconfig/gstreamer-net.pc.in:
17550 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17553 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17555 * tools/Makefile.am:
17556 * tools/gst-complete.1.in:
17557 * tools/gst-complete.c:
17558 * tools/gst-compprep.1.in:
17559 * tools/gst-compprep.c:
17560 removing -compprep and -complete
17562 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17564 * gst/gstevent.c: (gst_event_new_new_segment),
17565 (gst_event_parse_new_segment):
17567 fix #320529 - clean up new_segment API and structure.
17568 Let's hope everyone was using the methods, and not the structure.
17570 2005-11-29 Edward Hervey <edward@fluendo.com>
17572 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17573 (gst_base_sink_event), (gst_base_sink_do_sync),
17574 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17575 Properly handle non GST_FORMAT_TIME segment
17576 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17577 Properly handle non GST_FORMAT_TIME segment
17578 * gst/gstsegment.c:
17579 This function is valid if the accumulator is 0 and the format
17580 is different from the requested format.
17582 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17584 * docs/gst/gstreamer-sections.txt:
17585 Add gst_query_new_seeking and gst_query_parse_seeking to the
17588 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17590 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17591 Treat a pad alloc with new caps the same as if we were not
17592 negotiated, in order to allow a changing upstream output
17593 to produce a new format of data.
17595 2005-11-29 Edward Hervey <edward@fluendo.com>
17597 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17598 (gst_base_transform_event), (gst_base_transform_eventfunc):
17599 The event virtual method is now properly implemented, with a default
17601 Sub classes should call the parent_class event method. They should
17602 return FALSE if they had a problem handling the given event, or don't
17603 want GstBaseTransform to send that even downstream
17604 * gst/elements/gstidentity.c: (gst_identity_class_init),
17605 (gst_identity_init), (gst_identity_event),
17606 (gst_identity_transform_ip), (gst_identity_set_property),
17607 (gst_identity_get_property):
17608 * gst/elements/gstidentity.h:
17609 Added the single-segment boolean property.
17610 If set to TRUE, it will output a single segment of data, starting from
17611 0, will eat up all incoming newsegment, and modify the timestamp of the
17612 buffers accordingly
17614 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17616 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17617 Don't ref NULL target pad (#322751). Improve docs.
17619 2005-11-29 Michael Smith <msmith@fluendo.com>
17621 * gst/gstregistryxml.c: (load_plugin):
17622 Don't crash if we failed to load a feature from a plugin.
17624 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17626 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17628 use more check API and less GLib API
17630 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17633 don't run checks if we don't have check
17634 * common/check.mak:
17635 remove the registry when running make torture
17636 * docs/gst/gstreamer-sections.txt:
17637 remove second multiply
17638 * gst/gstqueue.c: (gst_queue_loop):
17639 fix a compile warning when disabling debug
17641 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17644 Hey! Let's print the pad name if the pointer != NULL instead
17645 of when it == NULL :-)
17647 2005-11-28 Wim Taymans <wim@fluendo.com>
17649 * check/gst/gstutils.c: (GST_START_TEST):
17650 Updated check, add some scaling accuracy checking code.
17652 * gst/gstutils.c: (gst_util_div128_64),
17653 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17654 (gst_util_uint64_scale_int):
17655 Fix 6 times faster division code. Optimize for common
17656 1/1 and less common X/1 cases.
17658 2005-11-28 Wim Taymans <wim@fluendo.com>
17660 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17663 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17664 (do_linear_regression), (gst_clock_add_observation):
17666 Release lock when the clock cannot be slaved.
17667 Catch the case where the regression returned an invalid denominator.
17669 * gst/gstutils.c: (gst_util_div128_64_iterate),
17670 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17671 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17672 Add protentially more performant non-iterative 128/64 divide function
17673 that unfortunatly does not work yet.
17674 Shortcut the trivial 0/X = 0 case.
17675 Remove the warnings on overflow.
17677 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17679 * gst/gstplugin.c: (gst_plugin_register_func):
17680 everything causing a plugin not to load should be at least a WARNING
17682 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17684 * docs/random/ensonic/dparams.txt:
17685 some TODOs for the next dev cycle
17686 * libs/gst/controller/gstcontroller.c:
17687 (gst_controlled_property_set_interpolation_mode),
17688 (gst_controlled_property_new):
17689 * libs/gst/controller/gstcontroller.h:
17690 use base type to assign acccessor functions
17692 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17694 * check/Makefile.am:
17695 Oops, that should have been top_srcdir
17697 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17699 * check/Makefile.am:
17700 * check/elements/fdsrc.c: (GST_START_TEST):
17701 Use a cmdline define to specify the location of a file to use for
17702 testing, to avoid breaking distcheck.
17704 2005-11-28 Andy Wingo <wingo@pobox.com>
17706 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17708 2005-11-28 Edward Hervey <edward@fluendo.com>
17710 * tools/gst-launch.c: (main):
17711 Clarify the output strings, makes it easier to translate.
17714 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17717 don't try and build net if we don't even have <sys/socket.h>
17719 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17721 * check/Makefile.am:
17722 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17723 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17724 Add tests for fdsrc seekability
17726 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17727 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17728 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17729 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17730 * gst/elements/gstfdsrc.h:
17731 fdsrc should not be a 'live' source.
17732 Implement seeking on seekable fd's.
17734 * gst/gstquery.c: (gst_query_new_seeking),
17735 (gst_query_parse_seeking):
17737 Implement SEEKING query functions:
17738 *_new_seeking and *_parse_seeking
17740 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17742 * gst/gstelement.c: (gst_element_dispose):
17745 * gst/gstiterator.c:
17746 * gst/gststructure.c:
17749 * libs/gst/controller/gstcontroller.c:
17750 (gst_controlled_property_set_interpolation_mode):
17751 * libs/gst/controller/gstcontroller.h:
17752 * libs/gst/controller/gstinterpolation.c:
17753 (interpolate_none_get_enum_value_array):
17754 support controlling enums
17756 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17759 Improve documentation for gst_value_union().
17762 Change return value for union, intersect and subtract functions
17763 from gint to gboolean.
17765 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17767 * gst/gstvalue.c: (gst_value_serialize_any_list),
17768 (gst_value_transform_any_list_string),
17769 (gst_value_deserialize_list), (gst_value_deserialize_array),
17770 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17771 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17772 (gst_value_set_fraction_range_full),
17773 (gst_value_deserialize_fraction_range),
17774 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17775 (gst_value_deserialize_boolean),
17776 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17777 (gst_value_serialize_float), (gst_value_deserialize_float),
17778 (gst_string_wrap), (gst_value_deserialize_string),
17779 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17780 (gst_value_union_int_range_int_range),
17781 (gst_value_intersect_int_range_int_range),
17782 (gst_value_intersect_double_range_double_range),
17783 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17784 (gst_value_subtract_int_range_int_range),
17785 (gst_value_subtract_double_double_range),
17786 (gst_value_subtract_double_range_double_range),
17787 (gst_value_deserialize_fraction):
17789 Use gint, gdouble and gchar in our API instead of int, double and
17790 char (and make usage in gstvalue.c more consistent).
17792 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17794 * check/Makefile.am:
17795 * libs/gst/controller/Makefile.am:
17796 * libs/gst/dataprotocol/Makefile.am:
17797 fix up Makefile.am and remove GST_ENABLE_NEW
17799 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17803 * gst/base/Makefile.am:
17804 * gst/check/Makefile.am:
17805 * gst/elements/Makefile.am:
17806 * gst/net/Makefile.am:
17807 update LDFLAGS use some more
17809 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17811 * common/m4/gst-doc.m4:
17814 2005-11-26 Edward Hervey <edward@fluendo.com>
17816 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17817 This shouldn't issue a g_warning since it returns NULL if it
17818 couldn't find the plugin, and all functions using this behave
17819 properly on a NULL return. Switching to a GST_WARNING.
17821 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17823 * gst/gstbin.c: (gst_bin_handle_message_func):
17824 Don't leak clock messages.
17826 2005-11-25 Wim Taymans <wim@fluendo.com>
17828 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17829 (gst_util_uint64_scale_int):
17830 Optimisations, remove unneeded vars.
17832 2005-11-25 Wim Taymans <wim@fluendo.com>
17834 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17835 Added more checks for the high precision uint64 cases.
17837 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17838 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17839 Implement high precision (guint64 * guint64) / guint64.
17841 2005-11-24 Wim Taymans <wim@fluendo.com>
17843 * gst/base/gstbasesrc.c: (gst_base_src_query):
17844 Fix wrong percentage query.
17846 * gst/gstutils.c: (gst_util_uint64_scale),
17847 (gst_util_uint64_scale_int):
17848 Add some more common cases that can be handled
17849 efficiently to _scale.
17851 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17853 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17854 (gst_mini_object_suite):
17855 don't use check calls from threads; check probably isn't
17856 threadsafe and using a lock to make it threadsafe would
17857 defeat the purpose of this check
17858 * gst/check/gstcheck.c:
17859 * gst/check/gstcheck.h:
17860 use GST_DEBUG some more
17862 2005-11-24 Wim Taymans <wim@fluendo.com>
17864 * gst/gstutils.c: (gst_util_uint64_scale),
17865 (gst_util_uint64_scale_int):
17866 Chain trivial case to _scale_int.
17868 2005-11-24 Wim Taymans <wim@fluendo.com>
17870 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17871 Added test for scaling.
17876 * gst/gstutils.c: (gst_util_uint64_scale_int):
17877 Implemented high precision scaling code.
17879 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17882 do not crash on pad==NULL
17884 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17886 Patch by: Stefan Kost
17888 * common/gtk-doc.mak:
17889 * docs/gst/Makefile.am:
17890 * docs/libs/Makefile.am:
17891 Fix distcheck issues for the libraries docs build
17894 2005-11-24 Michael Smith <msmith@fluendo.com>
17896 * docs/manual/basics-helloworld.xml:
17897 Fix bug #315027: memory leak in example code in docs.
17899 2005-11-24 Michael Smith <msmith@fluendo.com>
17901 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17902 Unlock the PREROLL_LOCK in a failure case.
17904 2005-11-24 Wim Taymans <wim@fluendo.com>
17906 * docs/gst/gstreamer-sections.txt:
17907 * gst/base/gstadapter.h:
17908 * gst/base/gstbasesink.h:
17909 * gst/base/gstbasesrc.h:
17910 * gst/base/gstbasetransform.h:
17911 * gst/base/gstpushsrc.h:
17912 * gst/elements/gstfakesink.h:
17913 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17914 * gst/elements/gstfakesrc.h:
17915 * gst/elements/gstfilesink.h:
17916 * gst/elements/gstfilesrc.h:
17919 * gst/gstbuffer.c: (_gst_buffer_copy):
17922 * gst/gstchildproxy.c:
17924 * gst/gstelement.c:
17925 * gst/gstelementfactory.c:
17926 * gst/gstelementfactory.h:
17928 * gst/gstghostpad.h:
17930 * gst/gstinterface.h:
17931 * gst/gstminiobject.c:
17932 * gst/gstminiobject.h:
17935 * gst/gstpadtemplate.h:
17936 * gst/gstpipeline.h:
17937 * gst/gstpluginfeature.h:
17940 * gst/gsttaglist.c:
17941 * gst/gsttaglist.h:
17942 * gst/gsttagsetter.c:
17943 * gst/gsttagsetter.h:
17946 * gst/gsttypefind.h:
17949 * gst/net/gstnetclientclock.c:
17950 * gst/net/gstnetclientclock.h:
17951 * gst/net/gstnettimepacket.c:
17952 * gst/net/gstnettimeprovider.c:
17953 * gst/net/gstnettimeprovider.h:
17956 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17958 * configure.ac: back to HEAD
17960 === release 0.9.6 ===
17962 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17965 releasing 0.9.6, "Always On Time"
17967 2005-11-23 Wim Taymans <wim@fluendo.com>
17969 * docs/gst/gstreamer-sections.txt:
17970 * gst/glib-compat.c:
17971 * gst/gsttagsetter.c:
17973 * gst/net/gstnetclientclock.c:
17974 * gst/net/gstnettimepacket.h:
17977 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17979 * docs/faq/using.xml:
17980 * docs/libs/tmpl/gstcontrol.sgml:
17981 * docs/manual/advanced-dparams.xml:
17982 * docs/manual/appendix-checklist.xml:
17983 * docs/manual/basics-elements.xml:
17984 * docs/pwg/other-source.xml:
17985 * docs/random/moving-plugins:
17987 * tools/gst-launch.1.in:
17988 remove mentions of sinesrc
17990 2005-11-23 Michael Smith <msmith@fluendo.com>
17992 * docs/gst/gstreamer-sections.txt:
17993 Update for new API and API changes.
17995 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17997 Documentation typo fix.
17998 * gst/net/gstnettimepacket.c:
17999 Documentation fixes for arguments.
18001 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
18003 * gst/gststructure.c: (gst_structure_get_fraction),
18004 (gst_structure_parse_value),
18005 (gst_structure_fixate_field_nearest_fraction):
18006 * gst/gststructure.h:
18007 * gst/gstutils.c: (gst_util_uint64_scale_int):
18009 * scripts/update-funcnames:
18011 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
18012 Make gst_structure_fixate_field_nearest_fraction take a numerator
18013 and denominator argument instead of a GValue
18014 add gst_structure_get_fraction helper function.
18016 2005-11-23 Wim Taymans <wim@fluendo.com>
18018 * docs/design/part-TODO.txt:
18021 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
18022 * gst/net/gstnetclientclock.h:
18023 Use parent fields for timeout and window_size.
18025 2005-11-23 Andy Wingo <wingo@pobox.com>
18027 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18028 rate_num/rate_denom change.
18030 * gst/net/gstnetclientclock.c
18031 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18032 OBJECT_LOCK. Don't call add_observation with the lock.
18034 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18036 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18038 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18039 deal with rate as a fraction whose numerator and denominator are
18040 GstClockTime values.
18041 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18042 master; the other fields are protected by the SLAVE_LOCK.
18043 (do_linear_regression): Note that this must be called with the
18045 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18046 OBJECT_LOCK. Call set_calibration instead of touching the
18047 variables directly.
18048 (gst_clock_set_property, gst_clock_get_property): Protect
18049 master/slave parameters with the SLAVE_LOCK.
18051 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18052 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18053 note that all of the instance variables that add_observation and
18054 the set_master functions use are protected by that lock and not
18056 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18058 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18059 the caller to take the object lock.
18061 2005-11-23 Wim Taymans <wim@fluendo.com>
18063 * gst/gsterror.c: (_gst_core_errors_init):
18065 Add error for clock stuff.
18067 * gst/gstpipeline.c: (gst_pipeline_change_state),
18068 (gst_pipeline_set_clock):
18069 Post clock error when clock cannot be used in a pipeline.
18071 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18073 * docs/gst/gstreamer-sections.txt:
18074 make two symbols from gstinfo private for the docs
18075 * gst/base/gstcollectpads.h:
18077 fix doc typos, update docs
18079 2005-11-22 Wim Taymans <wim@fluendo.com>
18081 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18082 (gst_base_sink_wait), (gst_base_sink_do_sync),
18083 (gst_base_sink_handle_event):
18084 * gst/base/gstbasesink.h:
18085 No need to store the clock, the parent element class already
18088 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18089 Updates for clock_set returning a gboolean
18091 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18092 (gst_clock_id_wait_async), (gst_clock_class_init),
18093 (gst_clock_init), (gst_clock_finalize),
18094 (gst_clock_get_internal_time), (gst_clock_get_time),
18095 (gst_clock_slave_callback), (gst_clock_set_master),
18096 (gst_clock_get_master), (do_linear_regression),
18097 (gst_clock_add_observation), (gst_clock_set_property),
18098 (gst_clock_get_property):
18100 Implement master/slave. When setting a clock as a slave, a
18101 periodic timeout is scheduled to sample master and slave times.
18102 Then the slave clock is recalibrated to match offset and rate
18103 of the master clock.
18104 Update logging a bit.
18105 Add flag so that a clock can state that is cannot be slaved to
18108 * gst/gstelement.c: (gst_element_set_clock):
18109 * gst/gstelement.h:
18110 The set clock returns a gboolean for when an element cannot
18111 deal with the selected clock in the pipeline.
18113 * gst/gstpipeline.c: (gst_pipeline_change_state),
18114 (gst_pipeline_set_clock):
18115 * gst/gstpipeline.h:
18116 Handle the case where the selected clock cannot be set on
18119 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18120 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18121 (gst_net_client_clock_set_property),
18122 (gst_net_client_clock_get_property),
18123 (gst_net_client_clock_observe_times):
18124 * gst/net/gstnetclientclock.h:
18125 Use regression code in GstClock parent, remove duplicated
18128 2005-11-22 Michael Smith <msmith@fluendo.com>
18130 * gst/gstutils.c: (gst_util_clock_time_scale):
18132 * docs/gst/gstreamer-sections.txt:
18133 Rename method to have extra underscore.
18135 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18137 * gst/elements/Makefile.am:
18138 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18139 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18140 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18141 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18142 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18143 * gst/elements/gstfakesrc.h:
18144 * gst/gstqueue.c: (queue_leaky_get_type):
18145 correctly fix GEnumValues so that nick is the short lowercase
18147 * tools/gst-inspect.c: (print_element_properties_info):
18148 also show the nick, since it's useful to use from parse_launch
18152 2005-11-22 Michael Smith <msmith@fluendo.com>
18154 * gst/gstutils.c: (gst_util_clocktime_scale):
18156 * docs/gst/gstreamer-sections.txt:
18157 Add util method for scaling a clocktime by a fraction. Useful
18158 implementation is left as an exercise for the reader.
18160 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18162 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18163 If needed, allocate storage in the destination value during
18166 2005-11-22 Edward Hervey <edward@fluendo.com>
18168 * docs/gst/gstreamer-sections.txt:
18171 * gst/gsturitype.c:
18172 * gst/gsturitype.h:
18173 * gst/gstutils.c: (gst_util_set_object_arg):
18174 * tools/gst-compprep.c: (main):
18175 * tools/gst-inspect.c: (print_element_properties_info):
18176 Removed GstURI, closes bug #321061
18178 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18180 * check/gst/gststructure.c: (GST_START_TEST):
18181 * gst/gststructure.c: (gst_structure_parse_value):
18182 Oops, broke automatic string type parsing.
18183 Add a test to catch it in future.
18185 2005-11-22 Andy Wingo <wingo@pobox.com>
18187 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18188 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18189 Actually rename the function implementations. Grr.
18191 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18193 * check/gst/capslist.h:
18195 * check/gst/gststructure.c: (GST_START_TEST),
18196 (gst_structure_suite):
18197 Test automatic value type detection in gst_structure_from_string.
18198 * gst/gststructure.c: (gst_structure_parse_value):
18199 Add fraction as a type we try and guess automatically in
18200 caps/structure strings.
18202 2005-11-22 Andy Wingo <wingo@pobox.com>
18204 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18206 * gst/gsttagsetter.h:
18207 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18208 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18209 (gst_tag_setter_add_tag_valist)
18210 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18211 _add_values, _add_valist, and _add_valist_values. Since this is an
18212 interface the function suffixes should be more explicit so
18213 language binding don't end up with element.add_valist ->
18214 gst_tag_setter_add_valist, for example. Fixes #322069.
18216 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18218 * check/gst/gstcaps.c: (GST_START_TEST):
18219 Extend caps string tests to check that a caps to string
18220 conversion is reversible and produces the same caps.
18222 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18223 Output "fraction" as the generic type fraction range, so caps
18224 serialisation and deserialisation works.
18225 * check/gst/capslist.h:
18226 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18227 Support 'MIN' and 'MAX' for deserialising fractions.
18229 2005-11-22 Andy Wingo <wingo@pobox.com>
18231 * gst/gstevent.h (gst_event_new_new_segment)
18232 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18233 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18234 Renamed from *_newsegment, *_buffersize, *_notarget.
18236 * scripts/update-funcnames: New script, performs the changes
18239 2005-11-22 Wim Taymans <wim@fluendo.com>
18241 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18242 Make sure the GstFlowReturn is returned.
18244 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18245 (gst_bus_add_signal_watch):
18247 add gst_bus_add_signal_watch_full.
18249 * gst/gstplugin.c: (gst_plugin_load_file):
18250 Small style cleanup.
18252 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18254 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18255 Block the fakesrc srcpad when we send an event, to avoid
18256 contention on the stream_lock causing random test failures.
18258 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18260 * check/gst/gstvalue.c: (GST_START_TEST):
18261 * gst/gstvalue.c: (gst_value_fraction_subtract):
18264 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18267 include "gstchildproxy.h"
18268 * gst/gstchildproxy.h:
18269 * libs/gst/controller/gstcontroller.h:
18270 use G_GNUC_NULL_TERMINATED
18272 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18274 * check/gst/capslist.h:
18275 * check/gst/gstcaps.c: (GST_START_TEST):
18276 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18277 * gst/gststructure.c: (gst_structure_parse_range),
18278 (gst_structure_fixate_field_nearest_fraction):
18279 * gst/gststructure.h:
18280 * gst/gstvalue.c: (gst_value_init_fraction_range),
18281 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18282 (gst_value_collect_fraction_range),
18283 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18284 (gst_value_set_fraction_range_full),
18285 (gst_value_get_fraction_range_min),
18286 (gst_value_get_fraction_range_max),
18287 (gst_value_serialize_fraction_range),
18288 (gst_value_transform_fraction_range_string),
18289 (gst_value_compare_fraction_range),
18290 (gst_value_deserialize_fraction_range),
18291 (gst_value_intersect_fraction_fraction_range),
18292 (gst_value_intersect_fraction_range_fraction_range),
18293 (gst_value_subtract_fraction_fraction_range),
18294 (gst_value_subtract_fraction_range_fraction),
18295 (gst_value_subtract_fraction_range_fraction_range),
18296 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18297 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18298 (gst_value_transform_string_fraction), (_gst_value_initialize):
18300 Implement fraction ranges and extend GstFraction to support
18301 arithmetic subtraction, as well as deserialization from integer
18302 strings such as "100"
18303 Add a testsuite as for int and double range set operations
18305 2005-11-21 Andy Wingo <wingo@pobox.com>
18307 * gst/gsttaglist.h:
18309 * gst/gststructure.h: Add glib-compat.h.
18311 2005-11-21 Wim Taymans <wim@fluendo.com>
18313 * gst/gstbin.c: (gst_bin_change_state_func):
18316 2005-11-21 Wim Taymans <wim@fluendo.com>
18318 * gst/gstsegment.h:
18319 And add a nice define too.
18321 2005-11-21 Wim Taymans <wim@fluendo.com>
18323 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18324 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18325 (gst_segment_set_duration), (gst_segment_set_last_stop),
18326 (gst_segment_set_seek), (gst_segment_set_newsegment),
18327 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18328 (gst_segment_clip):
18329 * gst/gstsegment.h:
18330 Make binding friendly.
18332 2005-11-21 Andy Wingo <wingo@pobox.com>
18334 * gst/gsttagsetter.h:
18335 * gst/gsttaglist.h:
18336 * gst/gststructure.h:
18338 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18341 * gst/gsterror.c (_gst_core_errors_init):
18342 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18345 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18346 (noinst_HEADERS): noinst the -private.
18348 2005-11-21 Michael Smith <msmith@fluendo.com>
18351 * gst/gstregistry.h:
18352 Remove unimplemented declarations for which we can see no sensible
18355 2005-11-21 Andy Wingo <wingo@pobox.com>
18357 * gst/gst.h: Include glib-compat.h.
18359 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18361 * gst/glib-compat.c: Include the public and the private header.
18363 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18367 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18369 * check/gst/gstevent.c (create_custom_events): Check that
18370 FLUSH_STOP is serialized.
18372 * check/elements/identity.c (event_func):
18373 * check/elements/fakesrc.c (event_func): No stream lock, the core
18376 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18377 stream lock taking, yay.
18379 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18380 ensure that core takes the stream lock.
18382 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18385 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18386 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18387 it already. For the flush start we do take it though so we get the
18388 right preroll state change messages.
18390 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18391 the stream lock here, the core does it for us.
18393 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18394 GST_STREAM_GET_LOCK.
18395 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18396 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18397 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18398 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18399 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18400 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18402 * gst/gstpad.c: Update for stream lock name change.
18404 * gst/base/gstbasesink.c: Update for preroll lock name change.
18406 2005-11-21 Wim Taymans <wim@fluendo.com>
18408 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18409 (gst_clock_get_master):
18411 * gst/gstsystemclock.c: (gst_system_clock_init):
18412 Convert Clock flags to object flags.
18413 Added methods to manage master/slave clocks.
18415 2005-11-21 Wim Taymans <wim@fluendo.com>
18417 * check/gst/gstsegment.c: (GST_START_TEST):
18418 * docs/design/part-TODO.txt:
18419 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18420 (gst_base_sink_event), (gst_base_sink_do_sync),
18421 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18422 (gst_base_sink_query), (gst_base_sink_change_state):
18423 * gst/base/gstbasesink.h:
18424 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18425 (gst_base_src_default_newsegment),
18426 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18427 (gst_base_src_get_range), (gst_base_src_loop),
18428 (gst_base_src_change_state):
18429 * gst/base/gstbasesrc.h:
18430 * gst/base/gstbasetransform.c:
18431 (gst_base_transform_prepare_output_buf),
18432 (gst_base_transform_event), (gst_base_transform_change_state):
18433 * gst/base/gstbasetransform.h:
18434 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18435 (gst_collect_pads_event):
18436 * gst/base/gstcollectpads.h:
18437 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18438 (gst_fake_src_create):
18439 * gst/elements/gstfakesrc.h:
18440 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18441 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18442 (gst_segment_set_last_stop), (gst_segment_set_seek),
18443 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18444 (gst_segment_to_running_time), (gst_segment_clip):
18445 * gst/gstsegment.h:
18446 More segment updates, replace code in plugins with segment
18449 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18451 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18452 Don't ignore sscanf results
18454 2005-11-21 Andy Wingo <wingo@pobox.com>
18456 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18459 * *.c: Ran scripts/update-macros. Oh yes.
18461 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18462 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18465 * scripts/update-macros: New script. Run it on your files to
18466 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18469 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18471 * docs/gst/Makefile.am:
18472 * docs/gst/gstreamer-docs.sgml:
18473 * docs/gst/gstreamer-sections.txt:
18474 * docs/gst/gstreamer.types:
18476 more docs fixes, add new api to the docs
18478 2005-11-21 Andy Wingo <wingo@pobox.com>
18480 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18481 state_broadcast call.
18483 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18485 2005-11-21 Julien MOUTTE <julien@moutte.net>
18487 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18488 function calls for arrays.
18490 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18492 * docs/random/ensonic/media-device-daemon.txt:
18493 wild idea, can this be done?
18494 * docs/gst/gstreamer-sections.txt:
18499 * gst/gstpluginfeature.c:
18503 doc fixes and additions
18505 2005-11-21 Andy Wingo <wingo@pobox.com>
18507 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18508 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18509 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18510 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18511 private to the basesrc implementation.
18513 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18514 behalf of event function if necessary. It should no longer be
18515 necessary to take the stream lock in pad's event functions. Fixes
18518 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18519 * docs/gst/gstreamer-sections.txt:
18520 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18521 (gst_structure_fixate_field_nearest_double),
18522 (gst_structure_fixate_field_boolean):
18523 * gst/gststructure.h:
18524 * win32/common/libgstreamer.def:
18525 * win32/gstreamer.def:
18527 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18530 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18532 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18533 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18534 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18535 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18536 (gst_fdsrc_uri_handler_init):
18537 * gst/elements/gstfdsrc.h:
18538 Port fd:// URI handler from 0.8 to fdsrc
18540 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18542 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18543 (gst_value_serialize_fourcc):
18545 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18546 consistent with our other format defines (#320324).
18548 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18550 * gst/gstvalue.c: (gst_value_is_fixed):
18551 Revert previous commit. Value lists are by definition
18552 not fixed, as they are a list of possible values.
18554 2005-11-21 Andy Wingo <wingo@pobox.com>
18556 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18557 during the stable series if we need it. Fixes #319178.
18559 * gst/gstevent.c (gst_event_new_filler): Removed.
18561 * check/gst/gstevent.c: Update comment about filler events.
18563 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18565 * gst/gstvalue.c: (gst_value_is_fixed):
18566 Should handle both value arrays and value lists.
18568 2005-11-21 Andy Wingo <wingo@pobox.com>
18570 patch by: Alessandro Dessina <alessandro nnva org>
18572 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18573 functions to access arrays. Fixes #321962.
18575 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18577 * docs/gst/gstreamer.types:
18578 gst_collectpads_get_type => gst_collect_pads_get_type.
18580 * gst/base/gstbasetransform.c:
18581 Remove unused SIGNAL_HANDOFF enum.
18583 2005-11-21 Andy Wingo <wingo@pobox.com>
18585 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18586 the event type (upstream, downstream, serialized). Renamed
18587 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18588 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18589 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18591 * gst/gstevent.c: Update for new CUSTOM event names.
18593 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18596 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18599 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18601 * docs/gst/gstreamer-sections.txt:
18602 * win32/common/libgstbase.def:
18603 * win32/libgstbase.def:
18604 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18605 (gst_collect_pads_class_init), (gst_collect_pads_init),
18606 (gst_collect_pads_finalize), (gst_collect_pads_new),
18607 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18608 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18609 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18610 (gst_collect_pads_start), (gst_collect_pads_stop),
18611 (gst_collect_pads_peek), (gst_collect_pads_pop),
18612 (gst_collect_pads_available), (gst_collect_pads_read),
18613 (gst_collect_pads_flush), (gst_collect_pads_event),
18614 (gst_collect_pads_chain):
18615 * gst/base/gstcollectpads.h:
18616 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18617 unimplemented functions as unimplemented. Add padding to
18618 GstCollectData. (#320766, #320423)
18620 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18622 * gst/gstmessage.c:
18623 Improve docs for DURATION message (usage of duration parameter)
18626 2005-11-20 Wim Taymans <wim@fluendo.com>
18628 * check/Makefile.am:
18629 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18633 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18634 (gst_segment_set_seek), (gst_segment_set_newsegment),
18635 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18636 (gst_segment_clip):
18637 * gst/gstsegment.h:
18638 Added segment helper structure and methods. Not fully implemented
18640 Added segment check.
18642 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18644 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18645 Add a deserialisation test for fractions
18646 * examples/metadata/read-metadata.c: (message_loop),
18647 (make_pipeline), (main):
18648 Fix up metadata reading sample.
18649 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18651 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18652 Don't try and fixate empty caps
18653 * gst/gst_private.h:
18654 Wrap in G_BEGIN_DECLS/G_END_DECLS
18655 * gst/gstvalue.c: (gst_value_collect_fraction),
18656 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18657 (gst_value_transform_string_fraction),
18658 (gst_value_compare_fraction):
18659 Add some extra guards to ensure that we don't end up
18660 with an invalid denominator of 0 in a gstfraction and
18661 that fractions always get reduced.
18663 2005-11-20 Wim Taymans <wim@fluendo.com>
18665 * docs/gst/gstreamer-sections.txt:
18667 * gst/gstelement.c:
18676 2005-11-20 Wim Taymans <wim@fluendo.com>
18678 * docs/design/part-TODO.txt:
18680 Make a proper enum of the flag.
18682 2005-11-19 Wim Taymans <wim@fluendo.com>
18684 * docs/design/part-TODO.txt:
18685 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18686 (gst_format_to_quark), (gst_format_register):
18688 * gst/gstquery.c: (_gst_query_initialize),
18689 (gst_query_type_get_name), (gst_query_type_to_quark),
18690 (gst_query_type_register):
18692 Add type to quark and type to string conversions.
18694 2005-11-19 Andy Wingo <wingo@pobox.com>
18696 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18699 2005-11-19 Wim Taymans <wim@fluendo.com>
18701 * docs/design/part-TODO.txt:
18702 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18703 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18704 (gst_bin_handle_message_func):
18706 Make message handling overridable.
18708 2005-11-19 Andy Wingo <wingo@pobox.com>
18710 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18713 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18715 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18716 is a GstClockTime. Fixes #321710.
18718 * gst/gstclock.h (GstClock): Remove offset property. Add
18719 internal_calibration and external_calibration. Fix padding. Pad
18720 also by GstClockTime so we don't run into problems.
18722 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18723 (gst_clock_get_rate_offset): Remove.
18724 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18727 * gst/gstutils.c (g_static_rec_cond_wait)
18728 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18730 * gst/gstbin.c: Remove terrible continue_state prototype.
18732 * gst/gstelement.h (gst_element_continue_state): Make public.
18734 * gst/gstelement.h:
18735 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18736 by continue_state. Fixes #319389.
18738 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18739 Really fixes #168438. However I don't see anywhere where the
18740 filter function is called... stupid GStreamer...
18742 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18743 don't have a dispose function, so it won't get called when the
18744 object is unreffed, but oh well!
18746 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18747 allows a destroy function to be set so user_data can be freed.
18749 (gst_index_set_filter): Call gst_index_set_filter_full.
18751 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18753 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18754 string should produce an error, given the lack of a way to
18755 represent NULL strings. Fixes #165650.
18758 * gst/gstvalue.c (gst_value_array_append_value)
18759 (gst_value_array_prepend_value, gst_value_array_get_size)
18760 (gst_value_array_get_value): New API, copied from
18761 gst_value_list_*, only operates on arrays.
18762 (gst_value_list_append_value, gst_value_list_prepend_value)
18763 (gst_value_list_concat, gst_value_list_get_size)
18764 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18766 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18767 init_list, because it works on both.
18768 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18769 (gst_value_copy_list_or_array): Renamed from copy_list.
18770 (gst_value_free_list_or_array): Renamed from free_list.
18771 (gst_value_collect_list_or_array): Renamed from collect_list.
18772 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18773 (gst_value_list_or_array_peek_pointer): Renamed from
18775 (_gst_value_array_value_table, _gst_value_list_value_table):
18776 Update value table functions.
18777 (gst_value_compare_list_or_array): Renamed from compare_list.
18779 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18782 * gst/gsttaglist.c:
18783 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18784 GstTagList*. Fixes #143472.
18786 * gst/gststructure.h: Clarify what the foreach/map functions can
18787 or can't do to their arguments.
18789 2005-11-18 Wim Taymans <wim@fluendo.com>
18791 * gst/gstclock.c: (gst_clock_set_calibration),
18792 (gst_clock_get_calibration):
18794 Calibration can be set with internal time equal to current
18797 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18803 2005-11-18 Andy Wingo <wingo@pobox.com>
18806 * pkgconfig/gstreamer-net.pc.in:
18807 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18808 * pkgconfig/Makefile.am: Add net pkgconfig files.
18810 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18813 * gst/gstghostpad.c:
18819 2005-11-18 Andy Wingo <wingo@pobox.com>
18821 * gst/net/gstnetclientclock.c: Turn off debugging.
18823 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18824 times connverge somewhat. Can't make a real test.
18826 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18827 integer arithmetic. Return the minimum of the domain, which can be
18828 set as "internal" for gst_clock_set_calibration.
18829 (gst_net_client_clock_observe_times): Call _set_calibration.
18830 (gst_net_client_clock_new): Call _set_calibration instead of
18833 * check/net/gstnetclientclock.c (test_functioning): Use the right
18837 * gst/gstclock.c (gst_clock_get_calibration)
18838 (gst_clock_set_calibration): New functions, obsolete the ones I
18839 added yesterday. Doh. Precision issues mean we have to extrapolate
18840 from a point in the more recent past than 1970.
18841 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18843 (gst_clock_adjust_unlocked): Use the right calibration data.
18845 2005-11-18 Edward Hervey <edward@fluendo.com>
18847 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18848 Also reset the ->current_* values in READY->PAUSED
18850 2005-11-18 Andy Wingo <wingo@pobox.com>
18852 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18853 Whoops, check the right fd. Also add some debugging.
18854 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18855 (do_linear_regression): Add a crapload of debugging. Subtract off
18856 the minimum values from the input series to discard unneeded bits.
18857 Use only int arithmetic. There is still double arithmetic when
18858 calculating the intercept that needs fixing. Return boolean to
18859 indicate success; FALSE would mean the domain or range is too
18860 great. Still needs fixes.
18862 2005-11-18 Wim Taymans <wim@fluendo.com>
18864 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18865 For the current position in stream time, we need to subtract
18868 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18869 Release lock before calling the callback function of async
18872 2005-11-18 Andy Wingo <wingo@pobox.com>
18874 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18875 Port goes all the way to MAXUINT16.
18877 * gst/net/gstnettimeprovider.c: Make the port range the same as
18878 for the kernel: 0 assigns, otherwise ports are less than
18881 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18884 * check/net/gstnetclientclock.c (test_functioning): Add the start
18887 2005-11-18 Wim Taymans <wim@fluendo.com>
18889 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18890 (gst_bin_remove_func), (bin_bus_handler):
18892 Removing a clock provider from a bin, triggers a clock lost message
18893 so that a new clock will be selected.
18894 Adding a clock to a bin triggers a clock provider message.
18895 Make sure we reselect a clock when we received a clock lost message.
18896 Keep a reference to the element that provided the clock.
18898 2005-11-18 Andy Wingo <wingo@pobox.com>
18900 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18901 the clock initially so it produces values around the base time.
18902 (gst_net_client_clock_class_init): Typo fix.
18903 (gst_net_client_clock_thread): Add note on when the socket gets
18906 2005-11-17 Wim Taymans <wim@fluendo.com>
18908 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18909 Free remote and local time arrays.
18911 2005-11-17 Wim Taymans <wim@fluendo.com>
18913 * gst/net/gstnetclientclock.c: (do_linear_regression),
18914 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18915 Fix compilation, uninitialized vars and a forgotten continue.
18917 2005-11-17 Andy Wingo <wingo@pobox.com>
18919 * check/Makefile.am (check_PROGRAMS):
18920 * check/net/gstnetclientclock.c: Add a most minimal test for the
18921 net client clock. More to come later.
18923 * gst/net/gstnet.h:
18924 * gst/net/Makefile.am: Add netclientclock.
18926 * gst/net/gstnetclientclock.h:
18927 * gst/net/gstnetclientclock.c: New files, implement an untested
18928 GstClock that takes its time from a network time provider.
18929 Implements the algorithm in network-clock.scm.
18931 * tests/network-clock.scm (*window-size*): Rename from
18933 * tests/network-clock.scm (network-time):
18934 * tests/network-clock-utils.scm (q-push): Update callers.
18936 2005-11-17 Wim Taymans <wim@fluendo.com>
18938 * gst/gstbin.c: (gst_bin_provide_clock_func),
18939 (gst_bin_sort_iterator_new):
18940 And unref the child too..
18942 2005-11-17 Wim Taymans <wim@fluendo.com>
18944 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18945 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18946 Refactor the sort iterator so it can be used while holding the
18948 Make clock selection select a clock closest to the source.
18950 2005-11-17 Michael Smith <msmith@fluendo.com>
18952 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18953 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18955 Anonymous structs are a gcc (and some other compilers) extension, so
18956 don't use them. Since this is only for ABI-compatibility, and our
18957 API/ABI freeze is over in a few days, this whole thing will only
18958 last a few days, so don't bother trying to think up a meaningful
18959 name for the struct.
18961 2005-11-17 Andy Wingo <wingo@pobox.com>
18963 * gst/gstclock.h (GstClock): Add rate and offset properties,
18964 preserving ABI stability. Add rate/offset accessors. Will file bug
18965 for the freeze break.
18967 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18968 and offset, trying to keep precision and avoiding
18969 underflow/overflow.
18970 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18971 functions. Make gst_clock_set_time_adjust obsolete.
18972 (gst_clock_set_time_adjust): Note that this function is obsolete.
18973 Will file bug soon.
18975 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18976 greppable by using GST_PADDING-1+1.
18978 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18980 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18982 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18983 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18985 * gst/gstpadtemplate.h:
18986 * gst/gstpluginfeature.h:
18987 Don't use c++ style comments in headers (#321638).
18989 2005-11-16 Andy Wingo <wingo@pobox.com>
18991 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18994 * check/net/gstnettimeprovider.c: Check to see that the time
18995 provider actually provides times. Works, yo!
18997 2005-11-16 Wim Taymans <wim@fluendo.com>
18999 * check/Makefile.am:
19002 * check/elements/fakesrc.c: (GST_START_TEST):
19003 Set element to NULL before disposing it.
19005 2005-11-16 Andy Wingo <wingo@pobox.com>
19007 * gst/net/Makefile.am:
19008 * gst/net/gstnet.h:
19009 * gst/net/gstnettimeprovider.c:
19010 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
19011 provider, include it from gstnet.h, and add it to the build.
19013 * gst/net/gstnettimepacket.h:
19014 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
19015 sending and receiving.
19017 2005-11-16 Wim Taymans <wim@fluendo.com>
19019 * check/Makefile.am:
19020 Enable valgrind check.
19022 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
19023 (gst_fake_src_alloc_buffer):
19026 2005-11-16 Wim Taymans <wim@fluendo.com>
19028 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19029 Call parent finalize too.
19031 2005-11-16 Wim Taymans <wim@fluendo.com>
19033 * check/Makefile.am:
19034 Enable valgrind check that should work fine now.
19036 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19037 * gst/gstqueue.c: (gst_queue_init):
19038 Fix memleaks in pad allocation.
19040 2005-11-16 Andy Wingo <wingo@pobox.com>
19042 * gst/net/Makefile.am:
19043 * gst/net/gstnet.h: New part of core to hold network elements and
19044 objects. Put in core because it exposes API that applications want
19045 to use. The library is named libgstnet-tempname right now because
19046 of the existing libgstnet in gst-plugins-base. Solution is
19047 probably to rename the one in plugins-base; will file a bug for
19050 * gst/net/gstnettimeprovider.c:
19051 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19052 get_time call over the network.
19055 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19057 * check/Makefile.am:
19058 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19059 get additions shortly.
19061 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19063 * gst/gstpad.c: (gst_pad_new_from_static_template):
19065 add gst_pad_new_from_static_template functions
19066 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19067 (gst_check_setup_sink_pad):
19068 * gst/elements/gsttee.c: (gst_tee_init):
19071 2005-11-16 Wim Taymans <wim@fluendo.com>
19073 * gst/gstpad.c: (gst_pad_pause_task):
19074 Removed warning, it's not really an error either.
19076 2005-11-16 Wim Taymans <wim@fluendo.com>
19078 * gst/base/gstbasetransform.c:
19079 (gst_base_transform_prepare_output_buf),
19080 (gst_base_transform_event):
19081 Check if the caps are NULL, this can happen if the element
19082 is shutting down and the pad caps are set to NULL.
19084 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19086 * gst/elements/gsttee.c: (gst_tee_init):
19087 fix pad template leak in tee
19089 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19091 * gst/glib-compat.c: (g_value_dup_gst_object):
19092 * gst/glib-compat.h:
19093 * gst/gstpad.c: (gst_pad_set_property):
19094 use gst_object_ref when setting the pad template; this will
19095 trigger the pad template leaks on GLib 2.6 and the slaves
19097 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19099 * gst/glib-compat.c: (gst_flags_get_first_value):
19100 * gst/glib-compat.h:
19101 * gst/gstregistryxml.c:
19102 remove functions copied from GLib 2.6
19104 2005-11-16 Michael Smith <msmith@fluendo.com>
19107 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19108 do, but only breaks with newer valgrind versions. We're not a
19109 valgrind tool, we have no link-time dependencies on libcoregrind.
19111 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19113 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19115 * gst/gstmessage.h:
19118 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19120 * gst/base/gstbasesrc.c: (gst_base_src_init):
19121 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19122 * gst/gstqueue.c: (gst_queue_init):
19123 * gst/gstregistryxml.c: (load_feature):
19124 Revert all these unrefs, they don't even pass make check !
19126 2005-11-15 Johan Dahlin <johan@gnome.org>
19128 * gst/base/gstbasesrc.c: (gst_base_src_init):
19129 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19130 * gst/gstqueue.c: (gst_queue_init):
19131 Free pad templates, fixes a couple of leaks.
19133 2005-11-15 Daniel Fischer <dan at f3c dot com>
19135 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19137 * gst/gstpad.c: (gst_pad_get_property):
19138 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19139 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19142 2005-11-15 Wim Taymans <wim@fluendo.com>
19147 2005-11-15 Andy Wingo <wingo@pobox.com>
19149 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19151 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19152 using GST_CLOCK_TIME_NONE to disable base time management.
19153 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19154 time if it was NONE before.
19155 (gst_pipeline_change_state): Only munge the base time if
19156 stream_time != GST_CLOCK_TIME_NONE.
19158 * check/gst/gstpipeline.c (test_base_time): Punt around the
19159 problem of the probe not being called, because that's not the
19160 issue I'm looking at. Add a check that setting stream_time to NONE
19161 disables base time management.
19163 2005-11-15 Wim Taymans <wim@fluendo.com>
19165 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19166 segment_stop == -1 at startup.
19168 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19169 (gst_base_transform_change_state):
19170 Init segment values at start.
19172 2005-11-15 Wim Taymans <wim@fluendo.com>
19174 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19175 0 segment values are 0 in any format.
19177 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19178 * gst/base/gstbasetransform.h:
19179 Parse newsegment correctly in basetransform
19181 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19182 Sync to clock using updated segment values.
19184 2005-11-15 Andy Wingo <wingo@pobox.com>
19186 * check/gst/gstpipeline.c (test_base_time): Add check that the
19187 base time and stream time are reset correctly.
19189 2005-11-15 Wim Taymans <wim@fluendo.com>
19191 * docs/design/part-TODO.txt:
19192 Some more TODO items.
19194 2005-11-15 Andy Wingo <wingo@pobox.com>
19196 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19197 error if the user selected "no clock" as the clocking method.
19199 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19200 timestamps with live capture.
19202 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19203 is 0 but we are a live source, timestamp the buffers using the
19206 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19208 * docs/gst/gstreamer-sections.txt:
19210 * gst/gstghostpad.c:
19215 2005-11-14 Wim Taymans <wim@fluendo.com>
19218 add suppressions from Wim's Debian machine
19220 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19223 add suppressions from Andy's AMD64 Ubuntu machine
19225 2005-11-14 Andy Wingo <wingo@pobox.com>
19227 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19228 STATE_LOCK not necessary. Fixes #311489.
19230 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19233 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19234 this function is not implemented.
19236 2005-11-14 Julien MOUTTE <julien@moutte.net>
19238 * gst/base/gstbasetransform.c:
19239 (gst_base_transform_prepare_output_buf):
19240 Ref the source pad caps while we need them.
19243 2005-11-11 Wim Taymans <wim@fluendo.com>
19245 * docs/gst/gstreamer-sections.txt:
19246 Added some docs for GstCollectData.
19248 * gst/base/gstadapter.c:
19249 Some small code example fix.
19251 * gst/base/gstcollectpads.c:
19252 * gst/base/gstcollectpads.h:
19253 Document some more.
19255 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19257 * configure.ac: back to HEAD
19259 === release 0.9.5 ===
19261 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19264 releasing 0.9.5, "Bike Lunch Day"
19266 2005-11-11 Wim Taymans <wim@fluendo.com>
19268 * gst/gstbuffer.c: (_gst_buffer_copy):
19271 * gst/gstcaps.c: (gst_caps_is_equal):
19273 Make _is_equal fast in the trivial cases.
19275 * gst/gstminiobject.c:
19276 * gst/gstminiobject.h:
19277 More docs. Spifify .h file.
19282 2005-11-11 Wim Taymans <wim@fluendo.com>
19284 * gst/base/gstbasetransform.c:
19285 (gst_base_transform_prepare_output_buf),
19286 (gst_base_transform_handle_buffer):
19288 If we're processing a buffer and need to allocate an output
19289 buffer, we cannot accept a format change. If we did get a
19290 format change, we have to alloc a buffer ourselves of the
19293 2005-11-11 Wim Taymans <wim@fluendo.com>
19295 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19296 While checking the flag for reentrancy in the gstcaps function
19297 is nice to detect recursive invocations, it also makes it
19298 impossible to call getcaps from multiple threads, which must be
19299 possible. So, checking for recursive calls has to go.
19301 2005-11-11 Michael Smith <msmith@fluendo.com>
19303 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19304 Don't sync on buffers that fall partially outside our current
19305 segment. Prevents an assertion failure/abort playing some files.
19307 2005-11-10 Andy Wingo <wingo@pobox.com>
19309 * check/gst/gstbin.c (test_message_state_changed_children): Style
19312 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19313 gst_bus_poll with the signal watch. Ensures that poll and a signal
19314 watch see the same messages.
19316 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19317 a poll and a watch at the same time get the same messages.
19319 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19321 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19322 * gst/gstcaps.c: (gst_caps_intersect):
19323 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19324 and it's not needed.
19326 2005-11-10 Wim Taymans <wim@fluendo.com>
19328 * docs/design/part-TODO.txt:
19331 2005-11-10 Wim Taymans <wim@fluendo.com>
19333 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19334 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19335 (gst_base_src_do_sync), (gst_base_src_get_range):
19336 Implement clock sync in base class.
19338 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19340 patch by: Tim-Philipp Müller <tim at centricular dot net>
19342 * gst/gststructure.c: (gst_structure_parse_field),
19343 (gst_structure_from_string):
19344 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19345 so that gst_parse_launch() can deal with spaces in filtered link
19346 caps (fixes #164479)
19347 * check/gst/capslist.h:
19348 * check/gst/gststructure.c: (GST_START_TEST):
19349 add unit tests for this change
19351 2005-11-10 Wim Taymans <wim@fluendo.com>
19353 * docs/gst/gstreamer-sections.txt:
19354 * gst/gstelement.c:
19355 * gst/gstelement.h:
19356 Fix docs, move some STATE macros to private.
19358 2005-11-10 Wim Taymans <wim@fluendo.com>
19360 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19361 Added check for bug #317341
19365 Some more spiffifying.
19367 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19368 Call peer linkfunction if we are a source pad. Totally fixes
19372 Update docs, source pads should call the peer linkfunction
19373 so they can atomically perform the pad link.
19375 2005-11-09 Wim Taymans <wim@fluendo.com>
19379 Uber-spiffy-spiffify some more.
19381 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19383 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19384 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19385 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19386 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19387 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19388 * gst/gstpad.c: (gst_pad_init):
19389 Use GST_DEBUG_FUNCPTR() more extensively.
19391 2005-11-09 Wim Taymans <wim@fluendo.com>
19393 * gst/gstobject.c: (gst_object_class_init):
19395 Documentation fixes.
19397 2005-11-09 Edward Hervey <edward@fluendo.com>
19399 * gst/gsttypefindfactory.c:
19402 2005-11-09 Edward Hervey <edward@fluendo.com>
19404 * gst/base/gsttypefindhelper.c:
19405 * gst/gsttypefind.c:
19406 * gst/gsttypefind.h:
19409 2005-11-09 Wim Taymans <wim@fluendo.com>
19411 * gst/gstiterator.c:
19418 2005-11-09 Wim Taymans <wim@fluendo.com>
19424 2005-11-09 Wim Taymans <wim@fluendo.com>
19426 * docs/gst/gstreamer-sections.txt:
19427 Moved the message async delivery private lock and cond
19428 to the private section.
19430 * gst/gstmessage.c:
19431 * gst/gstmessage.h:
19434 2005-11-09 Edward Hervey <edward@fluendo.com>
19436 * docs/gst/gstreamer-sections.txt:
19439 Document GstURIHandler
19441 2005-11-09 Wim Taymans <wim@fluendo.com>
19443 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19444 (gst_iterator_find_custom):
19445 * gst/gstiterator.h:
19448 2005-11-09 Wim Taymans <wim@fluendo.com>
19451 Document another field.
19453 * gst/gststructure.c:
19454 * gst/gststructure.h:
19457 2005-11-09 Wim Taymans <wim@fluendo.com>
19460 Documented structs.
19462 2005-11-09 Wim Taymans <wim@fluendo.com>
19464 * docs/gst/gstreamer-sections.txt:
19465 Added some new macros.
19472 2005-11-09 Wim Taymans <wim@fluendo.com>
19474 * docs/design/part-TODO.txt:
19475 Some more items for the TODO
19481 2005-11-09 Andy Wingo <wingo@pobox.com>
19483 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19484 to work on something else now tho...
19486 * gst/base/gstadapter.c: More adapter docs.
19488 * gst/elements/gstfilesink.c (gst_file_sink_start)
19489 (gst_file_sink_stop): New functions, replace the state change
19491 (gst_file_sink_class_init): Hook up the start and stop functions.
19492 (gst_file_sink_base_init): Don't set the state change handler any
19493 more. It was a bit ugly too, being set from here...
19494 (gst_file_sink_get_property, gst_file_sink_set_property):
19496 (gst_file_sink_set_location): More robust check that doesn't call
19497 GST_STATE. Ugggggg.
19499 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19501 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19502 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19504 2005-11-08 Wim Taymans <wim@fluendo.com>
19506 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19507 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19508 (gst_base_sink_chain), (gst_base_sink_change_state):
19509 * gst/base/gstbasesink.h:
19510 * gst/base/gstbasesrc.h:
19511 * gst/gstelement.h:
19513 Avoid excessive typechecking in macros.
19515 * gst/gstminiobject.c: (gst_mini_object_get_type),
19516 (gst_mini_object_init), (gst_mini_object_new),
19517 (gst_mini_object_free):
19518 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19519 (gst_object_finalize):
19520 Remove cruft code, optimize alloc_trace.
19522 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19524 * docs/faq/gst-uninstalled:
19525 fix up PS1 for systems that try to reset it
19527 2005-11-07 Wim Taymans <wim@fluendo.com>
19529 * gst/base/gstbasesrc.c: (gst_base_src_init),
19530 (gst_base_src_get_range):
19531 Set the segment_end to -1 initially. Fixed typefind.
19533 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19535 * gst/base/gstadapter.c:
19536 Debug category should be 'adapter', not 'GstAdapter'.
19538 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19539 (gst_collectpads_class_init), (gst_collectpads_init),
19540 (gst_collectpads_peek), (gst_collectpads_pop),
19541 (gst_collectpads_event), (gst_collectpads_chain):
19542 Add debug category and some debugging output. Use boilerplate
19543 macros. Remove some extraneous words from docs.
19545 2005-11-05 Andy Wingo <wingo@pobox.com>
19547 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19550 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19552 * docs/gst/gstreamer-sections.txt:
19555 * gst/gstminiobject.h:
19560 2005-11-04 Wim Taymans <wim@fluendo.com>
19562 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19563 Small update to stop at the configured segment_end
19566 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19568 * gst/gstregistry.c:
19569 * gst/gstregistry.h:
19572 2005-11-04 Edward Hervey <edward@fluendo.com>
19574 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19575 Check if we are doing a segment seek and have arrived at the
19576 end of that segment.
19578 2005-11-04 Wim Taymans <wim@fluendo.com>
19580 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19581 Don't leak a mutex unlock in case of an error.
19586 2005-11-04 Wim Taymans <wim@fluendo.com>
19588 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19590 Get the context to wake up only once.
19592 2005-11-03 Wim Taymans <wim@fluendo.com>
19594 * check/states/sinks.c: (GST_START_TEST):
19595 Uncomment fixed check.
19597 * docs/design/part-TODO.txt:
19600 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19601 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19602 (gst_base_sink_get_position):
19603 If we are going to PLAYING, post the right pending state
19604 when we post the intermediate paused message.
19606 * gst/gstelement.c: (gst_element_continue_state),
19607 (gst_element_set_state_func), (gst_element_change_state):
19608 Don't post state changes that were between the same state
19609 and were not ASYNC.
19611 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19613 * docs/gst/gstreamer-sections.txt:
19616 * gst/gstminiobject.h:
19619 more docs and doc style fixes
19621 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19623 * docs/gst/gstreamer-sections.txt:
19624 * gst/gstelement.c:
19625 * gst/gstminiobject.c:
19628 2005-11-03 Andy Wingo <wingo@pobox.com>
19630 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19631 state-changed messages actually have the right order and the right
19634 2005-11-03 Wim Taymans <wim@fluendo.com>
19636 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19637 Added some more checks. Specifically the case where NO_PREROLL
19638 elements are in the pipeline.
19640 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19641 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19642 (gst_base_sink_get_position):
19643 Post READY->PAUSED state change messages too.
19644 Fix bug where VOID was posted as pending state...
19646 * gst/gstbin.c: (gst_bin_recalc_state):
19647 use _element_continue_state() to continue the state change.
19649 * gst/gstelement.c: (gst_element_continue_state),
19650 (gst_element_commit_state), (gst_element_set_state_func),
19651 (gst_element_change_state), (gst_element_change_state_func):
19652 Lots of state change cleanups, assign the STATE_RETURN in
19653 a new continue_state() function that also propagates the
19654 last return value from a state change to the app.
19655 Update some debug statements with proper category.
19657 2005-11-03 Wim Taymans <wim@fluendo.com>
19659 * docs/design/part-events.txt:
19660 * docs/design/part-gstpipeline.txt:
19661 * docs/design/part-messages.txt:
19662 * docs/design/part-overview.txt:
19663 * docs/design/part-seeking.txt:
19664 * docs/design/part-states.txt:
19665 * docs/design/part-trickmodes.txt:
19666 * docs/manual/advanced-position.xml:
19667 Small docs updates.
19670 People think !! is ugly, this looks better.
19672 * gst/gstpad.c: (gst_pad_set_blocked_async):
19673 Remove !! since it's fixed elsewhere now.
19675 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19677 * gst/gstminiobject.h:
19679 Add !! to _FLAG_IS_SET macros to make the result boolean.
19681 2005-11-03 Edward Hervey <edward@fluendo.com>
19683 * gst/gstpad.c: (gst_pad_set_blocked_async):
19684 comparing a flag and a gboolean rarely returns coherent results...
19685 Added two characters (!!) to make that work correctly.
19687 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19689 * gst/gstbus.c: (gst_bus_class_init):
19692 * gst/gstqueue.c: (gst_queue_loop):
19693 Don't assume a miniobject that isn't a buffer is an
19694 event (it could be that there is a refcounting
19695 problem somewhere and the pointer is stale and
19696 refers to an already destroyed miniobject).
19698 2005-11-03 Julien MOUTTE <julien@moutte.net>
19700 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19702 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19704 * docs/manual/advanced-position.xml:
19705 Update seek example and explanations to current 0.9 API.
19707 * gst/elements/gsttypefindelement.c:
19708 (gst_type_find_element_activate):
19709 Remove FIXME comment now that the found caps
19712 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19714 * gst/gstregistryxml.c: (load_feature):
19715 Add another GST_STR_NULL instance
19717 2005-11-02 Edward Hervey <edward@fluendo.com>
19719 * gst/gstpad.c: (handle_pad_block):
19720 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19722 2005-11-02 Wim Taymans <wim@fluendo.com>
19727 * gst/gstelement.c: (gst_element_commit_state):
19728 Remove unused value.
19730 * gst/gstiterator.c:
19731 Mention that the returned element is reffed in the docs.
19733 2005-11-02 Wim Taymans <wim@fluendo.com>
19735 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19736 (gst_pad_push), (gst_pad_push_event):
19737 Unlock blocked pads when they are flushed.
19739 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19742 * docs/gst/gstreamer-sections.txt:
19745 * gst/gstregistry.c: (gst_registry_scan_path_level):
19746 fix for a nasty little missed situation where an installed plug-in
19747 which was in the cache did not get overridden by an uninstalled one
19748 which was earlier in the plugin path because the newly created plugin
19749 for the uninstalled one (not in the registry) didn't get its
19750 ->registered set to TRUE
19752 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19754 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19755 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19756 (gst_collectpads_is_active), (gst_collectpads_collect),
19757 (gst_collectpads_collect_range), (gst_collectpads_start),
19758 (gst_collectpads_stop), (gst_collectpads_peek),
19759 (gst_collectpads_pop), (gst_collectpads_available),
19760 (gst_collectpads_read), (gst_collectpads_flush):
19761 Guard public API with assertions.
19764 Fix docs for gst_pad_set_link_function().
19766 2005-11-02 Johan Dahlin <johan@gnome.org>
19768 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19769 Unref found_caps after we used it.
19771 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19773 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19774 Don't try to ref NULL.
19776 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19778 * win32/common/config.h.in:
19779 provide a GST_FUNCTION that just gives a string for now
19781 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19783 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19784 (gst_object_flags_get_type), (register_gst_bin_flags),
19785 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19786 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19787 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19788 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19789 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19790 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19791 (gst_clock_flags_get_type), (register_gst_state),
19792 (gst_state_get_type), (register_gst_state_change_return),
19793 (gst_state_change_return_get_type), (register_gst_state_change),
19794 (gst_state_change_get_type), (register_gst_element_flags),
19795 (gst_element_flags_get_type), (register_gst_core_error),
19796 (gst_core_error_get_type), (register_gst_library_error),
19797 (gst_library_error_get_type), (register_gst_resource_error),
19798 (gst_resource_error_get_type), (register_gst_stream_error),
19799 (gst_stream_error_get_type), (register_gst_event_type),
19800 (gst_event_type_get_type), (register_gst_seek_type),
19801 (gst_seek_type_get_type), (register_gst_seek_flags),
19802 (gst_seek_flags_get_type), (register_gst_format),
19803 (gst_format_get_type), (register_gst_index_certainty),
19804 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19805 (gst_index_entry_type_get_type),
19806 (register_gst_index_lookup_method),
19807 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19808 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19809 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19810 (gst_index_flags_get_type), (register_gst_debug_level),
19811 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19812 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19813 (gst_iterator_result_get_type), (register_gst_iterator_item),
19814 (gst_iterator_item_get_type), (register_gst_message_type),
19815 (gst_message_type_get_type), (register_gst_mini_object_flags),
19816 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19817 (gst_pad_link_return_get_type), (register_gst_flow_return),
19818 (gst_flow_return_get_type), (register_gst_activate_mode),
19819 (gst_activate_mode_get_type), (register_gst_pad_direction),
19820 (gst_pad_direction_get_type), (register_gst_pad_flags),
19821 (gst_pad_flags_get_type), (register_gst_pad_presence),
19822 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19823 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19824 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19825 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19826 (gst_plugin_flags_get_type), (register_gst_rank),
19827 (gst_rank_get_type), (register_gst_query_type),
19828 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19829 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19830 (gst_tag_flag_get_type), (register_gst_task_state),
19831 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19832 (gst_alloc_trace_flags_get_type),
19833 (register_gst_type_find_probability),
19834 (gst_type_find_probability_get_type), (register_gst_uri_type),
19835 (gst_uri_type_get_type), (register_gst_parse_error),
19836 (gst_parse_error_get_type):
19837 * win32/common/gstversion.h:
19838 update win32 copies
19840 2005-11-01 Luca Ognibene <luogni@tin.it>
19843 fix docs. popt is dead, long live GOption.
19845 2005-10-31 Wim Taymans <wim@fluendo.com>
19850 2005-10-31 Andy Wingo <wingo@pobox.com>
19854 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19856 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19857 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19858 the possibility of deadlocks here if code calling notify() or
19859 set() has a lock that can be taken in another notify handler (ABBA
19860 with class lock and e.g. python GIL state lock).
19862 2005-10-28 Julien MOUTTE <julien@moutte.net>
19864 * gst/gstbus.c: Doc updates.
19866 2005-10-28 Wim Taymans <wim@fluendo.com>
19868 * docs/design/part-TODO.txt:
19869 * gst/gstiterator.c:
19870 * gst/gstsystemclock.c:
19871 * gst/gstsystemclock.h:
19874 2005-10-28 Edward Hervey <edward@fluendo.com>
19876 * docs/gst/gstreamer-docs.sgml:
19877 * docs/gst/gstreamer-sections.txt:
19878 the GstURIType documentation page is private, it only defines GstURIType
19879 which should be defined in the GstURIHandler page
19881 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19883 * gst/gstbin.c: (gst_bin_class_init):
19886 Documentation updates.
19888 2005-10-28 Wim Taymans <wim@fluendo.com>
19890 * docs/gst/gstreamer-sections.txt:
19893 Documented the clocks.
19895 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19897 * docs/gst/gstreamer-sections.txt:
19898 move some macros to private sections
19899 * gst/gstminiobject.c:
19900 * gst/gstminiobject.h:
19901 add descriptions provided by ds and some more
19903 mark macro as to be removed
19905 2005-10-28 Wim Taymans <wim@fluendo.com>
19907 * docs/design/part-TODO.txt:
19908 Add an item to TODO.
19910 * gst/gstiterator.c: (gst_iterator_fold),
19911 (gst_iterator_find_custom):
19912 * gst/gstiterator.h:
19915 2005-10-28 Wim Taymans <wim@fluendo.com>
19917 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19918 (gst_base_transform_init):
19921 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19922 An EOS event marks the queue as completely filled.
19924 2005-10-27 Wim Taymans <wim@fluendo.com>
19926 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19927 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19928 Some more debugging.
19930 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19931 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19932 (gst_base_transform_event), (gst_base_transform_getrange),
19933 (gst_base_transform_chain):
19934 * gst/base/gstbasetransform.h:
19936 Protect transform and concurrent buffer alloc with a new lock.
19937 Try not to break ABI/API.
19939 2005-10-27 Wim Taymans <wim@fluendo.com>
19941 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19942 (gst_base_src_init), (gst_base_src_query),
19943 (gst_base_src_default_newsegment),
19944 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19945 (gst_base_src_send_event), (gst_base_src_event_handler),
19946 (gst_base_src_pad_get_range), (gst_base_src_loop),
19947 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19948 (gst_base_src_start), (gst_base_src_deactivate),
19949 (gst_base_src_activate_push), (gst_base_src_change_state):
19950 Move some stuff around and cleanup things.
19952 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19954 * gst/base/gstbasesrc.c: (gst_base_src_query):
19955 Add missing break statements.
19957 2005-10-27 Wim Taymans <wim@fluendo.com>
19959 * check/gst/gstbin.c: (GST_START_TEST):
19960 An extra refcount is taken in basesrc.
19962 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19963 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19964 (gst_base_src_loop):
19965 Small cleanups, check for flushing after being unlocked from the
19966 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19967 Don't send out EOS when going to READY.
19969 2005-10-27 Wim Taymans <wim@fluendo.com>
19971 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19972 (gst_base_sink_get_position):
19975 * gst/gstbin.c: (message_check), (bin_replace_message),
19976 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19977 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19978 (bin_query_duration_init), (bin_query_duration_fold),
19979 (bin_query_duration_done), (bin_query_generic_fold),
19981 * tools/gst-launch.c: (main):
19984 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19986 * examples/controller/audio-example.c: (main):
19987 * examples/queue/queue.c: (event_loop):
19988 * gst/base/gstbasetransform.h:
19989 * gst/gstelement.c: (gst_element_send_event):
19991 * gst/gstpad.c: (gst_pad_send_event):
19994 changing log priority in error situations
19996 2005-10-25 Wim Taymans <wim@fluendo.com>
19998 * gst/gstbin.c: (message_check), (bin_replace_message),
19999 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20000 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20001 (bin_query_duration_init), (bin_query_duration_fold),
20002 (bin_query_duration_done), (bin_query_generic_fold),
20004 Some doc and debug updates.
20005 Cache previously requested query DURATION for speed. invalidate
20006 cached duration if element posts a DURATION message.
20008 2005-10-25 Wim Taymans <wim@fluendo.com>
20010 * docs/design/part-TODO.txt:
20013 * gst/gstbin.c: (message_check), (bin_replace_message),
20014 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20015 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
20016 (bin_query_duration_init), (bin_query_duration_fold),
20017 (bin_query_duration_done), (bin_query_generic_fold),
20019 Handle SEGMENT_START/DONE messages correctly.
20020 More evolved query algorithm that handles duration queries
20023 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
20024 (gst_element_get_state_func), (gst_element_abort_state),
20025 (gst_element_commit_state), (gst_element_lost_state):
20026 Some more debugging.
20028 * gst/gstmessage.h:
20031 2005-10-25 Wim Taymans <wim@fluendo.com>
20033 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20034 Don't use invalid stream_time.
20036 * gst/gstevent.c: (gst_event_new_newsegment):
20037 stream_time in newsegment cannot be undefined.
20039 2005-10-24 Wim Taymans <wim@fluendo.com>
20044 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20046 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20048 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20050 * docs/libs/tmpl/gstdparam.sgml:
20051 * docs/libs/tmpl/gstdplinint.sgml:
20052 * docs/libs/tmpl/gstdpman.sgml:
20053 * docs/libs/tmpl/gstdpsmooth.sgml:
20054 * docs/libs/tmpl/gstunitconvert.sgml:
20057 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20062 === release 0.9.4 ===
20064 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20067 releasing 0.9.4, "Tyrannosaurus Rex"
20069 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20071 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20072 (gst_file_sink_get_current_offset):
20073 Use fseeko() and ftello() if available. When falling back on
20074 lseek() to get the current offset, fflush() first to make sure
20075 everything is up-to-date and we get the right offset.
20077 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20079 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20080 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20081 * gst/gsterror.c: (_gst_stream_errors_init):
20083 * gst/gstqueue.c: (gst_queue_loop):
20085 remove prematurely added error category and clean up the instances
20087 2005-10-21 Wim Taymans <wim@fluendo.com>
20089 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20090 (gst_base_sink_get_position), (gst_base_sink_query),
20091 (gst_base_sink_change_state):
20092 Simply set the right flag when going to playing, that's all
20093 we need to do instead of calling a function inside the object
20094 lock (that could take the lock as well and deadlock)
20096 2005-10-21 Wim Taymans <wim@fluendo.com>
20098 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20099 (gst_base_src_loop):
20100 Don't warn, the peer element knows what to do best when
20101 the seek failed, it might try something else.
20103 2005-10-21 Wim Taymans <wim@fluendo.com>
20105 * gst/base/gstbasesrc.c: (gst_base_src_init),
20106 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20109 2005-10-21 Wim Taymans <wim@fluendo.com>
20111 * docs/design/part-segments.txt:
20114 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20115 Correctly set caps, even on the subbufer.
20117 2005-10-21 Wim Taymans <wim@fluendo.com>
20119 * docs/gst/gstreamer-docs.sgml:
20120 * docs/gst/gstreamer-sections.txt:
20121 * gst/gstelement.h:
20124 * gst/gstmessage.h:
20127 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20131 And 2% more doc coverage.
20133 2005-10-21 Andy Wingo <wingo@pobox.com>
20135 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20136 position reporting.
20138 2005-10-20 Wim Taymans <wim@fluendo.com>
20140 * gst/gsterror.c: (gst_error_get_message):
20143 * gst/gststructure.c:
20148 2005-10-20 Wim Taymans <wim@fluendo.com>
20153 Another 1% more coverage.
20155 2005-10-20 Wim Taymans <wim@fluendo.com>
20157 * docs/gst/gstreamer-sections.txt:
20158 * gst/gstelement.c: (gst_element_get_state_func),
20159 (gst_element_abort_state), (gst_element_commit_state),
20160 (gst_element_lost_state):
20162 * gst/gstquery.c: (gst_query_set_position),
20163 (gst_query_parse_position), (gst_query_set_duration),
20164 (gst_query_parse_duration), (gst_query_new_convert):
20166 Yay! 1% more docs coverage.
20168 2005-10-20 Wim Taymans <wim@fluendo.com>
20171 * gst/gstquery.c: (gst_query_set_position),
20172 (gst_query_parse_position), (gst_query_set_duration),
20173 (gst_query_parse_duration), (gst_query_new_convert):
20175 * gst/gstutils.c: (gst_element_query_convert):
20177 Docs and consistency fixes.
20179 2005-10-20 Wim Taymans <wim@fluendo.com>
20185 2005-10-20 Wim Taymans <wim@fluendo.com>
20187 * gst/gstbin.c: (message_check), (bin_replace_message),
20188 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20189 (update_degree), (gst_bin_sort_iterator_next),
20190 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20191 Reworked the message handling a bit, cache the messages instead of
20192 only the senders. alows us to do more in the future.
20194 2005-10-20 Wim Taymans <wim@fluendo.com>
20196 * docs/design/part-TODO.txt:
20199 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20200 (gst_base_sink_query):
20201 Don't use clock time to report position when in EOS.
20203 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20205 * tools/gst-inspect.c: (print_interfaces),
20206 (print_element_properties_info), (print_element_info):
20207 Fix interface output with gst-inspect -a; don't print
20208 newlines after double/float properties.
20210 2005-10-20 Wim Taymans <wim@fluendo.com>
20212 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20213 (gst_base_sink_query):
20214 Speed up current position calculation.
20216 * gst/base/gstbasesrc.c: (gst_base_src_query),
20217 (gst_base_src_default_newsegment):
20218 Correctly set stream position in newsegment.
20220 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20221 (update_degree), (gst_bin_sort_iterator_next),
20222 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20223 * gst/gstmessage.c: (gst_message_new_custom):
20224 Clean up debugging info
20226 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20227 (gst_queue_loop), (gst_queue_handle_src_query):
20230 2005-10-19 Wim Taymans <wim@fluendo.com>
20232 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20233 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20234 Fix query handling again.
20236 2005-10-19 Wim Taymans <wim@fluendo.com>
20238 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20239 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20240 * gst/base/gstbasesrc.c: (gst_base_src_query):
20241 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20242 * gst/elements/gsttypefindelement.c:
20243 (gst_type_find_handle_src_query), (find_element_get_length),
20244 (gst_type_find_element_activate):
20247 * gst/gstquery.c: (gst_query_new_position),
20248 (gst_query_set_position), (gst_query_parse_position),
20249 (gst_query_new_duration), (gst_query_set_duration),
20250 (gst_query_parse_duration), (gst_query_set_segment),
20251 (gst_query_parse_segment):
20253 Bundling query position/duration is not a good idea since duration
20254 does not change much and we don't want to recalculate it for every
20255 position query, so they are separated again..
20256 Base value in segment query is not needed.
20258 * gst/gstqueue.c: (gst_queue_handle_src_query):
20259 * gst/gstutils.c: (gst_element_query_position),
20260 (gst_element_query_duration), (gst_pad_query_position),
20261 (gst_pad_query_duration):
20263 Updates for query API change.
20264 Added some docs here and there.
20266 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20268 * check/gst/gstbin.c: (GST_START_TEST):
20269 * check/gst/gstghostpad.c: (GST_START_TEST):
20270 * check/pipelines/cleanup.c: (GST_START_TEST):
20271 wait on thread to die so we can check refcount correctly
20273 2005-10-18 Wim Taymans <wim@fluendo.com>
20275 * check/pipelines/stress.c: (GST_START_TEST):
20276 Make check a little more time consuming.
20278 2005-10-18 Wim Taymans <wim@fluendo.com>
20280 * check/Makefile.am:
20281 * check/pipelines/stress.c: (GST_START_TEST),
20282 (simple_launch_lines_suite), (main):
20283 Small state change torture test.
20285 * docs/design/part-states.txt:
20286 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20287 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20288 (gst_base_sink_change_state):
20289 Never take state lock from streaming thread, clean up ugly
20290 hacks. Unfortunatly core does not yet support nice ways to
20291 async commit state.
20293 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20295 Start state recalc if a STATE_DIRTY message is posted, but only
20296 on the toplevel bin.
20298 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20299 (gst_element_get_state_func), (gst_element_abort_state),
20300 (gst_element_commit_state), (gst_element_lost_state),
20301 (gst_element_set_state_func), (gst_element_change_state):
20302 * gst/gstelement.h:
20303 State variables are now protected with the LOCK, the state
20304 lock is only used to serialize _set_state().
20306 2005-10-18 Wim Taymans <wim@fluendo.com>
20308 * check/gst/gstbin.c: (GST_START_TEST):
20309 * check/gst/gstmessage.c: (GST_START_TEST):
20310 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20311 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20313 * gst/gstelement.c: (gst_element_abort_state),
20314 (gst_element_commit_state), (gst_element_lost_state):
20315 * gst/gstmessage.c: (gst_message_new_state_changed),
20316 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20317 (gst_message_new_segment_done), (gst_message_new_duration),
20318 (gst_message_parse_state_changed),
20319 (gst_message_parse_segment_start),
20320 (gst_message_parse_segment_done), (gst_message_parse_duration):
20321 * gst/gstmessage.h:
20322 * tools/gst-launch.c: (event_loop):
20323 Seriously, this is better than a previous commit as we only need
20324 to notify the fact that an element changed state in a streaming
20325 thread, marking the state of the parents dirty, hence the
20326 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20329 2005-10-18 Wim Taymans <wim@fluendo.com>
20331 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20332 (gst_bin_recalc_func):
20333 * gst/gstelement.c: (gst_element_set_clock),
20334 (gst_element_abort_state), (gst_element_lost_state):
20335 Cleanups, prepare for state change fixes.
20337 2005-10-18 Wim Taymans <wim@fluendo.com>
20340 * gst/gstelement.c: (gst_element_class_init),
20341 (gst_element_set_state), (gst_element_set_state_func):
20342 * gst/gstelement.h:
20343 Pending ABI changes.
20344 GThreadPool in GstBinClass to monitor async state changes.
20345 state_cookie in GstElement to detect concurrent gst/set state.
20346 set_state is now virtual too in case a very complicated element
20347 has to be constructed.
20349 2005-10-18 Wim Taymans <wim@fluendo.com>
20351 * check/gst/gstbin.c: (GST_START_TEST):
20352 * check/gst/gstmessage.c: (GST_START_TEST):
20353 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20354 * gst/gstbin.c: (bin_bus_handler):
20355 * gst/gstelement.c: (gst_element_commit_state),
20356 (gst_element_lost_state):
20357 * gst/gstmessage.c: (gst_message_new_state_changed),
20358 (gst_message_new_segment_start), (gst_message_new_segment_done),
20359 (gst_message_new_duration), (gst_message_parse_state_changed),
20360 (gst_message_parse_segment_start),
20361 (gst_message_parse_segment_done), (gst_message_parse_duration):
20362 * gst/gstmessage.h:
20363 * tools/gst-launch.c: (event_loop):
20364 Make messages future proof.
20365 state-change gets a flag if it was a message comming from the
20367 segment-start/stop can also be specified in other formats.
20368 A message to notify an app that a pipeline changed playback
20370 Also fix a GstMessage leak in -launch
20372 2005-10-18 Andy Wingo <wingo@pobox.com>
20374 * gst/gstelement.c (gst_element_dispose): More helpful message.
20376 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20378 reviewed by: <delete if not using a buddy>
20380 * common/gtk-doc.mak:
20382 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20384 * gst/gstregistry.c: (gst_registry_scan_path_level):
20385 unref a plug-in we get that was already initialized
20387 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20389 * docs/gst/gstreamer-sections.txt:
20390 * docs/libs/gstreamer-libs-sections.txt:
20391 * gst/gstelement.h:
20392 add new api entries
20393 hide internal macro
20395 2005-10-17 Andy Wingo <wingo@pobox.com>
20397 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20400 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20402 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20404 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20405 (gst_element_get_state_func): Better debug message.
20406 (gst_element_commit_state): s/INFO/DEBUG/.
20407 (gst_element_lost_state, gst_element_change_state):
20409 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20410 (gst_message_new_custom): s/INFO/LOG/.
20412 2005-10-17 Michael Smith <msmith@fluendo.com>
20414 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20415 Check if end time is valid using end time, not start time.
20417 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20419 * check/gst-libs/controller.c: (GST_START_TEST),
20420 (gst_controller_suite):
20421 * libs/gst/controller/gstcontroller.c:
20422 (gst_controlled_property_set_interpolation_mode):
20423 * libs/gst/controller/gstcontroller.h:
20424 * libs/gst/controller/gstinterpolation.c:
20425 * testsuite/controller/.cvsignore:
20426 * testsuite/controller/Makefile.am:
20427 * testsuite/controller/interpolator.c:
20428 merge controller testsuites
20430 remove mem-chunk from docs
20432 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20434 * gst/gstmemchunk.c:
20435 * gst/gstmemchunk.h:
20436 * gst/gsttrashstack.c:
20437 * gst/gsttrashstack.h:
20438 out. get out. you're fired. to the Attic !
20440 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20442 * gst/gstcaps.c: (gst_caps_intersect):
20443 fix signedness issues in a (hopefully) correct way
20444 * gst/gstelement.c: (gst_element_pads_activate):
20446 * gst/gstobject.c: (gst_object_set_parent):
20449 2005-10-17 Julien MOUTTE <julien@moutte.net>
20451 * gst/gstvalue.h: Fix prototypes.
20453 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20455 * docs/gst/gstreamer-sections.txt:
20456 * gst/gst.c: (gst_version_string):
20458 * gst/gstversion.h.in:
20459 * win32/common/libgstreamer.def:
20460 add gst_version_string ()
20462 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20466 * gst/gst.c: (init_post):
20467 * win32/common/config.h.in:
20469 * gst/gstcaps.c: (gst_caps_intersect):
20470 use gint64, the range could be bigger than a guint
20472 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20475 document potential problem in 2038
20477 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20479 * gst/gstcaps.c: (gst_caps_intersect):
20480 Fix guint j diving under 0
20482 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20485 * win32/common/config.h:
20486 * win32/common/config.h.in:
20487 check for process.h, declares getpid() on Windows
20489 include process.h if we have it
20490 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20491 * gst/gstmemchunk.h:
20492 fix signedness issues
20493 * win32/common/libgstreamer.def:
20496 2005-10-16 Julien MOUTTE <julien@moutte.net>
20498 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20499 fix. Because of unsigned ints, caps intersection was going nuts and
20500 trying to access structures with G_MAXUINT index. That fixes
20501 videotestsrc ! ffmpegcolorspace ! fakesink
20502 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20505 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20508 use the gettext macro
20509 * gst/elements/gstelements.c:
20511 * gst/indexers/gstindexers.c:
20512 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20513 * win32/common/config.h:
20515 * win32/common/config.h.in:
20516 add the template to generate config.h
20517 * win32/common/gstenumtypes.c:
20518 * win32/common/gstversion.h:
20521 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20523 * gst/gst.c: (gst_version):
20524 * gst/gstversion.h.in:
20527 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20530 Oops, add missing closing bracket.
20532 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20535 use common m4's for argument checking
20537 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20539 * docs/gst/gstreamer-sections.txt:
20541 Add GST_EVENT_TYPE_NAME() macro.
20543 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20546 * gst/gstpluginfeature.c:
20548 privatize more symbols
20550 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20553 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20554 everything that uses GStreamer API should have the includes
20556 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20558 * docs/gst/gstreamer-sections.txt:
20559 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20561 give each value a _get_type, removes the DATA exports
20563 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20567 remove _gst_registry_auto_load, not used anymore
20568 * gst/gstbin.c: (gst_bin_get_type):
20570 * gst/gstelement.c: (gst_element_get_type):
20571 * gst/gstelement.h:
20572 * gst/gstobject.c: (gst_object_get_type):
20574 * gst/gstpad.c: (gst_pad_get_type):
20576 make _get_type functions similar, fixes data export from library
20578 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20581 correctly make conditionals
20582 * gst/elements/Makefile.am:
20583 * gst/elements/gstelements.c:
20584 fix typo causing fdsrc not to build
20586 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20588 * testsuite/Makefile.am:
20589 * testsuite/bytestream/.cvsignore:
20590 * testsuite/bytestream/Makefile.am:
20591 * testsuite/bytestream/filepadsink.c:
20592 * testsuite/bytestream/gstbstest.c:
20593 * testsuite/bytestream/test1.c:
20594 * testsuite/bytestream/testfile1:
20595 * testsuite/caps/normalisation.c:
20596 * testsuite/caps/random.c: (main):
20597 * testsuite/cleanup/.cvsignore:
20598 * testsuite/cleanup/Makefile.am:
20599 * testsuite/cleanup/cleanup1.c:
20600 * testsuite/cleanup/cleanup2.c:
20601 * testsuite/cleanup/cleanup3.c:
20602 * testsuite/cleanup/cleanup4.c:
20603 * testsuite/cleanup/cleanup5.c:
20604 * testsuite/controller/interpolator.c:
20605 * testsuite/debug/printf_extension.c: (main):
20606 * testsuite/elements/tee.c:
20607 * testsuite/negotiation/.cvsignore:
20608 * testsuite/negotiation/Makefile.am:
20609 * testsuite/negotiation/pad_link.c:
20610 * testsuite/pad/Makefile.am:
20611 * testsuite/pad/chainnopull.c:
20612 * testsuite/pad/getnopush.c:
20613 * testsuite/pad/link.c:
20614 * testsuite/refcounting/sched.c: (create_pipeline):
20615 * testsuite/registry/Makefile.am:
20616 * testsuite/registry/gst-print-formats.c:
20617 * testsuite/schedulers/.cvsignore:
20618 * testsuite/schedulers/142183-2.c:
20619 * testsuite/schedulers/142183.c:
20620 * testsuite/schedulers/143777-2.c:
20621 * testsuite/schedulers/143777.c:
20622 * testsuite/schedulers/147713.c:
20623 * testsuite/schedulers/147819.c:
20624 * testsuite/schedulers/147894-2.c:
20625 * testsuite/schedulers/147894.c:
20626 * testsuite/schedulers/Makefile.am:
20627 * testsuite/schedulers/group_link.c:
20628 * testsuite/schedulers/queue_link.c:
20629 * testsuite/schedulers/relink.c:
20630 * testsuite/schedulers/unlink.c:
20631 * testsuite/schedulers/unref.c:
20632 * testsuite/schedulers/useless_iteration.c:
20633 * testsuite/states/bin.c:
20634 clean out/remove some stuff from the testsuite directories
20636 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20639 check for some headers
20640 * gst/elements/Makefile.am:
20641 * gst/elements/gstelements.c:
20642 don't compile fdsrc without sys/socket.h
20643 * gst/indexers/Makefile.am:
20644 * gst/indexers/gstindexers.c: (plugin_init):
20645 don't compile fileindex without mmap
20647 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20654 * check/Makefile.am:
20655 * docs/gst/Makefile.am:
20656 * examples/helloworld/Makefile.am:
20658 * gst/base/Makefile.am:
20659 * gst/check/Makefile.am:
20660 * gst/elements/Makefile.am:
20661 * gst/indexers/Makefile.am:
20662 * gst/parse/Makefile.am:
20663 * libs/gst/controller/Makefile.am:
20664 * libs/gst/dataprotocol/Makefile.am:
20665 * examples/helloworld/helloworld.c: (event_loop):
20666 compile fixes, though it's not being compiled currently
20668 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20670 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20671 Add some simple tests for the new taglist date API.
20673 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20675 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20676 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20677 Beautify 'last-message' output: print 'none' for buffer timestamps
20678 and durations if none is set; improve alignment with next messages.
20680 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20682 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20683 * gst/gstpluginfeature.h:
20684 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20685 * gst/gstregistry.h:
20686 * docs/gst/gstreamer-sections.txt:
20687 Add new API to check plugin feature version requirements.
20689 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20690 Some basic tests for the above.
20692 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20694 * gst/gststructure.c: (gst_structure_to_string):
20695 guard against NULL printf - happens when for example
20696 a message structure with GstClock gets serialized
20698 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20700 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20701 Fix presumable copy'n'pasto.
20703 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20705 * gst/elements/gstfakesrc.h:
20706 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20707 * gst/elements/gsttypefindelement.c:
20708 fix some signedness
20709 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20710 I wonder if this could actually write +2GB files before
20712 2005-10-13 Andy Wingo <wingo@pobox.com>
20714 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20715 Fix Timmeke Waymans bug.
20716 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20717 string of the proper length to gst_caps_from_string. There's a
20718 potential for, before this fix, that this could cause someone
20719 connecting over the network to cause a segfault if the payload is
20720 not NUL-terminated.
20722 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20724 * docs/design/draft-push-pull.txt:
20725 * docs/design/part-overview.txt:
20726 * docs/random/TODO-pre-0.9:
20727 * docs/random/old/ChangeLog.gstreamer:
20728 * gst/base/gstpushsrc.c:
20732 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20734 * gst/glib-compat.c: (gst_flags_get_first_value):
20735 * gst/glib-compat.h:
20736 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20737 (gst_value_compare_double), (gst_value_serialize_flags):
20738 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20741 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20744 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20746 * tools/gst-launch.c: (event_loop):
20747 print out clock nicely
20749 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20751 * docs/gst/gstreamer-sections.txt:
20752 * gst/gsttaglist.h:
20753 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20754 (gst_tag_list_get_date_index):
20755 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20756 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20758 2005-10-13 Julien MOUTTE <julien@moutte.net>
20760 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20761 (gst_collectpads_chain):
20762 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20765 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20767 * docs/gst/gstreamer-sections.txt:
20770 * tools/gst-inspect.c: (main):
20771 * tools/gst-launch.c: (main):
20772 * tools/gst-run.c: (main):
20773 * tools/gst-xmlinspect.c: (main):
20774 fix GOption context leaks
20777 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20781 * win32/common/config.h:
20783 * win32/vs6/grammar.dsp:
20784 * win32/vs6/libgstelements.dsp:
20785 * win32/vs6/libgstreamer.dsp:
20788 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20790 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20791 * gst/base/gstbasesrc.c: (gst_base_src_query):
20792 fix more guint64<->gdouble conversions
20794 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20797 add win32-update target
20798 * win32/common/gstconfig.h:
20799 * win32/common/gstenumtypes.c:
20800 * win32/common/gstenumtypes.h:
20801 * win32/common/gstversion.h:
20802 add files that visual studio can't generate
20804 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20807 add a win32-update target
20810 2005-10-12 Wim Taymans <wim@fluendo.com>
20812 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20813 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20814 * gst/gstelement.c: (gst_element_commit_state),
20815 (gst_element_set_state):
20816 Protect flags with proper lock.
20817 unref provided cached clock in dispose.
20819 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20822 * gst/gstminiobject.h:
20824 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20825 removed unused flags from miniobject
20828 2005-10-12 Wim Taymans <wim@fluendo.com>
20830 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20831 (gst_file_sink_event), (gst_file_sink_render):
20832 Flush before seeking.
20834 2005-10-12 Andy Wingo <wingo@pobox.com>
20836 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20837 always been the case.
20839 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20841 * check/gst/gstbin.c: (GST_START_TEST):
20842 * docs/gst/gstreamer-sections.txt:
20843 * gst/base/gstbasesink.c: (gst_base_sink_init):
20844 * gst/base/gstbasesrc.c: (gst_base_src_init),
20845 (gst_base_src_get_range), (gst_base_src_check_get_range),
20846 (gst_base_src_start), (gst_base_src_stop):
20847 * gst/base/gstbasesrc.h:
20848 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20849 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20850 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20854 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20856 * gst/gstelement.c: (gst_element_is_locked_state),
20857 (gst_element_set_locked_state), (gst_element_commit_state),
20858 (gst_element_set_state):
20859 * gst/gstelement.h:
20860 * gst/gstindex.c: (gst_index_init):
20862 * gst/gstminiobject.h:
20863 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20864 (gst_object_set_parent):
20866 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20867 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20869 * gst/gstpadtemplate.h:
20870 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20871 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20872 * gst/gstpipeline.h:
20873 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20874 (gst_file_index_commit):
20875 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20876 * testsuite/pad/link.c: (gst_test_src_init),
20877 (gst_test_filter_init), (gst_test_sink_init):
20878 * testsuite/states/locked.c: (main):
20879 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20880 moved bitshift from macro to enum definition
20882 2005-10-12 Wim Taymans <wim@fluendo.com>
20884 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20885 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20886 (gst_file_sink_render):
20887 Some more debugging info.
20889 2005-10-12 Wim Taymans <wim@fluendo.com>
20891 * docs/design/part-states.txt:
20892 * tools/gst-launch.c: (main):
20894 Revert non-intentional change.
20896 2005-10-12 Wim Taymans <wim@fluendo.com>
20898 * check/gst/gstbin.c: (GST_START_TEST):
20899 * check/gst/gstelement.c: (GST_START_TEST):
20900 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20901 * check/gst/gstghostpad.c: (GST_START_TEST):
20902 * check/gst/gstpipeline.c: (GST_START_TEST):
20903 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20904 * check/states/sinks.c: (GST_START_TEST):
20905 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20906 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20907 (gst_bin_remove_func), (gst_bin_get_state_func),
20908 (gst_bin_recalc_state), (gst_bin_change_state_func),
20910 * gst/gstelement.c: (gst_element_get_state_func),
20911 (gst_element_get_state), (gst_element_abort_state),
20912 (gst_element_commit_state), (gst_element_set_state),
20913 (gst_element_change_state), (gst_element_change_state_func):
20914 * gst/gstelement.h:
20915 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20916 (gst_pipeline_provide_clock_func):
20917 * gst/gstutils.c: (gst_element_link_pads_filtered):
20918 * tools/gst-launch.c: (main):
20919 * tools/gst-typefind.c: (main):
20920 Use GstClockTime in _get_state() instead of GTimeVal.
20921 Remove old code in gstutils.c
20923 2005-10-12 Andy Wingo <wingo@pobox.com>
20925 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20928 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20929 there is no task. Shouldn't affect any code, as nothing in our
20930 plugins checks this return value.
20931 (gst_pad_stop_task): Also take the stream lock if the pad has no
20932 task. Docs updated.
20934 2005-10-12 Wim Taymans <wim@fluendo.com>
20936 * gst/gstpad.c: (pre_activate), (post_activate),
20937 (gst_pad_activate_pull), (gst_pad_activate_push):
20938 Cleanup activation code. Reset old state if
20941 2005-10-12 Wim Taymans <wim@fluendo.com>
20943 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20944 (gst_base_sink_change_state):
20945 No need to prerol after receiving EOS.
20947 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20948 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20949 * gst/elements/gstidentity.c: (gst_identity_event):
20950 Print events more verbosely.
20952 2005-10-12 Wim Taymans <wim@fluendo.com>
20954 * check/Makefile.am:
20955 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20956 * check/states/sinks2.c:
20957 Moved sinks2 testcode in sinks check.
20959 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20960 (gst_bin_remove_func), (gst_bin_recalc_state),
20961 (gst_bin_change_state_func), (bin_bus_handler):
20962 Fix potential race condition when _get_state() iterated over an
20963 ASYNC element right before it posted a state completion.
20966 Do proper cast here.
20968 * gst/gstevent.c: (gst_event_new_newsegment),
20969 (gst_event_parse_newsegment):
20970 A playback rate of 0.0 is not allowed.
20972 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20974 * win32/common/config.h:
20975 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20976 (_trewinddir), (_ttelldir), (_tseekdir):
20977 * win32/common/dirent.h:
20978 * win32/common/gtchar.h:
20979 * win32/common/libgstbase.def:
20980 * win32/common/libgstreamer.def:
20981 * win32/vs6/grammar.dsp:
20982 * win32/vs6/gst_inspect.dsp:
20983 * win32/vs6/gst_launch.dsp:
20984 * win32/vs6/gstreamer.dsw:
20985 * win32/vs6/libgstbase.dsp:
20986 * win32/vs6/libgstelements.dsp:
20987 * win32/vs6/libgstreamer.dsp:
20988 Visual Studio 6 project files, and a new common directory.
20991 2005-10-11 Wim Taymans <wim@fluendo.com>
20993 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20994 (gst_base_sink_do_sync), (gst_base_sink_query),
20995 (gst_base_sink_change_state):
20996 * gst/base/gstbasesink.h:
20997 Correctly parse newsegment info.
20999 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21001 * gst/gst.c: (init_post):
21002 split plugin paths correctly
21004 2005-10-11 Wim Taymans <wim@fluendo.com>
21006 * check/gst/gstevent.c: (GST_START_TEST):
21007 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21008 (gst_base_sink_change_state):
21009 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
21010 * gst/base/gstbasetransform.c: (gst_base_transform_event):
21011 * gst/elements/gstfilesink.c: (gst_file_sink_event):
21012 * gst/gstevent.c: (gst_event_new_newsegment),
21013 (gst_event_parse_newsegment):
21015 Added extra flag to newsegment for future API freeze.
21016 Updated check and base elements.
21018 2005-10-11 Julien MOUTTE <julien@moutte.net>
21020 * gst/base/gstcollectpads.c: (gst_collectpads_init),
21021 (gst_collectpads_add_pad), (gst_collectpads_pop),
21022 (gst_collectpads_event), (gst_collectpads_chain):
21023 * gst/base/gstcollectpads.h: Handle EOS correctly.
21025 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21027 * tools/gst-launch.c: (main):
21028 more null protecting
21030 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21032 * gst/gst-i18n-lib.h:
21033 check for ENABLE_NLS, not GETTEXT_PACKAGE
21034 * gst/gstregistry.c: (gst_registry_add_plugin),
21035 (gst_registry_scan_path_level),
21036 (_gst_registry_remove_cache_plugins):
21037 protect possibly NULL strings
21038 * gst/parse/types.h:
21039 config.h already included before
21040 * tools/gst-inspect.c: (main):
21041 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21042 check for ENABLE_NLS, not GETTEXT_PACKAGE
21043 * tools/gst-launch.c: (main):
21044 check for ENABLE_NLS, not GETTEXT_PACKAGE
21046 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21049 if we don't have glib, fail before testing 2.8
21050 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21051 fix a leak, should fix plugins-base testsuite
21053 2005-10-11 Andy Wingo <wingo@pobox.com>
21055 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21056 take the mode we're going to as an arg. Go head and set the mode
21057 and flushing flags now, so that if the activate function starts a
21058 thread all the flags will be in the right state.
21059 (post_activate): Renamed also. Just handle making sure streaming
21060 finishes for the deactivation case, and setting the deactivated
21062 (gst_pad_set_active): Complain loudly if deactivation fails.
21063 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21064 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21065 remove the terrible hack.
21067 2005-10-11 Wim Taymans <wim@fluendo.com>
21069 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21070 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21071 (gst_bin_recalc_state), (gst_bin_change_state_func),
21072 (gst_bin_dispose), (bin_bus_handler):
21074 Prepare to make current EOS message queue more generic.
21077 * gst/gstevent.c: (gst_event_new_newsegment),
21078 (gst_event_parse_newsegment):
21080 Rename base to stream_time.
21082 * gst/gstmessage.h:
21085 2005-10-11 Wim Taymans <wim@fluendo.com>
21087 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21088 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21089 (gst_bin_change_state_func), (bin_bus_handler):
21091 Work on proper clock selection.
21093 2005-10-11 Edward Hervey <edward@fluendo.com>
21095 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21096 * libs/gst/controller/gstcontroller.h:
21097 Added GList* version of _remove_properties() in order to be able to wrap
21100 2005-10-11 Wim Taymans <wim@fluendo.com>
21102 * docs/design/part-states.txt:
21105 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21106 (gst_bin_change_state_func), (bin_bus_handler):
21107 Doc updates. Don't distribute the same clock over and over again.
21113 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21114 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21115 (gst_pad_send_event):
21117 Make probe emission threadsafe again.
21118 Register quarks and move _get_name() from utils.
21121 * gst/gstpipeline.c: (gst_pipeline_class_init),
21122 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21123 Only redistribute the clock of it changed.
21125 * gst/gstsystemclock.h:
21130 Moved the _flow_get_name() to GstPad.
21132 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21134 * check/gst-libs/gdp.c: (GST_START_TEST):
21135 * check/gst/gstcaps.c: (GST_START_TEST):
21136 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21137 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21138 (gst_dp_packet_from_caps):
21139 fix more valgrind warnings before turning up the heat
21141 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21143 * gst/parse/grammar.y:
21144 some cleanup before the hacking
21146 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21148 * gst/base/gstbasesrc.c: (gst_base_src_query):
21150 * gst/gstutils.c: (gst_guint64_to_gdouble),
21151 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21153 externalize, basesrc uses it
21154 obviously the implementation needs testing
21156 2005-10-10 Wim Taymans <wim@fluendo.com>
21158 * tests/sched/Makefile.am:
21159 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21160 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21162 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21164 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21165 apparently converting from guint64 to double is not implemented
21168 2005-10-10 Wim Taymans <wim@fluendo.com>
21170 * check/Makefile.am:
21171 * check/generic/states.c: (GST_START_TEST):
21172 * check/gst/gstbin.c: (GST_START_TEST):
21173 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21174 * check/states/sinks.c: (GST_START_TEST):
21175 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21177 Check fixes, use API as stated in design docs, remove hacks.
21179 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21180 (gst_base_sink_change_state):
21181 Catch stopping our task while we're shutting down.
21183 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21184 (gst_bin_remove_func), (gst_bin_get_state_func),
21185 (gst_bin_recalc_state), (gst_bin_change_state_func),
21188 * gst/gstelement.c: (gst_element_init),
21189 (gst_element_get_state_func), (gst_element_abort_state),
21190 (gst_element_commit_state), (gst_element_lost_state),
21191 (gst_element_set_state), (gst_element_change_state),
21192 (gst_element_change_state_func):
21193 * gst/gstelement.h:
21194 New state change algorithm (see #318116)
21196 * gst/gstpipeline.c: (gst_pipeline_class_init),
21197 (gst_pipeline_init), (gst_pipeline_set_property),
21198 (gst_pipeline_get_property), (do_pipeline_seek),
21199 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21200 * gst/gstpipeline.h:
21201 Remove crude state change hacks.
21204 Remove crude hacks.
21206 * tools/gst-launch.c: (main):
21207 Fixes for state change. Needs some more work to fully use the
21210 2005-10-10 Andy Wingo <wingo@pobox.com>
21212 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21214 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21215 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21218 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21220 * gst/gstiterator.c: (gst_iterator_new):
21221 Fix my previous commit: GTypes passed to gst_iterator_new()
21222 can be fundamental types.
21224 2005-10-10 Wim Taymans <wim@fluendo.com>
21226 * gst/gstelement.c: (gst_element_iterate_pad_list),
21227 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21228 (gst_element_iterate_sink_pads):
21229 Use src/sink pads lists for the respective iterators instead
21232 2005-10-10 Andy Wingo <wingo@pobox.com>
21234 Merged in popt removal + GOption addition patch from Ronald, bug
21237 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21238 GstElement macros around, remove popt-related symbols, add goption
21241 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21243 * docs/gst/Makefile.am:
21244 * docs/libs/Makefile.am: No POPT_CFLAGS.
21246 * examples/manual/Makefile.am:
21247 * docs/manual/basics-init.xml: Doc updates with an example.
21249 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21250 (gst_init), (parse_one_option), (parse_goption_arg):
21251 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21252 bit of hand merging and debugging to get the GOption stuff working
21255 * tests/Makefile.am:
21256 * tools/Makefile.am:
21257 * tools/gst-inspect.c: (main):
21258 * tools/gst-launch.c: (main):
21259 * tools/gst-run.c: (main):
21260 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21262 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21264 * gst/gstiterator.c: (gst_iterator_new):
21265 Add assertions to make sure passed GType is likely to really
21266 be a GType (as the compiler won't catch it if the size and
21267 GType arguments get mixed up, see #318447).
21269 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21271 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21273 * gst/gstbin.c: (gst_bin_iterate_sorted):
21274 Pass GType and size arguments to gst_iterator_new() in the right
21275 order (maybe we should make _new() take the GType as first argument
21276 just like _new_list()?) (#318447).
21279 2005-10-10 Wim Taymans <wim@fluendo.com>
21281 * gst/gstelement.c: (gst_element_finalize):
21282 And free the GStaticRecMutex too
21284 2005-10-10 Andy Wingo <wingo@pobox.com>
21286 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21287 Allocate and free the mutex properly.
21289 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21291 (GstElement): The state_lock is now recursive. Rebuild your
21292 plugins, suckers. Old macros adapted.
21294 * docs/gst/gstreamer-sections.txt: Doc updates.
21297 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21298 (g_static_rec_cond_wait): Ported from state changes patch, while
21299 we wait on bug #317802 to be solved in a well-distributed GLib.
21301 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21302 gst_element_change_state, variable name changes.
21303 (gst_element_change_state): Split out of gst_element_set_state in
21304 preparation for the state change merge. Doesn't pay attention to
21305 the 'transition' argument.
21306 (gst_element_set_state): Updates, hopefully purely cosmetic.
21307 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21308 state change patch.
21309 (gst_element_get_state_func): Renamed from get_state, cosmetic
21312 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21314 * gst/elements/gstelements.c:
21315 * win32/GStreamer.vcproj:
21317 * win32/dirent.c: (_tseekdir):
21318 * win32/gst-inspect.vcproj:
21319 * win32/gst-launch.vcproj:
21320 * win32/gstconfig.h:
21321 * win32/gstelements.vcproj:
21322 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21323 * win32/gstreamer.def:
21324 * win32/msvc71.sln:
21325 updates for the win32 build (patch from Sebastien Moutte)
21327 2005-10-10 Andy Wingo <wingo@pobox.com>
21329 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21330 gst_bin_get_state, cleaned up (but no logic changes).
21331 (bin_element_is_sink): Comment updates.
21332 (sink_iterator_filter): Remove needless cast.
21333 (gst_bin_iterate_sinks): Doc update.
21334 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21335 cleaned up (but no logic changes).
21337 * check/states/sinks.c (test_src_sink): Cleanups from the state
21339 (test_livesrc_sink): Sync on the state.
21341 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21342 the state change patch.
21344 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21347 * check/gst/gstbin.c: Merge in some style fixes and additional
21348 checks from Wim's state change patch.
21350 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21352 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21353 (gst_type_find_helper):
21354 Check whether we have the requested data already in our list of
21355 cached buffers before pulling a new buffer; also make the buffer
21356 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21358 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21363 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21364 don't use long long, it's not portable. Replacing with
21365 gint64 seems to work; let's hope no skeletons fall out of the closet.
21367 2005-10-10 Andy Wingo <wingo@pobox.com>
21369 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21371 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21373 * docs/gst/gstreamer-sections.txt:
21378 * gst/gstmessage.c: (gst_message_parse_state_changed):
21381 more docs, fix compilation
21383 2005-10-09 Philippe Khalaf <burger@speedy.org>
21384 * gst/gstmessage.c:
21385 Fixed a few forgotten variables on previous commit
21387 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21389 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21390 Fix evil typefind crasher: getrange() might return a short
21391 buffer at the end of a file, but gst_type_find_peek() must
21392 either return the full data as requested or NULL, but
21393 never a short buffer.
21395 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21397 * gst/gstmessage.c: (gst_message_new_state_changed),
21398 (gst_message_parse_state_changed):
21399 * gst/gstmessage.h:
21400 don't use "new", it's a C++ keyword
21402 2005-10-08 Wim Taymans <wim@fluendo.com>
21404 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21405 * gst/gstelement.c: (gst_element_post_message):
21406 * gst/gstpipeline.c: (gst_pipeline_change_state):
21407 Small docs and debug updates.
21409 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21411 * docs/gst/gstreamer-sections.txt:
21412 * gst/gstelementfactory.c:
21414 * gst/gsttaglist.c:
21417 2005-10-08 Wim Taymans <wim@fluendo.com>
21419 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21420 (gst_bin_dispose), (bin_bus_handler):
21421 Fix typos, add comments.
21422 Clear EOS list when going to PAUSED from any direction and do it
21423 in a threadsafe way.
21424 Get base time in a threadsafe way too.
21425 Fix confusing debug in the change_state function.
21426 Various other small cleanups.
21428 * gst/gstelement.c: (gst_element_post_message):
21429 Fix very verbose bus posting code.
21431 * gst/gstpipeline.c: (gst_pipeline_class_init),
21432 (gst_pipeline_set_property), (gst_pipeline_get_property),
21433 (gst_pipeline_change_state):
21434 Small ARG_ -> PROP_ cleanup
21436 2005-10-08 Wim Taymans <wim@fluendo.com>
21438 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21439 Do a less CPU demanding EOS check because we can.
21441 2005-10-08 Wim Taymans <wim@fluendo.com>
21443 * libs/gst/dataprotocol/dataprotocol.c:
21444 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21445 (gst_dp_packet_from_event):
21446 * libs/gst/dataprotocol/dataprotocol.h:
21447 * libs/gst/dataprotocol/dp-private.h:
21448 It's about time we bump the version number.
21449 Since event types don't fit in the guint8 anymore describing
21450 the payload type, make payload type 16 bits wide.
21452 2005-10-08 Wim Taymans <wim@fluendo.com>
21454 * docs/design/part-TODO.txt:
21455 * docs/design/part-clocks.txt:
21456 * docs/design/part-events.txt:
21457 * docs/design/part-gstbin.txt:
21458 * docs/design/part-gstelement.txt:
21459 * docs/design/part-gstpipeline.txt:
21460 * docs/design/part-live-source.txt:
21461 * docs/design/part-messages.txt:
21462 * docs/design/part-overview.txt:
21463 * docs/design/part-states.txt:
21466 2005-10-08 Wim Taymans <wim@fluendo.com>
21470 Fix event quark registration.
21471 Add some space between events so we can insert them in the
21474 2005-10-08 Wim Taymans <wim@fluendo.com>
21476 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21477 (gst_base_sink_handle_buffer):
21478 Better log message.
21481 * gst/gstelement.h:
21484 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21485 (gst_queue_set_property), (gst_queue_get_property):
21487 Remove old unused properties.
21489 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21490 * docs/gst/gstreamer-sections.txt:
21491 * gst/gstmessage.c:
21492 * gst/gstmessage.h:
21493 * gst/gstminiobject.c:
21494 * gst/gstminiobject.h:
21498 lots of new docs and doc fixes
21500 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21502 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21504 * gst/gstregistry.c: (gst_registry_lookup_locked),
21505 (gst_registry_scan_path_level):
21506 * gst/gstregistryxml.c: (load_plugin):
21507 Only ever load one plugin for a given plugin basename.
21508 This ensures correct overriding of GST_PLUGIN_PATH over
21509 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21510 system installed plugins.
21512 2005-10-08 Wim Taymans <wim@fluendo.com>
21514 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21515 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21516 Prepare for doing QOS.
21518 2005-10-08 Wim Taymans <wim@fluendo.com>
21520 * check/gst/gstbin.c: (GST_START_TEST):
21521 * check/pipelines/cleanup.c: (GST_START_TEST):
21522 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21523 Allow new clock message too.
21525 2005-10-08 Wim Taymans <wim@fluendo.com>
21527 * gst/gstmessage.c: (gst_message_new_error),
21528 (gst_message_new_warning), (gst_message_new_tag),
21529 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21530 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21531 (gst_message_new_segment_start), (gst_message_new_segment_done),
21532 (gst_message_parse_state_changed),
21533 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21534 (gst_message_parse_new_clock):
21535 * gst/gstmessage.h:
21536 Also carry the clock in question.
21538 2005-10-08 Wim Taymans <wim@fluendo.com>
21540 * gst/gstmessage.c: (gst_message_new_custom),
21541 (gst_message_new_eos), (gst_message_new_error),
21542 (gst_message_new_warning), (gst_message_new_tag),
21543 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21544 (gst_message_new_new_clock), (gst_message_new_segment_start),
21545 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21546 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21547 * gst/gstmessage.h:
21549 Added clock related messages.
21551 * gst/gstpipeline.c: (gst_pipeline_change_state):
21552 Post message when the clock changed.
21554 * tools/gst-launch.c: (event_loop):
21557 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21559 * tools/gst-inspect.c: (print_element_properties_info):
21560 Can't pass NULL strings to g_print() on windows.
21562 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21564 * docs/Makefile.am:
21565 * docs/gst/Makefile.am:
21566 * docs/gst/gstreamer-docs.sgml:
21567 * docs/gst/running.xml:
21568 * docs/version.entities.in:
21569 add a chapter on running GStreamer.
21570 document GST_DEBUG and GST_PLUGIN* env vars
21572 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21577 remove PLUGINS_BUILDDIR stuff
21578 * gst/gst.c: (init_post):
21579 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21581 remove, it was condescending and not needed
21583 2005-10-08 Wim Taymans <wim@fluendo.com>
21585 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21586 (gst_base_sink_handle_object), (gst_base_sink_event),
21587 (gst_base_sink_wait), (gst_base_sink_handle_event),
21588 (gst_base_sink_change_state):
21589 * gst/base/gstbasesink.h:
21590 Repost EOS message while going to PLAYING if still EOS.
21591 Make sure that when receiving a FLUSH_START we don't attempt
21592 to sync on the clock anymore.
21594 2005-10-08 Wim Taymans <wim@fluendo.com>
21596 * tools/gst-launch.c: (event_loop):
21597 Better message printout.
21599 2005-10-08 Wim Taymans <wim@fluendo.com>
21601 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21602 (gst_bin_child_proxy_get_children_count):
21603 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21604 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21605 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21606 (gst_child_proxy_set_valist):
21607 * gst/parse/grammar.y:
21608 Make ChildProxy threadsafe and fix mem leaks.
21610 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21612 * gst/gst.c: (init_post):
21613 debug the GST_PLUGIN_ env vars
21615 2005-10-08 Wim Taymans <wim@fluendo.com>
21617 * check/gst/gstbin.c: (GST_START_TEST):
21618 * check/gst/gstmessage.c: (GST_START_TEST):
21619 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21620 * gst/gstelement.c: (gst_element_commit_state),
21621 (gst_element_lost_state):
21622 * gst/gstmessage.c: (gst_message_new_state_changed),
21623 (gst_message_parse_state_changed):
21624 * gst/gstmessage.h:
21625 * tools/gst-launch.c: (event_loop):
21626 Added extra field to STATE_CHANGE message with the pending
21627 state, which will be different from the new state soon.
21629 2005-10-08 Wim Taymans <wim@fluendo.com>
21631 * gst/gstbus.c: (gst_bus_pop):
21633 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21634 Small cleanups and doc updates.
21636 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21638 * gst/gst.c: (init_pre):
21639 * gst/gstbin.c: (gst_bin_add_func):
21640 log distributing clocks and base time
21641 * gst/gstregistry.c: (gst_registry_add_plugin),
21642 (gst_registry_scan_path_level), (gst_registry_scan_path):
21643 clean up the debugging output a little
21644 * gst/gstutils.c: (gst_element_state_get_name):
21645 warn about a memleak (I've actually seen this be used, though
21646 it was probably a bug)
21648 2005-10-07 Wim Taymans <wim@fluendo.com>
21650 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21651 (gst_base_src_init), (gst_base_src_default_newsegment),
21652 (gst_base_src_newsegment), (gst_base_src_do_seek),
21653 (gst_base_src_loop), (gst_base_src_start):
21654 * gst/base/gstbasesrc.h:
21655 Make the newsegment event customizable by subclasses.
21657 2005-10-07 Wim Taymans <wim@fluendo.com>
21659 * gst/gstevent.c: (gst_event_new_buffersize),
21660 (gst_event_parse_buffersize):
21662 New event for future idea.
21664 2005-10-07 Andy Wingo <wingo@pobox.com>
21666 * gst/gstelement.c (gst_element_post_message): Doc update.
21668 * docs/gst/gstreamer-sections.txt: Update.
21670 * gst/gstmessage.c (gst_message_new_application): Made into a
21671 function like honest API calls.
21672 (gst_message_new_element): New message type.
21674 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21676 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21677 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21680 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21681 NO_PREROLL from gst_element_change_state to fall through.
21683 2005-10-07 Wim Taymans <wim@fluendo.com>
21685 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21686 (gst_ghost_pad_do_activate_push):
21687 Activating a ghostpad with no internal pad in push mode
21690 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21693 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21694 Fixes compilation on Windows.
21696 2005-10-07 Michael Smith <msmith@fluendo.com>
21698 * tools/gst-inspect.c:
21699 Print out feature and plugin count at the end when printing out
21702 2005-10-04 Michael Smith <msmith@fluendo.com>
21704 * gst/gsterror.c: (_gst_stream_errors_init):
21705 Add another error string used in a few existing plugins.
21708 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21709 * tools/gst-inspect.c: (print_element_info):
21710 When a feature disappears from a plugin (and the feature exists in
21711 the cached registry file), things went horribly wrong. This isn't a
21712 complete fix, we should actually be removing the 'missing' features
21713 from the features list when we load the actual plugin. That's not
21716 2005-10-04 Johan Dahlin <johan@gnome.org>
21718 * check/gst/gstiterator.c: (GST_START_TEST):
21719 * gst/gstbin.c: (gst_bin_iterate_elements),
21720 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21721 * gst/gstelement.c: (gst_element_iterate_pads):
21722 * gst/gstformat.c: (gst_format_iterate_definitions):
21723 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21724 (gst_iterator_new_list), (gst_iterator_filter):
21725 * gst/gstiterator.h:
21726 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21727 Add a GType to GstIterator, update callsites and tests.
21729 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21731 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21732 give events a chance to be handled by event probes when the pad
21735 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21737 * gst/gstevent.c: (gst_event_type_get_name),
21738 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21740 add string representations for event types
21742 2005-10-06 Wim Taymans <wim@fluendo.com>
21744 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21745 Don't use NULL pointers.
21747 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21749 * gst/gst_private.h:
21751 * gst/gstelement.c:
21753 * gst/gstpluginfeature.c:
21754 widen the debug category in output to fit the biggest one we have
21755 add a bus category and use it
21756 play with the colors
21757 fix up some categories
21759 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21761 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21762 add push activation of sink ghost pads.
21763 Andye, please verify
21765 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21767 * gst/gstutils.c: (gst_element_link_pads):
21768 fix a bug in the case where neither element has a pad
21769 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21770 add a test for that case
21772 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21774 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21775 emit have-data before checking for peers. This allows
21776 for probe handlers to connect elements. This helps autopluggers.
21777 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21779 add six checks, linked/unlinked with no/true/false probe
21781 2005-10-04 Wim Taymans <wim@fluendo.com>
21783 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21784 (gst_fake_sink_event), (gst_fake_sink_preroll),
21785 (gst_fake_sink_render), (gst_fake_sink_change_state):
21786 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21787 (gst_fake_src_get_property), (gst_fake_src_create),
21788 (gst_fake_src_stop):
21789 * gst/elements/gstidentity.c: (gst_identity_stop):
21790 Protect last_message with lock.
21792 2005-10-04 Edward Hervey <edward@fluendo.com>
21795 Added precision in the comments for GST_FORMAT_DEFAULT
21797 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21799 * tools/gst-launch.c: (main):
21800 Don't try to run erroneous pipelines.
21802 2005-10-04 Julien MOUTTE <julien@moutte.net>
21804 * gst/gstbus.c: We don't need this header.
21806 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21809 back to development
21811 === release 0.9.3 ===
21813 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21817 Releasing 0.9.3, "Unregistered"
21819 2005-10-03 Andy Wingo <wingo@pobox.com>
21821 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21822 whereby calling a pad's activatepush() function can start a thread
21823 that starts to push or pull before the pad gets the FLUSHING flag
21824 unset. Hack around it by holding the stream lock until the flag is
21825 set. Need to replace this with a proper solution. Together with
21826 the ghost pad fixes, this fixes mp3 playing/tagreading.
21828 * docs/design/part-gstghostpad.txt: Add a note about activation of
21829 proxy pads outside of ghost pads.
21831 * gst/gstghostpad.c: Implement the ghost pad activation design.
21833 2005-10-02 Andy Wingo <wingo@pobox.com>
21835 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21836 It is volatile, after all.
21838 * docs/design/part-gstghostpad.txt: Flesh out activation with
21841 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21844 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21847 Fix (unused) AM_CONDITIONAL tests.
21849 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21851 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21853 * gst/gstutils.c: (gst_pad_query_convert):
21854 Add assertion that makes sure src_val is >=0, just like
21855 gst_query_new_convert() has. (#315895)
21857 2005-09-30 Edward Hervey <edward@fluendo.com>
21859 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21860 Let's not iterate pads we're not interested in, it avoids getting
21861 sky-high refcounts on sinkpad.
21863 2005-09-30 Wim Taymans <wim@fluendo.com>
21865 * gst/gstelement.c: (gst_element_set_state),
21866 (gst_element_change_state):
21867 Small tweak, element in ASYNC remains ASYNC.
21869 2005-09-30 Wim Taymans <wim@fluendo.com>
21871 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21872 Only error is an error.
21874 * gst/gstbin.c: (gst_bin_change_state):
21877 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21878 Also call pad_block in pad alloc.
21880 * gst/gstutils.c: (gst_flow_get_name):
21883 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21885 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21886 (gst_base_src_get_range):
21887 Fix documentation typos. Add some more debug info.
21889 2005-09-29 David Schleef <ds@schleef.org>
21891 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21892 more end-user friendly.
21893 * tools/gst-inspect.c: (main): Check if command-line argument is
21894 a file and attempt to load that file as a plugin.
21896 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21898 * check/gst/gstbin.c:
21899 * check/states/sinks.c:
21900 fix tests for the new warning
21901 * check/gst/gstpipeline.c:
21902 add a test for pipeline and bus interaction
21903 * gst/gstelement.c:
21904 elements should be NULL if they get disposed; add a warning if not
21906 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21909 for 2.6 refcounting, make debug log more correct by printing
21910 the actual refcounts at the time of swap (Wim)
21912 2005-09-29 Andy Wingo <wingo@pobox.com>
21914 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21915 removes signal watches previously added via
21916 gst_bus_add_signal_watch.
21917 (gst_bus_add_signal_watch): Don't return the source id, just store
21918 it on the bus if there wasn't an id already.
21920 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21921 add_signal_watch and remove_signal_watch.
21923 2005-09-29 Edward Hervey <edward@fluendo.com>
21925 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21926 Better if we actually iterate the list :)
21928 2005-09-29 Wim Taymans <wim@fluendo.com>
21930 * check/gst/gstbin.c: (GST_START_TEST):
21931 Change for new bus API.
21933 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21934 (send_messages), (GST_START_TEST), (gstbus_suite):
21935 Change for new bus signal API.
21937 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21938 (gst_bus_source_prepare), (gst_bus_source_check),
21939 (gst_bus_create_watch), (gst_bus_add_watch_full),
21940 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21941 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21943 Remove support for multiple GSources operating on different
21944 message types as it is too complex and unneeded when using
21946 Added support for receiving signals from the bus.
21948 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21950 * docs/libs/tmpl/gstdataprotocol.sgml:
21951 * docs/manual/advanced-dataaccess.xml:
21952 * gst/elements/gstcapsfilter.c:
21954 rename filter-caps to caps property
21956 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21958 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21959 More robust fraction string parsing.
21961 * docs/pwg/appendix-porting.xml:
21962 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21964 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21966 * gst/gstcaps.c: (gst_caps_do_simplify):
21967 Thou shalt not free a structure and then continue using it
21968 in the next loop iteration.
21970 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21972 Add test case for caps simplification.
21974 2005-09-29 Wim Taymans <wim@fluendo.com>
21976 * check/gst/gstbin.c: (GST_START_TEST):
21979 2005-09-29 Wim Taymans <wim@fluendo.com>
21981 * check/gst/gstbin.c: (GST_START_TEST):
21984 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21985 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21986 (find_element), (gst_bin_sort_iterator_next),
21987 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21988 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21989 (gst_bin_change_state), (gst_bin_dispose):
21990 A bin does not have a bus, it gets the bus from the parent.
21992 * gst/gstelement.c: (gst_element_requires_clock),
21993 (gst_element_provides_clock), (gst_element_is_indexable),
21994 (gst_element_is_locked_state), (gst_element_change_state),
21995 (gst_element_set_bus_func):
21998 * gst/gstpipeline.c: (gst_pipeline_class_init),
21999 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
22000 The pipeline provides a bus.
22002 2005-09-28 Johan Dahlin <johan@gnome.org>
22004 * gst/gstmessage.c (gst_message_parse_state_changed): Use
22005 gst_structure_get_enum instead of gst_structure_get_int
22007 * gst/gststructure.c (gst_structure_get_enum): Impl.
22009 * gst/gststructure.h (gst_structure_get_enum): Add
22011 * docs/gst/gstreamer-sections.txt: Ditto
22013 * gst/gstmessage.c (gst_message_new_state_changed): Use
22014 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
22015 which does introspection.
22016 Reviewed by Christian Schaller
22018 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22020 * gst/gstinfo.c: (gst_debug_log_default):
22021 don't do dummy g_strdup()s
22022 * libs/gst/controller/gstcontroller.c:
22023 (on_object_controlled_property_changed),
22024 (gst_controlled_property_new), (gst_controller_new_valist),
22025 (gst_controller_new_list),
22026 (gst_controller_remove_properties_valist), (gst_controller_set),
22027 (gst_controller_get), (gst_controller_sync_values),
22028 (gst_controller_get_value_array), (_gst_controller_class_init),
22029 (gst_controller_get_type):
22030 * libs/gst/controller/gstcontroller.h:
22031 * libs/gst/controller/gstinterpolation.c:
22032 (gst_controlled_property_find_timed_value_node):
22033 convert // to /**/ comments
22035 2005-09-28 Wim Taymans <wim@fluendo.com>
22037 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22038 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22039 (gst_bus_sync_signal_handler):
22041 Added async-message and sync-message signals to the bus.
22042 Added helper BusFunc to emit signals for all posted messages.
22044 * gst/gstmessage.c: (gst_message_type_get_name),
22045 (gst_message_type_to_quark), (gst_message_get_type):
22046 * gst/gstmessage.h:
22047 Register quarks for message names.
22049 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22051 * docs/libs/gstreamer-libs-sections.txt:
22052 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22053 (gst_controller_new_list):
22054 * libs/gst/controller/gstcontroller.h:
22055 added another constructor for language bindings
22057 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22059 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22063 * gst/gstinfo.c: (_gst_debug_init):
22064 slightly more readable color for refcount debugging
22066 2005-09-28 Wim Taymans <wim@fluendo.com>
22068 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22069 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22070 (find_element), (gst_bin_sort_iterator_next),
22071 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22072 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22073 (gst_bin_change_state), (gst_bin_dispose):
22074 Small doc fixes. get_clock -> provide_clock.
22076 * gst/gstelement.c: (gst_element_class_init),
22077 (gst_element_provides_clock), (gst_element_provide_clock),
22078 (gst_element_get_clock), (gst_element_commit_state),
22079 (gst_element_lost_state):
22080 * gst/gstelement.h:
22081 Make get/set_clock() symetric. Add provide_clock vmethod since
22082 that is actually what this function does.
22084 * gst/gstpipeline.c: (gst_pipeline_class_init),
22085 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22086 (gst_pipeline_get_clock):
22087 get_clock -> provide_clock.
22089 2005-09-28 Andy Wingo <wingo@pobox.com>
22091 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22092 lieu of real docs...
22094 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22096 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22098 * gst/elements/gstcapsfilter.c:
22099 * gst/elements/gstfakesink.c:
22100 * gst/elements/gstfakesrc.c:
22101 * gst/elements/gstfdsink.c:
22102 * gst/elements/gstfdsrc.c:
22103 * gst/elements/gstfilesink.c:
22104 * gst/elements/gstfilesrc.c:
22105 * gst/elements/gstidentity.c:
22106 * gst/elements/gsttee.c:
22107 * gst/elements/gsttypefindelement.c:
22108 Make element details static.
22110 2005-09-28 Wim Taymans <wim@fluendo.com>
22112 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22113 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22114 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22115 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22116 (gst_bin_change_state), (gst_bin_dispose):
22117 Some documentation updates.
22118 Clean up dispose handlers.
22120 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22121 * gst/gstpad.c: (gst_pad_dispose):
22122 Clean up dispose handler.
22124 * gst/gstpipeline.c: (gst_pipeline_change_state):
22125 Removed spurious UNLOCK.
22127 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22129 * docs/gst/gstreamer-sections.txt:
22130 * gst/base/gstbasesrc.h:
22131 * gst/gstelement.h:
22135 * gst/gstpipeline.c:
22136 * gst/gstpipeline.h:
22139 added two new functions to the docs
22140 documents all undocumented GstXXXFlags
22141 completed some incomplete docs
22143 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22145 * gst/gstbin.c: (gst_bin_dispose):
22146 * gst/gstelement.c: (gst_element_dispose):
22147 remove now useless and leaky resurrection code in dispose
22148 * gst/base/gstbasesrc.c: (gst_base_src_init):
22149 * gst/gstelementfactory.c: (gst_element_factory_create):
22150 * gst/gstobject.c: (gst_object_set_parent):
22153 2005-09-27 Wim Taymans <wim@fluendo.com>
22155 * docs/design/part-TODO.txt:
22158 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22159 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22160 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22161 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22162 (gst_bin_change_state):
22163 * gst/gstelement.h:
22164 Remove element variable, we keep element info in the iterator now.
22166 2005-09-27 Andy Wingo <wingo@pobox.com>
22168 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22171 2005-09-27 Wim Taymans <wim@fluendo.com>
22173 * check/gst/gstbin.c: (GST_START_TEST):
22174 Enable check that works now.
22176 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22177 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22178 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22179 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22180 (gst_bin_change_state):
22182 Redid the state change algorithm using a topological sort algo.
22183 Handles all cases correctly.
22184 Exposed iterator for state change order.
22186 * gst/gstelement.h:
22187 Temp storage for state changes. Need to get rid of this soon.
22189 2005-09-27 Wim Taymans <wim@fluendo.com>
22191 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22192 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22193 (link_fold_func), (gst_pad_proxy_setcaps):
22194 Leak fixes, the fold functions need to unref the passed object and
22195 _get_parent_*() returns ref to parent.
22197 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22199 * check/gst/gstbuffer.c: (test_make_writable):
22200 Plug leak in test case and fix 'make check-valgrind'
22202 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22204 * gst/gstbuffer.c: (gst_subbuffer_init):
22205 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22206 works correctly in all circumstances (we could have just copied
22207 the parent buffer's readonly flag, but conceptually it seems
22208 cleaner to mark all subbuffers as read-only). (based on patch
22209 by Alessandro Decina, #314710).
22211 * check/gst/gstbuffer.c: (create_read_only_buffer),
22212 (test_make_writable), (test_subbuffer_make_writable),
22214 Add some tests for gst_buffer_make_writable().
22216 2005-09-27 Wim Taymans <wim@fluendo.com>
22218 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22219 use gst_object_has_ancestor().
22221 * gst/gstobject.c: (gst_object_has_ancestor):
22223 gst_object_has_ancestor() copied from gstbin.c as it is a
22226 * tests/instantiate/create.c: (create_all_elements):
22227 * tests/lat.c: (handoff_src), (handoff_sink):
22228 * tests/sched/runxml.c: (main):
22229 * tests/seeking/seeking1.c: (main):
22230 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22232 Fix compilation of some tests.
22234 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22237 Remove comment. GST_TYPE_G_ERROR is here to stay,
22238 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22239 (#316961, #300610).
22241 2005-09-26 Wim Taymans <wim@fluendo.com>
22243 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22244 Added check that shows error in state change order.
22246 2005-09-26 Wim Taymans <wim@fluendo.com>
22248 * gst/gstbin.c: (gst_bin_change_state):
22249 Make state change function use 3 queues again, we were
22250 adding elements in the wrong order.
22252 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22255 * gst/gstpad.c: (gst_pad_dispose):
22256 Added some debug info first.
22258 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22260 * docs/design/draft-push-pull.txt:
22261 * docs/design/part-events.txt:
22262 * docs/design/part-overview.txt:
22263 * docs/design/part-scheduling.txt:
22264 Replace all _pull_region() with _pull_range()
22266 2005-09-26 Andy Wingo <wingo@pobox.com>
22268 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22270 * check/gst-libs/controller.c: Update for controller api change.
22273 * tests/Makefile.am:
22274 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22275 over by GLib bug 118439.
22277 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22278 routines to a function.
22280 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22282 * libs/gst/controller/gsthelper.c:
22283 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22284 (gst_object_sync_values): Renamed from sink_values. Ugh.
22286 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22288 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22289 Renamed from controller_key, as it is exported.
22291 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22293 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22298 * gst/gstpadtemplate.h:
22301 * gst/gstqueryutils.c:
22302 * gst/gstqueryutils.h:
22303 remove queryutils headers after moving the two used functions
22304 to gstquery. also fixes build problem for gstsiddec
22306 2005-09-26 Michael Smith <msmith@fluendo.com>
22308 * tools/gst-launch.1.in:
22309 Correct documentation in manpage of debug syntax
22311 2005-09-26 Wim Taymans <wim@fluendo.com>
22313 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22314 (gst_base_src_is_seekable), (gst_base_src_change_state):
22315 Some more debugging info.
22317 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22319 * docs/gst/gstreamer-sections.txt:
22320 * gst/base/gstbasetransform.h:
22324 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22326 * docs/gst/.cvsignore:
22327 * docs/gst/tmpl/.cvsignore:
22328 * docs/gst/tmpl/gstpipeline.sgml:
22329 * docs/gst/tmpl/gstplugin.sgml:
22330 * gst/gstpipeline.c:
22333 inlined the last two docs files
22334 removed the tmpl directory from cvs (no more conflicts here!)
22336 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22338 * docs/gst/gstreamer-sections.txt:
22339 * docs/gst/tmpl/.cvsignore:
22340 * docs/gst/tmpl/gstpad.sgml:
22341 * docs/gst/tmpl/gstpadtemplate.sgml:
22343 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22344 (gst_pad_finalize), (gst_pad_set_pad_template):
22346 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22347 (gst_pad_template_class_init), (gst_pad_template_init),
22348 (gst_pad_template_dispose), (name_is_valid),
22349 (gst_static_pad_template_get), (gst_pad_template_new),
22350 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22351 (gst_pad_template_pad_created):
22352 * gst/gstpadtemplate.h:
22353 inlined two more docs
22354 factored gstpadtemplate out of gstpad
22356 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22358 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22359 (test_children_state_change_order_semi_sink):
22360 Fix test case: we can't rely on a fixed state change order when
22361 going from READY => PAUSED because the sink might commit its
22362 new state first when the first buffer created by the source
22363 reaches the sink before the source has finished its change state.
22364 (Test case still fails at times, see #316856, comment 5 onwards)
22366 2005-09-24 Wim Taymans <wim@fluendo.com>
22368 * docs/design/part-events.txt:
22369 * docs/design/part-gstbus.txt:
22370 * docs/design/part-gstpipeline.txt:
22371 * docs/design/part-messages.txt:
22372 * docs/design/part-overview.txt:
22373 * docs/design/part-segments.txt:
22377 * gst/gstelement.c:
22380 * gst/gstiterator.c:
22381 Various documentation updates.
22383 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22386 Well, that's embarassing. Luckily we weren't using
22387 GST_CLOCK_DIFF anywhere.
22389 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22391 * common/gtk-doc.mak:
22392 don't fail on building XML, FC4 slave shows a bunch of doc
22393 missing bits that I don't get
22395 * gst/gstpipeline.c:
22396 * gst/gststructure.c:
22399 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22401 * docs/design/part-gstbin.txt:
22402 * docs/design/part-gstbus.txt:
22404 Add blurb about how the bus goes into flushing mode and
22405 drops all messages when its bin goes from READY into NULL
22408 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22410 * docs/gst/gstreamer-sections.txt:
22411 * gst/gststructure.c: (gst_structure_get_clock_time):
22412 * gst/gststructure.h:
22413 add a method to get a GstClockTime out of a structure
22415 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22417 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22418 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22419 Added test to check state change order in bins (can still be made
22420 to fail here under heavy disk load; bails out with 'Push on pad
22421 fakesink:sink0, but it was not activated in push mode').
22423 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22424 Fix state change order when there is only a semi sink (#316856)
22426 * gst/gstbus.c: (gst_bus_class_init):
22427 Use _class_peek_parent(), not _class_ref(); fix docs to say
22428 'default main context' instead of 'mainloop' where that is
22431 * gst/gstelement.c: (gst_element_commit_state),
22432 (gst_element_set_state):
22433 Fix typos in debug messages
22435 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22438 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22439 * gst/gstpluginfeature.c:
22441 various doc updates
22442 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22443 change an assert into an error until it gets fixed properly
22445 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22447 * docs/gst/gstreamer-sections.txt:
22448 * docs/gst/tmpl/.cvsignore:
22449 * docs/gst/tmpl/gstelement.sgml:
22450 * docs/gst/tmpl/gstinfo.sgml:
22451 * docs/gst/tmpl/gstobject.sgml:
22452 * gst/gstelement.c:
22453 * gst/gstelement.h:
22456 * gst/gstobject.c: (gst_object_class_init):
22458 inlined 3 more biiiig doc files and added some missing docs on the fly
22460 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22462 * check/gst/.cvsignore:
22463 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22464 * gst/gstregistryxml.c: (load_plugin),
22465 (gst_registry_xml_save_plugin):
22466 put back source in registry. add checks for find_plugin.
22467 * testsuite/states/bin.c: (assert_state), (empty_bin),
22468 (test_adding_one_element), (main):
22469 * testsuite/states/locked.c: (main):
22470 some compile/run fixes
22472 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22474 * check/gst/gstvalue.c: (GST_START_TEST):
22475 fix leaks in the test itself
22477 2005-09-22 Wim Taymans <wim@fluendo.com>
22479 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22480 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22481 (gst_base_sink_query):
22482 Prepare for more accurate position reporting and query
22485 * gst/gstelement.c: (gst_element_send_event),
22486 (gst_element_set_state):
22489 2005-09-22 Wim Taymans <wim@fluendo.com>
22491 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22492 (gst_query_parse_segment):
22494 More documentation.
22495 Add segment query for future use.
22497 2005-09-22 Wim Taymans <wim@fluendo.com>
22499 * gst/gstbin.c: (gst_bin_add_func):
22500 Some more debug info.
22502 * gst/gstelement.c: (gst_element_send_event):
22503 Simplify send_event
22505 * gst/gstelement.h:
22506 Don't know how flags got broken.
22511 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22513 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22514 Add simplistic test suite for GST_TYPE_DATE serialisation and
22517 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22519 * docs/gst/gstreamer-sections.txt:
22520 * gst/gststructure.c: (gst_structure_set_valist),
22521 (gst_structure_get_date):
22522 * gst/gststructure.h:
22523 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22524 (gst_date_copy), (gst_value_compare_date),
22525 (gst_value_serialize_date), (gst_value_deserialize_date),
22526 (gst_value_transform_date_string),
22527 (gst_value_transform_string_date), (_gst_value_initialize):
22529 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22530 bunch of utility functions along with a hack that checks that
22531 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22532 is required. Part of the grand scheme in #170777.
22534 2005-09-22 Andy Wingo <wingo@pobox.com>
22536 * gst/gstconfig.h.in: Psych out gtk-doc.
22538 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22540 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22542 * tools/gst-inspect.c (print_element_list): Plug some
22543 inconsequential leaks.
22545 * gst/gstregistry.c (gst_registry_get_default): Doc.
22547 * check/gst/gstplugin.c:
22548 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22549 * gst/gstelementfactory.c (gst_element_factory_create):
22550 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22553 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22554 (gst_plugin_feature_load): Doc, don't eat refs.
22556 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22557 (gst_plugin_list_free): Doc.
22558 (gst_plugin_load_file): Doc updates.
22560 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22561 accessors returning refcounted objects, return a ref.
22563 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22564 accessor for caps. IDEMPOTENCE. Oh yes.
22566 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22568 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22570 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22571 (_gst_debug_register_funcptr):
22572 Add mutex to serialise access to the hash table with
22573 the function pointer => function name string mapping;
22574 make that hash table static scope (#316809).
22576 * gst/registries/.cvsignore:
22577 Remove left-over file.
22579 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22581 * docs/pwg/appendix-porting.xml:
22582 And something about newsegment events and caps-on-buffers to
22583 the porting guide (feel free to improve).
22585 2005-09-21 Andy Wingo <wingo@pobox.com>
22587 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22588 data and event probes on the same pad.
22589 (test_buffer_probe_once): Test that removing probes from within
22590 the probe functions works.
22592 2005-09-21 Andy Wingo <wingo@pobox.com>
22594 * check/gst/gstutils.c: New file.
22595 (test_buffer_probe_n_times): A simple buffer probe test. More to
22598 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22599 have-data::buffer, not have-data.
22600 (gst_pad_add_event_probe): Likewise for have-data::event.
22601 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22602 peer' isn't quite right yet though.
22603 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22604 (gst_pad_remove_data_probe): Change to take the guint handler_id
22605 as their arg, not the function+data, which is more glib-like.
22607 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22608 the signal emission to indicate if the data is a buffer or an
22610 (gst_pad_get_type): Initialize buffer and event quarks.
22611 (gst_pad_class_init): have-data is now a detailed signal, yes it
22614 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22616 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22617 * gst/gstutils.c: (gst_util_set_value_from_string),
22618 (gst_util_set_object_arg):
22619 Don't put functional code in g_return_if_fail() or
22620 g_return_val_if_fail() statements, otherwise things will
22621 break when G_DISABLE_CHECKS is defined during compilation.
22623 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22625 * docs/gst/tmpl/.cvsignore:
22626 * docs/gst/tmpl/gstvalue.sgml:
22629 inlied another one and added some obvious docs
22631 2005-09-21 Wim Taymans <wim@fluendo.com>
22633 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22634 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22635 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22636 (gst_fdsrc_get_property), (gst_fdsrc_create):
22637 * gst/elements/gstfdsrc.h:
22638 Properly implement fdsrc. Removed signal and timeout,
22639 better implemented somewhere else.
22641 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22643 * docs/gst/tmpl/.cvsignore:
22644 * docs/gst/tmpl/gstimplementsinterface.sgml:
22645 * gst/gstinterface.c:
22648 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22650 * docs/gst/gstreamer-sections.txt:
22651 * docs/gst/tmpl/.cvsignore:
22652 * docs/gst/tmpl/gstenumtypes.sgml:
22653 remove obsolete doc file
22655 2005-09-21 David Schleef <ds@schleef.org>
22657 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22658 little beer, fix a little leak.
22660 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22662 * docs/gst/gstreamer-docs.sgml:
22663 * docs/gst/gstreamer-sections.txt:
22664 * docs/gst/tmpl/.cvsignore:
22668 * gst/gstelement.h:
22669 * gst/gstindex.c: (gst_index_class_init):
22671 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22672 (gst_index_factory_class_init), (gst_index_factory_init),
22673 (gst_index_factory_finalize), (gst_index_factory_new),
22674 (gst_index_factory_destroy), (gst_index_factory_find),
22675 (gst_index_factory_create), (gst_index_factory_make):
22676 * gst/gstindexfactory.h:
22677 * gst/gstpluginfeature.c:
22678 * gst/gstpluginfeature.h:
22679 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22680 more docs inlined, splitted gstindex.{c,h}
22682 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22684 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22687 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22689 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22690 Set sync to FALSE by default.
22692 2005-09-20 Wim Taymans <wim@fluendo.com>
22694 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22695 (gst_base_sink_init):
22696 Make sync property settable from subclass.
22698 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22699 (gst_fake_sink_change_state):
22700 Set sync to FALSE by default.
22702 2005-09-20 Wim Taymans <wim@fluendo.com>
22704 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22705 * tools/gst-launch.c: (main):
22706 The timeout handler should have lower priority than the source
22707 so we don't timeout before popping a message with 0 timeout.
22708 Dump error messages after failed state change.
22710 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22712 * tools/gst-inspect.c: (print_element_properties_info):
22715 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22717 * check/gst/gstevent.c:
22718 * gst/elements/gstfakesink.c:
22719 * gst/elements/gstfakesink.h:
22720 remove the sync property from fakesink.
22721 has the side effect of setting sync TRUE
22722 for fakesink, which is a change. Anyone who knows how
22723 to fix this nicely in a GObject-y way, feel free.
22725 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22727 * docs/gst/gstreamer-docs.sgml:
22728 remove probe refsection
22730 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22732 * check/Makefile.am:
22733 disable valgrinding the controller test again
22734 * docs/gst/gstreamer-sections.txt:
22735 update for api-changes
22737 2005-09-20 Wim Taymans <wim@fluendo.com>
22739 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22740 (gst_base_sink_set_property), (gst_base_sink_get_property),
22741 (gst_base_sink_do_sync):
22742 * gst/base/gstbasesink.h:
22743 Added sync property to basesink to disable clock sync.
22745 2005-09-20 Andy Wingo <wingo@pobox.com>
22747 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22748 eating the caller's refcount.
22750 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22751 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22754 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22755 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22756 of GLib 2.8 public, so we can know which refcount to check in
22759 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22760 (gst_object_init): Only set the gst refcount if we're going ahead
22761 with the refcount hack.
22763 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22765 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22766 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22767 more leaks plumbed, added more debug-logging
22771 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22773 * gst/gstmessage.c:
22774 remove include of gstmemchunk.h
22776 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22778 * gst/gstclock.c: (_gst_clock_id_free):
22779 Commit from the Political Party For More Atomic CVS Commits,
22780 so that people don't waste too much of their day fishing
22781 out obvious leaks out of massive commits.
22782 Oh, and fix a pretty damn obvious leak in the memchunk
22785 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22787 * check/Makefile.am:
22788 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22789 plug mem-leak, re-add to valgrindable tests
22791 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22794 unbreak the build for those who have chronic arthritis
22795 and typing "make check" is just too taxing on the hands
22797 2005-09-20 Andy Wingo <wingo@pobox.com>
22799 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22800 really want it out, you should fix plugins at the same time.
22802 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22805 * docs/gst/gstreamer-sections.txt:
22807 added missing symbols to api docs
22808 disable ref-count hack if we have glib >= 2.8
22810 2005-09-19 David Schleef <ds@schleef.org>
22812 * docs/gst/Makefile.am: Ignore a few more internal headers
22813 * docs/gst/gstreamer-docs.sgml: Remove old sections
22814 * docs/gst/gstreamer-sections.txt: Remove old sections
22815 * docs/gst/tmpl/gstobject.sgml: update
22816 * docs/gst/tmpl/gstplugin.sgml: update
22817 * docs/gst/tmpl/gstpluginfeature.sgml: update
22818 * docs/random/ds/0.9-suggested-changes: update.
22819 * gst/Makefile.am: remove memchunk and trashstack, since they're
22821 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22822 * gst/gst.h: don't include some headers
22823 * gst/gstchildproxy.c: add gstmarshal.h
22824 * gst/gstclock.c: Don't use memchunks
22825 * gst/gstminiobject.c: Add some docs
22826 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22827 * gst/gstobject.h: same
22828 * gst/gstplugin.c: include gstmacros.h
22829 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22830 * gst/gstquery.c: don't use memchunks
22831 * gst/gstregistry.c: rename gst_registry_deinit()
22832 * gst/gstregistry.h: same
22834 2005-09-19 David Schleef <ds@schleef.org>
22836 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22837 * docs/libs/gstreamer-libs-sections.txt:
22838 * docs/libs/tmpl/gstgetbits.sgml:
22839 * docs/libs/tmpl/gstputbits.sgml:
22841 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22843 * win32/gstenumtypes.c:
22844 * win32/gstenumtypes.h:
22847 2005-09-19 Wim Taymans <wim@fluendo.com>
22849 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22850 Automatically PAUSE and RESUME a pipeline when a flushing seek
22853 2005-09-19 Andy Wingo <wingo@pobox.com>
22855 * gst/gstregistry.h: Spacing fixen.
22857 2005-09-19 Wim Taymans <wim@fluendo.com>
22859 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22860 Handle state change failure more correctly.
22862 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22864 * check/Makefile.am:
22865 * check/pipelines/cleanup.c: (run_pipeline):
22866 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22868 enable cleanup again after fixing the leak
22870 some more info on docs
22872 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22874 * check/Makefile.am:
22875 re-enable tests now that leaks are plugged
22877 * check/gst/gstbin.c:
22878 * check/gst/gstpipeline.c:
22879 add some more tests while fixing leaks
22880 * common/check.mak:
22881 make sure binaries are uptodate when valgrinding/gdbing
22883 * gst/gstelementfactory.c:
22884 remove a ref too many, and add a FIXME for when we get
22885 round to disposing of classes
22887 fix the refcounting when loading a plugin from a file and
22888 the code pretends that the pointer is the same even though
22889 of course it can change
22890 * gst/gstpluginfeature.c:
22891 unref plugins marked cached (a bit confusing as a name)
22892 as the docs state should be done
22893 various doc additions to explain refcounting
22894 * gst/gstregistry.c:
22895 * gst/gstregistryxml.c:
22898 2005-09-19 Wim Taymans <wim@fluendo.com>
22900 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22901 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22902 (send_messages), (GST_START_TEST), (gstbus_suite):
22903 * check/gst/gstpipeline.c: (GST_START_TEST):
22904 * check/pipelines/cleanup.c: (run_pipeline):
22905 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22907 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22908 (gst_bus_source_check), (gst_bus_source_dispatch),
22909 (gst_bus_create_watch), (gst_bus_add_watch_full),
22910 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22912 * tools/gst-launch.c: (event_loop):
22913 * tools/gst-md5sum.c: (event_loop):
22914 GstBusHandler -> GstBusFunc, return value has the same meaning as
22915 any other GSource (FALSE == remove source).
22916 _add_watch() and _add_watch_full() now take a MessageType mask to
22917 only handle specific types of messages.
22918 _poll() returns the GstMessage instead of the message type to avoid
22920 _have_pending() takes a MessageType mask now too.
22921 Added testsuite for multiple bus watches.
22922 Fix testsuites and applications for new bus API.
22924 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22926 * check/Makefile.am:
22927 mark a bunch of the tests as to fix until we fix them
22929 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22931 * common/check.mak:
22932 use GST_PLUGIN settings for valgrind tests as well, so we're
22933 valgrinding the correct thing
22934 * gst/gst.c: (init_post):
22937 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22939 * gst/gst.c: (init_post), (gst_deinit):
22940 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22941 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22942 * gst/gstindex.c: (gst_index_factory_class_init),
22943 (gst_index_factory_finalize):
22944 * gst/gstobject.c: (gst_object_dispose):
22945 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22946 (gst_plugin_load_file), (gst_plugin_desc_free):
22947 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22948 (gst_plugin_feature_finalize):
22949 * gst/gstregistry.c: (gst_registry_class_init),
22950 (gst_registry_init), (gst_registry_finalize),
22951 (gst_registry_get_default), (gst_registry_deinit):
22952 * gst/gstregistry.h:
22953 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22954 various cleanups and memleak plugging. make valgrind is happy now.
22956 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22958 * common/check.mak:
22959 add a check-valgrind target
22961 2005-09-18 David Schleef <ds@schleef.org>
22963 * tools/gst-inspect.c: Revert the GOption code.
22965 2005-09-17 David Schleef <ds@schleef.org>
22967 * check/Makefile.am: Fix environment variables.
22968 * check/gst/gstplugin.c: Fix for API changes.
22969 * tools/gst-inspect.c: Fix for API changes.
22970 * tools/gst-xmlinspect.c: Fix for API changes.
22971 * gst/gstelementfactory.c:
22974 * gst/gstpluginfeature.c:
22975 * gst/gstpluginfeature.h:
22976 * gst/gstregistry.c:
22977 * gst/gstregistry.h:
22978 * gst/gstregistryxml.c:
22979 * gst/gsttypefind.c:
22980 * gst/gsttypefindfactory.c:
22981 * gst/indexers/gstfileindex.c:
22982 * gst/indexers/gstmemindex.c:
22983 * gst/schedulers/Makefile.am:
22984 Change registry to keep track of both plugins and features,
22985 removing the feature tracking from plugins themselves.
22987 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22989 * check/Makefile.am:
22990 * tools/gst-register.1.in:
22991 remove gst-register
22993 2005-09-15 David Schleef <ds@schleef.org>
22995 * check/gst/gstplugin.c:
22996 * gst/gstelementfactory.c:
22998 * gst/gstpluginfeature.c:
22999 * gst/gstregistry.c:
23000 Getting tired of debugging. Disabled all the unreffing of
23001 plugins and features, which fixes the segfaults, but of
23002 course leaks like crazy. At least playbin works.
23004 2005-09-15 David Schleef <ds@schleef.org>
23006 * check/gst/gstplugin.c: (register_check_elements),
23007 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
23009 * gst/elements/gsttypefindelement.c: Fix refcounting.
23010 * gst/gsttypefind.c:
23011 * gst/gsttypefindfactory.c:
23012 * gst/gsttypefindfactory.h:
23014 2005-09-15 David Schleef <ds@schleef.org>
23016 * gst/gstindex.c: get refcounting correct.
23017 * gst/gstregistry.c: Handle the case where a feature/plugin is
23020 2005-09-15 David Schleef <ds@schleef.org>
23022 * check/Makefile.am:
23023 * check/gst/gstplugin.c: Add test
23024 * gst/gstplugin.c: Fix problems noticed by testsuite
23026 * gst/gstregistry.c:
23027 * gst/gstregistry.h:
23029 2005-09-15 David Schleef <ds@schleef.org>
23031 * gst/gstplugin.c: Implement semi-decent recounting and locking
23032 in plugins and plugin features.
23034 * gst/gstpluginfeature.c:
23035 * gst/gstpluginfeature.h:
23036 * gst/gstregistry.c:
23038 2005-09-15 Michael Smith <msmith@fluendo.com>
23040 * gst/gstregistry.c: (gst_registry_get_feature_list):
23041 Implement this. Makes oggdemux work; decodebin still broken.
23043 2005-09-14 David Schleef <ds@schleef.org>
23045 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23047 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23048 * gst/check/Makefile.am:
23049 * libs/gst/controller/Makefile.am:
23050 * libs/gst/dataprotocol/Makefile.am:
23052 2005-09-14 David Schleef <ds@schleef.org>
23054 * configure.ac: Remove getbits library. Nothing uses it, and
23055 it should be in something like liboil if someone did want
23057 * libs/gst/Makefile.am:
23058 * libs/gst/getbits/Makefile.am:
23059 * libs/gst/getbits/gbtest.c:
23060 * libs/gst/getbits/getbits.c:
23061 * libs/gst/getbits/getbits.h:
23062 * libs/gst/getbits/gstgetbits_generic.c:
23063 * libs/gst/getbits/gstgetbits_i386.s:
23064 * libs/gst/getbits/gstgetbits_inl.h:
23066 2005-09-14 David Schleef <ds@schleef.org>
23068 * gst/Makefile.am: Dist glib-compat.h
23070 2005-09-14 David Schleef <ds@schleef.org>
23072 * configure.ac: Remove gst/registries, since it's no longer used.
23073 * gst/registries/Makefile.am:
23074 * gst/registries/gstlibxmlregistry.c:
23075 * gst/registries/gstlibxmlregistry.h:
23076 * gst/registries/gstxmlregistry.c:
23077 * gst/registries/gstxmlregistry.h:
23078 * gst/registries/registrytest.c:
23080 2005-09-14 David Schleef <ds@schleef.org>
23082 * gst/glib-compat.h:
23083 * gst/gstregistryxml.c:
23084 Convergence is near. Seriously.
23086 2005-09-14 David Schleef <ds@schleef.org>
23088 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23089 * gst/glib-compat.h:
23090 Attempt #4 to appease the buildbots.
23092 2005-09-14 David Schleef <ds@schleef.org>
23094 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23097 2005-09-14 David Schleef <ds@schleef.org>
23099 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23102 2005-09-14 David Schleef <ds@schleef.org>
23104 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23107 2005-09-14 David Schleef <ds@schleef.org>
23109 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23110 * gst/glib-compat.h: Add some functions that are in newer versions
23111 of glib than we care to require.
23112 * gst/gstregistryxml.c: Use them.
23114 2005-09-14 David Schleef <ds@schleef.org>
23116 * po/POTFILES.in: remove gst-register.c
23118 2005-09-14 David Schleef <ds@schleef.org>
23120 * docs/gst/gstreamer-docs.sgml:
23121 * docs/gst/gstreamer-sections.txt:
23122 * docs/gst/gstreamer.types:
23123 * docs/gst/tmpl/gstelement.sgml:
23124 * docs/gst/tmpl/gstplugin.sgml:
23125 * docs/gst/tmpl/gstpluginfeature.sgml:
23126 Documentation updates for registry changes.
23128 2005-09-14 David Schleef <ds@schleef.org>
23130 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23131 because we don't require glib-2.8.
23133 2005-09-14 David Schleef <ds@schleef.org>
23135 * gst/gstregistryxml.c: Added. Essentially moved out of the
23136 registries directory.
23138 2005-09-14 David Schleef <ds@schleef.org>
23140 * check/Makefile.am:
23141 * check/generic/states.c:
23145 * gst/gst_private.h:
23146 * gst/gstelementfactory.c:
23151 * gst/gstpluginfeature.c:
23152 * gst/gstpluginfeature.h:
23153 * gst/gstregistry.c:
23154 * gst/gstregistry.h:
23155 * gst/gstregistrypool.c: remove
23156 * gst/gstregistrypool.h: remove
23157 * gst/gsttypefind.c:
23158 * gst/gsttypefindfactory.c:
23160 * tools/Makefile.am:
23161 * tools/gst-compprep.c:
23162 * tools/gst-inspect.c:
23163 * tools/gst-register.c: remove
23164 * tools/gst-xmlinspect.c:
23165 Registry rewrite. Changes registry from being a file created
23166 by a tool into a simple cache file created automatically by
23167 libgstreamer. Removed gst-register (because it's no longer
23168 needed). Remove registry pools, because we only have one
23169 registry implementation (XML). Fix up other subsystems as
23172 2005-09-13 Michael Smith <msmith@fluendo.com>
23174 * gst/gstconfig.h.in:
23175 Don't Use windows linking attributes for MinGW. Fixes #316157
23177 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23179 * gst/gstutils.c: (set_state_async_thread_func),
23180 (gst_element_set_state_async):
23181 Apparently people think it's better if this function doesn't
23182 try to set the state to whatever state was asked for on the first
23183 call to this function for any object. Seriously.
23185 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23187 * check/gst/gstpipeline.c: (GST_START_TEST):
23188 * docs/gst/gstreamer-sections.txt:
23189 * gst/gstutils.c: (set_state_async_thread_func),
23190 (gst_element_set_state_async):
23192 add a "gst_element_set_state_async" method that
23193 sets the state and starts a thread to make sure the state
23194 change completes as best as it can
23196 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23198 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23199 codify design+behaviour in testsuite after discussion
23201 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23203 * docs/gst/tmpl/gstelement.sgml:
23204 * docs/manual/appendix-quotes.xml:
23206 * gst/gstelement.c: (gst_element_set_state):
23209 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23211 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23212 (gst_base_transform_prepare_output_buf),
23213 (gst_base_transform_handle_buffer):
23214 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23215 (gst_capsfilter_prepare_buf):
23216 Remove the requirement for sub-classes to call the parent
23217 implementation of prepare_output_buffer with a wrapper function.
23219 * gst/gsttaglist.h:
23220 * gst/gsttagsetter.h:
23221 Fix #define wrapper
23223 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23225 * docs/gst/gstreamer-sections.txt:
23228 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23230 * docs/gst/gstreamer-sections.txt:
23231 * docs/gst/tmpl/gstelement.sgml:
23232 * docs/gst/tmpl/gstplugin.sgml:
23233 * gst/gstminiobject.c:
23235 docs now stop throwing warnings
23237 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23239 * docs/gst/gstreamer-sections.txt:
23240 * docs/gst/gstreamer.types:
23241 * docs/gst/tmpl/gstpad.sgml:
23242 * docs/gst/tmpl/gsttypes.sgml:
23243 * gst/base/gstadapter.h:
23244 * gst/base/gstbasesink.h:
23245 * gst/base/gstbasesrc.h:
23251 * gst/gstelement.h:
23253 * gst/gstmessage.h:
23255 * gst/gststructure.c:
23256 * gst/registries/gstlibxmlregistry.h:
23257 various documentation fixes
23259 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23261 * docs/gst/gstreamer-sections.txt:
23262 * docs/gst/tmpl/gstvalue.sgml:
23263 rearrange gstvalue section
23264 * gst/gstutils.c: (gst_element_state_get_name):
23266 * gst/gstvalue.c: (_gst_value_initialize):
23270 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23272 * check/gst-libs/controller.c:
23273 Header include fix.
23274 * gst/base/gstbasetransform.c:
23275 (gst_base_transform_default_prepare_buf),
23276 (gst_base_transform_handle_buffer):
23277 * gst/base/gstbasetransform.h:
23278 Some more basetransform changes and fixes to enable sub-classes
23279 that modify buffer metadata only.
23280 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23281 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23282 (gst_capsfilter_prepare_buf):
23283 If the output pad has fixed allowed caps and input buffers
23284 don't have any, set the fixed caps on outgoing buffers.
23286 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23287 * check/elements/identity.c: (GST_START_TEST):
23288 Make the error a little clearer when the test fails because
23289 identity made a copy of the buffer.
23290 * docs/gst/gstreamer-sections.txt:
23291 New symbols in gstbasetransform.h
23292 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23293 (gst_base_transform_init), (gst_base_transform_transform_size),
23294 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23295 (gst_base_transform_default_prepare_buf),
23296 (gst_base_transform_get_unit_size),
23297 (gst_base_transform_buffer_alloc),
23298 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23299 (gst_base_transform_change_state),
23300 (gst_base_transform_set_passthrough),
23301 (gst_base_transform_set_in_place),
23302 (gst_base_transform_is_in_place):
23303 * gst/base/gstbasetransform.h:
23304 Change BaseTransform to separate in_place operate from same_caps
23305 output. in_place implies that the element can perform the transform
23306 on incoming buffers in-place, even if the caps on the output are
23308 Sub-class elements can now implement special buffer allocation
23309 methods for outgoing buffers if they wish to.
23310 Big documentation addition.
23311 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23312 * gst/elements/gstelements.c:
23313 Changes for basetransform modifications.
23314 * gst/elements/Makefile.am:
23315 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23316 Compile fix. Extra debug output.
23318 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23320 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23322 add tests for valid pad naming
23323 * gst/check/gstcheck.c: (gst_check_log_message_func),
23324 (gst_check_log_critical_func):
23326 remove printing of code, it is fragile when the code contains
23327 % and the line number is enough info
23328 * gst/check/gstcheck.h:
23329 * gst/gstpad.c: (gst_pad_template_new):
23332 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23335 say what CHECK flags we use
23336 * docs/libs/gstreamer-libs.types:
23337 * libs/gst/controller/Makefile.am:
23338 * libs/gst/controller/gst-controller.c:
23339 * libs/gst/controller/gst-controller.h:
23340 * libs/gst/controller/gst-helper.c:
23341 * libs/gst/controller/gst-interpolation.c:
23342 * libs/gst/controller/gstcontroller.c:
23343 * libs/gst/controller/gsthelper.c:
23344 * libs/gst/controller/gstinterpolation.c:
23345 * tools/gst-inspect.c: (print_plugin_info):
23346 we don't use dashes in header names
23348 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23350 * check/Makefile.am:
23351 * check/gst/.cvsignore:
23352 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23353 (gst_pipeline_suite), (main):
23354 adding a test for pipelines and state changes
23355 * gst/gstutils.c: (get_state_func):
23357 * gstreamer.spec.in:
23360 2005-09-08 Michael Smith <msmith@fluendo.com>
23362 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23363 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23364 (gst_file_src_is_seekable), (gst_file_src_get_size),
23365 (gst_file_src_start):
23366 * gst/elements/gstfilesrc.h:
23367 Various fixes for unseekable, unmmapable, and non-normal files, so
23368 that fallback to read() rather than mmap() works.
23369 * gst/gstevent.c: (gst_event_new_newsegment):
23370 Allow newsegment events with segment_start == segment_end, as will
23371 correctly happen if you use filesrc on a zero-size file, for
23374 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23376 * gst/gstplugin.c: (gst_plugin_load_file):
23377 Call g_module_close when we don't load the module
23379 * gst/registries/gstlibxmlregistry.c:
23380 (gst_xml_registry_get_property):
23381 Port leak fix from 0.8
23383 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23385 * docs/gst/gstreamer-docs.sgml:
23386 * docs/gst/tmpl/.cvsignore:
23387 * docs/gst/tmpl/gsttrace.sgml:
23388 * docs/gst/tmpl/gsttrashstack.sgml:
23391 * gst/gstelement.h:
23393 * gst/gstmessage.c:
23394 * gst/gstmessage.h:
23397 * gst/gsttaginterface.c:
23398 * gst/gsttaginterface.h:
23399 * gst/gsttaglist.c:
23400 * gst/gsttaglist.h:
23401 * gst/gsttagsetter.c:
23402 * gst/gsttagsetter.h:
23405 * gst/gsttrashstack.c:
23406 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23407 inlined docs for gsttrace, gsttrashstack
23409 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23412 * gst/elements/gstbufferstore.h:
23413 * gst/elements/gsttypefindelement.c:
23414 * gst/elements/gsttypefindelement.h:
23416 * gst/gsttypefind.c:
23417 * gst/gsttypefind.h:
23418 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23419 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23420 (gst_type_find_factory_dispose),
23421 (gst_type_find_factory_unload_thyself),
23422 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23423 (gst_type_find_factory_get_caps),
23424 (gst_type_find_factory_get_extensions),
23425 (gst_type_find_factory_call_function):
23426 * gst/gsttypefindfactory.h:
23427 * gst/registries/gstlibxmlregistry.c:
23428 * gst/registries/gstxmlregistry.c:
23429 splitted gsttypefind into gsttypefind, gsttypefindfactory
23431 2005-09-07 Andy Wingo <wingo@pobox.com>
23433 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23434 condition whereby the pad's task function is entered before the
23435 pad_mode variable was set.
23437 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23439 * gst/gstpad.c: (gst_pad_alloc_buffer):
23440 Catch misbehaving pad_alloc functions that don't
23441 set up caps and do it for them.
23443 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23445 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23446 test for pipe!=NULL
23447 * docs/gst/tmpl/.cvsignore:
23448 * docs/gst/tmpl/gstmemchunk.sgml:
23449 * docs/gst/tmpl/gstparse.sgml:
23450 * docs/gst/tmpl/gsttaglist.sgml:
23451 * docs/gst/tmpl/gsttagsetter.sgml:
23452 * docs/gst/tmpl/gsttypefind.sgml:
23453 * docs/gst/tmpl/gsttypefindfactory.sgml:
23454 * gst/gstmemchunk.c:
23457 * gst/gsttaginterface.c:
23458 * gst/gsttypefind.c:
23459 * gst/gsttypefind.h:
23462 === release 0.9.2 ===
23464 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23469 releasing 0.9.2, "South"
23471 2005-09-05 Andy Wingo <wingo@pobox.com>
23473 * gst/registries/gstxmlregistry.h:
23474 * gst/registries/gstxmlregistry.c: Um... resurrect...
23476 * gst/registries/gstxmlregistry.h:
23477 * gst/registries/gstxmlregistry.c: and update to newer API.
23478 Incidentally they should be a bit faster now that they don't have
23481 2005-09-05 Andy Wingo <wingo@pobox.com>
23483 * gst/registries/gstxmlregistry.h:
23484 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23485 replaced by the libxml registry a while back
23487 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23489 * docs/gst/tmpl/gstplugin.sgml:
23490 * gst/elements/gstelements.c:
23492 * gst/gstplugin.c: (gst_plugin_register_func),
23493 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23494 (gst_plugin_get_source):
23496 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23497 (gst_xml_registry_save_plugin):
23498 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23499 (gst_xml_registry_save_plugin):
23500 * tools/gst-inspect.c: (print_plugin_info):
23501 add a "source" plugin description field, to represent the source
23502 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23503 will set it to PACKAGE, which is automake's idea of the name of
23504 the source project.
23506 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23511 * docs/Makefile.am:
23512 * docs/faq/Makefile.am:
23513 * docs/gst/tmpl/gstelement.sgml:
23514 * docs/gst/tmpl/gsttypes.sgml:
23515 * docs/htmlinstall.mak:
23516 * docs/manual/Makefile.am:
23517 * docs/pwg/Makefile.am:
23518 reorganize doc build a little
23519 split out docbook and gtk-doc stuff
23520 have two separate --enable's and enable them through autogen
23521 but disable by default in configure (to be similar to other
23523 * gstreamer.spec.in:
23524 clean up docs install
23542 translation updates
23544 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23546 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23549 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23550 (gst_fake_sink_change_state):
23551 Make state change function thread-safe.
23553 * gst/gstpad.c: (gst_pad_alloc_buffer):
23554 Set offset on generic buffer allocated by fallback.
23556 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23558 * docs/gst/gstreamer-sections.txt:
23559 * docs/gst/tmpl/gstelement.sgml:
23561 * libs/gst/controller/gst-controller.c:
23562 (gst_controlled_property_set_interpolation_mode),
23563 (gst_controlled_property_new),
23564 (gst_controller_find_controlled_property):
23565 run the wingo-magic script against the docs
23567 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23569 * docs/gst/gstreamer-docs.sgml:
23570 * docs/gst/gstreamer-sections.txt:
23571 * docs/gst/tmpl/.cvsignore:
23572 * docs/gst/tmpl/gstelementdetails.sgml:
23573 * docs/gst/tmpl/gstelementfactory.sgml:
23576 * gst/gstelementfactory.c:
23577 * gst/gstelementfactory.h:
23578 merged elementdetails docs into elementfactory docs
23581 2005-09-02 Andy Wingo <wingo@pobox.com>
23583 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23584 consider this enum an enum and not a flags.
23586 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23588 * docs/gst/gstreamer-docs.sgml:
23589 * docs/gst/tmpl/.cvsignore:
23590 * docs/gst/tmpl/gstghostpad.sgml:
23591 * docs/gst/tmpl/gstiterator.sgml:
23592 * docs/gst/tmpl/gstmacros.sgml:
23593 * docs/gst/tmpl/gstrealpad.sgml:
23594 * docs/gst/tmpl/gstregistry.sgml:
23595 * docs/gst/tmpl/gstregistrypool.sgml:
23596 * docs/gst/tmpl/gststructure.sgml:
23597 * docs/gst/tmpl/gstsystemclock.sgml:
23598 * docs/gst/tmpl/gsttrace.sgml:
23599 * gst/gstghostpad.c:
23601 * gst/gstmemchunk.c:
23602 * gst/gstmemchunk.h:
23604 * gst/gstregistry.c:
23605 * gst/gstregistrypool.c:
23606 * gst/gststructure.c:
23607 * gst/gstsystemclock.c:
23610 2005-09-02 Andy Wingo <wingo@pobox.com>
23612 * gst/gstelement.h (GstState): Renamed from GstElementState,
23613 changed to be a normal enum instead of flags.
23614 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23615 munged to be GST_STATE_CHANGE_*.
23616 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23617 work with the new state representation.
23618 (GstStateChange): New enumeration of possible state transitions.
23619 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23620 (GstElementClass::change_state): Pass the GstStateChange along as
23621 an argument. Helps language bindings, so they don't have to use
23622 tricky lock-needing macros like GST_STATE_CHANGE ().
23624 * scripts/update-states (file): New script. Run it on a file to
23625 update it for state naming and API changes. Updates files in
23628 * All files updated for the new API.
23630 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23632 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23633 * gst/gstutils.c: (gst_util_set_value_from_string),
23634 (gst_util_set_object_arg):
23635 fix a bunch of unchecked return values
23636 * tools/gst-complete.c: (main):
23637 * gstreamer.spec.in:
23640 2005-09-01 Wim Taymans <wim@fluendo.com>
23642 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23643 (gst_base_sink_event), (gst_base_sink_do_sync),
23644 (gst_base_sink_handle_event):
23645 * gst/base/gstbasesink.h:
23646 Handle newsegments more correctly.
23651 * gst/gstevent.c: (gst_event_new_newsegment):
23652 A newsegment cannot have a start_time of -1
23654 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23656 * win32/gstenumtypes.c:
23657 * win32/gstenumtypes.h:
23660 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23662 * libs/gst/controller/gst-controller.c:
23663 (gst_controlled_property_set_interpolation_mode),
23664 (gst_controlled_property_new):
23665 fixed boolean again
23667 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23669 * docs/faq/gst-uninstalled:
23674 * gst/gstutils.c: (gst_element_link_filtered):
23676 add gst_element_link_filtered
23678 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23680 * docs/gst/gstreamer-docs.sgml:
23681 * docs/gst/gstreamer-sections.txt:
23682 * docs/gst/tmpl/.cvsignore:
23683 * docs/gst/tmpl/gsterror.sgml:
23684 * docs/gst/tmpl/gstfilter.sgml:
23685 * docs/gst/tmpl/gsturihandler.sgml:
23686 * docs/gst/tmpl/gsturitype.sgml:
23687 * docs/gst/tmpl/gstutils.sgml:
23688 * docs/gst/tmpl/gstxml.sgml:
23693 * gst/gsturitype.c:
23696 inlined more docs, fixed double id-ref
23698 2005-08-31 Wim Taymans <wim@fluendo.com>
23700 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23701 (gst_base_transform_handle_buffer):
23702 Passthrough elements don't need the caps as they don't care.
23704 2005-08-31 Wim Taymans <wim@fluendo.com>
23706 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23707 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23708 Don't leak refcounts on buffers.
23710 2005-08-31 Wim Taymans <wim@fluendo.com>
23712 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23713 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23714 (gst_base_transform_chain), (gst_base_transform_change_state):
23715 * gst/base/gstbasetransform.h:
23716 Handle the case where we are not negotiated more gracefully.
23718 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23720 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23721 (gst_file_src_map_region):
23722 Set READONLY flag on mmap'ed buffers, otherwise
23723 gst_buffer_make_writable() won't work properly (#314708).
23725 2005-08-31 Wim Taymans <wim@fluendo.com>
23727 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23728 passthrough elements can even do inplace on non writable
23729 buffers (as they don't touch them).
23731 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23733 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23734 (gst_test_mono_source_set_property),
23735 (gst_test_mono_source_class_init), (GST_START_TEST),
23736 (gst_controller_suite):
23737 more tests (hehe I have the most)
23739 describe popping messages whenusing mulltiple sources
23740 * libs/gst/controller/gst-controller.c:
23741 (gst_controlled_property_set_interpolation_mode),
23742 (gst_controlled_property_new):
23743 * libs/gst/controller/gst-controller.h:
23744 * libs/gst/controller/gst-interpolation.c:
23745 implement boolean properties
23747 2005-08-31 Wim Taymans <wim@fluendo.com>
23749 * gst/gstminiobject.c: (gst_mini_object_ref):
23750 Cannot assert that the refcount has to be positive
23751 since a disposed object can be resurrected.
23753 2005-08-31 Wim Taymans <wim@fluendo.com>
23755 * gst/gstpad.c: (gst_pad_init):
23756 Revert change, need to first fix badly behaving
23759 2005-08-30 Wim Taymans <wim@fluendo.com>
23761 * check/elements/fakesrc.c: (setup_fakesrc):
23762 * check/elements/identity.c: (setup_identity):
23763 Activate pads before using them.
23765 2005-08-30 Wim Taymans <wim@fluendo.com>
23767 * gst/base/gstadapter.c: (gst_adapter_flush):
23768 Flushing out 0 bytes is ok for this function.
23770 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23771 no newsegment gives a warning and sets the start/stop to
23774 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23775 (gst_base_transform_set_passthrough):
23778 * gst/gstminiobject.c: (gst_mini_object_ref):
23779 Check refcount here too.
23781 * gst/gstpad.c: (gst_pad_init):
23782 Pads are initially flushing and refusing data.
23784 * gst/gstutils.c: (gst_element_link_pads_filtered):
23785 When adding a capsfilter element make sure it has the
23786 same state as the parent bin.
23788 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23790 * docs/gst/tmpl/.cvsignore:
23791 * docs/gst/tmpl/gstformat.sgml:
23792 * docs/gst/tmpl/gstversion.sgml:
23796 * gst/gstversion.h.in:
23797 more docs and two more inlined
23799 2005-08-30 Wim Taymans <wim@fluendo.com>
23801 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23802 Don't sync to clock.
23804 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23806 * docs/gst/gstreamer-sections.txt:
23807 ultral33t func10ns deserve to appear in the docs actually
23808 * docs/gst/tmpl/.cvsignore:
23809 * docs/gst/tmpl/gstcompat.sgml:
23810 * docs/gst/tmpl/gstconfig.sgml:
23811 * gst/check/gstcheck.c:
23813 * gst/gstconfig.h.in:
23816 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23818 * docs/gst/tmpl/.cvsignore:
23819 * docs/gst/tmpl/gstquery.sgml:
23820 * docs/gst/tmpl/gstutils.sgml:
23823 inlined and extended docs
23825 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23827 * check/gst-libs/controller.c: (GST_START_TEST),
23828 (gst_controller_suite):
23830 * docs/gst/tmpl/gstutils.sgml:
23831 * docs/libs/gstreamer-libs-sections.txt:
23832 * docs/libs/tmpl/gstdataprotocol.sgml:
23834 * examples/controller/audio-example.c: (main):
23835 controller example works now
23838 * tools/gst-inspect.c: (print_element_properties_info):
23839 show param spec flags
23841 2005-08-29 Andy Wingo <wingo@pobox.com>
23843 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23845 2005-08-28 Andy Wingo <wingo@pobox.com>
23847 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23848 as having two arguments instead of just one. Allows superclasses
23849 to access information on subclasses -- see the terrible for() loop
23850 in gtype.c:g_type_create_instance for the reason why. All callers
23853 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23855 * docs/design/part-messages.txt:
23857 * docs/gst/tmpl/.cvsignore:
23858 * docs/gst/tmpl/gstcaps.sgml:
23859 * docs/gst/tmpl/gstclock.sgml:
23865 * gst/gstmessage.c:
23866 added descriptions for bus and message
23867 inline caps and clock docs
23869 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23871 * gst/gstmessage.c:
23872 * gst/gstmessage.h:
23875 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23877 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23880 2005-08-26 Andy Wingo <wingo@pobox.com>
23882 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23883 element_set_state's return val.
23884 (test_2_elements): Add test that's been disabled for months.
23886 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23887 can-activate-pull properties.
23889 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23890 can-activate-pull properties. Implement is_seekable so fakesrc can
23891 operate in pull mode.
23893 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23895 (gst_base_sink_activate, gst_base_sink_activate_pull)
23896 (gst_base_sink_activate_push): Make activation mode choosing work.
23898 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23899 is right. Make pull mode work. Post an eos before pausing in pull
23901 (gst_base_sink_change_state): Pay attention to the core's
23902 change_state() return val.
23904 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23905 has-getrange properties. Cleanups.
23907 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23908 has_getrange and replace with can_activate_pull and
23911 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23912 locking comments. Remove has_loop, has_chain and replace with
23913 can_activate_pull and can_activate_push.
23915 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23918 * examples/Makefile.am:
23919 * examples/metadata/Makefile.am:
23920 * examples/metadata/read-metadata.c: (message_loop),
23921 (have_pad_handler), (make_pipeline), (print_tag), (main):
23922 Add metadata reading example that loops over a list of filenames,
23923 dumping any tags found.
23925 * gst/gstbus.c: (gst_bus_dispose):
23926 * gst/gstelement.c: (gst_element_dispose):
23927 Release a few potentially-held references in dispose.
23929 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23931 * docs/gst/tmpl/gstminiobject.sgml:
23932 do *not* add tmpl/*.sgml files to CVS!
23934 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23936 * libs/gst/bytestream/.cvsignore:
23937 * libs/gst/bytestream/Makefile.am:
23938 * libs/gst/bytestream/adapter.c:
23939 * libs/gst/bytestream/adapter.h:
23940 * libs/gst/bytestream/bytestream.c:
23941 * libs/gst/bytestream/bytestream.h:
23942 * libs/gst/bytestream/filepad.c:
23943 * libs/gst/bytestream/filepad.h:
23944 removing obsolete files
23946 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23948 * docs/gst/gstreamer-docs.sgml:
23949 * docs/libs/gstreamer-libs-docs.sgml:
23950 disabed additional index entries again, as this makes docs-gen just
23951 slow and they aren't useful yet
23952 * docs/libs/gstreamer-libs-sections.txt:
23953 little -section.txt cleanup for libs
23955 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23957 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23958 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23959 fix up some debugging
23960 (gst_base_transform_get_unit_size),
23961 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23962 (gst_base_transform_handle_buffer):
23963 * gst/base/gstbasetransform.h:
23964 handle and store timed NEWSEGMENT events so that subclasses that
23965 calculate time by counting samples have a segment_start time they
23966 need to add to their timestamps - see audioresample
23968 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23971 removed ';' from the end of macro defs
23972 * docs/gst/gstreamer-docs.sgml:
23973 * docs/gst/gstreamer-sections.txt:
23974 * docs/gst/tmpl/.cvsignore:
23976 * gst/gstelement.c: (gst_element_class_init),
23977 (gst_element_set_state), (activate_pads),
23978 (gst_element_save_thyself):
23979 * gst/gstevent.c: (gst_event_new_newsegment):
23981 * gst/gstiterator.c:
23982 * gst/gstiterator.h:
23985 * gst/gstutils.c: (gst_pad_query_convert):
23987 fixed parameter name mismatches between source, header and docs
23988 added some more docs, resolved the last batch of unused elements in
23989 docs (now someone needs to doc them)
23991 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23993 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23994 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23995 don't walk through the plugins backwards. Where is all this
23996 reversed logic coming from ?
23998 2005-08-25 Wim Taymans <wim@fluendo.com>
24000 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24001 (gst_base_transform_transform_size),
24002 (gst_base_transform_configure_caps),
24003 (gst_base_transform_get_unit_size),
24004 (gst_base_transform_buffer_alloc),
24005 (gst_base_transform_change_state):
24006 * gst/base/gstbasetransform.h:
24007 Cache caps unit_size.
24008 Make sure we cannot negotiate up and downstream at the
24011 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24013 * gst/gst.c: (init_pre), (init_post):
24014 register the installed plugin path after the env var
24015 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
24016 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
24017 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
24018 directories, so the tests can prefer uninstalled over installed
24020 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
24022 * gst/base/gstbasetransform.h:
24027 2005-08-25 Wim Taymans <wim@fluendo.com>
24029 * gst/gstbin.c: (bin_bus_handler):
24030 Be a bit more conservative about the posted message.
24032 * gst/gstbus.c: (gst_bus_post):
24033 Some cleanups, warn wrong return values.
24035 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24037 * check/gst/gstbin.c: (GST_START_TEST):
24038 * gst/gstbin.c: (bin_bus_handler):
24039 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24040 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24041 (gst_message_new_warning), (gst_message_new_tag),
24042 (gst_message_new_state_changed), (gst_message_new_segment_start),
24043 (gst_message_new_segment_done), (gst_message_new_custom):
24044 * gst/gstmessage.h:
24045 * tools/gst-launch.c: (event_loop):
24046 * tools/gst-md5sum.c: (event_loop):
24047 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24049 2005-08-25 Wim Taymans <wim@fluendo.com>
24051 * check/generic/states.c: (GST_START_TEST):
24052 Cleanup can be done at the end.
24054 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24055 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24056 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24057 Oh boy.. Thanks for finding this, Thomas.
24059 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24061 * docs/gst/gstreamer.types:
24062 added missing types
24064 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24066 * docs/gst/gstreamer-docs.sgml:
24067 * docs/gst/gstreamer-sections.txt:
24068 * docs/gst/tmpl/.cvsignore:
24070 * gst/gstiterator.c:
24072 * gst/registries/gstxmlregistry.h:
24073 added missing classes and symbols (123 more to go)
24074 removed removed symbols from section file
24075 fixed many doc-comments
24077 2005-08-24 Wim Taymans <wim@fluendo.com>
24079 * check/generic/states.c: (GST_START_TEST):
24080 Make sure all tasks are stopped.
24082 * check/gst/gstbin.c: (GST_START_TEST):
24083 Unref after usage for proper valgrinding.
24085 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24086 Really wait for the task to stop before destroying the
24089 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24090 (gst_queue_src_activate_push):
24091 Small cleanups. Don't stop the task when we did not start
24094 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24095 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24096 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24099 Protect the stream lock with the object lock.
24100 Disallow setting the stream lock when running.
24101 Add cleanup_all to wait for the threadpool to finish.
24102 Remove code to autoallocate a mutex if none was provided.
24103 Add _join() to wait for a task to stop.
24104 Protect the thread pool with a global lock.
24106 2005-08-24 Wim Taymans <wim@fluendo.com>
24108 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24109 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24110 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24111 * gst/base/gstbasesink.h:
24112 Handle newsegment events correctly.
24113 Drop buffers out of the segment range.
24115 2005-08-22 Andy Wingo <wingo@pobox.com>
24117 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24118 macro, implements an interface and gstimplementsinterface for a
24121 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24123 * check/Makefile.am:
24124 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24125 add a test that does a bunch of state changes on elements
24126 needs some fixing for valgrind
24127 * check/states/sinks.c: (gst_object_suite):
24130 add prototype for gst_caps_is_equal_fixed
24132 * gst/gstregistrypool.c:
24135 2005-08-24 Andy Wingo <wingo@pobox.com>
24137 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24138 convert a negative value. Doesn't make much sense. Mostly this is
24139 here to force callers to ensure -1 maps to -1.
24141 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24143 * docs/pwg/advanced-types.xml:
24144 Well done to Michael for catching my deliberate introduction
24145 of this spelling mistake.
24146 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24147 * gst/gstelement.h:
24148 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24149 unlink pads before removing the element from the bin.
24151 2005-08-24 Andy Wingo <wingo@pobox.com>
24153 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24154 the same thing as GST_DEBUG=*:4.
24155 (parse_debug_level, parse_debug_category): New helper parsers.
24157 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24159 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24160 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24161 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24162 (gst_base_transform_buffer_alloc),
24163 (gst_base_transform_handle_buffer):
24164 use gboolean return values and pointers to size so we can use the
24165 full GST_BUFFER_SIZE range (guint) for buffer sizes
24166 use GstPadDirection for transform_caps
24167 * gst/base/gstbasetransform.h:
24168 rename get_size to get_unit_size since that's what it is
24169 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24170 use GstPadDirection for transform_caps
24171 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24173 cleanup and debugging
24175 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24177 * gst/gstelement.c: (gst_element_class_init),
24178 (gst_element_set_state), (activate_pads),
24179 (gst_element_save_thyself):
24180 * tools/gst-compprep.c: (main):
24181 * tools/gst-inspect.c: (print_element_properties_info):
24182 * tools/gst-xmlinspect.c: (print_element_properties):
24183 Fixed long standing mem-leak
24185 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24187 * check/gst/gstbin.c: (GST_START_TEST):
24188 * gst/gstbin.c: (bin_bus_handler):
24189 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24190 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24191 (gst_message_new_warning), (gst_message_new_tag),
24192 (gst_message_new_state_changed), (gst_message_new_segment_start),
24193 (gst_message_new_segment_done), (gst_message_new_custom):
24194 * gst/gstmessage.h:
24195 * tools/gst-launch.c: (event_loop):
24196 * tools/gst-md5sum.c: (event_loop):
24197 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24198 that applications can sensibly post custom messages with references
24199 to their own objects.
24201 2005-08-24 Andy Wingo <wingo@pobox.com>
24203 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24206 2005-08-24 Wim Taymans <wim@fluendo.com>
24208 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24209 (gst_base_transform_transform_caps),
24210 (gst_base_transform_transform_size),
24211 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24212 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24213 (gst_base_transform_handle_buffer):
24214 * gst/base/gstbasetransform.h:
24215 Many fixes and new features added by Thomas. Can now also do
24216 transforms with variable sizes and a custom fixate_caps function.
24218 2005-08-24 Wim Taymans <wim@fluendo.com>
24220 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24224 Cast to ClockTime before formatting to time.
24229 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24231 * check/gst-libs/controller.c: (GST_START_TEST),
24232 (gst_controller_suite):
24233 * docs/gst/tmpl/gstcaps.sgml:
24234 * docs/gst/tmpl/gstghostpad.sgml:
24235 * docs/gst/tmpl/gstquery.sgml:
24236 * docs/gst/tmpl/gstutils.sgml:
24237 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24238 (gst_object_sink_values), (gst_object_get_value_arrays),
24239 (gst_object_get_value_array):
24240 gracefully handle helper method calls to objects that are not beeing
24241 controlled, added test case for that
24243 2005-08-23 Wim Taymans <wim@fluendo.com>
24245 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24246 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24247 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24248 (gst_event_parse_qos), (gst_event_new_seek),
24249 (gst_event_parse_seek):
24251 Some more debugging output and doc cleanups.
24253 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24254 Fix possible deadlock.
24256 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24258 * docs/gst/gstreamer-docs.sgml:
24259 * docs/gst/gstreamer-sections.txt:
24260 * docs/gst/gstreamer.types:
24261 * docs/gst/tmpl/.cvsignore:
24264 * gst/gstelement.c:
24266 added 100 symbols from gstreamer-unused.txt to the right sections
24267 fixed more broken comments
24268 added GstBus to docs
24270 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24272 * docs/gst/gstreamer-sections.txt:
24273 * docs/gst/tmpl/.cvsignore:
24274 * docs/gst/tmpl/gstbin.sgml:
24275 * docs/gst/tmpl/gstbuffer.sgml:
24276 * gst/base/gstbasesrc.c:
24277 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24280 * tools/gst-launch.1.in:
24281 inlined more doc comments, added missing comments and fixed comments
24284 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24286 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24290 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24292 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24293 * gst/gststructure.h:
24294 add a fixate function for booleans; add a FIXME that these func
24295 names should probably be gst_structure_fixate_*
24297 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24299 * docs/gst/gstreamer-docs.sgml:
24300 * docs/gst/gstreamer-sections.txt:
24302 * gst/gstbin.c: (gst_bin_get_type),
24303 (gst_bin_child_proxy_get_child_by_index),
24304 (gst_bin_child_proxy_get_children_count),
24305 (gst_bin_child_proxy_init):
24306 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24307 (gst_child_proxy_get_child_by_index),
24308 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24309 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24310 (gst_child_proxy_get), (gst_child_proxy_set_property),
24311 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24312 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24313 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24314 * gst/gstchildproxy.h:
24315 * gst/parse/grammar.y:
24316 * tools/gst-inspect.c: (print_interfaces),
24317 (print_element_properties_info), (print_element_info):
24318 ported gstchildproxy over from 0.8
24319 ported gst-inspect fixes and enhancements over from 0.8
24321 2005-08-22 Wim Taymans <wim@fluendo.com>
24323 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24324 (gst_base_transform_handle_buffer):
24325 Also call the transform function if we have ANY caps.
24327 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24330 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24332 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24333 Don't pretend to handle seek events if the source is not seekable
24335 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24337 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24338 Remove extra parameter to debug output
24340 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24341 (gst_base_src_do_seek), (gst_base_src_activate_push):
24342 Fix seek event handling.
24344 * gst/gstpipeline.c: (gst_pipeline_change_state):
24345 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24346 (gst_queue_src_activate_push):
24347 Don't start the src pad task on FLUSH_STOP if the pad
24351 2005-08-22 Wim Taymans <wim@fluendo.com>
24353 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24354 Added check for gst_static_caps_get() refcounting.
24356 2005-08-22 Wim Taymans <wim@fluendo.com>
24358 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24359 Make _static_caps_get() refcounting sane.
24361 * gst/gstelement.c: (gst_element_set_state):
24362 Add g_return_val_if_fail() to protect against segfaults.
24364 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24366 * docs/gst/tmpl/gstevent.sgml:
24369 inlined remaining docs, added missing doc comments
24371 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24373 * check/gst/gstbin.c: (GST_START_TEST):
24374 since we don't know when preroll is done, use refcount range
24376 * gst/check/gstcheck.h:
24377 add macro for checking refcount range
24379 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24381 * check/Makefile.am:
24382 clean up environment for when registry gets built versus
24383 when actual tests are run; valgrind seems to not report
24384 leaks if GST_PLUGIN_PATH is set to some specific values
24385 * check/gst/gstbin.c: (GST_START_TEST):
24386 add more refcounting checks; maybe this exposes a
24388 * common/check.mak:
24389 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24390 * gst/check/gstcheck.h:
24391 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24392 (gst_bin_change_state):
24393 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24394 add/fix debugging/whitespace
24396 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24398 * check/gst/gstevent.c: (event_probe), (test_event),
24400 Er, don't call gst_bin_watch_for_state_change you idiot.
24402 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24404 * check/Makefile.am:
24405 Use CHECK_CFLAGS and CHECK_LIBS
24406 * check/gst/gstevent.c: (event_probe), (test_event),
24409 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24410 (gst_base_src_start), (gst_base_src_stop),
24411 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24412 (gst_base_src_change_state):
24413 Sprinkle gst_base_src_stop liberally around error paths to fix
24414 problems reusing a source after failed state changes.
24415 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24416 (helper_find_suggest), (gst_type_find_helper):
24417 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24419 * docs/gst/tmpl/gstevent.sgml:
24420 Migrate part of the docs from the SGML file. Wait for ensonic to
24421 tell me how I did it wrong ;)
24422 * tools/gst-typefind.c: (main):
24423 Extra robustness to state changes between files.
24425 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24427 * check/Makefile.am:
24428 don't valgrind the controller test - it's leaking - Stefan, HELP
24429 * gst/check/gstcheck.c: (gst_check_message_error),
24430 (gst_check_chain_func), (gst_check_setup_element),
24431 (gst_check_teardown_element), (gst_check_setup_src_pad),
24432 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24433 (gst_check_teardown_sink_pad):
24434 * gst/check/gstcheck.h:
24435 add a bunch of methods to set up elements, and src and sink pads
24436 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24437 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24440 * gst/gstmessage.c:
24442 whitespace/doc fixes
24444 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24446 * gst/gstelement.h:
24447 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24448 be handled by the application and not always printed as well
24450 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24452 * check/Makefile.am:
24454 * gst/check/gstcheck.c: (gst_check_message_error):
24455 * gst/check/gstcheck.h:
24456 add a fail_unless_equals_int
24457 add fail_unless for error messages
24459 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24461 * check/Makefile.am:
24463 * common/Makefile.am:
24464 * common/check.mak:
24466 factor out some of the common stuff so we can use it
24468 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24470 * check/Makefile.am:
24471 * check/gst/gstiterator.c: (GST_START_TEST):
24472 * check/gst/gstsystemclock.c: (GST_START_TEST),
24473 (gst_systemclock_suite):
24474 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24476 valgrind more tests
24478 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24480 * check/elements/.cvsignore:
24481 * check/elements/gstfakesrc.c:
24482 rename to name of element
24483 * check/elements/identity.c: (chain_func), (event_func),
24484 (setup_identity), (cleanup_identity), (GST_START_TEST),
24485 (identity_suite), (main):
24486 add a test for identity
24487 * check/Makefile.am:
24488 * pkgconfig/Makefile.am:
24489 * pkgconfig/gstreamer-check.pc.in:
24490 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24494 move the check stuff to a library that gets installed
24495 * check/gst-libs/controller.c: (GST_START_TEST):
24496 * check/gst-libs/gdp.c:
24497 * check/gst/gst.c: (GST_START_TEST):
24498 * check/gst/gstbin.c:
24499 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24500 * check/gst/gstbus.c:
24501 * check/gst/gstcaps.c: (GST_START_TEST):
24502 * check/gst/gstelement.c:
24503 * check/gst/gstghostpad.c:
24504 * check/gst/gstiterator.c:
24505 * check/gst/gstmessage.c:
24506 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24507 * check/gst/gstobject.c:
24508 * check/gst/gstpad.c: (GST_START_TEST):
24509 * check/gst/gststructure.c: (GST_START_TEST):
24510 * check/gst/gstsystemclock.c: (GST_START_TEST),
24511 (gst_systemclock_suite):
24512 * check/gst/gsttag.c: (gst_tag_suite):
24513 * check/gst/gstvalue.c:
24514 * check/pipelines/cleanup.c:
24515 * check/pipelines/simple_launch_lines.c:
24516 * check/states/sinks.c:
24517 change include statement
24519 * docs/gst/gstreamer-sections.txt:
24520 * docs/gst/tmpl/gstpad.sgml:
24521 document more pad stuff
24522 * gst/gstminiobject.c: (gst_mini_object_ref),
24523 (gst_mini_object_unref):
24526 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24528 * docs/gst/tmpl/gst.sgml:
24530 eliminate another tmpl file, fix spelling in the long-description
24532 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24534 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24535 (test_event), (timediff), (gstevents_suite):
24536 Should fix build on 64-bit arch's
24538 2005-08-18 Andy Wingo <wingo@pobox.com>
24540 Make sure that when a pipeline goes to PLAYING, that data has
24541 actually hit the sink.
24543 * check/states/sinks.c (test_sink): A sink that doesn't get any
24544 data shouldn't return SUCCESS for going to either PLAYING or
24545 PAUSED. Test also the return values on the way back down.
24547 * gst/gstelement.c (gst_element_set_state): When changing the
24548 state of an element currently changing state asynchronously, go to
24549 lost-state after commiting the pending state. Makes future calls
24550 to get_state continue to return ASYNC.
24552 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24553 ASYNC when going to PLAYING if we still don't have preroll, as can
24554 happen with live sources.
24556 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24558 * docs/pwg/advanced-types.xml:
24559 Hack long paragraph into 2 chunks as a workaround for buggy
24560 jadetex version in sid and breezy that loops infinitely and
24563 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24565 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24566 (test_event), (timediff), (gstevents_suite):
24567 Provide more error margin in clock measurements to allow for
24568 g_get_current_time inaccuracies.
24570 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24572 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24573 (test_event), (timediff), (gstevents_suite):
24574 Fix error message output so I might be able to tell why the
24575 test works here but fails on the build farm.
24577 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24579 * check/Makefile.am:
24580 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24581 (test_event), (timediff), (gstevents_suite), (main):
24584 * docs/design/part-seeking.txt:
24585 Spelling correction
24587 * docs/gst/tmpl/gstevent.sgml:
24588 * docs/gst/tmpl/gstfakesrc.sgml:
24591 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24592 Treat a buffer-without-newsegment the same as a receiving
24593 a newsegment not in time format, and disable syncing to the clock
24596 * gst/gstbus.c: (gst_bus_set_sync_handler):
24597 Assert if anyone tries to replace the existing sync_handler for bus,
24598 as only the owner should be setting it.
24601 Have a fixed set of custom event enums with events identified by
24602 their structure name (as in 0.8), rather than a free-for-all
24603 allowing collisions between enum values from different plugins.
24605 * gst/gstpad.c: (gst_pad_class_init):
24608 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24609 Handle out-of-band downstream events from the sending thread.
24611 2005-08-17 Andy Wingo <wingo@pobox.com>
24613 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24614 play-timeout==0 to mean no timeout at all. In that case, don't
24615 bother with a get_state or a warning, just return directly, even
24618 * gst/base/gstbasetransform.c: Debug changes.
24621 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24622 ensure bins post state change messages. A bit of a hack but I can't
24623 think of a way to avoid it.
24625 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24627 2005-08-16 Andy Wingo <wingo@pobox.com>
24629 * gst/base/gstadapter.h:
24630 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24631 peek() but you own the data. Not terribly efficient atm.
24633 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24635 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24636 (gst_element_found_tags):
24638 Add two utility functions for tag handling.
24640 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24642 * docs/manual/advanced-dataaccess.xml:
24643 * docs/manual/basics-helloworld.xml:
24644 Fix docs to use _bin_add() before _link(), which fixes the examples
24645 with recent core versions (reported by Madhan Raj M
24646 <raj_madan@rediffmail.com>, #313199).
24648 2005-08-16 Wim Taymans <wim@fluendo.com>
24650 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24651 Added subtract checks.
24653 * docs/design/part-events.txt:
24654 Some more docs about newsegment
24656 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24659 * gst/gstcaps.c: (gst_caps_to_string):
24660 Add comments, cleanups.
24662 * gst/gstelement.c: (gst_element_save_thyself):
24665 * gst/gstvalue.c: (gst_value_collect_int_range),
24666 (gst_string_unwrap), (gst_value_union_int_int_range),
24667 (gst_value_union_int_range_int_range),
24668 (gst_value_intersect_int_int_range),
24669 (gst_value_intersect_int_range_int_range),
24670 (gst_value_intersect_double_double_range),
24671 (gst_value_intersect_double_range_double_range),
24672 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24673 (gst_value_subtract_int_range_int),
24674 (gst_value_subtract_double_range_double),
24675 (gst_value_subtract_double_range_double_range),
24676 (gst_value_subtract_from_list), (gst_value_subtract_list),
24677 (gst_value_can_compare), (gst_value_compare_fraction):
24678 Cleanups, add comments, remove unneeded asserts.
24680 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24682 * tools/gst-launch.c: (event_loop):
24683 don't convert NULL structures to strings
24685 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24687 * docs/gst/gstreamer-sections.txt:
24688 made some defines private
24689 * docs/gst/tmpl/gstconfig.sgml:
24690 * docs/gst/tmpl/gstqueue.sgml:
24691 * docs/gst/tmpl/gsttaglist.sgml:
24692 * docs/gst/tmpl/gsttypes.sgml:
24693 * docs/gst/tmpl/gstutils.sgml:
24694 * docs/pwg/appendix-porting.xml:
24695 * gst/base/gstbasesink.h:
24696 * gst/base/gstbasesrc.c:
24697 * gst/base/gstbasesrc.h:
24698 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24699 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24700 * gst/gstelement.c: (gst_element_class_init):
24701 * gst/gstpad.c: (gst_pad_class_init):
24702 * gst/gstqueue.c: (gst_queue_class_init):
24703 * gst/gstxml.c: (gst_xml_class_init):
24704 documented all undocumented signal inline
24705 * libs/gst/controller/gst-controller.h:
24708 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24710 * docs/pwg/appendix-porting.xml:
24711 Document _set_link_function -> _set_setcaps_function.
24713 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24715 * check/Makefile.am:
24716 add a .check target for running the check
24717 * check/gst-libs/controller.c: (GST_START_TEST):
24719 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24720 complete checks for gstbuffer; would be nice if I could get the
24721 gcov stuff to work so I can see if I actually completed gstbuffer.c
24722 * check/gstcheck.h:
24723 add ASSERT_BUFFER_REFCOUNT
24725 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24727 * docs/gst/gstreamer-sections.txt:
24728 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24730 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24731 spew out a warning if a tag that is already registered
24732 is re-registered, unless it is re-registered with a
24733 different type (#308438).
24735 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24737 * docs/pwg/appendix-porting.xml:
24738 * docs/pwg/building-state.xml:
24739 Add some paragraphs about state changes in 0.9 to the PWG
24740 and the porting guide, in particular about the new meaning
24741 of GST_STATE_PAUSED and how to write state change functions
24742 with concurrent access by multiple threads in mind.
24744 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24746 * docs/gst/gstreamer-docs.sgml:
24747 * docs/libs/gstreamer-libs-docs.sgml:
24748 added deprecation and since indexes
24749 * libs/gst/controller/gst-controller.c:
24750 * libs/gst/controller/gst-helper.c:
24754 2005-08-11 Wim Taymans <wim@fluendo.com>
24756 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24757 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24758 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24759 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24760 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24761 (gst_ghost_pad_set_target):
24762 Actually implement (re)setting the target on a ghostpad
24763 as described in the docs.
24765 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24767 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24768 Check whether GST_DEBUG_NO_COLOR environment variable is
24769 set and disable coloured debug output if that is the case.
24771 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24773 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24774 (gst_type_find_helper):
24775 The memory returned by gst_type_find_peek() needs to
24776 stay valid until the end of a typefind function, and
24777 typefind functions may keep results from different
24778 offsets around, so we can't just unref the buffer from
24779 the previous _peek(), but have to save all buffers
24780 returned by _peek() until typefinding is done and only
24783 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24785 * docs/gst/gstreamer-sections.txt:
24787 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24789 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24791 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24792 Fix a pretty good memleak.
24794 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24796 * gst/gstiterator.h:
24797 Fix wrong include and 'make distcheck'.
24799 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24801 * gst/gstbin.c: (bin_bus_handler):
24802 Use gst_element_post_message() instead.
24804 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24806 * gst/base/gstadapter.h:
24807 * gst/base/gstbasesink.h:
24808 * gst/base/gstbasesrc.h:
24809 * gst/base/gstbasetransform.h:
24810 * gst/base/gstcollectpads.h:
24811 * gst/base/gstpushsrc.h:
24812 * gst/gstiterator.h:
24813 Add padding to our base elements' class and instance structs and
24814 to GstIterator (you will need to rebuild all plugins and apps!)
24816 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24818 * gst/gstbin.c: (bin_bus_handler):
24819 Make default message forwarding from child->bus to bin->bus
24820 threadsafe and make it not emit warnings if the parent has no bus.
24822 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24824 * gst/gstelement.c: (activate_pads):
24825 On paused->ready, set pad->caps to NULL, as is the documented
24826 behaviour in this state change. Fixes playback of series of
24827 media files when visualization is enabled in Totem.
24829 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24831 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24832 Allow NULL as filter-caps (which means "any").
24834 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24836 * docs/libs/gstreamer-libs-sections.txt:
24837 * libs/gst/controller/gst-controller.c:
24838 * libs/gst/controller/gst-controller.h:
24839 * libs/gst/controller/gst-helper.c:
24840 adding more entries to the docs and fix small doc-bugs
24842 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24844 * docs/gst/gstreamer-docs.sgml:
24845 * docs/gst/gstreamer-sections.txt:
24846 * docs/gst/gstreamer.types:
24847 * docs/gst/tmpl/gstbasesink.sgml:
24848 * docs/gst/tmpl/gstbasesrc.sgml:
24849 * docs/gst/tmpl/gstbasetransform.sgml:
24850 * docs/gst/tmpl/gstfakesrc.sgml:
24851 * gst/base/gstcollectpads.c:
24852 * gst/base/gstcollectpads.h:
24853 * libs/gst/controller/gst-controller.c:
24854 * libs/gst/controller/gst-controller.h:
24855 * libs/gst/controller/gst-helper.c:
24856 * libs/gst/controller/gst-interpolation.c:
24857 * libs/gst/controller/lib.c:
24858 added long/short desc for controller docs
24859 added collectpads base class docs
24860 added correct includes to base-class docs
24862 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24864 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24865 (gst_test_mono_source_set_property),
24866 (gst_test_mono_source_class_init), (GST_START_TEST),
24867 (gst_controller_suite):
24868 * docs/gst/gstreamer-docs.sgml:
24869 * docs/gst/gstreamer-sections.txt:
24870 * docs/gst/gstreamer.types:
24871 * docs/libs/gstreamer-libs-docs.sgml:
24872 * docs/libs/gstreamer-libs-sections.txt:
24873 * gst/base/gstadapter.c:
24874 * libs/gst/controller/gst-controller.c:
24875 (gst_controlled_property_new), (gst_controlled_property_free),
24876 (gst_controller_new_valist),
24877 (gst_controller_remove_properties_valist),
24878 (gst_controller_sink_values), (_gst_controller_finalize):
24879 * libs/gst/controller/gst-controller.h:
24880 * libs/gst/controller/gst-helper.c:
24881 (gst_object_control_properties), (gst_object_uncontrol_properties),
24882 (gst_object_get_controller), (gst_object_set_controller),
24883 (gst_object_sink_values), (gst_object_get_value_arrays),
24884 (gst_object_get_value_array):
24885 more tests (and fixes) for the controller
24886 more docs for the controller
24887 integrated companies docs for the adapter
24889 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24891 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24892 (GST_START_TEST), (fakesrc_suite):
24893 add tests for sizetype
24895 2005-08-04 Andy Wingo <wingo@pobox.com>
24897 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24898 fixes buffer_alloc proxying among other things.
24900 * gst/base/gstbasetransform.c:
24901 * gst/base/gstbasetransform.h:
24902 Revert patch to gstbasetransform from 7-28 removing
24905 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24906 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24907 Semantics changed, should return not the size of the output buffer
24908 but the byte size of a buffer with a given caps.
24910 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24912 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24913 out) are not the pad caps until setcaps finishes.
24914 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24915 not-in-place case as well. Deal with changing from in-place to
24916 not-in-place within calling pad_alloc_buffer. Still a bit
24917 concerned about the overhead here...
24919 2005-08-03 Andy Wingo <wingo@pobox.com>
24921 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24922 fixating is an error.
24924 2005-08-04 Edward Hervey <edward@fluendo.com>
24926 * gst/base/gstadapter.h:
24927 Added gst_adapter_get_type() to the header
24929 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24931 * check/Makefile.am:
24932 * check/gst-libs/controller.c:
24933 * libs/gst/controller/gst-controller.c:
24934 (gst_controller_new_valist):
24935 added check test suite for the controller
24936 * gst/base/gstpushsrc.c:
24939 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24941 * docs/gst/Makefile.am:
24942 * docs/gst/gstreamer-docs.sgml:
24943 * docs/gst/gstreamer-sections.txt:
24944 * docs/gst/gstreamer.types:
24945 * docs/gst/tmpl/gstfakesrc.sgml:
24947 * gst/base/gstbasesink.c:
24948 * gst/base/gstbasesink.h:
24949 * gst/base/gstbasesrc.c:
24950 * gst/base/gstbasesrc.h:
24951 * gst/base/gstbasetransform.c:
24952 * gst/base/gstpushsrc.c:
24953 * gst/base/gstpushsrc.h:
24954 add short/long description docs to base classes
24955 add pushsrc to the docs
24956 remove consolidated doc fragments
24958 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24961 * docs/libs/Makefile.am:
24962 * docs/libs/gstreamer-libs-docs.sgml:
24963 * docs/libs/gstreamer-libs-sections.txt:
24964 * docs/libs/gstreamer-libs.types:
24965 * examples/Makefile.am:
24966 * examples/controller/.cvsignore:
24967 * examples/controller/Makefile.am:
24968 * examples/controller/audio-example.c: (main):
24969 * libs/gst/Makefile.am:
24970 * libs/gst/controller/.cvsignore:
24971 * libs/gst/controller/Makefile.am:
24972 * libs/gst/controller/gst-controller.c:
24973 (on_object_controlled_property_changed), (gst_timed_value_compare),
24974 (gst_timed_value_find),
24975 (gst_controlled_property_set_interpolation_mode),
24976 (gst_controlled_property_new), (gst_controlled_property_free),
24977 (gst_controller_find_controlled_property),
24978 (gst_controller_new_valist), (gst_controller_new),
24979 (gst_controller_remove_properties_valist),
24980 (gst_controller_remove_properties), (gst_controller_set),
24981 (gst_controller_set_from_list), (gst_controller_unset),
24982 (gst_controller_get), (gst_controller_get_all),
24983 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24984 (gst_controller_get_value_array),
24985 (gst_controller_set_interpolation_mode),
24986 (_gst_controller_finalize), (_gst_controller_init),
24987 (_gst_controller_class_init), (gst_controller_get_type):
24988 * libs/gst/controller/gst-controller.h:
24989 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24990 (g_object_uncontrol_properties), (g_object_get_controller),
24991 (g_object_set_controller), (g_object_sink_values),
24992 (g_object_get_value_arrays), (g_object_get_value_array):
24993 * libs/gst/controller/gst-interpolation.c:
24994 (gst_controlled_property_find_timed_value_node),
24995 (interpolate_none_get), (interpolate_trigger_get),
24996 (interpolate_trigger_get_value_array):
24997 * libs/gst/controller/lib.c: (gst_controller_init):
24998 * pkgconfig/Makefile.am:
24999 * pkgconfig/gstreamer-control-uninstalled.pc.in:
25000 * pkgconfig/gstreamer-control.pc.in:
25001 * testsuite/Makefile.am:
25002 * testsuite/controller/.cvsignore:
25003 * testsuite/controller/Makefile.am:
25004 * testsuite/controller/interpolator.c: (main):
25005 added controller code
25006 removed dparam pc files
25008 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25009 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
25010 (gst_collectpads_stop):
25011 Broadcast the condition when shutting down, to make sure we wake all
25012 threads up. Shut down pads on finalize, for safety.
25014 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
25015 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25016 (gst_base_transform_handle_buffer),
25017 (gst_base_transform_change_state):
25018 Handle PAUSED->READY->PAUSED transition after negotiation
25020 * gst/gstmessage.c: (gst_message_init):
25021 Extra piece of debug for new messages.
25023 2005-08-01 Stefan Kost <ensonic@users.sf.net>
25026 * docs/gst/tmpl/gstbasesrc.sgml:
25027 * docs/gst/tmpl/gstelement.sgml:
25028 * docs/gst/tmpl/gstevent.sgml:
25029 * docs/gst/tmpl/gstfakesrc.sgml:
25030 * docs/gst/tmpl/gstformat.sgml:
25031 * docs/gst/tmpl/gstghostpad.sgml:
25032 * docs/gst/tmpl/gstpad.sgml:
25033 * docs/gst/tmpl/gstquery.sgml:
25034 * docs/gst/tmpl/gststructure.sgml:
25035 * docs/gst/tmpl/gsttaglist.sgml:
25036 * docs/gst/tmpl/gstvalue.sgml:
25037 * docs/libs/gstreamer-libs-docs.sgml:
25038 * docs/libs/gstreamer-libs-sections.txt:
25039 * docs/libs/gstreamer-libs.types:
25040 * libs/gst/Makefile.am:
25041 * libs/gst/control/.cvsignore:
25042 * libs/gst/control/Makefile.am:
25043 * libs/gst/control/control.c:
25044 * libs/gst/control/control.h:
25045 * libs/gst/control/dparam.c:
25046 * libs/gst/control/dparam.h:
25047 * libs/gst/control/dparam_smooth.c:
25048 * libs/gst/control/dparam_smooth.h:
25049 * libs/gst/control/dparamcommon.h:
25050 * libs/gst/control/dparammanager.c:
25051 * libs/gst/control/dparammanager.h:
25052 * libs/gst/control/dplinearinterp.c:
25053 * libs/gst/control/dplinearinterp.h:
25054 * libs/gst/control/unitconvert.c:
25055 * libs/gst/control/unitconvert.h:
25056 * testsuite/Makefile.am:
25057 * testsuite/dynparams/.cvsignore:
25058 * testsuite/dynparams/Makefile.am:
25059 * testsuite/dynparams/dparamstest.c:
25060 * tools/Makefile.am:
25061 * tools/gst-inspect.c: (print_element_info), (main):
25062 * tools/gst-xmlinspect.c: (print_element_info), (main):
25063 deactivate and remove dparams (libgstcontrol)
25065 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25067 * gst/elements/gsttypefindelement.c:
25068 (gst_type_find_element_have_type), (gst_type_find_element_init),
25069 (stop_typefinding), (gst_type_find_element_handle_event),
25070 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25071 * gst/elements/gsttypefindelement.h:
25072 Set caps on all outgoing buffers, not just the first one.
25074 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25076 * gst/elements/gsttypefindelement.c:
25077 (gst_type_find_element_have_type),
25078 (gst_type_find_element_check_set_buffer_caps),
25079 (gst_type_find_element_init), (stop_typefinding),
25080 (gst_type_find_element_handle_event),
25081 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25082 * gst/elements/gsttypefindelement.h:
25083 Set caps on first outgoing buffer when we've found the type.
25085 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25087 * docs/gst/gstreamer-docs.sgml:
25088 * docs/gst/gstreamer-sections.txt:
25089 * docs/gst/tmpl/gstscheduler.sgml:
25090 * docs/gst/tmpl/gstschedulerfactory.sgml:
25091 Remove some old cruft from docs.
25093 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25096 Fix inline docs for GstPadLinkReturn.
25098 * gst/gststructure.c: (gst_structure_has_name):
25099 * gst/gststructure.h:
25100 * docs/gst/gstreamer-sections.txt:
25101 New API: gst_structure_has_name().
25103 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25106 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25107 and _LARGEFILE_SOURCE in config.h as required. Do not
25108 export those flags in our .pc files any longer (#142209).
25110 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25112 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25113 (gst_file_sink_do_seek), (gst_file_sink_event),
25114 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25115 Redo seek/tell calls with large file support in mind; add some
25116 debugging messages; add log message that tells us when large
25117 file support is unavailable or not enabled for some reason.
25119 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25120 Add log message that tells us when large file support
25121 is unavailable or not enabled for some reason.
25123 2005-07-29 Wim Taymans <wim@fluendo.com>
25125 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25126 Added test for removing an element with ghostpad from a bin.
25127 Fixed test as current implementation does the right thing.
25129 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25130 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25131 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25132 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25133 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25134 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25135 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25136 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25137 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25138 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25139 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25140 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25141 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25142 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25143 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25144 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25145 * gst/gstghostpad.h:
25146 Clean up ghostpads, remove properties for internal stuff.
25149 Prepare for switching targets, not all use cases work yet.
25151 2005-07-29 Wim Taymans <wim@fluendo.com>
25153 * docs/design/part-gstghostpad.txt:
25156 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25157 (gst_bin_remove_func):
25158 Unlinking pads while holding the bin LOCK is not a good
25161 * gst/gstpad.c: (gst_pad_class_init),
25162 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25163 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25164 No prob setting template after creating the pad.
25166 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25168 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25169 (gst_bus_peek), (gst_bus_source_dispatch),
25170 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25171 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25172 gst_bus_poll may be called from other threads. Handle
25173 this nicely by not making poll_data disappear off the
25174 stack once gst_bus_poll returns.
25175 gst_bus_peek now increments the refcount on the returned
25178 2005-07-29 Wim Taymans <wim@fluendo.com>
25180 * docs/design/part-gstghostpad.txt:
25181 Overview of current GhostPad datastructures and use
25182 cases for changing the target.
25184 2005-07-28 Wim Taymans <wim@fluendo.com>
25186 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25187 Added checks for hierarchy consistency whan adding linked
25190 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25191 Added check to test element scheduling without bin/pipeline.
25193 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25194 First add elements to bin, then link.
25196 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25197 (gst_bin_remove_func):
25198 Unlink pads from elements added/removed from bin to maintain
25199 hierarchy consistency.
25201 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25203 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25204 (gst_base_transform_handle_buffer):
25205 * gst/base/gstbasetransform.h:
25206 Remove broken delay_configure (fixes renegotiation of software
25207 scaling pipelines); remove some leftover printf()s.
25209 2005-07-28 Wim Taymans <wim@fluendo.com>
25211 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25212 Added some more tests for wrong hierarchy
25214 * docs/design/part-overview.txt:
25217 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25220 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25221 (gst_element_dispose):
25222 Some more cleanups.
25224 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25225 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25226 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25227 (gst_pad_set_caps), (gst_pad_send_event):
25228 Check for correct hierarchy when linking pads. Moving to
25229 strict requirement for ghostpads when linking elements in
25233 Clean ups. Added WRONG_HIERARCHY return value.
25235 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25237 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25238 Better debug if no transform is possible.
25240 2005-07-27 Wim Taymans <wim@fluendo.com>
25242 * docs/random/wtay/network-transp:
25243 Some old doc I had.
25245 2005-07-27 Wim Taymans <wim@fluendo.com>
25247 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25248 (gst_dp_event_from_packet):
25249 Fix serialization of seek events.
25251 2005-07-27 Wim Taymans <wim@fluendo.com>
25253 * check/gst-libs/gdp.c: (GST_START_TEST):
25254 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25255 Fix compilation and fix event serialization.
25257 2005-07-27 Wim Taymans <wim@fluendo.com>
25260 * docs/design/part-TODO.txt:
25261 * docs/design/part-events.txt:
25264 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25265 (gst_base_sink_event), (gst_base_sink_do_sync),
25266 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25267 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25268 (gst_base_src_do_seek), (gst_base_src_event_handler),
25269 (gst_base_src_loop):
25270 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25271 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25272 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25273 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25274 (gst_base_transform_set_passthrough),
25275 (gst_base_transform_is_passthrough):
25276 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25277 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25283 * gst/gstelement.c: (gst_element_seek):
25284 * gst/gstelement.h:
25285 Update gst_element_seek.
25287 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25288 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25289 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25290 (gst_event_new_eos), (gst_event_new_newsegment),
25291 (gst_event_parse_newsegment), (gst_event_new_tag),
25292 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25293 (gst_event_parse_qos), (gst_event_new_seek),
25294 (gst_event_parse_seek), (gst_event_new_navigation):
25296 Make GstEvent use GstStructure. Add parsing code, make sure the
25297 API is sufficiently generic.
25298 Mark possible directions of events and serialization.
25300 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25301 (_gst_message_copy), (gst_message_new_segment_start),
25302 (gst_message_new_segment_done), (gst_message_new_custom),
25303 (gst_message_parse_segment_start),
25304 (gst_message_parse_segment_done):
25307 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25308 (gst_pad_set_caps), (gst_pad_send_event):
25309 Update for new events.
25310 Catch events sent in wrong directions.
25312 * gst/gstqueue.c: (gst_queue_link_src),
25313 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25314 (gst_queue_handle_src_query):
25319 Remove event code from this file.
25321 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25322 (gst_dp_event_from_packet):
25325 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25327 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25328 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25329 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25330 Make debugging actually useful.
25332 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25334 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25335 (gst_pad_fixate_caps):
25336 Implement default fixation once again, so that gst_pad_fixate()
25337 actually does anything at all. This probably needs to be some
25338 sort of a last resort, and use profile-based fixation first, but
25339 since that doesn't exist yet, this is the best we have. Fixes
25340 visualization in Totem.
25342 2005-07-22 Wim Taymans <wim@fluendo.com>
25344 * docs/design/part-events.txt:
25347 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25348 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25349 (gst_base_sink_activate_pull):
25350 Some more comments.
25352 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25353 (gst_fake_src_create):
25354 Fix handoff marshall.
25356 * gst/elements/gstidentity.c: (gst_identity_class_init),
25357 (gst_identity_transform_ip):
25358 We're a real inplace element.
25360 * gst/gstbus.c: (gst_bus_post):
25361 Added some comments.
25363 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25364 * tests/muxing/case1.c: (main):
25365 * tests/sched/dynamic-pipeline.c: (main):
25366 * tests/sched/interrupt1.c: (main):
25367 * tests/sched/interrupt2.c: (main):
25368 * tests/sched/interrupt3.c: (main):
25369 * tests/sched/runxml.c: (main):
25370 * tests/sched/sched-stress.c: (main):
25371 * tests/seeking/seeking1.c: (event_received), (main):
25372 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25374 * tests/threadstate/threadstate3.c: (main):
25375 * tests/threadstate/threadstate4.c: (main):
25376 * tests/threadstate/threadstate5.c: (main):
25379 2005-07-21 Wim Taymans <wim@fluendo.com>
25381 * docs/design/part-seeking.txt:
25382 Some small additions.
25384 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25385 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25386 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25387 * gst/base/gstbasesink.h:
25388 discont values are gint64, handle the math correctly.
25390 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25391 Make the basesrc report error if the source pad is not linked.
25393 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25394 (gst_queue_loop), (gst_queue_handle_src_query),
25395 (gst_queue_src_activate_push):
25396 Make queue collect data even if the srcpad is not linked.
25397 Start pushing out data as soon as it is linked.
25399 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25401 Added gst_flow_get_name() to ease error reporting.
25403 2005-07-20 Wim Taymans <wim@fluendo.com>
25405 * gst/gstmessage.c: (gst_message_new_segment_start),
25406 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25407 (gst_message_parse_segment_done):
25408 * gst/gstmessage.h:
25409 Added a bunch of messages for advanced seeking.
25411 * gst/parse/grammar.y:
25412 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25413 (gst_dpman_state_changed):
25414 Fix some new-pad -> pad-added signals
25416 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25418 * docs/manual/appendix-porting.xml:
25419 * docs/pwg/appendix-porting.xml:
25420 Document new-pad/state-change signal renames and the FixedList
25423 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25425 * docs/manual/advanced-autoplugging.xml:
25426 * docs/manual/basics-helloworld.xml:
25427 * docs/manual/basics-pads.xml:
25428 * docs/random/ds/0.9-suggested-changes:
25429 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25430 * gst/gstelement.h:
25434 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25435 (gst_structure_parse_array), (gst_structure_parse_value):
25436 * gst/gstvalue.c: (gst_type_is_fixed),
25437 (gst_value_list_prepend_value), (gst_value_list_append_value),
25438 (gst_value_list_get_size), (gst_value_list_get_value),
25439 (gst_value_transform_array_string), (gst_value_serialize_array),
25440 (gst_value_deserialize_array), (gst_value_intersect_array),
25441 (gst_value_is_fixed), (_gst_value_initialize):
25443 GstElement::new-pad -> pad-added, GstElement::state-change ->
25444 state-changed, GstValueFixedList -> GstValueArray, add format and
25445 flags as their own arguments in gst_element_seek() (should improve
25446 "bindeability"), remove function generators since they don't work
25447 under a whole bunch of compilers (they were deprecated already
25450 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25452 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25453 (_gst_debug_register_funcptr):
25455 Fix illegal cast on some platforms (#309253).
25457 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25459 * gst/gstmessage.c: (gst_message_new_custom):
25460 * gst/gstmessage.h:
25461 Add _new_custom, make _new_application a macro to _new_custom.
25463 2005-07-20 Wim Taymans <wim@fluendo.com>
25465 * gst/base/gstbasesrc.c: (gst_base_src_init),
25466 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25467 * gst/base/gstbasesrc.h:
25468 Add a gboolean to decide when to push out a discont.
25470 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25471 (gst_queue_loop), (gst_queue_handle_src_query),
25472 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25473 (gst_queue_set_property), (gst_queue_get_property):
25476 * tests/threadstate/threadstate1.c: (main):
25477 Make a thread test compile and run... very silly..
25480 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25482 * docs/manual/appendix-porting.xml:
25483 Mention removal of libgstgconf-0.9.la and existence of gconf
25486 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25488 * docs/pwg/advanced-clock.xml:
25489 * docs/pwg/appendix-porting.xml:
25490 * docs/pwg/intro-preface.xml:
25491 * docs/pwg/other-base.xml:
25492 * docs/pwg/other-manager.xml:
25493 * docs/pwg/other-nton.xml:
25494 * docs/pwg/other-ntoone.xml:
25495 * docs/pwg/other-oneton.xml:
25496 * docs/pwg/pwg.xml:
25497 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25498 demuxer), remove n-to-n (was never written), fix some code examples
25499 and links and update the porting section to include all this.
25501 2005-07-19 Wim Taymans <wim@fluendo.com>
25503 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25504 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25505 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25506 (gst_queue_src_activate_push), (gst_queue_change_state),
25507 (gst_queue_get_property):
25509 Propagate GstFlowReturn more intelligently upstream and output
25510 an ERROR/EOS when streaming stopped due to fatal error.
25512 2005-07-19 Wim Taymans <wim@fluendo.com>
25514 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25515 Don't block forever for the state change to complete, the
25516 pipeline already did with a sensible timeout.
25518 2005-07-19 Wim Taymans <wim@fluendo.com>
25520 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25521 Make sure we never call the create function is we
25524 2005-07-19 Andy Wingo <wingo@pobox.com>
25526 * gst/parse/parse.l: Attempt to solve bug #172815.
25528 2005-07-19 Wim Taymans <wim@fluendo.com>
25530 * docs/design/part-clocks.txt:
25531 * docs/design/part-events.txt:
25532 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25533 Small docs updates.
25534 Only update the seeking values when we are not
25537 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25539 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25540 Oops, ignore the result of gst_pad_push_event here.
25542 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25544 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25545 (gst_base_src_activate_push):
25546 Send discont event from the loop function, as pads
25547 aren't activated yet in the activate_push handler.
25549 * gst/gstbin.c: (bin_bus_handler):
25550 Don't leak element name.
25552 2005-07-18 Andy Wingo <wingo@pobox.com>
25554 * configure.ac: Use AS_LIBTOOL_TAGS.
25556 2005-07-18 Wim Taymans <wim@fluendo.com>
25558 * docs/gst/gstreamer.types:
25559 Remove deleted types.
25561 2005-07-18 Wim Taymans <wim@fluendo.com>
25563 * check/elements/gstfakesrc.c: (GST_START_TEST):
25566 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25567 (init_popt_callback):
25569 * gst/gst_private.h:
25570 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25571 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25574 * gst/gstconfig.h.in:
25575 * gst/gstelement.c: (gst_element_class_init),
25576 (gst_element_set_base_time), (gst_element_get_base_time),
25577 (iterator_fold_with_resync), (gst_element_change_state),
25578 (gst_element_dispose), (gst_element_get_bus):
25579 * gst/gstelement.h:
25580 * gst/gstelementfactory.h:
25581 * gst/gsterror.c: (_gst_core_errors_init):
25584 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25586 * gst/gstinfo.c: (_gst_debug_init):
25587 * gst/gstmessage.c: (_gst_message_copy):
25588 * gst/gstmessage.h:
25589 * gst/gstminiobject.h:
25592 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25593 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25596 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25597 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25598 (gst_pipeline_get_last_stream_time):
25599 * gst/gstpipeline.h:
25600 * gst/gstpluginfeature.h:
25602 * gst/gstscheduler.c:
25603 * gst/gstscheduler.h:
25604 * gst/gststructure.h:
25605 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25606 (gst_task_finalize), (gst_task_func), (gst_task_create),
25607 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25608 (gst_task_stop), (gst_task_pause):
25610 * gst/gsttypefind.h:
25612 * gst/registries/gstlibxmlregistry.c: (load_feature),
25613 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25614 * gst/registries/gstxmlregistry.c:
25615 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25616 * gst/schedulers/threadscheduler.c:
25617 * libs/gst/control/dparammanager.h:
25618 * tools/gst-inspect.c: (print_element_list),
25619 (print_plugin_features), (print_element_features):
25620 * tools/gst-xmlinspect.c: (print_element_list),
25621 (print_plugin_info), (main):
25622 Removed plugable schedulers.
25623 Removed Scheduler/Manager from elements.
25624 Removed gsttypes.h, rearranged includes.
25625 Removed dependency pad<->element, element<>pipeline, and
25626 various others, fix includes.
25627 implement gst_pad_get_parent() with gst_object_get_parent()
25628 Make GstTask sefcontained.
25629 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25631 Fix endless loop in iterator_fold_with_resync.
25634 2005-07-18 Wim Taymans <wim@fluendo.com>
25640 2005-07-18 Wim Taymans <wim@fluendo.com>
25643 No more cothreads.h
25645 2005-07-18 Wim Taymans <wim@fluendo.com>
25649 Let's remove these.
25651 2005-07-18 Wim Taymans <wim@fluendo.com>
25653 * docs/design/part-dynamic.txt:
25654 * docs/design/part-events.txt:
25655 * docs/design/part-seeking.txt:
25656 Some more docs in the works.
25658 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25659 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25660 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25661 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25662 (gst_base_transform_handle_buffer),
25663 (gst_base_transform_sink_activate_push),
25664 (gst_base_transform_src_activate_pull),
25665 (gst_base_transform_set_passthrough),
25666 (gst_base_transform_is_passthrough):
25669 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25672 * gst/gstevent.c: (gst_event_finalize):
25675 * gst/gstutils.c: (gst_element_unlink),
25676 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25677 (gst_pad_proxy_setcaps):
25679 Add _get_parent_element() to get a pads parent as an element.
25681 2005-07-18 Wim Taymans <wim@fluendo.com>
25683 * check/gst/gstbin.c: (GST_START_TEST):
25686 2005-07-18 Wim Taymans <wim@fluendo.com>
25688 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25689 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25690 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25691 (gst_base_sink_event), (gst_base_sink_do_sync),
25692 (gst_base_sink_chain), (gst_base_sink_loop),
25693 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25694 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25696 Fix logic for returning ASYNC when not prerolled.
25698 2005-07-18 Wim Taymans <wim@fluendo.com>
25700 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25701 Fix nasty refcount bug.
25703 2005-07-16 Philippe Khalaf <burger@speedy.org>
25705 * gst/elements/gstfdsrc.c:
25706 * gst/elements/gstfdsrc.h:
25707 * gst/elements/gstelements.c:
25708 * gst/elements/Makefile.am:
25709 Ported fdsrc to 0.9.
25711 2005-07-16 Wim Taymans <wim@fluendo.com>
25713 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25714 (gst_base_sink_do_sync):
25717 2005-07-16 Wim Taymans <wim@fluendo.com>
25719 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25720 (gst_base_sink_event), (gst_base_sink_get_times),
25721 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25722 * gst/base/gstbasesink.h:
25723 Store and use discont values when syncing buffers as described
25726 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25727 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25728 (gst_base_src_activate_push):
25729 Push discont event when starting.
25731 * gst/elements/gstidentity.c: (gst_identity_transform):
25734 * gst/gstbin.c: (gst_bin_change_state):
25735 Small cleanups in base_time distribution.
25737 * gst/gstelement.c: (gst_element_set_base_time),
25738 (gst_element_get_base_time), (gst_element_change_state):
25739 * gst/gstelement.h:
25740 Added methods for the base_time of the element.
25743 * gst/gstpipeline.c: (gst_pipeline_send_event),
25744 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25745 (gst_pipeline_get_last_stream_time):
25746 * gst/gstpipeline.h:
25748 Handle seeking as described in design doc, remove stream_time
25750 Cleanups clock and stream_time selection code. Added accessors
25751 for the stream_time.
25754 2005-07-16 Andy Wingo <wingo@pobox.com>
25756 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25759 2005-07-16 Wim Taymans <wim@fluendo.com>
25761 * check/gst/gstbin.c: (GST_START_TEST):
25762 Make elements silent as the deep_notify refs the
25763 parent, which might make the test fail.
25765 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25766 Don't hold the lock for too long.
25768 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25770 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25771 Don't unref the caps we passed to gst_caps_make_writable() after
25772 passing them. gst_caps_make_writable() will do that for us.
25774 2005-07-15 Andy Wingo <wingo@pobox.com>
25776 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25779 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25780 own marshalling function for the handoff signal. Properly type the
25781 buffer as a buffer. Fixes some warnings. Should do a more general
25783 (gst_identity_class_init): Plug into the right marshaller.
25785 2005-07-15 Wim Taymans <wim@fluendo.com>
25787 * docs/design/part-TODO.txt:
25788 * docs/design/part-clocks.txt:
25789 * docs/design/part-element-sink.txt:
25790 * docs/design/part-events.txt:
25791 * docs/design/part-gstpipeline.txt:
25792 Updated docs, mostly DISCONT related.
25794 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25796 * docs/pwg/building-pads.xml:
25797 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25799 2005-07-15 Andy Wingo <wingo@pobox.com>
25801 * tools/gst-typefind.c: Update, add copyright block.
25803 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25804 Normalize and truncate caps before fixation.
25807 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25808 discards all but the first structure from its argument.
25810 2005-07-15 Wim Taymans <wim@fluendo.com>
25812 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25813 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25814 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25815 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25816 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25817 (gst_base_transform_chain), (gst_base_transform_change_state),
25818 (gst_base_transform_set_passthrough),
25819 (gst_base_transform_is_passthrough):
25820 * gst/base/gstbasetransform.h:
25821 Make passthrough work using the bufferpools.
25822 Changed API a bit, subclasses have to write into a buffer
25823 provided by the base class.
25824 More debug info in nego functions.
25826 * gst/elements/gstidentity.c: (gst_identity_init),
25827 (gst_identity_transform):
25828 Port to new base class.
25830 2005-07-15 Wim Taymans <wim@fluendo.com>
25832 * gst/gstmessage.c: (gst_message_new_state_changed):
25833 * tools/gst-launch.c: (event_loop), (main):
25834 Totally dump messages in -launch with the -m option.
25835 Fix message name for State messages,
25837 2005-07-14 Wim Taymans <wim@fluendo.com>
25839 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25840 Post error messages on errors.
25842 2005-07-14 Wim Taymans <wim@fluendo.com>
25844 * gst/gstcaps.c: (gst_caps_do_simplify):
25848 Define error for stream stopped.
25850 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25851 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25852 Do proper return values.
25854 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25855 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25856 (gst_pad_get_range):
25857 Better return values.
25860 Reorganise return values, add macro to check for fatal errors.
25862 * gst/gstqueue.c: (gst_queue_chain):
25863 Return proper GstFlowReturn values,
25865 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25867 * docs/gst/gstreamer-sections.txt:
25868 * docs/gst/gstreamer.types:
25869 * docs/gst/tmpl/gst.sgml:
25870 * docs/gst/tmpl/gstbasesink.sgml:
25871 * docs/gst/tmpl/gstbasesrc.sgml:
25872 * docs/gst/tmpl/gstbasetransform.sgml:
25873 * docs/gst/tmpl/gstbin.sgml:
25874 * docs/gst/tmpl/gstbuffer.sgml:
25875 * docs/gst/tmpl/gstcaps.sgml:
25876 * docs/gst/tmpl/gstclock.sgml:
25877 * docs/gst/tmpl/gstcompat.sgml:
25878 * docs/gst/tmpl/gstconfig.sgml:
25879 * docs/gst/tmpl/gstelement.sgml:
25880 * docs/gst/tmpl/gstelementdetails.sgml:
25881 * docs/gst/tmpl/gstelementfactory.sgml:
25882 * docs/gst/tmpl/gstenumtypes.sgml:
25883 * docs/gst/tmpl/gsterror.sgml:
25884 * docs/gst/tmpl/gstevent.sgml:
25885 * docs/gst/tmpl/gstfakesink.sgml:
25886 * docs/gst/tmpl/gstfakesrc.sgml:
25887 * docs/gst/tmpl/gstfilesink.sgml:
25888 * docs/gst/tmpl/gstfilesrc.sgml:
25889 * docs/gst/tmpl/gstfilter.sgml:
25890 * docs/gst/tmpl/gstformat.sgml:
25891 * docs/gst/tmpl/gstghostpad.sgml:
25892 * docs/gst/tmpl/gstimplementsinterface.sgml:
25893 * docs/gst/tmpl/gstindex.sgml:
25894 * docs/gst/tmpl/gstindexfactory.sgml:
25895 * docs/gst/tmpl/gstinfo.sgml:
25896 * docs/gst/tmpl/gstiterator.sgml:
25897 * docs/gst/tmpl/gstmacros.sgml:
25898 * docs/gst/tmpl/gstmemchunk.sgml:
25899 * docs/gst/tmpl/gstminiobject.sgml:
25900 * docs/gst/tmpl/gstobject.sgml:
25901 * docs/gst/tmpl/gstpad.sgml:
25902 * docs/gst/tmpl/gstpadtemplate.sgml:
25903 * docs/gst/tmpl/gstparse.sgml:
25904 * docs/gst/tmpl/gstpipeline.sgml:
25905 * docs/gst/tmpl/gstplugin.sgml:
25906 * docs/gst/tmpl/gstpluginfeature.sgml:
25907 * docs/gst/tmpl/gstquery.sgml:
25908 * docs/gst/tmpl/gstqueue.sgml:
25909 * docs/gst/tmpl/gstregistry.sgml:
25910 * docs/gst/tmpl/gstregistrypool.sgml:
25911 * docs/gst/tmpl/gstscheduler.sgml:
25912 * docs/gst/tmpl/gstschedulerfactory.sgml:
25913 * docs/gst/tmpl/gststructure.sgml:
25914 * docs/gst/tmpl/gstsystemclock.sgml:
25915 * docs/gst/tmpl/gsttaglist.sgml:
25916 * docs/gst/tmpl/gsttagsetter.sgml:
25917 * docs/gst/tmpl/gsttrace.sgml:
25918 * docs/gst/tmpl/gsttrashstack.sgml:
25919 * docs/gst/tmpl/gsttypefind.sgml:
25920 * docs/gst/tmpl/gsttypefindfactory.sgml:
25921 * docs/gst/tmpl/gsttypes.sgml:
25922 * docs/gst/tmpl/gsturihandler.sgml:
25923 * docs/gst/tmpl/gsturitype.sgml:
25924 * docs/gst/tmpl/gstutils.sgml:
25925 * docs/gst/tmpl/gstvalue.sgml:
25926 * docs/gst/tmpl/gstversion.sgml:
25927 * docs/gst/tmpl/gstxml.sgml:
25928 * docs/libs/tmpl/gstcontrol.sgml:
25929 * docs/libs/tmpl/gstdataprotocol.sgml:
25930 * docs/libs/tmpl/gstdparam.sgml:
25931 * docs/libs/tmpl/gstdplinint.sgml:
25932 * docs/libs/tmpl/gstdpman.sgml:
25933 * docs/libs/tmpl/gstdpsmooth.sgml:
25934 * docs/libs/tmpl/gstgetbits.sgml:
25935 * docs/libs/tmpl/gstunitconvert.sgml:
25936 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25937 (gst_push_src_base_init), (gst_push_src_class_init),
25938 (gst_push_src_init), (gst_push_src_create):
25939 * gst/base/gstpushsrc.h:
25940 * gst/elements/gstelements.c:
25941 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25942 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25943 (gst_fake_sink_init), (gst_fake_sink_set_property),
25944 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25945 (gst_fake_sink_event), (gst_fake_sink_preroll),
25946 (gst_fake_sink_render), (gst_fake_sink_change_state):
25947 * gst/elements/gstfakesink.h:
25948 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25949 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25950 (gst_fake_src_base_init), (gst_fake_src_class_init),
25951 (gst_fake_src_init), (gst_fake_src_event_handler),
25952 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25953 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25954 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25955 (gst_fake_src_create_buffer), (gst_fake_src_create),
25956 (gst_fake_src_start), (gst_fake_src_stop):
25957 * gst/elements/gstfakesrc.h:
25958 * gst/elements/gstfilesink.c: (_do_init),
25959 (gst_file_sink_base_init), (gst_file_sink_class_init),
25960 (gst_file_sink_init), (gst_file_sink_dispose),
25961 (gst_file_sink_set_location), (gst_file_sink_set_property),
25962 (gst_file_sink_get_property), (gst_file_sink_open_file),
25963 (gst_file_sink_close_file), (gst_file_sink_query),
25964 (gst_file_sink_event), (gst_file_sink_render),
25965 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25966 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25967 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25968 * gst/elements/gstfilesink.h:
25969 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25970 (gst_file_src_class_init), (gst_file_src_init),
25971 (gst_file_src_finalize), (gst_file_src_set_location),
25972 (gst_file_src_set_property), (gst_file_src_get_property),
25973 (gst_file_src_map_region), (gst_file_src_map_small_region),
25974 (gst_file_src_create_mmap), (gst_file_src_create_read),
25975 (gst_file_src_create), (gst_file_src_is_seekable),
25976 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25977 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25978 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25979 (gst_file_src_uri_handler_init):
25980 * gst/elements/gstfilesrc.h:
25981 more autistic cleanliness in functions/names/defines
25983 2005-07-13 Andy Wingo <wingo@pobox.com>
25985 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25986 source couldn't negotiate.
25988 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25992 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25993 function. I am channeling Hades. Put your boots on suckers!!!
25995 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25997 * testsuite/caps/Makefile.am:
25998 * testsuite/caps/value_compare.c:
25999 * testsuite/caps/value_intersect.c:
26000 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
26001 move two testsuite apps over to the check dir
26003 2005-07-12 Wim Taymans <wim@fluendo.com>
26005 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
26006 Added more debug info in the negotiate process.
26008 * gst/gstmessage.h:
26009 Prepare for segment playback.
26011 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
26017 * tools/gst-launch.c: (main):
26018 NULL pipeline on errors.
26020 2005-07-12 Andy Wingo <wingo@pobox.com>
26022 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
26023 not it comes from a malloc region. Make sure our copy gets freed.
26025 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26027 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26028 * check/gst/gstmessage.c: (GST_START_TEST):
26029 * check/gst/gststructure.c: (GST_START_TEST),
26030 (gst_structure_suite), (main):
26032 * gst/gstelement.c: (gst_element_message_full):
26033 clean up GError and debug string now that they get copied
26034 * gst/gstmessage.c: (gst_message_new_error),
26035 (gst_message_new_warning), (gst_message_parse_error),
26036 (gst_message_parse_warning):
26037 use GST_TYPE_G_ERROR for structure_new, and take copies of
26038 arguments, so that we don't mess up refcounting
26040 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26042 * check/Makefile.am:
26043 add per-test valgrind targets
26044 * check/gst-libs/gdp.c: (GST_START_TEST),
26045 (gst_data_protocol_suite), (main):
26048 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26050 * check/Makefile.am:
26051 instate more valgrindable tests
26052 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26053 (GST_START_TEST), (fakesrc_suite):
26054 * check/gst/gstpad.c: (GST_START_TEST):
26055 * check/gst/gststructure.c: (GST_START_TEST):
26057 * docs/gst/tmpl/gstminiobject.sgml:
26058 * gst/gstpad.c: (gst_pad_finalize):
26059 fix the static mutex leak
26061 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26063 * check/Makefile.am:
26064 add two more tests for valgrinding
26065 * check/gst/gstvalue.c: (GST_START_TEST):
26066 test refcount of deserialized buffer, found a leak
26067 * docs/gst/gstreamer-docs.sgml:
26068 * docs/gst/gstreamer-sections.txt:
26069 * docs/gst/gstreamer.types:
26070 * docs/gst/tmpl/gstminiobject.sgml:
26071 add miniobject to docs
26072 * gst/gstminiobject.c:
26074 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26075 (gst_string_unwrap):
26076 fix a hard-to-find invalid write for one of the tests
26077 fix a leak for deserialized buffers
26079 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26081 * docs/pwg/advanced-events.xml:
26082 * docs/pwg/advanced-request.xml:
26083 * docs/pwg/advanced-scheduling.xml:
26084 * docs/pwg/appendix-porting.xml:
26085 * docs/pwg/building-boiler.xml:
26086 * docs/pwg/intro-preface.xml:
26087 * docs/pwg/other-ntoone.xml:
26088 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26089 of example code and explanation for pad activation, loop() and
26090 getrange() functions and a bit more. Remove old comments pointing
26092 * examples/pwg/Makefile.am:
26093 Add loop/getrange examples.
26095 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26098 check for valgrind binary + some fixes
26100 valgrind suppressions for the tests
26101 * check/Makefile.am:
26102 add a valgrind: target that valgrinds the unit tests
26103 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26104 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26105 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26106 * check/gst/gstghostpad.c:
26108 * check/gst/gstdata.c:
26110 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26111 (thread_unref), (gst_mini_object_suite), (main):
26113 * gst/gst.c: (gst_deinit):
26115 add a method to clean up.
26116 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26117 (gst_system_clock_obtain):
26118 allow for disposing the system clock.
26119 * tools/gst-launch.c: (main):
26122 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26124 * docs/gst/tmpl/gstbasesrc.sgml:
26125 * docs/gst/tmpl/gstfakesrc.sgml:
26126 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26127 (gst_base_src_init), (gst_base_src_set_property),
26128 (gst_base_src_get_property), (gst_base_src_get_range),
26129 (gst_base_src_start):
26130 * gst/base/gstbasesrc.h:
26131 add num-buffers property
26132 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26133 (gst_fakesrc_init), (gst_fakesrc_set_property),
26134 (gst_fakesrc_get_property), (gst_fakesrc_create),
26135 (gst_fakesrc_start):
26136 remove num-buffers property
26138 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26140 * docs/gst/gstreamer-sections.txt:
26141 * docs/gst/tmpl/gstbasesink.sgml:
26142 * docs/gst/tmpl/gstbasesrc.sgml:
26143 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26144 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26145 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26146 (gst_base_sink_set_property), (gst_base_sink_get_property),
26147 (gst_base_sink_handle_object), (gst_base_sink_event),
26148 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26149 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26150 (gst_base_sink_loop), (gst_base_sink_deactivate),
26151 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26152 (gst_base_sink_change_state):
26153 * gst/base/gstbasesink.h:
26154 * gst/base/gstbasesrc.h:
26155 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26156 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26157 (gst_filesink_init):
26158 more macro splitting
26160 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26162 * gst/gstelement.c: (gst_element_get_bus):
26164 * tools/gst-launch.c: (check_intr), (event_loop):
26167 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26169 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26172 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26174 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26175 (gst_base_src_finalize):
26176 add finalize method and clean up properly
26177 * gst/gstpipeline.c: (gst_pipeline_dispose):
26180 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26182 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26184 add more things to check
26185 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26186 * gst/gstelement.c:
26189 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26191 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26192 (GST_START_TEST), (fakesrc_suite):
26193 * check/gst-libs/gdp.c: (GST_START_TEST):
26194 * check/gst/gst.c: (GST_START_TEST):
26195 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26196 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26197 * check/gst/gstbus.c: (GST_START_TEST):
26198 * check/gst/gstcaps.c: (GST_START_TEST):
26199 * check/gst/gstdata.c: (GST_START_TEST):
26200 * check/gst/gstelement.c: (GST_START_TEST):
26201 * check/gst/gstghostpad.c: (GST_START_TEST):
26202 * check/gst/gstiterator.c: (GST_START_TEST):
26203 * check/gst/gstmessage.c: (GST_START_TEST):
26204 * check/gst/gstobject.c: (GST_START_TEST):
26205 * check/gst/gstpad.c: (GST_START_TEST):
26206 * check/gst/gststructure.c: (GST_START_TEST):
26207 * check/gst/gstsystemclock.c: (GST_START_TEST),
26208 (gst_systemclock_suite):
26209 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26210 * check/gst/gstvalue.c: (GST_START_TEST):
26211 * check/pipelines/cleanup.c: (GST_START_TEST):
26212 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26213 * check/states/sinks.c: (GST_START_TEST):
26214 * check/gstcheck.c: (gst_check_init):
26215 * check/gstcheck.h:
26216 add debugging category
26217 use GST_START_TEST now, so we add a debug line
26219 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26221 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26222 add test for state change message on a bin
26223 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26225 * gst/gstbin.c: (gst_bin_init):
26226 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26227 * gst/gstelement.c: (gst_element_post_message),
26228 (gst_element_set_state):
26229 * gst/gstelementfactory.c: (gst_element_factory_create):
26230 * gst/gstmessage.c: (gst_message_new):
26231 * gst/gstscheduler.c:
26232 various debugging additions and cleanups
26234 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26236 * check/Makefile.am:
26237 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26239 adding tests for elements
26240 * gst/gstelement.c: (gst_element_dispose):
26242 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26244 * gst/registries/gstlibxmlregistry.c: (load_feature):
26245 plug more leaks. A simple gst_init() now is leakfree, yay.
26247 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26249 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26250 (gst_xml_registry_load):
26251 plug another memleak
26253 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26256 use GST_SET_ERROR_CFLAGS
26257 * docs/faq/cvs.xml:
26258 change to ERROR_CFLAGS
26260 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26263 make GST_ERROR_CFLAGS overridable and re-enable Werror
26264 * docs/faq/cvs.xml:
26265 add a note about error CFLAGS
26266 * docs/gst/tmpl/gstfakesrc.sgml:
26267 * gst/elements/gstfakesrc.c:
26268 comment out some unused code
26269 * gst/gst.c: (split_and_iterate):
26270 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26274 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26276 * common/Makefile.am:
26277 * common/gtk-doc.mak:
26278 * docs/gst/Makefile.am:
26279 factor out gtk-doc.mak
26281 2005-07-07 Wim Taymans <wim@fluendo.com>
26283 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26284 (gst_thread_scheduler_dispose):
26285 Unlock the STREAM_LOCK completely.
26287 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26289 * check/Makefile.am:
26290 * check/elements/.cvsignore:
26291 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26292 (START_TEST), (fakesrc_suite), (main):
26293 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26294 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26295 (gst_fakesrc_create), (gst_fakesrc_start):
26296 * gst/elements/gstfakesrc.h:
26297 adding a first element test
26299 2005-07-07 Andy Wingo <wingo@pobox.com>
26301 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26304 2005-07-07 Wim Taymans <wim@fluendo.com>
26310 2005-07-07 Wim Taymans <wim@fluendo.com>
26312 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26313 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26314 Allow subclasses to implement their own negotiation.
26316 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26318 * docs/design/part-gstbin.txt:
26319 * docs/design/part-gstpipeline.txt:
26320 Update design notes to reflect the movement of
26321 responsibility for bus handling from GstPipeline to
26324 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26327 Remove unnecessary queue2/3/4 examples.
26329 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26331 * examples/Makefile.am:
26332 * examples/helloworld/helloworld.c: (event_loop), (main):
26333 * examples/queue/queue.c: (event_loop), (main):
26334 * examples/queue2/queue2.c: (main):
26335 Update a couple of the examples to work again.
26337 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26338 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26339 Spelling corrections and extra debug.
26341 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26342 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26343 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26345 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26346 (gst_pipeline_change_state):
26347 * gst/gstpipeline.h:
26348 Move the bus handler for children to the GstBin, and create a
26349 separate bus for receiving messages from children to the one the
26350 bus sends 'upwards' on.
26352 2005-07-06 Wim Taymans <wim@fluendo.com>
26355 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26356 (gst_base_sink_handle_object), (gst_base_sink_loop),
26357 (gst_base_sink_change_state):
26358 * gst/base/gstbasesink.h:
26359 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26360 (gst_base_src_init), (gst_base_src_setcaps),
26361 (gst_base_src_getcaps), (gst_base_src_loop),
26362 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26363 (gst_base_src_start), (gst_base_src_change_state):
26364 * gst/base/gstbasesrc.h:
26365 Make basesrc negotiate.
26366 Handle the case where preroll fails in basesink.
26369 2005-07-06 Wim Taymans <wim@fluendo.com>
26371 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26372 Implement the fixate function.
26373 Clean up acceptcaps.
26375 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26377 * docs/pwg/building-filterfactory.xml:
26378 * docs/pwg/pwg.xml:
26379 Remove never-written filter-factory chapter; I'll add the various
26380 base classes to part 4 ("other element types") later on.
26382 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26384 * docs/pwg/advanced-negotiation.xml:
26385 * docs/pwg/building-boiler.xml:
26386 * docs/pwg/building-pads.xml:
26387 * docs/pwg/pwg.xml:
26388 * examples/pwg/Makefile.am:
26389 Add a chapter on caps negotiation, simplify the original code
26390 samples a bit w.r.t. caps negotiation, add link to the advanced
26391 section. Add a bunch of examples showing different use cases of
26392 different types of caps negotiation. Upstream renegotiation isn't
26393 fully documented yet since nobody knows how that works.
26395 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26397 * check/gst/gstpad.c:
26398 * check/gstcheck.c:
26399 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26400 if pad has no parent, return NULL as list of internal links
26402 2005-07-05 Andy Wingo <wingo@pobox.com>
26404 * gst/elements/gstfilesrc.c:
26405 * gst/elements/gstfakesrc.c:
26406 * gst/base/gstpushsrc.c:
26407 * gst/base/gstbasesrc.h:
26408 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26410 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26413 better report generation target (lcov needs a patch)
26415 2005-07-05 Andy Wingo <wingo@pobox.com>
26417 * gst/elements, testsuite: Null if we got it...
26419 2005-07-05 Wim Taymans <wim@fluendo.com>
26422 * libs/gst/dataprotocol/Makefile.am:
26423 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26424 * libs/gst/dataprotocol/dataprotocol.h:
26425 * pkgconfig/Makefile.am:
26426 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26427 * pkgconfig/gstreamer-dataprotocol.pc.in:
26428 Ported dataprotol to 0.9.
26429 Added pkgconfig files.
26431 2005-07-05 Andy Wingo <wingo@pobox.com>
26433 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26434 Default to returning TRUE for the case when tranform_caps returns
26435 a fixed caps, like for identity or volume.
26437 * check/gst/gstbus.c (pound_bus_with_messages):
26438 * check/gst/gstmessage.c (START_TEST):
26439 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26440 message API change.
26442 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26443 logic weaks here: always run transform_caps, trying passthrough
26444 operation only if the original caps intersects with the transform.
26446 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26447 source and sink caps.
26449 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26450 Intersect the peer caps with the pad template before going into
26452 (gst_base_transform_transform_caps): More debugging.
26454 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26457 2005-07-04 Edward Hervey <edward@fluendo.com>
26461 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26464 2005-07-04 Andy Wingo <wingo@pobox.com>
26466 * check/gst/gstpad.c: Only set explicit caps on pads.
26468 2005-07-01 Andy Wingo <wingo@pobox.com>
26470 * tests/network-clock.scm: Commentary update.
26472 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26473 Didn't really make sense, not implementable with basetransform,
26475 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26476 attempt at implementing the sync property, needs an unlock method.
26478 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26479 New func, by default returns the same caps (the identity
26481 (gst_base_transform_getcaps): Uses transform_caps to return
26482 something sensible.
26483 (gst_base_transform_setcaps): Complicated logic to get caps on
26484 both pads, even if they are different, and to call set_caps once
26485 for every time both pads get their caps set.
26486 (gst_base_transform_handle_buffer): Give the ref to the transform
26487 function. Allows in-place modification of the buffer.
26489 * gst/base/gstbasetransform.h (transform_caps): New class method.
26490 Given caps on one side, what can I do on the other.
26491 (set_caps): Take two caps, one for each side of the element.
26494 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26495 caps in place. This is safe because we can check the mutability of
26496 the caps, and a good idea because fixate functions are just called
26497 as a matter of last resort. (Not actually implemented.)
26498 (gst_pad_set_caps): If the caps we're setting is actually the same
26499 as the existing pad caps, just update the pointer without calling
26500 setcaps. Assert that caps is either NULL or fixed, as per the
26503 * gst/gstghostpad.c: Update for fixate changes.
26505 2005-07-02 Andy Wingo <wingo@pobox.com>
26508 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26509 two refcounts makes it immutable, which is enough. Doc more.
26511 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26513 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26514 Put the mini_object into GValue as a mini_object,
26515 not a gpointer, since that's how we declared
26518 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26520 * examples/pwg/Makefile.am:
26521 Fix buildbot again.
26523 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26525 * docs/pwg/building-testapp.xml:
26527 * examples/pwg/Makefile.am:
26530 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26533 * examples/Makefile.am:
26534 * examples/pwg/Makefile.am:
26535 * examples/pwg/extract.pl:
26536 Enable building the PWG examples.
26537 * docs/pwg/advanced-interfaces.xml:
26538 Add URI interface stub.
26539 * docs/pwg/advanced-types.xml:
26540 * docs/pwg/other-autoplugger.xml:
26541 * docs/pwg/appendix-porting.xml:
26542 * docs/pwg/pwg.xml:
26543 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26544 * docs/pwg/building-boiler.xml:
26545 * docs/pwg/building-chainfn.xml:
26546 * docs/pwg/building-pads.xml:
26547 * docs/pwg/building-props.xml:
26548 * docs/pwg/building-state.xml:
26549 * docs/pwg/building-testapp.xml:
26550 Update the building-*.xml parts for 0.9 changes. All examples
26551 code blocks compile in examples/pwg/*.
26553 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26555 * docs/manual/advanced-autoplugging.xml:
26556 * docs/manual/appendix-checklist.xml:
26557 * docs/manual/appendix-integration.xml:
26558 * docs/manual/highlevel-components.xml:
26559 Fix playbin/decodebin examples, update docs a bit, mention bus
26560 instead of signals in various places, mention kmplayer and
26561 kaffeine since they have a working GStreamer backend in the KDE
26564 2005-06-30 Wim Taymans <wim@fluendo.com>
26567 * docs/design/draft-ghostpads.txt:
26568 * docs/design/draft-push-pull.txt:
26569 * docs/design/draft-query.txt:
26570 * docs/design/part-TODO.txt:
26571 * docs/design/part-query.txt:
26572 Added CHANGES-0.9 doc, updated status of other docs.
26577 2005-06-30 Wim Taymans <wim@fluendo.com>
26579 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26580 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26581 (gst_base_sink_change_state):
26582 * gst/base/gstbasesink.h:
26583 Some tweaks, only EOS and a buffer complete a preroll.
26585 2005-06-30 Andy Wingo <wingo@pobox.com>
26587 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26588 activate_push down to the internal pad as well.
26590 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26592 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26594 * gst/gsttaginterface.c:
26595 Some documentation fixes (#307394 and #307397).
26597 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26599 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26601 * gst/gstvalue.c: (gst_value_intersect_list):
26602 Fix memleak (#309125).
26604 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26606 * docs/manual/advanced-dataaccess.xml:
26607 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26608 * docs/manual/basics-pads.xml:
26609 Add reference for filtered caps to above chapter.
26611 2005-06-30 Wim Taymans <wim@fluendo.com>
26613 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26614 (gst_bin_change_state):
26616 Lame attempt at making the state change function a bit
26619 2005-06-30 Wim Taymans <wim@fluendo.com>
26621 * docs/design/part-clocks.txt:
26622 * docs/design/part-element-sink.txt:
26623 * docs/design/part-events.txt:
26624 * docs/design/part-preroll.txt:
26625 * docs/design/part-states.txt:
26626 Some more tweeks and additions to the docs.
26628 2005-06-30 Wim Taymans <wim@fluendo.com>
26630 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26631 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26632 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26633 (gst_pad_check_pull_range), (gst_pad_get_range),
26634 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26636 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26637 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26638 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26639 (gst_pad_remove_buffer_probe):
26640 Removed atomic operations, use existing LOCK.
26641 Move exception handling out of main code path.
26643 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26645 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26646 (silly_return_true_function), (gst_pad_class_init),
26647 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26648 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26649 (gst_pad_send_event):
26650 Fix accumulator, add default value by using _emitv() instead
26651 of _emit() for signal emission.
26653 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26655 * docs/manual/advanced-dataaccess.xml:
26656 * examples/manual/Makefile.am:
26658 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26661 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26663 * gst/elements/gstfilesink.c: (gst_filesink_render):
26664 Simplify code so that we don't have to handle short
26665 writes and return GST_FLOW_ERROR if an error occured.
26667 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26669 * docs/gst/gstreamer-docs.sgml:
26670 Remove probes more.
26672 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26674 * docs/gst/gstreamer-sections.txt:
26675 * docs/gst/tmpl/gstpad.sgml:
26676 * docs/gst/tmpl/gstprobe.sgml:
26678 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26679 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26680 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26681 (gst_pad_push_event), (gst_pad_send_event):
26683 * gst/gstutils.c: (gst_pad_add_data_probe),
26684 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26685 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26686 (gst_pad_remove_buffer_probe):
26688 Remove old probes, add new g-signal-based probes and some utility
26691 2005-06-29 Edward Hervey <edward@fluendo.com>
26693 * gst/gstelementfactory.c:
26696 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26697 the definition to the header file.
26699 2005-06-29 Andy Wingo <wingo@pobox.com>
26701 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26702 plugins from the source directory.
26704 2005-06-29 Wim Taymans <wim@fluendo.com>
26706 * docs/gst/tmpl/gstbuffer.sgml:
26707 * docs/gst/tmpl/gstclock.sgml:
26708 Some fixings for blantently wrong text.
26710 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26712 * check/Makefile.am:
26713 * gst/gst.c: (add_path_func), (init_pre):
26714 * gst/gstregistry.c: (gst_registry_add_path):
26715 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26716 only scan the GST_PLUGIN_PATH locations, and not add
26719 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26721 * docs/gst/gstreamer-sections.txt:
26722 * docs/gst/tmpl/gstbasesrc.sgml:
26723 * gst/gstelement.c:
26724 * gst/gstelement.h:
26729 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26731 * docs/manual/advanced-autoplugging.xml:
26732 Fix autoplugging example.
26734 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26736 * docs/manual/advanced-autoplugging.xml:
26737 * docs/manual/mime-world.fig:
26738 Try to get autoplugging working, fix type detection. Fix text
26739 in hello-world image.
26741 2005-06-29 Wim Taymans <wim@fluendo.com>
26743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26744 (gst_base_sink_change_state):
26748 map SIGNAL and BROADCAST to the right function.
26751 Remove redundant braces.
26753 * gst/gstpad.c: (gst_pad_set_caps):
26754 Don't call setcaps function when reseting caps to NULL.
26756 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26757 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26758 (gst_system_clock_id_unschedule):
26759 Use BROADCAST as this is what we do.
26761 2005-06-29 Wim Taymans <wim@fluendo.com>
26763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26764 We are actually prerolling before commiting the state
26767 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26769 * docs/manual/advanced-clocks.xml:
26770 * docs/manual/advanced-interfaces.xml:
26771 * docs/manual/advanced-metadata.xml:
26772 * docs/manual/advanced-position.xml:
26773 * docs/manual/advanced-schedulers.xml:
26774 * docs/manual/advanced-threads.xml:
26775 * docs/manual/appendix-porting.xml:
26776 * docs/manual/basics-bins.xml:
26777 * docs/manual/basics-bus.xml:
26778 * docs/manual/basics-elements.xml:
26779 * docs/manual/basics-helloworld.xml:
26780 * docs/manual/basics-pads.xml:
26781 * docs/manual/highlevel-components.xml:
26782 * docs/manual/manual.xml:
26783 * docs/manual/thread.fig:
26784 Update (until threads/scheduling) Application Development Manual;
26785 remove GstThread, add GstBus, add simple porting checklist, add
26786 documentation for tag writing, clocks, make all examples until this
26787 part compile and run.
26788 * examples/manual/Makefile.am:
26789 Update from changes to Application Development Manual; add bus
26790 example, remove thread example.
26792 2005-06-28 Wim Taymans <wim@fluendo.com>
26794 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26795 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26796 (gst_bus_source_dispatch):
26797 Add debugging messages.
26798 Make internal methods static.
26799 Handle the case where the bus is flushed in the handler.
26801 * gst/gstelement.c: (gst_element_get_bus):
26802 Fix refcount in _get_bus();
26804 * gst/gstpipeline.c: (gst_pipeline_change_state),
26805 (gst_pipeline_get_clock_func):
26806 Clock refcounting fixes.
26807 Handle the case where preroll timed out more gracefully.
26809 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26810 Clean up the internal thread in dispose. This is needed
26811 for subclasses that actually get disposed.
26813 * gst/schedulers/threadscheduler.c:
26814 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26815 (gst_thread_scheduler_dispose):
26816 Free thread pool in dispose.
26818 2005-06-28 Andy Wingo <wingo@pobox.com>
26820 * tests/network-clock-utils.scm (debug, print-event): New utils.
26822 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26823 (*packet-loss*): Unified loss probability.
26824 (network-time): Report out-of-band events.
26826 * tests/plot-data: Add support for out-of-band events. Hack it
26827 into this script instead of passing it down the pipe; should fix
26830 2005-06-28 Wim Taymans <wim@fluendo.com>
26832 * docs/gst/gstreamer.types:
26833 * docs/gst/tmpl/gstbasesrc.sgml:
26834 * docs/gst/tmpl/gstpad.sgml:
26837 2005-06-28 Wim Taymans <wim@fluendo.com>
26839 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26840 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26841 (gst_proxy_pad_do_fixatecaps):
26842 Correctly proxy the check_pull_range function.
26844 2005-06-28 Andy Wingo <wingo@pobox.com>
26846 * tests/network-clock.scm: Removed need for slib.
26848 2005-06-28 Wim Taymans <wim@fluendo.com>
26850 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26851 (gst_basesink_preroll_queue_flush):
26852 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26853 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26854 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26855 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26856 (gst_proxy_pad_set_property):
26859 * gst/gstqueue.c: (gst_queue_init):
26860 The deprecated pad loop function is removed now.
26862 2005-06-28 Andy Wingo <wingo@pobox.com>
26864 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26865 New parameters, simulate network packet loss.
26867 * tests/network-clock-utils.scm: Initialize the RNG.
26869 2005-06-28 Wim Taymans <wim@fluendo.com>
26871 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26872 (gst_basesink_event), (gst_basesink_deactivate):
26873 Flushing the preroll queue always needs to unlock the waiters.
26875 2005-06-28 Edward Hervey <edward@fluendo.com>
26877 * gst/gstpipeline.c: (gst_pipeline_send_event):
26878 Wheen a seek was successful on a pipeline, set the stream_time to the
26879 seek offset in order to have a synchronized stream_time.
26881 2005-06-28 Wim Taymans <wim@fluendo.com>
26883 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26884 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26885 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26886 (gst_proxy_pad_do_fixatecaps):
26887 Call wrapper function instead of just calling the function
26888 pointers. This takes care of any locking and whatmore.
26890 2005-06-28 Wim Taymans <wim@fluendo.com>
26892 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26893 (gst_pad_pull_range):
26895 CONNECTED -> LINKED.
26897 2005-06-28 Andy Wingo <wingo@pobox.com>
26899 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26900 source-munging commit!!!
26902 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26903 (gst_object_sink): Take gpointer arguments, not GstObject --
26904 avoids casts. Like GLib.
26906 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26909 2005-06-27 Andy Wingo <wingo@pobox.com>
26911 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26914 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26915 returns a sorted copy of the trace list.
26916 (gst_alloc_trace_print_live): New API, only prints traces with
26917 live objects. Sort the list.
26918 (gst_alloc_trace_print_all): Sort the list.
26919 (gst_alloc_trace_print): Align columns.
26921 * gst/elements/gstttypefindelement.c:
26922 * gst/elements/gsttee.c:
26923 * gst/base/gstbasesrc.c:
26924 * gst/base/gstbasesink.c:
26925 * gst/base/gstbasetransform.c:
26926 * gst/gstqueue.c: Adapt for pad activation changes.
26928 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26930 (gst_pipeline_dispose): Drop ref on sched.
26932 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26933 (gst_pad_activate_default): Push mode by default.
26934 (pre_activate_switch, post_activate_switch): New stubs, things to
26935 do before and after switching activation modes on pads.
26936 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26937 the pad's activate function to choose which mode to activate.
26938 Shortcut on deactivation and call the right function directly.
26939 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26941 (gst_pad_activate_push): New API, same for push mode.
26942 (gst_pad_set_activate_function)
26943 (gst_pad_set_activatepull_function)
26944 (gst_pad_set_activatepush_function): Setters for new API.
26946 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26947 Trace all miniobjects.
26948 (gst_mini_object_make_writable): Unref the arg if we copy, like
26949 gst_caps_make_writable.
26951 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26953 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26954 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26955 Adapt for new pad API.
26957 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26959 * gst/gstelement.h:
26960 * gst/gstelement.c (gst_element_iterate_src_pads)
26961 (gst_element_iterate_sink_pads): New API functions.
26963 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26964 should fold into gstiterator.c in some form.
26965 (gst_element_pads_activate): Simplified via use of fold and
26966 delegation of decisions to gstpad->activate.
26968 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26971 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26972 class once in init, like gstmessage. Didn't run into this issue
26973 but it seems correct. Don't initialize a trace, gstminiobject does
26976 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26977 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26979 (assert_live_count): New util function, uses alloc traces to check
26982 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26983 To be modified when unlink drops the internal pad.
26985 2005-06-27 Wim Taymans <wim@fluendo.com>
26987 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26988 (gst_bin_change_state):
26989 Cleanup the get_state() function a little, make sure it
26990 iterates the same set of elements.
26991 Added stub iterate_state_order().
26993 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26995 * docs/gst/gstreamer-docs.sgml:
26996 * docs/gst/gstreamer-sections.txt:
26997 * docs/gst/gstreamer.types:
26998 * docs/gst/tmpl/gstbasesink.sgml:
26999 * docs/gst/tmpl/gstbasesrc.sgml:
27000 * docs/gst/tmpl/gstbasetransform.sgml:
27001 * docs/gst/tmpl/gstelement.sgml:
27002 * docs/gst/tmpl/gstiterator.sgml:
27003 * gst/base/gstbasesrc.c:
27004 * gst/base/gstbasesrc.h:
27005 * gst/base/gstbasetransform.h:
27006 * gst/gstelement.c:
27007 * gst/gstiterator.h:
27008 adding basetransform and iterator docs
27010 2005-06-27 Andy Wingo <wingo@pobox.com>
27012 * docs/design/part-activation.txt: Notes on how activation should
27013 work -- not quite implemented yet.
27015 2005-06-25 Wim Taymans <wim@fluendo.com>
27017 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
27018 At least get the chain function correct, needs more
27021 2005-06-25 Wim Taymans <wim@fluendo.com>
27023 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27024 (gst_basesink_handle_object), (gst_basesink_event),
27025 (gst_basesink_do_sync), (gst_basesink_handle_event),
27026 (gst_basesink_change_state):
27028 Right, two problems here: ghostpads don't take locks and
27029 glib _rec_mutex_lock_full() with depth==0 still locks.
27030 Catch illegal locking and g_warn them.
27032 2005-06-25 Wim Taymans <wim@fluendo.com>
27034 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27035 Have to check for completion now...
27037 2005-06-25 Wim Taymans <wim@fluendo.com>
27039 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27040 (gst_basesink_handle_object), (gst_basesink_event),
27041 (gst_basesink_do_sync), (gst_basesink_handle_event),
27042 (gst_basesink_change_state):
27044 Unlock STREAM_LOCK whatever the recursion was.
27046 2005-06-25 Wim Taymans <wim@fluendo.com>
27048 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27049 (gst_basesink_preroll_queue_empty),
27050 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27051 (gst_basesink_event), (gst_basesink_do_sync),
27052 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27053 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27054 (gst_basesink_change_state):
27055 Reworked the base sink, handle event and buffer serialisation
27056 correctly and removed possible deadlock.
27057 Handle EOS correctly.
27059 2005-06-25 Wim Taymans <wim@fluendo.com>
27061 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27062 (gst_pipeline_change_state):
27063 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27064 Allow elements to post EOS in the state change function.
27065 Fix up -launch, make it exit the poll loop when the
27066 pipeline actually changed state.
27067 Fix up warning parsing in -launch.
27069 2005-06-25 Wim Taymans <wim@fluendo.com>
27071 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27072 (gst_tee_sink_activate):
27073 Core takes STREAM_LOCK for us now.
27075 2005-06-25 Wim Taymans <wim@fluendo.com>
27077 * gst/gstelement.c: (gst_element_get_state_func),
27078 (gst_element_set_state):
27079 * gst/gstelement.h:
27080 * gst/gstmessage.c: (gst_message_parse_error),
27081 (gst_message_parse_warning):
27082 Keep track of current target state while performing a state
27083 change so that subclasses can do something interesting.
27084 Fix parsing of warning/error messages when GError is NULL.
27086 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27088 * docs/gst/Makefile.am:
27089 * docs/gst/gstreamer-docs.sgml:
27090 * docs/gst/gstreamer-sections.txt:
27091 * docs/gst/gstreamer.types:
27092 * docs/gst/tmpl/gstbasesink.sgml:
27093 * docs/gst/tmpl/gstbasesrc.sgml:
27094 * docs/gst/tmpl/gstbin.sgml:
27095 * docs/gst/tmpl/gstcompat.sgml:
27096 * docs/gst/tmpl/gstfakesink.sgml:
27097 * docs/gst/tmpl/gstfakesrc.sgml:
27098 * docs/gst/tmpl/gstfilesink.sgml:
27099 * docs/gst/tmpl/gstfilesrc.sgml:
27100 * docs/gst/tmpl/gstindex.sgml:
27101 * docs/manual/appendix-quotes.xml:
27102 * gst/base/gstbasesrc.h:
27103 * gst/elements/gstfakesrc.h:
27104 * gst/gstmessage.h:
27105 start pulling in base classes and elements in our docs
27107 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27109 * docs/gst/Makefile.am:
27110 * docs/libs/Makefile.am:
27111 fixed make distcheck with gtk-doc 1.3
27113 2005-06-23 Wim Taymans <wim@fluendo.com>
27115 * gst/gstelement.c: (gst_element_get_state_func),
27116 (gst_element_set_state), (gst_element_change_state):
27117 When the state did not change, also report NO_PREROLL
27120 2005-06-23 Wim Taymans <wim@fluendo.com>
27122 * gst/gstpad.c: (gst_pad_event_default):
27123 * gst/gstqueue.c: (gst_queue_loop):
27124 No unsafe task pausing please.
27126 2005-06-23 Wim Taymans <wim@fluendo.com>
27128 * gst/schedulers/threadscheduler.c:
27129 (gst_thread_scheduler_task_start),
27130 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27131 Ref the task before pushing it on the threadpool. This
27132 makes sure that we have a ref when the threadfunction is
27135 2005-06-23 Andy Wingo <wingo@pobox.com>
27137 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27138 offset is greater than the file's size.
27140 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27141 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27142 * gst/gstobject.c (gst_object_class_init): Make the class lock
27143 recursive. Wim won't let me drop deep_notify. Decodebin works
27144 again, whoopdy doo.
27146 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27147 internal pad, and hacks accordingly. Doesn't do it on the target
27148 pad because we change its caps. Probably catches all cases of
27150 (gst_ghost_pad_set_property): Connect to notify::caps as
27153 * tests/network-clock.scm (plot-simulation): Pipe data to the
27154 elite python skript.
27156 * tests/network-clock-utils.scm (define-parameter): New macro,
27157 defines a parameter that can be set via the command line.
27158 (set-parameter!, parse-parameter-arguments): Command line args
27161 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27164 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27166 * gst/elements/gsttypefindelement.c:
27167 (gst_type_find_element_handle_event):
27168 Don't restart typefinding on a discont.
27169 * gst/gstelement.c: (gst_element_set_state):
27170 Debug spelling fix.
27171 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27172 Allow changing mode of an active pad.
27173 Debug output fixes.
27174 * gst/registries/gstlibxmlregistry.c: (load_feature):
27175 Don't cast a static pad template to a normal pad template.
27177 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27179 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27180 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27181 remove gst_strtoll completely, since it didn't actually do
27182 anything more than what g_ascii_strtoull already does.
27183 check for range errors when deserializing
27184 do a cast for the unsigned cases; but further fixing needs
27185 a decision on what the interpretation of "(int)" and
27186 deserialization should be for values that fall outside the
27187 type's boundaries (ie, refuse, or interpret as casting)
27189 2005-06-23 Wim Taymans <wim@fluendo.com>
27191 * check/Makefile.am:
27192 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27193 * docs/design/part-live-source.txt:
27194 * docs/design/part-states.txt:
27195 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27196 (gst_basesrc_set_live), (gst_basesrc_is_live),
27197 (gst_basesrc_get_range), (gst_basesrc_activate),
27198 (gst_basesrc_change_state):
27199 * gst/base/gstbasesrc.h:
27200 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27201 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27202 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27203 * gst/gstelement.c: (gst_element_get_state_func),
27204 (gst_element_set_state):
27205 * gst/gstelement.h:
27207 * tools/gst-launch.c: (event_loop), (main):
27208 Added support for live sources and other elements that
27210 Updated design docs, added live-source design doc.
27211 Implemented live source functionality in basesrc
27212 Fix error condition in _bin_get_state()
27213 Implement live source handling in -launch.
27214 Added check for live sources.
27215 Fixed case in GstBin where elements were changed state
27219 2005-06-23 Andy Wingo <wingo@pobox.com>
27221 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27222 borken refcounting.
27224 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27225 gst_caps_replace takes care of this for us.
27227 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27228 gst_pad_set_caps on the target, not just its setcaps() function.
27230 * tests/network-clock.scm:
27231 * tests/network-clock-utils.scm: A network clock simulator.
27232 Something of an algorithmic testbed before doing something in C.
27234 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27236 * check/Makefile.am:
27237 * check/gst/capslist.h:
27238 copy over from 0.8, and add two with bitmasks specified with
27240 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27241 add test to parse everything from capslist.h
27242 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27244 add test for structure deserialization
27245 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27246 add tests for deserialization of strings to int types
27247 * gst/gststructure.c: (gst_structure_nth_field_name):
27248 * gst/gststructure.h:
27249 add a way to get the name of a field referenced by index
27250 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27251 instead of checking if the resulting long long lies between
27252 min and max, we check if the long long would fit into
27253 a number of bytes for the final type.
27254 This fixes cases where a string represents 2^32 - 1, which
27255 when cast to int would be the (valid) -1, but is bigger than
27258 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27260 * gst/parse/grammar.y:
27261 add a log line for type deserialization
27263 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27265 * check/gst/gstvalue.c: (START_TEST):
27266 * gst/gstvalue.c: (gst_value_deserialize):
27267 return long long, not int, so gint64 deserialization actually
27268 works. Is there any flag that makes the compiler check this ?
27271 2005-06-22 Wim Taymans <wim@fluendo.com>
27274 Added convenience macros for setting buffers in GValue.
27276 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27278 * check/gst/.cvsignore:
27279 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27280 add a test deserializing int64, and comment part out because
27283 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27285 * check/Makefile.am:
27286 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27287 * testsuite/Makefile.am:
27288 * testsuite/caps/Makefile.am:
27289 * testsuite/caps/value_serialize.c:
27290 * testsuite/test_gst_init.c:
27291 move a value_serialize test over
27293 2005-06-20 Wim Taymans <wim@fluendo.com>
27298 * gst/gstvalue.c: (gst_value_compare_buffer),
27299 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27300 (gst_value_compare_flags), (gst_value_serialize_flags),
27301 (gst_value_deserialize_flags), (_gst_value_initialize):
27302 Fix serialisation of buffers, they are not boxed types anymore
27304 2005-06-20 Wim Taymans <wim@fluendo.com>
27306 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27307 Testcase to show error in buffer-on-caps serialisation.
27309 2005-06-20 Andy Wingo <wingo@pobox.com>
27311 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27312 will be adding to later.
27314 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27315 if its socks fill with rocks.
27316 (gst_system_clock_obtain): Set the name on object construction.
27317 Avoid double-checked locking.
27319 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27321 * gst/gsturi.c: (gst_element_make_from_uri):
27322 Fix potential endless loop.
27324 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27326 * check/Makefile.am:
27328 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27330 move over from testsuite dir and clean up
27333 * testsuite/Makefile.am:
27334 * testsuite/tags/.cvsignore:
27335 * testsuite/tags/Makefile.am:
27336 * testsuite/tags/merge.c:
27337 remove testsuite/tags
27339 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27341 * docs/gst/gstreamer-sections.txt:
27342 * docs/gst/tmpl/gstenumtypes.sgml:
27343 * win32/gstenumtypes.c:
27344 clean up documentation build a little
27346 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27348 * check/gstcheck.h:
27349 add macros for checking refcounts on objects and caps
27350 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27351 add some more unit tests
27352 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27353 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27354 fix leaked refcounts (I hope :)) so unittest works
27358 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27360 * configure.ac: back to HEAD
27362 === release 0.9.1 ===
27364 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27370 2005-06-17 Andy Wingo <wingo@pobox.com>
27372 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27373 assert; it's always possible that the pad gets deactivated in
27374 between the checks in gstpad.c and the implementation. Rely on
27375 finish_preroll() to return a FLUSHING or similar instead of on the
27378 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27379 clock and post an EOS message if we come out of finish_preroll in
27382 2005-06-16 David Schleef <ds@schleef.org>
27384 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27385 (gst_capsfilter_set_property): Allow NULL as possible value
27386 for filter_caps property, indicating GST_CAPS_ANY.
27388 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27390 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27392 * gst/schedulers/Makefile.am:
27394 * gstreamer.spec.in:
27397 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27399 * gstreamer.spec.in:
27402 2005-06-08 Andy Wingo <wingo@pobox.com>
27404 * gst/gstutils.c: RPAD fixes all around.
27405 (gst_element_link_pads): Refcounting fixes.
27407 * tools/gst-inspect.c:
27408 * tools/gst-xmlinspect.c:
27410 * gst/base/gsttypefindhelper.c:
27411 * gst/base/gstbasesink.c:
27412 * gst/gstqueue.c: RPAD fixes.
27414 * gst/gstghostpad.h:
27415 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27416 pads. The tricky thing is they provide both source and sink
27417 interfaces, since they proxy the internal pad for the external
27418 pad, and vice versa. Implement with lower-level ProxyPad objects,
27419 with the interior proxy pad as a child of the exterior ghost pad.
27420 Should write a doc on this.
27422 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27423 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27426 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27427 pads are real pads. No ghost pads in this file. Not documenting
27428 the myriad s/RPAD/PAD/ and REALIZE fixes.
27429 (gst_pad_class_init): Add properties for "direction" and
27430 "template". Both are construct-only, so they can't change during
27431 the life of the pad. Fixes properly deriving from GstPad.
27432 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27433 derived objects, just set properties when creating the objects via
27435 (gst_pad_get_parent): Implement as a function, return NULL if the
27436 parent is not an element.
27437 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27438 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27440 * gst/gstobject.c (gst_object_class_init): Make name a construct
27441 property. Don't set it in the object init.
27443 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27444 with UNKNOWN direction.
27445 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27446 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27447 (gst_element_remove_pad): Remove ghost-pad special cases.
27448 (gst_element_pads_activate): Remove rpad cruft.
27450 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27451 catch the pad's-parent-not-an-element case.
27453 * gst/gst.h: Include gstghostpad.h.
27455 * gst/gst.c (init_post): No more real, ghost pads.
27457 * gst/Makefile.am: Add gstghostpad.[ch].
27459 * check/Makefile.am:
27460 * check/gst/gstbin.c:
27461 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27462 into a bin creates ghost pads, and that the refcounts are right.
27463 Partly moved from gstbin.c.
27465 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27467 * check/gst-libs/.cvsignore:
27468 * check/gst/.cvsignore:
27469 * check/pipelines/.cvsignore:
27471 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27472 (START_TEST), (cleanup_suite), (main):
27473 add some tests related to cleanup after running pipelines
27475 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27477 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27478 add a testsuite for GstBuffer
27480 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27482 * gst/gstminiobject.h:
27483 add defines for accessing the refcount
27485 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27487 * Makefile.am: added support for html unit test coverage reports
27489 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27491 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27492 Free existing caps if the capsfilter changes. Add a FIXME about
27493 setting those caps on the pads.
27495 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27496 Before adding a ghost pad to a parent bin, check that there isn't
27497 already one for the element on the bin. Prevents infinite recursion
27498 when using decodebin in parse pipelines. Andy says he'll rewrite the
27499 way this works anyway, so ignore the hack.
27501 2005-06-02 Andy Wingo <wingo@pobox.com>
27503 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27504 file size, pass it on to the type find helper.
27506 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27507 segment_start and segment_end properly according to the seek
27508 method. Segment_end is still a bit flaky because offset can be
27509 negative for CUR and END cases, but it takes -1 as an "unset"
27512 2005-06-02 Wim Taymans <wim@fluendo.com>
27514 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27515 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27516 (gst_basesink_activate):
27517 * gst/base/gstbasesink.h:
27518 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27519 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27520 (gst_pad_query), (gst_pad_start_task):
27522 * gst/gstqueue.c: (gst_queue_bufferalloc),
27523 (gst_queue_handle_sink_event), (gst_queue_chain):
27524 Bufferalloc: return GstFlowReturn to more accuratly report
27525 why allocation failed.
27527 2005-06-02 Wim Taymans <wim@fluendo.com>
27529 * gst/gstpipeline.c: (gst_pipeline_send_event):
27530 Take snapshot of state without blocking.
27532 2005-06-02 Wim Taymans <wim@fluendo.com>
27534 * docs/design/part-TODO.txt:
27535 * docs/design/part-caps.txt:
27536 * docs/design/part-clocks.txt:
27537 * docs/design/part-negotiation.txt:
27538 * docs/design/part-preroll.txt:
27541 2005-05-30 Wim Taymans <wim@fluendo.com>
27543 * gst/elements/gstidentity.c: (gst_identity_event),
27544 (gst_identity_transform), (gst_identity_get_property):
27545 Protect last_message property as it is accessed from
27548 2005-05-30 Wim Taymans <wim@fluendo.com>
27550 * gst/gstelement.c: (gst_element_init),
27551 (gst_element_pads_activate), (gst_element_change_state):
27552 Slicker pad activation code.
27554 2005-05-30 Wim Taymans <wim@fluendo.com>
27557 * gst/gstelement.h:
27558 * gst/gstelementfactory.h:
27560 Move elementfactory methods to separate .h file.
27562 2005-05-30 Wim Taymans <wim@fluendo.com>
27564 * docs/design/part-overview.txt:
27565 * gst/gstsystemclock.h:
27566 Small typo fixes, doc updates.
27568 2005-05-30 Wim Taymans <wim@fluendo.com>
27570 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27571 (init_popt_callback):
27572 Remove cpu-opt flag.
27574 2005-05-30 Wim Taymans <wim@fluendo.com>
27576 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27577 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27579 Avoid typechecking in places where not needed.
27580 Added accessor for malloc_data.
27582 2005-05-30 Wim Taymans <wim@fluendo.com>
27584 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27585 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27586 (gst_pad_configure_sink), (gst_pad_configure_src),
27587 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27588 (gst_pad_start_task):
27589 Propagate errors from _set_caps() in configure_src/sink
27590 functions instead of returning TRUE.
27591 FLUSH events can travel up and downstream
27594 2005-05-30 Wim Taymans <wim@fluendo.com>
27596 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27597 (gst_basesink_activate):
27598 Handle EOS in preroll.
27600 2005-05-30 Wim Taymans <wim@fluendo.com>
27602 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27603 (gst_queue_loop), (gst_queue_handle_src_event):
27604 Remove old pieces of code
27605 Flushing the queue in an upstream event is a very bad idea.
27607 2005-05-26 Andy Wingo <wingo@pobox.com>
27609 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27610 gst_value_set_mini_object so as to add a ref on the object (which
27611 will be removed when the value is unset).
27613 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27614 arg type in ::handoff.
27616 * gst/gstelement.c (gst_element_change_state): Also deactivate
27617 pads in READY->NULL, just in case the element didn't make it to
27618 PAUSED. Wingo tested, Wim approved.
27620 2005-05-26 Wim Taymans <wim@fluendo.com>
27622 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27623 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27624 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27625 A flushing pad cannot be used to alloc_buffer from.
27627 2005-05-26 Wim Taymans <wim@fluendo.com>
27629 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27630 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27631 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27632 (gst_bus_create_watch), (gst_bus_add_watch_full):
27634 Implement a real GSource and use g_main_context_wakeup() to
27635 signal new messages instead of the socketpair.
27637 2005-05-25 Wim Taymans <wim@fluendo.com>
27639 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27640 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27641 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27642 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27643 (gst_pad_send_event), (gst_pad_start_task):
27644 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27645 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27646 (gst_queue_sink_activate), (gst_queue_src_activate),
27647 (gst_queue_change_state):
27649 Fix state changes for non sinks. We now change sinks, then elements
27650 with unconnected srcpads, then the rest.
27651 More efficient queue unlocking in flush and state changes.
27652 Set the pad activate mode even if it does not have an activate
27655 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27657 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27658 Don't go in pull mode for non-seekable sources.
27659 * gst/elements/gsttypefindelement.h:
27660 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27661 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27662 (free_entry), (stop_typefinding),
27663 (gst_type_find_element_handle_event), (find_peek),
27664 (gst_type_find_element_chain), (do_pull_typefind),
27665 (gst_type_find_element_change_state):
27666 Allow typefinding (w/o seeking) in push-mode, simplified version
27667 of what was in 0.8.
27668 * gst/gstutils.c: (gst_buffer_join):
27670 gst_buffer_join() from 0.8.
27672 2005-05-25 Wim Taymans <wim@fluendo.com>
27674 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27675 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27676 (gst_pad_send_event), (gst_pad_start_task):
27677 Disable attempt at mode switching until it is figured out.
27679 2005-05-25 Wim Taymans <wim@fluendo.com>
27681 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27682 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27683 (gst_basesink_finish_preroll), (gst_basesink_chain),
27684 (gst_basesink_loop), (gst_basesink_activate),
27685 (gst_basesink_change_state):
27686 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27687 (gst_basesrc_get_range), (gst_basesrc_loop),
27688 (gst_basesrc_activate):
27689 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27690 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27691 (gst_real_pad_init), (gst_real_pad_set_property),
27692 (gst_real_pad_get_property), (gst_pad_set_active),
27693 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27694 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27695 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27696 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27697 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27698 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27699 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27700 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27701 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27702 (gst_pad_stop_task):
27704 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27705 (gst_queue_loop), (gst_queue_src_activate):
27706 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27707 (gst_task_get_state):
27709 * gst/schedulers/threadscheduler.c:
27710 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27711 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27713 Remove ACTIVE pad flag, use FLUSHING everywhere
27714 Added _pad_chain(), _pad_get_range() to call chain/getrange
27716 Add locks around IS_FLUSHING when reading.
27717 Take STREAM lock in chain(), get_range() functions so plugins
27718 don't need to take it anymore.
27722 2005-05-25 Wim Taymans <wim@fluendo.com>
27724 * tools/gst-launch.c: (event_loop):
27725 Unref message after using its contents instead of
27728 2005-05-24 Wim Taymans <wim@fluendo.com>
27730 * docs/design/draft-ghostpads.txt:
27731 * docs/design/draft-push-pull.txt:
27732 * docs/design/draft-query.txt:
27733 * docs/design/part-overview.txt:
27734 Docs updates, added general overview doc.
27736 2005-05-21 David Schleef <ds@schleef.org>
27738 * docs/gst/tmpl/old/GstBin.sgml:
27739 * docs/gst/tmpl/old/GstBuffer.sgml:
27740 * docs/gst/tmpl/old/GstCaps.sgml:
27741 * docs/gst/tmpl/old/GstClock.sgml:
27742 * docs/gst/tmpl/old/GstCompat.sgml:
27743 * docs/gst/tmpl/old/GstData.sgml:
27744 * docs/gst/tmpl/old/GstElement.sgml:
27745 * docs/gst/tmpl/old/GstEvent.sgml:
27746 * docs/gst/tmpl/old/GstIndex.sgml:
27747 * docs/gst/tmpl/old/GstStructure.sgml:
27748 * docs/gst/tmpl/old/GstTag.sgml:
27749 * docs/gst/tmpl/old/cothreads.sgml:
27750 * docs/gst/tmpl/old/cothreads_compat.sgml:
27751 * docs/gst/tmpl/old/gettext.sgml:
27752 * docs/gst/tmpl/old/gobject2gtk.sgml:
27753 * docs/gst/tmpl/old/grammar.tab.sgml:
27754 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27755 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27756 * docs/gst/tmpl/old/gst_private.sgml:
27757 * docs/gst/tmpl/old/gstaggregator.sgml:
27758 * docs/gst/tmpl/old/gstarch.sgml:
27759 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27760 * docs/gst/tmpl/old/gstbufferstore.sgml:
27761 * docs/gst/tmpl/old/gstdata_private.sgml:
27762 * docs/gst/tmpl/old/gstdisksink.sgml:
27763 * docs/gst/tmpl/old/gstdisksrc.sgml:
27764 * docs/gst/tmpl/old/gstelementfactory.sgml:
27765 * docs/gst/tmpl/old/gstextratypes.sgml:
27766 * docs/gst/tmpl/old/gstfakesink.sgml:
27767 * docs/gst/tmpl/old/gstfakesrc.sgml:
27768 * docs/gst/tmpl/old/gstfdsink.sgml:
27769 * docs/gst/tmpl/old/gstfdsrc.sgml:
27770 * docs/gst/tmpl/old/gstfilesink.sgml:
27771 * docs/gst/tmpl/old/gstfilesrc.sgml:
27772 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27773 * docs/gst/tmpl/old/gstidentity.sgml:
27774 * docs/gst/tmpl/old/gstindexfactory.sgml:
27775 * docs/gst/tmpl/old/gstmarshal.sgml:
27776 * docs/gst/tmpl/old/gstmd5sink.sgml:
27777 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27778 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27779 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27780 * docs/gst/tmpl/old/gstpipefilter.sgml:
27781 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27782 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27783 * docs/gst/tmpl/old/gstshaper.sgml:
27784 * docs/gst/tmpl/old/gstspider.sgml:
27785 * docs/gst/tmpl/old/gstspideridentity.sgml:
27786 * docs/gst/tmpl/old/gststatistics.sgml:
27787 * docs/gst/tmpl/old/gsttee.sgml:
27788 * docs/gst/tmpl/old/gsttimecache.sgml:
27789 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27790 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27791 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27792 * docs/gst/tmpl/old/types.sgml:
27793 I didn't intend to add these or check them in.
27795 2005-05-19 David Schleef <ds@schleef.org>
27797 * configure.ac: Use -no-common everywhere. In a sane world, it
27798 would be the default in libtool, because without it, you can't
27799 build DLLs on Windows.
27800 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27801 * docs/gst/gstreamer-sections.txt:
27802 * docs/gst/tmpl/gstcpu.sgml:
27803 * docs/gst/tmpl/gstdata.sgml:
27804 * docs/gst/tmpl/gstthread.sgml:
27806 2005-05-19 David Schleef <ds@schleef.org>
27808 * gst/gstminiobject.c: (gst_value_set_mini_object),
27809 (gst_value_take_mini_object), (gst_value_get_mini_object):
27810 * gst/gstminiobject.h: Add GValue set/get functions.
27812 2005-05-19 Wim Taymans <wim@fluendo.com>
27814 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27815 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27816 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27818 * gst/gstbus.c: (gst_bus_post):
27819 * gst/gstelement.c: (gst_element_get_random_pad):
27820 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27821 Make subbufer unref the parent in finalize.
27822 some more debugging info.
27825 2005-05-19 Wim Taymans <wim@fluendo.com>
27827 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27828 (gst_basesink_init), (gst_basesink_finalize),
27829 (gst_basesink_activate), (gst_basesink_change_state):
27830 Don't free preroll queue too early.
27832 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27836 Hi, I'm outdated. Please shoot me.
27838 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27840 * gst/gstpipeline.c: (gst_pipeline_send_event):
27841 Do not access variables after they have been deleted.
27843 2005-05-19 Wim Taymans <wim@fluendo.com>
27845 * tools/gst-inspect.c: (print_plugin_features):
27846 A plugin feature does unfortunatly not use the
27849 2005-05-18 Wim Taymans <wim@fluendo.com>
27851 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27852 Port _span() functions to new subbuffers.
27854 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27856 * gst/gstbin.c: (gst_bin_add_func):
27857 Fix clock settery in bins when adding kids after the clock has
27860 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27862 * gst/elements/gstidentity.c: (gst_identity_class_init):
27863 Workaround until signals support GstMiniObject.
27865 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27868 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27870 2005-05-18 Wim Taymans <wim@fluendo.com>
27872 * gst/base/Makefile.am:
27873 * gst/base/gstadapter.c: (gst_adapter_base_init),
27874 (gst_adapter_class_init), (gst_adapter_init),
27875 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27876 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27877 (gst_adapter_flush), (gst_adapter_available),
27878 (gst_adapter_available_fast):
27879 * gst/base/gstadapter.h:
27880 Ported and added adapter to the base classes.
27882 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27885 * gst/gstmessage.c:
27886 Make sure the class is reffed/unreffed once before threads can be
27887 used. Fixes #304551.
27889 2005-05-17 Wim Taymans <wim@fluendo.com>
27891 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27892 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27893 * gst/gstminiobject.c: (gst_mini_object_get_type),
27894 (gst_mini_object_free):
27895 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27896 (gst_pad_push), (gst_pad_push_event):
27897 * gst/gstqueue.c: (gst_queue_change_state):
27898 Don't queue buffers in basesink when we are flushing.
27899 Unref buffer when flushing in basesink.
27900 Flush queue when going to READY
27901 Unref buffer when _push() returns an error.
27902 Don't free MiniObject instance when refcount is incremented
27903 in _finalize() so that we can recover objects.
27905 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27907 * docs/manual/advanced-schedulers.xml:
27908 * docs/manual/appendix-checklist.xml:
27909 * docs/pwg/advanced-clock.xml:
27910 * docs/pwg/advanced-interfaces.xml:
27911 * docs/pwg/advanced-request.xml:
27912 * docs/pwg/advanced-types.xml:
27913 * docs/pwg/intro-preface.xml:
27914 * examples/plugins/example.c: (gst_example_get_type),
27915 (gst_example_class_init), (gst_example_chain),
27916 (gst_example_set_property), (gst_example_get_property),
27917 (gst_example_change_state), (plugin_init):
27918 * examples/plugins/example.h:
27921 2005-05-17 Wim Taymans <wim@fluendo.com>
27923 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27924 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27925 * gst/gstqueue.c: (gst_queue_change_state):
27926 Clear queue when going to READY.
27927 Remove IN_SETCAPS flag too.
27929 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27931 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27932 Remove implicit cast from gboolean to GstElementStateReturn;
27933 make sure we still return failure in paused => ready case if
27934 the parent class fails to change state and our own stop
27937 2005-05-17 Wim Taymans <wim@fluendo.com>
27939 * tools/gst-launch.c: (event_loop):
27940 Message was unreffed too soon.
27942 2005-05-16 Andy Wingo <wingo@pobox.com>
27944 * gst/gstbin.c (sink_iterator_filter): Err... um...
27946 * check/gst/gstbin.c (test_ghost_pads): New test for the
27947 ghosting-if-elements-not-in-same-bin behavior.
27949 2005-05-16 David Schleef <ds@schleef.org>
27951 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27952 accessing refcount directly.
27954 2005-05-15 David Schleef <ds@schleef.org>
27956 * check/Makefile.am: remove GstData checks
27957 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27958 * gst/Makefile.am: add miniobject, remove data
27959 * gst/gst.h: add miniobject, remove data
27960 * gst/gstdata.c: remove
27961 * gst/gstdata.h: remove
27962 * gst/gstdata_private.h: remove
27963 * gst/gsttypes.h: remove GstEvent and GstMessage
27964 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27965 * gst/gstmarshal.list: change BOXED -> OBJECT
27967 Implement GstMiniObject.
27968 * gst/gstminiobject.c:
27969 * gst/gstminiobject.h:
27971 Modify to be subclasses of GstMiniObject.
27972 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27973 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27974 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27975 (gst_subbuffer_get_type), (gst_subbuffer_init),
27976 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27979 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27980 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27981 (_gst_event_copy), (gst_event_new):
27983 * gst/gstmessage.c: (_gst_message_initialize),
27984 (gst_message_get_type), (gst_message_class_init),
27985 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27986 (gst_message_new), (gst_message_new_error),
27987 (gst_message_new_warning), (gst_message_new_tag),
27988 (gst_message_new_state_changed), (gst_message_new_application):
27989 * gst/gstmessage.h:
27990 * gst/gstprobe.c: (gst_probe_perform),
27991 (gst_probe_dispatcher_dispatch):
27993 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27994 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27995 (_gst_query_copy), (gst_query_new):
27997 Update elements for GstData -> GstMiniObject changes
27999 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
28000 (gst_queue_chain), (gst_queue_loop):
28001 * gst/elements/gstbufferstore.c:
28002 (gst_buffer_store_add_buffer_func),
28003 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
28004 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28005 (gst_fakesink_render):
28006 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
28007 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
28008 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
28009 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
28010 (gst_filesrc_create_read):
28011 * gst/elements/gstidentity.c: (gst_identity_class_init):
28012 * gst/elements/gsttypefindelement.c:
28013 (gst_type_find_element_src_event), (free_entry_buffers),
28014 (gst_type_find_element_handle_event):
28015 * libs/gst/dataprotocol/dataprotocol.c:
28016 (gst_dp_header_from_buffer):
28017 * libs/gst/dataprotocol/dataprotocol.h:
28018 * libs/gst/dataprotocol/dp-private.h:
28020 2005-05-15 David Schleef <ds@schleef.org>
28022 * gst/elements/gstelements.c: Don't include headers that were
28025 2005-05-15 David Schleef <ds@schleef.org>
28027 * gst/elements/Makefile.am: Remove some elements that don't
28028 need to be in the core (or even exist at all).
28029 * gst/elements/gstaggregator.c:
28030 * gst/elements/gstaggregator.h:
28031 * gst/elements/gstmd5sink.c:
28032 * gst/elements/gstmd5sink.h:
28033 * gst/elements/gstmultifilesrc.c:
28034 * gst/elements/gstmultifilesrc.h:
28035 * gst/elements/gstpipefilter.c:
28036 * gst/elements/gstpipefilter.h:
28037 * gst/elements/gstshaper.c:
28038 * gst/elements/gstshaper.h:
28039 * gst/elements/gststatistics.c:
28040 * gst/elements/gststatistics.h:
28041 * po/POTFILES.in: Remove above files.
28043 2005-05-14 Andy Wingo <wingo@pobox.com>
28045 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28046 so as to get the refs right.
28047 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28048 unreffing objects that don't pass the filter.
28050 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28051 gst_element_set_bus.
28052 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28053 normal cases, this will destroy the bus.
28055 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28058 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28061 2005-05-13 Andy Wingo <wingo@pobox.com>
28063 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28064 gst_pad_link, call pad_link_maybe_ghosting,
28065 (pad_link_maybe_ghosting): Links pads, making sure that the
28066 elements being linked are in the same bin.
28067 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28068 Helpers for pad_link_maybe_ghosting.
28070 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28073 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28075 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28077 * docs/design/part-element-source.txt:
28080 2005-05-12 Wim Taymans <wim@fluendo.com>
28082 * gst/base/gstbasesink.c: (gst_basesink_init),
28083 (gst_basesink_activate):
28084 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28085 (gst_basesrc_is_seekable):
28086 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28087 (bin_element_is_sink), (gst_bin_change_state):
28088 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28089 * gst/gstelement.h:
28090 Identify sinks by their flag to avoid overly complicated
28092 Do state changes even for elements not reachable from the
28094 BaseSink is a sink now :)
28095 Some more debugging info in the basesrc.
28098 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28100 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28101 Implement _query on a bin, similar to _send_event.
28103 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28105 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28106 Discont event offset format should be GST_FORMAT_BYTES,
28107 not GST_FORMAT_TIME.
28109 2005-05-12 Wim Taymans <wim@fluendo.com>
28111 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28112 Same fix as Ronald's but without the signal.
28114 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28116 * gst/gstutils.c: (gst_element_query_position):
28117 No, an element is not a pad.
28119 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28121 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28122 (gst_bin_get_state):
28123 If a child is removed from a bin while we remove the child from
28124 the bin and while we're retrieving its state, signal this to the
28125 get_state function so we abort the wait (instead of waiting for
28126 a timeout) and can immediately re-iterate over all other elements.
28128 2005-05-12 Wim Taymans <wim@fluendo.com>
28130 * gst/base/Makefile.am:
28131 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28132 (gst_basesrc_start):
28133 * gst/base/gstbasesrc.h:
28134 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28135 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28136 (gst_pushsrc_init), (gst_pushsrc_create):
28137 * gst/base/gstpushsrc.h:
28138 Added is_seekable to BaseSrc
28139 Added simple PushSrc.
28141 2005-05-11 Wim Taymans <wim@fluendo.com>
28143 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28144 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28145 (gst_element_link_pads), (gst_element_query_position),
28146 (gst_element_query_convert), (intersect_caps_func),
28147 (gst_pad_query_position), (gst_pad_query_convert):
28148 Fix refcounting in utils function.
28149 No point in trying to activate a pad when it's added, it could
28150 be added from the state change function and then we deadlock, the
28151 element has to decide what to do.
28153 2005-05-10 Andy Wingo <wingo@pobox.com>
28155 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28156 *all* the arguments.
28158 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28159 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28160 lock (according to the docs -- if this is wrong change the docs).
28162 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28163 flush messages in the NULL state.
28165 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28166 message immediately and return.
28167 (gst_bus_set_flushing): New function. If a bus is flushing, it
28168 flushes out any queued messages and immediately unrefs new
28169 messages. This is so when an element goes to NULL, all of the
28170 unhandled messages coming from it can be freed, and their
28171 references to the element dropped. In other words: message source
28172 ref considered harmful :P
28174 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28175 we're finished with it.
28177 * gst/gstmessage.c (gst_message_new_state_changed):
28179 2005-05-10 Wim Taymans <wim@fluendo.com>
28181 * gst/gstvalue.c: (gst_value_compare_flags),
28182 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28183 (_gst_value_initialize):
28184 Added flags serialize/deserialize/compare code.
28186 2005-05-09 Andy Wingo <wingo@pobox.com>
28188 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28189 Intersect the peer's caps with our caps.
28191 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28193 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28194 * gst/elements/gsttypefindelement.c: (find_peek):
28195 Handle negative offsets better. Fixes decodebin.
28197 2005-05-09 Wim Taymans <wim@fluendo.com>
28199 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28200 (gst_base_transform_event):
28201 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28202 Implement accept_caps.
28203 Fix silly lock/unlock mismatch in base class.
28205 2005-05-09 Wim Taymans <wim@fluendo.com>
28207 * docs/design/draft-push-pull.txt:
28208 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28209 * gst/elements/gstfilesink.c: (gst_filesink_init),
28210 (gst_filesink_query):
28211 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28212 (gst_type_find_handle_src_query), (find_element_get_length):
28213 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28214 * gst/gstelement.h:
28215 * gst/gstmessage.c:
28216 * gst/gstmessage.h:
28217 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28218 (gst_real_pad_get_caps_unlocked),
28219 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28220 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28221 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28222 (gst_real_pad_dispose), (gst_real_pad_finalize),
28223 (gst_pad_load_and_link), (gst_pad_save_thyself),
28224 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28225 (gst_pad_check_pull_range), (gst_pad_pull_range),
28226 (gst_pad_template_get_type), (gst_pad_template_class_init),
28227 (gst_pad_template_init), (gst_pad_template_dispose),
28228 (name_is_valid), (gst_static_pad_template_get),
28229 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28230 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28231 (gst_pad_get_element_private), (gst_pad_start_task),
28232 (gst_pad_pause_task), (gst_pad_stop_task),
28233 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28234 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28235 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28236 (gst_ghost_pad_new):
28238 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28239 (gst_query_new_position), (gst_query_set_position),
28240 (gst_query_parse_position), (gst_query_new_convert),
28241 (gst_query_set_convert), (gst_query_parse_convert):
28243 * gst/gstqueryutils.c:
28244 * gst/gstqueryutils.h:
28245 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28246 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28247 (gst_queue_handle_src_query):
28248 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28249 (gst_element_query_position), (gst_element_query_convert),
28250 (intersect_caps_func), (gst_pad_query_position),
28251 (gst_pad_query_convert):
28253 * tools/gst-inspect.c: (print_pad_info):
28254 * tools/gst-xmlinspect.c: (print_element_info):
28255 Remove old query functions. Ported old code.
28256 Added position/convert helper functions to gstutils.
28257 Reordered gstpad.c code, grouping relevant things.
28258 Remove gst_message_new(), always need to speficy a specific
28262 2005-05-09 Andy Wingo <wingo@pobox.com>
28264 * gst/gstiterator.h: Add some includes.
28266 * gst/gstqueryutils.h: Include more headers.
28269 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28270 some uses of gst_pad_query.
28272 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28273 NULL out parameters.
28274 (gst_query_new_position): New proc, allocates a new position
28277 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28278 gstqueryutils.c to the build.
28280 * gst/gststructure.c (gst_structure_set_valist): Implement with
28281 the generic G_VALUE_COLLECT.
28283 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28285 * gst/Makefile.am: (gst_headers):
28286 Added gstqueryutils.h to the list of headers to install, that was
28287 a 'nachty' move wingo :)
28289 2005-05-06 Andy Wingo <wingo@pobox.com>
28292 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28293 GstData, init a memchunk.
28294 (standard_definitions): Add a few query types, deprecate a few.
28295 (gst_query_get_type): New proc.
28296 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28298 (gst_query_new_application, gst_query_get_structure): New public
28301 * docs/design/draft-query.txt: Removed LINKS from the query types,
28302 because all the rest can be dispatched to other pads -- seemed
28303 ugly to have a query that couldn't be dispatched. internal_links
28304 is fine as a pad method.
28306 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28307 in gstpad.c, but maintain binary compatibility for the moment.
28308 Will fix before 0.9 is out.
28310 * gst/gstqueryutils.c:
28311 * gst/gstqueryutils.h: New files, implement 3 methods for each
28312 query type: parse_query, parse_response, and set. Probably need an
28315 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28317 * gst/elements/gstfilesink.c (gst_filesink_query2):
28318 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28319 query_types, and formats methods.
28321 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28322 (gst_pad_set_query2_function): New functions.
28323 (gst_real_pad_init): Set query2_default as the default query2
28324 function. Basically just dispatches to internally linked pads.
28328 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28329 without using the atomic operations. Only one thread can possibly
28330 be accessing the data at this point. Changed so as to avoid
28331 gst_atomic operations.
28333 2005-05-06 Wim Taymans <wim@fluendo.com>
28335 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28336 Also set caps if we use the fallback buffer alloc.
28338 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28340 * docs/gst/Makefile.am:
28341 * docs/gst/gstreamer-docs.sgml:
28342 * docs/gst/gstreamer-sections.txt:
28343 * docs/gst/tmpl/gstatomic.sgml:
28344 * docs/gst/tmpl/gstmemchunk.sgml:
28345 * testsuite/elements/struct_i386.h:
28346 * win32/GStreamer.vcproj:
28348 Purge GstAtomic stuff from docs and win32 makefiles as well
28350 2005-05-06 Wim Taymans <wim@fluendo.com>
28352 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28353 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28354 * gst/gstpad.c: (gst_pad_peer_get_caps):
28355 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28356 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28357 (gst_queue_src_activate), (gst_queue_change_state):
28359 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28360 (intersect_caps_func):
28361 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28362 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28363 Some fixes for the peer_get_caps() change.
28365 2005-05-06 Wim Taymans <wim@fluendo.com>
28367 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28368 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28369 (gst_basesink_activate):
28370 Actually do something with error codes returned from the push
28373 2005-05-06 Wim Taymans <wim@fluendo.com>
28375 * docs/design/part-element-sink.txt:
28376 * docs/design/part-element-source.txt:
28377 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28378 (gst_basesink_event), (gst_basesink_activate):
28379 * gst/base/gstbasesink.h:
28380 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28381 (gst_basesrc_activate):
28382 * gst/base/gstbasesrc.h:
28383 * gst/gstelement.c: (gst_element_pads_activate):
28384 Some more documentation.
28385 Fixed scheduling decision in _pads_activate().
28387 2005-05-05 Andy Wingo <wingo@pobox.com>
28389 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28392 2005-05-05 Wim Taymans <wim@fluendo.com>
28394 * gst/base/Makefile.am:
28395 * gst/base/gstbasesink.h:
28396 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28397 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28398 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28399 (gst_collectpads_class_init), (gst_collectpads_init),
28400 (gst_collectpads_finalize), (gst_collectpads_new),
28401 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28402 (find_pad), (gst_collectpads_remove_pad),
28403 (gst_collectpads_is_active), (gst_collectpads_collect),
28404 (gst_collectpads_collect_range), (gst_collectpads_start),
28405 (gst_collectpads_stop), (gst_collectpads_peek),
28406 (gst_collectpads_pop), (gst_collectpads_available),
28407 (gst_collectpads_read), (gst_collectpads_flush),
28408 (gst_collectpads_chain):
28409 * gst/base/gstcollectpads.h:
28410 * gst/elements/Makefile.am:
28411 * gst/elements/gstelements.c:
28412 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28413 (gst_fakesink_get_times), (gst_fakesink_event),
28414 (gst_fakesink_preroll), (gst_fakesink_render):
28415 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28416 (gst_filesink_init), (gst_filesink_set_location),
28417 (gst_filesink_open_file), (gst_filesink_close_file),
28418 (gst_filesink_pad_query), (gst_filesink_event),
28419 (gst_filesink_render), (gst_filesink_change_state):
28420 * gst/elements/gstfilesink.h:
28421 Added object to help in making collect pad based elements.
28423 Make event function in sink baseclass return gboolean.
28425 2005-05-05 Wim Taymans <wim@fluendo.com>
28427 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28428 (gst_bin_get_by_name):
28430 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28431 (gst_clock_finalize):
28432 * gst/gstdata.c: (gst_data_replace):
28434 * gst/gstelement.c: (gst_element_request_pad),
28435 (gst_element_pads_activate):
28436 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28437 (gst_object_unref):
28438 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28439 (gst_pad_set_checkgetrange_function),
28440 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28441 (gst_pad_check_pull_range), (gst_pad_pull_range),
28442 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28443 (gst_pad_pause_task), (gst_pad_stop_task):
28444 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28445 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28446 Fix name lookup in GstBin.
28447 Added _data_replace() function and _buffer_replace()
28448 Use finalize method to clean up clock.
28449 Fix refcounting on request pads.
28450 Fix pad schedule mode error.
28451 Some more object refcounting debug info,
28454 2005-05-04 Andy Wingo <wingo@pobox.com>
28456 * check/Makefile.am:
28457 * docs/gst/tmpl/gstatomic.sgml:
28458 * docs/gst/tmpl/gstplugin.sgml:
28459 * gst/base/gstbasesink.c: (gst_basesink_activate):
28460 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28461 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28462 (gst_basesrc_query), (gst_basesrc_set_property),
28463 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28464 (gst_basesrc_activate):
28465 * gst/base/gstbasesrc.h:
28466 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28467 (gst_base_transform_src_activate):
28468 * gst/elements/gstelements.c:
28469 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28470 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28471 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28472 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28473 (gst_type_find_element_checkgetrange),
28474 (gst_type_find_element_activate):
28475 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28476 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28477 (gst_caps_load_thyself):
28478 * gst/gstelement.c: (gst_element_pads_activate),
28479 (gst_element_save_thyself), (gst_element_restore_thyself):
28480 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28481 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28483 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28484 (gst_xml_parse_file), (gst_xml_parse_memory),
28485 (gst_xml_get_element), (gst_xml_make_element):
28486 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28487 (_file_index_id_save_xml), (gst_file_index_commit):
28488 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28489 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28491 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28492 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28493 * tools/gst-complete.c: (main):
28494 * tools/gst-compprep.c: (main):
28495 * tools/gst-inspect.c: (print_element_properties_info):
28496 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28497 * tools/gst-xmlinspect.c: (print_element_properties):
28500 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28502 * gst/gstplugin.c: (gst_plugin_check_module),
28503 (gst_plugin_check_file), (gst_plugin_load_file):
28504 apply patch from #172526 to make register work on MacOSX
28506 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28508 * docs/gst/tmpl/gstconfig.sgml:
28509 * gst/gstconfig.h.in:
28510 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28511 * testsuite/debug/printf_extension.c: (main):
28512 Do not use GST_PTR_FORMAT on pointers to types with
28513 sizeof < sizeof(gpointer). Fixes test on 64-bit
28514 * testsuite/elements/property.h:
28515 use correct printf format
28517 2005-05-02 Wim Taymans <wim@fluendo.com>
28519 * docs/design/draft-push-pull.txt:
28520 * docs/design/draft-query.txt:
28521 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28522 (gst_basesrc_start):
28523 Added draft for new query API.
28524 Added draft for better selecting scheduling methods.
28525 Make basesrc ignore length if the subclass does not support
28528 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28531 possible fixes for automake-1.5 - _LIBADD is reserved
28533 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28535 * docs/faq/Makefile.am:
28536 * docs/manual/Makefile.am:
28537 * docs/manuals.mak:
28538 * docs/pwg/Makefile.am:
28540 possible fixes for automake-1.5
28542 2005-04-28 Wim Taymans <wim@fluendo.com>
28544 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28545 (gst_basesink_pad_getcaps), (gst_basesink_init),
28546 (gst_basesink_do_sync):
28547 * gst/gstclock.c: (gst_clock_entry_new):
28548 * gst/gstevent.c: (gst_event_discont_get_value):
28549 * gst/gstpipeline.c: (pipeline_bus_handler),
28550 (gst_pipeline_change_state):
28551 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28552 Better debugging of clocking info.
28553 Allow NULL values when getting discont values.
28555 2005-04-27 Wim Taymans <wim@fluendo.com>
28557 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28558 * check/gst/gstpad.c: (gst_pad_suite):
28559 Increase timeout for checks.
28561 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28563 * check/Makefile.am:
28564 fix the broken rule for cleanup. Apparently this rule is
28565 only needed on FC2, so maybe this warrants further autotool
28568 2005-04-26 Wim Taymans <wim@fluendo.com>
28570 * gst/gsttrashstack.h:
28571 Ooohh. a nasty one! After having a failed pop() from the stack,
28572 it's possible that the stack is empty. In that case, don't
28573 follow the NULL pointer.
28575 2005-04-25 Wim Taymans <wim@fluendo.com>
28577 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28578 (gst_pad_set_checkgetrange_function),
28579 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28580 (gst_pad_check_pull_range), (gst_pad_pull_range),
28581 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28582 (gst_pad_pause_task), (gst_pad_stop_task):
28583 * gst/gstplugin.c: (gst_plugin_load):
28585 Remove gst_library_load as it does more harm than good with
28586 the new g_module flags.
28587 Revert bogus caps template check in pad linking, pad caps
28588 are important when linking not the template, which is more
28589 general than the current caps.
28591 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28593 * gst/autoplug/.cvsignore:
28594 * gst/autoplug/Makefile.am:
28595 * gst/autoplug/gstsearchfuncs.c:
28596 * gst/autoplug/gstsearchfuncs.h:
28597 * gst/autoplug/gstspider.c:
28598 * gst/autoplug/gstspider.h:
28599 * gst/autoplug/gstspideridentity.c:
28600 * gst/autoplug/gstspideridentity.h:
28601 * gst/autoplug/spidertest.c:
28604 2005-04-25 Wim Taymans <wim@fluendo.com>
28606 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28607 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28608 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28609 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28611 Added stubs for unimplemented functions.
28613 2005-04-24 David Schleef <ds@schleef.org>
28615 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28618 2005-04-24 David Schleef <ds@schleef.org>
28620 Convert everything from GstAtomicInt to g_atomic_int_*, and
28625 * gst/gstatomic_impl.h:
28633 * gst/gstdata_private.h:
28637 * gst/gstmessage.c:
28640 * gst/gststructure.c:
28641 * gst/gststructure.h:
28642 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28645 2005-04-24 David Schleef <ds@schleef.org>
28647 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28648 make the regressions tests work. Remove some code that is no
28650 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28651 Disable warning for pads without templates.
28653 2005-04-24 David Schleef <ds@schleef.org>
28655 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28656 functions that handle filtered links.
28657 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28659 * gst/gstutils.c: Fix/remove utility functions that handle
28662 * gst/gstvalue.c: Add serialization/deserialization of caps
28663 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28664 requires fixing so that the filter caps notation creates
28665 a capsfilter element and sets the filter_caps property. I
28666 think everyone probably wants to keep the shorthand notation.
28667 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28668 * docs/gst/tmpl/gstpad.sgml:
28670 * gst/elements/gstelements.c: Register capsfilter element.
28671 * gst/Makefile.am: fix spacing
28672 * docs/random/ds/0.9-suggested-changes: random
28674 2005-04-23 David Schleef <ds@schleef.org>
28676 * gst/elements/Makefile.am:
28677 * gst/elements/gstcapsfilter.c: New element that acts like an
28678 identity, but filters caps. Will eventually replace filtered
28679 caps in pad linking.
28680 * gst/gstutils.c: (gst_element_create_all_pads): New function
28681 to create all the ALWAYS pads that are registered with an
28682 element class. This functionality should eventually be
28683 merged in with GstElement initialization.
28685 * testsuite/trigger/README: part of trigger test code that should
28686 have been checked in a long time ago.
28688 2005-04-23 David Schleef <ds@schleef.org>
28690 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28691 needed with new versions of libtool (nobody will confirm this),
28692 and hard to carry around.
28693 * gst/autoplug/Makefile.am:
28694 * gst/base/Makefile.am:
28695 * gst/elements/Makefile.am:
28696 * gst/indexers/Makefile.am:
28697 * gst/schedulers/Makefile.am:
28698 * libs/gst/bytestream/Makefile.am:
28699 * libs/gst/control/Makefile.am:
28700 * libs/gst/dataprotocol/Makefile.am:
28701 * libs/gst/getbits/Makefile.am:
28703 2005-04-21 Wim Taymans <wim@fluendo.com>
28705 * docs/design/draft-push-pull.txt:
28706 * docs/design/part-MT-refcounting.txt:
28707 * docs/design/part-TODO.txt:
28708 * docs/design/part-caps.txt:
28709 * docs/design/part-events.txt:
28710 * docs/design/part-gstbus.txt:
28711 * docs/design/part-gstpipeline.txt:
28712 * docs/design/part-messages.txt:
28713 * docs/design/part-push-pull.txt:
28714 * docs/design/part-query.txt:
28717 2005-04-21 Wim Taymans <wim@fluendo.com>
28719 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28720 (gst_message_new), (gst_message_new_error),
28721 (gst_message_new_warning), (gst_message_new_tag),
28722 (gst_message_new_state_changed), (gst_message_new_application),
28723 (gst_message_get_structure):
28724 * gst/gstmessage.h:
28725 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28726 (gst_structure_copy_conditional):
28727 Use parent refcount in GstMessage to ensure GstStructure
28729 Cleaned up headers a bit.
28732 2005-04-20 Wim Taymans <wim@fluendo.com>
28734 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28735 (gst_basesink_pad_getcaps), (gst_basesink_init),
28736 (gst_basesink_chain_unlocked):
28737 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28738 (gst_type_find_helper):
28739 * gst/elements/gsttypefindelement.c:
28740 (gst_type_find_element_have_type), (gst_type_find_element_init),
28741 (stop_typefinding), (gst_type_find_element_handle_event),
28742 (find_suggest), (gst_type_find_element_chain),
28743 (gst_type_find_element_checkgetrange),
28744 (gst_type_find_element_getrange), (do_typefind),
28745 (gst_type_find_element_activate):
28746 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28747 (gst_buffer_default_free), (gst_buffer_default_copy),
28748 (gst_buffer_set_caps):
28749 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28750 (gst_caps_replace):
28751 * gst/gstmessage.c: (gst_message_new),
28752 (gst_message_new_state_changed):
28753 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28754 (gst_pad_set_checkgetrange_function),
28755 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28756 (gst_pad_set_caps), (gst_pad_check_pull_range),
28757 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28759 * gst/gsttypefind.c: (gst_type_find_register):
28760 Make gst_caps_replace() work like other _replace() functions.
28761 Use _caps_replace() where possible.
28762 Make sure _message_new() initialises its field.
28763 Add gst_static_pad_template_get_caps()
28766 2005-04-18 Andy Wingo <wingo@pobox.com>
28768 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28769 on the peer, not the pad. I think that was a typo. Pass an extra
28770 arg to see if random access is possible. Activate the pads as
28771 PULL_RANGE if possible.
28773 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28775 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28776 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28779 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28781 * docs/faq/using.xml:
28782 Add note on gstreamer-properties (#154996).
28784 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28786 * docs/random/bbb/optional-properties:
28787 Some analysis on optional properties.
28789 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28791 * docs/gst/tmpl/gstelementfactory.sgml:
28792 * gst/gstelement.h:
28793 * gst/gstelementfactory.c: (gst_element_factory_init),
28794 (gst_element_factory_cleanup), (gst_element_register),
28795 (__gst_element_factory_add_static_pad_template),
28796 (gst_element_factory_get_static_pad_templates),
28797 (gst_element_factory_can_src_caps),
28798 (gst_element_factory_can_sink_caps):
28799 * gst/registries/Makefile.am:
28800 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28801 (gst_xml_registry_class_init), (gst_xml_registry_init),
28802 (gst_xml_registry_new), (gst_xml_registry_set_property),
28803 (gst_xml_registry_get_property), (get_time), (make_dir),
28804 (gst_xml_registry_get_perms_func),
28805 (plugin_times_older_than_recurse), (plugin_times_older_than),
28806 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28807 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28808 (add_to_char_array), (read_string), (read_uint), (read_enum),
28809 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28810 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28811 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28812 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28813 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28814 (gst_xml_registry_rebuild):
28815 * gst/registries/gstlibxmlregistry.h:
28816 * tools/gst-compprep.c: (main):
28817 * tools/gst-inspect.c: (print_pad_templates_info):
28818 * tools/gst-xmlinspect.c: (print_element_info):
28819 Use libxml2 for registry parsing, use staticpadtemplates in
28820 elementfactories. Makes gst_init() +/- 10x faster.
28822 2005-04-12 Wim Taymans <wim@fluendo.com>
28824 * gst/base/Makefile.am:
28825 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28826 (gst_basesink_pad_getcaps), (gst_basesink_init),
28827 (gst_basesink_event), (gst_basesink_change_state):
28828 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28829 (gst_basesrc_init), (gst_basesrc_query),
28830 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28831 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28832 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28833 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28834 (gst_basesrc_stop), (gst_basesrc_activate),
28835 (gst_basesrc_change_state):
28836 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28837 (helper_find_suggest), (gst_type_find_helper):
28838 * gst/base/gsttypefindhelper.h:
28839 * gst/elements/Makefile.am:
28840 * gst/elements/gstelements.c:
28841 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28842 (gst_fakesink_get_times), (gst_fakesink_event),
28843 (gst_fakesink_preroll), (gst_fakesink_render):
28844 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28845 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28846 (gst_fakesrc_get_property), (gst_fakesrc_create),
28847 (gst_fakesrc_start), (gst_fakesrc_stop):
28848 * gst/elements/gstfakesrc.h:
28849 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28850 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28851 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28852 (gst_filesrc_create_read), (gst_filesrc_create),
28853 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28854 (gst_filesrc_start):
28855 * gst/elements/gsttypefindelement.c:
28856 (gst_type_find_element_have_type), (gst_type_find_element_init),
28857 (start_typefinding), (stop_typefinding), (push_buffer_store),
28858 (gst_type_find_element_handle_event),
28859 (gst_type_find_element_chain),
28860 (gst_type_find_element_checkgetrange),
28861 (gst_type_find_element_getrange), (do_typefind),
28862 (gst_type_find_element_activate),
28863 (gst_type_find_element_change_state):
28864 * gst/elements/gsttypefindelement.h:
28865 * gst/gstpipeline.c: (pipeline_bus_handler):
28866 Added typefind helper.
28867 Small preroll fix in the base sink.
28868 Disable typefind code in basesrc.
28869 Crude port of typefindelement.
28873 2005-04-11 Wim Taymans <wim@fluendo.com>
28875 * check/gst/gstbus.c: (gstbus_suite):
28876 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28877 * check/gstcheck.h:
28878 Fix up the timeout so that the test does not fail.
28880 2005-04-06 Wim Taymans <wim@fluendo.com>
28883 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28884 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28885 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28886 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28887 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28888 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28889 (gst_basesrc_stop), (gst_basesrc_activate),
28890 (gst_basesrc_change_state), (basesrc_find_peek),
28891 (basesrc_find_suggest), (gst_basesrc_type_find):
28892 * gst/base/gstbasesrc.h:
28893 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28894 (gst_filesrc_class_init), (gst_filesrc_init),
28895 (gst_filesrc_finalize), (gst_filesrc_set_location),
28896 (gst_filesrc_set_property), (gst_filesrc_get_property),
28897 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28898 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28899 (gst_filesrc_create_read), (gst_filesrc_create),
28900 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28901 * gst/elements/gstfilesrc.h:
28902 * gst/gstelement.c: (gst_element_get_state_func),
28903 (gst_element_lost_state), (gst_element_pads_activate):
28904 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28905 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28906 (gst_pad_pull_range):
28908 More work on the generic source base class, implement seeking,
28910 Make filesrc extend the base source class.
28911 Added gst_pad_set_checkgetrange_function to GstPad.
28913 2005-04-06 Andy Wingo <wingo@pobox.com>
28915 * pkgconfig/gstreamer-base.pc.in:
28916 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28918 * pkgconfig/Makefile.am:
28919 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28921 2005-04-04 Wim Taymans <wim@fluendo.com>
28923 * gst/base/Makefile.am:
28925 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28926 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28927 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28928 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28929 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28930 (gst_basesrc_base_init), (gst_basesrc_class_init),
28931 (gst_basesrc_init), (gst_basesrc_get_formats),
28932 (gst_basesrc_get_query_types), (gst_basesrc_query),
28933 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28934 (gst_basesrc_set_property), (gst_basesrc_get_property),
28935 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28936 (gst_basesrc_loop), (gst_basesrc_activate),
28937 (gst_basesrc_change_state):
28938 * gst/base/gstbasesrc.h:
28939 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28940 (gst_fakesrc_class_init), (gst_fakesrc_init),
28941 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28942 (gst_fakesrc_get_property), (gst_fakesrc_create):
28943 * gst/elements/gstfakesrc.h:
28944 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28945 (gst_filesrc_open_file), (gst_filesrc_loop),
28946 (gst_filesrc_activate), (filesrc_find_peek),
28947 (gst_filesrc_type_find):
28948 Made base source class, make fakesrc extend it.
28949 Add comments to basesink class.
28950 Some filesrc cleanup.
28952 2005-03-31 David Schleef <ds@schleef.org>
28954 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28955 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28956 expected to link against libgstreamer.
28957 * gst/base/Makefile.am: link against libgstreamer
28958 * gst/elements/Makefile.am: same
28960 2005-03-31 Andy Wingo <wingo@pobox.com>
28962 * tests/instantiate/Makefile.am:
28963 * tests/instantiate/caps.c: Add test to test speed of caps copy
28966 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28967 GMemChunk to be fair.
28969 * gst/gsttrashstack.h: Remove warning about using the fallback
28970 trash stack implementation, it's still faster than malloc.
28972 2005-03-30 Andy Wingo <wingo@pobox.com>
28974 * tests/complexity.c: Add a copyright.
28976 2005-03-31 Wim Taymans <wim@fluendo.com>
28978 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28979 (gst_base_transform_class_init), (gst_base_transform_init),
28980 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28981 (gst_base_transform_get_property),
28982 (gst_base_transform_sink_activate),
28983 (gst_base_transform_src_activate),
28984 (gst_base_transform_change_state):
28985 * gst/base/gstbasetransform.h:
28986 * gst/elements/gstidentity.c: (gst_identity_class_init),
28987 (gst_identity_event), (gst_identity_check_perfect),
28988 (gst_identity_transform), (gst_identity_start),
28989 (gst_identity_stop):
28990 Added start/stop methods to transform base class so subclasses
28991 don't need to deal with state changes even.
28993 2005-03-31 Wim Taymans <wim@fluendo.com>
28995 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28996 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28998 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28999 (gst_pad_pull_range):
29000 Added rate to the discont event to prepare for variable speed
29001 and reverse playback.
29003 2005-03-29 David Schleef <ds@schleef.org>
29006 * testsuite/trigger/Makefile.am:
29007 * testsuite/trigger/trigger.c: A little example program to show
29008 how trigger-based elements can work.
29010 2005-03-29 Wim Taymans <wim@fluendo.com>
29012 * gst/base/Makefile.am:
29014 * gst/base/gstbasesink.c: (gst_basesink_get_type),
29015 (gst_basesink_base_init), (gst_basesink_class_init),
29016 (gst_basesink_pad_getcaps), (gst_basesink_init),
29017 (gst_basesink_activate), (gst_basesink_change_state):
29018 * gst/base/gstbasesink.h:
29019 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
29020 (gst_base_transform_base_init), (gst_base_transform_finalize),
29021 (gst_base_transform_class_init), (gst_base_transform_init),
29022 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
29023 (gst_base_transform_event), (gst_base_transform_getrange),
29024 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
29025 (gst_base_transform_set_property),
29026 (gst_base_transform_get_property),
29027 (gst_base_transform_sink_activate),
29028 (gst_base_transform_src_activate),
29029 (gst_base_transform_change_state):
29030 * gst/base/gstbasetransform.h:
29031 * gst/elements/gstidentity.c: (gst_identity_finalize),
29032 (gst_identity_class_init), (gst_identity_init),
29033 (gst_identity_event), (gst_identity_check_perfect),
29034 (gst_identity_transform), (gst_identity_set_property),
29035 (gst_identity_get_property), (gst_identity_change_state):
29036 * gst/elements/gstidentity.h:
29037 * gst/gstelement.c: (gst_element_get_state_func),
29038 (gst_element_lost_state), (gst_element_pads_activate):
29039 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29040 (gst_pad_check_pull_range), (gst_pad_pull_range):
29042 Simplify pad activation.
29043 Added function to check if pull_range can be performed.
29044 Error out when pulling inactive or flushing pads.
29045 Removed const from refcounted types as it does not make sense.
29046 Simplify pad templates in basesink
29047 Added base class for simple 1-to-1 transforms.
29048 Make identity subclass the base transform.
29050 2005-03-29 Andy Wingo <wingo@pobox.com>
29052 * docs/libs/gstreamer-libs-overrides.txt:
29053 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29054 really don't understand what's going on, but like whatever. I want
29057 * docs/gst/Makefile.am:
29058 * docs/libs/Makefile.am: Dist the overrides files.
29060 * check/Makefile.am (clean-local): Remove .libs directories.
29062 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29063 elements to EXTRA_DIST, so po/ files are happy.
29065 * po/POTFILES.in: Er, remove it here.
29067 * po/POTFILES: Remove gstspider.c.
29069 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29071 * docs/libs/gstreamer-libs-docs.sgml:
29072 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29075 * tests/complexity.c (main): Set the length of the preroll queue
29076 on the sinks to prevent a lockup.
29078 * libs/gst/dataprotocol/Makefile.am:
29079 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29080 the same as the one in check/gst-libs/gdp.c.
29082 * po/, docs/gst/: Commit automatic changes to docs and po files.
29084 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29085 the versioned libgstbase.
29087 * check/Makefile.am: Depend on an unversioned gst-register, seems
29088 to make autoconf happier.
29090 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29092 2005-03-28 Wim Taymans <wim@fluendo.com>
29095 * docs/design/part-gstelement.txt:
29096 * docs/design/part-negotiation.txt:
29097 * docs/design/part-preroll.txt:
29098 * docs/design/part-scheduling.txt:
29099 * docs/design/part-states.txt:
29101 * gst/base/Makefile.am:
29103 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29104 (gst_basesink_base_init), (gst_basesink_class_init),
29105 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29106 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29107 (gst_basesink_set_pad_functions),
29108 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29109 (gst_basesink_set_property), (gst_basesink_get_property),
29110 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29111 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29112 (gst_basesink_preroll_queue_push),
29113 (gst_basesink_preroll_queue_empty),
29114 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29115 (gst_basesink_event), (gst_basesink_get_times),
29116 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29117 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29118 (gst_basesink_loop), (gst_basesink_activate),
29119 (gst_basesink_change_state):
29120 * gst/base/gstbasesink.h:
29121 * gst/elements/Makefile.am:
29122 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29123 (gst_fakesink_class_init), (gst_fakesink_init),
29124 (gst_fakesink_set_property), (gst_fakesink_get_property),
29125 (gst_fakesink_get_times), (gst_fakesink_event),
29126 (gst_fakesink_preroll), (gst_fakesink_render),
29127 (gst_fakesink_change_state):
29128 * gst/elements/gstfakesink.h:
29129 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29130 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29131 * gst/gstelement.c: (gst_element_add_pad),
29132 (gst_element_get_state_func), (gst_element_abort_state),
29133 (gst_element_commit_state), (gst_element_lost_state),
29134 (gst_element_set_state), (gst_element_pads_activate):
29135 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29136 * gst/gstpipeline.c: (gst_pipeline_send_event),
29137 (gst_pipeline_change_state):
29138 Added state change code.
29139 Added/updated docs.
29140 Added sink base class, make fakesink extend the base class.
29141 Small cleanups in GstPipeline.
29143 2005-03-26 David Schleef <ds@schleef.org>
29145 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29146 is broken and should be implemented in a different library.
29147 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29148 * gst/gst.h: remove gstcpu.h
29149 * gst/gstcpu.c: remove
29150 * gst/gstcpu.h: remove
29151 * gst/Makefile.am.future: Remove this file. It's ancient.
29153 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29155 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29156 (gst_bin_send_event):
29157 Add default event/set_manager handlers. The set_manager handler
29158 takes care that the manager is distributed over kids that were
29159 already in the bin before the manager was set. The event handler
29160 is a utility virtual function that sends the event over all sinks,
29161 so that gst_element_send_event (bin, event); has the expected
29163 * gst/gstpad.c: (gst_pad_event_default):
29164 Re-install default event handling for discontinuities, so that
29165 seeking works without requiring hacks in applications or extra
29167 * gst/gstpipeline.c: (gst_pipeline_class_init),
29168 (gst_pipeline_send_event):
29169 Half hack, half utility: set a pipeline to PAUSED for seek events,
29170 since that is the only way we can guarantee a/v sync. Means that
29171 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29172 and it "just works".
29174 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29176 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29177 Lock/unlock mismatch.
29179 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29181 * docs/faq/gst-uninstalled:
29182 add gst-plugins-base
29183 * docs/gst/Makefile.am:
29184 don't error out until docs are fixed
29185 * docs/gst/gstreamer.types:
29188 2005-03-22 Wim Taymans <wim@fluendo.com>
29190 * check/Makefile.am:
29191 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29192 * gst/gststructure.c: (gst_structure_set_valist),
29193 (gst_structure_copy_conditional):
29194 Activated more tests.
29195 Added message test.
29196 Added G_TYPE_POINTER to GstStructure.
29199 2005-03-22 Wim Taymans <wim@fluendo.com>
29201 * docs/design/part-TODO.txt:
29202 * docs/design/part-events.txt:
29203 * docs/design/part-gstbin.txt:
29204 * docs/design/part-gstbus.txt:
29205 * docs/design/part-gstpipeline.txt:
29206 * docs/design/part-messages.txt:
29208 * gst/gstmessage.c:
29211 2005-03-21 Wim Taymans <wim@fluendo.com>
29213 * gst/gstbus.c: (gst_bus_post):
29214 Fix copy-and-paste error.
29216 2005-03-21 Wim Taymans <wim@fluendo.com>
29218 * check/Makefile.am:
29220 * gst/elements/Makefile.am:
29221 * gst/elements/gstelements.c:
29222 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29223 (gst_fakesink_event), (gst_fakesink_chain):
29224 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29225 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29226 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29227 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29228 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29229 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29230 (gst_fakesrc_loop), (gst_fakesrc_activate),
29231 (gst_fakesrc_change_state):
29232 * gst/elements/gstfakesrc.h:
29233 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29234 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29235 (gst_filesrc_open_file), (gst_filesrc_loop),
29236 (gst_filesrc_activate), (gst_filesrc_change_state),
29237 (filesrc_find_peek), (filesrc_find_suggest),
29238 (gst_filesrc_type_find):
29239 * gst/elements/gstidentity.c: (gst_identity_finalize),
29240 (gst_identity_class_init), (gst_identity_init),
29241 (gst_identity_proxy_getcaps), (identity_queue_push),
29242 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29243 (gst_identity_getrange), (gst_identity_chain),
29244 (gst_identity_sink_loop), (gst_identity_src_loop),
29245 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29246 (gst_identity_set_property), (gst_identity_get_property),
29247 (gst_identity_change_state):
29248 * gst/elements/gstidentity.h:
29249 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29250 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29251 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29252 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29253 (gst_tee_sink_activate):
29254 * gst/elements/gsttee.h:
29255 * gst/gst.c: (gst_register_core_elements), (init_post):
29257 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29258 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29259 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29260 (gst_bin_change_state):
29262 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29263 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29264 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29265 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29266 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29267 (bus_watch_callback), (bus_watch_destroy),
29268 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29269 (poll_timeout), (gst_bus_poll):
29273 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29274 (gst_element_post_message), (gst_element_message_full),
29275 (gst_element_get_state_func), (gst_element_get_state),
29276 (gst_element_abort_state), (gst_element_commit_state),
29277 (gst_element_lost_state), (gst_element_set_state),
29278 (gst_element_pads_activate), (gst_element_change_state),
29279 (gst_element_dispose), (gst_element_set_manager_func),
29280 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29281 (gst_element_set_manager), (gst_element_get_manager),
29282 (gst_element_set_bus), (gst_element_get_bus),
29283 (gst_element_set_scheduler), (gst_element_get_scheduler):
29284 * gst/gstelement.h:
29285 * gst/gstevent.c: (gst_event_new_segment_seek),
29286 (gst_event_new_flush):
29288 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29289 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29290 (gst_message_new_eos), (gst_message_new_error),
29291 (gst_message_new_warning), (gst_message_new_tag),
29292 (gst_message_new_state_changed), (gst_message_new_application),
29293 (gst_message_get_structure), (gst_message_parse_tag),
29294 (gst_message_parse_state_changed), (gst_message_parse_error),
29295 (gst_message_parse_warning):
29296 * gst/gstmessage.h:
29297 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29298 (gst_real_pad_set_property), (gst_pad_set_active),
29299 (gst_pad_is_active), (gst_pad_set_blocked_async),
29300 (gst_pad_set_blocked), (gst_pad_is_blocked),
29301 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29302 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29303 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29304 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29305 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29306 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29307 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29308 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29309 (gst_pad_set_caps), (gst_pad_configure_sink),
29310 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29311 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29312 (gst_real_pad_dispose), (gst_real_pad_finalize),
29313 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29314 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29315 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29317 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29318 (pipeline_bus_handler), (gst_pipeline_change_state),
29319 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29320 * gst/gstpipeline.h:
29322 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29323 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29324 (gst_queue_link_src), (gst_queue_bufferalloc),
29325 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29326 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29327 (gst_queue_loop), (gst_queue_handle_src_event),
29328 (gst_queue_handle_src_query), (gst_queue_src_activate),
29329 (gst_queue_change_state):
29331 * gst/gstscheduler.c: (gst_scheduler_init),
29332 (gst_scheduler_dispose), (gst_scheduler_create_task),
29333 (gst_scheduler_factory_create):
29334 * gst/gstscheduler.h:
29335 * gst/gststructure.c: (gst_structure_get_type),
29336 (gst_structure_copy_conditional):
29337 * gst/gststructure.h:
29338 * gst/gsttaginterface.h:
29339 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29340 (gst_task_init), (gst_task_dispose), (gst_task_create),
29341 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29347 * gst/schedulers/Makefile.am:
29348 * gst/schedulers/cothreads_compat.h:
29349 * gst/schedulers/entryscheduler.c:
29350 * gst/schedulers/faircothreads.c:
29351 * gst/schedulers/faircothreads.h:
29352 * gst/schedulers/fairscheduler.c:
29353 * gst/schedulers/gstbasicscheduler.c:
29354 * gst/schedulers/gstoptimalscheduler.c:
29355 * gst/schedulers/gthread-cothreads.h:
29356 * gst/schedulers/threadscheduler.c:
29357 (gst_thread_scheduler_task_get_type),
29358 (gst_thread_scheduler_task_class_init),
29359 (gst_thread_scheduler_task_init),
29360 (gst_thread_scheduler_task_start),
29361 (gst_thread_scheduler_task_stop),
29362 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29363 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29364 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29365 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29367 * libs/gst/Makefile.am:
29368 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29369 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29370 (gst_file_pad_parent_set):
29371 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29372 (gst_dp_event_from_packet):
29373 * tests/complexity.c: (main):
29374 * tests/mass_elements.c: (main):
29375 * testsuite/states/locked.c: (message_received), (main):
29376 * testsuite/states/parent.c: (main):
29377 * tools/gst-inspect.c: (print_element_flag_info),
29378 (print_implementation_info), (print_pad_info):
29379 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29381 * tools/gst-md5sum.c: (event_loop), (main):
29382 * tools/gst-typefind.c: (main):
29383 * tools/gst-xmlinspect.c: (print_element_info):
29385 Added GstBus for mainloop integration.
29386 Added GstMessage for sending notifications on the bus.
29387 Added GstTask as an abstraction for pipeline entry points.
29389 Removed Schedulers.
29390 Simplified GstQueue for multithreaded core.
29391 Made _link threadsafe, removed old capsnego.
29392 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29393 Added pad blocking functions.
29394 Reworked scheduling functions in GstPad to prepare for
29395 scheduling updates soon.
29396 Moved events out of data stream.
29397 Simplified GstEvent types.
29398 Added return values to push/pull.
29399 Removed clocking from GstElement.
29400 Added prototypes for state change function for next merge.
29401 Removed iterate from bins and state change management.
29402 Fixed some elements, disabled others for now.
29403 Fixed -inspect and -launch.
29404 Added check for GstBus.
29406 2005-03-10 Wim Taymans <wim@fluendo.com>
29408 * docs/design/part-MT-refcounting.txt:
29409 * docs/design/part-clocks.txt:
29410 * docs/design/part-gstelement.txt:
29411 * docs/design/part-gstobject.txt:
29412 * docs/design/part-standards.txt:
29413 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29414 (gst_bin_remove_func), (gst_bin_remove):
29418 * testsuite/clock/clock1.c: (main):
29419 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29421 * testsuite/dlopen/loadgst.c: (do_test):
29422 * testsuite/refcounting/bin.c: (add_remove_test1),
29423 (add_remove_test2), (main):
29424 * testsuite/refcounting/element.c: (main):
29425 * testsuite/refcounting/element_pad.c: (main):
29426 * testsuite/refcounting/pad.c: (main):
29427 * tools/gst-launch.c: (sigint_handler_sighandler):
29428 * tools/gst-typefind.c: (main):
29430 Added doc about clock.
29431 removed gst_bin_iterate_recurse_up(), marked methods
29433 Fix more testsuites.
29435 2005-03-09 Wim Taymans <wim@fluendo.com>
29437 * gst/gstpad.c: (gst_pad_get_direction),
29438 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29439 (gst_pad_collect_valist):
29440 * testsuite/bins/interface.c: (main):
29441 * testsuite/caps/audioscale.c: (test_caps):
29442 * testsuite/caps/caps.c: (test1), (test2), (test3):
29443 * testsuite/caps/deserialize.c: (main):
29444 * testsuite/caps/enumcaps.c: (main):
29445 * testsuite/caps/filtercaps.c: (main):
29446 * testsuite/caps/intersect2.c: (main):
29447 * testsuite/caps/random.c: (main):
29448 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29449 * testsuite/caps/sets.c: (check_caps):
29450 * testsuite/caps/simplify.c: (check_caps), (main):
29451 * testsuite/caps/subtract.c: (check_caps):
29452 Fix _pad_get_direction wrt ghostpads.
29453 Fix caps testsuite.
29455 2005-03-09 Wim Taymans <wim@fluendo.com>
29457 * check/Makefile.am:
29458 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29459 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29460 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29461 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29462 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29463 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29464 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29465 (bin_element_is_sink), (gst_bin_iterate_sinks),
29466 (gst_bin_iterate_all_by_interface):
29468 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29469 (gst_element_change_state), (gst_element_dispose),
29470 (gst_element_finalize), (gst_element_set_loop_function):
29471 * gst/gstelement.h:
29472 * gst/gstiterator.c: (find_custom_fold_func):
29473 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29474 (gst_pad_collectv), (gst_pad_collect_valist),
29475 (gst_pad_template_new):
29476 * gst/gstpipeline.c: (gst_pipeline_class_init),
29477 (gst_pipeline_dispose), (gst_pipeline_set_property),
29478 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29479 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29480 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29482 * gst/schedulers/entryscheduler.c:
29483 * gst/schedulers/gstbasicscheduler.c:
29484 (gst_basic_scheduler_cothreaded_chain),
29485 (gst_basic_scheduler_chain_add_element):
29486 * testsuite/bins/interface.c: (main):
29488 Added GstSystemClock test.
29489 Implemented clock distribution code in GstBin.
29490 Implemented iterate sinks method for future use.
29491 Rearranged gstelement.h
29492 Fix GstIterator comparison bug.
29493 Moved some code to GstPipeline, mostly clocking related.
29495 2005-03-09 Wim Taymans <wim@fluendo.com>
29498 * gst/gst_private.h:
29499 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29500 (gst_bin_remove_func), (gst_bin_remove),
29501 (gst_bin_get_by_name_recurse_up):
29502 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29503 (gst_clock_id_compare_func), (gst_clock_id_wait),
29504 (gst_clock_id_wait_async), (gst_clock_init),
29505 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29506 * gst/gstelement.h:
29507 * gst/gstinfo.c: (_gst_debug_init):
29509 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29510 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29512 Bump version number, we're now 0.9.0
29513 Add future debugging category.
29514 Fix NULL _unref() in _get_by_name_recurse_up
29515 Rearrange gstpad.h.
29518 2005-03-08 Wim Taymans <wim@fluendo.com>
29520 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29521 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29522 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29523 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29524 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29525 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29526 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29527 * gst/elements/gstidentity.c: (gst_identity_class_init):
29528 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29529 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29530 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29531 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29532 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29534 * gst/gstelement.c: (gst_element_class_init),
29535 (gst_element_base_class_init), (gst_element_init),
29536 (gst_element_get_random_pad), (gst_element_wait_state_change),
29537 (gst_element_change_state), (gst_element_dispose),
29538 (gst_element_finalize), (gst_element_set_loop_function):
29539 * gst/gstelement.h:
29540 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29541 * gst/gstthread.c: (gst_thread_class_init),
29542 (gst_thread_release_children_locks), (gst_thread_change_state):
29543 * gst/schedulers/gstbasicscheduler.c:
29544 (gst_basic_scheduler_loopfunc_wrapper),
29545 (gst_basic_scheduler_chain_wrapper),
29546 (gst_basic_scheduler_src_wrapper),
29547 (gst_basic_scheduler_remove_element):
29548 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29549 Remove threadsafe properties. Fix elements because GObject
29550 complains when installing a property before declaring a
29551 set/get_property handler.
29552 Rearrange gstelement.h file, use STATE macros for state locks.
29553 Free mutexes in the finalize method instead of dispose.
29555 2005-03-08 Wim Taymans <wim@fluendo.com>
29557 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29558 * gst/gstthread.c: (gst_thread_release_children_locks):
29559 Added parentage check.
29560 Fix build og GstThread again.
29562 2005-03-08 Wim Taymans <wim@fluendo.com>
29564 * docs/design/part-MT-refcounting.txt:
29565 * docs/design/part-conventions.txt:
29566 * docs/design/part-gstobject.txt:
29567 * docs/design/part-relations.txt:
29568 * docs/design/part-standards.txt:
29569 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29570 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29571 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29572 (gst_bin_iterate_all_by_interface):
29575 * gst/gstelement.c: (gst_element_class_init),
29576 (gst_element_change_state), (gst_element_set_loop_function):
29577 * gst/gstelement.h:
29578 * gst/gstiterator.c:
29579 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29580 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29581 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29582 (gst_object_set_parent), (gst_object_unparent),
29583 (gst_object_check_uniqueness):
29585 Docs updates, clean up some headers.
29587 2005-03-07 Wim Taymans <wim@fluendo.com>
29589 * check/.cvsignore:
29590 * check/Makefile.am:
29591 * check/gst-libs/.cvsignore:
29592 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29593 * check/gst/.cvsignore:
29594 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29595 (START_TEST), (gstbus_suite), (main):
29596 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29597 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29598 (gst_data_suite), (main):
29599 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29600 (add_fold_func), (gstiterator_suite), (main):
29601 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29602 (thread_name_object), (thread_name_object_default),
29603 (gst_object_name_compare), (gst_object_suite), (main):
29604 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29605 (gst_pad_suite), (main):
29606 * check/gstcheck.c: (gst_check_log_message_func),
29607 (gst_check_log_critical_func), (gst_check_init):
29608 * check/gstcheck.h:
29609 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29610 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29613 2005-03-07 Wim Taymans <wim@fluendo.com>
29615 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29616 (gst_list_iterator_next), (gst_list_iterator_resync),
29617 (gst_list_iterator_free), (gst_iterator_new_list),
29618 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29619 (gst_iterator_free), (gst_iterator_push), (filter_next),
29620 (filter_resync), (filter_uninit), (filter_free),
29621 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29622 (gst_iterator_foreach), (find_custom_fold_func),
29623 (gst_iterator_find_custom):
29624 * gst/gstiterator.h:
29625 Added missing files.
29627 2005-03-07 Wim Taymans <wim@fluendo.com>
29631 * docs/design/part-MT-refcounting.txt:
29632 * docs/design/part-conventions.txt:
29633 * docs/design/part-gstobject.txt:
29634 * docs/design/part-relations.txt:
29635 * examples/mixer/mixer.c: (main):
29636 * examples/thread/thread.c: (eos), (main):
29638 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29639 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29640 (gst_spider_plug_from_srcpad):
29641 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29642 (gst_spider_identity_change_state),
29643 (gst_spider_identity_sink_loop_type_finding):
29644 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29645 * gst/elements/gstidentity.c: (gst_identity_init):
29646 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29647 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29648 * gst/elements/gsttypefindelement.c: (free_entry):
29651 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29652 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29653 (gst_bin_set_index), (gst_bin_set_element_sched),
29654 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29655 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29656 (gst_bin_iterate_elements), (iterate_child_recurse),
29657 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29658 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29659 (compare_interface), (gst_bin_get_by_interface),
29660 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29662 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29663 (gst_buffer_default_free), (gst_buffer_default_copy),
29664 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29665 (gst_buffer_create_sub):
29667 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29668 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29669 (gst_caps_unref), (gst_static_caps_get),
29670 (gst_caps_remove_and_get_structure), (gst_caps_append),
29671 (gst_caps_append_structure), (gst_caps_remove_structure),
29672 (gst_caps_copy_nth), (gst_caps_set_simple),
29673 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29674 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29675 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29676 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29677 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29678 (gst_caps_structure_figure_out_union),
29679 (gst_caps_switch_structures), (gst_caps_do_simplify),
29680 (gst_caps_replace), (gst_caps_from_string),
29681 (gst_caps_copy_conditional):
29683 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29684 (_gst_clock_id_free), (gst_clock_id_unref),
29685 (gst_clock_id_compare_func), (gst_clock_id_wait),
29686 (gst_clock_id_wait_async), (gst_clock_class_init),
29687 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29688 (gst_clock_get_time), (gst_clock_set_time_adjust),
29689 (gst_clock_set_property), (gst_clock_get_property):
29692 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29693 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29695 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29696 (gst_element_requires_clock), (gst_element_provides_clock),
29697 (gst_element_set_clock), (gst_element_clock_wait),
29698 (gst_element_wait), (gst_element_set_time_delay),
29699 (gst_element_is_indexable), (gst_element_add_pad),
29700 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29701 (pad_compare_name), (gst_element_get_static_pad),
29702 (gst_element_request_pad), (gst_element_get_request_pad),
29703 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29704 (gst_element_class_get_pad_template_list),
29705 (gst_element_class_get_pad_template), (gst_element_error_func),
29706 (gst_element_get_random_pad), (gst_element_get_event_masks),
29707 (gst_element_send_event), (gst_element_seek),
29708 (gst_element_get_query_types), (gst_element_query),
29709 (gst_element_get_formats), (gst_element_convert),
29710 (gst_element_is_locked_state), (gst_element_set_locked_state),
29711 (gst_element_sync_state_with_parent), (gst_element_change_state),
29712 (gst_element_finalize), (gst_element_yield),
29713 (gst_element_interrupt), (gst_element_set_scheduler),
29714 (gst_element_get_scheduler), (gst_element_set_loop_function):
29715 * gst/gstelement.h:
29717 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29718 (gst_format_get_by_nick), (gst_format_get_details),
29719 (gst_format_iterate_definitions):
29721 * gst/gstindex.c: (gst_index_gtype_resolver):
29724 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29725 (gst_mem_chunk_free):
29726 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29727 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29728 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29729 (gst_object_dispatch_properties_changed),
29730 (gst_object_set_name_default), (gst_object_set_name),
29731 (gst_object_get_name), (gst_object_set_name_prefix),
29732 (gst_object_get_name_prefix), (gst_object_set_parent),
29733 (gst_object_get_parent), (gst_object_unparent),
29734 (gst_object_check_uniqueness), (gst_object_save_thyself),
29735 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29736 (gst_object_set_property), (gst_object_get_property),
29737 (gst_object_get_path_string):
29739 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29740 (gst_real_pad_init), (gst_real_pad_get_property),
29741 (gst_pad_custom_new), (gst_pad_get_direction),
29742 (gst_pad_set_active), (gst_pad_is_active),
29743 (gst_pad_set_event_function), (gst_pad_is_linked),
29744 (gst_pad_link_free), (gst_pad_link_intersect),
29745 (gst_pad_link_fixate), (gst_pad_set_caps),
29746 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29747 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29748 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29749 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29750 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29751 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29752 (gst_pad_realize), (gst_pad_get_allowed_caps),
29753 (gst_real_pad_dispose), (gst_real_pad_finalize),
29754 (gst_pad_collectv), (gst_pad_collect_valist),
29755 (gst_pad_template_dispose), (gst_pad_template_new),
29756 (gst_pad_get_internal_links):
29758 * gst/gstpipeline.c: (gst_pipeline_dispose),
29759 (gst_pipeline_change_state):
29760 * gst/gstpipeline.h:
29762 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29763 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29764 * gst/gstpluginfeature.h:
29765 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29766 * gst/gstquery.c: (_gst_query_type_initialize),
29767 (gst_query_type_register), (gst_query_type_get_by_nick),
29768 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29770 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29771 * gst/gstscheduler.c: (gst_scheduler_add_element),
29772 (gst_scheduler_factory_create):
29773 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29774 (gst_structure_free), (gst_structure_set_name),
29775 (gst_structure_id_set_value), (gst_structure_set_value),
29776 (gst_structure_set_valist), (gst_structure_remove_field),
29777 (gst_structure_remove_fields),
29778 (gst_structure_remove_fields_valist),
29779 (gst_structure_remove_all_fields), (gst_structure_foreach),
29780 (gst_structure_map_in_place),
29781 (gst_caps_structure_fixate_field_nearest_int),
29782 (gst_caps_structure_fixate_field_nearest_double):
29783 * gst/gststructure.h:
29784 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29785 (gst_system_clock_init), (gst_system_clock_dispose),
29786 (gst_system_clock_async_thread),
29787 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29788 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29789 * gst/gstsystemclock.h:
29790 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29791 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29792 * gst/gsttaginterface.c:
29793 * gst/gstthread.c: (gst_thread_dispose),
29794 (gst_thread_release_children_locks), (gst_thread_change_state),
29795 (gst_thread_main_loop):
29796 * gst/gsttrashstack.h:
29797 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29799 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29800 (gst_element_request_pad), (gst_element_get_pad_from_template),
29801 (gst_element_request_compatible_pad),
29802 (gst_element_get_compatible_pad_filtered),
29803 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29804 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29805 (gst_element_link_many), (gst_element_link),
29806 (gst_element_link_pads), (gst_element_unlink_pads),
29807 (gst_element_unlink_many), (gst_element_unlink),
29808 (gst_pad_can_link_filtered), (gst_pad_can_link),
29809 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29810 (gst_object_default_error), (gst_bin_add_many),
29811 (gst_bin_remove_many), (gst_element_populate_std_props),
29812 (gst_element_class_install_std_props), (gst_buffer_merge),
29813 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29814 (link_fold_func), (gst_pad_proxy_setcaps):
29816 * gst/gstvalue.c: (gst_value_deserialize_string):
29817 * gst/parse/grammar.y:
29818 * gst/schedulers/gstbasicscheduler.c:
29819 (gst_basic_scheduler_cothreaded_chain),
29820 (gst_basic_scheduler_chain_recursive_add),
29821 (gst_basic_scheduler_pad_link):
29822 * gst/schedulers/gstoptimalscheduler.c:
29823 (get_group_schedule_function),
29824 (gst_opt_scheduler_state_transition),
29825 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29826 * libs/gst/bytestream/bytestream.c:
29827 * libs/gst/dataprotocol/dataprotocol.c:
29828 (gst_dp_header_from_buffer):
29831 * tests/threadstate/threadstate2.c: (eos):
29832 * tools/gst-compprep.c: (main):
29833 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29834 (print_pad_info), (print_children_info):
29835 * tools/gst-launch.c: (idle_func), (main):
29836 * tools/gst-md5sum.c: (idle_func), (main):
29837 * tools/gst-xmlinspect.c: (print_element_info):
29838 First THREADED backport attempt, focusing on adding locks and
29839 making sure the API is threadsafe. Needs more work. More docs
29842 2005-02-24 Andy Wingo <wingo@pobox.com>
29844 * tests/bench-complexity.scm:
29845 * tests/complexity.gnuplot: New files, good for running complexity
29848 * tests/Makefile.am:
29849 * tests/complexity.c: New test, sets up N elements, at each level
29850 teeing into M streams per element. Eeeenteresting.
29852 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29853 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29854 running bench-mass_elements.scm.
29856 * tests/bench-mass_elements.scm: New script, runs mass_elements
29857 for various numbers of identities, outputting the results to a
29858 file. Requires guile 1.6. Just for testing.
29860 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29862 * gst/schedulers/fairscheduler.c:
29863 compile with debug disabled
29865 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29868 hunting season on 0.9 is now OPEN