1 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
3 * tests/check/Makefile.am:
4 * tests/check/libs/test_transform.c: (gst_test_trans_base_init),
5 (gst_test_trans_class_init), (gst_test_trans_init),
6 (gst_test_trans_set_data), (result_sink_chain),
7 (gst_test_trans_new), (gst_test_trans_free), (gst_test_trans_push),
9 * tests/check/libs/transform1.c: (GST_START_TEST),
10 (transform_ip_1), (set_caps_1), (gst_basetransform_suite):
11 Add some test basetransform element and the beginnings of various
14 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
16 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
17 Increase code readability.
18 Don't try to compare buffer offsets when ther are invalid.
20 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
22 * docs/design/Makefile.am:
23 Dist some more design docs.
25 * docs/random/moving-plugins:
26 Small addition: good plugins mustn't have functional code
27 within assertion macros.
29 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
31 * docs/design/draft-framestep.txt:
32 Some ideas about a framestep API
34 * docs/design/part-element-transform.txt:
35 Start design and use cases for basetransform in order to get it
38 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
41 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
44 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
47 Make it known that gst_bus_poll() is pure evil (fixes #538810).
49 2008-06-20 Stefan Kost <ensonic@users.sf.net>
51 * plugins/elements/gstcapsfilter.c:
52 * plugins/elements/gstfakesink.c:
53 * plugins/elements/gstfakesrc.c:
54 * plugins/elements/gstfdsink.c:
55 * plugins/elements/gstfdsrc.c:
56 * plugins/elements/gstfilesink.c:
57 * plugins/elements/gstfilesrc.c:
58 * plugins/elements/gstidentity.c:
59 * plugins/elements/gstmultiqueue.c:
60 * plugins/elements/gstqueue.c:
61 * plugins/elements/gsttee.c:
62 * plugins/elements/gsttypefindelement.c:
63 Remove short_description. Add basic docs for gsttypefindelement.
64 Simplify markup for fakesrc/fdsrc.
66 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
68 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
71 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
73 Patch by: joel larsson <tilljoel at gmail dot com>
75 * docs/plugins/gstreamer-plugins.args:
76 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
77 (gst_fd_src_init), (gst_fd_src_update_fd),
78 (gst_fd_src_set_property), (gst_fd_src_get_property),
80 * plugins/elements/gstfdsrc.h:
81 Add timeout property like udpsrc. Fixes #538628.
82 Add some more docs and example pipelines.
84 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
86 * docs/libs/gstreamer-libs-sections.txt:
87 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
88 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
89 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
90 (gst_base_sink_do_sync):
91 * libs/gst/base/gstbasesink.h:
92 * win32/common/libgstbase.def:
93 Add method to allow sinks to specify additional delay between the sync
94 times and the actual rendering of the data.
95 API: gst_base_sink_set_render_delay()
96 API: gst_base_sink_get_render_delay()
98 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
101 Bump version number back to dev -> 0.10.20.1
103 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
105 * docs/gst/gstreamer-sections.txt:
106 * gst/gsttaglist.c: (_gst_tag_initialize):
108 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
111 2008-06-20 Stefan Kost <ensonic@users.sf.net>
113 * libs/gst/controller/gstcontroller.c:
114 Revert one change, that make ret value possible uninitialized.
116 2008-06-20 Stefan Kost <ensonic@users.sf.net>
118 * libs/gst/controller/gstcontroller.c:
119 Use freeze/thaw notify to sync notify emission a bit (its also more
120 efficient). Move debug output to LOG (is called a lot in a loop).
121 Always unset g_values if the have been initialized.
123 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
125 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
126 (gst_base_sink_wait_eos), (gst_base_sink_event):
127 If we have not seen a buffer before EOS, use the segment values to
128 report the current position instead of invalid positions.
130 2008-06-20 Stefan Kost <ensonic@users.sf.net>
132 * docs/plugins/tmpl/.cvsignore:
133 * tests/check/gst/.cvsignore:
136 2008-06-20 Stefan Kost <ensonic@users.sf.net>
138 * libs/gst/controller/gstinterpolation.c:
139 * libs/gst/controller/gstinterpolationcontrolsource.c:
140 * tests/check/libs/controller.c:
141 Rewrite handling of default values. Fix overflow with unsigned types
142 in linear interpolation. Remove now obsolete _first_value() function.
143 Add more tests. Fixes #538201.
145 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
147 * libs/gst/base/gstbasetransform.c:
148 (gst_base_transform_class_init), (gst_base_transform_init),
149 (gst_base_transform_transform_caps),
150 (gst_base_transform_prepare_output_buffer):
152 When a buffer is writable, its metadata is also writable so we don't
153 need to subbuffer (which then makes the buffer not-writable anymore).
155 === release 0.10.20 ===
157 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
160 releasing 0.10.20, "You Crazy Diamond"
162 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
165 0.10.19.3 pre-release
167 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
171 Rename DATADIR to GST_DATADIR to avoid build problems
172 on win32. Patch By: David Schleef <ds@schleef.org>
175 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
178 Explicitely link with -ldl if dladdr() is found there. Before it was
179 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
180 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
182 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
184 * gst/gsterror.c: (_gst_stream_errors_init):
185 Fix typo (spotted by Fabricio Godoy, #536723).
187 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
190 0.10.19.2 pre-release
192 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
194 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
195 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
197 Make sure we don't generate invalid QoS messages.
199 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
201 * gst/gstevent.c: (gst_event_new_qos):
202 Add some assert and docs for invalid input to the qos function.
204 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
206 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
207 (gst_base_sink_get_position):
208 The reported position must always be smaller than the last seen
209 timestamps (or timestamp + duration for reverse).
211 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
213 Patch by: Rob Bradford <rob at robster dot org dot uk>
215 * gst/gstregistry.c: (gst_registry_scan_path_level):
216 Don't recurse into .debug directories as some distros install
217 the debugging symbols next to the plugins in .debug directories
218 and dlopen() crashes on them sometimes. Fixes bug #508070.
220 Add FIXME for 0.11 to not recurse into directories at all because
221 it's very inconsistent to the behaviour of other PATH environment
224 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
226 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
227 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
228 Fix position query range checks in reverse playback.
230 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
234 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
235 clear of the reference to the resulting pad must be released later
236 or not, resulting in possible leaks. Fixes bug #533865.
238 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
240 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
242 * gst/gstelementfactory.c:
243 Small doc fix. Fixes #535285.
245 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
247 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
249 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
250 (gst_base_src_get_range), (gst_base_src_pad_get_range),
251 (gst_base_src_loop), (gst_base_src_set_flushing),
252 (gst_base_src_change_state):
253 Make sending an EOS event to the basesrc non-blocking even if the
254 implementation does blocking waits in the create function. This is done
255 by unlocking the create function when EOS is sent.
258 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
260 * tools/gst-inspect.c: (print_element_properties_info):
261 If possible print the element type of GValueArray properties.
263 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
266 Remove an unused field from the private GstListIterator struct.
268 2008-05-27 Stefan Kost <ensonic@users.sf.net>
270 * libs/gst/controller/gstcontroller.c:
271 Add parameter guards.
273 2008-05-27 Stefan Kost <ensonic@users.sf.net>
275 * tests/check/gst/gstpipeline.c:
276 Revert test change and add comment why it should not work.
278 2008-05-27 Stefan Kost <ensonic@users.sf.net>
280 * tests/check/gst/gstpipeline.c:
281 Extending the test a little to verify that we also get the NULL state-
284 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
286 * gst/gstpreset.c: (gst_preset_default_get_meta),
287 (gst_preset_get_preset_names), (gst_preset_get_property_names),
288 (gst_preset_load_preset), (gst_preset_save_preset),
289 (gst_preset_rename_preset), (gst_preset_delete_preset),
290 (gst_preset_set_meta):
291 Add Since: markers to docs blurbs.
293 * win32/common/libgstreamer.def:
294 Add recently-added API.
296 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
298 Patch by: Stefan Kost <ensonic@users.sf.net>
301 Add DATADIR for storing presets.
303 * docs/gst/gstreamer-docs.sgml:
304 * docs/gst/gstreamer-sections.txt:
305 * docs/gst/gstreamer.types.in:
306 Add GstPreset to docs.
310 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
311 (preset_open_and_parse_header), (preset_parse_version),
312 (preset_merge), (preset_get_keyfile),
313 (gst_preset_default_get_preset_names),
314 (gst_preset_default_get_property_names),
315 (gst_preset_default_load_preset),
316 (gst_preset_default_save_presets_file),
317 (gst_preset_default_save_preset),
318 (gst_preset_default_rename_preset),
319 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
320 (gst_preset_default_get_meta), (gst_preset_default_randomize),
321 (gst_preset_default_reset), (gst_preset_get_preset_names),
322 (gst_preset_get_property_names), (gst_preset_load_preset),
323 (gst_preset_save_preset), (gst_preset_rename_preset),
324 (gst_preset_delete_preset), (gst_preset_set_meta),
325 (gst_preset_get_meta), (gst_preset_class_init),
326 (gst_preset_base_init), (gst_preset_get_type):
328 Add GstPreset to core. Fixes #396779
330 * tests/check/Makefile.am:
331 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
332 (gst_preset_test_set_property), (gst_preset_test_class_init),
333 (gst_preset_test_base_init), (gst_preset_test_get_type),
334 (gst_preset_test_plugin_init), (GST_START_TEST),
335 (remove_preset_file), (test_setup), (test_teardown),
337 Add GstPreset unit tests.
339 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
341 * gst/gstpad.c: (gst_pad_event_default_dispatch):
342 The default event function on a sinkpad should return TRUE when
343 there are no internal links but should collect the return values from
344 the internal links otherwise.
346 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
348 * plugins/elements/gsttypefindelement.c:
349 (gst_type_find_element_src_event),
350 (gst_type_find_element_handle_event):
351 Use faster and safer _pad_push_event().
353 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
355 * docs/gst/gstreamer-sections.txt:
356 * gst/gstutils.c: (element_find_unlinked_pad),
357 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
359 API: add gst_bin_find_unlinked_pad()
360 API: deprecate gst_bin_find_unconnected_pad() (#401456)
362 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
368 Fixed a bunch of typos.
370 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
373 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
374 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
375 (gst_parse_bin_from_description_full):
377 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
379 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
381 * docs/pwg/advanced-tagging.xml:
382 Small docs update, can't be bothered to rewrite the nonsensical
385 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
388 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
390 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
392 * gst/parse/grammar.y:
393 Remove unneeded casts.
395 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
397 * gst/parse/grammar.y:
398 * tests/check/pipelines/parse-launch.c:
399 Get all missing elements from a parse launch string if possible
400 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
402 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
404 * tests/check/Makefile.am:
405 * tests/check/pipelines/parse-launch.c:
406 Add some unit tests for the new gst_parse_launch*_full() API.
407 (Exposes a previously-existing memory leak in the error code
408 path, so adding to VALGRIND_TO_FIX for now).
410 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
412 * docs/gst/gstreamer-sections.txt:
413 * gst/gst.c: (init_post):
414 * gst/gst_private.h: (_GstParseContext):
415 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
416 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
417 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
418 (gst_parse_launch_full):
419 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
420 (GstParseFlags), (GstParseContext):
421 * gst/gstutils.c: (gst_parse_bin_from_description),
422 (gst_parse_bin_from_description_full):
424 * gst/parse/grammar.y:
426 * win32/common/libgstreamer.def:
427 Add new gst_parse_*_full API (#528178):
428 API: gst_parse_launch_full()
429 API: gst_parse_launchv_full()
430 API: gst_parse_bin_from_description_full()
431 API: gst_parse_context_new()
432 API: gst_parse_context_free()
433 API: gst_parse_context_get_missing_elements()
435 2008-05-23 Stefan Kost <ensonic@users.sf.net>
437 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
439 * docs/faq/gst-uninstalled:
440 Also support ffmpeg in gst-uninstalled.
442 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
445 After discussion on IRC use the binary registry as default
446 but allow to disable it with --disable-binary-registry.
448 * win32/common/libgstreamer.def:
449 Add the two new symbols for the binary registry.
451 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
453 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
454 * gst/gstutils.c: (gst_parse_bin_from_description):
455 * gst/parse/grammar.y: (graph):
456 More guards against bad input; typo fix; some minor clean-ups.
458 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
460 Patch by: Sjoerd Simons <sjoerd at luon dot net>
462 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
463 If nothing else can be used, use the last buffer's start time as
464 the segment's last stop. Fixes bug #534258.
466 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
468 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
469 Move size sanity check to the right place: downstream may return
470 a buffer with a smaller size if the buffer caps are different than
471 the requested ones, as may happen when doing reverse negotiation.
473 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
475 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
476 (gst_file_sink_render):
477 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
478 (gst_file_src_start):
479 Small cleanups. Add note adbout g_fopen() on windows and why we don't
482 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
484 * gst/gstpad.c: (gst_pad_load_and_link):
485 * gst/gstutils.c: (gst_element_link_pads),
486 (gst_element_unlink_pads):
487 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
488 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
489 (gst_check_teardown_sink_pad),
490 (gst_check_element_push_buffer_list):
491 * tests/check/elements/fakesink.c: (GST_START_TEST):
492 * tests/check/elements/filesink.c:
493 * tests/check/elements/filesrc.c: (GST_START_TEST):
494 * tests/check/elements/multiqueue.c: (setup_multiqueue),
495 (mq_sinkpad_to_srcpad):
496 * tests/check/elements/tee.c: (GST_START_TEST):
497 * tests/check/generic/sinks.c: (GST_START_TEST):
498 * tests/check/gst/gstbin.c: (GST_START_TEST):
499 * tests/check/gst/gstevent.c: (GST_START_TEST):
500 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
501 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
502 * tests/check/gst/gstquery.c: (GST_START_TEST):
503 * tests/check/gst/gstutils.c: (GST_START_TEST):
504 * tests/check/libs/basesrc.c: (GST_START_TEST):
505 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
506 (gst_parse_test_element_change_state):
507 Don't use gst_element_get_pad().
509 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
512 Fix installing plugin documentation when gtk-doc is disabled.
514 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
516 * docs/manual/advanced-autoplugging.xml:
517 * docs/manual/basics-helloworld.xml:
518 * docs/manual/basics-pads.xml:
519 * docs/manual/highlevel-components.xml:
520 Avoid using a bad function in the example code.
522 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
524 * gst/gstclock.c: (gst_clock_set_calibration):
525 Fix debug of the new clock rate.
527 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
529 * win32/common/libgstbase.def:
530 Add gst_base_sink_wait_clock() to the exported symbols.
532 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
534 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
536 * libs/gst/base/gstbasetransform.c:
537 (gst_base_transform_sink_event):
538 Unref events that the GstBaseTransform::event vfunc didn't want to
539 have forwarded by the base class. Closes a leak in identity.
542 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
544 * docs/libs/gstreamer-libs-sections.txt:
545 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
546 * libs/gst/base/gstbasesink.h:
547 Expose a method that was previously used internally to synchronize
548 against the clock because it can be useful for subclasses too.
549 API: GstBaseSink::gst_base_sink_wait_clock()
551 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
553 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
554 Add sanity check to make sure we don't get smaller buffers
555 than requested (and fallback to normal buffer alloc if we do).
557 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
559 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
560 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
561 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
562 Refactor adjusting the running_time with latency and offset into a
564 When doing clipping, we still want to use the subclass get_times method,
565 just in case the DURATION or TIMESTAMP are not set.
567 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
569 * docs/gst/gstreamer-sections.txt:
570 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
572 * win32/common/libgstreamer.def:
573 API: add gst_type_find_suggest_simple(), #533740.
575 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
577 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
578 Use right error code when typefinding fails, so we can use
579 the default (translated) error messages.
581 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
583 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
584 (gst_base_src_start):
585 When the subclass did not set caps on outgoing buffers, configure the
586 caps we negotiated on the source pad.
587 When the typefind helper does not find caps, error out properly instead
588 of doing things with NULL caps.
590 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
593 Tabs to spaces, oh yes!
595 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
597 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
598 Add David's and Benjamin's tests for array intersection to the
599 unit test suite (#147931).
601 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
604 Document that gst_event_new_tag() and gst_event_new_navigation()
605 take ownership of the taglist/structure passed to them. (#533635).
607 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
610 Don't descend into the plugins dir if plugin docs building
614 Add a note about the new type:GTypeName syntax for the plugin
615 documentation .types file.
617 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
619 * gst/gstmessage.c: (gst_message_new_error),
620 (gst_message_new_warning), (gst_message_new_info):
622 Mark the debug string parameters as const. Fixes bug #533490.
624 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
626 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
627 Sort buffer cache list by end offsets. This makes sure that we don't
628 stop to search for a cached buffer that contains the requested data
630 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
631 more efficient. Fixes bug #459862.
633 2008-05-14 Stefan Kost <ensonic@users.sf.net>
636 Explain why we copy the list.
642 Add one debug-log statement to help tracing probelms with linking pads.
644 2008-05-12 Stefan Kost <ensonic@users.sf.net>
646 * tests/check/gst/gstinfo.c:
647 Add a test for removing the default log handler. Seems to fail under
650 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
652 * gst/gstpad.c: (gst_pad_peer_accept_caps):
653 Release pad lock before calling out to avoid a possible deadlock.
655 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
657 * gst/parse/grammar.y:
658 Remove unneeded value unset.
660 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
661 Add unit test for de/serialization of caps.
663 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
665 * plugins/elements/gstfakesink.c:
666 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
667 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
668 (gst_fake_src_class_init):
669 Use custom marshalers that take GstMiniObject as first parameter.
670 Using OBJECT as parameter while a GstMiniObject is given will lead
671 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
673 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
675 * plugins/elements/gsttypefindelement.c:
676 (gst_type_find_element_handle_event),
677 (gst_type_find_element_send_cached_events),
678 (gst_type_find_element_change_state):
679 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
682 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
684 * plugins/elements/gsttypefindelement.c:
685 (gst_type_find_handle_src_query), (stop_typefinding),
686 (gst_type_find_element_handle_event),
687 (gst_type_find_element_send_cached_events),
688 (gst_type_find_element_change_state):
689 Forward FLUSH_START events immediately and clean up instead of
692 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
694 Patch by: Sjoerd Simons <sjoerd at luon dot net>
696 * libs/gst/base/gstbasetransform.c:
697 (gst_base_transform_buffer_alloc):
698 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
699 fall back to default negotiation in the chain function if the caps
700 are different from what was requested. Fixes bug #526768.
702 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
705 * tests/check/gst/gstsegment.c:
706 No, let's not use g_slice_{dup|copy} here, since they only exist
707 since GLib 2.14 and we still depend only on >= 2.12. Also add
708 unit test for gst_segment_copy().
710 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
712 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
713 Try to fix 'dereferencing type-punned pointer will break strict
714 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
715 changed the default GType typedef from gulong to gsize at some point,
716 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
717 g_once_* functions all take a gsize * though, so work around the type
718 mismatch for C++ by doing everything in gsize and casting to GType
721 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
723 * plugins/elements/gstmultiqueue.c:
724 Add documentation for the signals to push our core plugin docs
725 coverage back up to 100%.
727 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
729 * gst/gstinfo.h (GST_FUNCTION):
730 Reverted GST_FUNCTION to the old version as we don't want the
731 full signature in C++ code. Also added support for MSVC.
733 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
736 Intern the type name string, similar to what G_DEFINE_TYPE does.
738 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
741 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
743 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
745 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
747 * libs/gst/base/gstbasetransform.c:
748 (gst_base_transform_buffer_alloc):
749 Don't passthrough buffer allocation too easily if the caps change.
750 This breaks when working in passthrough mode and upstream changes
751 it's caps. Fixes bug #526768.
753 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
755 * gst/gstinfo.c (gst_debug_log_valist):
756 Improved the __FILE__ part of debug output for MSVC.
758 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
760 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
761 Declaration after statement fix for compilers like MSVC.
763 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
765 * win32/common/config.h.in:
766 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
767 use the real thing than having "???" unconditionally.
769 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
771 * gst/gstinfo.h (GST_FUNCTION):
772 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
774 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
776 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
779 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
780 (gst_base_sink_set_flushing):
781 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
784 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
786 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
787 (gst_fake_src_init), (gst_fake_src_set_property),
788 (gst_fake_src_get_property), (gst_fake_src_start):
789 * plugins/elements/gstfakesrc.h:
790 Added format property to control the format of the newsegment events.
791 API: GstFakeSrc:format
793 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
795 * win32/common/libgstreamer.def:
796 Add gst_pad_has_name() to the exported symbols.
798 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
800 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
801 * libs/gst/base/gstbasetransform.c:
802 (gst_base_transform_prepare_output_buffer):
803 Don't allow negative sizes when allocating new buffers.
806 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
808 Patch by: Sjoerd Simons <sjoerd at luon net>
810 * gst/gstbus.c: (gst_bus_source_dispatch):
811 Don't print a warning if the queue is empty when we try to pop
812 here. That could happen if another thread or callback set the
813 bus to flushing between the source's check/prepare and the
814 dispatch being called (#531538).
816 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
818 * plugins/elements/gstmultiqueue.c:
821 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
823 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
824 Add unit test for deserializing uint64s and check some really large
825 numbers in the int64 test.
827 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
829 * tools/gst-inspect.c: (n_print), (print_hierarchy),
830 (print_interfaces), (print_element_properties_info),
832 Use "%s" as format string instead of printing strings directly.
834 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
836 * gst/gstclock.c: (gst_clock_set_calibration):
837 Make some checks actually useful.
839 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
840 Remove some unused code. Unsigned integers tend to be >= 0.
842 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
844 * gst/gstminiobject.c: (gst_value_get_mini_object):
845 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
846 function was not in the unscheduled 0.10.19 release.
848 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
850 * gst/gstregistry.c: (gst_registry_scan_path_level):
851 Only print one log message per non-plugin file.
853 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
855 * gst/gstinfo.c: (gst_debug_log_default):
856 Fix alignment of debug log columns on 64-bit.
858 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
860 * docs/libs/Makefile.am:
861 * docs/libs/gstreamer-libs-sections.txt:
862 Ignore private controller headers for docs.
864 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
866 * libs/gst/controller/gstcontrollerprivate.h:
867 * libs/gst/controller/gsthelper.c:
868 * libs/gst/controller/gstinterpolation.c:
869 * libs/gst/controller/gstinterpolationcontrolsource.c:
870 (gst_interpolation_control_source_set_interpolation_mode):
871 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
872 * libs/gst/controller/lib.c:
873 Move some private declarations into private headers.
875 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
877 * gst/gstdebugutils.c: (debug_dump_element_pad):
878 Remove some code that is unused after Stefan's refactoring and uses
879 uninitialized variables now, resulting in a compiler warning.
881 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
883 * gst/gstregistry.c: (gst_registry_scan_path_level):
884 Run g_str_has_suffix() only on the file name, not the
887 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
889 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
890 Since we're not called only from the chain function any longer,
891 we can't assume that there's always data in the queue, so move
892 the is_full check to the beginning of the loop (otherwise we'd
893 hit the assert when changing the limit properties while the
894 queue is empty or not running yet).
895 Also, only set a discont if items were actually removed from
898 * tests/check/elements/queue.c: (test_leaky_downstream):
899 Test case for the above.
901 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
903 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
905 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
906 (gst_queue_chain), (queue_capacity_change),
907 (gst_queue_set_property):
908 When changing thr max capacity of a leaky queue, immediatly drop buffers
909 instead of waiting for a push on the sinkpad. Fixes #530637.
911 2008-04-30 Stefan Kost <ensonic@users.sf.net>
913 * gst/gstdebugutils.c:
914 Refactor code and fix handling of ghostpads and their proxypads.
916 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
918 * docs/gst/gstreamer-sections.txt:
919 * gst/gstevent.c: (gst_event_has_name):
921 * tests/check/gst/gstevent.c: (GST_START_TEST):
922 Add method to conveniently check the name of a custom event with
923 gst_event_has_name().
924 Reformat the event docs so that related methods are put together instead
925 of the default alphabetical sort.
926 Update unit test with new method.
927 API: GstEvent::gst_event_has_name()
929 2008-04-28 Michael Smith <msmith@songbirdnest.com>
931 * libs/gst/check/Makefile.am:
932 Don't add an explicit link to libgstreamer-0.10.la; it's already
933 included in GST_OBJ_LIBS.
935 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
938 Register GstClock type from a type-safe context. Fixes bug #530317.
940 2008-04-25 Michael Smith <msmith@songbirdnest.com>
942 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
944 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
946 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
948 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
950 Use the GLib stuff to create a private structure.
951 Add some locking around some dispose methods to make them a little
952 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
954 2008-04-25 Stefan Kost <ensonic@users.sf.net>
956 * libs/gst/base/gstbasesink.h:
957 * libs/gst/base/gstbasesrc.h:
958 * libs/gst/base/gstbasetransform.h:
959 * libs/gst/base/gstcollectpads.h:
960 Fix doc typos and unify caps a bit.
962 2008-04-25 Stefan Kost <ensonic@users.sf.net>
964 * tools/gst-launch.1.in:
965 Forgot to also add the envvar docs here.
967 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
969 * gst/gst.c: (init_post), (gst_deinit):
970 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
971 (test_concurrent_create), (gst_pipeline_suite):
972 Ref some more classes in gst_init() to work around thread-safety
973 issues in pre-2.16 GLibs, and add basic unit test.
975 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
977 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
978 (gst_base_sink_send_event):
979 Rearrange the latency query code. We always want to do the upstream
980 query, even if we are not live so that the upstream elements can get the
981 latency results too. If we fail doing the query and we are live, we
982 return TRUE afterwards.
984 2008-04-24 Stefan Kost <ensonic@users.sf.net>
986 patch by: Jason Zhao <e3423c@motorola.com>
988 * docs/gst/running.xml:
990 Enable/disable scan_and_update_registry() based on commandline switch
991 or environment variable. Fixes #520468.
994 Fix typo in my previous commit.
996 2008-04-24 Stefan Kost <ensonic@users.sf.net>
998 * gst/gstregistrybinary.c:
999 Add a warning if we hit unhandled factories when saving.
1000 More debug logging detail, but move to LOG category.
1002 2008-04-24 Stefan Kost <ensonic@users.sf.net>
1004 * gst/gstregistry.c:
1005 Tell the *truth* when improving the documentation.
1007 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
1009 * gst/gstelementfactory.c: (gst_element_factory_make):
1010 Unref the factory after it was used the last time, not before.
1012 * gst/gstindexfactory.c: (gst_index_factory_make):
1013 Improve debugging a bit and don't leak a ref to the index factory with
1016 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1018 * gst/gstregistry.c:
1019 Improve the documentation.
1021 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1024 The glib macro seems to be borked. Use g_slice_copy directly and cast
1025 in the hope that this fixes the warning on 64bit.
1027 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1030 Document the new function. Use g_slice_dup() (no need for
1031 gst_segment_init()).
1033 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1035 * docs/gst/gstreamer-sections.txt:
1036 Move GParamSepc macros to standart section.
1039 Dn't document _get_type - its in private section in docs anyway and
1040 this doc-blob was incomplete.
1043 Fix wrong symbol names in docs.
1046 Add once doc sentence.
1048 * tests/check/gst/.cvsignore:
1051 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1053 * docs/gst/Makefile.am:
1054 And remove those libs here.
1056 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1058 * docs/libs/Makefile.am:
1059 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1061 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1063 Patch by: Olivier Crete <tester at tester dot ca>
1065 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1066 Add the min-threshold to the min latency if possible. Fixes #529148.
1068 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1070 * docs/gst/gstreamer.types.in:
1071 Stupid editor, I removed that line as it should go in yet.
1073 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1075 * docs/gst/gstreamer.types.in:
1076 * docs/libs/gstreamer-libs.types:
1077 Remove library types fro core docs and have them in libs docs.
1078 Reformat and cleanup. Add comment for miniobject types.
1080 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1082 * gst/gsturi.c: (gst_uri_get_protocol):
1083 Fix leak: g_strdown operates on the string in place, while
1084 g_ascii_strdown() returns a newly-allocated string.
1086 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1088 * tools/gst-inspect.c: (print_uri_handler_info),
1089 (print_element_info):
1090 Print the URI protocols and the URI type supported by the element.
1092 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1094 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1095 Use g_value_take_string() instead of the deprecated
1096 g_value_set_string_take_ownership().
1098 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1100 * gst/gstregistrybinary.c: (_gst_crc32):
1101 Return the old CRC instead of 0 if we give a NULL buffer
1102 or a buffer with a length of 0.
1104 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1106 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1107 (gst_uri_get_protocol), (gst_uri_has_protocol),
1108 (gst_uri_construct), (gst_uri_handler_set_uri):
1109 A valid URI scheme can also include '+', '-' and '.' additional
1110 to alphanumeric characters as per RFC 3986 Section 3.1.
1112 Handle URI schemes case insensitive in all places and convert
1113 to lower-case when constructing an URI or setting an URI with
1114 the GstURIHandler interface. Fixes bug #528868.
1115 All elements can still assume (as before) that they will
1116 get passed URIs with a lower-case URI scheme by the GstURIHandler
1119 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1121 * gst/gstcaps.c: (gst_static_caps_get):
1122 * gst/gstclock.c: (gst_clock_entry_new):
1123 Don't use g_atomic_set_int where it's not needed.
1125 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1127 * gst/gstvalue.c: (gst_value_deserialize_caps):
1128 * gst/parse/grammar.y:
1131 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1133 * gst/gstutils.c: (gst_atomic_int_set):
1134 Use g_atomic_int_set() here too instead of assignment +
1137 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1141 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1142 now that we depend on new enough GLib.
1144 * gst/gstcaps.c: (gst_static_caps_get):
1145 * gst/gstclock.c: (gst_clock_entry_new):
1146 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1147 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1148 (gst_debug_category_set_threshold):
1149 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1150 (gst_base_sink_set_qos_enabled):
1151 * libs/gst/net/gstnettimeprovider.c:
1152 (gst_net_time_provider_set_property):
1153 Use g_atomic_int_set() instead of gst_atomic_int_set().
1155 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1158 Also use G_GINT64_CONSTANT for the queries.
1160 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1163 Use G_GINT64_CONSTANT in varargs function.
1165 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1167 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1168 Initialize the registry magic with zeroes.
1170 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1172 * gst/gstregistrybinary.c: (_gst_crc32),
1173 (gst_registry_binary_write),
1174 (gst_registry_binary_initialize_magic),
1175 (gst_registry_binary_write_cache),
1176 (gst_registry_binary_check_magic),
1177 (gst_registry_binary_read_cache):
1178 * gst/gstregistrybinary.h:
1179 Add crc32 checksum to the binary registry file and check this before
1180 accepting a registry file.
1182 Also free the data list when writing to the registry file fails.
1184 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1186 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1187 (gst_registry_binary_load_feature),
1188 (gst_registry_binary_load_plugin):
1189 If an element supports the Uri interface, returns a valid pointer
1190 to the supported URI protocols but this pointer contains nothing
1191 don't try to save that as it will corrupt the registry.
1193 Don't unref the plugin if we added it to the registry already but
1194 fail to load a feature as gst_registry_add_plugin() takes ownership
1197 Improve debugging a bit.
1199 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1202 Clarify some tag item docs after discussion on irc.
1204 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1206 * docs/gst/gstreamer-docs.sgml:
1207 Remove commented out plugins (they have their own docs). Update
1210 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1212 * docs/gst/gstreamer-docs.sgml:
1213 * docs/gst/gstreamer-sections.txt:
1214 * gst/gstparamspecs.c:
1215 * gst/gstparamspecs.h:
1216 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1217 docs to own section.
1220 This now only documents GValue.
1222 * docs/libs/gstreamer-libs-sections.txt:
1223 * libs/gst/controller/gstcontroller.h:
1224 Remove GST_PARAM_CONTROLLABLE.
1226 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1229 Correct file path. Tell about how to use -overrides.txt.
1230 * docs/design/draft-tagreading.txt:
1231 Small design update.
1233 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1235 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1236 (gst_registry_binary_load_plugin):
1237 Fix a typo in a debug message and revert change from yesterday as
1238 gst_registry_add_plugin() will only fail if something is really wrong
1239 already and we can't survive it anyway.
1241 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1243 * gst/gst.c: (init_post), (gst_deinit):
1244 Pre-register GstGError GType from a thread-safe context
1245 (fixes #527967); unref enum type classes in deinit.
1247 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1249 Patch by: Rene Stadler <mail at renestadler de>
1251 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1252 Merging an empty list with another list in KEEP_ALL mode should
1253 yield an empty list as result and not the second list (#512578).
1255 * tests/check/gst/gsttagsetter.c:
1256 Add unit test for tag merge modes and the aforementioned bug.
1258 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1260 Patch by: Rene Stadler <mail at renestadler de>
1263 Fix description to match the order in the table (#512577).
1265 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1267 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1269 * libs/gst/net/gstnettimepacket.h:
1270 * docs/libs/gstreamer-libs-sections.txt:
1271 Define socklen_t as int if it's not defined yet. Fixes compilation
1272 with MSVC6 and other versions where socklen_t is not defined in
1273 the windows headers (#518022).
1275 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1277 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1278 If gst_registry_add_plugin() fails our reference to the plugin is
1279 invalid so don't try to use it anymore and instead error out.
1281 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1283 * tools/gst-xmlinspect.c: (print_element_info), (main):
1284 De-cruft a bit. If no argument is specified, print all elements in
1285 XML syntax rather than a freestyle list of elements like gst-inspect.
1286 Also, don't print XML header chunk unless we actually have something
1287 to print (ie. don't print it before an error message); print error
1288 message to stderr not stdout. Remove support for printing plugin
1289 info (it would just output something freestyle along the lines of
1290 gst-inspect so far), which fixes #514507. Also add license header.
1292 2008-04-11 Julien Moutte <julien@fluendo.com>
1295 * configure.ac: Merge platform specific defines, introduce a new
1296 define on OS X to remember that forking when updating registry is
1298 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1300 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1302 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1303 condition that leads to absolutely no plugins being registered on
1306 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1308 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1310 * gst/gstutils.c: (gst_pad_add_data_probe),
1311 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1312 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1313 (gst_pad_add_buffer_probe_full):
1315 * docs/gst/gstreamer-sections.txt:
1316 * win32/common/libgstreamer.def:
1317 Add gst_pad_add_*_probe_full() functions with a notify callback that
1318 lets the caller free the data it passes to the probe functions. This
1319 is useful for bindings such as gst-python or gstreamermm (#526814).
1320 API: gst_pad_add_data_probe_full
1321 API: gst_pad_add_buffer_probe_full
1322 API: gst_pad_add_event_probe_full
1324 * tests/check/gst/gstutils.c:
1325 Add minimal unit test to make sure freeing the data actually works
1328 * tests/benchmarks/.cvsignore:
1329 Random cvsignore addendum.
1331 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1333 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1334 (GST_DEBUG_BIN_TO_DOT_FILE):
1335 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1336 to it in the docs (since these are macros the types of the arguments
1337 won't be shown in the docs otherwise).
1339 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1342 Do not abort on out of memory for pad_alloc_buffer.
1344 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1346 * libs/gst/check/gstcheck.c:
1347 Remove blank line between symbol name ad parameters to fix gtkdoc
1350 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1352 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1354 * docs/gst/gstreamer-sections.txt:
1357 * win32/common/libgstreamer.def:
1358 Expose gst_segment_copy() to make things easier for the c++ bindings.
1360 API: gst_segment_copy()
1362 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1364 * gst/gst.c: (gst_init_get_option_group), (init_post):
1365 Fix const position; ref GType classes for enum types to work
1366 around thread-safety issues in GLib versions < 2.16.
1368 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1370 * docs/design/part-buffering.txt:
1371 Fix some typos and set the estimated total for push mode to -1.
1373 * gst/gstquery.c: (gst_query_new_buffering):
1374 Set buffering-left to 0 as we're not buffering by default.
1376 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1377 Implement BUFFERING query.
1379 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1381 Based on patch by: Milosz Derezynski <internalerror gmail com>
1383 * gst/gsterror.c: (_gst_stream_errors_init):
1385 Add two new error codes for encrypted content. Fixes #524659.
1386 API: GST_STREAM_ERROR_DECRYPT
1387 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1389 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1394 * win32/common/libgstreamer.def:
1397 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1399 * plugins/elements/gstidentity.c: (gst_identity_event),
1400 (gst_identity_start):
1401 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1402 event after processing some data. Fixes bug #526042.
1404 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1406 * docs/gst/gstreamer-sections.txt:
1407 * gst/gstquery.c: (gst_query_parse_latency),
1408 (gst_query_set_buffering_percent),
1409 (gst_query_parse_buffering_percent),
1410 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1412 Rename _avail -> _range
1413 API: gst_query_set_buffering_range
1414 API: gst_query_parse_buffering_range
1416 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1418 * docs/design/part-buffering.txt:
1421 * gst/gstquery.c: (gst_query_parse_latency),
1422 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1423 (gst_query_parse_buffering_percent):
1425 Add busy field and quark for the buffering query so that the app can
1426 only use the query to see if buffering is in progress.
1428 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1430 * docs/gst/gstreamer-sections.txt:
1431 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1432 (gst_message_parse_buffering_stats):
1434 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1435 (gst_query_parse_latency), (gst_query_new_buffering),
1436 (gst_query_set_buffering_percent),
1437 (gst_query_parse_buffering_percent),
1438 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1439 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1441 Reorder the message docs and headers for clarity.
1442 Add aditional buffering stats API for messages.
1443 Add buffering query.
1444 Convert some leftover queries to use GstQuark.
1445 API: gst_message_set_buffering_stats
1446 API: gst_message_parse_buffering_stats
1447 API: GST_QUERY_BUFFERING
1448 API: GstBufferingMode
1449 API: gst_query_new_buffering
1450 API: gst_query_set_buffering_percent
1451 API: gst_query_parse_buffering_percent
1452 API: gst_query_set_buffering_stats
1453 API: gst_query_parse_buffering_stats
1455 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1457 * gst/gstmessage.c: (gst_message_new_error),
1458 (gst_message_new_warning), (gst_message_new_info),
1459 (gst_message_new_buffering), (gst_message_new_state_changed),
1460 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1461 (gst_message_new_new_clock), (gst_message_new_segment_start),
1462 (gst_message_new_segment_done), (gst_message_new_duration),
1463 (gst_message_new_async_start), (gst_message_parse_buffering),
1464 (gst_message_parse_state_changed),
1465 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1466 (gst_message_parse_new_clock), (gst_message_parse_error),
1467 (gst_message_parse_warning), (gst_message_parse_info),
1468 (gst_message_parse_segment_start),
1469 (gst_message_parse_segment_done), (gst_message_parse_duration),
1470 (gst_message_parse_async_start):
1471 Use GstQuark for messages.
1473 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1475 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1477 Add some more quarks needed for messages and queries.
1479 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1481 * docs/design/part-buffering.txt:
1482 Remove the "none" buffering mode, STREAM is a good default.
1483 Move estimated-time to the avail query, that's when it will be needed.
1484 Other small typo fixes and updates.
1486 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1488 * gst/gstindex.c: (gst_index_resolver_get_type):
1489 Don't put descriptions into the nick field of a GEnumValue: it's not
1490 meant for that and some language bindings rely on the nick field to
1491 construct constants and the like. Fixes #526705.
1493 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1498 Merge other changes from 0.10.19 release branch.
1500 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1502 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1505 Actually build dlls when cross-compiling with mingw32.
1508 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1510 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1513 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1515 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1517 * docs/design/draft-latency.txt:
1520 * docs/design/part-buffering.txt:
1521 Update design docs with more buffering ideas.
1523 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1526 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1528 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1531 Revert part that belongs to the preset patch.
1533 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1536 Add qoutes to the define. Fixes # 525961.
1538 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1540 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1541 (gst_file_index_load), (gst_file_index_add_id),
1542 (gst_file_index_get_assoc_entry):
1543 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1544 (gst_mem_index_free_id), (gst_mem_index_add_id),
1545 (gst_mem_index_index_format):
1546 Use GSlice when possible.
1548 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1550 * libs/gst/controller/gstinterpolationcontrolsource.c:
1551 (gst_control_point_free),
1552 (gst_interpolation_control_source_set_internal):
1553 Use GSlice for allocating the control points.
1555 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1557 * plugins/elements/gsttypefindelement.c:
1558 (gst_type_find_element_class_init),
1559 (gst_type_find_element_set_property),
1560 (gst_type_find_element_get_property),
1561 (gst_type_find_element_activate):
1562 * plugins/elements/gsttypefindelement.h:
1564 Fix pad leak when peer query fails.
1565 We can still typefind when the peer returns -1.
1566 Add property to force caps and bypass typefinding. This will be used in
1570 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1575 * gst/glib-compat-private.h:
1576 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1577 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1578 Unconditionally use GSlice for allocation.
1580 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1581 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1582 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1583 (gst_structure_free):
1584 Use GSlice for allocation.
1586 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1588 * gst/parse/Makefile.am:
1589 * gst/parse/grammar.tab.pre.c:
1590 * gst/parse/grammar.tab.pre.h:
1591 * gst/parse/lex._gst_parse_yy.pre.c:
1592 Require a new enough flex and bison and remove the parser hacks to use
1593 a pre-regenerated version.
1595 2008-04-01 Julien Moutte <julien@fluendo.com>
1597 patch by: Jason Zhao <E3423C@motorola.com>
1599 * configure.ac: Add a configure switch to disable option parsing
1603 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1606 * gst/gstregistry.c:
1607 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1608 and handle this case.
1611 Add a comment here describing, why we stat each plugin and not try to
1614 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1616 * libs/gst/base/gstbasetransform.c:
1617 (gst_base_transform_prepare_output_buffer):
1618 Also unset the GAP flag on buffers if we're working inplace but
1619 the element is not GAP-aware.
1621 Mark a comment as FIXME 0.11.
1623 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1626 Fix type in log message and add one to ease seeing how long registry
1627 cache verification takes.
1629 * gst/gstregistry.c:
1630 Only test plugin filenames against G_MODULE_SUFFIX.
1632 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1634 * gst/gstdebugutils.c:
1635 Improve handling ghost/proxy pads.
1637 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1639 * docs/gst/gstreamer-sections.txt:
1642 Expose macro to docs and fix link to it.
1644 2008-03-27 Michael Smith <msmith@fluendo.com>
1646 * libs/gst/dataprotocol/dataprotocol.c:
1647 (gst_dp_packet_from_event_1_0):
1648 When calculating GDP body CRC, use the correct pointer.
1649 Fixes part of #522401.
1651 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1653 Patch by: Mark Nauwelaerts <manauw at skynet be>
1655 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1656 (gst_identity_init), (gst_identity_prepare_output_buffer):
1657 Identity is not always a passthrough element, it can modify the buffer
1658 timestamps when it has a datarate and operates in single-segment mode.
1659 We therefore make it an in_place filter with a custom buffer prepare
1660 function that conditionally makes the input buffer metadata writable
1661 when needed. Fixes #523985.
1663 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1665 Patch by: Mark Nauwelaerts <manauw at skynet be>
1668 * libs/gst/base/gstbasesrc.h:
1669 * libs/gst/base/gstbasetransform.c:
1670 * libs/gst/check/gstcheck.c:
1671 Small documentation fixes. Fixes #523978.
1673 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1675 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1676 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1677 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1679 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1681 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1682 (single_queue_underrun_cb):
1683 When trying to make room in the queue, bump the max allowed buffers
1684 bigger than the current amount of buffers in the queue. this fixes some
1685 nasty deadlocks in multiqueue when dynamically changing the limits of
1688 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1690 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1692 * gst/gstcaps.c: (gst_caps_set_simple),
1693 (gst_caps_set_simple_valist), (gst_caps_intersect):
1695 Constify the field gchar * params in set_simple and friends.
1698 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1700 * gst/gstvalue.c: (gst_value_transform_object_string):
1701 Transform a GstObject to a more meaningfull string that includes the
1702 object type in addition to its name.
1704 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1707 ChangeLog surgery to add bugnumber to commit.
1709 2008-03-23 Rene Stadler <mail@renestadler.de>
1711 * libs/gst/base/gstbasetransform.c:
1712 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1714 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1716 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1717 Rename constant everywhere and don't forget one occurence.
1719 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1721 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1722 Align memory to the pointer size even if the architecture allows
1723 unaligned memory access. Unaligned memory access usually comes with
1724 performance penality.
1726 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1728 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1729 (gst_registry_binary_check_magic),
1730 (gst_registry_binary_load_pad_template),
1731 (gst_registry_binary_load_feature),
1732 (gst_registry_binary_load_plugin):
1733 Align memory to the pointer size instead of always 32 bit. Fixes
1734 unaligned memory accesses on ia64 and friends.
1736 * gst/gstregistrybinary.h:
1737 Bump binary registry format version for this as it changes the
1738 format on those architectures that don't have unaligned access
1739 and 64 bit pointers.
1741 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1743 * docs/pwg/advanced-dparams.xml:
1744 * docs/pwg/building-props.xml:
1745 * docs/pwg/other-source.xml:
1746 * gst/glib-compat.h:
1747 * gst/gstbin.c: (gst_bin_class_init):
1748 * gst/gstclock.c: (gst_clock_class_init):
1749 * gst/gstindex.c: (gst_index_class_init):
1750 * gst/gstobject.c: (gst_object_class_init):
1751 * gst/gstpad.c: (gst_pad_class_init):
1752 * gst/gstpipeline.c: (gst_pipeline_class_init):
1753 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1754 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1755 * libs/gst/base/gstbasetransform.c:
1756 (gst_base_transform_class_init):
1757 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1758 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1759 (_gst_check_fault_handler_sighandler),
1760 (_gst_check_fault_handler_setup), (gst_check_init):
1761 * libs/gst/controller/gstcontroller.c:
1762 (_gst_controller_class_init):
1763 * libs/gst/controller/gstlfocontrolsource.c:
1764 (gst_lfo_control_source_class_init):
1765 * libs/gst/net/gstnetclientclock.c:
1766 (gst_net_client_clock_class_init):
1767 * libs/gst/net/gstnettimeprovider.c:
1768 (gst_net_time_provider_class_init):
1769 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1770 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1771 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1772 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1773 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1774 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1775 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1776 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1777 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1778 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1779 * plugins/elements/gsttee.c: (gst_tee_class_init):
1780 * plugins/elements/gsttypefindelement.c:
1781 (gst_type_find_element_class_init):
1782 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1783 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1784 use it everywhere for GParamSpecs that use static strings (i.e. all).
1785 This gives us less memory usage, fewer allocations and thus less
1786 memory defragmentation. Fixes bug #523806.
1788 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1790 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1791 (gst_param_spec_mini_object):
1792 * gst/gstminiobject.h:
1793 * win32/common/libgstreamer.def:
1794 * docs/gst/gstreamer-sections.txt:
1795 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1796 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1797 GstParamSpecMiniObject into a public header for this.
1799 This make GstMiniObject a bit more consistent with GObject and makes
1800 it possible to extend the param specs.
1802 gst_value_dup_mini_object is mainly useful for set_property methods.
1806 * tools/gst-inspect.c: (print_element_properties_info):
1807 Print something useful for GstMiniObject properties and not just
1810 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1812 * docs/gst/gstreamer-sections.txt:
1813 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1814 (gst_registry_binary_check_magic):
1815 * gst/gstregistrybinary.h:
1816 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1817 and add it to the (private part) of the docs to fix the build.
1819 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1821 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1822 (gst_registry_binary_check_magic),
1823 (gst_registry_binary_read_cache):
1824 * gst/gstregistrybinary.h:
1825 Don't use GST_MAJORMINOR for the binary registry version. Instead
1826 hardcode a value that must be changed whenever the format changes
1827 in an incompatible way.
1828 Also don't GST_ERROR when there is a version mismatch, just
1829 regenerate the registry silently.
1831 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1834 Back to development - 0.10.18.1
1836 === release 0.10.18 ===
1838 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1841 releasing 0.10.18, "So far away"
1843 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1846 * win32/common/config.h:
1847 0.10.17.4 pre-release
1849 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1851 Patch by: Ole André Vadla Ravnås
1852 <ole dot andre dot ravnas at tandberg dot com>
1854 * docs/gst/gstreamer-sections.txt:
1855 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1856 (gst_poll_update_winsock_event_mask),
1857 (gst_poll_prepare_winsock_active_sets),
1858 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1859 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1860 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1861 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1862 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1864 * win32/common/libgstreamer.def:
1865 Add new function gst_poll_fd_ignored() for improved Windows
1867 Various minor fixes and cleanups. See #520808.
1869 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1871 * gst/gstindex.c: (gst_index_entry_free):
1873 Don't free key strings which we don't own. Fixes crash in
1874 gst_index_entry_free() (#522741).
1876 * tests/check/Makefile.am:
1877 * tests/check/gst/.cvsignore:
1878 * tests/check/gst/gstindex.c: (test_index_entries),
1879 (gst_index_suite), (gst_index):
1880 Add unit test for the above.
1882 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1884 * win32/common/libgstreamer.def:
1885 Remove symbols that were removed recently. Fixes bug #521740.
1887 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1890 * win32/common/config.h:
1891 0.10.17.3 pre-release
1893 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1895 Patch by: Ole André Vadla Ravnås
1896 <ole dot andre dot ravnas at tandberg dot com>
1898 * docs/gst/gstreamer-sections.txt:
1899 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1900 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1901 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1902 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1903 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1904 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1905 (gst_poll_fd_can_write), (gst_poll_wait),
1906 (gst_poll_set_controllable), (gst_poll_restart),
1907 (gst_poll_set_flushing):
1909 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1910 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1911 (gst_net_time_provider_new):
1912 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1913 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1914 * tests/benchmarks/gstpollstress.c: (main):
1915 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1916 Remove GstPollMode from the API, it does not make sense to let the
1917 application control this.
1918 Add support for Win32.
1919 Fix the testsuite. Fixes #520671.
1921 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1923 Patch by: Ole André Vadla Ravnås
1924 <ole dot andre dot ravnas at tandberg dot com>
1926 * gst/gstregistrybinary.c:
1927 Include io.h for write() and close() when building with MSVC. Fixes
1930 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1933 * gst/gst_private.h:
1934 * gst/gstconfig.h.in:
1935 * gst/gstregistry.h:
1936 * gst/gstregistrybinary.c:
1937 * win32/common/gstconfig.h:
1938 Move registry backend API to private headers where we can. Add
1939 fixme-0.11 comments for the others. Add stubs for the xml backend when
1940 using the binary to ensure they functions exists (they should not be
1941 used though). Fixes #520756.
1943 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1946 * win32/common/config.h:
1949 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1951 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1952 (gst_registry_binary_read_cache):
1953 * gst/gstregistryxml.c: (gst_registry_save):
1954 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1955 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1956 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1957 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1958 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1961 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1963 * gst/gstminiobject.c:
1964 Import gst_private.h before any other header that might include other
1965 glib headers. This fixes the build on windows using native compilers.
1967 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1969 * win32/common/gstconfig.h:
1970 Add here too, just for completeness.
1972 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1975 * gst/gstconfig.h.in:
1976 * gst/gstregistry.h:
1977 Fix broken use of config.h-defined preprocessor directive in a public
1978 header file. Add a corresponding define to gstconfig.h, since we can't
1979 really remove those function declarations from the header file now
1980 (or can we? and why are they there in the first place?).
1982 2008-03-03 Andy Wingo <wingo@pobox.com>
1984 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1987 * gst/gststructure.c (gst_structure_from_string): Warn if
1988 structure_from_string didn't consume the whole string, but the
1989 caller did not provide an end pointer.
1991 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
1993 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1995 * gst/gstregistryxml.c: (read_string), (load_feature):
1996 Strings allocated by libxml2 should be freed with xmlFree(), not
1997 with g_free(). Fixes issues on windows in certain contexts (#519698).
1999 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
2001 * gst/gstinterface.c: (gst_element_implements_interface):
2002 Don't crash if the element supports the interface queried, but does
2003 not implement GstImplementsInterface. Fixes #519584.
2005 * tests/check/Makefile.am:
2006 * tests/check/gst/.cvsignore:
2007 * tests/check/gst/gstinterface.c:
2008 Add unit test for the above.
2010 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2012 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
2015 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2017 * gst/gstsegment.c: (gst_segment_set_seek),
2018 (gst_segment_to_stream_time):
2019 Improve some comment.
2020 Update variables where it makes more sense.
2022 2008-02-29 Rene Stadler <mail@renestadler.de>
2024 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2025 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2026 URIHandlers implemented using language bindings.
2028 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2030 * gst/gstelementfactory.h:
2031 * tests/check/elements/fakesink.c:
2032 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2033 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2034 * tests/check/elements/filesink.c: (setup_filesink):
2035 * tests/check/elements/filesrc.c: (setup_filesrc):
2036 * tests/check/elements/identity.c: (setup_identity):
2037 * tests/check/elements/tee.c:
2038 * tests/check/generic/sinks.c:
2039 * tests/check/generic/states.c: (setup), (teardown):
2040 * tests/check/gst/gst.c:
2041 * tests/check/gst/gstabi.c:
2042 * tests/check/gst/gstbin.c:
2043 * tests/check/gst/gstbus.c: (pull_messages):
2044 * tests/check/gst/gstcaps.c:
2045 * tests/check/gst/gstelement.c:
2046 * tests/check/gst/gstevent.c:
2047 * tests/check/gst/gstghostpad.c:
2048 * tests/check/gst/gstiterator.c:
2049 * tests/check/gst/gstmessage.c:
2050 * tests/check/gst/gstminiobject.c: (my_foo_init):
2051 * tests/check/gst/gstobject.c: (thread_name_object),
2053 * tests/check/gst/gstpad.c:
2054 * tests/check/gst/gstplugin.c:
2055 * tests/check/gst/gstpoll.c:
2056 * tests/check/gst/gstquery.c:
2057 * tests/check/gst/gstsegment.c:
2058 * tests/check/gst/gststructure.c:
2059 * tests/check/gst/gstsystemclock.c:
2060 * tests/check/gst/gsttask.c:
2061 * tests/check/gst/gstutils.c:
2062 * tests/check/gst/gstvalue.c:
2063 * tests/check/gst/struct_hppa.h:
2064 * tests/check/gst/struct_i386.h:
2065 * tests/check/gst/struct_ppc32.h:
2066 * tests/check/gst/struct_ppc64.h:
2067 * tests/check/gst/struct_x86_64.h:
2068 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2069 * tests/check/libs/basesrc.c:
2070 * tests/check/libs/controller.c: (GST_START_TEST):
2071 * tests/check/libs/gdp.c:
2072 * tests/check/libs/gstnetclientclock.c:
2073 * tests/check/libs/gstnettimeprovider.c:
2074 * tests/check/libs/libsabi.c:
2075 * tests/check/libs/struct_hppa.h:
2076 * tests/check/libs/struct_i386.h:
2077 * tests/check/libs/struct_ppc32.h:
2078 * tests/check/libs/struct_ppc64.h:
2079 * tests/check/libs/struct_x86_64.h:
2080 * tests/check/pipelines/cleanup.c:
2081 * tests/check/pipelines/simple-launch-lines.c:
2082 * tests/check/pipelines/stress.c:
2083 And correct even more valid sparse warnings.
2085 * win32/common/libgstreamer.def:
2086 Add gst_poll_fd_init to the list of symbols.
2088 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2090 * gst/gstconfig.h.in:
2091 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2092 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2093 (gst_check_log_critical_func), (gst_check_drop_buffers),
2094 (gst_check_element_push_buffer_list):
2095 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2096 (gst_controller_get_type):
2097 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2098 (gst_object_get_controller), (gst_object_get_control_source):
2099 * libs/gst/controller/gstinterpolationcontrolsource.c:
2100 (gst_interpolation_control_source_new):
2101 * libs/gst/controller/gstlfocontrolsource.c:
2102 (gst_lfo_control_source_new):
2103 * libs/gst/dataprotocol/dataprotocol.c:
2104 (gst_dp_event_from_packet_0_2):
2105 * plugins/elements/gstfdsrc.c:
2106 * plugins/elements/gstmultiqueue.c:
2107 * plugins/elements/gsttee.c:
2108 * plugins/elements/gsttypefindelement.c:
2109 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2110 (gst_file_index_add_association):
2111 * plugins/indexers/gstmemindex.c:
2112 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2113 * tests/check/elements/queue.c: (setup_queue):
2114 * tests/check/gst/gstpipeline.c:
2115 * tests/check/libs/collectpads.c: (setup), (teardown),
2116 (gst_collect_pads_suite):
2117 * tests/examples/adapter/adapter_test.c:
2118 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2119 * tests/examples/xml/createxml.c:
2120 * tests/examples/xml/runxml.c:
2121 * tools/gst-inspect.c:
2123 Correct all relevant warnings found by the sparse semantic code
2124 analyzer. This include marking several symbols static, using
2125 NULL instead of 0 for pointers, not using variable sized arrays
2126 on the stack, moving variable declarations to the beginning of
2127 a block and using "foo (void)" instead of "foo ()" for declarations.
2129 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2131 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2132 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2133 Don't reset GstPollFDs, this is not necessary at all.
2135 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2136 (delayed_restart), (delayed_control):
2137 Use GST_POLL_FD_INIT.
2139 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2141 * gst/gstpoll.c: (gst_poll_fd_init):
2145 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2146 Use some more init macros.
2148 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2150 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2151 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2152 Use init macros and functions.
2154 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2156 * docs/gst/gstreamer-sections.txt:
2157 * gst/gstpoll.c: (gst_poll_fd_init):
2159 Add INIT macro and _init method for initializing the GstPollFD.
2161 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2163 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2164 (gst_fd_sink_update_fd):
2165 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2166 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2167 (delayed_restart), (delayed_control):
2168 Initialize some uninitialized variables as spotted by valgrind.
2170 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2172 * tests/benchmarks/Makefile.am:
2173 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2175 Add poll stress test.
2177 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2179 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2181 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2182 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2183 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2184 * plugins/elements/gstfdsink.h:
2185 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2186 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2187 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2188 (gst_fd_src_uri_set_uri):
2189 * plugins/elements/gstfdsrc.h:
2190 Port to GstPoll. See #505417.
2192 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2194 * win32/common/libgstreamer.def:
2195 Add new gst_poll_ symbols to win32 defs.
2197 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2199 * docs/libs/gstreamer-libs-sections.txt:
2200 * libs/gst/net/gstnetclientclock.c:
2201 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2202 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2203 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2204 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2205 * libs/gst/net/gstnetclientclock.h:
2206 * libs/gst/net/gstnettimeprovider.c:
2207 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2208 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2209 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2210 (gst_net_time_provider_new):
2211 * libs/gst/net/gstnettimeprovider.h:
2212 Use a private stuct to not break ABI.
2214 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2216 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2218 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2219 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2220 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2221 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2222 * libs/gst/net/gstnetclientclock.h:
2223 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2224 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2225 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2226 (gst_net_time_provider_new):
2227 * libs/gst/net/gstnettimeprovider.h:
2228 Massive code removal and cleanups because of GstPoll.
2231 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2234 Add checks for poll, ppoll and pselect.
2236 * docs/gst/gstreamer-docs.sgml:
2237 * docs/gst/gstreamer-sections.txt:
2238 Add docs for GstPoll.
2242 * gst/gstpoll.c: (find_index), (selectable_fds),
2243 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2244 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2245 (gst_poll_set_mode), (gst_poll_get_mode),
2246 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2247 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2248 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2249 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2250 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2251 (gst_poll_fd_can_write), (gst_poll_wait),
2252 (gst_poll_set_controllable), (gst_poll_restart),
2253 (gst_poll_set_flushing):
2255 Add generic poll abstraction. We ideally don't want to have this in core
2256 here but in glib intead...
2257 This code will be used in various network elements and ultimately for
2258 the nanosecond precision monotonic clock (that's why it's here in core).
2259 It'll allow us to implement cancelable socket operations for windows too.
2261 * tests/check/Makefile.am:
2262 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2263 (delayed_stop), (delayed_restart), (delayed_flush),
2264 (delayed_control), (gst_poll_suite):
2265 Add GstPoll unit test.
2267 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2270 Improve documentation of gst_filter_run(). Fixes #518627.
2272 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2275 Add a few lines about the new 'check-inspected-versions' target.
2277 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2279 * tests/check/gst/gstevent.c:
2280 Add qos to the event test. Rename tcase/tsuite; is not only about
2283 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2285 * plugins/elements/gstqueue.c:
2286 Ensure that buffer metadata is writeable, before modifying. Spotted by
2289 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2291 * plugins/elements/gstqueue.c:
2292 * plugins/elements/gstqueue.h:
2293 When dropping buffers in leaky modes, mark next buffers we sent as
2296 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2298 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2299 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2301 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2303 * plugins/elements/Makefile.am:
2304 * plugins/elements/gstbufferstore.c:
2305 * plugins/elements/gstbufferstore.h:
2306 * plugins/elements/gsttypefindelement.h:
2307 Remove GstBufferStore, no idea why we were still building it.
2308 It's not used anywhere and superseded by GstAdapter.
2310 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2311 (gst_file_src_create_mmap):
2312 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2313 Printf format fixes for 64-bit integers.
2315 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2318 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2319 We're not in 0.8 times anymore.
2321 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2323 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2324 (gst_check_element_push_buffer_list):
2325 * libs/gst/check/gstcheck.h:
2326 Make the declaration in the header for
2327 gst_check_element_push_buffer_list match the implementation.
2329 Fix up spelling, grammar and wording of the documentation in a few
2330 places, and add the Since keyword to new API functions.
2331 Use g_list_delete_link instead of g_list_remove in
2332 gst_check_drop_buffers, since it's immeasurably more efficient.
2334 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2335 Use new gst_check_drop_buffers function where appropriate.
2337 * win32/common/libgstbase.def:
2338 * win32/common/libgstreamer.def:
2339 Add new symbols gst_collect_pads_take_buffer,
2340 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2343 Changelog surgery to add API keyword to new gst_check API.
2345 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2347 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2348 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2349 Update pre-generated flex files with flex 2.3.34.
2351 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2353 * gst/gstminiobject.c:
2354 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2355 friendly to subclasses and not require them to know all internals
2356 of their parent class.
2358 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2360 * docs/libs/gstreamer-libs-sections.txt:
2361 * libs/gst/base/gstcollectpads.c:
2362 * libs/gst/base/gstcollectpads.h:
2363 Add sub-buffer functions to collectpads. Fixes #516187.
2364 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2366 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2369 Copy selected buffer-flags when creating subbuffers.
2372 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2374 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2375 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2376 * gst/gstmessage.c: (gst_message_class_init),
2377 (gst_message_finalize):
2378 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2379 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2380 (gst_mmap_buffer_finalize):
2381 Properly chain up finalize functions to the parent class.
2383 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2385 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2387 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2388 (gst_index_set_resolver_full):
2390 Add new function with option to dispose of user_data in resolver.
2391 Actually call the dispose function when finalizing the object and not
2392 just when changing the resolver/filter.
2393 API: GstIndex::gst_index_set_resolver_full()
2395 * docs/gst/gstreamer-sections.txt:
2396 Add new function to docs. Fixes #515469.
2398 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2400 * gst/gstindex.c: (gst_index_finalize):
2401 Chain up finalize to the parent class. Fixes leaking the GstObject
2402 name and other things.
2404 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2407 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2408 pre-releases or releases.
2410 * docs/faq/gst-uninstalled:
2413 * docs/random/release:
2414 Change one of the steps - we only upload core & base to Gnome FTP
2416 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2418 * gst/gstconfig.h.in:
2419 Add 'id' for example.
2423 * plugins/elements/gstfdsink.c:
2424 Link to signals. Doc and comment fixes.
2426 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2428 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2429 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2430 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2431 unused and unimplemented; finally, it is plugin features, not
2432 plugins, that have ranks.
2434 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2436 * gst/gstpluginfeature.h:
2437 Clarify GstRank range docs.
2439 2008-02-05 David Schleef <ds@schleef.org>
2441 * gst/gst.c: Add a separate gst_deinitialized that prevents
2442 gst_init() from being called after gst_deinit(). Fixes #509559
2444 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2446 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2447 (gst_bin_class_init):
2448 * gst/gstelement.c: (gst_element_base_class_init),
2449 (gst_element_class_add_pad_template):
2450 * gst/gstpadtemplate.c: (gst_pad_template_init):
2451 * gst/gstpipeline.c: (gst_pipeline_get_type),
2452 (gst_pipeline_base_init), (gst_pipeline_class_init):
2453 * libs/gst/base/gstbasesink.c:
2454 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2455 (gst_base_src_base_init), (gst_base_src_class_init):
2456 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2457 (gst_capsfilter_class_init):
2458 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2459 (gst_fake_sink_class_init):
2460 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2461 (gst_fake_src_class_init):
2462 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2463 (gst_fd_sink_class_init):
2464 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2465 (gst_fd_src_class_init):
2466 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2467 (gst_file_sink_class_init):
2468 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2469 (gst_file_src_class_init):
2470 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2471 (gst_identity_class_init):
2472 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2473 (gst_multi_queue_class_init):
2474 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2475 (gst_queue_class_init):
2476 * plugins/elements/gsttee.c: (gst_tee_base_init),
2477 (gst_tee_class_init):
2478 * plugins/elements/gsttypefindelement.c:
2479 (gst_type_find_element_base_init),
2480 (gst_type_find_element_class_init):
2481 * tests/check/gst/gstelement.c: (gst_element_suite):
2482 Revert previous changes to the behaviour of GstPadTemplates, etc
2483 and the possiblity to call them in class_init as it breaks too
2484 many elements. Reopens bug #491501.
2486 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2489 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2491 * tools/gst-launch.c:
2492 Dump one graph per pipeline state-change and state change name
2493 (if GST_DEBUG_DUMP_DOT_DIR is set).
2495 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2498 * tests/check/gst/gstpad.c:
2499 Be sure that we have a new copy of the caps and not
2500 reffed caps from a template
2502 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2504 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2505 * gst/gstpipeline.c: (gst_pipeline_get_type),
2506 (gst_pipeline_class_init):
2507 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2508 (gst_base_sink_class_init):
2509 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2510 (gst_base_src_class_init):
2511 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2512 (gst_base_transform_class_init):
2513 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2514 (gst_collect_pads_class_init):
2515 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2516 * libs/gst/net/gstnettimeprovider.c:
2517 (gst_net_time_provider_base_init),
2518 (gst_net_time_provider_class_init):
2519 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2520 (gst_capsfilter_class_init):
2521 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2522 (gst_fake_sink_class_init):
2523 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2524 (gst_fake_src_class_init):
2525 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2526 (gst_fd_sink_class_init):
2527 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2528 (gst_fd_src_class_init):
2529 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2530 (gst_file_sink_class_init):
2531 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2532 (gst_file_src_class_init):
2533 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2534 (gst_identity_class_init):
2535 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2536 (gst_multi_queue_class_init):
2537 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2538 (gst_queue_class_init):
2539 * plugins/elements/gsttee.c: (gst_tee_base_init),
2540 (gst_tee_class_init):
2541 * plugins/elements/gsttypefindelement.c:
2542 (gst_type_find_element_base_init),
2543 (gst_type_find_element_class_init):
2544 Don't use base_init where not absolutely necessary. For example it's
2545 not necessary anymore for adding pad templates or setting element
2548 Leave empty base_init functions in several places as GST_BOILERPLATE
2549 still defines and uses them.
2551 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2553 * gst/gstelement.c: (gst_element_base_class_init),
2554 (gst_element_class_add_pad_template):
2555 * gst/gstpadtemplate.c:
2556 Make it possible (and recommended) to set element details and add
2557 pad templates in the class_init functions by copying the details/pad
2558 templates in GstElement's base_init.
2560 Also make it possible to replace existing pad templates by adding
2561 a new one with the same name. This was done in a hackish fashion
2562 in same elements before already.
2564 Don't reference pad templates that are added a second time. A
2565 new pad template has a refcount of one and is not floating anymore
2566 and to be owned by the element's class. Make this more explicit by
2567 mentioning it in the docs of gst_element_class_add_pad_template().
2569 These changes are backwards compatible. Fixes bug #491501.
2571 * tests/check/gst/gstelement.c:
2572 Add unit test for setting element details, adding pad templates and
2573 replacing them in a subclass.
2575 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2577 * tools/gst-inspect.c: (print_interfaces),
2578 (print_element_properties_info), (print_pad_info),
2579 (print_signal_info), (print_element_info):
2580 Fix a few memory leaks.
2582 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2584 * docs/libs/gstreamer-libs-sections.txt:
2585 * libs/gst/check/gstcheck.c:
2586 * libs/gst/check/gstcheck.h:
2587 Add more functions for unit testing: gst_check_drop_buffers,
2588 gst_check_caps_equal, gst_check_element_push_buffer_list,
2589 gst_check_element_push_buffer
2590 API: gst_check_drop_buffers
2591 API: gst_check_caps_equal
2592 API: gst_check_element_push_buffer_list
2593 API: gst_check_element_push_buffer
2595 2008-02-01 Julien Moutte <julien@fluendo.com>
2597 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2598 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2599 (gst_index_finalize), (gst_index_entry_free),
2600 (gst_index_add_association): Fix memory leaks.
2601 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2602 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2603 (gst_mem_index_free_format), (gst_mem_index_free_id),
2604 (gst_mem_index_finalize): Fix memory leaks.
2605 * win32/common/config.h: Updated to CVS HEAD.
2607 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2610 Some more details about how the plugin docs works.
2612 * docs/plugins/gstreamer-plugins-sections.txt:
2615 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2617 * gst/parse/grammar.tab.pre.c:
2618 * gst/parse/grammar.tab.pre.h:
2619 * gst/parse/grammar.y:
2620 * gst/parse/lex._gst_parse_yy.pre.c:
2621 Add delayed set-property. This allows to set properties on dynamicaly
2622 created objects (pads in videomxer). Fixes #509391.
2624 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2627 Check if caps are not NULL (fix bug #510194)
2629 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2631 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2632 (gst_base_sink_get_position_paused):
2633 Add fixme regarding EOS in pull mode.
2634 Fix position reporting in PAUSED for negative rates.
2636 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2638 * gst/gstminiobject.c: (gst_mini_object_replace):
2639 When replacing a miniobject, do a quick equality check first so that we
2640 can avoid a ref/unref pair.
2642 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2644 * docs/design/part-synchronisation.txt:
2647 * docs/plugins/Makefile.am:
2648 * docs/plugins/gstreamer-plugins-docs.sgml:
2649 * docs/plugins/gstreamer-plugins-sections.txt:
2650 * plugins/elements/gstmultiqueue.c:
2651 Add multiqueue to the docs.
2653 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2658 === release 0.10.17 ===
2660 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2663 releasing 0.10.17, "Due Negligence"
2665 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2668 Revert caps != NULL check temporarily for 0.10.17 release.
2670 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2673 Check if caps are not NULL (fix bug #510194)
2675 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2678 Fix compilation on systems that have posix timers but no
2681 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2684 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2686 * tools/gst-inspect.c:
2687 Revert previous commit in preparation for an impromptu 0.10.17 release
2689 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2691 * tools/gst-inspect.c: (print_interfaces),
2692 (print_element_properties_info), (print_pad_info),
2693 (print_signal_info), (print_element_info):
2694 Fix a few memory leaks.
2696 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2701 === release 0.10.16 ===
2703 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2706 releasing 0.10.16, "Special Dispensation"
2708 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2711 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2712 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2713 not fail when trying to crosscompile on OpenEmbedded (#511750).
2715 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2718 Use $(MAKE) instead of make to fix the build if GNU make is
2719 called different. Fixes bug #510747.
2721 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2723 * gst/gstplugin.c: (_gst_plugin_initialize):
2724 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2725 again, which I broke two commits ago when changing the API
2726 of gst_plugin_register_static(): the g_list_foreach() in
2727 _gst_plugin_register_static still assumed the old function
2728 signature and would therefore fail (re-fixes #510187).
2730 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2731 (_gst_plugin_register_static), (gst_plugin_register_static):
2732 Revert the (technically correct) change to call g_thread_init() from
2733 the pre-main() constructor. This will break programs which call
2734 g_thread_init() without an if (!g_thread_supported()) guard in their
2735 main function. We could just blame it on GLib or the application, but
2736 it's probably best to just avoid this altogether and simply not use
2737 any GLib functions here and use plain old malloc() with a simple
2738 array to store the plugins to register later when gst_init() is
2739 finally called (re-fixes #510187).
2741 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2742 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2743 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2744 (GST_START_TEST), (gst_plugin_suite):
2745 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2748 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2750 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2751 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2752 This makes gtk-doc complain, but results in slightly better
2753 compiler errors. The old _gst_plugin_register_static() is
2754 still guarded, so there'll be a compiler warning about that
2755 instead. Fixes #510187 too.
2757 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2759 * gst/gst.c: (init_post):
2760 * gst/gstplugin.c: (_gst_plugin_register_static),
2761 (gst_plugin_register_static), (_gst_plugin_initialize):
2762 * gst/gstplugin.h: (GstPluginFilter):
2763 Change API of gst_plugin_register_static() to not take
2764 a GstPluginDesc, but rather just take all the arguments
2765 in a GstPluginDesc directly. This is more intuitive and
2766 avoids certain mistakes when porting code from
2767 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2770 * tests/check/gst/gstplugin.c:
2771 Fix up for changed API.
2773 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2775 * docs/faq/legal.xml:
2776 Update FAQ, Totem actually has an exception these days.
2778 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2780 * win32/common/libgstreamer.def:
2781 Add new API declarations
2783 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2785 * gst/gstminiobject.c:
2786 Spelling fixes for the API docs.
2788 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2790 * libs/gst/base/gstbasetransform.c:
2791 Fix long property description for QoS.
2793 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2796 _gst_trace_on is already provided by gsttrace.h, no need to declare
2799 * docs/libs/gstreamer-libs-sections.txt:
2800 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2801 and remove strange tcase_add_test which is outputting a warning.
2803 * libs/gst/check/gstcheck.c:
2804 * libs/gst/check/gstcheck.h:
2805 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2806 and define them in gstcheck.c instead of having every .c file whcih
2807 includes gstcheck.h be defining its own copy and relying on symbol
2808 interposing to marry them all, which doesn't work on Solaris.
2810 * tests/check/elements/identity.c: (GST_START_TEST):
2811 Don't define 'buffers' locally, it comes from libgstcheck.
2813 * tests/check/generic/sinks.c: (send_buffer):
2814 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2816 * tests/check/gst/gststructure.c: (GST_START_TEST):
2817 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2818 * tests/check/gst/gstutils.c: (GST_START_TEST):
2819 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2820 Add a bunch of casts to make various constants fit the types
2821 they're being assigned to.
2823 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2825 * gst/gstchildproxy.c:
2826 Improve docs and add some ideas for making this more general-purpose.
2828 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2830 * gst/gst_private.h: (GST_CAT_TYPES):
2831 Add GST_CAT_TYPES, for consistency, and so that the other
2832 debug categories don't make fun of it. Spotted by Saur on IRC.
2834 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2836 * gst/parse/Makefile.am:
2837 Move types.h from EXTRA_DIST to noinst_HEADERS.
2839 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2842 Add -Wno-portability to the automake parameters to stop warnings
2843 about GNU make extensions being used. We require GNU make in almost
2844 every Makefile anyway.
2847 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2848 at the same time is required for per target flags.
2850 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2853 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2854 __GNUC__ is defined before using it.
2856 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2858 * docs/gst/gstreamer-sections.txt:
2859 * gst/gst.c: (init_post):
2860 * gst/gstplugin.c: (_gst_plugin_register_static),
2861 (gst_plugin_register_static), (_gst_plugin_initialize),
2862 (gst_plugin_register_func):
2863 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2864 API: add gst_plugin_register_static() and deprecate
2865 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2867 Also, in _gst_plugin_register_static(), make sure to call
2868 g_thread_init() before calling GLib functions such as
2869 g_list_append() if we're not initialised yet, since that
2870 may lead to random crashes with older GSlice/GLib versions.
2872 * tests/check/gst/gstplugin.c:
2873 Adapt unit test to above changes.
2875 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2877 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2878 * gst/gstcaps.c: (gst_caps_to_string):
2879 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2880 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2881 Yet another gratuitous GString micro-optimisation: add a (private)
2882 function that serialises a structure appending to an existing
2883 GString, so that when we serialise caps we don't need to alloc+free
2884 a throwaway GString for each structure (each of which also entailing
2885 multiple reallocs on the way); also use g_string_sized_new() in
2886 various places with an approximate string length to avoid reallocs
2887 within GString. See #500143.
2889 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2891 * gst/gststructure.c: (gst_structure_id_set_value):
2892 Always check UTF-8 conformance of structure strings and not only
2893 if the debugging system is enabled; reasoning: the behaviour of
2894 the actual code shouldn't really change depending on whether the
2895 debugging system is enabled or not (#508291).
2897 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2900 Remove old coverage target in favour of "make lcov".
2902 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2904 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2905 (gst_base_src_loop):
2906 The start segment for reverse playback goes from start to last_stop.
2908 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2910 Patch by: Peter Kjellerstedt <pkj axis com>
2913 Cast the results from the timeval/spec_to_time macros to what the
2914 docs say it casts to, a GstClockTime. fixes #508175.
2916 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2919 Update some comments.
2921 * tools/gst-inspect.c: (print_element_properties_info):
2922 Improve printing of flags.
2924 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2926 * libs/gst/base/gstbasetransform.c:
2927 (gst_base_transform_transform_size):
2928 Print element name with g_warning() if there's a problem
2931 2008-01-07 David Schleef <ds@schleef.org>
2933 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2935 * libs/gst/controller/gstcontroller.h:
2936 * libs/gst/controller/gstcontrolsource.h:
2937 * libs/gst/controller/gstinterpolationcontrolsource.h:
2938 * libs/gst/controller/gstlfocontrolsource.h:
2939 * libs/gst/dataprotocol/dataprotocol.h:
2940 Fix empty prototypes. Fixes bug #507957.
2942 2008-01-07 David Schleef <ds@schleef.org>
2944 * docs/faq/dependencies.xml: Fix typo.
2946 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2948 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2949 (gst_base_src_loop):
2950 Don't update the last_stop position in do_seek, that's the position we
2952 Read backwards when we have a negative rate.
2954 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2955 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2957 Add check for reverse reading.
2959 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2961 Patch by: Alexis Ballier <aballier at gentoo org>
2963 * tests/check/gst/gstabi.c:
2964 * tests/check/gst/struct_ppc64.h:
2965 * tests/check/libs/libsabi.c:
2966 * tests/check/libs/struct_ppc64.h:
2967 Decide which header to include based on the userland ABI target
2968 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2969 for 64-bit userland (#503590). Might need something similar for
2972 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2974 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2975 Log the reason why fopen fails in addition to the fact that it failed.
2977 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2979 * gst/parse/parse.l:
2980 Use "%option never-interactive" to prevent useless calls to isatty()
2981 on every input when parsing. Also use "%option noinput" to not define
2982 the static input/yyinput functions which we don't use anyway. This
2983 removes a compiler warning with gcc 4.3 and saves some bytes in the
2986 * gst/parse/lex._gst_parse_yy.pre.c:
2987 Regenerated for the above change.
2989 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2991 * gst/gstpad.c: (fixate_value):
2992 Don't crash when trying to fixate and empty list.
2995 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
2997 * docs/faq/gst-uninstalled:
2998 Clarify the comments to make the usage of this script and what it
2999 does easier to understand.
3001 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
3003 * tools/gst-plot-timeline.py:
3004 Add more options to gst-plot-timeline
3006 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
3008 * docs/design/part-synchronisation.txt:
3009 Some more info on how the stream_time in GstBaseSink is done.
3011 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
3013 * tests/check/generic/sinks.c: (gst_sinks_suite):
3014 Put back the tcase_set_timeout(), apparently it's needed after
3015 all; fix it up in a way that makes things work with valgrind too.
3017 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3019 * gst/gstdebugutils.c:
3020 Add warning when failed to open file for writing.
3022 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3024 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3026 * gst/gstvalue.c: (gst_value_is_fixed):
3027 Optimisation: bail out of the loop as early as possible (#500143).
3029 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3031 * gst/gstcaps.c: (gst_caps_to_string):
3032 * gst/gstinfo.c: (gst_debug_construct_term_color):
3033 * gst/gstparse.c: (gst_parse_launchv):
3034 * gst/gstutils.c: (gst_util_dump_mem):
3035 * gst/gstvalue.c: (gst_value_serialize_any_list),
3036 (gst_value_transform_any_list_string):
3037 Bunch of gratuitous nano-optimisations.
3039 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3041 * tests/check/generic/sinks.c: (async_done_func),
3042 (async_done_eos_func):
3043 Fix leak in unit test (bus sync handler must unref the message
3044 if it returns GST_BUS_DROP). Don't fiddle with the default test
3045 timeout, this is smaller than the current preconfigured value
3046 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3047 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3049 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3051 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3054 Check for stdio_ext.h for the filesink changes.
3056 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3057 (gst_file_sink_class_init), (gst_file_sink_init),
3058 (gst_file_sink_dispose), (gst_file_sink_set_property),
3059 (gst_file_sink_get_property), (gst_file_sink_open_file),
3060 (gst_file_sink_close_file):
3061 * plugins/elements/gstfilesink.h:
3062 Add two properties to control the buffering mode and size.
3063 API: GstFileSink::buffer-mode
3064 API: GstFileSink::buffer-size
3067 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3069 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3070 Add some more docs to explain why a FIXME was wrongly added.
3072 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3075 Fix typo in the gst_object_{ref,unref} documentation.
3077 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3079 * tests/check/libs/controller.c:
3080 * tests/check/libs/typefindhelper.c:
3081 * tests/check/pipelines/parse-launch.c:
3082 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3083 going to be deprecated (see #498924).
3085 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3087 * gst/gsttypefind.c: (gst_type_find_register):
3088 Make gst_type_find_register work for static typefind functions,
3089 ie. allow passing plugin == NULL (prerequisite for #498924).
3091 * gst/gstelementfactory.c: (gst_element_register):
3092 Small docs addition.
3094 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3096 * gst/gstpad.c: (gst_pad_dispose):
3097 Really unlink the peer pad instead of setting the peer pointer to NULL
3098 when we dispose the pad.
3099 This correctly calls the unlink functions and makes sure that the peer
3100 does not have a handle to invalid memory. See #504671.
3102 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3103 Add testsuite for above case.
3105 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3107 Patch by: Peter Kjellerstedt <pkj axis com>
3109 * libs/gst/check/gstcheck.h:
3110 Fix detection of the check version we're compiling against (would
3111 otherwise break if check goes v0.10.0); correctly report the
3112 name of the failed test again in case of failure, instead of
3113 just 'tf' (fixes #504499).
3115 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3117 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3118 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3119 (gst_base_src_loop), (gst_base_src_set_flushing),
3120 (gst_base_src_change_state):
3121 Allow sending EOS to the source to make it send out an EOS event from
3122 the streaming thread.
3123 Update docs and deprecate the old NULL/READY shutdown method.
3125 * tests/check/libs/basesrc.c: (GST_START_TEST),
3126 (gst_basesrc_suite):
3127 Add unit test for controlled shutdown.
3129 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3131 * docs/design/part-synchronisation.txt:
3134 * gst/gstsegment.c: (gst_segment_set_seek),
3135 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3136 (gst_segment_to_running_time):
3137 The seek format can be different from the segment format when the start
3138 and stop values are not to be updated, when we only do a rate change for
3141 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3142 (gst_segment_suite):
3143 Add a testcase for the rate-only seeks, checking that the format is
3144 correctly ignored when start and stop are not updated.
3146 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3148 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3150 * win32/vs8/grammar.vcproj:
3151 * win32/vs8/libgstcontroller.vcproj:
3152 * win32/vs8/libgstreamer.vcproj:
3153 Fix compilation with VS8 and include some missing files.
3155 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3158 Small docs addition: mention that the strings returned by
3159 gst_tag_list_get_string*() are in UTF-8 encoding.
3161 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3164 The check-exports stuff moved to common/win32.mak, so include that.
3166 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3168 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3169 (gst_base_src_perform_seek), (gst_base_src_get_range),
3170 (gst_base_src_set_playing), (gst_base_src_change_state):
3171 Make _wait_playing() not check any variables so that we can call this
3172 function from subclasses. Move the checks elsewhere similar to
3173 _wait_preroll() in basesink.
3175 Only signal the LIVE cond when we are going back to PLAYING.
3177 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3179 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3180 Use g_remove() and g_rename(). Check result of g_rename(), and
3181 don't leak the open file descriptor if we error out when writing.
3183 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3184 Must check the return value of close() after writing out the new
3185 registry file. Sometimes write problems such as out-of-diskspace
3186 are only reported when the file is closed and not already during
3187 the write. This may have caused partial/broken registry files in
3188 some rare circumstances. Should fix #503675.
3190 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3192 * docs/gst/.cvsignore:
3193 * docs/libs/.cvsignore:
3194 * docs/plugins/.cvsignore:
3195 Ignore files generated by new common/* modifications
3197 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3199 * win32/common/libgstbase.def:
3200 Yes, you can also have a <TAB> if you want.
3202 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3204 * win32/common/libgstbase.def:
3205 Add new basetransform API to win export file.
3207 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3209 * tests/check/gst/gstbin.c:
3210 Adjust the test to the refcount change two days ago.
3212 2007-12-14 David Schleef <ds@schleef.org>
3214 * docs/faq/getting.xml: Fix typo.
3216 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3218 * docs/libs/gstreamer-libs-sections.txt:
3219 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3220 (gst_base_transform_prepare_output_buffer),
3221 (gst_base_transform_set_gap_aware):
3222 * libs/gst/base/gstbasetransform.h:
3223 API: Add gst_base_transform_set_gap_aware() to control whether
3224 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3225 get buffers with this flag at all. Fixes #503231.
3227 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3229 * libs/gst/base/gstbasesink.c:
3230 * libs/gst/base/gstbasesrc.c:
3231 * libs/gst/base/gstbasetransform.c:
3232 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3233 thread. Correct log message in gstbasesrc.c.
3235 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3237 * gst/gstutils.c: (element_find_unconnected_pad):
3238 Fix possible compiler warning (#503417).
3240 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3242 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3243 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3245 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3247 * tools/gst-inspect.c: (print_element_properties_info):
3248 Add support for GstFraction properties.
3250 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3253 Add check-exports target and run it as part of 'make check'
3254 (see #499140 and #493983).
3256 * gst/gst_private.h:
3257 * gst/gstelementfactory.h:
3258 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3259 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3260 (_priv_gst_in_valgrind):
3261 * gst/gstinfo.h: (GstLogFunction):
3262 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3263 (gst_type_find_register):
3264 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3265 (gst_type_find_factory_get_type):
3266 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3267 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3268 (gst_controller_new_valist), (gst_controller_new_list),
3269 (_gst_controller_dispose), (_gst_controller_class_init):
3270 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3271 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3272 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3273 (gst_object_get_controller), (gst_object_set_controller),
3274 (gst_object_suggest_next_sync), (gst_object_sync_values),
3275 (gst_object_set_control_source), (gst_object_get_control_source),
3276 (gst_object_get_value_arrays), (gst_object_get_value_array),
3277 (gst_object_get_control_rate), (gst_object_set_control_rate):
3278 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3279 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3280 Make some functions that should be static static; rename some
3281 private symbols so that they don't get exported; add some FIXME
3282 comments so we can move accidentally exported functions into
3283 our private section in 0.11.
3285 * win32/common/libgstreamer.def:
3286 Add gst_utils_get_timestamp().
3288 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3292 Add more missing "Since:" tags to docs.
3294 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3297 Add mising "Since:" to docs.
3299 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3302 Include "glib-compat-private.h" to fix the build on system with
3303 glib < 2.10. Fixes #503131.
3305 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3309 Actually its not PURE as it gets the time from elsewhere.
3311 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3313 * docs/gst/gstreamer-sections.txt:
3315 * gst/gstdebugutils.c:
3319 * libs/gst/base/gstbasesink.c:
3320 * tools/gst-launch.c:
3321 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3322 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3323 Thanks Tim for spotting.
3324 API: gst_util_get_timestamp
3326 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3329 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3331 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3333 * gst/gststructure.c: (gst_structure_validate_name),
3334 (gst_structure_new_valist), (gst_structure_parse_value),
3335 (gst_structure_from_string):
3336 Don't crash in _from_string() if the structure name is not valid
3337 (fixes #501560). Allow structure names to start with a number
3338 again (this apparently broke the ubuntu codec installer).
3340 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3342 Add unit test for the crash; update unit tests for new behaviour.
3344 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3347 Clarify gst_element_get_compatible_pad() documentation.
3350 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3352 * tests/check/Makefile.am:
3353 Don't forget to dist {gst,libs}/struct_hppa.h.
3355 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3357 * libs/gst/base/gstbasesink.c:
3358 Use new API to get elapsed time.
3360 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3362 * gst/gstdebugutils.c:
3364 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3366 * tools/gst-launch.c:
3367 Use new API to get elapsed time.
3369 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3371 * docs/gst/gstreamer-sections.txt:
3373 * gst/gstdebugutils.c:
3375 Rename new API + ChangeLog surgery to remove old name from last entry..
3377 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3379 * docs/gst/gstreamer-sections.txt:
3381 * gst/gstdebugutils.c:
3383 Now hide the different clock stuff behind a macro.
3385 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3388 * gst/gstdebugutils.c:
3390 Apply the posix-timer check from #361155. Conditionally use the posix
3391 timer for logging. This gives better timestamp precission, less
3392 overhead and no ntp jitter.
3394 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3396 * gst/gstminiobject.c: (gst_mini_object_get_type),
3397 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3398 (gst_mini_object_finalize), (gst_mini_object_copy),
3399 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3400 (gst_mini_object_replace), (param_mini_object_validate),
3401 (gst_param_spec_mini_object_get_type):
3402 Some cleanup and checking against invalid function parameters.
3404 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3406 * docs/gst/gstreamer-sections.txt:
3408 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3409 (gst_systemclock_suite):
3410 Start merging in the easy bits of #361155, the monotonic clock patch.
3411 This one adds a few handy macros with docs and a testsuite.
3413 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3415 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3416 Be a bit smarter when seeking, like, don't try to do a seek when it's
3417 not needed. This avoids errors when the file is not seekable.
3420 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3422 * docs/gst/gstreamer-docs.sgml:
3423 * docs/gst/gstreamer-sections.txt:
3424 * docs/gst/gstreamer.types.in:
3429 * plugins/elements/gstqueue.c:
3430 Due to popular request remove preset interface again. :-(.
3432 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3434 * tools/gst-inspect.c:
3435 Print 'default value' for enums and flags too.
3437 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3439 * docs/random/ensonic/profiling.txt:
3443 Fix typo and give better log output.
3445 * gst/gstdebugutils.c:
3446 * gst/gstdebugutils.h:
3447 More ideas, make graphs a bit smaller and fix param name in macro.
3449 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3452 Try harder to use the return value from fgets().
3454 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3457 For theses two fgets we handle the error below.
3459 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3461 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3462 Only send upstream events upstream. Fixes #498746.
3464 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3466 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3468 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3469 (gst_identity_init), (gst_identity_transform_ip),
3470 (gst_identity_set_property), (gst_identity_get_property):
3471 * plugins/elements/gstidentity.h:
3472 Add property to disable handoff signal emission. Fixes #498694.
3473 API: GstIdentity::signal-handoffs
3475 2007-11-21 Julien Moutte <julien@fluendo.com>
3477 * docs/faq/gst-uninstalled: Yet another missing library for the
3478 uninstalled script (fft)
3480 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3482 * docs/faq/developing.xml:
3483 Add a question about how to submit new translations.
3485 * docs/random/release:
3486 Update the contact email address for the Translation Project
3488 * plugins/elements/gstfdsrc.c:
3489 The parent_class for fdsrc is pushsrc, not GstElement.
3491 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3494 Plug a leak and fix saving.
3496 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3498 * docs/gst/gstreamer-sections.txt:
3499 Add new gst_preset__get_property_names() function to the docs
3502 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3506 Change _get_preset_names API to return a strv with copies. Add
3507 _get_property_names to allow implementations to filter and provide
3508 good default implementation.
3510 2007-11-20 Julien MOUTTE <julien@moutte.net>
3512 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3515 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3518 More cleanups, docs, and TODOs from comments that now slowly come in.
3520 2007-11-19 Julien MOUTTE <julien@moutte.net>
3522 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3525 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3528 Fix bogus warning and make the property type specific code more
3531 2007-11-19 Julien MOUTTE <julien@moutte.net>
3533 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3536 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3538 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3539 (gst_bin_add_func), (gst_bin_remove_func),
3540 (gst_bin_change_state_func), (gst_bin_continue_func):
3541 Change email, cleanups add some more debug and comments.
3542 Also set bus and clock on new elements when the pipeline was in error.
3544 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3547 * gst/gstdebugutils.c:
3548 Fix build with --disable-gst-debug. Fixes #497859.
3549 Spotted by Sameer Naik.
3551 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3554 Little documentation improvment.
3557 More TODO cleanups. Remove c++ comments.
3559 * libs/gst/controller/gstcontroller.c:
3560 Add TODO and use quark from static string.
3562 * tests/check/gst/gstmessage.c:
3563 * tests/check/gst/gststructure.c:
3564 Use quark from static string.
3566 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3569 Add some comments and TODOs.
3572 Add padding for future changes.
3574 * plugins/elements/gstqueue.c:
3575 Implement the iface.
3577 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3579 * docs/gst/gstreamer-docs.sgml:
3580 * docs/gst/gstreamer-sections.txt:
3581 * docs/gst/gstreamer.types.in:
3586 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3588 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3594 === release 0.10.15 ===
3596 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3599 releasing 0.10.15, "October"
3601 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3603 * win32/vs6/libgstreamer.dsp:
3604 Convert line endings back to DOS.
3606 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3608 * docs/design/draft-tagreading.txt:
3609 * docs/random/ensonic/profiling.txt:
3610 Update fast tagreading draft and performance profiling ideas.
3612 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3614 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3615 Don't hold the object lock when unreffing a buffer because it could
3616 cause a deadlock when the finalize function wants to grab the object
3617 lock too. Fixes #495133.
3619 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3621 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3622 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3623 Also accumulate time correctly when doing reverse playback. Fixes
3625 When converting to running and stream time, use default values for
3626 start/stop/time/accum when comparing different formats. Fixes #494245.
3628 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3629 Do running/stream time in TIME format.
3631 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3632 (gst_segment_suite):
3633 2 new unit tests for segment accumulation.
3635 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3637 * gst/gst.c: (init_pre):
3638 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3639 (_gst_debug_bin_to_dot_file):
3640 Move getenv() back into gst_init, so everyone can live happily
3641 ever after. Make sure the symbol isn't exported though.
3643 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3645 Patch by: Sebastien Moutte <sebastien moutte net>
3647 * win32/common/gstenumtypes.c:
3648 * win32/common/gstenumtypes.h:
3651 * win32/vs6/libgstreamer.dsp:
3652 Update vs6 project files (#494343).
3654 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3656 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3657 (gst_base_src_perform_seek), (gst_base_src_default_event),
3658 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3659 (gst_base_src_activate_pull):
3660 Unify flushing code, remove some old unlock code that is no longer used.
3661 Take the streaming lock when seeking to avoid races. Fixes #492729.
3662 Added some more comments.
3664 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3666 * gst/gst.c: (_gst_disable_segtrap):
3667 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3668 we can use gst_segtrap_is_enabled() there now that we have that API.
3669 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3670 to do the getenv here (and export the variable).
3672 * gst/gstdebugutils.c: (debug_dump_element),
3673 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3674 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3676 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3677 (gst_debug_log_default):
3678 Rename _gst_info_start_time to priv_gst_info_start_time so it
3679 doesn't get exported (was never in any header).
3681 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3682 (gst_plugin_loading_mutex):
3683 Make static mutex gst_plugin_loading_mutex really static (was never
3684 in any header), and use gst_segtrap_is_enabled() instead of
3685 _gst_disable_segtrap.
3687 * gst/gsttrace.c: (_gst_trace_default):
3688 Make local _gst_trace_default static (was never in any header).
3690 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3692 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3694 * win32/common/libgstbase.def:
3695 * win32/common/libgstcontroller.def:
3696 * win32/common/libgstdataprotocol.def:
3697 * win32/common/libgstnet.def:
3698 * win32/common/libgstreamer.def:
3699 Add more missing symbols, remove some duplicates, and sort
3700 as the 'sort' command sorts it (partially fixes #493983).
3702 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3704 * gst/gstelement.c: (gst_element_set_state_func):
3705 Only change the state cookie if a different state was set on the
3706 element. See #492729.
3708 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3711 Remove unused and uninitialised type variables that were still
3712 exported for some reason (they were never in any header files
3715 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3717 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3718 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3719 (gst_base_sink_event), (gst_base_sink_get_position_last),
3720 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3721 (gst_base_sink_change_state):
3722 Don't try to report a 0 position when we don't know, return -1 and FALSE
3723 instead. This mostly happens when we are prerolling.
3724 Make sure we can report the right position before we post the ASYNC_DONE
3725 message so that a message handler can query position without races.
3727 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3728 (async_done_handoff), (async_done_func), (send_buffer),
3729 (async_done_eos_func), (gst_sinks_suite):
3730 Add two tests for the above.
3732 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3735 Update with new email address.
3737 * docs/design/part-TODO.txt:
3738 Add some more info about future pad-block and negotiation changes.
3740 * docs/design/part-buffering.txt:
3741 Add some ideas about buffering reporting.
3743 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3745 * tests/check/gst/gstobject.c:
3746 Disable silly racy test that always fails on this combination of CPU
3749 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3751 Patch by: Murray Cumming <murrayc@murrayc.com>
3754 Corrected the registration of the parent-set and parent-unset
3755 signals: The parameter is a GstObject, not a GObject (#493134).
3757 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3759 * gst/gst_private.h:
3768 Move declaration of private _gst_foo_initialize() functions into
3769 our private header file where they should have been all along.
3771 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3773 * docs/plugins/gstreamer-plugins-sections.txt:
3774 * gst/gstdebugutils.h:
3776 * plugins/elements/gstqueue.c:
3777 gtk-doc fixes; trailing-comma-in-enum fix.
3779 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3781 * gst/gst.c: (gst_deinit):
3782 Clean up on deinit (not the external ones though, doesn't seem to be
3783 needed for some reason).
3785 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3787 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3788 Remove __declspec(dllimport) for MSVC that was copied over into core
3789 from a plugin, obviously without ever having been tested (note the
3790 single underscore in _declspec in the initial commit), and that doesn't
3791 really make sense. See #492077.
3793 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3795 * gst/gst.c: (init_post):
3796 * gst/gstevent.c: (_gst_event_initialize):
3797 * gst/gstquery.c: (_gst_query_initialize):
3798 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3799 g_type_class_ref() other types as well, see #349410 and #64764.
3801 * gst/gstbuffer.c: (_gst_buffer_initialize):
3802 * gst/gstmessage.c: (_gst_message_initialize):
3803 Simplify existing g_type_class_ref().
3805 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3807 * gst/gstformat.c: (_gst_format_initialize):
3808 g_type_class_ref() our GstFormat type to make sure we avoid the
3809 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3810 bug #64764. Should fix intermittent tee unit test failures (#474823).
3812 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3814 * tests/check/elements/tee.c: (test_num_buffers):
3815 Simplify, simplify, simplify - or not. Rewrite unit test
3816 not to use gst_parse_launch(); allow N sub-streams. Increasing
3817 the number of sub-streams seems to reproduce #474823 more easily.
3819 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3821 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3824 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3825 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3826 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3827 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3828 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3829 so use _pipe() directly (#492077).
3831 * win32/common/dirent.c: (_treaddir):
3832 Add a couple of casts to make it build without warnings with MSVC.
3834 * win32/common/libgstreamer.def:
3835 Add some more symbols that need to be exported.
3837 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3839 * tests/examples/metadata/read-metadata.c: (message_loop):
3840 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3841 arriving in a second or third tag message are added to
3842 the tag list as well.
3844 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3846 * libs/gst/base/gstbasesrc.c:
3847 Its "Since:" and not "@Since:". And remove an superflous cast.
3849 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3851 * docs/libs/gstreamer-libs-sections.txt:
3852 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3853 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3854 (gst_base_sink_get_property), (gst_base_sink_render_object),
3855 (gst_base_sink_preroll_object),
3856 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3857 (gst_base_sink_change_state):
3858 * libs/gst/base/gstbasesink.h:
3859 Add a new last-buffer property that contains the last buffer used in
3860 basesink for preroll or rendering. useful for making snapshots.
3861 API: gst_base_sink_get_last_buffer()
3862 API: GstBaseSink::last-buffer
3864 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3866 * docs/gst/running.xml:
3868 * gst/gstdebugutils.c:
3869 * gst/gstdebugutils.h:
3870 * tools/gst-launch.c:
3871 Improve bin graph dumping, by using the envvar to specify a path.
3872 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3874 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3876 * plugins/elements/gsttypefindelement.c:
3877 (gst_type_find_element_handle_event),
3878 (gst_type_find_element_activate):
3879 Post special error message if we can't determine the type of a stream
3882 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3884 * docs/gst/running.xml:
3885 * gst/gstdebugutils.c:
3886 Document new env-var. Add one log-line after dumpng a graph.
3888 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3891 Ugly hack to put the (recently removed and non-portable, apparently)
3892 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3893 GNU ld, because without that 'make check' fails miserably on my debian
3894 stable box. Someone with more knowledge of linker intricacies and
3895 portability issues than me fix this properly please.
3897 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3899 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3900 Reset last seen position after flushing so that we don't report the old
3903 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3905 * gst/gstelementfactory.c: (gst_element_register):
3907 Patch from Alessandro Decina adding get_type_full and
3908 get_protocols_full private vfuncs to the URIHandler interface
3909 to allow bindings to support creating URI handlers.
3910 Partially fixes: #339279
3911 API: GstURIHandlerInterface::get_type_full
3912 API: GstURIHandlerInterface::get_protocols_full
3914 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3916 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3917 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3918 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3919 Make it so that pads are considered linked until a buffer is pushed
3920 and discovered otherwise. This avoids problems with decodebin2 hanging
3921 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3924 Make sure we lock the multiqueue when updating the max-size properties.
3926 Fix a crash on Solaris in a debug statement in get_request_pad that
3927 passes a NULL string to GST_DEBUG.
3929 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3930 (run_output_order_test):
3931 Fix the test to allow the first buffer on not-linked pads to come out
3932 of sequence while multiqueue discovers that they are not-linked.
3934 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3937 * libs/gst/check/Makefile.am:
3938 Use a custom export symbol regex for libgstcheck, as it needs
3939 to export symbols that don't match the standard GStreamer gst_*
3940 pattern, and --export-dynamic is not portable (only works on
3943 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3944 (gst_check_setup_sink_pad):
3945 Make sure to pass a message parameter to the fail_* macros.
3947 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3948 Fix some compiler warnings.
3950 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3952 * tests/check/gst/gststructure.c: (test_to_string):
3953 Disable test that checks that white spaces are not allowed
3954 in structure names or field names, since we need to
3955 support that for now for backwards compatibility reasons.
3957 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3959 * docs/gst/gstreamer-sections.txt:
3962 API: add GST_TAG_ARTIST_SORTNAME
3963 API: add GST_TAG_ALBUM_SORTNAME
3964 API: add GST_TAG_TITLE_SORTNAME
3965 Add tag variants for sorting (#414539).
3967 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3969 * gst/gststructure.c:
3970 Also allow white space for names so we don't break
3971 backwards compatibility.
3973 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3975 * docs/design/part-TODO.txt:
3976 * docs/design/part-segments.txt:
3977 * docs/design/part-streams.txt:
3980 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3982 * docs/gst/gstreamer-sections.txt:
3983 Fixed documentation from my previous commit (added new API add
3984 gst_value_set_structure(), add gst_value_get_structure() and
3985 GST_VALUE_HOLDS_STRUCTURE).
3987 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3989 * gst/gstdebugutils.c:
3990 Reflow code to fix uninitialized variable warning.
3992 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3994 * gst/gstcaps.c: (gst_caps_to_string),
3995 (gst_caps_from_string_inplace):
3996 * gst/gststructure.c: (gst_structure_get_abbrs),
3997 (gst_structure_to_string), (gst_structure_from_string):
3998 * gst/gstvalue.c: (gst_value_set_structure),
3999 (gst_value_get_structure), (gst_value_serialize_structure),
4000 (gst_value_deserialize_structure), (_gst_value_initialize):
4002 * tests/check/gst/gststructure.c: (GST_START_TEST),
4003 (gst_structure_suite):
4004 * tests/check/gst/gstvalue.c: (GST_START_TEST):
4005 Added GstStructure to gst_value_table and its related functions.
4006 Changed gst_structure_to_string to print ';' in the end.
4007 Changed gst_caps_to_string to not print ';' beteween its
4008 fields (structures) anymore and remove the lastes ';' from latest
4009 structure. Now it is possible to have nested structures.
4010 In addition, backward compatibilty is assured by accepting '\0' as
4011 end delimiter. Fixes: #487969.
4012 API: add gst_value_set_structure()
4013 API: add gst_value_get_structure()
4014 API: add GST_VALUE_HOLDS_STRUCTURE
4016 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4019 When no GSource callback has been set up, tell developer
4020 to use a function that actually exists.
4022 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4024 * docs/gst/gstreamer-sections.txt:
4028 * gst/gstdebugutils.c:
4029 * gst/gstdebugutils.h:
4032 * tools/gst-launch.c:
4033 Allow dumping pipelines as dot graphs. Fixes #456573.
4035 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4037 * gst/gststructure.c:
4038 Allow '+' as well, it can be part of media or mime types
4039 such as image/svg+xml.
4041 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4043 * docs/gst/gstreamer-sections.txt:
4046 API: add gst_bus_pop_filtered
4047 API: add gst_bus_timed_pop_filtered
4048 Two new functions for waiting for specific message types on the
4049 bus for a specified amount of time without iterating any main
4050 loops or main contexts.
4052 * tests/check/gst/gstbus.c:
4053 Some tests for the new functions.
4055 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4057 * docs/libs/gstreamer-libs-sections.txt:
4058 Make gtk-doc ignore stuff it should ignore.
4060 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4062 * libs/gst/check/gstcheck.c:
4063 * libs/gst/check/gstcheck.h:
4064 Allow runtime selection of unit tests to run via the GST_CHECKS
4065 environment variable (test case function names, comma-separated).
4067 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4069 * gst/gststructure.c:
4070 * tests/check/gst/gststructure.c:
4071 Revert serialisation change and constrain structure-names after
4072 consensus on irc. Update api documentation to reflect the change.
4074 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4076 * gst/gststructure.c:
4077 Improve serialization and fix tests.
4079 * tests/check/gst/gststructure.c:
4080 Add another test that covers why I actually did the previous structure
4083 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4085 * tools/gst-inspect.c: (print_element_info):
4086 Don't crash when inspecting an element.
4088 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4090 * tests/check/gst/gststructure.c:
4091 Add unit test for escaping of structure name when serialising
4092 and deserialising to/from strings.
4094 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4096 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4097 (gst_single_queue_new):
4098 * plugins/elements/gstqueue.c: (gst_queue_init),
4099 (gst_queue_push_one):
4100 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4101 upstream is tricked into thinking it can suggest a format downstream
4102 while downstream does not support that format. The real problem is that
4103 core calls acceptcaps when pushing a buffer with new caps, for which we
4104 do a little workaround by setting the caps on the srcpad ourselves
4105 before pushing the buffer (until this is figured out). Fixes #486758.
4107 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4109 * gst/gststructure.c:
4111 Add some more comments and debug output. Quote structure name to fix
4112 deserialisation of some strings.
4114 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4117 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4118 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4120 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4122 * tools/gst-inspect.c:
4123 Save approx. 400 1 byte allocs when printing. Use API to acces element
4129 * tools/gst-xmlinspect.c:
4130 Use API to acces element details.
4132 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4135 Fix some spelling errors.
4137 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4139 * gst/gstbin.c: (bin_handle_async_done):
4140 Correctly set the next state if all of our async children commited their
4141 state. This makes sure we can actually cancel the state change in
4142 progress. Fixes a regression in Rhythmbox when seeking.
4144 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4147 Don't shadow local variable.
4150 Don't shadow global function name.
4152 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4154 * gst/gstelementfactory.c:
4155 * gst/gstpluginfeature.c:
4156 * gst/gstpluginfeature.h:
4157 * gst/gstregistrybinary.c:
4158 * gst/gstregistryxml.c:
4159 * gst/gsttypefind.c:
4160 Use already-interned string for the private GstPluginFeature
4163 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4165 * docs/libs/gstreamer-libs-sections.txt:
4166 Add new API to docs; fixes the build.
4168 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4170 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4172 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4173 (gst_base_sink_event):
4174 * libs/gst/base/gstbasesink.h:
4175 Add function to wait for EOS, subclasses can use this to correctly wait
4176 for devices to drain before performing the EOS logic. Fixes #485343.
4177 API: gst_base_sink_wait_eos()
4179 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4182 Cast description string constants in GST_PLUGIN_DEFINE macros
4183 to a (gchar*) to make C++ code using these macros compile
4184 without warning with g++-4.2 (see #462737). Even if slightly
4185 ugly, this seems preferable to putting the description strings
4186 into the GLib quark table or making the structure member a
4187 const gchar * and doing casts in core code that allocs and
4188 frees these strings, or requiring a cast in the C++ code.
4190 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4193 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4194 to print the entire class/function signature into the log
4195 file for C++ code. This only affects C++ code, for C code
4196 everything remains the same.
4198 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4200 * gst/gstbin.c: (remove_from_queue):
4201 Work around a problem with pipelines containing (semi)loops until a
4202 proper, more complicated solution is ready. See #475455.
4204 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4208 * gst/gstregistrybinary.c:
4209 * gst/gstregistryxml.c:
4210 Put more strings into the GLib quark table. No need to keep
4211 a hundred-something copies of identical version strings,
4212 license strings, package name strings and package origin
4215 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4217 * docs/manual/advanced-dataaccess.xml:
4218 Don't imply that it's okay to unconditionally change
4219 buffer data or buffer metadata in a pad probe callback,
4220 and a bunch of other comments. Fixes #430031.
4222 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4224 * win32/common/gstenumtypes.c:
4225 * win32/common/gstenumtypes.h:
4226 * win32/common/gstversion.h:
4227 Update generated files.
4229 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4231 * docs/manual/advanced-autoplugging.xml:
4232 Prefix section with broken code with a warning (see #342432).
4234 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4236 * docs/manual/appendix-integration.xml:
4237 * docs/manual/basics-init.xml:
4238 Call g_thread_init() before g_option_context_new() to
4239 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4241 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4243 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4244 (gst_base_sink_queue_object_unlocked),
4245 (gst_base_sink_queue_object), (gst_base_sink_event),
4246 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4247 When we received EOS and are waiting for when to post the EOS message,
4248 our state is prerolled and we should not return ASYNC.
4249 Reorganize some code paths to implement this behavior.
4251 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4253 Add unit test to verify above EOS fix.
4255 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4257 * plugins/elements/gsttypefindelement.c:
4258 (gst_type_find_element_have_type), (gst_type_find_element_init),
4259 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4260 Move detecting the input caps of the sinkpad to the setcaps function.
4261 This allows us to update the output caps when we receive new input caps
4262 instead of always using the first detected caps.
4264 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4266 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4267 (gst_base_sink_get_position):
4268 Don't try to preroll non-async elements after a flush.
4269 Subtract latency form clock times when reporting position.
4271 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4273 * gst/gstpad.c: (gst_pad_pause_task):
4275 Small comment and documentation update.
4277 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4279 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4280 (gst_base_src_set_live), (gst_base_src_is_live),
4281 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4282 (gst_base_src_default_event), (gst_base_src_wait),
4283 (gst_base_src_do_sync), (gst_base_src_get_range),
4284 (gst_base_src_pad_get_range), (gst_base_src_loop),
4285 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4286 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4287 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4288 (gst_base_src_change_state):
4289 Rework the locking of basesrc in a similar fashion to basesink. We
4290 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4291 us to handle live sources and semi live ones much better.
4293 Fix unlocking when seeking, shutting down and pausing in live sources.
4295 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4297 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4298 Fix compilation again.
4300 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4303 Use meaningful categories for the logs to clean the default one.
4305 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4307 * tests/check/pipelines/cleanup.c:
4308 Print message name and not just number.
4310 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4312 * docs/design/draft-tagreading.txt:
4313 Add some more thoughts.
4315 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4317 * tests/check/pipelines/simple-launch-lines.c:
4318 Print message name and not just number.
4320 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4322 * libs/gst/base/gsttypefindhelper.c:
4323 Speedup typefinding. This is work in progress (see #459862).
4325 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4328 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4329 Spotted by Josep Torra Valles <josep@fluendo.com>.
4331 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4334 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4335 field has moved to GstObject.
4337 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4339 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4340 (gst_base_src_get_range), (gst_base_src_change_state):
4341 Call unlock for live sources so that they can't get stuck in _create and
4342 produce a buffer before they are set back to PLAYING.
4344 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4346 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4347 (gst_queue_locked_dequeue):
4348 Comment the segment-related code... in the PROPER function.
4349 See #482147 and my commit from yesterday.
4351 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4353 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4354 Also initialize the counter that calculates the first timestamp on a
4355 buffer correctly for non-live sources.
4357 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4359 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4360 Disable code that's breaking the current-time-level reporting.
4363 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4365 * docs/gst/gstreamer-sections.txt:
4366 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4367 as they shouldn't show up. Fixes the docs build.
4369 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4372 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4373 Define M_PI which is used in files which are including gstinfo.h.
4374 VS6 includes doesn't define it.
4375 * win32/common/libgstbase.def:
4376 * win32/common/libgstcontroller.def:
4377 * win32/common/libgstreamer.def:
4378 Add new exported functions and variables.
4379 * win32/vs6/libgstcontroller.dsp:
4380 * win32/vs6/libgstreamer.dsp:
4381 Update the list of files to build.
4383 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4385 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4387 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4388 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4389 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4390 Improve debugging. Fixes #480858.
4392 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4394 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4396 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4397 First patch of code cleanups, use the macros and right arguments in the
4398 macros to signal and lock the queue. See #480858.
4400 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4402 * gst/gstbus.c: (poll_func):
4403 Improve debugging when dealing with _poll().
4405 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4407 * gst/gstregistryxml.c:
4408 Fix memory leak I introduced a few days ago.
4410 2007-09-26 Michael Smith <msmith@fluendo.com>
4412 * gst/gstbuffer.c: (gst_buffer_finalize):
4413 Make it once again possible to free GstBuffers in the default
4415 The poisoning scribbles on parts of the miniobject we need in
4419 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4421 * docs/gst/gstreamer-sections.txt:
4424 API: add GST_TAG_COMPOSER, fixes #459809.
4426 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4430 Add the 3-clause BSD license and the MIT/X11 license to the license
4431 list. Fixes #479784.
4433 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4435 * docs/faq/getting.xml:
4436 Add Q+A about different GStreamer versions (#364056).
4438 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4440 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4441 (gst_base_sink_event), (gst_base_sink_change_state):
4442 Return correct gboolean from query function.
4444 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4446 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4447 (gst_base_sink_event), (gst_base_sink_query),
4448 (gst_base_sink_change_state):
4449 Simplify latency query.
4450 When not synchronizing, we can report latency without querying the peer
4453 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4457 Fix small typos in the docs.
4459 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4461 * docs/design/draft-latency.txt:
4462 * docs/design/draft-push-pull.txt:
4463 * docs/design/draft-tagreading.txt:
4464 * docs/design/part-MT-refcounting.txt:
4465 * docs/design/part-activation.txt:
4466 * docs/design/part-block.txt:
4467 * docs/design/part-element-source.txt:
4468 * docs/design/part-events.txt:
4469 * docs/design/part-gstbin.txt:
4470 * docs/design/part-gstelement.txt:
4471 * docs/design/part-gstobject.txt:
4472 * docs/design/part-gstpipeline.txt:
4473 * docs/design/part-messages.txt:
4474 * docs/design/part-preroll.txt:
4475 * docs/design/part-push-pull.txt:
4476 * docs/design/part-qos.txt:
4477 * docs/design/part-query.txt:
4478 * docs/design/part-scheduling.txt:
4479 * docs/design/part-seeking.txt:
4480 * docs/design/part-segments.txt:
4481 * docs/design/part-states.txt:
4482 Documentation updates and typo fixes.
4484 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4486 * plugins/elements/gstfakesink.c:
4487 Add some debug text to error message to indicate that
4488 we errored out on request.
4490 * tools/gst-launch.c:
4491 When the state change to PLAYING fails, check for an
4492 error message on the bus and print it.
4494 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4496 translated by: Jorge González González <aloriel@gmail.com>
4500 Added Spanish translation.
4502 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4504 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4505 Fix printf arguments.
4507 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4509 * tests/check/generic/states.c:
4510 Improved state change unit test.
4512 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4515 Move priv to the right place.
4517 * gst/gstsystemclock.c:
4518 Add FIXME: and improve log.
4520 * tests/check/Makefile.am:
4521 * tests/examples/manual/Makefile.am:
4522 Work with all types of registries.
4524 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4526 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4527 Don't unref the event after pushing it. Fixes #478401.
4529 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4532 * tests/examples/manual/.cvsignore:
4533 Ignore registries in any format.
4535 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4537 * gst/glib-compat-private.h:
4538 Add compatibility macro for g_intern_string() for
4539 GLib-2.8 (any reason we can't just bump the
4540 requirement to at least 2.10?)
4542 * gst/gstpadtemplate.h:
4543 * gst/gstelementfactory.c:
4544 * gst/gstregistryxml.c:
4545 * gst/gstregistrybinary.c:
4546 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4547 up the internal code accordingly. This shouldn't be a problem, since
4548 there is no reason external code could ever assume the string in such
4549 a structure is dynamically allocated unless it did that itself; the
4550 use of g_strdup() is private to element factories. The new code also
4551 saves some memory by putting pad template name strings into the GLib
4552 quark table instead of allocating them dynamically.
4553 Declaring this field constant fixes warnings with g++-4.2 when using
4554 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4556 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4558 * gst/gstelementfactory.c:
4559 Release static caps. Fixes #475723.
4561 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4565 Make some internal API take const gchar * instead of just
4566 gchar * to avoid compiler warnings with g++-4.2.2 when
4567 passing string constants (partially fixes #478092).
4569 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4571 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4572 A latency query fails when one of the sinks fail.
4574 * gst/gstelement.c: (gst_element_set_base_time):
4577 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4579 * gst/gstbin.c: (gst_bin_continue_func):
4580 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4581 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4582 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4584 Fix minor compilation warnings shown with Forte.
4586 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4588 * plugins/elements/gstqueue.c: (apply_buffer),
4589 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4590 Measure queue level based on the diff between head and tail timestamps
4591 even when pushing the first buffer.
4593 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4595 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4596 (gst_base_sink_event), (gst_base_sink_change_state):
4597 Sinks that don't preroll can always be queried for the latency.
4598 Don't post ASYNC start when we are not async.
4600 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4602 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4603 (gst_queue_handle_sink_event), (gst_queue_chain),
4604 (gst_queue_push_one), (gst_queue_handle_src_query),
4605 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4606 * plugins/elements/gstqueue.h:
4607 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4608 push more buffers but allow pushing of EOS and NEWSEGMENT.
4609 Add some more debug info here and there. Fixes #476514.
4611 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4613 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4614 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4615 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4616 (gst_base_sink_set_flushing), (gst_base_sink_query),
4617 (gst_base_sink_change_state):
4618 Latency query is allowed after we are prerolled. Introduce a new flag
4619 for this and stop abusing other variables.
4621 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4623 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4624 Push OOB events downstream when we get them in send_event. This allows
4625 the application to insert events in the pipeline.
4626 Add some more comments.
4628 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4630 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4631 (do_bin_latency), (gst_bin_change_state_func):
4632 * gst/gstpipeline.c: (gst_pipeline_change_state):
4633 Move latency query from GstPipeline to GstBin so that we can also
4634 use it when async-handling is enabled on bins.
4636 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4638 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4639 (gst_base_src_do_sync), (gst_base_src_change_state):
4641 Clean up the timestamping and syncing code for pseudo live sources.
4643 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4645 Patch by: Steve Fink <sphink gmail com>
4647 * docs/manual/appendix-checklist.xml:
4648 Mention less -R switch in the section about debug output (#474055).
4650 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4652 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4653 Queue can latency to the pipeline up to the configured max size in time.
4654 Report this fact in the latency query.
4656 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4658 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4660 * libs/gst/controller/gstinterpolation.c:
4661 * libs/gst/controller/gstlfocontrolsource.c:
4662 Use gst_guint64_to_gdouble() when converting from a uint64 or
4663 GstClockTime to double to fix the build on win32. Fixes #474371.
4665 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4667 * gst/gstbuffer.c: (gst_buffer_finalize):
4668 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4669 When finalizing a buffer the complete struct is filled with 0xff,
4670 thus making a use of the buffer after the final unref impossible.
4672 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4674 * tests/check/libs/controller.c: (GST_START_TEST):
4675 Use fail_unless_equals_int(a, b) instead of
4676 fail_unless_equals (a == b) to get better output on failures.
4678 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4680 * tests/check/gst/gsturi.c:
4681 Also check for the other file URI variant on win32.
4683 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4685 * gst/gsturi.c: (gst_uri_get_location):
4686 If there's no hostname, we want to return 'c:/foo/bar.txt'
4687 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4689 * tests/check/gst/gsturi.c:
4690 Unit test for the above and a few more things.
4692 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4694 * docs/design/part-live-source.txt:
4695 Add docs on how live sources should timestamp.
4697 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4698 Add some more debug info.
4699 For subclasses that are live and like to sync, add aditional startup
4700 latency to sync time and timestamps so that we timstamp according to the
4703 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4706 Also do a g_type_class_ref() for the subbuffer type in
4709 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4711 * docs/gst/gstreamer-sections.txt:
4712 * gst/gstpad.c: (gst_pad_peer_query):
4714 Add function to perform a query on the peer of a pad.
4715 API: gst_pad_peer_query()
4717 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4719 * tests/check/gst/gstsystemclock.c:
4720 Cleanup the test a little (use gst-logging and not g_message). Improve
4721 test to check if a wait reached the target.
4723 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4725 * docs/libs/gstreamer-libs-sections.txt:
4726 Add new API to docs and fix the build.
4728 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4730 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4731 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4732 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4733 (gst_base_src_get_property), (gst_base_src_do_sync):
4734 * libs/gst/base/gstbasesrc.h:
4735 Add property to make the basesrc timestamp buffers based on the current
4737 API: GstBaseSrc::do-timestamp
4738 API: gst_base_src_set_do_timestamp()
4739 API: gst_base_src_get_do_timestamp()
4741 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4743 * docs/random/release:
4744 Really make sure translations are up-to-date before
4745 a release (#465010).
4747 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4749 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4750 Always destroy the timer, also in error cases.
4752 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4754 * docs/manual/highlevel-xml.xml:
4755 Fix XML example code. Fixes #472714.
4757 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4759 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4760 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4761 (gst_base_sink_query):
4762 Protect eos and have_preroll with the OBJECT lock so we don't need to
4763 take the PREROLL lock when querying the latency. Fixes #473846.
4765 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4768 Give some log-messages a category.
4770 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4772 * gst/gststructure.c:
4773 (gst_structure_fixate_field_nearest_fraction):
4774 Fix fraction list fixation code. Take the fraction with the smallest
4775 difference with the target instead of the first one in the list.
4777 * tests/check/gst/gststructure.c: (GST_START_TEST),
4778 (gst_structure_suite):
4779 Added test to verify correct fraction list fixation behaviour.
4781 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4783 * win32/common/libgstreamer.def:
4784 Export gst_bus_add_signal_watch too.
4786 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4788 * docs/libs/gstreamer-libs-sections.txt:
4789 Add new methods to docs.
4791 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4792 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4793 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4794 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4795 * libs/gst/base/gstbasesink.h:
4796 Add ts-offset property to fine-tune the synchronisation.
4797 API: GstBaseSink::ts-offset property
4798 API: gst_base_sink_set_ts_offset()
4799 API: gst_base_sink_get_ts_offset()
4801 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4803 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4804 (gst_base_sink_init), (gst_base_sink_set_sync),
4805 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4806 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4807 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4808 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4809 (gst_base_sink_get_property), (gst_base_sink_change_state):
4810 * libs/gst/base/gstbasesink.h:
4811 Add async property to instruct the sink never to inform the parent about
4812 ASYNC state changes, update docs.
4813 Check argument with g_return_* for the public functions.
4814 API: GstBaseSink::async property
4815 API: gst_base_sink_set_async_enabled()
4816 API: gst_base_sink_is_async_enabled()
4818 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4820 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4823 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4824 (gst_base_src_default_query), (gst_base_src_wait),
4825 (gst_base_src_do_sync), (gst_base_src_change_state):
4826 Rearrange some code so that we can add support for measuring the
4829 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4831 * docs/random/ensonic/dynlink.txt:
4832 More thoughs on this.
4834 * plugins/elements/gstcapsfilter.c:
4835 Add bugzilla ticket number to FIXME comment.
4837 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4839 * docs/design/part-TODO.txt:
4840 * docs/design/part-block.txt:
4843 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4846 Revert patch which uses $(gst_headers) instead of $^ because it
4849 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4851 * tests/check/gst/gstbin.c: (GST_START_TEST):
4852 Fix leaks in the new unit test.
4854 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4857 Don't use GST_INFO before the debug system is actually initialised
4858 (shouldn't do any harm, but won't print anything either, so we can
4859 just as well remove it).
4862 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4863 compilers that don't support variadic macros (such as MSVC), should
4864 check for debug_level <= __gst_debug_min as well, since that's the
4865 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4866 inline helper functions. Should improve performance a bit, but also
4867 makes sure uses of GST_INFO et.al are ignored if the debugging
4868 system isn't initialised yet (instead of printing an assertion
4871 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4873 patch by: David Nečas <yeti@physics.muni.cz>
4876 Replace some non portable makefile constructs.
4878 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4880 * common/gtk-doc-plugins.mak:
4881 Grrrrr. Don't remove the types file on make clean.
4883 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4885 * tools/gst-launch.1.in:
4886 Add colorspace to example pipeline. Fixes #458274.
4888 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4890 * docs/random/release:
4891 The release manager should run 'make download-po' before making a
4892 release to make sure translations are up-to-date.
4898 Add some new translations.
4900 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4902 * tools/gst-launch.c: (event_loop), (main):
4903 Don´t try to do any state management when a live pipeline posts
4905 Also make the buffering string translatable.
4907 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4909 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4910 (bin_handle_async_start), (gst_bin_handle_message_func):
4912 When adding elements, insert messages into the bus of the newly added
4913 element and make sure the element is the source of the message. This
4914 allows the parent bin to intercept the message and do the
4915 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4916 messages to the app (which is not allowed).
4919 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4920 Fix testsuite so that is does not work around messages that should not
4921 have been posted in the first place.
4923 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4925 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4926 (update_degree), (gst_bin_sort_iterator_next):
4927 Fix annoying bug in the sorted iterator where a sink that is not really
4928 a sink (when it has downstream links) screwed up the iterator.
4930 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4931 Unit test to verify the fix.
4933 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4936 Add some more docs for the messages.
4938 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4939 (gst_base_sink_query):
4940 Add some more debugging.
4942 * tools/gst-launch.c: (event_loop):
4943 When interrupting, don't try to set pipeline to PAUSED twice.
4945 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4948 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4949 (bin_handle_async_start), (gst_bin_handle_message_func):
4950 Move ASYNC_START message posting to where it belongs, similar to
4952 Don't post ASYNC_START when we are in error.
4953 Post ASYNC_START when we added an async element to a bin.
4955 2007-08-14 Julien MOUTTE <julien@moutte.net>
4957 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4958 generation from vargs. Fixes #466595.
4960 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4962 * gst/gstbin.c: (gst_bin_element_set_state):
4963 Always change the state of a NO_PREROLL element even if it has ASYNC
4964 elements inside (in case of a bin).
4966 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4967 Unit test for this case.
4969 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4971 * libs/gst/check/gstbufferstraw.c:
4972 * libs/gst/check/gstcheck.h:
4973 * libs/gst/controller/gstcontroller.c:
4974 * libs/gst/controller/gstcontrolsource.h:
4975 * libs/gst/controller/gstlfocontrolsource.h:
4976 * plugins/elements/gstcapsfilter.h:
4977 * plugins/elements/gstfdsink.h:
4978 * plugins/elements/gstfdsrc.h:
4979 Add more missing docs.
4981 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4983 * gst/gststructure.c:
4984 Add Since tag to docs.
4986 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4988 * docs/gst/gstreamer-sections.txt:
4989 * gst/gststructure.c: (gst_structure_get_uint):
4990 * gst/gststructure.h:
4991 Add function to get uint from a structure.
4992 API: gst_structure_get_uint()
4994 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4996 * gst/gstcaps.c: (gst_caps_set_simple_valist),
4997 (gst_caps_intersect):
4998 Fix proper check for simple caps.
5000 2007-08-10 Stefan Kost <ensonic@users.sf.net>
5002 * docs/gst/Makefile.am:
5003 * docs/libs/Makefile.am:
5004 Remove cruft and do some cleanups.
5006 * docs/gst/gstreamer-docs.sgml:
5007 * docs/libs/gstreamer-libs-docs.sgml:
5008 Prepare for comming gtkdoc features (rebase against online docs).
5010 2007-08-10 Michael Smith <msmith@fluendo.com>
5012 * docs/gst/gstreamer-sections.txt:
5013 Add gst_registry_add_path to docs.
5015 2007-08-10 Michael Smith <msmith@fluendo.com>
5017 * gst/gstregistry.h:
5018 Add gst_registry_add_path, which was missing from this header.
5020 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5022 * libs/gst/controller/gstlfocontrolsource.c:
5025 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5027 * libs/gst/base/gstbasesink.c:
5028 Don't send an async_start message during downwards state change if
5029 target state is less than READY
5031 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5033 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5037 Added Hungarian translation.
5039 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5046 Updated translations.
5048 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5050 * libs/gst/controller/Makefile.am:
5051 Dist gstlfocontrolsourceprivate.h
5053 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5055 * docs/libs/gstreamer-libs.types:
5056 Don't register the enum type gst_lfo_waveform_get_type() in the
5057 .types file - only GObject derived types belong.
5059 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5061 Patch by: <arenevier at fdn dot fr>
5064 Remove comma from last element in enum to avoid compile errors when
5065 using -pendantic. Fixes #464366.
5067 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5069 * docs/design/part-TODO.txt:
5070 Add some more TODO items
5072 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5075 * gst/gstcaps.c: (gst_caps_intersect):
5076 Optimize trivial intersection case between identical caps pointers.
5078 * gst/gstelement.c: (gst_element_continue_state),
5079 (gst_element_set_state_func):
5081 Fix spelling and grammar mistakes.
5083 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5087 Update POTFILES. Fixes #461599.
5089 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5092 Fix confusing typo in debug output.
5094 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5096 reviewed by: Stefan Kost <ensonic@users.sf.net>
5098 * libs/gst/controller/Makefile.am:
5099 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5100 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5101 (gst_lfo_control_source_new),
5102 (gst_lfo_control_source_set_waveform),
5103 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5104 (gst_lfo_control_source_finalize),
5105 (gst_lfo_control_source_dispose),
5106 (gst_lfo_control_source_set_property),
5107 (gst_lfo_control_source_get_property),
5108 (gst_lfo_control_source_class_init):
5109 * libs/gst/controller/gstlfocontrolsource.h:
5110 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5111 API: Add GstLFOControlSource, a control source that gives values
5112 for specific timestamps based on several periodic waveforms.
5115 * tests/check/libs/controller.c: (GST_START_TEST),
5116 (gst_controller_suite):
5117 * docs/libs/gstreamer-libs-docs.sgml:
5118 * docs/libs/gstreamer-libs-sections.txt:
5119 * docs/libs/gstreamer-libs.types:
5120 Add documentation and unit tests for GstLFOControlSource.
5122 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5127 === release 0.10.14 ===
5129 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5132 releasing 0.10.14, "Breathing Vacuum"
5134 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5136 * gst/gstelement.c: (gst_element_class_set_details_simple):
5138 Make strings passed to gst_element_class_set_details_simple()
5139 constant, as they should be (#462752).
5141 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5143 * gst/gstbin.c: (gst_bin_change_state_func),
5144 (bin_handle_async_done), (gst_bin_handle_message_func):
5145 Don't forget about the fact that some element went ASYNC even after a
5146 resync. This makes us post the ASYNC_DONE message correctly.
5149 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5151 * gst/gstregistry.c: (gst_registry_add_feature):
5152 When replacing an existing feature in the registry, make sure to
5153 continue holding a reference until we've replaced the name string
5154 within our feature hash table. Make sure to use g_hash_table_replace
5155 instead of g_hash_table_insert to ensure the new name string is used
5156 as a key instead of the old one that we're about to free.
5159 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5161 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5162 (gst_plugin_feature_set_name):
5163 Revert patch from #459466 until after the release and we can work
5164 out exactly what the problem is (if any).
5166 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5168 * docs/gst/gstreamer-sections.txt:
5171 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5173 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5175 * docs/libs/Makefile.am:
5176 Include our build-prefix libs and includes before the generic ones to
5177 avoid linking against the installed libs when we want the build-tree
5180 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5182 Patch by: Steve Fink <sphink gmail com>
5184 * docs/pwg/building-testapp.xml:
5185 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5186 if people try to build or install the example from the plugin
5187 template against a GStreamer from package using the configure
5190 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5192 Patch by: Steve Fink <sphink gmail com>
5194 * tools/gst-inspect.1.in:
5195 Document --print-all and --print-plugin-auto-install-info command
5196 line options in man page.
5198 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5200 * docs/gst/gstreamer-sections.txt:
5201 Add docs for new api function.
5203 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5205 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5206 * gst/gstelementfactory.h:
5207 API: gst_element_factory_has_interface()
5208 Added method to check if an element factory implements a named
5211 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5214 * docs/gst/gstreamer.types.in:
5215 Another conditional doc check.
5218 * gst/gstparamspecs.h:
5219 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5224 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5226 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5227 (gst_registry_binary_load_feature),
5228 (gst_registry_binary_load_plugin),
5229 (gst_registry_binary_read_cache):
5230 Print error just once and with additional info.
5232 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5234 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5235 (helper_find_suggest), (helper_find_get_length),
5236 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5237 (gst_type_find_helper_for_buffer):
5238 Cleanup the typefindhelper code and add private doc comments.
5240 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5242 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5243 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5244 Fix capsfilter for cases where the caps set on capsfilter will provide
5245 additional information.
5248 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5250 * gst/gsttypefindfactory.c:
5251 Fix docs that recommened wrong function to use.
5253 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5255 * tools/gst-inspect.c: (print_plugin_features):
5256 Also give media-type for typefinders in element output.
5258 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5260 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5261 (gst_registry_remove_features_for_plugin_unlocked),
5262 (gst_registry_add_feature), (gst_registry_remove_feature),
5263 (gst_registry_lookup_feature_locked):
5264 * gst/gstregistry.h:
5265 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5268 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5270 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5271 (gst_plugin_feature_set_name):
5272 Avoid double memory usage for pluginfeature names. Fixes #459466.
5274 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5277 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5278 driving the pipeline may need to explicitly check for NOT_LINKED as
5279 well, since IS_FATAL doesn't cover that.
5281 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5283 * docs/pwg/advanced-types.xml:
5284 Fix typo and duplicate entry in video formats list.
5286 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5288 * libs/gst/controller/gstinterpolation.c:
5289 Also round to the nearest int when using cubic interpolation.
5291 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5293 * libs/gst/controller/gstinterpolation.c:
5294 When linearly interpolating integer types, round to the nearest int
5295 by adding 0.5. Don't do it for float/double types.
5296 Fixes the failing controller test on my machine, which is somehow
5297 rounding differently than on the buildbots.
5299 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5301 * tools/gst-plot-timeline.py:
5302 Better log parsing (categories can have -). Adjust text vs. lines, so
5303 that they span the same y-range.
5305 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5307 * docs/random/ensonic/audiobaseclasses.txt:
5308 * docs/random/ensonic/dynlink.txt:
5309 * docs/random/ensonic/profiling.txt:
5312 * docs/random/moving-plugins:
5313 Add note to use g_assert type macros.
5315 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5318 * libs/gst/check/Makefile.am:
5319 Add libm check as we use in for plugins.
5321 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5323 * gst/gstbin.c: (gst_bin_continue_func):
5324 Check that the state_cookie hasn't changed since the continue_func
5325 was scheduled. Avoids problems where the state changes back to
5326 something it shouldn't be because it was changed in the meantime.
5328 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5330 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5331 (gst_registry_binary_save_string),
5332 (gst_registry_binary_save_pad_template),
5333 (gst_registry_binary_save_feature),
5334 (gst_registry_binary_save_plugin),
5335 (gst_registry_binary_load_feature),
5336 (gst_registry_binary_load_plugin),
5337 (gst_registry_binary_read_cache):
5338 Fix memory leak. Be less verbose in the log.
5340 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5342 * tests/check/elements/.cvsignore:
5343 Add file to cvsignore as commanded.
5345 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5347 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5348 (mq_dummypad_event), (run_output_order_test):
5349 Use a GStaticMutex to protect all cases where libcheck
5350 fail_if/fail_unless macros might be called from multiple threads
5351 simultaneously to avoid errors like:
5352 "check_pack.c:107: :-1081725400:Bad message type arg"
5354 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5356 * tests/check/pipelines/stress.c: (GST_START_TEST):
5357 Make sure we set the pipeline back to the NULL state before
5358 dropping our final reference.
5360 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5362 * tests/check/elements/tee.c: (GST_START_TEST):
5363 Make the tee stress-test a little less stressful so it doesn't just
5364 time out on slow-machines, and remove a small race when it's starting
5365 up by adding a get_state() call.
5367 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5370 Avoid reading registry twice on startup. Fixes #457322.
5372 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5374 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5375 * pkgconfig/gstreamer-check.pc.in:
5376 Substitute the CFLAGS for libcheck into our .pc file too so that
5377 dependent modules will pick it up properly if libcheck is installed
5378 into some other prefix.
5380 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5383 Revert the pkg-config check for libcheck, since it pulls in the
5384 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5385 a proper solution, either from the check project, or something else.
5387 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5390 Use pkg-config to locate check.
5392 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5399 Add deprecation guards.
5401 * libs/gst/base/gstcollectpads.h:
5402 Don't document object (this is implicitly private).
5404 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5406 * gst/gststructure.c: (gst_structure_parse_value):
5407 When deserialising foo=bar without a type cast, check if it's a
5408 boolean before falling back to a string type, otherwise things like
5409 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5410 because the filtercaps end up having a signed=(string)true field,
5411 which causes problems later when intersection caps.
5413 * tests/check/gst/gststructure.c: (GST_START_TEST):
5414 Add a unit test for this.
5416 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5418 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5420 * libs/gst/controller/Makefile.am:
5421 * libs/gst/controller/gstcontroller.c:
5422 (gst_controlled_property_add_interpolation_control_source),
5423 (gst_controlled_property_new), (gst_controlled_property_free),
5424 (gst_controller_find_controlled_property),
5425 (gst_controller_new_valist), (gst_controller_new_list),
5426 (gst_controller_new), (gst_controller_remove_properties_valist),
5427 (gst_controller_remove_properties_list),
5428 (gst_controller_remove_properties),
5429 (gst_controller_set_property_disabled),
5430 (gst_controller_set_disabled), (gst_controller_set_control_source),
5431 (gst_controller_get_control_source), (gst_controller_get),
5432 (gst_controller_sync_values), (gst_controller_get_value_array),
5433 (_gst_controller_dispose), (gst_controller_get_type),
5434 (gst_controlled_property_set_interpolation_mode),
5435 (gst_controller_set), (gst_controller_set_from_list),
5436 (gst_controller_unset), (gst_controller_unset_all),
5437 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5438 * libs/gst/controller/gstcontroller.h:
5439 * libs/gst/controller/gstcontrollerprivate.h:
5440 * libs/gst/controller/gstcontrolsource.c:
5441 (gst_control_source_class_init), (gst_control_source_init),
5442 (gst_control_source_get_value),
5443 (gst_control_source_get_value_array), (gst_control_source_bind):
5444 * libs/gst/controller/gstcontrolsource.h:
5445 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5446 (gst_object_get_control_source):
5447 * libs/gst/controller/gstinterpolation.c:
5448 (gst_interpolation_control_source_find_control_point_node),
5449 (gst_interpolation_control_source_get_first_value),
5450 (_interpolate_none_get), (interpolate_none_get),
5451 (interpolate_none_get_boolean_value_array),
5452 (interpolate_none_get_enum_value_array),
5453 (interpolate_none_get_string_value_array),
5454 (_interpolate_trigger_get), (interpolate_trigger_get),
5455 (interpolate_trigger_get_boolean_value_array),
5456 (interpolate_trigger_get_enum_value_array),
5457 (interpolate_trigger_get_string_value_array):
5458 * libs/gst/controller/gstinterpolationcontrolsource.c:
5459 (gst_control_point_free), (gst_interpolation_control_source_reset),
5460 (gst_interpolation_control_source_new),
5461 (gst_interpolation_control_source_set_interpolation_mode),
5462 (gst_interpolation_control_source_bind),
5463 (gst_control_point_compare), (gst_control_point_find),
5464 (gst_interpolation_control_source_set_internal),
5465 (gst_interpolation_control_source_set),
5466 (gst_interpolation_control_source_set_from_list),
5467 (gst_interpolation_control_source_unset),
5468 (gst_interpolation_control_source_unset_all),
5469 (gst_interpolation_control_source_get_all),
5470 (gst_interpolation_control_source_get_count),
5471 (gst_interpolation_control_source_init),
5472 (gst_interpolation_control_source_finalize),
5473 (gst_interpolation_control_source_dispose),
5474 (gst_interpolation_control_source_class_init):
5475 * libs/gst/controller/gstinterpolationcontrolsource.h:
5476 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5477 API: Refactor GstController into the core controller which can take
5478 a GstControlSource for providing actual values for timestamps.
5479 Implement a interpolation control source and use this for backward
5480 compatibility, deprecate a bunch of functions that are now handled
5481 by GstControlSource or GstInterpolationControlSource.
5482 Make it possible to disable the controller completely or only for
5483 specific properties. Fixes #450711.
5484 * docs/libs/gstreamer-libs-docs.sgml:
5485 * docs/libs/gstreamer-libs-sections.txt:
5486 * docs/libs/gstreamer-libs.types:
5487 Add new functions and classes to the docs.
5488 * tests/check/libs/controller.c: (GST_START_TEST),
5489 (gst_controller_suite):
5490 * tests/examples/controller/audio-example.c: (main):
5491 Port unit test and example to the new API and add some new
5494 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5496 Patch by: Mark Nauwelaerts <manauw at skynet be>
5498 * plugins/elements/gstmultiqueue.c:
5499 (gst_multi_queue_get_internal_links), (apply_buffer),
5500 (single_queue_overrun_cb), (gst_single_queue_new):
5501 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5502 the pipeline layout can be tracked correctly. Fixes #453732.
5504 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5506 * docs/gst/Makefile.am:
5507 * docs/libs/Makefile.am:
5508 * docs/plugins/Makefile.am:
5509 Simplify --extra-dir as gtkdoc scans recursively.
5511 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5513 * tools/gst-launch.c: (main):
5514 When we got an error, there is no point in waiting for preroll when
5517 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5519 * plugins/elements/gsttee.c: (gst_tee_base_init),
5520 (gst_tee_request_new_pad), (gst_tee_release_pad),
5521 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5522 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5524 Be a lot smarter when deciding what srcpad to use for proxying
5525 the buffer_alloc. Also handle pad added/removed when doing so.
5527 Keep track of what pads we already pushed on in case we have pads
5528 added/removed while pushing. Fixes #374639
5530 * tests/check/Makefile.am:
5531 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5533 Added unit test for pad resync.
5535 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5539 Updated translations.
5541 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5543 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5547 Added new Finnish translation.
5549 2007-06-28 Wim Taymans <wim@fluendo.com>
5551 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5552 (single_queue_overrun_cb):
5553 When figuring out when a queue is filled, use our internal time estimate
5554 based on segments, just like check_full does.
5556 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5558 * gst/gstminiobject.c: (gst_mini_object_get_type):
5559 Remove 3 do-nothing methods.
5561 2007-06-27 Wim Taymans <wim@fluendo.com>
5563 Patch by: Tim Angus <tim at ngus dot net>
5565 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5566 (gst_capsfilter_set_property):
5567 Take a reference instead of a copy when setting "caps".
5568 Fix documentation to clarify this behaviour. Fixes #449414.
5570 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5572 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5573 * gst/gstplugin.c: (gst_plugin_init):
5574 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5575 * gst/gstquery.c: (gst_query_get_type):
5576 * gst/gstregistry.c: (gst_registry_init):
5577 * gst/gsturi.c: (gst_uri_handler_base_init):
5578 Remove empty instance_init() functions to save relocs and lessen the
5579 noise. Remove some of the function prototypes that are doubled by
5582 2007-06-27 Wim Taymans <wim@fluendo.com>
5584 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5586 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5587 Add peer and direction in the XML serialisation of ghostpads.
5590 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5593 Preserve useful information, thanks Tim.
5595 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5597 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5598 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5599 (gst_single_queue_push_one), (gst_multi_queue_loop),
5600 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5601 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5602 (compute_high_id), (gst_single_queue_new):
5603 * plugins/elements/gstmultiqueue.h:
5604 Take the multiqueue lock when updating the fill level so we don't get
5607 After applying a buffer or event on the src pad segment, make sure to
5608 call gst_data_queue_limits_changed() to get the data queue to unblock
5609 and check the filled state again.
5611 Rework the not-linked pad handling so the logic is that not-linked
5612 pads can push as fast as they like, but only so they never get
5613 ahead of any linked pads.
5615 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5616 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5617 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5619 Add a test to check that not-linked pads always stay behind
5624 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5626 * docs/random/release:
5627 Some updates to the release procedure.
5629 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5631 * gst/gstelementfactory.c: (__gst_element_details_clear):
5632 Microoptimization that saves stunning 80 bytes.
5634 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5636 * docs/plugins/gstreamer-plugins.args:
5637 * docs/plugins/inspect/plugin-coreelements.xml:
5638 * docs/plugins/inspect/plugin-coreindexers.xml:
5639 Update docs with caps info.
5641 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5644 Updated Italian translation.
5646 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5650 Update Vietnamese translations.
5652 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5654 * libs/gst/base/gstbasesink.c:
5655 Remove unused signal enum.
5657 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5659 * docs/gst/gstreamer-sections.txt:
5661 * gst/gstutils.c: (gst_type_register_static_full):
5662 Beef up and include the docs for gst_type_register_static_full and
5663 gst_element_class_set_details_simple and add the API keyword
5666 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5668 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5669 (update_time_level), (gst_single_queue_push_one),
5670 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5671 (single_queue_overrun_cb), (single_queue_underrun_cb),
5672 (single_queue_check_full):
5673 Fix setting max-* properties after adding queues.
5674 Use IS_FILLED for checking visible items.
5675 Signal overrun if multiple queues overrun.
5676 Add extra debug output.
5677 Patch by: Wim Taymans <wim@fluendo.com>
5679 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5681 * gst/gstelement.c: (gst_element_class_set_details_simple):
5683 * gst/gstutils.c: (gst_type_register_static_full):
5685 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5686 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5687 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5688 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5689 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5690 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5691 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5692 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5693 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5694 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5695 (apply_buffer), (gst_queue_chain):
5696 * plugins/elements/gsttee.c: (gst_tee_base_init):
5697 * plugins/elements/gsttypefindelement.c:
5698 (gst_type_find_element_base_init),
5699 (gst_type_find_element_class_init):
5700 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5701 API: add gst_type_register_static_full
5702 API: add gst_element_class_set_details_simple
5704 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5706 * docs/pwg/advanced-types.xml:
5707 Fix typo in iana.org URI.
5709 2007-06-19 Andy Wingo <wingo@pobox.com>
5711 * tests/check/pipelines/simple-launch-lines.c
5712 (test_state_change_returns): Enable pull-mode tests now that
5713 basesink has been fixed.
5715 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5716 Changed from gst_base_sink_is_prerolled, reversing the sense of
5717 the return value. Returns FALSE also if the sink is in pull mode,
5718 in which case it needs no preroll.
5719 (gst_base_sink_query, gst_base_sink_change_state): Update for
5720 needs_preroll change.
5721 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5722 chaining up, in which we return SUCCESS directly if we activated
5723 in pull mode instead of ASYNC. Involves countering an async_start
5724 message sent before chaining up; not sure if this is correct, in
5725 an ideal world we only send async-start when activating in push
5728 * tests/check/pipelines/simple-launch-lines.c
5729 (test_state_change_returns): New test, partially disabled until
5732 2007-06-19 Wim Taymans <wim@fluendo.com>
5734 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5735 (gst_multi_queue_sink_event):
5738 2007-06-19 Wim Taymans <wim@fluendo.com>
5740 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5741 (gst_bin_change_state_func), (bin_push_state_continue),
5742 (bin_handle_async_start), (bin_handle_async_done),
5743 (gst_bin_handle_message_func):
5744 Move the common code for posting state-change messages into
5746 Broadcast the state signal after we posted the messages.
5747 Mark the bin as busy when it's doing a state-change.
5748 Make sure async-start/done messages don't interfere with the bin's
5749 state when it's busy.
5750 After the state change, let the bin check which elements completed the
5751 state change while it was busy so that it can update its state.
5753 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5755 * docs/random/release:
5756 Add a note about updating the doap file to the release checklist
5758 2007-06-18 Wim Taymans <wim@fluendo.com>
5760 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5761 (gst_single_queue_push_one), (gst_multi_queue_chain),
5762 (gst_multi_queue_sink_event):
5763 Make sure we don't reference the buffer/event after we have given away
5764 ownership in the queue.
5766 2007-06-18 Wim Taymans <wim@fluendo.com>
5768 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5769 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5770 Update queue state _after_ adding the item in the queue because else we
5771 could end up being full without the element added yet.
5773 2007-06-18 Wim Taymans <wim@fluendo.com>
5775 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5776 (gst_bin_remove_func), (gst_bin_get_state_func),
5777 (gst_bin_element_set_state), (gst_bin_continue_func),
5778 (bin_push_state_continue), (bin_handle_async_start),
5779 (bin_handle_async_done), (gst_bin_handle_message_func):
5781 Immediatly commit the toplevel bin state when receiving an async-done
5782 message. This enables us to avoid spawning a thread to commit the state
5783 in some common cases and it also avoids some races.
5784 Avoid spawning a state thread when adding/removing async elements to a
5785 toplevel bin. Instead we immediatly update the bin state.
5786 Get rid of iterating all the children when getting the state in the bin
5787 because it is now always up-to-date.
5788 Fix bug where locked elements would always return _SUCCESS even it they
5789 returned NO_PREROLL before being locked.
5790 Fix the order of the state_change, async-start/done messages that was
5791 sometimes incorrect.
5792 Mark the state_dirty field as deprecated, we don't need it anymore as we
5793 are always up-to-date.
5795 * gst/gstelement.c: (gst_element_get_state_func),
5796 (gst_element_continue_state):
5797 Small debug inprovements.
5798 Return the previous element state return when nothing is pending instead
5799 of blindly returning SUCCESS.
5801 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5803 Add a whole bunch of new testcases.
5805 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5809 Update translations.
5811 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5814 Fix typo in the docs.
5816 2007-06-15 Wim Taymans <wim@fluendo.com>
5818 * docs/libs/gstreamer-libs-sections.txt:
5819 Add docs for new methods.
5821 2007-06-15 Wim Taymans <wim@fluendo.com>
5823 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5824 (gst_multi_queue_item_new):
5825 Don't use GSlice because we don't depend on >= 2.10 yet.
5827 2007-06-15 Wim Taymans <wim@fluendo.com>
5829 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5830 (update_time_level), (apply_segment), (apply_buffer),
5831 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5832 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5833 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5834 (single_queue_underrun_cb), (single_queue_check_full):
5835 Remove debug printf.
5837 2007-06-15 Wim Taymans <wim@fluendo.com>
5839 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5840 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5841 (gst_data_queue_set_flushing), (gst_data_queue_push),
5842 (gst_data_queue_pop), (gst_data_queue_drop_head),
5843 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5844 * libs/gst/base/gstdataqueue.h:
5846 Added methods to get the current levels and to inform the queue that the
5847 'full' limits changed.
5849 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5850 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5851 (gst_single_queue_flush), (update_time_level), (apply_segment),
5852 (apply_buffer), (gst_single_queue_push_one),
5853 (gst_multi_queue_item_steal_object),
5854 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5855 (gst_multi_queue_loop), (gst_multi_queue_chain),
5856 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5857 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5858 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5859 (single_queue_underrun_cb), (single_queue_check_full),
5860 (gst_single_queue_new):
5861 Keep track of time in the queue by measuring the difference between
5862 running_time on input and output. This gives more accurate results and
5863 can compensate for segments correctly.
5864 Make a queue by default only 5 buffers deep. We will now increase the
5865 buffer size depending on the filledness of the other queues.
5866 Factor out commong flush code.
5867 Make sure we don't add additional refcounts to buffers when we can avoid
5869 Propagate GstFlowReturn differently.
5870 Use GSlice for intermediate GstMultiQueueItems.
5872 Resize queues on over and underruns based on filled level of other
5874 When checking if the queue is filled, prefer to measure in time if we
5875 can and fall back to bytes when no time is known.
5877 * plugins/elements/gstqueue.c:
5880 2007-06-15 Wim Taymans <wim@fluendo.com>
5882 * libs/gst/base/gstbasetransform.c:
5883 (gst_base_transform_sink_event):
5884 Work around the brokenness of the event vmethod in basetransform. Prefer
5885 to return TRUE when the subclass returned FALSE (meaning don't forward
5888 * libs/gst/base/gstbasetransform.h:
5891 2007-06-15 Wim Taymans <wim@fluendo.com>
5893 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5894 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5895 (gst_base_src_default_query), (gst_base_src_get_range),
5896 (gst_base_src_start):
5897 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5900 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5902 * docs/pwg/advanced-types.xml:
5903 Added more formats to caps table.
5905 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5907 * tools/gst-launch.c: (main):
5908 Remove crufy code. GOption does not need this workaround.
5910 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5912 * libs/gst/controller/gstcontroller.c:
5913 (gst_controlled_property_set_interpolation_mode):
5914 Fix wrong getter for enums in controller.
5916 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5918 * libs/gst/check/gstcheck.c: (gst_check_init):
5919 Intercept criticals and warnings in the Gst-Phonon log domain, so
5920 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5923 2007-06-14 Edward Hervey <edward@fluendo.com>
5925 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5926 Since this file doesn't include "gst.h" it will not go through the
5927 macros that disable GST_LOG if debugging was disabled.
5929 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5931 * libs/gst/check/Makefile.am:
5932 * libs/gst/check/gstcheck.h:
5933 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5934 * pkgconfig/gstreamer-check.pc.in:
5935 Ugly 'fix' for the controller unit test on the p5 bot: in
5936 fail_unless_equals_float() check whether the values are 'almost
5937 equal' by allowing a small absolute error, which should be good
5938 enough for our use cases (normal numbers and values close to 0).
5939 Proper fixage left to floating point arithmetic aficionados.
5941 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5943 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5944 (gst_base_sink_render_object), (gst_base_sink_get_position):
5945 Add two breaks thats where missing.
5947 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5949 * docs/libs/gstreamer-libs-sections.txt:
5950 * libs/gst/check/gstcheck.h:
5951 API: add fail_unless_equals_float() and assert_equals_float().
5952 Add documentation for some of the macros.
5954 * tests/check/libs/controller.c: (GST_START_TEST):
5955 Use newly-added asserts.
5957 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5959 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5960 Show the caps change in the log to help spotting the case of not
5961 exactly matching caps.
5963 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5965 * docs/pwg/building-boiler.xml:
5966 Fix typos, spotted by Thijs Vermeir (#447190).
5968 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5970 * docs/plugins/tmpl/.cvsignore:
5971 Ignore file to keep the buildbots happy
5973 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5975 * docs/plugins/Makefile.am:
5976 * docs/plugins/gstreamer-plugins-docs.sgml:
5977 * docs/plugins/gstreamer-plugins-sections.txt:
5978 Pull fdsink into the docs too.
5980 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5982 * libs/gst/controller/gstinterpolation.c:
5983 Actually use the new functions with min/max checks for the trigger and
5984 none interpolation modes for get() and get_value_array() instead of
5987 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5989 * libs/gst/controller/gstcontroller.c:
5990 (gst_controlled_property_free):
5991 Unset the minimum and maximum GValues when freeing the corresponding
5992 GstControllerProperty struct.
5994 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
5996 * libs/gst/controller/gstcontroller.c:
5997 (gst_controlled_property_new):
5998 * libs/gst/controller/gstcontrollerprivate.h:
5999 * libs/gst/controller/gstinterpolation.c:
6000 (gst_controlled_property_find_control_point_node),
6001 (interpolate_none_get), (interpolate_none_get_enum_value_array),
6002 (interpolate_none_get_string_value_array),
6003 (interpolate_trigger_get),
6004 (interpolate_trigger_get_enum_value_array),
6005 (interpolate_trigger_get_string_value_array):
6006 Protect against values larger or smaller than the minimum or maximum
6007 allowed value for the property when using values that can be compared.
6009 Optimize trigger interpolator a bit by taking the last requested value
6010 into account instead of always looping through the complete list.
6012 Fix coding style a bit, everywhere else we use "return foo" instead
6015 * tests/check/libs/controller.c: (GST_START_TEST),
6016 (gst_controller_suite):
6017 Add unit test for the protection against too large or too small
6020 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6022 * docs/random/slomo/controller.txt:
6023 Add some thoughts about the future of the controller.
6025 2007-06-08 Wim Taymans <wim@fluendo.com>
6027 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6028 Don't overflow in retimestamping code.
6030 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6032 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6033 Use gst_util_guint64_to_gdouble for conversions.
6034 * win32/common/libgstreamer.def:
6035 Add new exported functions.
6037 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6040 Small docs addition.
6042 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6045 Remove that test line again.
6047 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6050 Test commit mail sending.
6052 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6055 Fix typo and test commit mail sending.
6057 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6059 * tests/examples/controller/audio-example.c:
6060 Improve comment and test commit mail sending.
6062 2007-06-07 Wim Taymans <wim@fluendo.com>
6064 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6065 (gst_bin_remove_func), (gst_bin_element_set_state),
6066 (bin_handle_async_start), (bin_handle_async_done),
6067 (gst_bin_handle_message_func):
6068 Add helper function to find messages.
6069 Generate the async-done messages together with the state change
6071 Small cleanups in handling toplevel bins.
6073 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6075 * libs/gst/base/gstdataqueue.c:
6076 * libs/gst/base/gstdataqueue.h:
6077 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6078 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6079 (gst_multi_queue_sink_event):
6080 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6081 Fix multiqueue leaking buffers and events when downstream or the
6082 queue are flushing. Make refcounting assumptions explicit and
6083 document them (shouldn't break existing code that uses it other than
6084 maybe leak miniobjects, but that already happens anyway). Add unit
6085 test for the most common flushing case. Fixes #423700.
6087 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6089 * libs/gst/controller/gstcontroller.c:
6090 Clarify docs: The get_all, get_value_array(s) functions
6091 don't modify the GObject properties.
6093 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6095 * libs/gst/controller/gstcontroller.c:
6096 (gst_controlled_property_set_interpolation_mode),
6097 (gst_controlled_property_prepend_default),
6098 (gst_controlled_property_new), (gst_controller_set_unlocked),
6099 (gst_controller_set), (gst_controller_set_from_list),
6100 (gst_controller_unset), (gst_controller_unset_all):
6101 * libs/gst/controller/gstcontrollerprivate.h:
6102 * libs/gst/controller/gstinterpolation.c:
6103 Factor out the 'set' logic into gst_controller_set_unlocked for the
6104 gst_controller_set and gst_controller_set_from_list functions.
6106 To make life of the interpolators easier always add a control point
6107 at timestamp zero with the default value.
6109 In the linear interpolator make things more obvious by better variable
6112 Implement cubic interpolation mode (by using a natural cubic spline)
6113 and map the quadratic interpolation mode to this too (as quadratic
6114 doesn't make much sense, see discussion on the list).
6116 * tests/check/libs/controller.c: (GST_START_TEST),
6117 (gst_controller_suite):
6118 Add unit test for the cubic interpolation mode and check everywhere
6119 if the interpolation mode could be set as expected.
6121 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6123 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6124 Don't use GLib-2.10 functions, we still depend on
6125 GLib-how-old-is-it-again-2.8.
6127 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6129 * docs/gst/gstreamer-sections.txt:
6133 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6134 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6135 (_gst_param_fraction_values_cmp),
6136 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6137 * gst/gstparamspecs.h:
6139 * tests/check/Makefile.am:
6140 * tests/check/gst/.cvsignore:
6141 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6142 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6143 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6144 (GST_START_TEST), (gst_param_spec_suite):
6145 API: add GstParamSpecFraction, so elements can have fraction
6146 properties without lots of painful string parsing (#444648).
6148 2007-06-05 Wim Taymans <wim@fluendo.com>
6150 * gst/gstobject.c: (gst_object_class_init):
6151 Fix signal signature.
6154 Add small clarification in the api docs.
6156 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6157 States are protected with object lock.
6159 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6162 I should probably be listed as an author by now.
6164 * docs/random/release:
6165 Update the release doc
6167 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6170 Make docs for gst_value_compare() mention return enums that
6173 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6178 === release 0.10.13 ===
6180 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6183 releasing 0.10.13, "With or without you"
6185 2007-05-25 Wim Taymans <wim@fluendo.com>
6187 * gst/gstbin.c: (bin_handle_async_done):
6188 Make sure that the child bin stops after completing the async state
6189 change so that the parent can continue the state change to PLAYING.
6192 2007-05-25 Wim Taymans <wim@fluendo.com>
6194 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6195 (unref_data), (gst_collect_pads_remove_pad),
6196 (gst_collect_pads_check_pads):
6197 Use additional refcounting to avoid crashes when dynamically adding and
6198 removing pads. Fixes #420206.
6200 2007-05-24 Wim Taymans <wim@fluendo.com>
6202 * tools/gst-launch.c: (event_loop):
6203 When buffering goes from a two digit to a single digit number, make sure
6204 to remove the old second digit by writing a blank over it.
6206 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6208 * libs/gst/base/gstdataqueue.c:
6209 Eliminate tabs and trailing comma in enum list; fix some typos.
6211 2007-05-24 Wim Taymans <wim@fluendo.com>
6213 * tests/check/gst/gstbin.c: (GST_START_TEST):
6214 Allow refcount of 3 and 4 because some state thread might still be busy
6217 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6219 * plugins/elements/Makefile.am:
6220 * plugins/elements/gstmultiqueue.h:
6221 * plugins/elements/gstqueue.h:
6222 These are not installed headers, no need for padding.
6224 2007-05-24 Wim Taymans <wim@fluendo.com>
6226 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6227 (gst_bin_continue_func):
6228 Enable latency for next release.
6229 Restore STATE_LOCK around recalc_state that was left out during the
6230 rewrite and could result in racy behaviour when _get_state and
6231 recalc_state are run concurrently. See #440463.
6233 2007-05-23 Wim Taymans <wim@fluendo.com>
6235 * tests/check/gst/gstsystemclock.c: (store_callback),
6237 Improve test_async_order to also work when both timers are already
6238 expired when we get scheduled to check it.
6240 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6242 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6243 (gst_bin_set_property), (gst_bin_get_property),
6244 (gst_bin_remove_func), (gst_bin_handle_message_func):
6246 'private' is a c++ keyword, let's not use that in header files,
6247 otherwise c++ compilers will throw a tantrum.
6249 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6251 * plugins/elements/gstelements.c:
6252 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6253 (gst_file_sink_get_current_offset):
6254 * plugins/indexers/gstindexers.c: (plugin_init):
6255 Use #ifdef for HAVE_XYZ for consistency.
6257 * tests/check/Makefile.am:
6258 * tests/check/elements/.cvsignore:
6259 * tests/check/elements/filesink.c: (setup_filesink),
6260 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6261 Add some unit tests for filesink.
6263 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6265 Patch by: Mark Nauwelaerts <manauw at skynet be>
6267 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6268 (gst_file_sink_query), (gst_file_sink_do_seek),
6269 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6270 * plugins/elements/gstfilesink.h:
6271 Fix position reporting; rename data_written member to current_pos to
6272 reflect its real meaning (fixes #412648).
6274 2007-05-22 Edward Hervey <edward@fluendo.com>
6276 * docs/gst/gstreamer-sections.txt:
6277 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6278 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6279 (gst_bin_remove_func), (gst_bin_handle_message_func):
6281 Add a property for bins that handle the state change of their childs.
6284 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6286 * libs/gst/controller/gstinterpolation.c:
6287 Use an array of the correct type when using _get_value_array with
6288 linear interpolation.
6290 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6292 * gst/gstelement.c (gst_element_requires_clock,
6293 gst_element_provides_clock, gst_element_request_pad,
6294 gst_element_class_set_details, gst_element_class_set_details_simple,
6295 gst_element_default_send_event, gst_element_abort_state,
6296 gst_element_continue_state, gst_element_set_state,
6297 gst_element_set_state_func, iterator_activate_fold_with_resync):
6298 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6299 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6300 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6301 gst_pad_get_range, gst_pad_pull_range):
6302 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6303 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6304 GstPadActivateModeFunction, GstPadChainFunction,
6305 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6306 GstPadFixateCapsFunction, GstPadTemplate):
6307 * gst/gstpipeline.c (gst_pipeline_change_state,
6308 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6309 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6310 gst_pipeline_get_delay):
6311 Whitespace and docs fixes.
6313 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6315 * libs/gst/controller/gstinterpolation.c:
6316 (interpolate_trigger_get_enum_value_array),
6317 (interpolate_trigger_get_string_value_array):
6318 Add support for retrieving value arrays when using the trigger
6321 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6323 * libs/gst/controller/gstcontroller.c:
6324 (gst_controller_get_value_array):
6325 * libs/gst/controller/gstcontroller.h:
6326 Clarify the docs of gst_controller_get_value_array(): The array where
6327 the values should be written to must be allocated as there seems to be
6328 no way to get the size of a random GType. This doesn't change any
6329 behaviour. Also fix some typos all over the place and remove an unused,
6330 commented function that is not necessary as g_object_set() could be
6332 * tests/check/libs/controller.c: (GST_START_TEST),
6333 (gst_controller_suite):
6334 Add unit test for gst_controller_get_value_array().
6336 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6338 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6340 Disable part of the gst_buffer_try_new_and_alloc test, because
6341 it can happily succeed on 64-bit systems where there's more address
6344 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6346 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6347 Add unit test for the improved caps checking from bug #421543.
6349 2007-05-21 Wim Taymans <wim@fluendo.com>
6351 * docs/design/part-synchronisation.txt:
6354 * gst/gstbin.c: (gst_bin_query):
6355 * plugins/elements/gstqueue.c: (apply_segment):
6361 2007-05-21 Wim Taymans <wim@fluendo.com>
6363 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6364 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6365 (gst_pad_configure_src):
6366 Added simple version of improved caps checking. It was previously
6367 assumed that a setcaps function would check the validity of the caps but
6368 people prefer us to check caps against the template automatically.
6371 2007-05-21 Wim Taymans <wim@fluendo.com>
6373 * libs/gst/base/gstbasetransform.h:
6374 Fix macro for locking/unlocking the transform lock.
6376 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6378 * docs/plugins/tmpl/.cvsignore:
6381 2007-05-18 Edward Hervey <edward@fluendo.com>
6383 * plugins/elements/gstqueue.c: (gst_queue_loop):
6384 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6385 for the subtle art of warning a potentially blocking thread that it
6386 should check the source pad return value, and relay the information
6389 2007-05-18 Edward Hervey <edward@fluendo.com>
6391 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6392 Release the queue lock !
6394 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6396 * docs/libs/gstreamer-libs-sections.txt:
6397 Add the two new controller functions to the appropiate places.
6399 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6401 reviewed by: Stefan Kost <ensonic@users.sf.net>
6403 * libs/gst/controller/gstcontroller.c:
6404 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6405 (_gst_controller_get_property), (_gst_controller_set_property),
6406 (_gst_controller_init), (_gst_controller_class_init):
6407 * libs/gst/controller/gstcontroller.h:
6408 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6409 (gst_object_get_control_rate), (gst_object_set_control_rate):
6410 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6411 Add API that provides sync suggestion timestamps for elements that
6412 call gst_object_sync_values() from which those elements can subdivide
6413 their processing loop to get the best results for the controlled
6414 properties. For now it just suggests last_sync + control_rate as
6415 new timestamp but this will be improved in the future.
6417 While doing that change the control-rate property to a GstClockTime
6418 from guint and change it's meaning from samples to nanoseconds as
6419 the GstController doesn't know anything about sampling rate. Strictly
6420 speaking this breaks ABI but as the control-rate property didn't do
6421 anything in the past and as such couldn't be used this should be no
6424 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6426 reviewed by: Stefan Kost <ensonic@users.sf.net>
6428 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6429 (gst_controller_unset_all):
6430 * libs/gst/controller/gstcontrollerprivate.h:
6431 * libs/gst/controller/gstinterpolation.c:
6432 (gst_controlled_property_find_control_point_node):
6433 Save last synced value from the list to continue searching from there
6434 in future syncs. This speeds everything up a bit.
6436 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6438 reviewed by: Stefan Kost <ensonic@users.sf.net>
6440 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6441 (gst_control_point_find), (gst_controlled_property_new),
6442 (gst_control_point_free), (gst_controlled_property_free),
6443 (gst_controller_set), (gst_controller_set_from_list),
6444 (gst_controller_unset), (gst_controller_unset_all),
6445 (gst_controller_sync_values):
6446 * libs/gst/controller/gstcontroller.h:
6447 * libs/gst/controller/gstcontrollerprivate.h:
6448 * libs/gst/controller/gstinterpolation.c:
6449 (gst_controlled_property_find_control_point_node),
6450 (interpolate_none_get), (interpolate_trigger_get):
6451 Add a new private GstControlPoint struct which "inherits" from
6452 GstTimedValue to allow different interpolators to store internal
6453 values next to each control point. From the outside everything is
6454 still a GstControlPoint so we don't loose binary compatibility.
6455 Also fixup all the GValue handling to not leak GValues or list nodes.
6456 * tests/check/libs/controller.c: (GST_START_TEST):
6457 Free the list nodes and GValues in the controller_misc test.
6459 2007-05-17 Edward Hervey <edward@fluendo.com>
6464 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6466 * gst/gstplugin.c: (gst_plugin_load_file):
6467 If we fail to load a plugin because of unresolved symbols or missing
6468 libraries and spew a warning to stderr, we may just as well mention
6469 which plugin it was that failed to load.
6471 2007-05-13 David Schleef <ds@schleef.org>
6473 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6474 handles the case when ENABLE_GTK_DOC is false, and installs
6475 the prebuilt documentation. So gtk-doc subdirs are
6476 unconditionally enabled. Fixes: #349099.
6478 2007-05-13 David Schleef <ds@schleef.org>
6480 * gst/gstutils.h: Reword some documentation.
6482 2007-05-12 David Schleef <ds@schleef.org>
6484 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6485 do anything with the passed "module" parameter, so remove it.
6486 Allows removal of additional vestigal code.
6488 2007-05-12 David Schleef <ds@schleef.org>
6491 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6492 Switch to using g_stat() because it's more portable.
6494 2007-05-12 David Schleef <ds@schleef.org>
6497 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6498 parsing for embedded systems.
6499 * gst/gstelementfactory.c:
6500 Allow gst_element_register() to be called with plugin==NULL.
6501 Did nobody notice that static elements were broken?
6503 2007-05-12 Wim Taymans <wim@fluendo.com>
6505 * tools/gst-launch.c: (event_loop):
6506 Give more interesting info when buffering starts and stops.
6507 Fix case where buffering starts but we fail to update the buffering flag
6508 because the target state is not PLAYING.
6510 2007-05-12 Wim Taymans <wim@fluendo.com>
6512 * plugins/elements/gstqueue.c: (gst_queue_init),
6513 (gst_queue_finalize), (update_time_level), (apply_segment),
6514 (apply_buffer), (gst_queue_locked_flush),
6515 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6516 (gst_queue_handle_sink_event), (gst_queue_chain),
6517 (gst_queue_push_one), (gst_queue_loop):
6518 * plugins/elements/gstqueue.h:
6519 Refactor an cleanup queue a bit.
6520 Do better time level calculations that also work when the srcpad is not
6522 Remove some unneeded debug lines.
6524 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6525 Added testcase for time level measurement.
6526 Try to make some stuff more racefree.
6528 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6530 * gst/gsturi.c: (gst_element_make_from_uri):
6531 Don't leak plugin feature.
6533 * tests/check/Makefile.am:
6534 * tests/check/gst/.cvsignore:
6535 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6536 Add brain-dead unit test.
6538 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6540 Patch by: Jeroen Wouters <woutersj at gmail com>
6542 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6543 Treat protocol strings in a case-insensitive way (#437563).
6545 2007-05-11 Michael Smith <msmith@fluendo.com>
6547 * gst/gstplugin.c: (gst_plugin_load_file):
6548 * gst/gstregistry.c: (gst_registry_scan_path_level):
6549 Don't print a g_warning for any failure to load a shared object.
6550 Instead, push this down into gstplugin.c, and warn _only_ if we
6551 failed to open the module (i.e. failure to link).
6552 Avoids warnings on normal, working, non-plugin .so files.
6554 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6556 * gst/gstplugin.c (gst_plugin_load_file):
6557 * gst/gstregistry.c (GST_CAT_DEFAULT,
6558 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6559 Print a g_warning if there was an error when loading a plugins during
6560 registry scan. The shuld help beginners starting with gst-plugin
6563 2007-05-10 Wim Taymans <wim@fluendo.com>
6565 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6566 (update_time_level), (gst_queue_locked_flush),
6567 (gst_queue_handle_sink_event), (gst_queue_chain),
6568 (gst_queue_push_one), (gst_queue_loop):
6569 * plugins/elements/gstqueue.h:
6570 Be smarter when calculating the current amount of data in the queue by
6571 measuring the difference between start and end timestamps (in running
6572 time) inside the queue. Fixes #432876.
6573 API: GstQueue::pushing to notify elements that we are pushing data again
6574 since the running signal is rather broken for this purpose.
6576 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6578 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6579 gst_queue_base_init, gst_queue_init):
6582 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6584 * win32/common/libgstreamer.def:
6585 Add new exported functions.
6586 * win32/vs6/grammar.dsp:
6587 Use grammar pre-generated files.
6589 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6591 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6594 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6596 * gst/gstutils.c: (gst_parse_bin_from_description):
6598 Maintain API and ABI when --disable-parse is used. Now that
6599 we have an appropriate error code, we can just return NULL and the
6600 appropriate error when gst_parse_launch() is used despite it having
6601 been disabled (#342564).
6603 * tests/check/Makefile.am:
6604 * tests/check/pipelines/.cvsignore:
6605 * tests/check/pipelines/parse-disabled.c:
6606 Make sure these functions exist and return NULL plus a GError when
6607 --disable-parse is used.
6609 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6611 * tests/benchmarks/complexity.c: (main):
6612 * tests/benchmarks/mass-elements.c: (main):
6613 Set a good example and don't leak messages.
6615 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6617 * docs/gst/Makefile.am:
6618 * docs/libs/Makefile.am:
6619 Correct fixxrefs options.
6621 * docs/plugins/Makefile.am:
6622 * docs/plugins/gstreamer-plugins-docs.sgml:
6623 * docs/plugins/gstreamer-plugins-sections.txt:
6624 * plugins/elements/Makefile.am:
6625 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6626 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6627 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6628 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6629 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6630 _GstCapsFilterClass, trans_class):
6631 * plugins/elements/gstelements.c (name, rank, type, _elements):
6632 * plugins/elements/gstidentity.c
6633 (gst_identity_check_imperfect_timestamp,
6634 gst_identity_check_imperfect_offset):
6635 Document capsfilter and add doc-blurb to identity.
6637 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6639 * libs/gst/controller/gstcontroller.c:
6640 (gst_controlled_property_set_interpolation_mode):
6641 * libs/gst/controller/gstinterpolation.c:
6642 Don't crash if someone tries to set an interpolation mode that
6643 is invalid or that isn't supported yet. Fixes #422295.
6645 * tests/check/libs/controller.c: (GST_START_TEST),
6646 (gst_controller_suite):
6647 Add a test case for the above.
6649 2007-05-03 Edward Hervey <edward@fluendo.com>
6651 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6652 Properly set the last_stop position on GstSegment. This will only happen
6653 if there is a buffer to push out.
6655 2007-05-03 Wim Taymans <wim@fluendo.com>
6657 * libs/gst/base/gstbasetransform.c:
6658 (gst_base_transform_buffer_alloc):
6659 always_in_place does not mean that the sink and source caps are the
6660 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6662 2007-05-03 Wim Taymans <wim@fluendo.com>
6664 * docs/libs/gstreamer-libs-sections.txt:
6665 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6666 (gst_base_src_default_query), (gst_base_src_get_range):
6667 * libs/gst/base/gstbasesrc.h:
6668 API: gst_base_src_query_latency(). Added method so that subclasses can
6669 easily get the latency values of the base source class.
6671 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6673 * tools/gst-inspect.c (print_implementation_info):
6676 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6678 * tools/Makefile.am:
6679 * tools/gst-launch.1.in:
6680 Don't create a customised man page based on the host architecture,
6681 describe the default registry path generically. That way the man
6682 page is the same for all architectures and packagers have one
6683 multilib issue less to deal with. Fixes #434926.
6685 2007-05-02 Wim Taymans <wim@fluendo.com>
6688 Fix documentation as spotted by rg on IRC.
6690 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6693 Improve docs for gst_element_{link,unlink}.
6695 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6697 * docs/design/part-events.txt:
6698 * docs/design/part-overview.txt:
6702 * libs/gst/base/gstbasesink.c:
6703 Typo fixes; minor docs addition.
6705 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6707 * docs/gst/gstreamer-sections.txt:
6708 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6709 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6711 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6712 or src that supports a given URI protocol exists.
6714 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6716 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6717 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6718 Set the location to NULL if "file://" is set as URI. Otherwise
6719 some random previous URI would still be set if "file://" is
6720 set on an already used filesink/filesrc.
6722 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6724 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6725 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6726 Special case the "file://" URI as as this is used by some
6727 applications to test with gst_element_make_from_uri if there's
6728 an element that supports the URI protocol.
6729 Also move the g_path_is_absolute() check for the location part
6730 of the URI to also check this for "file://localhost/bla" URIs.
6732 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6734 * docs/gst/gstreamer-sections.txt:
6735 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6737 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6739 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6741 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6743 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6744 (gst_registry_binary_load_pad_template),
6745 (gst_registry_binary_load_plugin),
6746 (gst_registry_binary_read_cache):
6747 * gst/gstregistrybinary.h:
6748 Implement no-mmap alternative for registry reading. Do code cleanups.
6749 Add more comments about avoiding strdups for all text data. Comments
6752 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6754 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6755 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6756 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6757 Comment structs and reformat to fix the build (that stuff should go
6758 into a priv. header).
6760 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6762 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6763 (gst_registry_binary_load_feature):
6764 * gst/gstregistrybinary.h:
6765 Refactor so that we can implement multiple features. Add support for
6766 TypeFindFactory features.
6768 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6770 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6773 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6775 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6777 * gst/gstbin.c: (gst_bin_element_set_state),
6778 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6779 (bin_handle_async_done), (gst_bin_handle_message_func):
6780 Fix build with --gst-disable-gst-debug
6782 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6784 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6785 Make sure streaming has finished before calling the ::stop() vfunc,
6786 since that vfunc might clear state which is being used in the
6787 streaming thread. This fixes a race that caused crashes in
6788 audioresample when shutting down a pipeline (#420106).
6790 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6792 * docs/gst/gstreamer-sections.txt:
6793 That was one byte missing.
6795 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6798 * docs/gst/gstreamer-sections.txt:
6800 * gst/gstconfig.h.in:
6801 * gst/gstobject.c: (gst_object_class_init),
6802 (gst_signal_object_class_init):
6804 2nd attempt to have a xml-less build as a joined effort of #413123
6807 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6809 * docs/design/draft-tagreading.txt:
6810 Added open issues/thoughts to draft.
6812 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6814 * gst/parse/grammar.tab.pre.c:
6815 * gst/parse/grammar.tab.pre.h:
6816 * gst/parse/lex._gst_parse_yy.pre.c:
6817 Update the prebuild parser sources.
6819 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6821 * gst/parse/Makefile.am:
6822 And now fix the building of the flex sources. Now everything should
6825 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6827 * gst/parse/Makefile.am:
6828 Now hopefully fix the build failures by setting proper rule
6829 dependencies and moving instead of copying.
6831 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6833 * tests/benchmarks/complexity.gnuplot:
6834 * tests/benchmarks/complexity.scm:
6835 * tests/benchmarks/mass-elements.gnuplot:
6836 * tests/benchmarks/mass-elements.scm:
6837 Total licensification.
6839 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6841 * gst/parse/Makefile.am:
6842 Fix the build by correcting the rule that gave wrong files to flex.
6844 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6846 * tests/benchmarks/complexity.c:
6847 * tests/benchmarks/mass-elements.c:
6848 Change licence to LGPL as granted by Benjamin and Andy.
6850 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6852 * gst/parse/Makefile.am:
6853 Add correct grammar.tab.h dependency if compiling without new enough
6854 flex. Fixes #431150.
6856 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6858 * gst/parse/Makefile.am:
6859 Fix typo and use outdated sources if the flex/bison sources are newer
6860 than the pregenerated ones but flex is too old. Print a warning in
6861 that case. This should fix the build on the build bot.
6863 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6865 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6866 * gst/parse/Makefile.am:
6867 * gst/parse/grammar.y:
6868 * gst/parse/parse.l:
6869 Make the parser reentrant and recursively callable. This requires flex
6870 >= 2.5.31, for older versions pregenerated sources are used as we
6871 can't bump the build dependency. Finally fixes #349180.
6873 * gst/gstparse.c: (gst_parse_launch):
6874 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6877 * docs/gst/Makefile.am:
6878 * docs/gst/Makefile.am:
6879 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6880 (__gst_parse_strfree), (__gst_parse_link_new),
6881 (__gst_parse_link_free), (__gst_parse_chain_new),
6882 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6883 (gst_parse_element_set), (gst_parse_free_link),
6884 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6885 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6886 (_gst_parse_launch):
6887 * gst/parse/grammar.tab.pre.h:
6888 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6889 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6890 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6891 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6892 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6893 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6894 (_gst_parse_yypop_buffer_state),
6895 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6896 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6897 (yy_fatal_error), (_gst_parse_yyget_extra),
6898 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6899 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6900 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6901 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6902 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6903 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6904 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6905 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6906 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6907 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6908 (_gst_parse_yyfree):
6909 If the installed flex version is too old use pre-generated parser
6910 sources. These pre-generated parser sources are always updated when
6911 the actual flex/bison sources change but require everybody who wants
6912 to change something in the parser to have flex >= 2.5.31 installed.
6914 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6916 * common/m4/gst-gettext.m4:
6917 * gst/gst-i18n-lib.h:
6918 Make --disable-nls to work
6920 2007-04-17 Wim Taymans <wim@fluendo.com>
6922 * gst/gstconfig.h.in:
6923 Revert previous change that broke the build.
6925 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6929 * gst/gstconfig.h.in:
6930 Drop libxml2 dependency when building with
6931 --enable-binary-registry --disable-loadsave
6933 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6935 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6936 (gst_registry_binary_read_cache):
6937 * gst/gstregistrybinary.h:
6938 Remove unnecessary <sys/mman.h> include which broke the win32 build
6939 with MingW; move includes from header file to .c file, even if the
6940 header file isn't installed; use g_strerror() where UTF-8 strings
6941 are expected, such as in GST_DEBUG messages.
6943 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6945 * docs/libs/gstreamer-libs-sections.txt:
6946 Remove bogus addition for API I didn't end up keeping.
6948 * libs/gst/base/gstbasesrc.h:
6949 Mention Since: 0.10.13 in the documentation.
6951 Add the API keyword to the previous ChangeLog entry.
6953 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6955 * docs/libs/gstreamer-libs-sections.txt:
6956 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6957 (gst_base_src_default_prepare_seek_segment),
6958 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6959 * libs/gst/base/gstbasesrc.h:
6960 Allow basesrc derived classes to execute seeks in other formats
6961 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6962 to prepare the GstSegment in any format that their perform_seek method
6963 will be able to understand. The default implementation provides the
6964 old behaviour of attempting to convert the seek offsets to the
6965 configured native format.
6967 API: basesrc::prepare_seek_segment vmethod.
6969 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6971 * gst/gstelement.c: (gst_element_get_state_func):
6972 Don't output the same debug statement twice.
6974 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6975 (gst_adapter_peek), (gst_adapter_take_buffer):
6976 Optimise the case where we have buffers at the head of the queue that
6977 can be joined quickly (because they're contiguous sub-buffers) by
6978 merging them together rather than copying data out into new memory.
6980 * gst/parse/grammar.y:
6981 * tests/check/pipelines/parse-launch.c:
6982 Fix a leak in an error path for parse_launch, and add a check
6983 for it to the testsuite.
6985 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6987 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6988 Don't deadlock when releasing a pad - gst_pad_set_active may try
6989 and take the multiqueue lock too.
6991 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
6993 * gst/gsterror.c: (_gst_core_errors_init):
6995 API: add GST_CORE_ERROR_DISABLED (#392804).
6997 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6999 * docs/faq/gst-uninstalled:
7000 don't get empty paths on the PATH variables
7001 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
7002 Don't format for the uncommon terminal width of 84 characters.
7004 2007-04-06 Wim Taymans <wim@fluendo.com>
7006 * gst/gstpipeline.c: (reset_stream_time),
7007 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
7008 Only try to select a different pipeline clock when we went back to
7009 PAUSED and not when we merely got flushed.
7011 2007-04-05 Michael Smith <msmith@fluendo.com>
7013 * tools/gst-launch.1.in:
7014 fractions are better supported in gstreamer than ractions, so
7015 suggest using those.
7017 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7019 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7023 Added Danish translation.
7025 2007-04-05 Wim Taymans <wim@fluendo.com>
7027 * libs/gst/base/gstbasesink.c:
7028 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7029 Fix leak caused when refusing newsegment after EOS.
7031 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7032 (gst_fake_sink_init), (gst_fake_sink_set_property),
7033 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7034 (gst_fake_sink_render), (gst_fake_sink_change_state):
7035 * plugins/elements/gstfakesink.h:
7036 Add num-buffers property to make the element generate EOS after a
7037 configurable amount of buffers.
7038 API: fakesink::num-buffers property.
7040 * tests/check/elements/fakesink.c: (GST_START_TEST),
7042 Fix GstBus leak in test.
7043 Test for fakesink num-buffers.
7045 2007-04-05 Wim Taymans <wim@fluendo.com>
7047 * libs/gst/base/gstbasesink.c:
7048 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7049 (gst_base_sink_change_state):
7050 Don't accept anything after an EOS, return UNEXPECTED instead.
7052 * tests/check/elements/fakesink.c: (GST_START_TEST),
7054 Unit test for new EOS behaviour.
7056 2007-04-05 Wim Taymans <wim@fluendo.com>
7058 * gst/gstelement.c: (gst_element_get_request_pad):
7059 Make padtemplates also work when they don't contain %s or %d.
7061 2007-04-05 Wim Taymans <wim@fluendo.com>
7063 * docs/gst/gstreamer-sections.txt:
7064 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7065 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7067 Improve _adjust_unlocked() so that it overflows less.
7068 Add gst_clock_unadjust_unlocked to convert from external time to
7069 internal time based on calibration.
7070 Add some more debug.
7071 API: GstClock::gst_clock_unadjust_unlocked()
7073 2007-04-03 Wim Taymans <wim@fluendo.com>
7075 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7077 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7078 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7079 when releasing sink pad. Fixes #425400.
7081 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7083 * docs/random/ensonic/dynlink.txt:
7084 More work on proposal for new core api.
7086 * docs/libs/gstreamer-libs-sections.txt:
7087 * libs/gst/base/gstbasetransform.h:
7088 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7090 * libs/gst/controller/gstcontroller.c:
7091 (on_object_controlled_property_changed),
7092 (gst_controller_sync_values),
7093 (gst_controller_set_interpolation_mode):
7094 * libs/gst/controller/gstcontroller.h:
7095 Less verbose logging add docs for unimplemented parts and correctly
7096 return when using unavailable parts.
7098 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7100 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7101 Move all the debug to the CLOCK category, and associate it with
7104 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7106 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7107 Make take_buffer a bit quicker by removing redundant checks
7108 caused by calling gst_adapter_take.
7110 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7112 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7115 * tests/check/Makefile.am:
7116 * tests/check/elements/.cvsignore:
7117 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7118 (GST_START_TEST), (multiqueue_suite):
7119 Add some dead simple unit tests for the 'multiqueue' element
7120 (some bits don't work yet and are disabled for now).
7122 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7124 * gst/gstelement.c: (gst_element_get_request_pad),
7125 (gst_element_class_get_request_pad_template):
7126 Make gst_element_get_request_pad() create request pads only for
7127 request pad templates and not for, say, sometimes pad templates.
7129 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7131 * docs/design/draft-klass.txt:
7132 Add example that needs more thinking.
7134 * docs/design/draft-missing-plugins.txt:
7135 More thoughts about wrapper plugins.
7137 * docs/random/ensonic/embedded.txt:
7138 * docs/random/ensonic/profiling.txt:
7141 2007-03-25 Wim Taymans <wim@fluendo.com>
7143 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7144 (gst_base_src_loop):
7145 Only push the segment events in the PLAYING state for live sources.
7147 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7149 * gst/gstpipeline.c: (gst_pipeline_change_state):
7150 Modify the clock distribution path in PAUSED->PLAYING so that we
7151 never attempt to choose a new clock unless we're actually leaving
7152 the PAUSED state for the first time. This prevents choosing a
7153 different clock when the state_change gets called for a 2nd time due
7154 to some element doing an async state change.
7156 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7158 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7159 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7160 (gst_pad_chain_unchecked), (gst_pad_push):
7161 Revert last commit. This needs some more thoughts.
7163 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7165 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7166 (gst_pad_chain_unchecked), (gst_pad_push):
7167 Check in set_caps if the caps are compatible with the pad and remove
7168 two functions that are redundant now. Fixes #421543.
7170 2007-03-22 Wim Taymans <wim@fluendo.com>
7172 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7173 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7174 Unref some more to make valgrind happy.
7176 2007-03-22 Wim Taymans <wim@fluendo.com>
7178 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7179 (gst_system_clock_id_wait_jitter),
7180 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7181 Fix anoying regression that survived a few releases. When adding an
7182 async entry while blocking on a sync entry, the sync entry will unblock
7183 but still be busy, so it should continue to wait instead of returning
7185 Add some comments here and there.
7187 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7188 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7189 Add testcase for this.
7191 2007-03-22 Wim Taymans <wim@fluendo.com>
7193 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7194 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7195 WRONG_STATE and can silently pause the task. All other cases should
7198 2007-03-22 Wim Taymans <wim@fluendo.com>
7200 Patch by: Ville Syrjala <syrjala at sci dot fi>
7202 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7203 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7206 2007-03-21 Michael Smith <msmith@fluendo.com>
7208 * docs/pwg/advanced-types.xml:
7209 Fix some errors in the typefinding docs pointed out on irc.
7211 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7213 * libs/gst/base/gstbasesrc.c:
7214 Clarify FIXME comment in the face of having added unlock_stop()
7216 2007-03-21 Wim Taymans <wim@fluendo.com>
7218 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7219 Prepare for release where we warn against possible app breakage in the
7220 case of live pipelines along with an env var to enable/disable live
7221 preroll mode (GST_COMPAT=[no-]live-preroll).
7223 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7225 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7226 So we should use correct constants for checking for None offset.
7228 2007-03-20 Wim Taymans <wim@fluendo.com>
7230 * docs/design/part-block.txt:
7231 Mention the fact that the newly switched element should be set to at
7234 2007-03-20 Wim Taymans <wim@fluendo.com>
7237 Fix compilation with registry disabled as spotted by Saur.
7239 2007-03-20 Wim Taymans <wim@fluendo.com>
7241 Patch by: Olivier Crete <tester at tester dot ca>
7243 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7244 Look at the pending state too when syncing the element state to the
7245 parent. Fixes #420133.
7247 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7249 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7250 (gst_base_sink_change_state):
7251 * libs/gst/base/gstbasesink.h:
7252 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7253 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7254 (gst_base_src_deactivate):
7255 * libs/gst/base/gstbasesrc.h:
7256 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7257 for sub-classes to correctly clear any state they set trying to
7258 unlock, such as clearing out unlock commands from a command fd.
7259 API: basesrc::unlock_stop
7260 API: basesink::unlock_stop
7262 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7263 (gst_fd_sink_render), (gst_fd_sink_unlock),
7264 (gst_fd_sink_unlock_stop):
7265 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7266 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7267 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7269 Implement unlock_stop in fdsrc and fdsink.
7270 Implement seeking in fdsrc when a seekable fd is passed, as in
7271 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7273 2007-03-19 Wim Taymans <wim@fluendo.com>
7275 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7277 * gst/gstelement.c: (gst_element_class_init):
7278 Fix pad-added and pad-removed signal signatures so that the pad type is
7279 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7281 2007-03-19 Wim Taymans <wim@fluendo.com>
7283 * docs/gst/gstreamer-sections.txt:
7284 Add new element field and method.
7286 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7287 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7288 (gst_bin_recalc_state), (gst_bin_get_state_func),
7289 (gst_bin_element_set_state), (gst_bin_change_state_func),
7290 (gst_bin_continue_func), (bin_bus_handler),
7291 (bin_push_state_continue), (bin_handle_async_start),
7292 (bin_handle_async_done), (gst_bin_handle_message_func):
7293 Make async state changes a bit smarter by using new ASYNC_START and
7294 ASYNC_DONE messages. This reduces the number of times we run the state
7295 recalculation thread.
7296 Don't change state of element with a pending ASYNC_START message.
7297 Deprecate STATE_DIRTY messages.
7299 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7300 (gst_element_get_state_func), (gst_element_continue_state),
7301 (gst_element_lost_state), (gst_element_set_state_func),
7302 (gst_element_change_state):
7304 Keep the state that was last set by the app in a new element field.
7305 Don't allow state changes when handling an element event.
7306 Post ASYNC_START and ASYNC_DONE messages.
7307 Change lost_state so that we go to PAUSED and wait for the parent to set
7308 us to PLAYING again (so latency calculation can be performed)
7309 Export gst_element_change_state() method so that subclasses can use it.
7310 API: gst_element_change_state()
7311 API: GST_STATE_TARGET
7313 * gst/gstpipeline.c: (gst_pipeline_class_init),
7314 (reset_stream_time), (gst_pipeline_change_state),
7315 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7316 Using the new ASYNC_START message we can reset the base_time when
7317 needed. This can then be used to implement base_time redistribution in
7318 flushing seeks so that we can remove the explicit seek handling.
7319 Perform latency query and configuration when going to PLAYING.
7321 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7322 (gst_base_sink_query), (gst_base_sink_change_state):
7323 Post new ASYNC_START/ASYNC_DONE messages.
7325 * tests/check/generic/sinks.c: (GST_START_TEST):
7326 Fix test because the bin will not set the async element to PLAYING right
7329 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7330 Make the message check a little stronger.
7331 Handle ASYNC messages.
7333 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7334 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7335 Expect ASYNC_DONE messages.
7337 2007-03-19 Wim Taymans <wim@fluendo.com>
7339 * docs/gst/gstreamer-sections.txt:
7340 * gst/gstmessage.c: (gst_message_new_async_start),
7341 (gst_message_new_async_done), (gst_message_parse_info),
7342 (gst_message_parse_async_start):
7344 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7347 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7349 * tools/gst-inspect.c:
7350 (print_plugin_automatic_install_info_codecs):
7351 Now that we don't check for the 'Codec' keyword any longer in the
7352 klass, we shouldn't spew a warning if the klass isn't a decoder or
7353 encoder (since it might be a Source/Network, for example).
7355 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7357 * tools/gst-inspect.c:
7358 (print_plugin_automatic_install_info_codecs):
7359 Don't require decoder/demuxer/depayloader elements or
7360 encoder/muxer/paylader elements to have 'Codec' as part of their
7361 factory class string when introspecting a plugin's capabilities.
7362 draft-klass.txt mentions that it might be removed in future, and
7363 flump3dec doesn't have it as part of its class string, so chances
7364 are others might also not have it.
7366 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7388 Update translations from translation project
7390 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7392 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7393 (gst_child_proxy_set_property):
7394 Invert precondition check to be alike the ones in the mimiced gobject
7397 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7399 * docs/design/draft-tagreading.txt:
7400 * docs/random/ensonic/audiobaseclasses.txt:
7401 Do some Architect work.
7403 * gst/gstobject.c: (gst_object_set_name):
7407 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7409 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7411 * gst/gstsystemclock.c: (gst_system_clock_init),
7412 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7413 Defer starting the async system clock thread until the first async
7414 wait is scheduled. Fixes #414986.
7416 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7418 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7419 (gst_single_queue_free):
7420 Fix small leak (free GstSingleQueue structure too, not only contents).
7422 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7424 * gst/gstbin.c:(gst_bin_add):
7425 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7426 * win32/common/libgstbase.def:
7427 * win32/common/libgstreamer.def:
7428 Add new exported functions.
7430 2007-03-09 Wim Taymans <wim@fluendo.com>
7432 * docs/plugins/gstreamer-plugins-sections.txt:
7435 2007-03-09 Wim Taymans <wim@fluendo.com>
7437 * docs/gst/gstreamer-sections.txt:
7438 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7440 Add metadata copy functions. Fixes #393099.
7441 API: gst_buffer_copy_metadata()
7443 * gst/gstutils.c: (gst_buffer_stamp):
7444 * libs/gst/base/gstbasetransform.c:
7445 (gst_base_transform_prepare_output_buffer):
7446 Use new metadata copy functions.
7448 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7450 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7451 (gst_identity_init), (gst_identity_check_perfect),
7452 (gst_identity_check_imperfect_timestamp),
7453 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7454 (gst_identity_set_property), (gst_identity_get_property):
7455 * plugins/elements/gstidentity.h:
7456 Separate out check-imperfect-timestamp and check-imperfect-offset.
7457 Put back check-perfect as it was to keep compatibility.
7459 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7461 * gst/gstelement.c: (gst_element_dispose):
7462 There's no need to warn if VOID_PENDING is not NONE here, as
7463 long as the state is NULL it's ok, and that's checked immediately
7466 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7468 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7469 Fix check for perfect stream to ignore buffers with -1
7470 offsets/offset ends when checking data contiguity.
7472 2007-03-08 Wim Taymans <wim@fluendo.com>
7474 * tools/gst-launch.c: (event_loop):
7475 Print INFO messages.
7477 2007-03-08 Wim Taymans <wim@fluendo.com>
7479 * libs/gst/base/gstbasetransform.c:
7480 (gst_base_transform_sink_eventfunc),
7481 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7482 (gst_base_transform_activate):
7483 * libs/gst/base/gstbasetransform.h:
7484 Add support for dropping buffers with custom GstFlowReturn.
7485 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7486 buffers or dropped buffers.
7488 * docs/libs/gstreamer-libs-sections.txt:
7489 docs for new custom return code.
7491 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7492 Use drop support in base class to implement drop-probability.
7494 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7496 * gst/gst.c: (load_plugin_func):
7497 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7498 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7499 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7500 Remove newlines at end of debug log strings.
7502 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7504 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7505 Only post bus message at max, once per buffer received.
7507 2007-03-07 Wim Taymans <wim@fluendo.com>
7509 * docs/design/Makefile.am:
7510 * docs/design/part-synchronisation.txt:
7511 Add doc about synchronisation
7513 * docs/design/draft-latency.txt:
7514 * docs/design/part-TODO.txt:
7515 * docs/design/part-clocks.txt:
7516 * docs/design/part-events.txt:
7517 * docs/design/part-gstbus.txt:
7518 * docs/design/part-gstpipeline.txt:
7519 * docs/design/part-live-source.txt:
7520 * docs/design/part-messages.txt:
7521 * docs/design/part-overview.txt:
7522 * docs/design/part-streams.txt:
7523 * docs/design/part-trickmodes.txt:
7524 Documentation updates.
7526 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7529 Update the doap file.
7531 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7533 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7534 Rename non-perfect to imperfect for Mike and for the sanctity of the
7536 Also make sure bus message gets emitted for data-incontiguities.
7538 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7540 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7541 (gst_identity_start):
7542 * plugins/elements/gstidentity.h:
7543 Emit bus message if check-perfect is true and we encounter a
7544 non-perfect stream between 2 consecutive buffers.
7547 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7552 === release 0.10.12 ===
7554 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7557 releasing 0.10.12, "Inevitable Demise"
7559 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7562 Version 0.10.11.2 (0.10.12 pre-release)
7563 Bump libtool versioning.
7565 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7567 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7568 Log flow-names and not numbers.
7570 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7573 Convert to new AG_GST style.
7575 2007-02-28 Wim Taymans <wim@fluendo.com>
7577 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7578 Don't unref query twice.
7580 2007-02-28 Wim Taymans <wim@fluendo.com>
7582 * gst/gstvalue.c: (gst_value_transform_object_string),
7583 (_gst_value_initialize):
7584 Implement GstObject -> string transform so we print object names
7585 when serializing GValues containing GstObjects.
7587 2007-02-28 Wim Taymans <wim@fluendo.com>
7589 * docs/gst/gstreamer-sections.txt:
7590 Add new stuff to docs.
7592 2007-02-28 Wim Taymans <wim@fluendo.com>
7594 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7595 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7596 (gst_base_sink_change_state):
7597 Improve latency query code.
7598 Don't leak latency events.
7600 * tests/check/gst/gstbin.c: (GST_START_TEST):
7603 2007-02-28 Wim Taymans <wim@fluendo.com>
7605 * gst/gstelement.c: (gst_element_message_full),
7606 (gst_element_get_state_func):
7608 Improve docs a little. Added Since: for new macro.
7610 * gst/gstobject.c: (gst_object_sink):
7611 * gst/gstpipeline.c: (gst_pipeline_change_state),
7612 (gst_pipeline_set_new_stream_time):
7613 * gst/gstpipeline.h:
7614 Improve debugging and docs.
7616 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7619 2007-02-28 Wim Taymans <wim@fluendo.com>
7621 * gst/gstelement.c: (gst_element_message_full),
7622 (gst_element_set_locked_state), (gst_element_get_state_func),
7623 (gst_element_change_state):
7624 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7625 Documentation updates.
7626 Small code cleanups.
7628 * gst/gstmessage.c: (gst_message_new_info),
7629 (gst_message_parse_info):
7631 API: gst_message_new_info()
7632 API: gst_message_parse_info()
7633 Add INFO message create and parse code.
7635 2007-02-28 Wim Taymans <wim@fluendo.com>
7637 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7638 (bin_query_latency_done):
7639 Also report the live parameter of a latency query.
7641 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7643 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7644 Copy the current generic/states example from -base and adapt so
7645 we can use the exact same code everywhere.
7646 Check a STATES_IGNORE_ELEMENTS env var which can be used
7647 to ignore certain element factories for this test, which is
7648 what is being done in -base
7649 * tests/check/Makefile.am:
7650 Mention this environment variable.
7652 2007-02-27 Wim Taymans <wim@fluendo.com>
7654 * docs/gst/gstreamer-sections.txt:
7655 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7656 (gst_bus_timed_pop), (gst_bus_pop):
7658 API: gst_bus_timed_pop()
7659 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7660 message to arrive on the bus.
7662 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7664 Two unit tests for new _timed_pop() function.
7666 2007-02-23 Wim Taymans <wim@fluendo.com>
7668 * gst/gstpipeline.c: (gst_pipeline_change_state),
7669 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7670 Don't ref a NULL clock in _provide_clock_func().
7671 Don't allow an INVALID delay.
7672 Don't try to calculate base_time with an invalid start_time.
7673 Also distribute and notify a NULL clock when it was selected.
7675 * tools/gst-launch.c: (event_loop):
7676 Don't crash when a NULL clock was selected in the pipeline.
7678 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7680 * docs/design/Makefile.am:
7681 * docs/design/draft-missing-plugins.txt:
7682 * docs/random/draft-missing-plugins.txt:
7683 Some small updates: update plugin system identifier prefix
7684 ('gstreamer.net' to 'gstreamer'), mention our new install
7685 API in libgstbaseutils rather than libgimme-codec, add
7686 reference to the online docs.
7688 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7690 * win32/common/config.h:
7691 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7692 use moap cl ci to only check in what is mentioned in the ChangeLog.
7694 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7696 * docs/gst/gstreamer-sections.txt:
7698 Fix up documentation to link to the correct GstGError section.
7699 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7701 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7703 * tools/gst-launch.c: (event_loop):
7704 Make sure that we actually show the important message part of a
7706 No need to check if the gerror is not NULL to free; first of all
7707 g_free accepts NULL; and second the default error handler would
7708 segfault if gerror was NULL.
7710 2007-02-21 Wim Taymans <wim@fluendo.com>
7712 * docs/gst/gstreamer-sections.txt:
7713 Removed docs as well.
7715 2007-02-21 Wim Taymans <wim@fluendo.com>
7717 * gst/gstmessage.c: (gst_message_parse_duration):
7719 Remove new messages for release.
7721 2007-02-20 Wim Taymans <wim@fluendo.com>
7723 * docs/design/part-gstghostpad.txt:
7724 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7725 (gst_ghost_pad_new_full):
7726 Make the ghostpad a parent of the internal pad again for better backward
7727 compatibility. Don't write code that relies on this however.
7729 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7730 (gst_pad_link_check_hierarchy):
7731 Require that parents should be GstElements in the hierarchy check.
7733 2007-02-20 Wim Taymans <wim@fluendo.com>
7735 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7736 (gst_bin_change_state_func), (bin_query_min_max_init),
7737 (bin_query_latency_fold), (bin_query_latency_done),
7740 Implement latency query.
7742 2007-02-20 Wim Taymans <wim@fluendo.com>
7744 * docs/design/part-gstghostpad.txt:
7745 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7746 (gst_ghost_pad_internal_do_activate_push),
7747 (gst_ghost_pad_internal_do_activate_pull),
7748 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7749 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7750 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7751 Do not set the internal pad as a parent anymore so we can avoid
7752 hierarchy linking errors when the ghostpad has no parent yet. This also
7753 fixes failed activation because of unlinked internal pads, which in
7754 turn fixes the impossible case where you have to activate a pad before
7755 you can add it to a running element.
7758 * gst/gstpad.c: (pre_activate), (post_activate),
7759 (gst_pad_set_active), (gst_pad_activate_pull),
7760 (gst_pad_activate_push), (gst_pad_check_pull_range):
7761 Add some more debug info.
7762 Mark activation mode in pre_activate so that we don't try to activate in
7763 endless loops. Fixes #385084.
7765 2007-02-19 Wim Taymans <wim@fluendo.com>
7767 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7768 (gst_base_transform_check_get_range):
7769 Implement a checkgetrange function instead of relying on the default
7770 core behaviour that assumes we can operate in pull mode if we have a
7771 getrange function. First step at fixing #385084.
7773 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7775 * gst/gstchildproxy.h:
7776 * libs/gst/base/gstbasesink.h:
7777 * libs/gst/base/gstbasesrc.h:
7778 * libs/gst/base/gstbasetransform.h:
7779 More docs coverage and some ChangeLog surgery (add missing names)
7781 2007-02-15 Wim Taymans <wim@fluendo.com>
7783 * docs/design/part-TODO.txt:
7784 * docs/design/part-activation.txt:
7785 * docs/design/part-block.txt:
7786 * docs/design/part-buffering.txt:
7787 * docs/design/part-clocks.txt:
7788 * docs/design/part-element-source.txt:
7789 * docs/design/part-events.txt:
7790 * docs/design/part-gstbin.txt:
7791 * docs/design/part-gstbus.txt:
7792 * docs/design/part-gstpipeline.txt:
7793 * docs/design/part-live-source.txt:
7794 * docs/design/part-messages.txt:
7795 * docs/design/part-overview.txt:
7796 * docs/design/part-qos.txt:
7797 * docs/design/part-query.txt:
7798 * docs/design/part-states.txt:
7799 * docs/design/part-trickmodes.txt:
7800 Some doc updates. Start renaming from stream_time to running_time where
7801 it was used wrongly.
7803 2007-02-15 Wim Taymans <wim@fluendo.com>
7805 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7806 Answer LATENCY query.
7808 2007-02-15 Wim Taymans <wim@fluendo.com>
7810 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7814 2007-02-15 Wim Taymans <wim@fluendo.com>
7816 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7817 (gst_pad_dispatcher):
7818 Improve debugging of default pad dispatcher and query functions.
7820 2007-02-15 Wim Taymans <wim@fluendo.com>
7822 * docs/gst/gstreamer-sections.txt:
7823 Remove old unused method.
7825 2007-02-13 Wim Taymans <wim@fluendo.com>
7827 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7830 2007-02-13 Wim Taymans <wim@fluendo.com>
7832 * docs/design/part-seeking.txt:
7835 * gst/gstsegment.c: (gst_segment_set_seek):
7836 Revert old bogus change that should make seeking work again.
7838 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7840 * docs/random/ensonic/dynlink.txt:
7841 * docs/random/ensonic/interfaces.txt:
7842 * docs/random/ensonic/receipies.txt:
7843 Possible dynamic reconnection api, plus some type fixes the other two
7846 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7848 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7849 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7850 Also check for an absolute path following file:// in the filesrc
7851 element. Remove redundant check and call g_path_is_absolute() on the
7854 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7856 * docs/design/draft-klass.txt:
7857 Add existing category analysis.
7860 Fix doc example, framerate is a fraction.
7862 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7865 * docs/gst/Makefile.am:
7866 * docs/gst/gstreamer-sections.txt:
7867 * docs/libs/Makefile.am:
7868 Erm, forgot a bunch of --extra-dir.
7870 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7873 * docs/gst/Makefile.am:
7874 * docs/libs/Makefile.am:
7875 * docs/plugins/Makefile.am:
7876 Add crossreferences to glib/gobject docs.
7878 2007-02-12 Wim Taymans <wim@fluendo.com>
7880 * docs/design/draft-latency.txt:
7883 * docs/libs/gstreamer-libs-sections.txt:
7884 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7885 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7886 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7887 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7888 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7889 (gst_base_sink_get_position), (gst_base_sink_query),
7890 (gst_base_sink_change_state):
7891 * libs/gst/base/gstbasesink.h:
7892 API: gst_base_sink_query_latency() to let subclasses query the upstream
7894 API: gst_base_sink_get_latency() to let subclasses query the configured
7895 latency in the sink.
7896 Implement query and set latency.
7898 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7899 don't continue preroll when we are flushing. Fixes #405284.
7901 * tests/check/pipelines/stress.c: (change_state_timeout),
7902 (quit_timeout), (GST_START_TEST), (stress_suite):
7905 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7907 Patch by: René Stadler <mail at renestadler de>
7909 * docs/gst/gstreamer-sections.txt:
7910 * gst/gsttaglist.c: (_gst_tag_initialize):
7912 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7914 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7916 * docs/libs/Makefile.am:
7917 Fix path to core docs.
7919 * gst/gstbin.c: (gst_bin_get_by_interface),
7920 (gst_bin_iterate_all_by_interface):
7921 Refix docs by also renaming 'interface' to 'iface' in implementation.
7923 * docs/gst/gstreamer-sections.txt:
7925 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7926 * gst/gstchildproxy.h:
7927 * gst/gstelementfactory.c:
7928 * gst/gstpadtemplate.h:
7929 * libs/gst/controller/gstcontroller.c:
7930 (gst_controlled_property_new):
7933 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7935 * gst/gstbin.h:(gst_bin_get_by_interface),
7936 (gst_bin_iterate_all_by_interface):
7937 Replace interface parameter name by iface as interface is
7938 a reserved keyword in Visual Studio for C++ projects so it removes
7939 a build error for application developpers using VS.
7940 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7941 Fix a bug on Windows in uri format check. Now the prefix checked
7942 is file:// and next we check if the path after file:// is absolute.
7943 * win32/common/libgstbase.def:
7944 * win32/common/libgstdataprotocol.def:
7945 * win32/common/libgstgstreamer.def:
7946 Add new exported functions.
7948 2007-02-09 Andy Wingo <wingo@pobox.com>
7950 * tests/check/pipelines/simple-launch-lines.c
7951 (simple_launch_lines_suite, test_tee): Disable tee test until I
7952 have time to fix it :-(
7954 * tests/check/Makefile.am (noinst_HEADERS):
7955 * tests/check/libs/libsabi.c:
7956 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7957 * tests/check/gst/gstabi.c:
7958 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7960 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7961 tests for push and pull tee behavior.
7963 * plugins/elements/gsttee.h:
7964 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7965 mark as deprecated as well as unimplemented. It was a crack idea.
7966 Add support for tee operating in pull mode, off by default.
7968 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7969 normal-case logs down to LOG, raise errors to WARNING.
7970 (gst_registry_xml_read_cache): Don't log before calling a function
7973 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7974 exit (registry finalize).
7975 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7976 DEBUG log when we emit signals that people don't even have the
7977 chance to connect to.
7978 (gst_registry_scan_path_level): Less logging in the normal case.
7980 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7982 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7984 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7985 Correctly generate EOS for non-seekable files. We don't have a total
7986 length for them and would get an unexpected end of file if we only
7987 special-cased for regular files. (Fixes: #404569)
7989 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7991 * tests/check/elements/filesrc.c: (GST_START_TEST),
7993 Add unit test for the GstURIHandler interface in filesrc. This also
7994 tests the newly added file://localhost/foo/bar support.
7996 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
7998 * gst/gstelementfactory.h:
7999 The klass string is not a hierarchy. Add reference to the design doc
8000 for more information and common types.
8002 2007-02-02 Wim Taymans <wim@fluendo.com>
8004 * gst/gstquery.c: (gst_query_new_latency):
8005 Remove old structure field.
8007 2007-02-02 Stefan Kost <ensonic@users.sf.net>
8009 * tools/gst-launch.1.in:
8010 Give example for network streaming (#351998)
8012 2007-02-02 Wim Taymans <wim@fluendo.com>
8014 * docs/gst/gstreamer-sections.txt:
8015 Add docs for new methods.
8017 * gst/gstevent.c: (gst_event_new_latency),
8018 (gst_event_parse_latency):
8020 Add new LATENCY event to configure latency in a pipeline.
8021 API: gst_event_new_latency
8022 API: gst_event_parse_latency
8024 * gst/gstmessage.c: (gst_message_new_buffering),
8025 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8026 (gst_message_new_latency), (gst_message_parse_buffering),
8027 (gst_message_parse_lost_preroll):
8029 Added messages used in draft-latency.
8030 API: gst_message_new_lost_preroll
8031 API: gst_message_parse_lost_preroll
8032 API: gst_message_new_prerolled
8033 API: gst_message_new_latency
8035 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8036 (gst_query_parse_latency):
8038 Implemented new latency query as in design doc.
8039 API: gst_query_new_latency
8040 API: gst_query_set_latency
8041 API: gst_query_parse_latency
8043 2007-02-02 Wim Taymans <wim@fluendo.com>
8045 * docs/design/draft-latency.txt:
8046 Slight redesign to allow for dynamic latency adjustments.
8048 * docs/design/part-negotiation.txt:
8051 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8053 reviewed by: Wim Taymans <wim@fluendo.com>
8055 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8056 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8057 Allow file://localhost/foo/bar URLs and correctly fail for every other
8058 hostname that one sets. This was gnomevfssrc is linked for those if
8059 installed as it can handle it (#403172)
8061 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8063 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8065 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8066 (unref_data), (gst_collect_pads_add_pad_full):
8067 * libs/gst/base/gstcollectpads.h:
8068 Don't put the previously added destroy notify in the GstCollectData
8069 struct as all it's padding is already used and we don't want to break
8070 ABI. Instead put in the pad's GObject data for now. This should be
8071 cleaned up for 0.11 (#402393).
8073 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8075 reviewed by: Wim Taymans <wim@fluendo.com>
8077 * docs/libs/gstreamer-libs-sections.txt:
8078 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8079 (unref_data), (gst_collect_pads_add_pad),
8080 (gst_collect_pads_add_pad_full):
8081 * libs/gst/base/gstcollectpads.h:
8082 API: Add function to specify a destroy notification for custom
8083 GstCollectData when adding new pads in GstCollectPads (#402393).
8085 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8088 Update Swedish translation (#378255).
8090 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8092 * docs/design/draft-klass.txt:
8093 Fix the previous change, this is a list of categories and not a hierarchy.
8095 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8097 * docs/design/draft-klass.txt:
8098 Add info about how to get a list of used classes.
8100 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8102 * plugins/elements/gsttypefindelement.c:
8103 (gst_type_find_element_chain_do_typefinding),
8104 (gst_type_find_element_change_state):
8105 Don't leak found caps in chain function (no idea why that never
8106 showed up as a leak anywhere).
8108 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8111 Fix and expand GstPluginDesc API docs.
8113 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8116 * gst/gstelementfactory.c:
8117 * gst/gstpadtemplate.h:
8120 * libs/gst/controller/gstcontroller.c:
8121 (gst_controlled_property_new):
8122 * tests/examples/controller/audio-example.c:
8125 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8128 comment about refining the xml deps
8131 comments about moving away from jade for docs
8134 recommit the ifdefs to use the binary registry
8136 * gst/gstbin.c: (gst_bin_change_state_func):
8137 this break is obsolete
8139 * gst/gstelementfactory.h:
8140 better GST_ELEMENT_DETAILS docs, add comment about translation
8145 * gst/gstobject.c: (gst_signal_object_get_type):
8146 add G_UNLIKELY as usual
8148 * gst/gstpad.c: (gst_pad_event_default):
8149 add fall trhu comment
8151 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8152 (gst_registry_binary_initialize_magic),
8153 (gst_registry_binary_save_string),
8154 (gst_registry_binary_save_pad_template),
8155 (gst_registry_binary_save_feature),
8156 (gst_registry_binary_save_plugin),
8157 (gst_registry_binary_write_cache),
8158 (gst_registry_binary_check_magic),
8159 (gst_registry_binary_load_pad_template),
8160 (gst_registry_binary_load_feature),
8161 (gst_registry_binary_load_plugin),
8162 (gst_registry_binary_read_cache):
8163 comment typo and formatting
8165 * gst/gstutils.c: (gst_element_state_get_name),
8166 (gst_element_state_change_return_get_name):
8167 remove obsolete breaks
8169 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8170 add FIXME 0.11 and remove cpp comment
8172 2007-01-29 Edward Hervey <edward@fluendo.com>
8174 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8175 Fix print statement in an even more portable way.
8177 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8179 * docs/gst/gstreamer-sections.txt:
8181 API: add GST_ROUND_DOWN_* macros (#401781).
8183 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8185 * docs/gst/gstreamer.types.in:
8186 * gst/gstregistry.c: (gst_registry_class_init):
8187 Document registry signals and make gtk-doc pick them up (#401381).
8189 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8191 * docs/pwg/building-testapp.xml:
8192 Add some audioconverts and audioresample to the pipeline, and some
8193 more comments and error handling.
8195 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8197 * docs/manual/manual.xml:
8201 2007-01-26 Wim Taymans <wim@fluendo.com>
8203 * gst/gstcaps.c: (gst_static_caps_get):
8204 Init caps flags too.
8206 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8208 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8210 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8211 If not using mmap'ed files try to seek to the end instead of the
8212 start to determine whether we can seek at all. This fixes the case
8213 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8214 seeks for everything afterwards fail. Fixes #400656
8216 2007-01-25 Wim Taymans <wim@fluendo.com>
8218 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8219 Add some refcount debugging.
8220 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8221 in multiple streaming threads.
8223 2007-01-25 Wim Taymans <wim@fluendo.com>
8225 Patch by: David Schleef <ds at schleef dot org>
8227 * docs/libs/gstreamer-libs-sections.txt:
8228 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8229 * libs/gst/base/gstadapter.h:
8230 API: gst_adapter_copy() that can reduce the amount of memcpy when
8231 getting data from the adapter. Fixes #388201.
8233 2007-01-25 Edward Hervey <edward@fluendo.com>
8235 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8236 In print statements, "%x" is for guint. Fixes build on macosx.
8238 2007-01-24 Edward Hervey <edward@fluendo.com>
8240 * plugins/elements/gstmultiqueue.c:
8241 (gst_multi_queue_loop):
8243 (single_queue_overrun_cb), (single_queue_underrun_cb),
8244 (single_queue_check_full), (gst_single_queue_new):
8245 Implement single queue growth system.
8246 This uses the extra-size properties, and will grow single queues by
8247 that much if one goes full whereas there are others empty. This is
8248 called extra-mode in the code.
8249 When a single queue's levels go back below the initial max-size
8250 limits, it is no longer in extra-mode. This is to ensure we don't
8251 consume too much memory.
8254 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8256 * gst/gst.c: (gst_init_get_option_group):
8257 Make warning about late g_thread_init() calls a bit more explicit,
8258 so that it's more obvious to application developers what they need
8259 to do if a user files a bug against their application.
8261 2007-01-22 Edward Hervey <edward@fluendo.com>
8263 * plugins/elements/gstmultiqueue.c:
8264 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8265 Remove previous hack of unsetting the flushing flag for the source pad
8266 instead of activating it. Instead, fix the source pad activate function
8267 so that it no longer depends on having a parent set or not.
8269 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8271 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8273 * docs/manual/basics-bus.xml:
8274 Fix example code, gst_element_unref() doesn't exist any longer.
8276 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8278 Patch by: Mark Nauwelaerts <manauw at skynet be>
8281 Fix two docs typoes (#399094).
8283 2007-01-19 Edward Hervey <edward@fluendo.com>
8285 * docs/faq/gst-uninstalled:
8286 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8287 depending on libgstbaseutils can work in uninstalled environment.
8289 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8292 * gst/gsttagsetter.c:
8293 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8294 statement for new tag.
8296 2007-01-17 Edward Hervey <edward@fluendo.com>
8298 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8299 When dynamically creating single queues, activate sinkpad before adding
8301 We should be doing the same thing for the source pad, but we can't
8302 since it would call a method which needs the parent to be set in order
8303 to work propertly. Instead of activating the source pad, we just unset
8304 the flushing flag, which is the minimal requirement for adding a pad
8305 to an element in a state greater than READY.
8307 2007-01-17 Edward Hervey <edward@fluendo.com>
8309 * docs/faq/gst-uninstalled:
8310 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8313 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8315 * tests/check/gst/gstabi.c:
8316 * tests/check/gst/struct_hppa.h:
8317 * tests/check/libs/libsabi.c:
8318 * tests/check/libs/struct_hppa.h:
8319 Add ABI structs for HPPA (see #393796).
8321 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8323 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8324 Actually write ABI structs to the file specified in the GST_ABI
8325 environment variable, as the message we print claims we would.
8327 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8329 * tests/check/gst/gsttask.c:
8332 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8334 * gst/gsttaglist.c: (_gst_tag_initialize):
8335 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8336 previous two entries.
8338 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8340 * docs/gst/gstreamer-sections.txt:
8341 * gst/gsttaglist.c: (_gst_tag_initialize):
8343 Add tag support for beat-per-minute.
8345 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8347 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8348 (gst_registry_binary_initialize_magic),
8349 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8350 (gst_registry_binary_save_pad_template),
8351 (gst_registry_binary_save_feature),
8352 (gst_registry_binary_save_plugin),
8353 (gst_registry_binary_write_cache),
8354 (gst_registry_binary_check_magic),
8355 (gst_registry_binary_load_pad_template),
8356 (gst_registry_binary_load_feature),
8357 (gst_registry_binary_load_plugin),
8358 (gst_registry_binary_read_cache):
8359 * gst/gstregistrybinary.h:
8360 Use glib types, cleanup comments, impement interfaces and uri-types.
8362 2007-01-13 Andy Wingo <wingo@pobox.com>
8364 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8365 getrange() to return buffers with other caps, while we fix
8366 demuxers and typefind, or otherwise change part-negotiation.txt.
8368 2007-01-12 Andy Wingo <wingo@pobox.com>
8370 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8371 Factor start/stop into this private function instead of partially
8372 in activate functions and partially in the change_state function.
8373 Fixes setup before the element has changed from READY->PAUSED, as
8374 is the case in pull-mode pipelines.
8375 (gst_base_transform_sink_activate_push)
8376 (gst_base_transform_src_activate_pull): Refactor to use
8377 gst_base_transform_activate().
8378 (gst_base_transform_change_state): Removed, not needed any more.
8380 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8381 Truncate before fixating.
8383 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8384 Don't set_caps() if the result of fixating is ANY, as it's not
8385 supported, and not necessary in the case of a link with no
8386 template caps on either side. Fixes tests/check/libs/basesrc in
8387 some pull-mode tests.
8389 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8390 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8391 (gst_base_transform_src_activate_pull):
8392 Track the activation mode.
8393 (gst_base_transform_setcaps): In pull mode, when activating the
8394 src pad, after activating the sink pad, activate the sink pad's
8395 peer, as discussed in part-negotiation.txt.
8397 * libs/gst/base/gstbasesrc.h:
8398 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8399 vmethod, as in basesink.
8401 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8403 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8404 mode, first proxy the setcaps to the peer pad.
8405 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8407 (gst_base_sink_default_activate_pull): Rename from
8408 gst_base_sink_activate_pull.
8409 (gst_base_sink_negotiate_pull): New function, performs negotiation
8410 in pull mode before calling ::activate_pull().
8411 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8412 vmethod instead of the default implementation. I have no idea how
8413 this worked before. Negotiate before calling activate_pull.
8415 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8416 sink pads in pull mode. In addition to being correct, fixes
8417 filesrc ! decodebin ! identity ! fakesink.
8418 (gst_pad_get_range, gst_pad_pull_range): Don't call
8419 gst_pad_set_caps() if the caps changes; instead error out with
8420 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8422 2007-01-12 Andy Wingo <wingo@pobox.com>
8424 * docs/design/part-negotiation.txt: Update with more policy.
8426 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8428 * libs/gst/check/gstbufferstraw.h:
8429 * libs/gst/check/gstcheck.h:
8430 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8433 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8435 * tests/check/Makefile.am:
8436 * tests/check/gst/.cvsignore:
8437 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8438 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8439 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8440 (GST_START_TEST), (gst_tag_setter_suite):
8441 Add minimal unit test for beforementioned GstTagSetter bug.
8443 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8445 Patch by: René Stadler <mail at renestadler dot de>
8447 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8448 gst_tag_list_merge() returns a new list, so it's not the best idea
8449 to ingore its return value. Effectively meant that tags could only
8450 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8451 Also add function guard to require a non-NULL taglist as input (has
8452 always been so due to gst_tag_list_copy(), just making it explicit).
8454 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8456 * docs/random/draft-missing-plugins.txt:
8457 Some additions: mention new API that is supposed to be used at the
8458 various stages; short blob about new gst-inspect introspection
8459 option; mention potential future problem with plugins that have
8460 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8462 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8464 * tools/gst-inspect.c:
8465 (print_plugin_automatic_install_info_codecs),
8466 (print_plugin_automatic_install_info_protocols),
8467 (print_plugin_automatic_install_info), (main):
8468 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8469 introspect plugin files and get machine-parsable output that corresponds
8470 to the last bit of the missing-plugin installer string (small gotcha:
8471 doesn't take into account ranks).
8473 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8476 * docs/gst/gstreamer-sections.txt:
8478 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8479 (gst_registry_lookup_locked):
8480 * gst/gstregistry.h:
8481 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8482 (gst_registry_binary_initialize_magic),
8483 (gst_registry_binary_save_string),
8484 (gst_registry_binary_save_pad_template),
8485 (gst_registry_binary_save_feature),
8486 (gst_registry_binary_save_plugin),
8487 (gst_registry_binary_write_cache),
8488 (gst_registry_binary_check_magic),
8489 (gst_registry_binary_load_pad_template),
8490 (gst_registry_binary_load_feature),
8491 (gst_registry_binary_load_plugin),
8492 (gst_registry_binary_read_cache):
8493 * gst/gstregistrybinary.h:
8494 * gst/gstregistryxml.c: (load_feature),
8495 (gst_registry_xml_read_cache):
8496 commit binary registry (disabled by default, see #359653)
8498 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8500 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8501 Fix 'make check' too.
8503 2007-01-10 Andy Wingo <wingo@pobox.com>
8505 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8508 * docs/design/part-negotiation.txt: Update with, um, one way that
8509 pull-mode negotiation might work?
8512 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8513 that the pad must be a src pad; makes sense to call it the other
8514 way in pull mode, and the logic is symmetric anyway.
8516 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8518 * plugins/elements/gstfilesink.c:
8519 Include <stdio.h> for fseeko().
8521 2007-01-10 Wim Taymans <wim@fluendo.com>
8525 Reserve LATENCY event.
8527 2007-01-09 Wim Taymans <wim@fluendo.com>
8529 * docs/design/draft-latency.txt:
8532 2007-01-09 Wim Taymans <wim@fluendo.com>
8534 * docs/design/draft-latency.txt:
8538 * gst/gststructure.c:
8542 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8544 * tests/check/.cvsignore:
8545 Ignore test-registry.xml as well.
8547 2007-01-09 Wim Taymans <wim@fluendo.com>
8549 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8550 unref data at the end when we are done with the pad.
8552 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8554 * docs/gst/gstreamer-sections.txt:
8555 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8556 (init_post), (gst_deinit), (gst_update_registry):
8558 API: add gst_update_registry() (#391296).
8560 * tests/check/Makefile.am:
8561 * tests/check/gst/gstregistry.c:
8562 * tests/check/gst/.cvsignore:
8563 Simple unit test for the above.
8565 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8567 * gst/gstregistry.c: (gst_registry_scan_path_level):
8568 Plugin extension on HP-UX is .sl, add that to the list of approved
8569 plugin extensions (see #393796).
8571 * tests/check/gst/gstpad.c: (GST_START_TEST):
8572 ulong => gulong. Fixes compilation with HP-UX compiler.
8574 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8575 Fix compilation if valgrind headers are not available.
8577 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8579 * win32/common/libgstreamer.def:
8580 Add new exported function.
8581 * win32/vs6/libgstbase.dsp:
8582 Add gstdataqueue.c to the build.
8583 * win32/vs6/libgstcoreelements.dsp:
8584 Add gstmultiqueue.c to the build.
8586 2007-01-06 Andy Wingo <wingo@pobox.com>
8588 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8589 activate_pull(), providing for a way to specialize the process of
8590 spawning a thread to pull on the sink pad. There is a default
8593 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8594 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8595 (gst_base_sink_init): Renamed pad activation functions (inserting
8596 "_pad" in their names). Refactor to use the new activate_pull
8597 vmethod, as appropriate.
8598 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8599 default activate_pull function to start a task pulling from the
8600 sink pad, as before.
8602 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8603 on the pads if necessary, as in push()/chain(). Update docs.
8604 Shouldn't affect existing pull() usage as it is currently only
8605 being used on buffers without caps.
8607 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8609 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8611 Call g_thread_init() first thing in gst_init() / gst_check_init().
8612 When initialisation is done via gst_init_get_option_group() and
8613 GOption parsing, issue a warning if the GLib thread system has not
8614 been initialised yet by the time gst_init_get_option_group() is
8615 called, as it's quite likely other GLib functions such as
8616 g_option_context_new() have been called already then, and
8617 g_thread_init() must be called before any other GLib function. The
8618 application in question must be fixed in that case, since memory
8619 corruption might happen otherwise.
8620 We issue the warning because even if the GLib folks decide to work
8621 around the problem on their end in future, this is still an issue
8622 with all GLib versions >= 2.10.0, so we should warn until we depend
8623 on a GLib version we know to be safe.
8624 Update documentation as well.
8627 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8629 * tools/gst-inspect.c: (main):
8630 * tools/gst-launch.c: (main):
8631 * tools/gst-typefind.c: (main):
8632 * tools/gst-xmlinspect.c: (main):
8633 Call g_thread_init() really really early, before any other GLib
8634 function (see #342564 and recent discussion on gtk-devel-list).
8636 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8638 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8640 * gst/gst_private.h:
8641 * gst/gstconfig.h.in:
8643 On win32, all the __declspec stuff for symbol exporting is
8644 apparently only needed with MSVC, but doesn't work with MingW.
8645 Fixes compilation with MingW and #391909.
8647 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8649 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8650 Change some GST_ERROR_OBJECT that aren't really errors to
8651 GST_WARNING_OBJECT in order to reduce terminal spam.
8653 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8655 * tests/check/Makefile.am:
8656 disable test again, as there seem to be still race problems
8658 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8660 * tests/check/Makefile.am:
8661 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8662 (GST_START_TEST), (queue_suite):
8663 enable queue test again, add tests for the leaky behaviour
8665 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8668 * tests/examples/Makefile.am:
8669 Compile adapter test/example only if the required headers are
8670 available (fixes #391915).
8672 2007-01-01 David Schleef <ds@schleef.org>
8675 Restore the previous signal handler for SIGSEGV instead of
8676 setting to default, since we may have stolen it away from
8677 someone. (i.e., Mono)
8679 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8681 * docs/random/draft-missing-plugins.txt:
8682 Some small additions and clarifications.
8684 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8686 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8687 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8688 since that can lead to random memory corruptions and crashes
8689 (may or may not be related to #383244, #386711, and #386711).
8691 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8693 * tests/check/.cvsignore:
8694 * tests/check/Makefile.am:
8695 sync .cvsignome and CLEANFILES
8697 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8699 * tests/check/Makefile.am:
8702 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8704 * docs/design/part-states.txt:
8705 two tiny additional comments
8707 * gst/gststructure.c:
8710 * tests/check/Makefile.am:
8711 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8713 disable test for now, unless it gets fixed
8715 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8717 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8719 fix race in underrun test
8721 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8723 * tests/check/elements/.cvsignore:
8726 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8728 try to narrow test failure
8730 2006-12-21 David Schleef <ds@schleef.org>
8732 * plugins/elements/gstfakesrc.c:
8733 Use g_random_int_range(), since it produces better random
8734 numbers in a range than almost-correct floating point code.
8736 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8738 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8739 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8740 (gst_check_teardown_sink_pad):
8741 do not automatically (de)activate pads
8743 * tests/check/Makefile.am:
8744 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8745 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8746 add new, yet simple tests for queue
8748 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8749 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8750 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8752 * tests/check/elements/identity.c: (cleanup_identity):
8753 consistent pad (de)activation
8755 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8757 Patch by: Sebastian Dröge <slomo ubuntu com>
8759 * libs/gst/base/gstcollectpads.c:
8760 Fix two doc typos (#387866).
8762 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8764 * docs/manual/advanced-dparams.xml:
8765 Fix typo (g_object_control_properties() doesn't exist).
8767 2006-12-19 Edward Hervey <edward@fluendo.com>
8769 * gst/gstsegment.c: (gst_segment_set_seek):
8770 Fine tune the cases where the segment start/stop values are really
8772 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8773 Add tests for the return values of gst_segment_set_seek().
8775 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8780 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8782 Fix incorrect documentation and flesh it out a bit more.
8783 Set default values for the max properties on the GParamSpec as well,
8784 so it shows up correctly in gst-inspect.
8786 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8788 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8789 Correct docs of queue, add more detail and crosslink it more.
8791 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8793 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8794 Print additional debug info when the stream isn't perfectly
8795 timestamped; don't try to use invalid durations.
8797 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8799 * docs/design/Makefile.am:
8800 Dist new design docs.
8802 2006-12-16 Wim Taymans <wim@fluendo.com>
8804 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8806 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8807 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8808 (gst_collect_pads_stop), (gst_collect_pads_event),
8809 (gst_collect_pads_chain):
8810 * libs/gst/base/gstcollectpads.h:
8811 Add refcounting to the collectpads data so we can track when it's safe
8812 to free the data. Fixes #383382.
8814 2006-12-15 Wim Taymans <wim@fluendo.com>
8816 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8817 (gst_collect_pads_remove_pad):
8818 Automatically activate/deactivate pads when they are added to a
8819 started/stoped collectpads.
8821 2006-12-15 Wim Taymans <wim@fluendo.com>
8823 * gst/gstelement.c: (gst_element_add_pad):
8824 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8825 * gst/gstpad.c: (gst_pad_init):
8826 Set pads to FLUSHING when they are created. Check, warn and fix when a
8827 demuxer adds an inactive pad to itself when running. Fixes #339326.
8829 2006-12-15 Wim Taymans <wim@fluendo.com>
8831 * gst/gstelement.c: (gst_element_class_init),
8832 (gst_element_default_send_event), (gst_element_send_event),
8833 (gst_element_default_query), (gst_element_query):
8834 Expose default element send_event and query handling as vmethods that
8835 subclasses can chain up to.
8837 2006-12-15 Wim Taymans <wim@fluendo.com>
8839 * gst/gstelement.c: (gst_element_set_state_func):
8840 Small documentation fixes.
8842 2006-12-15 Wim Taymans <wim@fluendo.com>
8844 * docs/design/draft-latency.txt:
8845 Checked in draft for handling latency in pipelines.
8847 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8851 * gstreamer.spec.in:
8854 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8856 * gst/gst.c: (init_pre), (init_post):
8857 init_pre() and init_post() might be called via our GOptionGroup or
8858 from gst_init(), and we should skip both of them if we've already
8859 been initialised, otherwise we will init some things twice or add
8860 two default log functions.
8862 2006-12-13 Edward Hervey <edward@fluendo.com>
8864 * docs/manual/basics-bus.xml:
8865 No, gst_main_loop does not exist. Its g_main_loop.
8866 Discovered by somebody who abused the copy-paste technique of coding :)
8868 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8870 * gst/gstghostpad.c:
8871 Log ghostpad debug stuff to the GST_PADS category as well rather
8872 than just to the default category.
8874 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8877 * gst/gst.c: (init_pre):
8878 Add some basic system details such as OS and architecture
8879 to the debug output if possible, courtesy of uname().
8881 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8883 * docs/gst/running.xml:
8884 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8885 environment variables.
8887 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8889 * tests/check/gst/gstbin.c: (GST_START_TEST):
8890 It is acceptable to have a refcount of 2 or 3 at this point in the
8891 test, because the pipeline might be just posting its state_change
8892 message. The next line then waits for that message to appear using
8893 bus_poll, so that should be fine too.
8895 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8897 * gst/gst.c: (ensure_current_registry_forking):
8898 Ignore EINTR when reading from the child registry pipe.
8899 Explicitly ignore the return value from close, since it makes no
8902 * gst/gstminiobject.c: (gst_mini_object_ref),
8903 (gst_mini_object_unref):
8904 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8906 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8907 When removing cached plugins, remove their features too, so they're
8908 not visible after they've disappeared.
8910 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8911 In the unlikely case that we are linking pads with no parents, don't
8912 crash trying to get the non-existent parent bin.
8914 * gst/parse/grammar.y:
8915 Output debug in the PIPELINE category
8917 2005-03-08 Wim Taymans <wim@fluendo.com>
8919 Patch by: René Stadler <mail at renestadler dot de>
8921 * gst/gstclock.c: (gst_clock_new_periodic_id):
8922 Reject invalid clock times for interval of periodic ids.
8925 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8927 * gst/gstelementfactory.c: (gst_element_factory_create):
8928 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8929 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8930 * tools/gst-inspect.c: (print_element_info):
8931 Fix refcounting of gst_plugin_feature_load to match the docs.
8934 2006-12-07 Wim Taymans <wim@fluendo.com>
8936 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8937 (gst_base_sink_get_position):
8938 Improve debugging of events.
8940 2006-12-07 Wim Taymans <wim@fluendo.com>
8942 Patch by: René Stadler <mail at renestadler dot de>
8944 * gst/gstclock.c: (gst_clock_id_wait):
8945 Make period ids add the interval to the origial requested time instead
8946 of the possibly updated time which can be wrong when there are multiple
8947 waiters for the same id. Fixes #382592.
8949 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8950 (gst_system_clock_id_wait_jitter_unlocked),
8951 (gst_system_clock_id_wait_jitter):
8952 Fix restart in the async notify thread when an async entry is added to
8953 the front of the list. Fixes #381492.
8955 * tests/check/gst/gstsystemclock.c: (store_callback),
8956 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8957 Added test for multiple async waits.
8958 Added test for async wait order.
8960 2006-12-07 Wim Taymans <wim@fluendo.com>
8962 * gst/gstbin.c: (gst_bin_query):
8963 Add some more docs about the POSITION query.
8965 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8968 Bump version nano - back to CVS.
8970 === release 0.10.11 ===
8972 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8975 releasing 0.10.11, "Love never runs on time"
8977 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8979 * win32/common/libgstbase.def:
8980 * win32/common/libgstreamer.def:
8981 * win32/vs8/libgstbase.vcproj:
8982 * win32/vs8/libgstcoreelements.vcproj:
8983 * win32/vs8/libgstreamer.vcproj:
8984 Fix compilation on win32 under VS8
8985 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8986 Partially fixes #381175
8988 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8990 * gst/gstvalue.c: (gst_value_compare_fraction):
8991 If someone is foolish enough to compare 2 fractions with denominator =
8992 0, return UNORDERED rather than aborting.
8994 2006-11-28 Edward Hervey <edward@fluendo.com>
8996 * libs/gst/base/Makefile.am:
8997 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8998 (gst_data_queue_base_init), (gst_data_queue_class_init),
8999 (gst_data_queue_init), (gst_data_queue_new),
9000 (gst_data_queue_cleanup), (gst_data_queue_finalize),
9001 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
9002 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
9003 (gst_data_queue_is_empty), (gst_data_queue_is_full),
9004 (gst_data_queue_set_flushing), (gst_data_queue_push),
9005 (gst_data_queue_pop), (gst_data_queue_drop_head),
9006 (gst_data_queue_set_property), (gst_data_queue_get_property):
9007 * libs/gst/base/gstdataqueue.h:
9008 New GstDataQueue object for threadsafe queueing. Most useful for
9009 elements that need some queueing functionnality.
9010 * docs/libs/gstreamer-libs-docs.sgml:
9011 * docs/libs/gstreamer-libs-sections.txt:
9012 Insert documentation for GstDataQueue
9013 * plugins/elements/Makefile.am:
9014 * plugins/elements/gstelements.c:
9015 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
9016 (gst_multi_queue_class_init), (gst_multi_queue_init),
9017 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
9018 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9019 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9020 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9021 (gst_multi_queue_loop), (gst_multi_queue_chain),
9022 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9023 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9024 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9025 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9026 (wake_up_next_non_linked), (compute_next_non_linked),
9027 (single_queue_overrun_cb), (single_queue_underrun_cb),
9028 (single_queue_check_full), (gst_single_queue_new):
9029 * plugins/elements/gstmultiqueue.h:
9030 New multiqueue element, using GstDataQueue. Used for queuing multiple
9032 Closes #344639 and #347785
9034 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9036 * docs/pwg/advanced-types.xml:
9037 add more missing type details
9039 * tools/gst-run.c: (main):
9040 remove unused variable
9042 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9044 * docs/libs/Makefile.am:
9045 * docs/libs/gstreamer-libs.types:
9046 add types of base classes to enable gobject specific stuff in the docs
9048 * docs/random/ensonic/embedded.txt:
9049 more ideas about isolating platform specific things
9051 2006-11-20 Wim Taymans <wim@fluendo.com>
9053 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9055 * libs/gst/check/gstcheck.h:
9056 Fix compilation and running against 0.9.4. Fixes #377332.
9058 2006-11-20 Wim Taymans <wim@fluendo.com>
9060 * gst/gstsegment.c: (gst_segment_set_seek),
9061 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9062 (gst_segment_to_running_time):
9063 Fix boundary checking in to_running_time() and to_stream_time().
9066 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9067 stream and running time can now be calculated for the complete
9070 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9072 * gst/gstpad.c: (gst_pad_push_event):
9073 Can't access event structure after giving away ownership of
9076 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9078 * docs/random/ensonic/embedded.txt:
9079 * docs/random/ensonic/profiling.txt:
9080 * docs/random/ensonic/receipies.txt:
9083 2006-11-13 Wim Taymans <wim@fluendo.com>
9085 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9088 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9090 2006-11-13 Wim Taymans <wim@fluendo.com>
9092 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9094 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9095 Store new length in segment duration so we don't keep on calling the
9096 potentially expensize get_size() call. Fixes #370865.
9098 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9100 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9102 * win32/common/libgstreamer.def:
9103 Add two missing symbols (#366492).
9105 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9107 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9108 (gst_adapter_take_buffer):
9109 Fix format string to use all its arguments.
9110 Remove useless >= check on a guint
9112 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9114 * tests/examples/adapter/.cvsignore:
9115 Ignore build file as commanded by the build-bot
9117 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9119 * tests/examples/adapter/Makefile.am:
9120 * tests/examples/adapter/adapter_test.c: (run_test_take),
9121 (run_test_take_buffer), (run_tests), (main):
9123 Add new files from the previous commit
9125 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9129 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9130 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9131 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9132 * libs/gst/base/gstadapter.h:
9133 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9134 (GST_START_TEST), (gst_adapter_suite):
9135 * tests/examples/Makefile.am:
9136 Do some optimisation work in GstAdapter to avoid copies in more cases.
9137 It could still do slightly better by merging buffers when
9138 gst_buffer_is_span_fast is true, but is already faster.
9140 Also, avoid traversing a single-linked list to append each incoming
9141 buffer inside the adapter.
9143 Add simple test app that times the adapter behaviour in different
9144 situations, and extend the unit test to check that bytes enter and
9145 exit the adapter in their original order.
9147 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9149 * docs/random/draft-missing-plugins.txt:
9150 Update: use element message instead of adding a new message
9151 type to the core; don't provide GStreamer API to initiate the
9152 plugin download, just provide API to compose the strings needed
9153 and let an external libgimmestuff handle the rest.
9155 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9157 * tools/gst-inspect.c: (print_element_properties_info):
9158 Print a string instead of 'unknown type' for GValueArray properties
9160 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9162 * docs/random/draft-missing-plugins.txt:
9165 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9167 * tests/examples/typefind/typefind.c: (type_found), (main):
9168 Make typefind element example work again (#371894); add a
9171 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9173 * docs/random/draft-missing-plugins.txt:
9174 Commit initial draft about how to deal with missing plugins,
9175 needs work (API too).
9177 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9179 * docs/pwg/advanced-types.xml:
9180 documents the new caps elements (see #363118)
9182 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9184 * gst/gstplugin.c: (gst_plugin_load_file):
9185 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9186 (gst_file_src_map_region), (gst_file_src_start):
9187 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9188 (gst_file_index_commit):
9189 Use g_strerror() instead of strerror() - we want UTF-8.
9191 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9193 Patch by: Peter Kjellerstedt <pkj at axis com>
9195 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9196 Another printf fix (#371493).
9198 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9200 * tests/check/gst/gsttag.c:
9201 relicence (okay with author=company)
9203 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9205 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9206 (gst_pad_push_event):
9207 Enhance debug and improve docs
9212 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9214 * docs/random/ensonic/distributed.txt:
9215 * docs/random/ensonic/profiling.txt:
9218 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9220 * docs/gst/gstreamer-sections.txt:
9221 add new API and fix the build
9223 * gst/gstbin.c: (gst_bin_recalc_state):
9224 * gst/gstelement.c: (gst_element_message_full),
9225 (gst_element_get_state_func), (gst_element_set_state_func):
9226 use new API and improve logging
9228 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9230 API: add function to get StateChangereturn names to improve logs
9232 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9234 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9235 I'm considering shooting the next person to put strerror stuff
9236 in the translateable part of the message.
9238 2006-11-03 Wim Taymans <wim@fluendo.com>
9240 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9241 Get the type and printf conversion specifiers right.
9243 2006-11-03 Wim Taymans <wim@fluendo.com>
9245 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9247 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9248 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9249 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9250 Some small cleanups. Improve debugging.
9252 Signal all waiting threads with a broadcast instead of just one.
9255 2006-11-03 Wim Taymans <wim@fluendo.com>
9257 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9258 (gst_fd_src_create):
9260 Only update fd when it's different from the old.
9262 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9264 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9265 Printf fixes for PPC/OSX, take two (#369366).
9267 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9269 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9271 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9272 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9273 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9274 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9275 don't cast to long long for portability reasons, but use
9276 GLib's types instead.
9278 2006-10-30 Michael Smith <msmith@fluendo.com>
9280 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9281 Get the arguments to lseek() the right way around.
9284 2006-10-30 Wim Taymans <wim@fluendo.com>
9286 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9289 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9291 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9293 Patch by: Kjartan Maraas <kmaraas at gnome org>
9295 * docs/design/part-MT-refcounting.txt:
9296 * docs/random/wtay/capsnego2-docs:
9299 Typo fixes (#366212).
9301 2006-10-28 Wim Taymans <wim@fluendo.com>
9303 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9306 * win32/common/libgstbase.def:
9307 * win32/common/libgstreamer.def:
9308 * win32/vs8/libgstbase.vcproj:
9309 * win32/vs8/libgstcontroller.vcproj:
9310 Add needed entries in .def files.
9312 Rearrange def files in vs8 solutions. Fixes #366286.
9314 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9316 * win32/common/gstconfig.h:
9317 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9318 hand-made win32 gstconfig.h. Fixes #366321.
9320 2006-10-27 Wim Taymans <wim@fluendo.com>
9322 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9323 (gst_ghost_pad_new_full):
9324 Make acceptcaps return TRUE when we don't have a target, just like
9327 2006-10-27 Wim Taymans <wim@fluendo.com>
9329 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9330 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9332 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9334 * gst/gststructure.c: (gst_structure_id_set_value):
9335 If someone tries to set a non-UTF8 string field on a structure,
9336 don't just print a warning, but also ignore the request and do
9337 not change/add that field to the structure.
9339 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9342 2006-10-25 David Schleef <ds@schleef.org>
9345 g_hash_table_insert() needs a cast to a non-const pointer duh.
9347 2006-10-25 David Schleef <ds@schleef.org>
9351 Change name parameter of _gst_debug_register_funcptr to const
9352 to reflect the constness of its use in the function as well
9353 as to quiet a gcc warning.
9355 2006-10-25 Edward Hervey <edward@fluendo.com>
9357 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9358 Don't push the buffer if it's empty.
9361 2006-10-24 Wim Taymans <wim@fluendo.com>
9366 * libs/gst/base/gstbasetransform.c:
9367 (gst_base_transform_sink_eventfunc):
9368 Debug segment values *after* updating them as this is more
9371 2006-10-23 Wim Taymans <wim@fluendo.com>
9373 * docs/design/part-events.txt:
9376 * docs/design/part-block.txt:
9377 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9378 (gst_pad_push_event):
9379 Revert BLOCKING patch, it tries to be smart without really having a
9380 clear idea what or how. So, now we discard all FLUSHING events again on
9381 a blocking pad. Should fix gnonlin again.
9383 2006-10-23 Wim Taymans <wim@fluendo.com>
9385 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9387 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9388 (gst_base_src_start), (gst_base_src_activate_push):
9389 Make sure size is always initialized. Fixes #364388.
9391 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9393 * docs/random/ensonic/distributed.txt:
9394 add some ideas about doing distributed processing
9396 * docs/random/ensonic/profiling.txt:
9397 get_rusage look promising
9399 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9401 * docs/manual/basics-helloworld.xml:
9402 Add a cast in example to fix compile warning
9404 2006-10-18 Wim Taymans <wim@fluendo.com>
9406 * gst/gstsegment.c: (gst_segment_set_last_stop),
9407 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9408 Relax arg checking again, -1 is allowed.
9410 2006-10-18 Wim Taymans <wim@fluendo.com>
9412 * gst/gstsegment.c: (gst_segment_set_last_stop),
9413 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9414 _set_last_stop() must be with a value != -1
9415 A _TYPE_SET to -1 means seek to 0.
9416 Calc last_stop correctly for negative rates.
9417 Make sure we work with positive durations when updating a segment.
9419 2006-10-18 Wim Taymans <wim@fluendo.com>
9421 * docs/design/part-live-source.txt:
9425 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9428 Add an explicit cast to GstBuffer** to keep old code that added an
9429 explicit cast to GstMiniObject** for gst_mini_object_replace()
9430 compiling without warning.
9432 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9434 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9435 check for validity of dates
9437 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9439 * docs/gst/gstreamer-sections.txt:
9440 Forgot this one, makes gtk-doc shut up.
9442 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9444 Patch by: Peter Kjellerstedt <pkj at axis com>
9447 Don't define xmlNodePtr to gpointer if the core was built with
9448 --disable-loadsave and --disable-registry, this will break
9449 applications that want to use libxml2 but are buildling against a
9450 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9451 instead so we don't have to mess with the libxml2 namespace
9454 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9457 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9458 type-punned pointer warnings.
9460 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9463 Add casts to the correct return type to state <=> state transition
9466 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9468 * docs/design/part-live-source.txt:
9469 describe howto handle latency
9471 * docs/random/ensonic/profiling.txt:
9474 * tools/gst-plot-timeline.py:
9475 fix log parsing for solaris, remove unused function
9477 2006-10-16 Wim Taymans <wim@fluendo.com>
9479 * docs/design/part-trickmodes.txt:
9481 Update some docs regarding reverse playback.
9483 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9485 Patch by: Marcus Granado <mrc dot gran at gmail com>
9487 * win32/vs8/grammar.vcproj:
9488 Error out with a warning if glib-genmarshal.exe is not in path,
9489 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9491 2006-10-13 Wim Taymans <wim@fluendo.com>
9493 * gst/gstsegment.c: (gst_segment_set_seek):
9494 When seeking to stop -1, set last_stop (current position) to the
9495 duration of the segment.
9497 2006-10-13 Wim Taymans <wim@fluendo.com>
9500 Clarify _NO_PREROLL a bit more.
9505 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9506 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9507 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9508 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9509 due to wrong locking order. Fixes #361769.
9510 Remove some redundant/misplaced checks in pad_block.
9512 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9513 For negative rates, count backwards from the duration.
9515 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9517 * gst/gsterror.c: (_gst_library_errors_init):
9518 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9519 up with something better).
9521 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9523 * win32/vs6/libgstreamer.dsp:
9524 * win32/vs7/libgstreamer.vcproj:
9525 * win32/vs8/libgstreamer.vcproj:
9526 Don't reference glib-compat.c which is currently not used and not
9527 disted; add gstquark.c which was recently added. Fixes #361730.
9529 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9531 * win32/common/libgstbase.def:
9532 * win32/common/libgstcontroller.def:
9533 * win32/common/libgstreamer.def:
9534 Add gst_caps_merge() and a bunch of other recently-added functions.
9537 2006-10-11 Wim Taymans <wim@fluendo.com>
9539 * docs/plugins/gstreamer-plugins.args:
9540 * docs/plugins/inspect/plugin-coreelements.xml:
9541 * docs/plugins/inspect/plugin-coreindexers.xml:
9542 Update element args.
9544 * gst/gstsystemclock.c:
9545 Small comment update.
9547 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9548 (gst_tee_request_new_pad), (gst_tee_release_pad),
9549 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9550 (gst_tee_sink_activate_pull):
9551 * plugins/elements/gsttee.h:
9553 Add default property defines.
9554 Implement release pad function.
9555 Give properties better blubs etc.
9556 Activate pads before adding them to a running tee.
9557 Do simple buffer_alloc on the first requested pad.
9558 Post error when activation fails.
9560 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9562 * gst/gst.c: (ensure_current_registry_forking):
9563 Check return value of write() to make compiler happy.
9565 2006-10-11 Wim Taymans <wim@fluendo.com>
9567 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9569 * plugins/elements/gstqueue.c: (gst_queue_chain):
9570 Recheck queue filledness after signalling the overrun when we're about
9571 to leak downstream because we released the lock when emitting the signal
9572 and the queue could be empty again. Fixes #352345.
9574 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9576 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9577 Fix refcounting here too, just like we did for _new_valist() a few
9578 days ago (#357180) (thanks to René Stadler). Also remove all those
9579 'Since: 0.9' from the gtk-doc blobs.
9581 * tests/check/libs/controller.c: (controller_refcount_new_list),
9582 (gst_controller_suite):
9583 Unit test for the above.
9585 2006-10-10 Wim Taymans <wim@fluendo.com>
9587 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9589 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9590 (gst_pad_save_thyself):
9592 Write pad direction in XML output. Fixes #345496.
9594 2006-10-10 Wim Taymans <wim@fluendo.com>
9596 Patch by: René Stadler <mail at renestadler dot de>
9598 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9599 (gst_controller_new_list), (_gst_controller_dispose),
9600 (_gst_controller_finalize), (_gst_controller_class_init):
9601 Take ref to controlled object so that it cannot disappear.
9604 2006-10-10 Wim Taymans <wim@fluendo.com>
9606 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9607 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9608 (gst_check_teardown_sink_pad):
9609 Activate/deactivate pads in setup/teardown respectively.
9611 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9613 Patch by: Josep Torra Valles <josep@fluendo.com>
9616 Cast values when making gstenumtypes.h. This pacifies Forte
9617 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9620 2006-10-09 Wim Taymans <wim@fluendo.com>
9622 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9623 Rename some more @cur to @start to fix docs.
9625 * gst/gstsegment.c: (gst_segment_set_seek):
9627 time and start must always stay in sync as defined in design doc.
9629 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9630 Rename param to fix docs.
9632 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9633 Check that start and time are in sync.
9635 * tests/check/pipelines/parse-launch.c:
9636 (gst_parse_test_element_change_state):
9637 Activate pad before adding to the element.
9639 2006-10-09 Wim Taymans <wim@fluendo.com>
9641 * docs/design/part-qos.txt:
9646 Update seek event docs regarding negative rates.
9647 Rename @cur to @start.
9649 * gst/gstsegment.c: (gst_segment_set_seek):
9651 Update set_seek docs regarding negative rates.
9652 Correctly update last_stop to @stop when dealing with negative
9654 Rename @cur to @start.
9656 * tests/check/gst/gstpad.c: (GST_START_TEST):
9657 Activate pads before trying to use them.
9659 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9660 (gst_segment_suite):
9661 Add simple check for segments and negative rates.
9663 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9665 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9667 * docs/gst/gstreamer-sections.txt:
9668 API: add gst_tag_list_is_empty() (#360467).
9670 * tests/check/gst/gsttag.c: (GST_START_TEST):
9673 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9676 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9677 a value that doesn't fit on enumeration.
9679 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9681 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9682 Remove local debugging system and use Gstreamer's instead.
9684 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9686 Patch by: Josep Torra Valles <josep@fluendo.com>
9688 * common/m4/gst-error.m4:
9689 Disable warning of statement not reached on Forte.
9691 Fix warning on Forte (value doesn't fit on enumeration).
9692 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9693 Fix warning on Forte (value doesn't fit on enumeration).
9694 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9695 DEBUG macro says it takes minimum of 2 args and so Forte
9696 complains about the use with just 1 arg.
9697 * plugins/elements/gstfdsink.c:
9698 * plugins/elements/gstfdsrc.c:
9699 * plugins/elements/gstfilesink.c:
9700 * plugins/elements/gstfilesrc.c:
9701 Use correct return type for the uri handler implementations.
9703 All these fix warnings in Forte. Fixes bug #360860.
9705 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9708 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9709 format string, so don't use G_GNUC_PRINTF for those versions.
9711 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9713 * gst/gsttaglist.c: (gst_is_tag_list):
9715 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9717 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9718 Small test for the above.
9720 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9723 Less tabs, more spaces.
9725 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9728 Those two function declarations do actually belong there, revert
9729 commit from yesterday that turned them intro macros.
9731 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9733 Patch by: Josep Torra Valles <josep@fluendo.com>
9735 * gst/gst.c: (gst_init_get_option_group):
9736 Fix empty declaration and type mismatch.
9737 * gst/gstbin.c: (gst_bin_change_state_func):
9739 * gst/gstelement.c: (gst_element_continue_state),
9740 (gst_element_set_state_func), (gst_element_change_state),
9741 (gst_element_change_state_func):
9742 Fix type mismatches.
9743 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9744 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9745 Cast as appropriate.
9746 * gst/gstobject.c: (gst_class_signal_connect):
9747 Cast as appropriate. The function pointer parameter really
9748 has the wrong type but would break API if we change it.
9750 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9751 order of including string.h.
9752 * gst/gstutils.c: (gst_element_state_get_name):
9753 Remove unreachable line.
9754 * gst/gstxml.c: (gst_xml_parse_doc):
9756 All these caught by Forte.
9758 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9760 Patch by: Josep Torra Valles <josep@fluendo.com>
9762 * common/m4/gst-error.m4:
9764 We need to disable warnings on Forte for empty declarations
9765 due to gst-indent adding ;s to lines that just use macros
9766 where the macro actually doesn't need a ; at end to end
9769 2006-10-06 Wim Taymans <wim@fluendo.com>
9771 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9772 (gst_file_sink_close_file), (gst_file_sink_event),
9773 (gst_file_sink_render):
9774 Add some FIXME for the NEWSEGMENT handling.
9776 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9778 * gst/parse/grammar.y:
9779 Remove static function gst_parse_element_lock as all it does
9780 is return. Looks like cruft from 0.8.
9782 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9784 Patch by: Josep Torra Valles <josep@fluendo.com>
9786 * common/m4/gst-error.m4:
9788 * libs/gst/net/Makefile.am:
9789 Fix a compilation issue with Forte on Solaris. inet_aton is in
9792 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9794 * gst/gstpad.c: (pre_activate):
9795 * gst/gstregistry.c: (gst_registry_scan_path_level):
9796 * gst/gstregistryxml.c: (load_plugin):
9797 * libs/gst/controller/gstcontroller.c:
9798 (gst_controlled_property_set_interpolation_mode):
9799 * libs/gst/dataprotocol/dataprotocol.c:
9800 (gst_dp_packet_from_event_1_0):
9801 * libs/gst/net/gstnetclientclock.c:
9802 (gst_net_client_clock_observe_times):
9803 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9806 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9809 * docs/gst/gstreamer-sections.txt:
9810 * gst/gstconfig.h.in:
9813 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9814 whether we can use G_GNUC_PRINTF in other header files and at
9815 least check the printf format/arguments of debug messages and
9816 GST_ELEMENT_ERROR messages when the printf extension is not
9818 Replace more tabs with spaces in gstinfo.h and remove two spurious
9819 function declarations in GST_DISABLE_DEBUG part with macros.
9821 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9823 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9824 More docs for the sync-message signal (mention that it is not
9825 emitted by default); log message structures of messages posted on
9828 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9830 * gst/gst.c: (ensure_current_registry_forking):
9831 Use a pipe pair to receive status results from the forked child, and
9832 ignore the result from waitpid. Fixes #355499
9834 2006-10-02 Wim Taymans <wim@fluendo.com>
9836 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9837 (gst_ghost_pad_suite):
9840 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9843 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9845 2006-10-02 Edward Hervey <edward@fluendo.com>
9847 * docs/design/part-block.txt:
9848 Further explain the use of flushing on blocked pads.
9849 * docs/gst/gstreamer-sections.txt:
9850 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9851 (gst_pad_push_event):
9853 Added new GstPadFlag : GST_PAD_BLOCKING.
9854 Adds the notion of pads really blocking, which enables to properly
9855 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9857 API: gst_pad_is_blocking()
9858 API: GST_PAD_IS_BLOCKING() macro
9859 API: GST_PAD_BLOCKING GstPadFlag
9861 2006-10-02 Wim Taymans <wim@fluendo.com>
9863 Patch by: mrcgran <mrc.gran at gmail dot com>
9865 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9866 Filter the proxied caps against the padtemplate if we have one.
9868 * gst/gstquery.c: (gst_query_new_segment):
9869 Add include for gstinfo.h so that compilation with
9870 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9872 2006-10-02 Wim Taymans <wim@fluendo.com>
9874 Patch by: Alessandro Decina <alessandro at nnva org>
9876 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9877 (gst_file_sink_set_location), (gst_file_sink_open_file),
9878 (gst_file_sink_close_file), (gst_file_sink_event),
9879 (gst_file_sink_render):
9880 Set file to NULL when closing filesink so that we can set a new filename
9881 in READY. Fixes #358613.
9883 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9885 Patch by: Alessandro Decina <alessandro at nnva org>
9887 * gst/gstevent.c: (_gst_event_copy):
9888 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9889 with event structures by setting the parent refcount address of the
9890 copied structure to the address of the refcount member of the newly
9891 copied event rather than the address of the refcount member of the
9892 original event. Fixes #358737.
9894 * tests/check/gst/gstevent.c: (GST_START_TEST):
9895 Unit test for the above.
9897 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9899 * docs/design/Makefile.am:
9900 Dist some more files.
9902 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9904 * tests/check/libs/controller.c: (GST_START_TEST),
9905 (gst_controller_suite):
9906 Add test for the previous fix; add some more tests
9907 for correct refcounting behaviour; fix a few leaks
9908 in test cases; call gst_controller_init() at start
9911 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9913 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9914 (gst_controller_set_from_list):
9915 Don't g_return_val_if_fail() on timed values with invalid timestamps
9916 inside a critical section without unlocking the mutex. Spotted by
9917 René Stadler. (#357617)
9918 Also, fix up refcounting properly: when returning an existing
9919 controller, we should increase the reference only once and not
9920 once per property and when trying to control a property again
9921 we should also increase the refcount.
9923 2006-09-29 Wim Taymans <wim@fluendo.com>
9925 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9926 * libs/gst/net/gstnettimeprovider.c:
9927 (gst_net_time_provider_thread):
9928 Stop reading commands when EOF as well.
9930 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9931 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9932 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9933 Unify description of the dump property.
9935 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9937 * tests/examples/manual/.cvsignore:
9938 OK, so it's actually cvsignore that needs changing. Stop laughing.
9940 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9942 * tests/examples/manual/Makefile.am:
9943 Gah, declare vars *before* using them
9945 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9947 * gst/gst.c: (init_pre), (scan_and_update_registry),
9948 (ensure_current_registry_nonforking),
9949 (ensure_current_registry_forking), (ensure_current_registry),
9950 (init_post), (gst_debug_help), (gst_deinit):
9951 * gst/gst_private.h:
9952 * gst/gstregistry.c: (gst_registry_finalize),
9953 (gst_registry_remove_features_for_plugin_unlocked),
9954 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9955 (gst_registry_scan_path),
9956 (_priv_gst_registry_remove_cache_plugins),
9957 (_priv_gst_registry_cleanup):
9958 * gst/gstregistry.h:
9959 Re-commit the registry changes, along with an extra fix:
9960 When a cached plugin is encountered at a different file path,
9961 update the stored path in the registry cache so that the parent
9962 process knows where it actually is now when it re-reads the registry
9963 cache. Fixes the thing that broke distcheck with the previous commit.
9965 * tests/check/Makefile.am:
9966 Clean up files named 'core' too when running make clean.
9968 * tests/examples/manual/Makefile.am:
9969 Set up a registry path for running these tests, and clean it properly
9972 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9975 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9976 want gmodule-no-export-2.0.pc instead so that we don't drag in
9977 --export-dynamic on every project that links to GStreamer.
9979 Also, make our export regex only match the start of symbols, rather
9980 than any symbol that contains '_gst' somewhere.
9982 * libs/gst/check/Makefile.am:
9983 The libgstcheck we build does however need export-dynamic, as it
9984 produces some symbols that don't match our _gst... style regex.
9987 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9989 * gst/gst.c: (init_pre), (scan_and_update_registry),
9990 (ensure_current_registry_nonforking),
9991 (ensure_current_registry_forking), (ensure_current_registry),
9992 (init_post), (gst_debug_help), (gst_deinit):
9993 * gst/gst_private.h:
9994 * gst/gstregistry.c: (gst_registry_finalize),
9995 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9996 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9997 (_gst_registry_cleanup):
9998 * gst/gstregistry.h:
9999 Revert previous change until I figure out why it breaks distcheck.
10001 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
10003 * gst/gst.c: (init_pre), (scan_and_update_registry),
10004 (ensure_current_registry_nonforking),
10005 (ensure_current_registry_forking), (ensure_current_registry),
10006 (init_post), (gst_debug_help), (gst_deinit):
10008 Make init_pre and init_post take the full complement of GOptionFunc
10009 args so they can return useful GErrors. Make the registry updating
10012 Call _priv_gst_registry_remove_cache_plugins after scanning files to
10013 ensure that the registry we're about to write out doesn't contain
10014 stale information about old-deleted plugin files.
10016 Make _priv_gst_registry_remove_cache_plugins return a boolean so
10017 that deletion of plugin files is considered a registry change.
10019 * gst/gst_private.h:
10020 * gst/gstregistry.c: (gst_registry_finalize),
10021 (gst_registry_remove_features_for_plugin_unlocked),
10022 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10023 (gst_registry_scan_path),
10024 (_priv_gst_registry_remove_cache_plugins),
10025 (_priv_gst_registry_cleanup):
10026 * gst/gstregistry.h:
10027 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10028 by adding _priv prefix, so that they won't appear in the global
10029 symbol table. They still do atm though because of #318031. Move the
10030 prototypes to gst_private.h
10032 When removing a plugin, remove all features for that plugin too.
10035 2006-09-27 Wim Taymans <wim@fluendo.com>
10037 * docs/random/moving-plugins:
10038 Make it clear that the "compiled-in descriptions" really mean
10039 the element details.
10041 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10042 (gst_base_sink_wait_preroll):
10045 * docs/libs/gstreamer-libs-sections.txt:
10046 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10047 (gst_base_src_get_range), (gst_base_src_activate_push):
10048 * libs/gst/base/gstbasesrc.h:
10049 Added function to block while waiting for PLAYING, this function
10050 is used by live sources that block on the clock.
10051 API: gst_base_src_wait_playing()
10053 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10055 Patch by: Peter Kjellerstedt <pkj at axis com>
10058 gst-element-check.m4 is generated and should therefore be
10059 copied from the build dir rather than the source dir (#357593).
10060 'make distcheck' hasn't noticed this because we were disting
10061 the file as well, so stop doing that.
10063 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10065 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10066 Add some tests for gst_caps_intersect().
10068 * tools/gst-launch.c: (event_loop):
10069 Print all buffering percentages we get, even the 100% one.
10071 2006-09-26 Wim Taymans <wim@fluendo.com>
10073 * tools/gst-inspect.c: (print_element_properties_info),
10074 (print_signal_info):
10075 Fix printing of flags to match the look of enums.
10077 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10079 * gst/gstelementfactory.c:
10080 Fix typo in docs blurb.
10082 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10084 * gst/gsturi.c: (search_by_entry):
10085 Don't assert/crash here if a uri handler doesn't return any
10086 supported protocols. The list of protocols could be generated
10087 dynamically at runtime or at plugin registration, and an error
10088 in the underlying library shouldn't be fatal (#353301).
10090 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10093 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10094 (spotted by Peter Kjellerstedt).
10096 2006-09-23 Wim Taymans <wim@fluendo.com>
10098 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10100 * libs/gst/base/gstbasesrc.c:
10101 (gst_base_src_default_check_get_range), (gst_base_src_start),
10102 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10103 (gst_base_src_change_state):
10104 Match _start/_stop calls in the activate functions. Remove redundant
10105 _stop call from the state change function. Fixes #356910.
10106 Turn failure DEBUG into ERROR.
10108 2006-09-22 Wim Taymans <wim@fluendo.com>
10110 * docs/design/part-buffering.txt:
10111 * gst/gstmessage.c: (gst_message_new_buffering),
10112 (gst_message_parse_buffering):
10113 Update docs about buffering.
10115 * docs/design/part-trickmodes.txt:
10118 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10120 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10121 (gst_controller_new_list):
10122 Ref instances when returning them again (fixes #357180)
10124 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10126 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10127 Don't forget to release proxy lock when there's an error.
10129 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10132 Add extra initialisers for Caps things, to fix some plugin warnings
10135 2006-09-18 Wim Taymans <wim@fluendo.com>
10137 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10138 Also set template on the internal pad so that a getcaps from the
10139 target pad returns the template caps.
10141 2006-09-18 Wim Taymans <wim@fluendo.com>
10143 * gst/gstelement.c: (gst_element_post_message),
10144 (gst_element_dispose):
10145 Use _DEBUG_OBJECT some more.
10147 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10150 * tools/gst-launch.c: (main):
10151 If the toplevel element is not a GstPipeline, it must be put in a
10152 pipeline so that a bus and clock is selected.
10154 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10156 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10157 JITTER, RATE, and LATENCY query should be handled by the
10158 default case and not by the CONVERT query code.
10160 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10162 * gst/gstformat.c: (gst_format_register):
10163 Fix locking order (must take lock before using n_values).
10165 * gst/gstvalue.c: (gst_value_serialize_enum),
10166 (gst_value_deserialize_enum_iter_cmp),
10167 (gst_value_deserialize_enum):
10168 Fix serialisation/deserialisation of custom registered GstFormats.
10170 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10171 Unit test for custom format serialisation/deserialisation.
10173 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10175 * docs/pwg/building-boiler.xml:
10176 * plugins/elements/gstcapsfilter.c:
10177 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10180 2006-09-16 Edward Hervey <edward@fluendo.com>
10182 * libs/gst/base/gstbasetransform.c:
10183 (gst_base_transform_buffer_alloc):
10184 Check if requested caps are the same as the sinks caps IF
10185 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10187 This fixes the renegotiation issues stated in #352827.
10189 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10192 * docs/manual/advanced-autoplugging.xml:
10193 * tests/examples/Makefile.am:
10194 * tests/examples/manual/.cvsignore:
10195 * tests/examples/manual/Makefile.am:
10196 * tests/examples/manual/extract.pl:
10197 Extract the manual examples again like we used to do.
10200 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10202 * win32/common/config.h:
10205 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10208 Documents how to receive errors.
10210 2006-09-15 Wim Taymans <wim@fluendo.com>
10212 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10213 (event_loop), (main):
10214 Added some comments here and there.
10215 Post an application message when an interrupt is caught instead of doing
10216 an uncontrolled state change.
10217 Clean up the event loop.
10218 Handle buffering messages, pause/resume the pipeline.
10219 Make shutdown because of an interrupt more reliable.
10221 2006-09-15 Wim Taymans <wim@fluendo.com>
10223 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10224 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10225 (gst_base_sink_preroll_object):
10226 Make sure that our internal state is correct when we commit our state
10227 asynchronously. This solves a race where a state change to PLAYING
10228 could cause the sink to remain blocked in preroll in some situations.
10230 2006-09-15 Wim Taymans <wim@fluendo.com>
10232 * tools/gst-inspect.c: (print_element_properties_info),
10233 (print_signal_info):
10234 List flags as hex so it's easier to deal with.
10236 2006-09-15 Wim Taymans <wim@fluendo.com>
10238 * docs/libs/gstreamer-libs-sections.txt:
10239 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10240 (gst_base_sink_do_sync):
10241 * libs/gst/base/gstbasesink.h:
10242 Expose logic to wait for preroll so that subclasses such as audiosink
10243 can also use this method.
10244 API: gst_base_sink_wait_preroll()
10246 2006-09-15 Wim Taymans <wim@fluendo.com>
10248 * gst/gstobject.c: (gst_object_set_parent):
10249 * gst/gstpipeline.c: (do_pipeline_seek):
10250 Small cleanups in docs and code.
10252 * gst/gstsegment.c: (gst_segment_clip):
10253 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10254 if stop == start and start is in the segment, no clipping should be
10255 done. Also add a test for this.
10257 2006-09-15 Wim Taymans <wim@fluendo.com>
10259 * docs/design/part-buffering.txt:
10260 * docs/gst/gstreamer-sections.txt:
10261 * gst/gstmessage.c: (gst_message_new_buffering),
10262 (gst_message_parse_buffering):
10263 * gst/gstmessage.h:
10264 Added methods to create and parse BUFFERING messages.
10265 Added preliminary docs about buffering.
10266 API: gst_message_new_buffering
10267 API: gst_message_parse_buffering
10269 2006-09-06 Wim Taymans <wim@fluendo.com>
10272 Update documentation.
10274 * gst/gstelement.c: (gst_element_class_init),
10275 (gst_element_release_request_pad), (gst_element_set_clock),
10276 (gst_element_get_index), (gst_element_add_pad),
10277 (gst_element_remove_pad), (gst_element_get_random_pad),
10278 (gst_element_send_event), (gst_element_get_query_types),
10279 (gst_element_query), (gst_element_post_message),
10280 (gst_element_message_full), (gst_element_continue_state),
10281 (gst_element_lost_state), (gst_element_save_thyself),
10282 (gst_element_restore_thyself):
10283 Documentation updates.
10284 Rename last bit of the new-pad -> pad-added signal rename.
10285 Fix the case where an element query would only work if the source
10287 Avoid some useless type checking in message handling.
10292 Documentation updates.
10294 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10296 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10297 add an INFO line for when we actually update the fd
10299 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10304 === release 0.10.10 ===
10306 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10309 releasing 0.10.10, "Pais"
10311 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10313 * docs/manual/advanced-position.xml:
10314 Fix typo in sample code.
10316 2006-09-05 Wim Taymans <wim@fluendo.com>
10318 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10319 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10320 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10321 * libs/gst/net/gstnetclientclock.h:
10322 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10323 * libs/gst/net/gstnettimepacket.h:
10324 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10325 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10326 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10327 * libs/gst/net/gstnettimeprovider.h:
10328 Make stuff compile on windows. Fixes #345295.
10330 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10332 * gst/gst.c: (ensure_current_registry_forking):
10333 Print better details when child was terminated by signal.
10335 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10337 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10338 Print a warning rather than g_assert() if a plugin feature
10339 is a URI handler but returns no protocols (#353976).
10341 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10343 * docs/random/moving-plugins:
10346 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10348 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10349 Fix locking order, handle NULL function values properly.
10354 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10355 Initialise variable before using it and fix debug statement to
10356 print the address of the function rather than the address of the
10357 variable on the stack holding the address of the function.
10359 2006-09-01 Wim Taymans <wim@fluendo.com>
10361 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10362 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10363 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10364 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10365 (gst_ghost_pad_parent_unset),
10366 (gst_ghost_pad_internal_do_activate_push),
10367 (gst_ghost_pad_internal_do_activate_pull),
10368 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10369 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10370 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10371 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10372 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10373 (gst_ghost_pad_new_no_target_from_template),
10374 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10376 Avoid needless typechecking in macros.
10377 Since the internal pad is always present and never changes, there is
10378 no need to locking or ref when retrieving it.
10379 Improve debugging a bit.
10380 Handle link errors when setting the target. Fixes #341029.
10382 2006-09-01 Wim Taymans <wim@fluendo.com>
10384 * docs/libs/gstreamer-libs-sections.txt:
10385 * docs/plugins/gstreamer-plugins-sections.txt:
10386 Fix docs some more.
10388 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10389 (gst_collect_pads_event):
10390 * libs/gst/base/gstcollectpads.h:
10391 Documentation updates.
10392 Free queued buffer when removing a pad.
10394 2006-08-31 Michael Smith <msmith@fluendo.com>
10396 * gst/gstutils.c: (gst_element_link_pads),
10397 (gst_element_link_pads_filtered):
10398 Ensure that we set a capsfilter to NULL if we failed to link it
10399 when doing filtered linking, to avoid criticals.
10401 No need to check for unreffing srcpad, which is explicly NULLed
10402 above (a trivial code cleanup).
10404 2006-08-31 Wim Taymans <wim@fluendo.com>
10406 * docs/design/part-gstghostpad.txt:
10407 Update ascii art in documentation.
10409 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10410 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10411 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10412 (gst_ghost_pad_internal_do_activate_push),
10413 (gst_ghost_pad_internal_do_activate_pull),
10414 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10415 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10416 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10417 (gst_ghost_pad_set_target):
10418 Small cleanups and leak fixes.
10419 Remove some checks now that the internal pad is never NULL.
10420 Fix the case where linking pads without a target would create nasty
10421 criticals. Fixes #341029.
10422 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10423 value of _set_target().
10425 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10426 (gst_ghost_pad_suite):
10427 Some more tests for creating and linking untargeted ghostpads.
10429 2006-08-31 Edward Hervey <edward@fluendo.com>
10431 * docs/gst/gstreamer-sections.txt:
10432 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10433 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10434 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10435 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10436 (gst_ghost_pad_new_from_template),
10437 (gst_ghost_pad_new_no_target_from_template):
10438 * gst/gstghostpad.h:
10439 Refactored *_new() functions.
10440 Templates are now used as a g_object_new() parameter.
10441 Use template in _do_getcaps() if we don't have a target.
10442 Small documentation cleanups.
10443 Added two new constructors:
10444 gst_ghost_pad_new_from_template()
10445 gst_ghost_pad_new_no_target_from_template()
10446 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10447 (gst_ghost_pad_suite):
10448 Added tests for new ghostpad instanciation functions.
10450 API additions: gst_ghost_pad_new_from_template,
10451 gst_ghost_pad_new_no_target_from_template
10453 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10455 * docs/random/ensonic/profiling.txt:
10456 Ideas about qos profiling.
10458 2006-08-29 Wim Taymans <wim@fluendo.com>
10460 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10464 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10467 Improve and detypofy docs.
10469 * tests/check/Makefile.am:
10470 * tests/check/gst/.cvsignore:
10471 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10472 Add a basic test suite for GstXML.
10474 2006-08-29 Wim Taymans <wim@fluendo.com>
10476 * gst/gstelement.c: (activate_pads), (clear_caps),
10477 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10478 Clear the pad caps when the element shut down all of the pads and
10479 is not streaming data that could modify the caps.
10482 2006-08-28 Michael Smith <msmith@fluendo.com>
10484 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10485 Revert previous change; I misunderstood single-segment mode.
10487 2006-08-28 Michael Smith <msmith@fluendo.com>
10489 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10490 Unset DISCONT on buffers when using single-segment mode.
10492 2006-08-28 Wim Taymans <wim@fluendo.com>
10494 * gst/gstcaps.c: (gst_caps_merge_structure):
10496 Fix docs and indentation again.
10498 * tests/check/gst/gstquery.c: (GST_START_TEST):
10499 Fix leak in tests and add some more tests.
10501 2006-08-28 Edward Hervey <edward@fluendo.com>
10503 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10504 Inform GstSegment of the last stop position in order for the current
10505 segment to have a proper duration if it doesn't have a specific stop
10506 position from which a duration could be calculated.
10507 This bug was noticeable when a non-flushing, non-update new segment was
10508 followed by another segment (all buffers from the new segment were being
10511 2006-08-28 Wim Taymans <wim@fluendo.com>
10513 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10514 Small comment update.
10516 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10517 (gst_identity_transform_ip):
10518 Drop-probability is broken, mention this in the code with a
10519 FIXME and also in the property description.
10520 Make silent also be silent about the drop messages.
10522 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10524 * docs/manual/appendix-win32.xml:
10525 Remove mention of popt, we don't depend on that any
10526 longer (#353136). Add some comments pointing out that
10527 this section is slightly outdated.
10529 2006-08-28 Wim Taymans <wim@fluendo.com>
10531 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10533 * gst/gstquery.c: (gst_query_new_segment):
10534 * tests/check/gst/gstquery.c: (GST_START_TEST):
10535 Initialize variables when creating a new segment query.
10538 2006-08-28 Wim Taymans <wim@fluendo.com>
10540 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10542 * gst/gstelement.c: (gst_element_get_bus):
10543 * tests/check/gst/gstelement.c: (GST_START_TEST):
10544 Check for NULL before _reffing the bus. Fixes #353122.
10546 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10548 * docs/manual/basics-bus.xml:
10549 Docs update: fix wrong callback return value explanation; add
10550 some lines about the implicit relationship between main loop
10551 and main context; remove duplicate main loop variable declaration.
10553 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10555 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10556 Don't leak caps in unit test; add a few more simple
10559 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10561 * docs/gst/gstreamer-sections.txt:
10562 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10563 (gst_caps_structure_is_subset), (gst_caps_merge),
10564 (gst_caps_merge_structure):
10566 * libs/gst/base/gstbasetransform.c:
10567 (gst_base_transform_transform_caps):
10568 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10569 implement caps merging (fixes #352580)
10571 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10573 * tools/Makefile.am:
10574 * tools/gst-plot-timeline.py:
10575 add debug-log plotting developer tool (#340674)
10577 2006-08-23 Wim Taymans <wim@fluendo.com>
10579 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10580 (gst_pad_stop_task):
10581 Improve debugging for task functions.
10583 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10584 (gst_task_start), (gst_task_pause), (gst_task_join):
10585 Make sure that the task function started and finished after a
10587 Don't try to push the task function on the threadpool multiple
10589 Improve the g_warning message with some useful suggestions
10590 about how to fix the problem.
10592 2006-08-23 Wim Taymans <wim@fluendo.com>
10594 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10595 Handle RESYNC correctly in _proxy_getcaps.
10597 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10599 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10600 (gst_xml_parse_memory), (gst_xml_get_element):
10601 Chain up to parent class in dispose function and also
10602 unref the elements in the toplevel_elements GList.
10603 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10604 Always return a reference in gst_xml_get_element() rather
10605 than only sometimes.
10607 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10608 Don't leak GstXml object.
10610 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10612 * docs/gst/gstreamer-sections.txt:
10613 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10616 * libs/gst/base/gstbasetransform.c:
10617 (gst_base_transform_transform_caps):
10618 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10621 2006-08-21 Edward Hervey <edward@fluendo.com>
10623 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10624 Implement GObject::dispose virtual method in GstXML so we can free the
10625 top_elements GList.
10627 2006-08-21 Wim Taymans <wim@fluendo.com>
10629 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10630 (gst_buffer_create_sub):
10631 Copy duration/offset_end/caps when creating a subbuffer of the
10633 Make the subbuffer read-only when we make the metadata writable for
10634 now. Fixes #351768.
10636 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10637 Added check for metadata copy when creating subbuffers.
10639 2006-08-21 Edward Hervey <edward@fluendo.com>
10641 * libs/gst/base/gstbasetransform.c:
10642 (gst_base_transform_buffer_alloc):
10643 Only call downstream buffer_alloc if transform element is passthrough
10644 or always_in_place. Closes #350449.
10646 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10649 ChangeLog surgery to add comments to previous changes
10651 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10656 * gst/gstpad.c: (gst_pad_set_active):
10657 Be more verbose in the log
10659 * libs/gst/base/gstbasetransform.c:
10660 (gst_base_transform_transform_caps):
10661 Simplify caps to get rid of duplicates, fixes #345444
10663 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10667 Use these optimizations only internally.
10669 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10671 * gst/gstvalue.c: (gst_value_compare_list),
10672 (gst_value_compare_fraction_range),
10673 (gst_value_intersect_fraction_fraction_range),
10674 (gst_value_intersect_fraction_range_fraction_range),
10675 (gst_value_subtract_fraction_fraction_range),
10676 (gst_value_subtract_fraction_range_fraction_range),
10677 (gst_value_get_compare_func), (gst_value_compare),
10678 (gst_value_compare_with_func):
10680 Saves the expensive lookup of the compare function in many cases
10683 2006-08-18 Edward Hervey <edward@fluendo.com>
10685 * tests/check/gst/gstinfo.c: (gst_info_suite):
10686 Disable test that require gstdebug if it wasn't built in core.
10688 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10690 * docs/random/ensonic/logging.txt:
10693 * gst/gstinfo.c: (gst_debug_log_default):
10694 reorder fields, save some columns, add optional color codes for log
10697 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10699 * docs/random/ensonic/logging.txt:
10700 add ideas about making the logs a bit more useful
10702 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10704 * docs/pwg/advanced-events.xml:
10705 * docs/pwg/titlepage.xml:
10706 Update for 0.10 API (#340627). Add myself
10709 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10711 * docs/libs/gstreamer-libs-docs.sgml:
10712 * docs/libs/gstreamer-libs-sections.txt:
10713 * libs/gst/check/gstbufferstraw.c:
10714 Make gstcheck stuff show up in docs (still needs to
10715 be documented properly though).
10717 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10719 * docs/gst/gstreamer-sections.txt:
10721 * gst/gst.c: (init_post):
10722 * gst/gst_private.h:
10723 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10725 * gst/gstquery.c: (gst_query_new_position),
10726 (gst_query_set_position), (gst_query_parse_position),
10727 (gst_query_new_duration), (gst_query_set_duration),
10728 (gst_query_parse_duration), (gst_query_new_convert),
10729 (gst_query_set_convert), (gst_query_parse_convert),
10730 (gst_query_new_segment), (gst_query_set_segment),
10731 (gst_query_parse_segment), (gst_query_new_seeking),
10732 (gst_query_set_seeking), (gst_query_parse_seeking):
10733 Add internal helpers for pre-registering quarks from static strings
10734 and using the quark values directly instead of looking them up when
10735 creating and parsing queries. Can be used for event construction too.
10738 2006-08-16 Wim Taymans <wim@fluendo.com>
10743 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10745 * gst/gstutils.c: (gst_util_set_value_from_string):
10746 Fix memleak (#351502).
10748 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10749 Add unit test for most of gst_util_set_value_from_string()
10750 (not that one would want to encourage use of this function).
10752 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10754 * libs/gst/check/gstcheck.h:
10755 Use const gchar * variables in fail_unless_equals_string
10756 macro to avoid compiler warnings (and don't use tabs for
10759 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10761 * tools/gst-launch.c: (print_tag):
10762 More space on the left for the tag names, to cater
10763 for the 'extended comment' tag (not touching the
10764 string for the first line since it's translated).
10766 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10768 * libs/gst/check/gstcheck.h:
10769 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10770 print something when they fail.
10772 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10774 * docs/gst/gstreamer-sections.txt:
10775 * gst/gsttaglist.c: (_gst_tag_initialize):
10776 * gst/gsttaglist.h:
10777 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10778 Also change merge function for GST_TAG_COMMENT to
10781 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10783 * gst/gstinfo.c: (gst_debug_print_object):
10784 Make GST_PTR_FORMAT print messages as well.
10786 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10787 (GST_START_TEST), (gst_info_suite):
10790 2006-08-14 Edward Hervey <edward@fluendo.com>
10792 * gst/gstelementfactory.c: (gst_element_register):
10793 If the GstElementClass doesn't have a GstElementDetails with all fields
10794 filled up correctly (longname, description AND author), then error out
10795 nicely instead of crashing.
10797 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10799 * gst/gststructure.c:
10800 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10803 Expand on the difference between arrays and lists as we use them.
10805 2006-08-14 Wim Taymans <wim@fluendo.com>
10807 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10808 If the parent state change function failed, don't assume we can safely
10809 stop the source, this will be done when the pads are deactivated.
10811 2006-08-14 Wim Taymans <wim@fluendo.com>
10814 * gst/gsttask.c: (gst_task_join):
10817 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10818 (gst_pad_stop_task):
10819 When pad (de)activation failed for some reason, restore the old
10820 activation mode and set the pad to flushing instead of assuming the
10821 pad is deactivated.
10822 If the _task_join() failed, reinstall the task on the pad so that it can
10823 be stopped later and return an error.
10825 2006-08-11 Andy Wingo <wingo@pobox.com>
10828 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10829 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10830 is only for users of API that don't want to see deprecated
10831 functions in the headers; people that want to compile out
10832 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10833 CFLAGS. Fixes the build of multifdsink, or will soon..
10835 2006-08-11 Wim Taymans <wim@fluendo.com>
10837 * docs/gst/gstreamer-sections.txt:
10838 Add GstClockClass vmethod docs.
10841 Mark #endif with comment for associated #if
10843 * gst/gstclock.c: (gst_clock_id_wait):
10845 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10846 most clock implementations.
10848 Flesh out docs about resolution methods.
10849 API: GstClockClass::wait_jitter
10851 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10852 (gst_system_clock_async_thread),
10853 (gst_system_clock_id_wait_jitter_unlocked),
10854 (gst_system_clock_id_wait_jitter):
10855 Use base class wait_jitter variant for improved performance
10856 due to less clock polling.
10858 2006-08-11 Edward Hervey <edward@fluendo.com>
10860 * gst/gst.c: (gst_init_check), (init_post):
10861 Set gst as being initialized before scanning/updating the registry,
10862 since there might be my python plugin loader that calls gst_init() and
10863 we don't want to loop back in.
10866 2006-08-11 Wim Taymans <wim@fluendo.com>
10868 * docs/design/part-qos.txt:
10869 Bring docs in line with the code. Mostly the sign of the jitter was
10870 wrong in the docs. Fixes #349943.
10873 Fix the docs for the jitter.
10875 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10876 (gst_event_parse_tag), (gst_event_new_buffer_size),
10877 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10878 (gst_event_new_seek), (gst_event_parse_seek),
10879 (gst_event_new_navigation):
10880 Make sure the GstStructure has no parent when creating custom
10882 Add some more argument checking so that we avoid 0.0 rates.
10883 Flesh out the docs for the QoS event some more.
10885 2006-08-11 Wim Taymans <wim@fluendo.com>
10887 * docs/gst/gstreamer-sections.txt:
10888 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10889 (ensure_current_registry_forking), (ensure_current_registry),
10890 (parse_one_option), (parse_goption_arg), (gst_deinit),
10891 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10894 Added API and command line option to disable registry forking in
10895 addition to the environment variable.
10896 Constify some static arrays.
10897 Added some more debug.
10898 Don't deinit twice.
10899 API: gst_registry_fork_is_enabled()
10900 API: gst_registry_fork_set_enabled()
10901 API: --gst-disable-registry-fork command line option
10904 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10906 * gst/gst.c: (gst_init):
10907 Fix typo in error message.
10909 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10911 * libs/gst/controller/gstcontroller.h:
10912 fix ABI size-correction
10914 * tests/check/libs/gdp.c: (gst_dp_suite):
10915 make tests that use deprecated API conditional
10917 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10919 * docs/libs/gstreamer-libs-sections.txt:
10920 * libs/gst/controller/gstcontroller.c:
10921 (_gst_controller_get_property), (_gst_controller_set_property),
10922 (_gst_controller_init), (_gst_controller_class_init):
10923 * libs/gst/controller/gstcontroller.h:
10924 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10925 (gst_object_set_control_rate):
10926 API: add gst_object_{s,g}et_control_rate(), add private data section,
10929 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10930 * libs/gst/dataprotocol/dataprotocol.h:
10931 add deprecation guards to make gtk-doc happy and allow disabling cruft
10933 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10935 * tests/check/Makefile.am:
10936 * tests/check/gst/.cvsignore:
10937 Let's enable the new unit test as well.
10939 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10942 * docs/gst/gstreamer-sections.txt:
10943 * gst/gstconfig.h.in:
10944 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10945 (_gst_info_printf_extension_ptr),
10946 (_gst_info_printf_extension_segment):
10947 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10948 register that lets us easily dump GstSegments into debug
10951 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10952 (info_segment_format_printf_extension), (gst_info_suite):
10953 Add simple unit test that logs a bunch of different segments (not
10954 valgrinded at the moment because of leaks in
10955 gst_debug_add_log_function).
10957 2006-08-09 Edward Hervey <edward@fluendo.com>
10959 * libs/gst/base/gstbasetransform.c:
10960 (gst_base_transform_buffer_alloc):
10961 Even if we can't figure out the proper format to request downstream,
10962 call buffer_alloc() downstream with the input parameters without setting
10963 the caps on the srcpad. This will force negotiation in the chain
10967 2006-08-08 Edward Hervey <edward@fluendo.com>
10969 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10970 Unlinking from a pad without a target is now a perfectly valid case
10971 which should NOT raise an assertion.
10972 This case would happen if a linked ghostpad its target set to NULL after
10973 it was previously linked.
10975 2006-08-08 Edward Hervey <edward@fluendo.com>
10977 * tests/check/libs/gdp.c:
10978 Also comment out the test (see below).
10980 2006-08-08 Edward Hervey <edward@fluendo.com>
10982 * tests/check/libs/gdp.c: (gst_dp_suite):
10983 Use the architecture information from config.h and not gcc macros
10984 in order to properly disable a test that fails on PPC64.
10986 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10988 * gst/gstelement.c: (gst_element_remove_pad):
10989 Don't crash printing the warning if the pad has no parent.
10991 2006-08-02 Wim Taymans <wim@fluendo.com>
10993 * libs/gst/dataprotocol/dataprotocol.c:
10994 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10995 (gst_dp_crc), (gst_dp_header_payload_length),
10996 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10997 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10998 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10999 (gst_dp_event_from_packet), (gst_dp_validate_header),
11000 (gst_dp_validate_payload):
11001 Make debug category static
11002 Constify the crc table.
11003 Do some more arg checking in public functions.
11004 Fix some docs and do some small cleanups.
11006 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
11007 Add some more checks to see if GDP deals with bogus input.
11009 2006-07-31 Wim Taymans <wim@fluendo.com>
11011 * gst/gstvalue.c: (gst_value_compare_list):
11012 Fix GstValueList comparison code. Fixes #347293.
11014 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11015 Check to test GstValueList comparison.
11017 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11019 * gst/gstelementfactory.c: (gst_element_factory_create):
11020 Remove unnecessary ref/unref pair
11022 * gst/parse/grammar.y:
11023 Make sure to free the parse buffer on all code paths.
11024 Move a g_free up to the error handler where it's easier to see.
11026 * tests/check/gst/gstevent.c: (test_event):
11027 Extending timeout for downstream travelling events to 10 seconds to
11028 hopefully avoid intermittent failure on the buildbots.
11030 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11031 Don't manually set the state of the src element - it will happen as a
11032 natural consequence of the pipeline changing state, and that way it
11033 will do it in the right order too.
11035 2006-07-31 Wim Taymans <wim@fluendo.com>
11037 * libs/gst/base/gstbasetransform.c:
11038 (gst_base_transform_buffer_alloc):
11039 Use OBJECT_LOCK and refcounting to get the pad caps in the
11040 buffer_alloc function because the caps could change while we are
11041 busy with them. Fixes #349105
11043 2006-07-31 Wim Taymans <wim@fluendo.com>
11045 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11046 Protect _PAD_CAPS with OBJECT_LOCK.
11048 2006-07-31 Wim Taymans <wim@fluendo.com>
11050 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11051 (gst_pad_get_property), (gst_pad_activate_pull),
11052 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11053 (gst_pad_set_activate_function),
11054 (gst_pad_set_activatepull_function),
11055 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11056 (gst_pad_set_getrange_function),
11057 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11058 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11059 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11060 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11061 (gst_pad_set_acceptcaps_function),
11062 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11063 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11064 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11065 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11066 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11067 (gst_pad_configure_sink), (gst_pad_configure_src),
11068 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11069 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11070 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11071 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11072 (gst_pad_send_event):
11073 Use _DEBUG_OBJECT when it makes sense.
11074 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11075 Small cleanups and code reflows.
11076 Avoid caps refcounting in _accept_caps.
11077 Refactor alloc_buffer so that the code performed on the peer is in a
11078 separate function. Also if the pad does not implement a buffer alloc
11079 function, we should still check if the pad is flushing before falling
11080 back to the default allocator.
11082 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11084 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11085 Make all uses of identity and fakesink have silent=true to avoid
11086 serialising every passing data structure, which is breaking tests
11087 on FC4 for some unknown reason.
11089 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11091 * gst/parse/Makefile.am:
11092 * gst/parse/grammar.y:
11093 * gst/parse/parse.l:
11094 Reverted previous patch as it required to bump the flex dependency to
11095 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11097 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11099 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11101 * gst/parse/Makefile.am:
11102 * gst/parse/grammar.y:
11103 * gst/parse/parse.l:
11104 push & pop the state of the lexer for reentrant use case
11107 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11109 * libs/gst/base/gstbasesrc.h:
11110 Note in the docs that the ::newsegment vfunc is not actually used by
11113 2006-07-28 Wim Taymans <wim@fluendo.com>
11115 * libs/gst/base/gstcollectpads.c:
11116 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11117 (gst_collect_pads_clear), (gst_collect_pads_flush),
11118 (gst_collect_pads_event), (gst_collect_pads_chain):
11119 When flushing a pad, also clear the queued buffer so that we don't
11120 accidentally use it when we shouldn't.
11121 Fix leaks by inreffing incomming buffer.
11122 Flush out queued buffers in case of errors.
11125 2006-07-28 Wim Taymans <wim@fluendo.com>
11127 * docs/random/phonon-gst:
11128 Random notes about a Phonon backend.
11130 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11132 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11134 * tests/check/libs/gdp.c: (gst_dp_suite):
11135 Take a whack at fixing the ppc compile using a different define to
11136 disable the broken test.
11138 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11139 Remove excess g_print()
11141 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11143 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11144 Oops, meant to uncomment this line too to dampen the noise a bit.
11146 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11148 * gst/parse/grammar.y:
11149 * gst/parse/parse.l:
11150 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11151 (GST_START_TEST), (parse_suite):
11152 Fix some of the leaks exposed by extending the parse-launch testsuite,
11153 and move the 3 I can't figure out into a separate test that won't run
11154 the pipelines unless the appropriate line is uncommented.
11156 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11158 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11159 Requesting 0 bytes before the end of the file should result in
11160 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11163 2006-07-27 Wim Taymans <wim@fluendo.com>
11165 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11166 Fix useless assert, a uint is always positive.
11168 * gst/gststructure.c: (gst_structure_nth_field_name),
11169 (gst_structure_foreach), (gst_structure_map_in_place):
11170 Check input arguments for public functions to avoid obvious crashes.
11172 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11173 * plugins/elements/gstfakesink.h:
11174 Do less useless typechecking.
11176 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11178 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11179 Do not use mmap() by default since there are a number of error
11180 conditions that we would like to handle in a non-fatal way that
11181 will result in a SIGBUS if we use mmap(). Examples: external
11182 devices (USB harddrive, portable music player) being unplugged
11183 while in use; file on mounted CD/DVD that can't be read because
11184 the medium is partly damaged. Fixes #348455 and #348475.
11186 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11189 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11190 rates are a gdouble
11192 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11194 * gst/gstregistry.c:
11195 Move big documentation comment into class section header, so that it
11196 appears in the API docs.
11198 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11200 * docs/gst/gstreamer-sections.txt:
11201 Oops. Commit the docs additions too for new API.
11202 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11204 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11206 * gst/gststructure.c: (gst_structure_id_set),
11207 (gst_structure_id_set_valist):
11208 * gst/gststructure.h:
11209 Add API for setting values into structures without performing
11210 a quark lookup, if the appropriate quark is already known.
11212 API: gst_structure_id_set
11213 API: gst_structure_id_set_valist
11215 * gst/parse/grammar.y:
11216 * gst/parse/parse.l:
11217 Remove some dead code shown by the coverage information.
11218 Don't throw a critical g_warning when encountering a syntax error,
11219 just warn and let the normal error path handle it.
11221 * plugins/elements/gstelements.c:
11222 Bump the rank of filesink up to PRIMARY so that it is preferred over
11223 gnomevfssink for file:// sink uri's
11225 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11226 (GST_START_TEST), (run_delayed_test),
11227 (gst_parse_test_element_base_init),
11228 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11229 (gst_parse_test_element_change_state),
11230 (gst_register_parse_element), (parse_suite):
11231 Beef up the tests for parse syntax to check that more error cases
11232 fail as they are supposed to. Increases the test coverage a bit.
11234 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11236 * docs/manual/basics-elements.xml:
11237 Fix gst_element_link() example.
11240 Mention in API docs that one should usually gst_bin_add()
11241 elements to a bin or pipeline before doing the linking.
11243 2006-07-26 Wim Taymans <wim@fluendo.com>
11245 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11246 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11247 Avoid function call for known types by keeping the buffer and
11248 subbuffer GType global.
11250 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11251 Random silly optimisations in read() path.
11253 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11255 * tools/gst-launch.c: (main):
11256 If the top-level of the parse is a normal bin, it doesn't do the
11257 right logic to run as a top-level element, so place it inside a
11260 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11262 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11263 Remove superfluous g_object_notify() calls, GObject does
11264 that for us automatically.
11266 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11269 on Win32, use dllspec to export the debug category symbols
11271 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11273 * gst/gsttaglist.c: (_gst_tag_initialize):
11274 Allow more than one GST_TAG_IMAGE per taglist.
11276 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11278 * gst/gstminiobject.c:
11280 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11281 (gst_fd_src_create):
11282 log recurring events at LOG level
11283 add more debug for when the fd gets set
11285 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11287 * gst/gstparse.c: (gst_parse_launch):
11288 Also remove reentrance checks if flex is MT safe (#348179)
11289 Fix my empty ChangeLog entry below
11291 2006-07-21 Andy Wingo <wingo@pobox.com>
11293 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11295 * libs/gst/check/Makefile.am
11296 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11297 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11298 * libs/gst/check/gstbufferstraw.h:
11299 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11300 functions, thus proving I am still a GStreamer haxor. OK I wrote
11301 them a long time ago, but anyways.
11303 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11306 * gst/gstparse.c: (gst_parse_launch):
11307 Check for flex version and omit mutex if we have a MT save flex
11310 2006-07-21 Wim Taymans <wim@fluendo.com>
11312 * gst/gstparse.c: (gst_parse_launch):
11313 Protect recursive calls to _parse with a recursive mutex
11316 2006-07-21 Wim Taymans <wim@fluendo.com>
11318 * tests/check/gst/gstpad.c: (GST_START_TEST):
11321 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11323 * gst/gstparse.c: (gst_parse_launch):
11324 Do not hang on recursive usage of gst_parse_launch()
11326 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11328 * gst/gsttaglist.c:
11329 Add some more docs, comments and FIXME 0.11s here and there
11330 and also fix some typos.
11332 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11334 * gst/gstsegment.h:
11335 Convert tabs to spaces for better readability.
11337 2006-07-20 Edward Hervey <edward@fluendo.com>
11339 * tests/check/libs/gdp.c: (gst_dp_suite):
11340 the test_buffer test fails at line 140 on ppc64 at the following
11342 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11343 GST_BUFFER_FLAG_IN_CAPS),
11344 "GST_BUFFER_IN_CAPS flag should have been copied !");
11345 See bug #348114 for more details.
11347 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11349 * docs/pwg/advanced-scheduling.xml:
11351 Fix typos (#348000).
11353 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11355 * docs/pwg/intro-basics.xml:
11356 Fix wrong links (#347927).
11358 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11360 * gst/gstregistry.h:
11361 * gst/gstregistryxml.c: (load_feature),
11362 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11363 * win32/common/config.h:
11364 make --disable-index work (#342564)
11366 2006-07-18 Wim Taymans <wim@fluendo.com>
11368 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11372 The attached patch adds two missing defines to gsttrace.h when tracing
11373 is disabled. It also corrects one existing define.
11376 2006-07-17 Wim Taymans <wim@fluendo.com>
11378 * docs/gst/gstreamer-sections.txt:
11379 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11381 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11382 Add two functions to check and change the SIGSEGV behaviour
11383 when loading plugins.
11384 Don't mess with the SIGSEGV handler when we were told not to.
11386 API: gst_segtrap_is_enabled
11387 API: gst_segtrap_set_enabled
11389 2006-07-14 Wim Taymans <wim@fluendo.com>
11391 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11392 * tests/check/elements/filesrc.c: (GST_START_TEST):
11393 Revert fix for regression in #347408 after release.
11395 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11397 Patch by: Antoine Tremblay <hexa00 at gmail com>
11399 * gst/gstutils.c: (gst_element_unlink):
11400 Free iterator when done (#347311).
11402 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11403 And add a test case for this.
11405 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11408 Bump nano back to CVS
11410 === release 0.10.9 ===
11412 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11415 releasing 0.10.9, "On the road again"
11417 2006-07-13 Wim Taymans <wim@fluendo.com>
11419 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11420 * tests/check/elements/filesrc.c: (GST_START_TEST):
11421 Revert pull-0 fix for release. Disable check. Fixes #347408.
11423 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11425 * libs/gst/dataprotocol/dataprotocol.c:
11426 (gst_dp_event_from_packet_1_0):
11427 Fixes #347337: failure to deserialize event packets with
11428 empty payload (only event type)
11430 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11433 do not install a .c file in the header directory
11435 2006-07-13 Edward Hervey <edward@fluendo.com>
11437 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11438 GhostPad no longer implicitely use the padtemplates of the targets.
11441 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11443 * gst/gstvalue.c: (gst_value_compare_list),
11444 (gst_value_compare_array), (_gst_value_initialize):
11445 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11446 Make GstValueArray comparison be order dependent as designed.
11447 Add checks for value lists and value array comparisons.
11450 2006-07-11 Edward Hervey <edward@fluendo.com>
11452 * gst/gstbin.c: (activate_pads),
11453 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11454 (gst_bin_change_state_func):
11455 (de)activate src pads before calling state_change on the childs.
11456 This is to avoid the case where a src ghostpad is blocked (holding the
11457 stream lock), which would block the deactivation of the ghostpad's
11459 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11460 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11461 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11462 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11463 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11464 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11465 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11466 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11467 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11468 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11469 (gst_ghost_pad_class_init),
11470 (gst_ghost_pad_internal_do_activate_push),
11471 (gst_ghost_pad_internal_do_activate_pull),
11472 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11473 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11474 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11475 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11476 GhostPads now create their internal GstProxyPad at creation (and not
11477 when they're linked, as it was being done previously).
11478 The internal and target pads are linked straight away.
11479 The data will also travel through the other pad in order to make
11480 pad blocking and probes non-hackish (the probe/block now really happens
11481 on the GhostPad and not on the target).
11482 * gst/gstpad.c: (gst_pad_set_blocked_async),
11483 (gst_pad_link_prepare), (gst_pad_push_event):
11484 Remove previous ghostpad cruft.
11485 * gst/gstutils.c: (gst_pad_add_data_probe),
11486 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11487 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11488 (gst_pad_remove_buffer_probe):
11489 Remove previous ghost pad cruft.
11490 Added more detailed debug statements.
11491 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11492 Fix the testsuite for refcounting changes.
11493 The comments about who has references were correct, but the refcount
11494 being checked wasn't the same (!?!).
11498 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11500 * docs/gst/gstreamer-sections.txt:
11501 * gst/gstconfig.h.in:
11502 More docs for configuration options, add docs to gtk-doc.
11504 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11507 * gst/gstconfig.h.in:
11508 * win32/common/config.h:
11509 Fix build when disabling tracing (fixes #344016). Also start to document
11510 the defines that disable the sub-systems.
11512 2006-07-10 Edward Hervey <edward@fluendo.com>
11514 * gst/gst.c: (ensure_current_registry_forking):
11515 let's make valgrind happy...
11517 2006-07-09 Wim Taymans <wim@fluendo.com>
11519 * gst/gstelement.c: (activate_pads),
11520 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11521 Better pad activation code: Reset the collect value too on resync.
11524 2006-07-09 Wim Taymans <wim@fluendo.com>
11526 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11527 (gst_pad_activate_push):
11528 Use some more macros where it makes sense.
11529 Allow pad mode switching instead of asserting. When a pad
11530 is activated in one mode and we activate it in another,
11531 deactivate it first before activating it in a different mode.
11534 2006-07-08 Andy Wingo <wingo@pobox.com>
11536 * tools/gst-launch.c (main): Handle err == NULL.
11538 * gst/gst.c (init_post, ensure_current_registry)
11539 (ensure_current_registry_forking)
11540 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11541 factoring out the registry scanning into separate functions. Don't
11542 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11543 Better environment var name/interface suggestions accepted.
11545 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11547 * gst/gstobject.c: (gst_object_set_name_default),
11548 (gst_object_set_name):
11549 Random micro-optimisation: don't use a hash table
11550 with strings as keys and the usual strdup/strcmp
11551 involved, but rather just use the GQuark of the
11552 type name as key, since it needs to be looked up
11553 anyway to get the type name string.
11555 * tests/check/gst/gstobject.c: (GST_START_TEST):
11558 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11560 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11561 (gst_bin_iterate_all_by_interface):
11562 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11563 GTypes are gulongs and thus the top 4 bytes might be cut
11564 off on some platforms when doing GPOINTER_TO_INT, leading
11565 to invalid GTypes and bad things happening (see RH bug #179654).
11566 Also add a check to make sure the type passed in is really
11569 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11574 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11578 * gst-element-check.m4:
11579 * gst-element-check.m4.in:
11580 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11581 instead of the unversioned gst-inspect (#324176, #168659).
11583 2006-07-06 Wim Taymans <wim@fluendo.com>
11585 * gst/gstmessage.h:
11586 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11589 2006-07-06 Wim Taymans <wim@fluendo.com>
11591 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11592 (gst_base_src_wait), (gst_base_src_update_length),
11593 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11594 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11595 (gst_base_src_loop), (gst_base_src_start),
11596 (gst_base_src_activate_pull):
11598 blocksize == 0 now means the default blocksize when working in push
11600 Remove some pointless asserts in _wait function.
11601 Fix offset/length calculations and EOS handling. We can now pull 0
11602 bytes as well, which is allowed.
11603 use _check_get_range() to decide if we can operate in _pull based
11605 Fix refcounting leak when check_get_range function was not
11607 API GstBaseSrc::blocksize range can be 0 too now (default)
11609 * tests/check/elements/filesrc.c: (GST_START_TEST),
11611 Added check to test _get_range() behaviour.
11613 2006-07-06 Wim Taymans <wim@fluendo.com>
11615 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11616 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11617 (gst_pad_pull_range):
11619 Lots of comments and docs added to the pad functions.
11620 Flesh out the expected behaviour of the get_range() functions.
11622 2006-07-06 Wim Taymans <wim@fluendo.com>
11627 * gst/gstiterator.h:
11631 Remove comma at end of enumerator list.
11633 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11635 * win32/common/libgstbase.def:
11636 * win32/common/libgstdataprotocol.def:
11637 * win32/common/libsgtreamer.def:
11638 Add new exported functions.
11640 2006-07-05 Wim Taymans <wim@fluendo.com>
11642 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11643 Add some more docs here and there.
11645 2006-07-05 Wim Taymans <wim@fluendo.com>
11647 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11648 (gst_base_sink_loop), (gst_base_sink_get_position):
11649 When operating in pull mode update the offset so that we
11652 2006-07-05 Wim Taymans <wim@fluendo.com>
11654 * gst/gstregistryxml.c: (read_string):
11655 Avoid strdup. (will happen in libxml, but hey!)
11658 Add some more docs.
11660 2006-07-05 Wim Taymans <wim@fluendo.com>
11662 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11663 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11664 (gst_buffer_suite):
11665 No point in checking if the size of the subbuffer > 0, the
11666 code handles it correclty as demonstrated by unit test.
11667 Also add a unit test for the zero sized _new_and_alloc and
11668 _copy. Fixes #346663.
11670 2006-07-05 Wim Taymans <wim@fluendo.com>
11672 * libs/gst/base/gstbasetransform.c:
11673 (gst_base_transform_prepare_output_buffer),
11674 (gst_base_transform_buffer_alloc),
11675 (gst_base_transform_handle_buffer):
11676 Make sure the buffer we pass to transform_ip has a refcount of
11677 1 and thus is writable. Fixes #343196
11679 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11681 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11682 (gst_file_src_init), (gst_file_src_set_property),
11683 (gst_file_src_get_property), (gst_file_src_map_region):
11684 * plugins/elements/gstfilesrc.h:
11685 Add "sequential" property, off by default, to use madvise and hint
11686 to the kernel that sequential access is desired.
11687 Touch all retrieved pages by default to ensure they are pulled
11688 into memory. (Closes #345720)
11690 2006-07-03 Wim Taymans <wim@fluendo.com>
11692 * docs/design/part-block.txt:
11693 * docs/design/part-dynamic.txt:
11694 Small docs updates.
11696 2006-07-03 Wim Taymans <wim@fluendo.com>
11698 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11699 (gst_caps_unref), (gst_static_caps_get),
11700 (gst_caps_append_structure):
11701 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11702 Use GSlice when the glib we build against is >= 2.10
11704 2006-07-03 Wim Taymans <wim@fluendo.com>
11706 * gst/gstelement.c: (gst_element_pads_activate):
11707 Small cleanup in pad activation code.
11709 2006-07-03 Wim Taymans <wim@fluendo.com>
11711 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11713 * gst/gst-i18n-app.h:
11714 * gst/gst-i18n-lib.h:
11715 * tools/gst-inspect.c: (print_signal_info):
11716 The attached patch will make the inclusion of gettext.h unconditional in
11717 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11718 libintl.h in tools/gst-inspect.c.
11719 This allows use of --disable-nls again and fixes #344642.
11721 2006-07-03 Edward Hervey <edward@fluendo.com>
11723 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11724 Implement pad blocking on events according to part-block.txt.
11725 More comments on behaviour.
11726 * tests/check/gst/gstevent.c: (test_event):
11727 Send event to peer pad of blocked pad (else it will block).
11729 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11731 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11732 (gst_check_run_suite):
11733 if we get the wrong message, give us the types as string
11734 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11736 * tests/check/elements/filesrc.c: (GST_START_TEST):
11737 add a test for trying to open a non-existing file
11739 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11741 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11742 add a test for adding self
11744 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11746 * libs/gst/check/gstcheck.h:
11747 add some assert_ as alias for fail_unless_*
11748 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11749 increase test coverage
11751 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11754 include lcov.mak for lcov coverage generation
11755 * tools/Makefile.am:
11758 2006-07-02 Edward Hervey <edward@fluendo.com>
11760 * tests/check/elements/.cvsignore:
11763 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11766 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11767 * tests/check/Makefile.am:
11768 clean up gcov files
11770 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11772 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11773 remove gst_caps_simplify; it was not declared and not used
11774 and deprecated in 0.8
11776 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11778 * docs/faq/gst-uninstalled:
11779 don't put empty paths on PYTHONPATH
11780 * docs/gst/gstreamer-sections.txt:
11781 remove some symbols that are not there
11783 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11785 * gst/gstcaps.c: (gst_caps_compare_structures):
11787 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11788 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11791 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11793 * libs/gst/dataprotocol/Makefile.am:
11794 build dataprotocol test by linking to the lib, instead of
11795 compiling the source, so we get coverage
11796 * tests/check/Makefile.am:
11797 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11798 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11799 add a test for filesrc
11801 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11803 * tests/check/gst/gststructure.c: (GST_START_TEST),
11804 (gst_structure_suite):
11805 Push coverage from 59.04% to 70.00%
11807 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11809 * tests/check/Makefile.am:
11810 gst-inspect every element; this makes sure that we also get
11811 coverage on element's get/set functions
11813 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11816 set CFLAGS and friends to -O0 if gcov is being used
11819 * libs/gst/base/Makefile.am:
11820 * libs/gst/check/Makefile.am:
11821 * libs/gst/controller/Makefile.am:
11822 * libs/gst/dataprotocol/Makefile.am:
11823 * libs/gst/net/Makefile.am:
11824 * plugins/elements/Makefile.am:
11825 * plugins/indexers/Makefile.am:
11826 add makefile rules to generate gcov data and clean up
11827 * tests/check/Makefile.am:
11828 add a coverage target that generates an html overview
11831 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11833 * tests/check/elements/fakesink.c:
11834 * tests/check/elements/fakesrc.c:
11835 * tests/check/elements/fdsrc.c:
11836 * tests/check/elements/identity.c:
11837 * tests/check/generic/sinks.c: (gst_sinks_suite):
11838 * tests/check/generic/states.c:
11839 * tests/check/gst/gst.c:
11840 * tests/check/gst/gstabi.c:
11841 * tests/check/gst/gstbin.c:
11842 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11843 * tests/check/gst/gstbus.c: (gst_bus_suite):
11844 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11845 * tests/check/gst/gstelement.c:
11846 * tests/check/gst/gstevent.c: (gst_event_suite):
11847 * tests/check/gst/gstghostpad.c:
11848 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11849 * tests/check/gst/gstmessage.c: (gst_message_suite):
11850 * tests/check/gst/gstminiobject.c:
11851 * tests/check/gst/gstobject.c:
11852 * tests/check/gst/gstpad.c:
11853 * tests/check/gst/gstpipeline.c:
11854 * tests/check/gst/gstplugin.c:
11855 * tests/check/gst/gstquery.c: (gst_query_suite):
11856 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11857 * tests/check/gst/gststructure.c:
11858 * tests/check/gst/gstsystemclock.c:
11859 * tests/check/gst/gsttag.c:
11860 * tests/check/gst/gsttask.c: (gst_task_suite):
11861 * tests/check/gst/gstutils.c:
11862 * tests/check/gst/gstvalue.c:
11863 * tests/check/libs/adapter.c:
11864 * tests/check/libs/basesrc.c:
11865 * tests/check/libs/collectpads.c:
11866 * tests/check/libs/controller.c:
11867 * tests/check/libs/gdp.c: (gst_dp_suite):
11868 * tests/check/libs/gstnetclientclock.c:
11869 * tests/check/libs/gstnettimeprovider.c:
11870 * tests/check/libs/libsabi.c: (libsabi_suite):
11871 * tests/check/libs/typefindhelper.c:
11872 * tests/check/pipelines/cleanup.c:
11873 * tests/check/pipelines/parse-launch.c:
11874 * tests/check/pipelines/simple-launch-lines.c:
11875 * tests/check/pipelines/stress.c: (stress_suite):
11878 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11880 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11881 * libs/gst/check/gstcheck.h:
11882 create a macro and function so that the simple unit test
11883 case can be just one macro to create main()
11885 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11887 * gst/gstbin.c: (gst_bin_restore_thyself):
11888 * gst/gstxml.c: (gst_xml_make_element):
11889 Fix deserialisation from XML. Set parent manually
11890 instead of using gst_bin_add(), since gst_bin_add()
11891 will unlink all pads of the element being added.
11894 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11896 Patch by: Peter Kjellerstedt <pkj at axis com>
11898 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11899 Fix missing g_strdup() and double free when using the
11900 --gst-plugin-load command line option (#346097).
11902 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11905 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11907 * libs/gst/net/gstnetclientclock.c:
11908 * libs/gst/net/gstnettimeprovider.c:
11909 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11911 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11913 * docs/manual/advanced-dataaccess.xml:
11914 Fix buffer probe example compilation in
11917 2006-06-22 Edward Hervey <edward@fluendo.com>
11919 * gst/gstelement.c: (gst_element_pads_activate):
11920 We need to deactivate src pads first and then sink pads.
11921 The reason is the src pads might be blocking while holding the streaming
11922 lock, so we need to deactivate them first so that deactivating the sink
11923 pads doesn't block (since it will require the streaming lock).
11925 2006-06-22 Wim Taymans <wim@fluendo.com>
11927 * libs/gst/base/gstbasetransform.c:
11928 (gst_base_transform_buffer_alloc):
11929 Forgot to remove two unneeded unrefs.
11930 Simplify a check _is_equal allready checks the obvious case.
11932 2006-06-22 Wim Taymans <wim@fluendo.com>
11934 * docs/design/part-block.txt:
11935 Some docs about what pad_block should do.
11937 2006-06-22 Wim Taymans <wim@fluendo.com>
11939 * gst/gstcaps.c: (gst_caps_replace):
11940 Fix crasher when passed NULL. Doc clarification.
11941 Optimize for the trivial case.
11943 * gst/gstpipeline.c: (gst_pipeline_change_state):
11946 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11947 Small documentation cleanup.
11949 * libs/gst/base/gstbasetransform.c:
11950 (gst_base_transform_buffer_alloc):
11951 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11952 is what we need and it avoids a whole lot of redundant
11953 refcount operations.
11955 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11957 Patch by: Philip Jägenstedt <philip at lysator liu se>
11959 * docs/manual/advanced-dataaccess.xml:
11960 Fix 'Embedding static elements' section to use
11961 GST_PLUGIN_DEFINE_STATIC (#345607).
11963 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11965 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11966 Attempt to 'fix' spuriously failing test case: it seems like the
11967 timeout of half a second is simply too small when the system is under
11968 load otherwise, and the timeout doesn't really seem to serve any
11969 particular purpose here. Give the pipeline a few seconds to preroll
11970 first, and then give it another half a second to go from PAUSED to
11971 PLAYING and marshal the message into the main thread.
11973 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11975 * tools/gst-feedback-m.m:
11976 Don't only use unversioned tools, try versioned tools as well
11979 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11981 * gst/gstbus.c: (gst_bus_class_init):
11982 Fix some typos, make docs more explicit.
11984 2006-06-20 Wim Taymans <wim@fluendo.com>
11986 * tests/check/gst/gstghostpad.c: (block_callback),
11987 (GST_START_TEST), (gst_ghost_pad_suite):
11988 Added some more ghostpad tests, mainly blocking
11991 2006-06-16 Wim Taymans <wim@fluendo.com>
11993 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11994 (gst_file_sink_close_file), (gst_file_sink_do_seek),
11995 (gst_file_sink_event), (gst_file_sink_render):
11996 * plugins/elements/gstfilesink.h:
11997 Check if we can seek in the file instead of assuming
11998 we always can. Post an error when we are asked to seek in a
11999 non-seekable file (like a fifo). Fixes #343312.
12002 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12004 * tools/gst-launch.1.in:
12005 Un-garble (fourcc) bit in filtered caps section.
12007 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
12009 * docs/manual/advanced-autoplugging.xml:
12010 * docs/manual/basics-helloworld.xml:
12011 * docs/manual/highlevel-components.xml:
12012 Don't leak bus reference in sample code.
12014 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
12017 Add default for new --enable-plugin-docs switch.
12020 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12023 * docs/Makefile.am:
12024 Use new ENABLE_PLUGIN_DOCS conditional.
12026 2006-06-14 Wim Taymans <wim@fluendo.com>
12028 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12029 Make it clear with a FIXME and a real define what the #if 0
12030 previously disabled.
12032 2006-06-14 Wim Taymans <wim@fluendo.com>
12034 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12035 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12036 * libs/gst/base/gstbasetransform.c:
12037 (gst_base_transform_sink_eventfunc):
12038 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12039 Don't randomly and silently reset a segment when the format
12040 changes as this is a bug somewhere upstream. Fixes #330379.
12042 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12044 Patch by: Wouter Paesen <wouter at kangaroot net>
12046 * libs/gst/controller/gstcontroller.c:
12047 (gst_controlled_property_new):
12048 Fix controlling of float properties (#344849).
12050 * tests/check/libs/controller.c:
12051 (gst_test_mono_source_get_property),
12052 (gst_test_mono_source_set_property),
12053 (gst_test_mono_source_class_init), (GST_START_TEST):
12054 While we're at it, add some float stuff to unit test.
12056 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12059 * docs/images/gdp-header.svg:
12061 * docs/libs/Makefile.am:
12062 * docs/libs/gdp-header.png:
12063 * libs/gst/dataprotocol/dataprotocol.c:
12064 add it to the API docs
12065 * docs/manual/intro-motivation.xml:
12068 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12070 * gst/gst.c: (scan_and_update_registry), (init_post):
12071 If the fork()'ed child process can't write the updated registry cache
12072 file to disk for some reason, make it exit with a failure exit code,
12073 so that the parent can then re-scan the plugins itself and update the
12074 registry structures in memory and work with that (rather than failing
12075 when creating elements because seemingly no plugins are available).
12076 Refactor registry scanning code into separate function for this and
12077 also separate fork() and non-fork() code paths. Fixes #344748.
12079 2006-06-13 Wim Taymans <wim@fluendo.com>
12081 * docs/manual/advanced-dataaccess.xml:
12082 Fix wrong PluginDesc. Fixes #344755.
12084 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12086 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12087 Fix silly bug that prevented us from creating
12088 ~/.gstreamer-0.10 and writing the registry in one
12089 go (the first call to g_mkstemp() would overwrite the
12090 placeholder in the template string, so the second call
12091 to g_mkstemp() after creating the missing directory
12092 would then error out with 'invalid argument').
12094 2006-06-13 Edward Hervey <edward@fluendo.com>
12096 * gst/gst.c: (init_post):
12099 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12101 * gst/glib-compat-private.h:
12102 * gst/glib-compat.c:
12103 * gst/glib-compat.h:
12104 * gst/gstvalue.c: (gst_value_serialize_flags):
12105 remove GLib 2.6 compatibility code
12107 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12109 * gst/parse/Makefile.am:
12110 Fix build with 'make -j N' even more (#340016).
12112 2006-06-12 Wim Taymans <wim@fluendo.com>
12114 * docs/gst/gstreamer-sections.txt:
12117 2006-06-12 Wim Taymans <wim@fluendo.com>
12119 * gst/gstsegment.c: (gst_segment_set_duration),
12120 (gst_segment_set_last_stop), (gst_segment_set_seek),
12121 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12122 (gst_segment_to_running_time), (gst_segment_clip):
12123 Use G_UNLIKELY to help the compiler a bit.
12125 2006-06-12 Wim Taymans <wim@fluendo.com>
12127 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12129 * gst/gstevent.c: (gst_event_get_type):
12130 * gst/gstmessage.c:
12131 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12133 constify quark registration strings. Fixes #344115
12134 Avoid unneeded type checking is _pad_push() by internally
12135 calling gst_pad_chain_unchecked().
12137 2006-06-12 Wim Taymans <wim@fluendo.com>
12139 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12140 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12141 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12142 (gst_buffer_is_span_fast), (gst_buffer_span):
12143 Init _type for consistency.
12144 Use _FLAGS macro to avoid type check.
12145 Avoid unneeded type checks in subbufer code.
12147 2006-06-12 Wim Taymans <wim@fluendo.com>
12149 * gst/gst.c: (gst_debug_help):
12150 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12151 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12152 (gst_plugin_feature_list_free):
12153 * gst/gstregistry.c: (gst_registry_add_plugin),
12154 (gst_registry_add_feature), (gst_registry_plugin_filter),
12155 (gst_registry_feature_filter), (gst_registry_find_plugin),
12156 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12157 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12158 * gst/gstregistryxml.c: (load_feature),
12159 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12160 * gst/gstminiobject.c: (gst_mini_object_unref),
12161 (gst_mini_object_replace), (gst_value_mini_object_free),
12162 (gst_value_mini_object_copy):
12163 Use _CAST macros to avoid unneeded type checking.
12164 Added some more G_UNLIKELY.
12166 2006-06-12 Wim Taymans <wim@fluendo.com>
12169 Avoid unneeded type checking.
12170 API: GST_BUFFER_IS_DISCONT
12172 * gst/gstminiobject.h:
12173 Avoid type check in flag accessor.
12175 * gst/gstelementfactory.h:
12177 * gst/gstpluginfeature.h:
12179 API: GST_ELEMENT_FACTORY_CAST
12180 API: GST_PLUGIN_CAST
12181 API: GST_PLUGIN_FEATURE_CAST
12183 2006-06-12 Wim Taymans <wim@fluendo.com>
12185 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12186 (gst_object_unref):
12187 Add G_UNLIKELY in type registration.
12188 Avoid type check in _ref/_unref since that is also
12191 2006-06-12 Wim Taymans <wim@fluendo.com>
12193 * gst/gsterror.c: (gst_g_error_get_type):
12194 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12195 (gst_static_pad_template_get_type):
12196 * gst/gsttaglist.c: (gst_tag_list_get_type):
12197 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12198 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12199 * gst/gsturi.c: (gst_uri_handler_get_type):
12200 * gst/gstvalue.c: (gst_date_get_type):
12201 * gst/gstxml.c: (gst_xml_get_type):
12202 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12203 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12204 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12205 Add G_UNLIKELY in type registration.
12207 2006-06-12 Wim Taymans <wim@fluendo.com>
12209 * tools/gst-inspect.c: (print_signal_info):
12210 Properly print enum values.
12212 2006-06-12 Wim Taymans <wim@fluendo.com>
12214 * gst/gstinfo.c: (gst_debug_set_active),
12215 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12217 Add some G_[UN]LIKELY.
12218 Maintain __gst_debug_min to avoid formatting the arguments of
12219 debug messages that will be dropped anyway to avoid a lot of
12220 overhead from the debugging system.
12222 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12225 * po/POTFILES.skip:
12226 add missing files containing translatable strings, tell intltool about
12229 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12231 * tests/check/libs/.cvsignore:
12232 add test-binary to ignore list
12234 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12236 * docs/libs/gstreamer-libs-docs.sgml:
12237 reorder (put dp into a chapter) and indent
12239 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12244 === release 0.10.8 ===
12246 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12249 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12251 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12253 * gst/gst.c: (init_post):
12254 move pid declaration to declaration block
12256 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12258 * gst/gst.c: (init_post):
12259 use _exit() instead of exit() in our forked child; this ensures
12260 that none of the registered exit handlers from whatever is using
12261 GStreamer get executed. This fixes gnome-mixer-applet failing
12262 to load, because ORBit would shut down.
12263 Spotted by: Edward Hervey <edward@fluendo.com>
12264 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12267 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12272 === release 0.10.7 ===
12274 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12277 releasing 0.10.7, "Soepeke, ik zie ou"
12279 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12302 * win32/common/config.h:
12303 0.10.6.2 prerelease
12305 2006-06-07 Wim Taymans <wim@fluendo.com>
12307 * gst/gstindex.c: (gst_index_gtype_resolver):
12308 * tools/gst-xmlinspect.c: (print_plugin_info):
12309 Fix leak spotted by coverity checker. Fixes #343827
12310 Fix another other leak found by paolo borelli.
12312 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12314 * libs/gst/dataprotocol/dataprotocol.c:
12315 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12316 (gst_dp_version_get_type), (gst_dp_init),
12317 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12318 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12319 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12320 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12321 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12322 (gst_dp_packetizer_free):
12323 * libs/gst/dataprotocol/dataprotocol.h:
12324 API: add a GstDPPacketizer object, and create/free functions
12325 API: add GstDPVersion enum
12326 Add 1.0 event function that uses the string serialization
12327 Serialize more useful buffer flags
12330 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12332 * tests/check/Makefile.am:
12333 * tests/check/gst/gstabi.c:
12334 * tests/check/gst/struct_ppc64.h:
12335 * tests/check/libs/libsabi.c:
12336 * tests/check/libs/struct_ppc64.h:
12337 add ppc64 structure sizes
12339 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12341 * tests/check/Makefile.am:
12342 * tests/check/gst/gstabi.c:
12343 * tests/check/gst/struct_x86_64.h:
12344 * tests/check/libs/libsabi.c:
12345 * tests/check/libs/struct_x86_64.h:
12346 generate and add structure size lists for x86_64
12348 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12350 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12351 * libs/gst/check/gstcheck.h:
12352 factor out the method from tests that checks size of structures,
12353 and add code to generate the header containing these sizes
12354 * tests/check/gst/gstabi.c: (GST_START_TEST):
12355 * tests/check/gst/struct_i386.h:
12356 * tests/check/libs/libsabi.c: (GST_START_TEST):
12357 * tests/check/libs/struct_i386.h:
12360 2006-06-06 Michael Smith <msmith@fluendo.com>
12362 * gst/gstsegment.h:
12363 Don't use c++-style comments, fixes #343929
12365 2006-06-05 Edward Hervey <edward@fluendo.com>
12368 plugin_paths is not used if we build without registry support.
12370 * gst/gstsegment.c: (gst_segment_copy):
12371 _copy() was always returning NULL...
12373 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12375 * libs/gst/dataprotocol/dataprotocol.c:
12376 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12377 (gst_dp_packet_from_event):
12378 factor out CRC code
12380 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12382 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12383 make sure we unset caps
12385 2006-06-02 Michael Smith <msmith@fluendo.com>
12387 * libs/gst/check/gstcheck.c: (gst_check_init),
12388 (gst_check_chain_func):
12389 * libs/gst/check/gstcheck.h:
12390 Add a cond/mutex to the check support lib, signal this whenever we
12391 add to the buffers list. This will allow tests to not busy-wait on
12394 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12396 * libs/gst/dataprotocol/dataprotocol.c:
12397 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12398 (gst_dp_packet_from_event):
12399 factor out some common header init code
12401 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12403 * docs/libs/gstreamer-libs-sections.txt:
12404 * docs/libs/tmpl/gstdataprotocol.sgml:
12405 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12406 * libs/gst/dataprotocol/dataprotocol.h:
12407 API: make gst_dp_crc() public
12409 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12411 * plugins/indexers/gstindexers.c: (plugin_init):
12412 conditionally register fileindexer (fixes #343598)
12414 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12416 * gst/gsttagsetter.h:
12417 Can't cast ifaces to a class
12419 * libs/gst/net/gstnetclientclock.h:
12420 * libs/gst/net/gstnettimeprovider.h:
12421 * plugins/elements/gstfakesink.h:
12422 * plugins/elements/gstfakesrc.h:
12423 * plugins/elements/gstfdsink.h:
12424 * plugins/elements/gstfdsrc.h:
12425 * plugins/elements/gstfilesink.h:
12426 * plugins/elements/gstfilesrc.h:
12427 * plugins/elements/gstidentity.h:
12428 * plugins/elements/gstqueue.h:
12429 * plugins/elements/gsttee.h:
12430 * plugins/indexers/gstfileindex.c:
12431 * plugins/indexers/gstmemindex.c:
12432 * tests/old/examples/plugins/example.h:
12433 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12435 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12437 * libs/gst/dataprotocol/dataprotocol.c:
12438 (gst_dp_header_from_buffer):
12439 make sure we zero the whole ABI-compatible area
12441 2006-06-01 Wim Taymans <wim@fluendo.com>
12443 Patch by: Alessandro Decina <alessandro at nnva dot org>
12445 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12446 Make sure the EOS flag is cleared from pads after a flush
12447 or stop. Fixes #343538.
12449 * tests/check/libs/collectpads.c: (GST_START_TEST),
12450 (gst_collect_pads_suite):
12451 Added test for collectpads reusage after EOS.
12453 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12456 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12457 * win32/common/libgstbase.def:
12458 export gst_collect_pads_set_flushing
12459 * win32/common/libgstreamer.def:
12460 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12461 gst_value_fraction_multiply
12462 * win32/vs6/gst_inspect.dsp:
12463 add a link to intl.lib
12465 2006-05-30 Wim Taymans <wim@fluendo.com>
12467 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12468 (gst_collect_pads_chain):
12469 Handle the case where a pad is removed from the collection
12470 that could cause the other pads to become collectable.
12472 2006-05-30 Wim Taymans <wim@fluendo.com>
12474 * gst/gstelement.c:
12475 Clarify the use of _release_request_pad() and
12476 _get_request_pad() a bit better.
12478 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12479 (gst_adapter_take_buffer):
12480 Fix some doc and comment typos.
12482 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12484 * docs/gst/gstreamer-sections.txt:
12485 * docs/libs/gstreamer-libs-sections.txt:
12486 add declared symbols
12488 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12490 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12491 Add debug that can be enabled using a #define at the top of the file,
12492 for dumping stats about how late/early we were when waking up from
12493 waiting on the clock.
12495 2006-05-30 Wim Taymans <wim@fluendo.com>
12497 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12498 When rebuilding the pad list, don't leak the previous list.
12500 2006-05-30 Wim Taymans <wim@fluendo.com>
12502 Patch by: Lutz Mueller <lutz at topfrose dot de>
12504 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12505 (gst_base_src_get_query_types), (gst_base_src_update_length):
12506 Publish supported query types.
12507 Update last_stop field in get_range mode so the position
12508 query works. Fixes #342321.
12510 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12512 * docs/gst/gstreamer-sections.txt:
12513 * gst/gsttaglist.c: (_gst_tag_initialize):
12514 * gst/gsttaglist.h:
12515 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12517 2006-05-30 Wim Taymans <wim@fluendo.com>
12519 Patch by: Alessandro Decina <alessandro at nnva dot org>
12521 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12522 Unlock mutex when removing an unknown pad.
12525 * tests/check/Makefile.am:
12526 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12527 (push_event), (setup), (teardown), (GST_START_TEST),
12528 (gst_collect_pads_suite), (main):
12529 Added collecpads check, disabled for now as check crashes for
12532 2006-05-29 Wim Taymans <wim@fluendo.com>
12534 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12535 Don't leak pads lists.
12537 2006-05-29 Wim Taymans <wim@fluendo.com>
12539 * docs/libs/gstreamer-libs-sections.txt:
12540 * libs/gst/base/gstcollectpads.c:
12541 (gst_collect_pads_set_flushing_unlocked),
12542 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12543 (gst_collect_pads_stop):
12544 * libs/gst/base/gstcollectpads.h:
12545 API: gst_collect_pads_set_flushing()
12546 Added api to set the pads to flushing, useful for seeking
12547 code in elements using collectpads.
12548 Clear segment when receiving a flush.
12550 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12552 * gst/gst.c: (add_path_func), (init_post):
12553 Don't scan registry paths passed via --gst-plugin-path immediately
12554 (will crash, because absolutely nothing is set up and no types are
12555 registered etc.); do this later in init_post(). Fixes #343057.
12557 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12559 * gst/gst.c: (init_post):
12560 if we have fork, fork while reading/rebuilding the registry
12561 so the parent doesn't take the hit of having all plugins loaded
12562 in memory. Fixes #342777.
12564 Check if we have fork()
12565 * win32/common/config.h.in:
12568 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12570 * plugins/elements/gstelements.c:
12571 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12572 (gst_file_src_init), (gst_file_src_set_property),
12573 (gst_file_src_get_property), (gst_file_src_start):
12574 * plugins/elements/gstfilesrc.h:
12575 API: GstFileSrc::use-mmap
12577 Add a use-mmap property to enable easier testing of all code paths.
12578 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12579 in the absence of gnomevfssrc. (Closes #340501)
12581 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12583 * tools/gst-inspect.c:
12584 Add missing include, removes warning of ngettext not being defined on
12587 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12589 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12590 Handle NULL input and output pointers silently as a failed conversion,
12591 rather than g_warnings.
12593 2006-05-25 Wim Taymans <wim@fluendo.com>
12595 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12596 Initialize variable before using. Fixes #342820.
12598 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12600 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12601 Fix off-by-one bug that would only allow peeks of N-1 bytes
12602 from the start even if the buffer to typefind on contains
12603 in fact N bytes of data (makes vorbis typefinding from a
12604 vorbis identification header buffer work).
12606 * tests/check/Makefile.am:
12607 * tests/check/libs/.cvsignore:
12608 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12609 (gst_typefindhelper_suite), (main), (foobar_typefind),
12611 Add very basic unit test for gst_type_find_helper_for_buffer()
12612 that checks for the problem fixed above.
12614 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12616 * tools/gst-inspect.c: (print_interfaces),
12617 (print_element_properties_info), (print_element_list), (main):
12618 add more translatable strings
12620 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12622 Patch by: Julien Moutte <julien at moutte net>
12624 * docs/gst/gstreamer-sections.txt:
12625 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12627 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12628 (gst_fake_sink_preroll):
12629 * plugins/elements/gstfakesink.h:
12630 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12632 2006-05-23 Wim Taymans <wim@fluendo.com>
12634 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12636 Added _CUSTOM error and success GstFlowReturn that can be
12637 used be elements internally.
12638 Added macro to check for SUCCESS flowreturns.
12639 API: GST_FLOW_CUSTOM_SUCCESS
12640 API: GST_FLOW_CUSTOM_ERROR
12641 API: GST_FLOW_IS_SUCCESS
12643 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12644 Added check for GstFlowReturn sanity.
12646 2006-05-23 Wim Taymans <wim@fluendo.com>
12648 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12650 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12651 (gst_collect_pads_event):
12652 clear/reset segment info in FLUSH_STOP.
12655 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12657 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12658 (gst_collect_pads_check_collected):
12659 Flush queued buffer on _stop(), fixes playing again (#342454)
12661 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12663 * tests/check/gst/gststructure.c: (GST_START_TEST),
12664 (gst_structure_suite):
12665 add a test for a complete structure
12667 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12669 * docs/faq/developing.xml:
12670 * docs/faq/faq.xml:
12671 * docs/faq/troubleshooting.xml:
12672 * docs/faq/using.xml:
12673 Some minor FAQ updates that won't change the fact that
12674 our FAQ is badly structured, full of information hardly
12675 anyone new to GStreamer needs to know and lacking lots
12676 of information people constantly ask for.
12678 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12680 * gst/gstpad.c: (gst_pad_set_caps):
12681 Short-circuit gst_pad_set_caps if setting the existing
12682 caps pointer again, and avoid printing debug and
12683 reffing/unreffing the caps.
12685 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12686 There's actually no need to set the caps before pushing -
12687 the acceptcaps method will handle it anyway.
12689 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12691 * docs/gst/gstreamer-sections.txt:
12692 * win32/common/libgstreamer.def:
12693 * gst/gstutils.c: (gst_element_seek_simple):
12695 API: add gst_element_seek_simple() (#342238).
12697 2006-05-18 Edward Hervey <edward@fluendo.com>
12699 * gst/gsttypefind.c: (gst_type_find_get_type):
12700 * gst/gsttypefind.h:
12701 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12702 registered for GstTypeFind pointers. This allows wrapping the structure
12703 in bindings (i.e. gst-python).
12705 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12707 * gst/gsttagsetter.c:
12708 Docs additions and fixes (see #339918).
12710 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12712 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12713 The caps intersection algorithm can produce multiple copies of the
12714 caps. Until that is fixed, we need to simplify the result to be
12715 sure whether the allowed caps are fixed or not.
12717 * plugins/elements/gstqueue.c: (gst_queue_init),
12718 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12719 (gst_queue_push_one):
12720 Proxied buffer alloc should not set the caps on the source pad.
12721 When pushing buffers, we always accept the caps change that triggers.
12722 This prevents negotiation errors caused by caps changing mid-stream
12723 and then being refused on our source pad (because upstream is now
12724 refusing those caps).
12726 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12728 * tests/examples/helloworld/helloworld.c: (main):
12729 Must plug audioconvert and audioresample between decoder
12732 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12734 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12735 (load_feature), (load_plugin):
12736 Allow empty strings for some of the plugin fields so we don't
12737 drop valid plugin entries that were written out correctly
12740 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12742 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12743 Use g_remove and g_rename instead of remove and rename that don't
12744 handle utf8 characters. rename was failing for users who had specific
12745 characters in their name then the registry was built at each
12747 * win32/vs6/gst_inspect.dsp:
12748 * win32/vs6/gst_launch.dsp:
12749 * win32/vs6/libgstbase.dsp:
12750 * win32/vs6/libgstcoreelements.dsp:
12751 * win32/vs6/libgstreamer.dsp:
12752 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12753 build of libgstreamer and clean unused libraries in projects link
12756 2006-05-17 Edward Hervey <edward@fluendo.com>
12758 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12759 The queue is not responsible for pushing an EOS when receiving a fatal
12760 flow error. It's up to the real element driving the pipeline to do that.
12762 2006-05-16 Edward Hervey <edward@fluendo.com>
12764 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12765 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12766 buffer returned a fatal error. It should just send an EOS and stop
12768 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12769 when pushing buffers on the queue and will be able to handle the event.
12771 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12773 * docs/manual/basics-bins.xml:
12774 * docs/manual/basics-init.xml:
12775 Fix typos and minor errors in sample code (#341856).
12777 2006-05-16 Wim Taymans <wim@fluendo.com>
12779 * docs/design/part-qos.txt:
12780 Fix indexes in formulas to make more sense.
12782 2006-05-15 Wim Taymans <wim@fluendo.com>
12784 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12785 Don't report POSITION based on clock time if sync is
12786 disabled in a sink.
12788 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12791 Add cast to make compiler happy - refcount variable was a gint
12792 in GstObject but is a guint in GObject and g_atomic_int_get()
12795 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12797 * gst/parse/Makefile.am:
12798 chain commands using &&, which also makes parallel make work
12800 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12802 * docs/gst/gstreamer-sections.txt:
12805 * gst/gstmessage.h:
12808 === release 0.10.6 ===
12810 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12813 releasing 0.10.6, "Take the cannoli"
12815 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12817 * tools/gst-launch.c: (print_tag):
12818 Fix use of uninitialized variable in the hypothetical
12819 case that some broken plugin creates a GST_TAG_IMAGE
12820 tag containing a NULL buffer (#341667).
12822 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12824 * tools/gst-launch.c: (print_tag):
12825 Print something more intelligible for image tags when
12826 using the -t switch (#341556).
12828 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12833 define GST_MAJORMINOR so we have it available in win32/common/config.h
12834 Possibly remove it from our Makefile.am files later
12835 * win32/common/config.h:
12836 * win32/common/config.h.in:
12837 added GST_MAJORMINOR
12838 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12839 * win32/common/gstversion.h:
12842 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12845 Update win32 files listing.
12846 * win32/common/gstversion.h:
12847 Add GST_MAJORMINOR definition.
12848 * win32/common/libgstreamer.def:
12849 Add new exported functions.
12851 2006-05-12 Michael Smith <msmith@fluendo.com>
12853 * gst/gstplugin.c: (gst_plugin_load_file):
12854 If an so file has no plugin entry point, unload the module.
12856 2006-05-11 Wim Taymans <wim@fluendo.com>
12858 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12859 (gst_queue_set_property):
12860 Don't forget to signal the _chain or _loop function
12861 when the queue size or thresholds change since that might
12862 cause them to make progres again.
12864 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12866 * gst/gstclock.c: (gst_clock_class_init):
12867 * gst/gstindex.c: (gst_index_class_init):
12868 * gst/gstobject.c: (gst_object_class_init):
12869 * gst/gstpad.c: (gst_pad_class_init):
12870 * gst/gstpipeline.c: (gst_pipeline_class_init):
12871 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12872 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12873 * libs/gst/base/gstbasetransform.c:
12874 (gst_base_transform_class_init):
12875 * libs/gst/net/gstnetclientclock.c:
12876 (gst_net_client_clock_class_init):
12877 * libs/gst/net/gstnettimeprovider.c:
12878 (gst_net_time_provider_class_init):
12879 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12880 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12881 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12882 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12883 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12884 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12885 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12886 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12887 * plugins/elements/gsttee.c: (gst_tee_class_init):
12888 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12889 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12890 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12892 2006-05-11 Wim Taymans <wim@fluendo.com>
12894 * gst/gstbuffer.c: (_gst_buffer_initialize):
12895 Register subbufer along with the buffer type so that
12896 it does not accidentally gets registered from N
12897 different streaming threads in a non threadsafe way.
12899 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12903 * gst/gstmessage.h:
12904 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12905 gst_event_ref() and gst_message_ref() functions again
12906 (ugly hack, please do fix if there's a better way besides
12907 overrides.txt, which doesn't seem to work).
12909 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12911 * libs/gst/check/gstcheck.h:
12912 add an assert for setting state to avoid lots of repetitive code
12915 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12917 * gst/gstvalue.c: (gst_value_serialize_flags):
12918 fix a leak if no flags are set
12919 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12922 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12924 * docs/manual/basics-pads.xml:
12925 Expand a bit on caps and filtered links and update
12926 examples that were still using the no longer existing
12927 gst_pad_link_filtered() (#338206).
12929 2006-05-10 Wim Taymans <wim@fluendo.com>
12931 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12932 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12933 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12934 (gst_collect_pads_stop):
12935 * libs/gst/base/gstcollectpads.h:
12936 No need to call _stop in _finalize.
12937 Iterate the main pad list in _finalize.
12938 Added some more debug.
12939 Free lists and data in the right order.
12940 Also free data whem doing _remove_pad when stopped for
12941 backward compatibility protect ::started with PAD_LOCK as
12944 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12946 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12947 (gst_structure_parse_value):
12949 rename a method so that it actually says what it does better
12951 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12953 * gst/gstevent.c: (_gst_event_initialize):
12954 * gst/gstformat.c: (_gst_format_initialize):
12955 make sure some essential types used by events are registered
12956 as part of gst_init()
12957 * gst/gstvalue.c: (gst_value_serialize_flags):
12958 if no flags are set, serialize them to a value that represents NONE
12959 so that deserializing them works
12960 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12961 add tests for serialization and deserialization of flags
12963 2006-05-10 Wim Taymans <wim@fluendo.com>
12965 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12966 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12967 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12968 (gst_collect_pads_event), (gst_collect_pads_chain):
12971 Catch and return errors from the collect function
12972 Refuse data on eos pads.
12974 2006-05-10 Edward Hervey <edward@fluendo.com>
12976 * gst/gstinterface.h:
12977 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12978 GInterface type checking.
12979 They were previously using non-defined macros.
12981 2006-05-09 Wim Taymans <wim@fluendo.com>
12983 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12984 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12985 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12986 (gst_collect_pads_start), (gst_collect_pads_stop),
12987 (gst_collect_pads_peek), (gst_collect_pads_pop),
12988 (gst_collect_pads_available), (gst_collect_pads_read),
12989 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12990 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12991 (gst_collect_pads_chain):
12992 * libs/gst/base/gstcollectpads.h:
12993 Clean up the mess that is collectpads, add comments and
12994 FIXMEs where needed.
12995 Maintain a separate pad list so we can add pads while
12996 collecting the other ones. For this we need a new separate
12998 Fix memory leak in finalize.
12999 Refactor some weird code to set/unset pad flushing flags, mark
13001 Don't crash in _available, _read, _flush when we're EOS.
13003 * tests/check/libs/.cvsignore:
13004 Ignore adapter check binary.
13006 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13008 * gst/gstindex.c: (gst_index_resolver_get_type):
13009 * plugins/elements/gstfakesink.c:
13010 (gst_fake_sink_state_error_get_type):
13011 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
13012 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
13013 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
13014 Const-ify GEnumValue arrays.
13016 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13018 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13019 Add test case for flags + gst_buffer_make_metadata_writable().
13021 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13023 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13024 gst_buffer_make_metadata_writable() should maintain the
13025 buffer flags (those that make sense at least) (see #340859).
13027 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13029 * tools/gst-inspect.c:
13030 * tools/gst-launch.c:
13031 * tools/gst-typefind.c:
13032 * tools/gst-xmlinspect.c:
13034 Fix up includes: need to include stdlib.h in tools.h for exit().
13036 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13038 * gst/gsttaglist.c: (_gst_tag_initialize):
13039 * gst/gsttaglist.h:
13040 API: add GST_TAG_IMAGE tag (#340721).
13042 2006-05-08 Wim Taymans <wim@fluendo.com>
13045 Added some docs for the segment query.
13047 2006-05-08 Wim Taymans <wim@fluendo.com>
13049 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13050 (gst_base_src_loop), (gst_base_src_change_state):
13051 Always push non-flushing serialized events in the streaming
13054 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13056 * gst/gsterror.c: (_gst_stream_errors_init):
13057 Add a missing error string.
13059 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13061 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13062 Add applied_rate to the debug
13064 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13065 Copy applied_rate into the outgoing NEWSEGMENT event
13067 2006-05-08 Wim Taymans <wim@fluendo.com>
13069 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13071 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13072 (gst_base_sink_change_state):
13073 call ::unlock before taking the PREROLL_LOCK so we can safely
13074 handle elements that lock in ::render.
13077 2006-05-08 Edward Hervey <edward@fluendo.com>
13079 * autogen.sh: (CONFIGURE_DEF_OPT):
13080 Darwin's libtoolize is in fact called glibtoolize.
13081 Adding glibtoolize to the list of accepted names for libtoolize.
13083 2006-05-08 Wim Taymans <wim@fluendo.com>
13085 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13086 Unify error handling, don't post an error message
13087 when a push() returns EOS but perform our normal EOS
13088 handling code. Fixes #340772.
13090 2006-05-08 Wim Taymans <wim@fluendo.com>
13092 * docs/design/part-overview.txt:
13093 Make upsteam/downstream concepts more clear.
13094 Give an example of serialized/non-serialized events.
13096 * docs/design/part-events.txt:
13097 * docs/design/part-streams.txt:
13098 Mention applied_rate.
13100 * docs/design/part-trickmodes.txt:
13101 Mention applied rate, flesh out some more use cases.
13103 * gst/gstevent.c: (gst_event_new_new_segment),
13104 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13105 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13106 (gst_event_parse_tag), (gst_event_new_buffer_size),
13107 (gst_event_parse_buffer_size), (gst_event_new_qos),
13108 (gst_event_parse_qos), (gst_event_parse_seek),
13109 (gst_event_new_navigation):
13111 Add applied_rate field to NEWSEGMENT event.
13112 API: gst_event_new_new_segment_full()
13113 API: gst_event_parse_new_segment_full()
13115 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13116 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13117 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13118 * gst/gstsegment.h:
13119 Add applied_rate to GstSegment structure.
13120 Make calculation of stream_time and running_time more correct
13121 wrt rate/applied_rate.
13122 Add some more docs.
13123 API: GstSegment::applied_rate field
13124 API: gst_segment_set_newsegment_full();
13126 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13127 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13128 * libs/gst/base/gstbasetransform.c:
13129 (gst_base_transform_sink_eventfunc),
13130 (gst_base_transform_handle_buffer):
13131 Parse and use applied_rate in the GstSegment field.
13133 * tests/check/gst/gstevent.c: (GST_START_TEST):
13134 Add check for applied_rate field.
13136 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13137 (gstsegments_suite):
13138 Add more checks for various GstSegment operations.
13140 2006-05-08 Wim Taymans <wim@fluendo.com>
13142 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13143 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13144 (gst_base_sink_get_position), (gst_base_sink_change_state):
13145 Store the sync time of the buffer end position separatly in a
13146 new variable eos_rtime so we can properly sync the EOS event.
13148 Fix the docs for gst_base_sink_set_qos_enabled().
13149 Don't set segment start to invalid value when we receive a
13150 non TIME newsegment.
13151 get closer to handling position reporting for negative rates
13154 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13157 Docs about how to print caps for debug purposes.
13159 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13160 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13162 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13164 * gst/gstelement.c:
13165 use full enum names and preprend a '%' in docs strings to make recent
13166 gtk-doc turn that into a link
13168 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13170 * docs/manual/basics-bins.xml:
13171 * docs/manual/basics-bus.xml:
13172 * docs/manual/basics-pads.xml:
13173 Some typo fixes, some additions, some clarifications.
13175 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13177 * tools/gst-inspect.c: (main):
13178 * tools/gst-launch.c: (main):
13179 * tools/gst-run.c: (main):
13180 * tools/gst-typefind.c: (main):
13181 * tools/gst-xmlinspect.c: (main):
13182 Use the string passed to g_option_context_new() for
13183 what it's intended for - the program name is already
13186 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13188 * tools/Makefile.am:
13189 * tools/gst-inspect.c: (main):
13190 * tools/gst-launch.c: (main):
13191 * tools/gst-xmlinspect.c: (main):
13193 Add back --version command line option (#340460).
13195 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13196 Add --version option and use GOption for argument parsing; refactor a
13197 bit; accept directories as arguments and recurse into them; lastly,
13198 print a decent error message when things go wrong.
13200 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13202 * docs/manual/basics-bins.xml:
13203 Don't mention GstThread (#340611)
13204 * docs/manual/basics-elements.xml:
13205 Update link to GObject tutorial (#340607)
13207 2006-05-05 Wim Taymans <wim@fluendo.com>
13210 * gst/gstminiobject.c:
13211 Add note about refcounting and miniobject/buffer writeability
13212 to docs. Fixes #340604
13214 * gst/gstelementfactory.h:
13215 Added some explanation about @klass.
13217 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13219 * docs/manual/intro-motivation.xml:
13220 * docs/manual/manual.xml:
13221 Avoid CORBA & Bonobo references (#340598)
13223 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13225 * docs/manual/basics-bus.xml:
13226 * docs/manual/basics-pads.xml:
13227 Fix up some inaccuracies and omissions (#340609)
13229 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13231 * gst/gstghostpad.c:
13232 Small typo in docs (#340625)
13234 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13236 * gst/parse/Makefile.am:
13237 Make 'make -j' proof (see #340698).
13239 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13242 Require GLib-2.8 here as well.
13244 2006-05-05 Wim Taymans <wim@fluendo.com>
13246 * gst/glib-compat.c:
13247 * gst/gst.c: (init_pre):
13248 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13249 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13250 (gst_object_dispatch_properties_changed):
13252 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13253 * gst/gststructure.c: (gst_structure_set_valist):
13254 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13255 Remove pre glib2.8 compatibility, fixes #340508
13257 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13259 * gst/gsttaglist.h:
13260 Mention type of tags in doc blurbs.
13262 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13264 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13265 (gst_pad_configure_src), (gst_pad_push):
13266 Restore acceptcaps checking behaviour now that good plugins have
13269 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13271 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13278 * gst/gstmessage.c:
13282 * gst/parse/Makefile.am:
13283 * libs/gst/base/gstadapter.c:
13284 * libs/gst/base/gstbasesrc.c:
13285 * libs/gst/base/gstpushsrc.c:
13286 * libs/gst/base/gsttypefindhelper.c:
13287 * plugins/elements/gstfakesrc.c:
13288 * plugins/elements/gstidentity.c:
13289 Make sure gstprivate.h and/or config.h are
13290 always included first, otherwise some of our
13291 defines (like _FILE_OFFSET_BITS) might be
13292 redefined in the system headers. Fixes build
13293 on opensolaris (#340016).
13295 2006-05-04 Wim Taymans <wim@fluendo.com>
13297 * docs/libs/gstreamer-libs-sections.txt:
13298 API: addition: gst_adapter_take_buffer()
13300 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13301 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13302 (gst_adapter_available_fast):
13303 * libs/gst/base/gstadapter.h:
13304 Prepare for optimizing the hell out of this hugely inefficient
13306 Added gst_adapter_take_buffer() so we can at least start thinking
13307 about subbuffering and merging.
13308 Added some comments.
13310 * tests/check/Makefile.am:
13311 * tests/check/libs/adapter.c: (GST_START_TEST),
13312 (gst_adapter_suite), (main):
13313 Added GstAdapter check.
13315 2006-05-04 Wim Taymans <wim@fluendo.com>
13317 * docs/design/part-overview.txt:
13318 Fix some typos, add blurb about buffer flags.
13320 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13322 * docs/libs/gstreamer-libs-sections.txt:
13323 make sure GstBaseTransformClass shows up in the docs
13324 * libs/gst/base/gstbasetransform.c:
13325 * libs/gst/base/gstbasetransform.h:
13326 move docs so gtk-doc picks it up now
13328 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13330 * docs/libs/gstreamer-libs-sections.txt:
13331 add missing symbols to docs
13333 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13335 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13336 back out the newsegment handling change, see #340060 for ongoing
13339 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13341 * tools/gst-run.c: (get_candidates), (main):
13342 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13343 work); fix typo in error message. Fixes #340079.
13345 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13347 * common/Makefile.am:
13348 * docs/Makefile.am:
13349 * docs/faq/Makefile.am:
13350 * docs/gst/Makefile.am:
13351 * docs/libs/Makefile.am:
13352 * docs/manual/Makefile.am:
13353 * docs/plugins/Makefile.am:
13354 * docs/pwg/Makefile.am:
13355 * docs/slides/Makefile.am:
13357 * common/upload.mak:
13358 move upload.mak to common
13360 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13362 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13363 add more asserts on refcounts
13364 do more cleanup at end of tests
13365 fix test leaks showing in FC5
13367 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13369 * plugins/elements/gsttypefindelement.c:
13370 (gst_type_find_element_handle_event):
13371 reverted wrong change and reflowed code to avoid others falling into
13374 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13376 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13377 fix changelog entry about last collectpads change,
13378 add notes about proper fix
13380 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13383 * gst/gstregistry.c: (gst_registry_scan_path_level),
13384 (gst_registry_scan_path):
13385 * gst/gstregistry.h:
13386 only write out registry if it has changed, fixes #338339
13388 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13391 * gst/gstpipeline.c:
13392 * plugins/elements/gstcapsfilter.c:
13393 * plugins/elements/gstfakesink.c:
13394 * plugins/elements/gstfakesrc.c:
13395 * plugins/elements/gstfdsink.c:
13396 * plugins/elements/gstfdsrc.c:
13397 * plugins/elements/gstfilesink.c:
13398 * plugins/elements/gstfilesrc.c:
13399 * plugins/elements/gstidentity.c:
13400 * plugins/elements/gstqueue.c:
13401 * plugins/elements/gsttee.c:
13402 * plugins/elements/gsttypefindelement.c:
13403 (gst_type_find_element_handle_event):
13404 make GstElementDetails const
13406 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13408 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13409 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13410 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13411 more detailed debug and formatting cleanup,
13412 forward newsegments to src-pad (so that e.g. adder not eats them)
13414 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13416 * gst/gstutils.c: (gst_element_link_pads):
13417 cleanup double code
13419 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13421 * libs/gst/controller/gstcontroller.c:
13422 (gst_controller_sync_values):
13424 * tests/check/libs/controller.c: (GST_START_TEST),
13425 (gst_controller_suite):
13426 a new test for live value handling
13428 2006-04-28 Wim Taymans <wim@fluendo.com>
13430 * gst/gstutils.c: (push_and_ref):
13431 Added some more docs.
13432 Fix refcount issue whith gst_element_found_tags() helper
13433 function. Fixes #338335
13435 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13436 Added testsuite for gst_element_found_tags().
13438 2006-04-28 Michael Smith <msmith@fluendo.com>
13440 * gst/gstvalue.c: (gst_value_serialize_flags):
13441 Avoid NULL dereference when trying to serialize flags containing
13444 2006-04-28 Michael Smith <msmith@fluendo.com>
13446 * plugins/elements/gsttypefindelement.c:
13447 (gst_type_find_element_handle_event):
13448 If we get EOS before any data is accumulated, don't use
13449 uninitialised local variables.
13451 2006-04-28 Michael Smith <msmith@fluendo.com>
13453 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13454 (gst_dp_event_from_packet):
13455 Fixes in reading/writing events over GDP (not currently used?) -
13456 dereferencing NULL events for unknown/invalid event types, memory
13457 leak, and change g_warning to GST_WARNING.
13459 2006-04-28 Wim Taymans <wim@fluendo.com>
13461 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13462 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13463 (gst_base_sink_get_position), (gst_base_sink_change_state):
13464 When frame dropping is enabled, we should not ignore frames
13465 without a duration.
13466 Update some documentation.
13468 2006-04-28 Wim Taymans <wim@fluendo.com>
13470 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13471 (gst_base_src_send_event), (gst_base_src_change_state):
13472 Documentation updates.
13474 2006-04-28 Wim Taymans <wim@fluendo.com>
13476 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13477 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13478 handle EAGAIN, EINTR and short writes correctly. Also clean
13479 up some error cases, avoid a deadlock on bad file descriptors and
13480 use GST_DEBUG_OBJECT.
13483 2006-04-28 Wim Taymans <wim@fluendo.com>
13485 * gst/gstvalue.c: (gst_value_serialize_buffer),
13486 (gst_value_deserialize_buffer):
13487 Don't try to serialize a GValue with a NULL buffer.
13490 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13491 Added check for serialisation of NULL buffers.
13493 2006-04-28 Wim Taymans <wim@fluendo.com>
13495 * gst/gstminiobject.c: (gst_value_take_mini_object):
13496 Taking a NULL miniobject is valid, fix the case where
13497 we try to unref the NULL miniobject.
13499 2006-04-28 Wim Taymans <wim@fluendo.com>
13501 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13503 * gst/gstbin.c: (gst_bin_handle_message_func):
13505 Don't leak bin refcount when a state recalc is
13506 in progress and we delay another one #339808.
13508 2006-04-28 Wim Taymans <wim@fluendo.com>
13510 * docs/design/part-TODO.txt:
13511 Mention QoS as an ongoing work item.
13513 * docs/design/part-buffering.txt:
13514 New doc about buffering that needs to be fleshed out
13517 * docs/design/part-qos.txt:
13518 More QoS policy for decoders/demuxers/transforms
13520 * docs/design/part-trickmodes.txt:
13523 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13528 === release 0.10.5 ===
13530 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13533 releasing 0.10.5, "Fogo"
13535 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13537 patch by: Wim Taymans
13539 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13540 (gst_pad_configure_src), (gst_pad_push):
13541 * gst/gstpipeline.c: (gst_pipeline_init):
13542 Fix internal data flow errors. Fixes #338711.
13544 2006-04-12 Wim Taymans <wim@fluendo.com>
13546 * tests/check/gst/gstelement.c: (GST_START_TEST):
13547 Don't leak the factory.
13549 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13552 * win32/common/config.h:
13555 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13557 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13558 (gst_controller_unset_all):
13559 Free allocated GstTimedValues when freeing list nodes.
13560 Should fix leaks 'make check-valgrind' complains about.
13562 * win32/common/libgstcontroller.def:
13563 Add gst_controller_unset_all.
13565 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13567 * docs/libs/gstreamer-libs-sections.txt:
13568 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13569 (gst_controller_unset_all):
13570 * libs/gst/controller/gstcontroller.h:
13571 API: Added new method gst_controller_unset_all()
13572 fixed gst_controller_unset()
13573 * tests/check/libs/controller.c: (GST_START_TEST),
13574 (gst_controller_suite):
13575 Added two testcases for new and fixed method
13577 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13579 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13580 MSG_DONTWAIT is not defined on Cygwin, so work
13581 around that (fixes #317048).
13583 2006-04-11 Wim Taymans <wim@fluendo.com>
13585 * gst/gstelementfactory.c: (gst_element_register),
13586 (gst_element_factory_create), (gst_element_factory_make):
13589 Updated docs (Fixes #131079)
13591 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13594 * tests/check/gst/gstelement.c: (GST_START_TEST),
13595 (gst_element_suite):
13596 Added testcase for elementfactory class field.
13598 2006-04-10 Wim Taymans <wim@fluendo.com>
13600 * gst/gstsegment.c:
13601 Added some more docs.
13603 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13604 (gst_base_sink_reset_qos):
13605 Calculate more accurate rate values.
13607 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13609 * gst/gst_private.h:
13610 add a new #ifdef to use __declspec(dllimport) only for
13611 other modules and not for gstreamer core
13612 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13613 use gst_guint64_to_gdouble for conversion
13614 * win32/common/libgstreamer.def:
13615 add new exported functions
13616 * win32/vs6/gst_inspect.dsp:
13617 * win32/vs6/gst_launch.dsp:
13618 * win32/vs6/libgstbase.dsp:
13619 * win32/vs6/libgstcontroller.dsp:
13620 * win32/vs6/libgstcoreelements.dsp:
13621 * win32/vs6/libgstdataprotocol.dsp:
13622 * win32/vs6/libgstnet.dsp:
13623 update project files
13625 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13627 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13628 * gst/gstclock.c: (gst_clock_class_init):
13629 * gst/gstelement.c: (gst_element_class_init):
13630 * gst/gstindex.c: (gst_index_class_init):
13631 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13632 * gst/gstobject.c: (gst_object_class_init),
13633 (gst_signal_object_class_init):
13634 * gst/gstpad.c: (gst_pad_class_init):
13635 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13636 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13637 * gst/gstregistry.c: (gst_registry_class_init):
13638 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13639 * gst/gsttask.c: (gst_task_class_init):
13640 * gst/gstxml.c: (gst_xml_class_init):
13641 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13642 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13643 (gst_base_src_loop):
13644 * libs/gst/controller/gstcontroller.c:/
13645 (_gst_controller_class_init):
13646 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13647 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13648 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13649 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13650 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13651 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13653 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13655 * gst/gstpad.c: (gst_pad_link):
13656 Must set peer pads before calling the link function, otherwise
13657 a task started from a link function might get a flow-not-linked
13658 result when trying to push because the other thread where the
13659 linking happens hasn't had a chance to set the peers yet. This
13660 might happen for example when a queue gets linked to a downstream
13661 element, as queue starts a streaming task when its source pad
13662 gets linked. Happens in real life when playing back flac/musepack
13663 files in playbin (#332390).
13665 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13669 * libs/gst/base/gstadapter.h:
13670 * libs/gst/base/gstbasesink.h:
13671 * libs/gst/base/gstbasesrc.h:
13672 * libs/gst/base/gstbasetransform.h:
13673 * libs/gst/base/gstcollectpads.h:
13674 * libs/gst/base/gstpushsrc.h:
13675 Fix broken GObject macros
13677 2006-04-07 Wim Taymans <wim@fluendo.com>
13679 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13680 Initialize start and stop times, thanks valgrind.
13682 2006-04-07 Wim Taymans <wim@fluendo.com>
13684 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13685 Be a bit nicer to badly behaving upstream elements that expect
13686 us to deal with non TIME segments and timestamps (such as fakesrc
13689 2006-04-07 Wim Taymans <wim@fluendo.com>
13692 Small documentation clarification about the signal watch.
13694 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13695 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13696 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13697 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13698 (gst_base_sink_get_position_last),
13699 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13700 Convert and store timestamps in stream time and running time, the
13701 raw timestamps are not useful, also document this better.
13702 Use different window sizes for good and bad QoS observations so
13703 we react to badness a little quicker.
13704 Keep track of the amount of rendered and dropped buffers.
13705 Send QoS timestamps in running time.
13707 * libs/gst/base/gstbasetransform.c:
13708 (gst_base_transform_sink_eventfunc),
13709 (gst_base_transform_handle_buffer):
13710 Compare QoS timestamps against running time.
13712 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13715 Typo fixes in docs.
13717 2006-04-06 Michael Smith <msmith@fluendo.com>
13719 * gst/gstpad.c: (gst_pad_set_property):
13720 Use g_value_get_object() instead of g_value_dup_gst_object(),
13721 to avoid double-reffing the pad template (which we then sink,
13722 so this worked previously if (and only if) the pad template
13725 * gst/gstpadtemplate.c: (gst_pad_template_init),
13726 (gst_pad_template_pad_created):
13727 Never return floating references to pad templates, create
13728 them as initially-sunken.
13730 Document an extra function (and make this stop sinking our
13731 pad template, since that is now guaranteed to do nothing,
13732 since we created it sunken).
13734 * gst/gstghostpad.c:
13737 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13739 * gst/gstinfo.c: (__gst_in_valgrind):
13742 * plugins/elements/gsttypefindelement.c:
13743 (gst_type_find_element_chain):
13744 Don't leak buffer caps.
13746 2006-04-06 Michael Smith <msmith@fluendo.com>
13748 * gst/parse/grammar.y:
13749 Fix a leak in parse-launch for any source-or-sink named element
13752 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13753 Unref the pipeline if it exists after we've failed parsing.
13755 2006-04-05 Michael Smith <msmith@fluendo.com>
13757 * gst/gstpipeline.c: (gst_pipeline_init):
13758 When we create a pipeline bus, initially create it in flushing mode.
13759 Fixes leaks in at least one test, and makes a new pipeline work the
13760 same as one that has gone to READY and then back to NULL.
13762 * gst/gstelement.c:
13765 2006-04-05 Michael Smith <msmith@fluendo.com>
13767 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13768 Unref a pad we reffed.
13769 * tests/check/gst/gstutils.c: (GST_START_TEST):
13772 2006-04-05 Michael Smith <msmith@fluendo.com>
13774 * gst/gstquery.c: (gst_query_set_formats),
13775 (gst_query_set_formatsv):
13776 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13778 2006-04-05 Michael Smith <msmith@fluendo.com>
13780 * tests/check/generic/sinks.c: (GST_START_TEST):
13781 Fix a variety of memleaks in sinks check, which are only sometimes
13782 shown by running the tests under valgrind (weird?).
13784 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13786 * docs/version.entities.in:
13787 Fix the substituted entity name after thomas' changes on the
13790 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13792 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13795 2006-04-05 Andy Wingo <wingo@pobox.com>
13797 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13799 * libs/gst/base/gstbasetransform.c
13800 (gst_base_transform_sink_eventfunc): When resetting our segment on
13801 FLUSH_STOP, also update the flag saying we haven't seen a
13804 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13806 Patch by: Paolo Borelli <pborelli at katamail dot com>
13808 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13809 (gst_plugin_check_license):
13810 minor clean-ups: G_DEFINE_TYPE already takes care of the
13811 parent_class stuff, no need to do it twice. Mark array of
13812 license strings as constant. (#337103)
13814 2006-04-04 Michael Smith <msmith@fluendo.com>
13816 * tools/gst-inspect.c: (print_element_list):
13817 Free the right plugin list; fixes a memory leak.
13819 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13821 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13823 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13824 Don't error out on empty buffers (#336945).
13826 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13828 * docs/libs/gstreamer-libs-sections.txt:
13829 * gst/gsttaglist.c:
13830 * libs/gst/base/gstbasesink.c:
13831 * libs/gst/base/gstbasesink.h:
13832 * libs/gst/base/gstbasesrc.c:
13833 * libs/gst/base/gstbasesrc.h:
13834 Documentation updates. Make BaseSink and BaseSrc docs contain the
13835 class structure so that people can actually see the prototypes for
13836 virtual functions they're supposed to be overriding.
13838 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13840 * plugins/elements/gsttypefindelement.c:
13841 (gst_type_find_element_chain):
13842 More debug info; when skipping typefinding, send cached
13843 events in all cases.
13845 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13848 use new AS_VERSION and AS_NANO macros
13849 * gst/gst-i18n-lib.h:
13852 * gst/gstversion.h.in:
13853 * win32/common/config.h:
13854 * win32/common/config.h.in:
13857 2006-03-31 Michael Smith <msmith@fluendo.com>
13859 * plugins/elements/gsttypefindelement.c:
13860 (gst_type_find_element_chain):
13861 Do not typefind content if the buffers already have caps.
13862 Neccesary for icydemux (#333657), and the right thing to do anyway.
13864 2006-03-30 Wim Taymans <wim@fluendo.com>
13866 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13867 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13868 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13869 (gst_base_sink_record_qos_observation),
13870 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13871 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13872 (gst_base_sink_change_state):
13873 More QoS measurements as described in the design doc.
13874 Get rid of ringbuffer with observations, running average is
13875 more simple and equally good.
13876 Calculates valid proportion now.
13877 Added beginning of flood measurement.
13879 2006-03-29 Wim Taymans <wim@fluendo.com>
13881 * docs/design/part-qos.txt:
13883 Small documentation updates and additions.
13885 2006-03-29 Wim Taymans <wim@fluendo.com>
13887 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13888 (gst_base_src_send_event), (gst_base_src_loop),
13889 (gst_base_src_change_state):
13890 Perform the EOS logic when we reach the segment stop position.
13891 Fix compilation on gcc4.1
13893 2006-03-29 Wim Taymans <wim@fluendo.com>
13895 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13897 * plugins/elements/gstqueue.c: (gst_queue_init),
13898 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13899 (gst_queue_set_property):
13900 * plugins/elements/gstqueue.h:
13901 In queue, when EOS is received, if minimum threshold > max_size -
13902 current_level, there is chance that queue blocks forever in conditional
13903 item del wait. This is because the queue is not emptied completely due
13904 to minimum threshold. Here is another approach. Instead of setting
13905 cur_levels to max in EOS, just zero all minimum threshold levels. This
13906 should make sure that queue gives out all data. When going to READY
13907 (stop) state, just reset the original minimum threshold levels.
13910 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13912 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13913 (gst_type_find_element_handle_event),
13914 (gst_type_find_element_send_cached_events),
13915 (gst_type_find_element_change_state):
13916 * plugins/elements/gsttypefindelement.h:
13917 When typefinding is done in push mode, we should cache
13918 events we receive during typefinding instead of just
13919 dropping them (e.g. newsegment, custom events from
13920 dvdreadsrc etc.) and then send them out once we've
13921 determined the type of the stream (and decodebin
13922 has had a chance to plug in a decoder/demuxer).
13924 2006-03-27 Wim Taymans <wim@fluendo.com>
13926 * docs/design/part-qos.txt:
13929 2006-03-27 Wim Taymans <wim@fluendo.com>
13931 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13933 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13934 (gst_base_src_send_event), (gst_base_src_change_state):
13935 Handle element seek correctly when we are streaming.
13938 2006-03-24 Michael Smith <msmith@fluendo.com>
13940 * docs/faq/gst-uninstalled:
13941 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13942 allow you to correctly run intalled applications built against old
13943 core, using plugins that require updated core (e.g. running
13944 installed totem against a full uninstalled gstreamer stack)
13946 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13948 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13951 2006-03-24 Wim Taymans <wim@fluendo.com>
13953 * docs/gst/gstreamer-sections.txt:
13954 Rearrange the order of the methods so that related methods
13955 are grouped together in sections.
13957 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13959 * gst/gstelement.c:
13960 Little clarification in the docs
13962 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13966 * plugins/elements/gstidentity.c:
13967 * plugins/elements/gstqueue.c:
13968 * plugins/elements/gsttee.c:
13969 * plugins/elements/gsttypefindelement.c:
13970 GST_ELEMENT_DETAILS formatting
13972 2006-03-24 Wim Taymans <wim@fluendo.com>
13974 * libs/gst/base/gstbasesink.h:
13975 Only add fields, not insert or we break ABI.
13977 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13979 * win32/common/libgstbase.def:
13980 * win32/common/libgstreamer.def:
13981 Update, add recently added functions.
13983 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13985 * docs/gst/gstreamer-sections.txt:
13986 * gst/gstutils.c: (gst_pad_query_peer_position),
13987 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13989 API: add some new utility functions:
13990 - gst_pad_query_peer_position()
13991 - gst_pad_query_peer_duration()
13992 - gst_pad_query_peer_convert()
13994 2006-03-23 Wim Taymans <wim@fluendo.com>
13996 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13997 (gst_base_sink_init), (gst_base_sink_finalize),
13998 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13999 (gst_base_sink_set_property), (gst_base_sink_get_property),
14000 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
14001 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
14002 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
14003 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
14004 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
14005 (gst_base_sink_preroll_object), (gst_base_sink_event),
14006 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
14007 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
14008 (gst_base_sink_query), (gst_base_sink_change_state):
14009 Decouple max-lateness and the fact that QoS messages are generated
14010 with a new property (qos).
14011 added API: GstBaseSink::async_play()
14012 Add vmethod so subclasses can be notified of ASYNC playing
14014 Collect timestamp start and stop to report better current
14015 position in EOS/PLAYING/PAUSED/READY/NULL.
14016 Refactor QoS/frame dropping and other measurements.
14017 API: GstBaseSrc::qos
14020 * libs/gst/base/gstbasesink.h:
14021 Added Private struct.
14022 API: gst_base_sink_set_qos_enabled()
14023 API: gst_base_sink_is_qos_enabled()
14025 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14027 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14028 If compiling against GLib-2.8 or newer, try to read the
14029 registry file using GMappedFile first before falling back
14030 to fopen() + fread() (#332151).
14032 2006-03-22 Wim Taymans <wim@fluendo.com>
14034 * gst/gstinfo.c: (gst_debug_set_active),
14035 (gst_debug_category_set_threshold):
14036 Disable debugging unless explicitly activated.
14039 2006-03-22 Wim Taymans <wim@fluendo.com>
14041 * gst/gstelement.c: (gst_element_set_locked_state),
14042 (gst_element_dispose):
14043 Cleanup the error case.
14045 * gst/gstobject.c: (gst_object_dispose):
14046 print a critical when some object was disposed with
14047 a parent, also revive the object since it might
14050 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14052 * tools/gst-launch.1.in:
14055 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14058 * tests/check/Makefile.am:
14059 disable some tests when we don't have a registry
14060 * tests/check/gst/gstutils.c: (gst_utils_suite):
14061 don't build the part that needs parsing
14063 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14066 * tests/examples/Makefile.am:
14067 fix --disable-parse build
14069 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14071 * tools/gst-feedback.1.in:
14072 Fix typo: s/feeback/feedback/ (#133494).
14074 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14076 * tools/Makefile.am:
14077 * tools/gst-launch.1.in:
14078 Add FILES section and correct entry about GST_REGISTRY_PATH
14079 environment variable (#133495; #133494).
14081 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14083 * tools/Makefile.am:
14084 * tools/gst-md5sum.1.in:
14085 * tools/gst-md5sum.c:
14086 Remove gst-md5sum and man page (the md5sink element
14087 required was removed ages ago)
14089 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14091 * gst/gststructure.c: (gst_structure_id_set_value):
14092 Make sure that string fields in structures/taglists
14093 contain valid UTF-8 - we don't want to pass rubbish to
14094 applications because of a buggy plugin (cp. #334167).
14096 2006-03-21 Edward Hervey <edward@fluendo.com>
14098 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14099 (gst_bin_handle_message_func):
14100 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14101 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14102 (gst_element_set_bus_func):
14103 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14104 * gst/gstminiobject.c: (gst_value_set_mini_object),
14105 (gst_value_take_mini_object):
14106 * gst/gstpad.c: (gst_pad_set_pad_template):
14107 * gst/gstpipeline.c: (gst_pipeline_dispose),
14108 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14109 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14110 (gst_collect_pads_chain):
14111 * libs/gst/net/gstnettimeprovider.c:
14112 (gst_net_time_provider_set_property):
14113 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14114 It's in fact all issues with gst_*object_replace().
14116 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14118 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14120 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14121 * pkgconfig/gstreamer-check.pc.in:
14122 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14124 2006-03-21 Edward Hervey <edward@fluendo.com>
14128 * gst/gstmessage.h:
14129 gst_[buffer|event|message]_ref() macros are replaced by a static
14130 inline functions because gcc-4.1 will about if the return value
14132 * tests/check/gst/gstevent.c: (event_probe):
14133 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14135 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14138 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14139 the type' case. (Closes: #335195 for now). In the future, when we
14140 depend on GLib 2.10, we could also intern the type name using
14141 g_intern_static_string()
14143 2006-03-20 Wim Taymans <wim@fluendo.com>
14145 * gst/gstbin.c: (gst_bin_handle_message_func),
14146 (bin_query_max_init), (bin_query_position_fold),
14147 (bin_query_position_done), (gst_bin_query):
14148 Position query should also take max of all streams.
14150 2006-03-20 Wim Taymans <wim@fluendo.com>
14152 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14153 (gst_fake_src_finalize):
14154 Fix leaks in fakesrc.
14156 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14157 Fix leaks in the testcase.
14159 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14161 * gst/gst_private.h:
14162 add win32 specific import decoration(__declspec(dllimport))
14163 for all extern GstDebugCategory * variables
14164 * win32/common/libgstbase.def:
14165 * win32/common/libgstcontroller.def:
14166 * win32/common/libgstreamer.def:
14167 Add some exports, remove empty lines
14168 * win32/common/libgstdataprotocol.def:
14169 * win32/common/libgstdataprotocol.dsp:
14170 * win32/common/libgstnet.def:
14171 * win32/common/libgstnet.dsp:
14172 new project files and exportation files added
14174 2006-03-19 Wim Taymans <wim@fluendo.com>
14176 * tests/check/libs/basesrc.c: (eos_event_counter):
14177 Use proper return value for probe.
14179 2006-03-17 Wim Taymans <wim@fluendo.com>
14181 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14183 Don't leak buffers, caps and pads on negotiation errors.
14185 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14187 * docs/faq/cvs.xml:
14188 * docs/faq/dependencies.xml:
14189 * docs/faq/developing.xml:
14190 * docs/faq/faq.xml:
14191 * docs/faq/general.xml:
14192 * docs/faq/getting.xml:
14193 * docs/faq/legal.xml:
14194 * docs/faq/troubleshooting.xml:
14195 * docs/faq/using.xml:
14196 Faq review and update.
14198 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14200 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14202 Don't pound the cpu to pieces by checking get_caps when accept_caps
14203 is called with the same caps as the pad already has.
14204 Use GST_DEBUG_OBJECT when outputting caps change information.
14206 2006-03-15 Wim Taymans <wim@fluendo.com>
14208 * gst/gstclock.c: (gst_clock_class_init):
14211 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14216 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14217 (gst_pad_accept_caps), (gst_pad_configure_sink),
14218 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14219 Make the default acceptcaps behaviour be to check the requested
14220 caps against the gst_pad_get_caps output.
14222 Ensure that gst_pad_accept_caps is used to check caps when a pad
14223 doesn't have a setcaps function, so that pads automatically refuse
14224 caps that they don't allow in their pad template. (Fixes #332986)
14226 When a buffer with attached caps is pushed, ensure that the source
14227 pad receives those caps even if the element didn't call
14228 gst_pad_set_caps first.
14230 2006-03-15 Wim Taymans <wim@fluendo.com>
14232 * libs/gst/base/gstadapter.c:
14235 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14237 * win32/common/libgstbase.def:
14238 * win32/common/libgstcontroller.def:
14239 * win32/common/libgstreamer.def:
14240 Add a whole bunch of missing functions (#334434).
14242 2006-03-14 Wim Taymans <wim@fluendo.com>
14244 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14245 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14246 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14247 Better debug info when we receive a segment event.
14248 Reorganize a bit so we can pass the get_times() results around.
14249 Use the segment format when calculating the running time.
14250 Don't do QoS is sync is disabled or we have no clock or the
14251 element does not want us to sync to the clock.
14252 Don't drop buffers if QoS is disabled for now.
14254 2006-03-14 Wim Taymans <wim@fluendo.com>
14256 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14257 Marked the stats property as unimplemented so people don't get
14259 Add debug message when regression goes wrong.
14260 Added some more docs.
14262 2006-03-14 Wim Taymans <wim@fluendo.com>
14264 * gst/gstsegment.c: (gst_segment_to_stream_time):
14265 Return correct return type in case of errors.
14267 2006-03-14 Wim Taymans <wim@fluendo.com>
14269 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14270 Don't segfault on invalid formats.
14272 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14274 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14275 Can't use gst_segment_to_running_time() when the segment
14276 is not in GST_TIME_FORMAT (like with filesink, for example).
14277 Stops flac encoding pipelines from spewing critical warnings
14280 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14282 * gst/gstpipeline.c: (gst_pipeline_class_init):
14283 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14285 * plugins/elements/gsttypefindelement.c:
14286 (gst_type_find_element_handle_event):
14287 Don't try to typefind empty streams.
14289 2006-03-14 Wim Taymans <wim@fluendo.com>
14291 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14292 (gst_base_sink_do_qos):
14293 Separate QoS calculation.
14294 Only drop buffers when lateness is bigger than the
14295 duration of the buffer.
14297 2006-03-13 Wim Taymans <wim@fluendo.com>
14299 * gst/gstpipeline.c: (gst_pipeline_set_property),
14300 (gst_pipeline_get_property), (do_pipeline_seek),
14301 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14302 (gst_pipeline_get_delay):
14303 Don't deadlock when reading properties.
14305 2006-03-13 Wim Taymans <wim@fluendo.com>
14307 * libs/gst/base/gstbasetransform.c:
14308 (gst_base_transform_class_init), (gst_base_transform_init),
14309 (gst_base_transform_sink_event),
14310 (gst_base_transform_sink_eventfunc),
14311 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14312 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14313 (gst_base_transform_set_property),
14314 (gst_base_transform_get_property),
14315 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14316 (gst_base_transform_set_qos_enabled),
14317 (gst_base_transform_is_qos_enabled):
14318 * libs/gst/base/gstbasetransform.h:
14319 Make basetransform virtual method for src events too.
14320 Handle QOS in basetransform.
14321 API: gst_base_transform_update_qos()
14322 API: gst_base_transform_set_qos_enabled()
14323 API: gst_base_transform_is_qos_enabled()
14325 2006-03-13 Wim Taymans <wim@fluendo.com>
14327 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14328 (gst_base_sink_do_sync):
14330 Use QOS debug category.
14332 2006-03-13 Wim Taymans <wim@fluendo.com>
14334 * plugins/elements/gstqueue.c:
14335 Very small doc update.
14337 2006-03-13 Wim Taymans <wim@fluendo.com>
14339 * gst/gst_private.h:
14340 * gst/gstinfo.c: (_gst_debug_init):
14341 Added QOS debug category
14343 2006-03-13 Wim Taymans <wim@fluendo.com>
14345 * docs/gst/gstreamer-sections.txt:
14346 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14348 * gst/gstbus.c: (gst_bus_class_init):
14351 * gst/gstelement.c: (gst_element_set_locked_state):
14352 * gst/gstsegment.c:
14353 Documentation updates.
14355 * gst/gstpipeline.c: (gst_pipeline_get_type),
14356 (gst_pipeline_class_init), (gst_pipeline_init),
14357 (gst_pipeline_dispose), (gst_pipeline_set_property),
14358 (gst_pipeline_get_property), (do_pipeline_seek),
14359 (gst_pipeline_send_event), (gst_pipeline_change_state),
14360 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14361 (gst_pipeline_get_delay):
14362 * gst/gstpipeline.h:
14363 Added methods for setting the delay.
14364 API: gst_pipeline_set_delay()
14365 API: gst_pipeline_get_delay()
14366 Add pipeline debug category
14369 Don't reset stream time when seek failed.
14371 2006-03-13 Wim Taymans <wim@fluendo.com>
14373 * docs/design/draft-klass.txt:
14374 * docs/design/part-clocks.txt:
14375 * docs/design/part-events.txt:
14376 * docs/design/part-gstbin.txt:
14377 * docs/design/part-gstpipeline.txt:
14378 * docs/design/part-messages.txt:
14379 * docs/design/part-negotiation.txt:
14380 * docs/design/part-overview.txt:
14381 * docs/design/part-preroll.txt:
14382 * docs/design/part-seeking.txt:
14383 * docs/design/part-states.txt:
14384 * docs/design/part-streams.txt:
14385 Documentation updates.
14387 2006-03-12 Julien MOUTTE <julien@moutte.net>
14389 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14390 us to leak strings...
14392 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14394 * libs/gst/net/gstnettimeprovider.c:
14396 * win32/common/config.h:
14399 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14401 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14404 Don't check for libgnomeui (leftover from old examples
14405 that aren't built or disted any longer) (#334303).
14407 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14409 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14410 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14411 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14412 there's no space left on the device.
14414 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14417 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14418 to cast the input to GstClockTime before comparing with
14419 another GstClockTime value.
14421 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14426 === release 0.10.4 ===
14428 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14431 releasing 0.10.4, "Light"
14433 2006-03-10 Michael Smith <msmith@fluendo.com>
14435 * libs/gst/dataprotocol/dataprotocol.c:
14436 Fix docs for dataprocotol to not get the return types completely
14437 wrong for a few functions.
14439 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14441 * docs/gst/gstreamer-sections.txt:
14442 * gst/gstpipeline.c: (gst_pipeline_class_init),
14443 (gst_pipeline_init), (gst_pipeline_set_property),
14444 (gst_pipeline_get_property), (gst_pipeline_change_state),
14445 (gst_pipeline_set_auto_flush_bus),
14446 (gst_pipeline_get_auto_flush_bus):
14447 * gst/gstpipeline.h:
14448 Add new API: gst_pipeline_set_auto_flush_bus() and
14449 gst_pipeline_get_auto_flush_bus() to disable automatic
14450 flushing of the pipeline's GstBus when going from READY
14451 to NULL state (#332045).
14453 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14455 * docs/gst/gstreamer-sections.txt:
14456 * gst/gsturi.c: (gst_uri_has_protocol):
14458 Add new API: gst_uri_has_protocol() (#333779).
14460 2006-03-09 Wim Taymans <wim@fluendo.com>
14462 * gst/gstclock.c: (gst_clock_entry_new),
14463 (gst_clock_id_compare_func), (gst_clock_id_wait),
14464 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14465 (gst_clock_init), (gst_clock_get_internal_time),
14466 (gst_clock_set_master), (do_linear_regression),
14467 (gst_clock_add_observation), (gst_clock_set_property):
14471 Fix a possible segfault when the window-size is made smaller.
14472 Calculate jitter before performing the clock wait. Ideally
14473 the clock implementation should calculate jitter but we need
14474 API breakage for that.
14476 * gst/gstsystemclock.c: (gst_system_clock_init):
14479 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14480 Remove leftover else
14482 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14483 (gst_systemclock_suite):
14484 Added check to test GST_CLOCK_DIFF.
14486 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14488 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14489 (gst_type_find_helper_get_range):
14490 If we are provided with the size, we should implement
14491 GstTypeFind::get_length, so that typefind functions who
14492 want to can actually peek at the middle of a file.
14494 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14496 * docs/manual/advanced-dataaccess.xml:
14497 Add some very very basic error checking.
14499 * docs/pwg/appendix-checklist.xml:
14500 Some updates to the list of things to check when writing an element.
14502 2006-03-08 Wim Taymans <wim@fluendo.com>
14504 * docs/design/part-element-transform.txt:
14505 Added some docs about the design of tranform elements.
14507 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14508 (gst_base_src_loop), (gst_base_src_change_state):
14509 Mark buffers with the DISCONT flag.
14511 2006-03-08 Michael Smith <msmith@fluendo.com>
14513 * gst/gstregistry.h:
14514 * gst/gstregistryxml.c: (gst_registry_save),
14515 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14516 (gst_registry_xml_save_pad_template),
14517 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14518 (gst_registry_xml_write_cache):
14519 Rewrite registry-saving to avoid race conditions and check for
14522 2006-03-08 Wim Taymans <wim@fluendo.com>
14524 * libs/gst/base/gstbasetransform.c:
14525 (gst_base_transform_transform_caps),
14526 (gst_base_transform_transform_size),
14527 (gst_base_transform_prepare_output_buffer),
14528 (gst_base_transform_get_unit_size),
14529 (gst_base_transform_buffer_alloc),
14530 (gst_base_transform_handle_buffer),
14531 (gst_base_transform_change_state):
14532 Cleanups, separate normal flow from errors, add sensible
14534 Don't try to renegotiate when allocating an output buffer.
14535 Also copy DISCONT buffer flag when copying a buffer.
14536 Reset the transform after we finish streaming, not during.
14538 2006-03-08 Wim Taymans <wim@fluendo.com>
14540 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14541 Use last buffer timestamp in qos message.
14543 2006-03-07 Wim Taymans <wim@fluendo.com>
14545 Patch by: Christophe Fergeau
14547 * docs/pwg/advanced-tagging.xml:
14548 * docs/pwg/building-pads.xml:
14551 2006-03-07 Wim Taymans <wim@fluendo.com>
14553 * docs/libs/gstreamer-libs-sections.txt:
14554 Added basesink new methods.
14558 Docs updates. Flesh out the QoS docs.
14560 * libs/gst/base/gstadapter.c:
14561 Small doc clarification about ownership and flushing.
14563 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14564 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14565 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14566 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14567 * libs/gst/base/gstbasesink.h:
14569 Added new methods to allow subclass to control max-lateness
14571 Generate very basic QoS events based on last sync observation.
14572 Updated docs, fix typo, added some QoS blurb.
14574 * libs/gst/base/gstbasesrc.c:
14575 Remove obsolete _get_state() calls from docs.
14577 2006-03-07 Wim Taymans <wim@fluendo.com>
14579 * docs/libs/gstreamer-libs-sections.txt:
14580 * libs/gst/base/gstbasetransform.h:
14581 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14582 Fix docs for GstBaseSrc.
14584 2006-03-07 Wim Taymans <wim@fluendo.com>
14586 * docs/gst/gstreamer-sections.txt:
14589 * libs/gst/base/gstbasetransform.h:
14590 Small documentation fixes.
14592 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14595 Document thread-unsafety of gst_value_register_foo_func()
14596 when used at the same time as gst_value_foo() (#322628).
14598 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14600 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14601 (gst_push_src_check_get_range):
14602 Push sources don't support pull mode by default.
14604 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14606 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14607 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14608 (gst_base_src_default_check_get_range):
14609 * libs/gst/base/gstbasesrc.h:
14610 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14611 provide default implementation, and rename
14612 gst_base_src_check_get_range() to
14613 gst_base_src_pad_check_get_range() for clarity.
14615 2006-03-06 Wim Taymans <wim@fluendo.com>
14617 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14618 Make property overridable.
14620 2006-03-06 Wim Taymans <wim@fluendo.com>
14622 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14623 (gst_base_sink_init), (gst_base_sink_set_property),
14624 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14625 * libs/gst/base/gstbasesink.h:
14626 API addition: Make max-lateness a property.
14628 2006-03-06 Wim Taymans <wim@fluendo.com>
14630 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14631 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14632 Don't ever draw a frame that is >10ms late.
14634 2006-03-06 Michael Smith <msmith@fluendo.com>
14636 * gst/gstmessage.c: (_gst_message_copy):
14637 When copying a message, set the parent_refcount of the enclosed
14638 structure to point at the copy, not the original message.
14640 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14642 Patch by: Christophe Fergeau
14645 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14646 usable in c++ code (#333417)
14648 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14651 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14653 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14655 * libs/gst/base/gstbasetransform.c:
14656 (gst_base_transform_transform_caps):
14657 Make sure caps are writable before passing them to
14660 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14663 Fix some minor docs errors.
14665 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14667 Patch by: Ross Burton <ross at burtonini dot com>
14669 * gst/gsterror.c: (_gst_resource_errors_init):
14671 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14673 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14676 Add a check and output a g_warning when GStreamer is built
14677 against GLib 2.6 but running against 2.8 or higher, and vice
14678 versa. (Closes: #323542)
14680 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14682 * gst/parse/parse.l:
14683 Commit patch for parse_launch syntax from #331255. Removes
14684 support for quoted strings and mimetypes when writing filtered
14685 caps. See the bug report for more details - I'm pretty sure this
14686 obscure feature is not in use by _anyone_ anywhere.
14688 With this simple change, the size of the gstreamer.so here
14689 drops from 2193KB to 1565KB.
14691 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14693 * plugins/elements/gsttypefindelement.h:
14694 * plugins/elements/gsttypefindelement.c:
14695 (gst_type_find_element_src_event), (start_typefinding),
14696 (stop_typefinding), (gst_type_find_element_handle_event),
14697 (gst_type_find_element_chain),
14698 (gst_type_find_element_chain_do_typefinding):
14699 Use gst_type_find_helper_for_buffer() for chain-based
14702 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14704 * plugins/elements/gsttypefindelement.c:
14705 (gst_type_find_element_class_init),
14706 (gst_type_find_element_set_property),
14707 (gst_type_find_element_get_property):
14708 Deprecate "maximum" property (not only was it only taken into
14709 account for typefinding in push-mode anyway, it also was never
14710 actually possible to set it in the first place because the
14711 property was registered with the numeric property ID for the
14712 "minimum" property). Register "maximum" property correctly,
14713 for the sake of future copy'n'pasters. Remove some cruft
14714 from property get/set functions.
14716 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14718 * plugins/elements/gsttypefindelement.c:
14719 (gst_type_find_element_activate):
14720 Use gst_type_find_helper_get_range() here, so we
14721 can honour the "minimum" property and also emit
14722 the signal with the correct probability of the found caps.
14724 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14726 * docs/libs/gstreamer-libs-sections.txt:
14727 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14728 (helper_find_suggest), (gst_type_find_helper_get_range),
14729 (gst_type_find_helper):
14730 * libs/gst/base/gsttypefindhelper.h:
14731 New API: gst_type_find_helper_get_range() (#333042).
14733 2006-03-02 Michael Smith <msmith@fluendo.com>
14735 * gst/gstregistryxml.c: (load_feature):
14736 Asserting on a failure to read part of the registry is Not Cool.
14737 Just log a warning and return NULL (which is already handled)
14739 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14741 * win32/common/libgstbase.def:
14742 added export of gst_type_find_helper_for_buffer
14743 * win32/common/libgstbase.def:
14744 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14745 gst_ghost_pad_get_target
14747 2006-02-28 Wim Taymans <wim@fluendo.com>
14749 * docs/design/draft-klass.txt:
14751 Added Connector to mark elements that are only used to
14752 allow pipeline connections.
14753 Moved Debug to extra feature since most of them are
14754 functionally something else.
14756 2006-02-28 Wim Taymans <wim@fluendo.com>
14758 * docs/design/draft-klass.txt:
14759 Some updates and clarifications.
14761 2006-02-28 Wim Taymans <wim@fluendo.com>
14763 * docs/design/draft-klass.txt:
14764 Proposal for klass field values.
14766 * docs/design/part-streams.txt:
14767 Start of a doc describing stream anatomy.
14769 2006-02-28 Wim Taymans <wim@fluendo.com>
14771 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14772 Help the compiler a bit with type registration.
14773 Use existing forward cod path instead of duplicating it when
14774 handling a message.
14776 * gst/gstbus.c: (gst_bus_get_type):
14777 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14778 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14779 * gst/gstclock.c: (gst_clock_get_type):
14780 * gst/gstelement.c: (gst_element_get_type),
14781 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14782 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14783 * gst/gstminiobject.c: (gst_mini_object_get_type):
14784 * gst/gstpad.c: (gst_pad_get_type):
14785 * gst/gstsegment.c: (gst_segment_get_type):
14786 * gst/gststructure.c: (gst_structure_get_type):
14787 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14788 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14790 Help compiler with type registration.
14792 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14795 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14797 * plugins/elements/gsttypefindelement.c:
14798 (gst_type_find_element_handle_event):
14799 When we get an EOS event and have not found a type yet
14800 (most likely because we had not yet accumulated
14801 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14802 type given the data we have so far. Fixes typefinding
14803 for very short streams again, most notably quicktime
14804 redirections as used on Apple's trailer site (#331701).
14806 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14808 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14809 (gst_type_find_helper):
14810 Try typefinding factories with the highest rank first.
14812 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14814 * docs/libs/gstreamer-libs-docs.sgml:
14815 * docs/libs/gstreamer-libs-sections.txt:
14816 * libs/gst/base/gsttypefindhelper.c:
14817 Add section for typefind helper and add documentation
14818 for the old and the new function.
14820 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14822 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14823 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14824 (gst_type_find_helper_for_buffer):
14825 * libs/gst/base/gsttypefindhelper.h:
14826 New API: gst_type_find_helper_for_buffer() (#332723).
14828 2006-02-27 Michael Smith <msmith@fluendo.com>
14830 Patch by: Loïc Minier
14833 * docs/Makefile.am:
14834 * docs/slides/Makefile.am:
14835 prevent CVS directories getting disted.
14837 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14839 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14840 Use the REFCOUNTING category for caps refcounting.
14842 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14844 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14845 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14847 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14849 * plugins/elements/gsttypefindelement.c:
14850 (gst_type_find_element_activate):
14851 Use gst_pad_check_pull_range() before _activate_pull()
14852 to avoid unnecessary open/close (see #331690).
14854 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14857 Docs enhancement: make it crystal clear what the
14858 gst_pad_add_*_probe() callbacks should look like.
14860 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14862 * libs/gst/base/gstbasesrc.c:
14863 Document how applications can stop recording from
14864 live sources (see #330996).
14866 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14868 * tests/check/Makefile.am:
14869 * tests/check/libs/basesrc.c: (eos_event_counter),
14870 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14871 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14872 (gst_basesrc_suite), (main):
14873 ... and add some tests for the base source EOS stuff.
14875 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14877 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14878 Test case originally showed the problem fixed below,
14879 but was then amended. Add checks back at the place
14880 where they used to be.
14882 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14884 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14885 (gst_base_src_init), (gst_base_src_loop),
14886 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14887 (gst_base_src_change_state):
14888 * libs/gst/base/gstbasesrc.h:
14889 Don't unconditionally send EOS when going from PAUSED to
14890 READY state, esp. make sure we don't send two EOS events
14891 in some cases (e.g. one when reaching EOS and one when
14892 going from PAUSED to READY). Also, we don't want to send
14893 EOS events when operating in pull mode. However, we do
14894 want to send an EOS event when shutting down a live
14895 source explicitly, for example (fixes #330996).
14897 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14899 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14900 Update src->read_position after a seek when not using mmap.
14901 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14903 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14909 Make things work with --disable-parse as they do with
14910 --disable-load-save - the symbols involved disappear, but the
14911 header is still installed and GST_DISABLE_PARSE is included via
14914 2006-02-20 Julien MOUTTE <julien@moutte.net>
14916 * libs/gst/base/gstbasetransform.c:
14917 (gst_base_transform_change_state): Fix a stupid bug. I was
14918 sure I compiled that.
14920 2006-02-20 Julien MOUTTE <julien@moutte.net>
14922 * gst/gstpad.c: (gst_pad_set_blocked_async):
14923 * gst/gstutils.c: (gst_pad_add_data_probe),
14924 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14925 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14926 (gst_pad_remove_buffer_probe): Make those function act on the
14927 ghostpad target when it's a ghostpad. (Closes #331727)
14929 2006-02-20 Julien MOUTTE <julien@moutte.net>
14931 * libs/gst/base/gstbasetransform.c:
14932 (gst_base_transform_change_state): Make basetransform reusable.
14935 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14937 * docs/random/release:
14938 Move the current documentation of how to do a release to the top
14941 * gst/gstbin.c: (gst_bin_class_init),
14942 (gst_bin_handle_message_func):
14943 Allow multiple state-recalculation threads. (Closes #328873)
14945 2006-02-19 Julien MOUTTE <julien@moutte.net>
14947 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14948 * gst/gstpad.c: (gst_pad_set_event_function),
14949 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14950 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14951 2 strings. You can't use the STR_NULL macro on that.
14953 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14955 * gst/gstpad.c: (gst_pad_set_event_function),
14956 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14957 (gst_pad_set_getcaps_function)
14958 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14959 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14960 So now, we can use --gst-debug-level=5 on Windows
14961 * win32/common/libgstcontroller.def:
14962 Added export of gst_controller_init
14963 * win32/vs6/libgstcontroller.dsp:
14964 Fixed Release post build configuration
14966 2006-02-17 Wim Taymans <wim@fluendo.com>
14968 * tests/check/gst/gstquery.c: (GST_START_TEST):
14969 Added another check.
14971 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14973 * plugins/elements/gsttypefindelement.c: (find_peek):
14974 We can do peeks at non-zero offsets, as long as they
14975 fall within the buffer we have.
14977 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14979 * tests/check/Makefile.am:
14980 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14981 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14982 (parse_suite), (main):
14983 Add testsuite for parse launch syntax
14985 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14987 * plugins/elements/gsttypefindelement.c:
14988 (gst_type_find_element_chain):
14989 When typefinding is unsuccessful in the chain function, don't
14990 error out immediately. Only error out with NO_CAPS_FOUND if
14991 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14992 otherwise simply wait for more data so we can try typefinding
14993 again with more data later. Also, don't attempt to typefind
14994 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14995 this should improve typefinding from network sources where the
14996 size of the first buffer can be somewhat random.
14998 2006-02-14 Wim Taymans <wim@fluendo.com>
15000 * docs/gst/gstreamer-sections.txt:
15001 * gst/gstpadtemplate.c:
15002 * gst/gstpadtemplate.h:
15003 Fix padtemplate docs, fixes #328805.
15005 2006-02-14 Wim Taymans <wim@fluendo.com>
15007 * tools/gst-launch.c: (main):
15008 NO_PREROLL is not an ERROR so don't send confusing messages
15011 2006-02-14 Wim Taymans <wim@fluendo.com>
15013 Patch by: Torsten Schoenfeld
15015 * gst/gstregistry.c: (gst_registry_get_default),
15016 (_gst_registry_cleanup):
15017 Protect default registry with lock and ref/sink it.
15020 2006-02-14 Wim Taymans <wim@fluendo.com>
15023 * gst/gstquery.c: (gst_query_list_add_format),
15024 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15025 (gst_query_parse_formats_nth):
15026 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15029 2006-02-14 Wim Taymans <wim@fluendo.com>
15031 * docs/gst/gstreamer-sections.txt:
15032 Reworked query docs.
15034 * gst/gstquery.c: (gst_query_new_formats),
15035 (gst_query_list_add_format), (gst_query_set_formats),
15036 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15037 (gst_query_parse_formats_nth):
15039 Flesh out formats query, added some new methods.
15040 Fix part of #324398.
15042 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15043 Added query creation tests.
15045 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15047 * gst/gstpad.c: (fixate_value):
15048 Add a default fixation for fraction lists.
15050 2006-02-13 Wim Taymans <wim@fluendo.com>
15052 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15053 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15056 Detect and warn for obvious deadlocks. fixes #320340
15057 Fix error case where lock was not released.
15059 * tests/check/Makefile.am:
15060 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15061 (task_func), (gst_element_suite), (main):
15064 2006-02-13 Wim Taymans <wim@fluendo.com>
15066 * docs/gst/gstreamer-sections.txt:
15068 Add new functions to docs.
15070 2006-02-13 Wim Taymans <wim@fluendo.com>
15072 * docs/design/part-TODO.txt:
15073 Updated TODO list, basesrc supports seeking to non-bytes
15076 * docs/design/part-element-sink.txt:
15079 * gst/gstbin.c: (bin_replace_message),
15080 (gst_bin_handle_message_func):
15081 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15082 * gst/gstevent.c: (gst_event_finalize):
15083 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15084 (gst_pad_send_event):
15085 Use shiny new _TYPE_NAME macros.
15087 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15088 Move debug statement up.
15090 * gst/gstelement.c: (gst_element_set_locked_state):
15091 Add some debugging.
15093 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15095 * docs/gst/gstreamer-sections.txt:
15096 * gst/gstmessage.h:
15098 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15099 macros (#330906). Also, document the already existing
15100 GST_QUERY_TYPE macro.
15102 2006-02-13 Wim Taymans <wim@fluendo.com>
15104 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15105 (event_probe), (GST_START_TEST):
15106 Only events up to the pipeline EOS are counted, there are
15107 some more when going to NULL currently which we don't care
15110 2006-02-13 Wim Taymans <wim@fluendo.com>
15112 * gst/gstpad.c: (gst_pad_send_event):
15113 Correctly check flushing and emit probes. fixes #330125
15115 2006-02-10 Andy Wingo <wingo@pobox.com>
15117 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15119 (gst_bus_init): Cache the location of the private data in the
15120 instance structure.
15121 (gst_bus_enable_sync_message_emission)
15122 (gst_bus_disable_sync_message_emission): Implement new public
15124 (gst_bus_post): Emit the sync-message signal if the user asked for
15127 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15128 location of the bus-private structure.
15129 (gst_bus_enable_sync_message_emission)
15130 (gst_bus_disable_sync_message_emission): API addition
15132 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15134 Patch by: Vincent Torri
15136 * docs/pwg/building-boiler.xml:
15137 PWG patch from #326800
15139 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15142 * docs/Makefile.am:
15143 * docs/design/Makefile.am:
15146 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15151 === release 0.10.3 ===
15153 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15156 releasing 0.10.3, "Like a virgin"
15158 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15161 2nd prerelease of 0.10.3
15162 Bump libtool versioning.
15164 2006-02-07 Andy Wingo <wingo@pobox.com>
15166 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15167 update last_stop if we're in TIME format and the timestamp is
15170 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15171 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15172 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15173 If we get a new newsegment with a different format, adapt
15176 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15177 of 0. Not a problem, really.
15179 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15182 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15187 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15190 project files updated to the default vs7 configuration
15191 * win32/common/libgstbase.def:
15192 * win32/common/libgstreamer.def:
15194 removed empty lines,
15195 sorted all exported symbols alphabetically
15196 * win32/common/dirent.c:
15197 * win32/common/dirent.h:
15198 * win32/common/gchar.h:
15199 use windows line end.
15201 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15203 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15204 Send EOS event when stopping.
15206 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15209 Tell folks what to do if the plugin-foobar.xml file
15210 hasn't been generated for a newly-added plugin.
15212 2006-02-05 Julien MOUTTE <julien@moutte.net>
15214 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15215 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15216 (gst_collect_pads_start), (gst_collect_pads_stop),
15217 (gst_collect_pads_event): Collectpads now holds a reference
15218 to the GstPad that was added. Indeed we don't want to look
15219 at pads that might just go away with no warning...
15221 2006-02-05 Julien MOUTTE <julien@moutte.net>
15223 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15224 (gst_collect_pads_start), (gst_collect_pads_stop),
15225 (gst_collect_pads_event), (gst_collect_pads_chain):
15226 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15227 Mark Nauwelaerts's patch on bug #328491.
15229 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15231 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15233 Add some simple tests for gst_parse_bin_from_description() and
15234 gst_bin_find_unconnected_pad() (#329069).
15236 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15238 * tools/gst-launch.c: (event_loop), (main):
15239 Catch errors during preroll (#320084).
15241 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15243 * plugins/elements/gsttypefindelement.c:
15244 (gst_type_find_element_activate):
15245 Post TYPE_NOT_FOUND error message when typefinding
15246 is unsuccessful in the activate function as well.
15248 2006-02-02 Wim Taymans <wim@fluendo.com>
15250 * docs/design/part-element-sink.txt:
15253 2006-02-02 Wim Taymans <wim@fluendo.com>
15255 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15256 (gst_base_sink_render_object),
15257 (gst_base_sink_queue_object_unlocked):
15258 Only keep track of prerollable items when we are
15260 Before rendering after preroll, always check if we
15262 Added some more debugging.
15264 2006-02-02 Wim Taymans <wim@fluendo.com>
15266 * gst/gstelement.c: (gst_element_continue_state),
15267 (gst_element_set_state_func), (gst_element_change_state):
15268 Fixed #326576, been running this for quite some time with
15269 no regressions at all.
15271 2006-02-02 Wim Taymans <wim@fluendo.com>
15274 Added more suppressions
15276 2006-02-02 Wim Taymans <wim@fluendo.com>
15278 * docs/design/part-element-sink.txt:
15281 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15282 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15283 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15284 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15285 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15286 (gst_base_sink_preroll_object),
15287 (gst_base_sink_queue_object_unlocked),
15288 (gst_base_sink_queue_object), (gst_base_sink_event),
15289 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15290 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15291 (gst_base_sink_get_position), (gst_base_sink_change_state):
15292 * libs/gst/base/gstbasesink.h:
15293 Totally refactored matching the design doc.
15294 Use two segments, one to clip incomming buffers and another to
15296 Handle queueing correctly, bypass the queue when playing.
15297 Make EOS cancelable.
15298 Handle errors correctly when operating in pull based mode.
15300 * tests/check/elements/fakesink.c: (GST_START_TEST),
15302 Added new check for sinks.
15304 2006-02-02 Wim Taymans <wim@fluendo.com>
15306 * gst/gstsegment.c: (gst_segment_clip):
15307 No reason to refuse to clip when start == -1
15309 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15312 * docs/manual/intro-basics.xml:
15313 * docs/manual/intro-preface.xml:
15314 * docs/manual/manual.xml:
15315 * docs/pwg/advanced-dparams.xml:
15316 * docs/pwg/intro-basics.xml:
15317 * docs/pwg/intro-preface.xml:
15318 * docs/pwg/pwg.xml:
15319 describe dparams (controller) for plugins
15320 unify docs a little more
15322 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15324 * docs/gst/gstreamer-sections.txt:
15325 * gst/gstutils.c: (element_find_unconnected_pad),
15326 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15328 Add new API: gst_parse_bin_from_description() and
15329 gst_bin_find_unconnected_pad() (#329069).
15331 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15333 * docs/manual/README:
15334 uncover a nasty detail of the docs build
15336 2006-01-31 Wim Taymans <wim@fluendo.com>
15338 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15339 Don't cache duration messages if we're not going to use or
15342 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15344 * docs/manual/advanced-dparams.xml:
15345 * docs/pwg/advanced-dparams.xml:
15349 * libs/gst/controller/lib.c: (gst_controller_init):
15352 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15354 * gst/gstelement.c: (gst_element_message_full):
15355 also show file/line/func if no additional debug was given
15357 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15359 * win32/vs7/grammar.vcproj:
15360 activate copy of autogenerated files for Release mode
15362 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15364 * win32/common/libgstreamer.def:
15365 export gst_value_compare
15367 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15369 * plugins/elements/Makefile.am:
15370 * plugins/elements/gstelements.c:
15371 * plugins/elements/gstfdsink.c: (_do_init),
15372 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15373 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15374 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15375 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15376 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15377 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15378 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15379 * plugins/elements/gstfdsink.h:
15380 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15382 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15384 * docs/manual/advanced-dparams.xml:
15385 describe controller
15386 * docs/manual/advanced-position.xml:
15387 * docs/manual/basics-init.xml:
15388 * docs/manual/manual.xml:
15389 * docs/manual/titlepage.xml:
15390 * docs/pwg/pwg.xml:
15391 * docs/pwg/titlepage.xml:
15392 cleanup xml (more to come)
15393 * libs/gst/controller/gstcontroller.c:
15396 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15398 * win32/vs6/grammar.dsp:
15399 add autogen of gstmarshal.c,h for Release mode
15401 2006-01-30 Wim Taymans <wim@fluendo.com>
15403 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15404 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15405 (gst_base_sink_handle_object), (gst_base_sink_event),
15406 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15407 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15408 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15409 (gst_base_sink_deactivate), (gst_base_sink_activate),
15410 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15411 (gst_base_sink_query), (gst_base_sink_change_state):
15412 Basesink cleanups, remove some old code.
15413 Handle the case where a subclass can preroll in the render
15414 method (mostly audiosinks).
15415 Handle more events.
15416 Remove some locks around variables that are now protected
15417 with the PREROLL_LOCK (clock_id, flushing, ..).
15418 Optimize position query some more, do correct locking.
15419 Remove old code to push queue in state change, this is not
15420 needed anymore since preroll blocks on all prerollable items
15422 Almost implemented as described in design doc.
15424 2006-01-30 Wim Taymans <wim@fluendo.com>
15426 * tests/check/gst/gstbin.c: (GST_START_TEST):
15427 Wait for refcount to settle down before checking.
15429 2006-01-30 Wim Taymans <wim@fluendo.com>
15431 * docs/design/part-element-sink.txt:
15432 Pseudo code overview of desired sink behaviour regarding
15435 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15436 * win32/vs6/grammar.dsp:
15437 fix some bugs in Release mode for autogenerated files
15439 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15440 * win32/common/libgstbase.def:
15441 * win32/common/libgstreamer.def:
15442 export some new symbols: gst_base_src_set_format,
15443 gst_iterator_next, gst_structure_set_valist
15445 2006-01-29 Julien MOUTTE <julien@moutte.net>
15447 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15448 Set pad functions unconditionally. Fixes #329105.
15450 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15452 add vs8 project files created by Sergey Scobich
15454 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15456 * gst/gstutils.c: (gst_element_unlink_pads):
15457 Don't leak pad references.
15459 * tests/check/elements/fakesink.c: (GST_START_TEST):
15460 * tests/check/generic/sinks.c: (GST_START_TEST):
15461 * tests/check/generic/states.c: (GST_START_TEST):
15462 * tests/check/gst/gstbin.c: (GST_START_TEST):
15463 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15464 * tests/check/gst/gstelement.c: (GST_START_TEST):
15465 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15466 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15467 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15468 Fix a bunch of leaks. Make generic/sinks.c
15469 use a bit less cpu by slowing the buffer rate
15470 between fakesrc and fakesink.
15472 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15474 * gst/gstelement.c: (gst_element_send_event):
15477 * gst/gstiterator.c:
15478 * gst/gstiterator.h:
15479 * gst/gstpad.c: (gst_pad_send_event):
15480 * gst/gststructure.c:
15484 * libs/gst/base/gstadapter.c:
15485 doc fixes, to link to function, just write gst_cool_function(), don't
15488 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15490 * plugins/elements/gsttee.c: (gst_tee_do_push),
15491 (gst_tee_handle_buffer):
15492 Always prefer an actual return value from a src
15493 pad in place of NOT_LINKED. This means we return
15494 WRONG_STATE when all src pads are WRONG_STATE
15495 instead of NOT_LINKED.
15497 Lock when replacing the last message to prevent
15498 racing with the get_property method.
15502 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15504 * tests/check/Makefile.am:
15505 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15507 Add a very simple check that should have caught the memleak I fixed
15508 last night (if not for the slice allocator hiding it)
15510 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15512 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15513 (gst_bin_remove_func), (gst_bin_handle_message_func),
15514 (bin_query_duration_fold), (bin_query_generic_fold):
15515 Clean up references to the clock provider when disposed or when
15516 handling a clock-lost message from it.
15518 Unref sinks when performing a query via gst_iterator_fold, as the
15519 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15521 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15522 (gst_clock_set_master):
15523 Drop our reference to the master clock, if any, when we are disposed.
15525 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15526 Chain up in dispose.
15528 2006-01-26 Wim Taymans <wim@fluendo.com>
15530 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15531 Add some debugging.
15533 2006-01-26 Julien MOUTTE <julien@moutte.net>
15535 * plugins/elements/gsttee.c: (gst_tee_do_push),
15536 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15537 handles pad being NOT_LINKED or in WRONG_STATE.
15539 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15544 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15547 remove obsolete entry
15549 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15551 * docs/gst/gstreamer-sections.txt:
15552 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15553 (gst_bin_iterate_sources), (gst_bin_send_event):
15555 * gst/gstelement.c: (gst_element_send_event):
15557 * gst/gstpad.c: (gst_pad_send_event):
15558 added code for downstream events, reviewed docs in gstevent.c
15560 2006-01-25 Julien MOUTTE <julien@moutte.net>
15562 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15563 We only query position using the clock in the playing state.
15564 Query peer in the other cases.
15565 * win32/common/config.h: Updates.
15567 2006-01-24 Wim Taymans <wim@fluendo.com>
15569 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15570 A clock entry that is scheduled for the exact time of the
15571 clock is still in time.
15573 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15574 (gst_base_sink_do_sync):
15575 Add some more debug info.
15577 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15580 Add new vs7 project files and solution.
15582 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15585 all files removed as they were out-dated.
15587 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15589 * docs/random/release:
15591 * gst/gstbin.c: (gst_bin_init):
15592 * gst/gstbus.c: (gst_bus_new):
15594 * gst/gstpipeline.c: (gst_pipeline_init):
15595 use gst_bus_new(), improve logging, fix docs
15596 * win32/common/config.h:
15597 update for cvs build
15599 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15602 up required version of automake to 1.7
15604 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15606 * win32/common/libgstreamer.def:
15607 export gst_buffer_is_metadata_writable
15609 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15611 * docs/gst/gstreamer-sections.txt:
15613 Add gst_event_replace() (#327001)
15615 2006-01-20 Wim Taymans <wim@fluendo.com>
15617 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15618 Make it actually compile too..
15620 2006-01-20 Wim Taymans <wim@fluendo.com>
15623 Clarify behaviour of _is_equal() when passing NULL parameters.
15625 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15626 (gst_pad_set_caps):
15627 Cleanups. Don't unref NULL caps.
15628 When setting the same caps, protect caps of the pad with
15630 Use full functionality of _is_equal() when comparing caps.
15632 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15634 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15635 Don't loop infinitely if there are no buffers to present. Partially
15636 fixes #327197, but collectpads is just broken for reusing elements
15637 to do multiple encodes atm.
15639 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15641 * tools/gst-inspect.c: (print_element_features):
15642 * tools/gst-xmlinspect.c: (main):
15643 URL_HANDLER is not a plugin feature we can search for in
15646 2006-01-19 Edward Hervey <edward@fluendo.com>
15648 * gst/gstelement.c: (gst_element_pads_activate):
15649 When activating, do src pads first, then sink pads.
15650 When de-activating, do sink pads first, then src pads.
15652 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15654 * docs/gst/gstreamer-sections.txt:
15655 Add gst_index_add_associationv to the docs
15657 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15662 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15663 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15664 Do some refactoring. Doesn't actually change functionality,
15665 but makes landing the DRAIN event easier later.
15667 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15669 * docs/pwg/advanced-scheduling.xml:
15670 Update from 0.9.x to 0.10 API and make example a bit
15673 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15675 * docs/gst/gstreamer-sections.txt:
15676 Add gst_buffer_(is|make)_metadata_writable methods.
15678 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15680 * docs/design/part-sparsestreams.txt:
15681 Update sparse streams doc, hopefully for greater clarity
15683 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15685 * docs/design/part-events.txt:
15686 Remove mention of FILLER events.
15689 * docs/design/part-sparsestreams.txt:
15690 Write some things about using NEWSEGMENT to keep sparse streams
15693 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15695 * gst/gstbin.c: (gst_bin_dispose):
15696 Guard gst_object_unref call against a NULL object (dispose
15697 can theoretically be called multiple times).
15699 2006-01-18 Wim Taymans <wim@fluendo.com>
15701 * gst/gstbin.c: (gst_bin_element_set_state):
15702 * gst/gstclock.c: (gst_clock_id_wait):
15703 Added some more debug info.
15705 * libs/gst/base/gstadapter.c:
15708 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15709 (gst_base_sink_do_sync), (gst_base_sink_chain):
15710 Added some comments.
15712 2006-01-18 Wim Taymans <wim@fluendo.com>
15714 * tests/check/Makefile.am:
15715 * tests/check/elements/fakesink.c: (chain_async_buffer),
15716 (chain_async), (chain_async_return), (GST_START_TEST),
15717 (fakesink_suite), (main):
15718 Added fakesink test that checks prerolling and clipping
15721 * tests/check/gst/gstutils.c: (GST_START_TEST):
15722 Make check run faster so that buildbots don't timeout.
15724 2006-01-18 Wim Taymans <wim@fluendo.com>
15726 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15727 (gst_base_sink_do_sync):
15729 When the sink finishes blocking on the preroll buffer, it can
15730 immediatly render it instead of rendering when the next buffer
15733 2006-01-18 Wim Taymans <wim@fluendo.com>
15735 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15736 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15737 (gst_base_sink_chain):
15739 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15740 Don't store _last_stop if the buffer is dropped.
15742 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15744 * plugins/elements/gsttypefindelement.c:
15745 (gst_type_find_element_class_init):
15746 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15747 object method handler that sets the caps on the pad and we want
15748 that to happen before we emit the signal (fixes e.g. feeding a
15749 plain text file to decodebin).
15751 2006-01-18 Christian Schaller <Christian@fluendo.com>
15753 * gst/gstplugin.c: Add MPL and Proprietary as license options
15755 2006-01-18 Andy Wingo <wingo@pobox.com>
15757 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15758 symbol was exported before, it appears this was just an oversight.
15760 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15762 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15763 prototype to gint. OK since this prototype was not in the header.
15765 2006-01-17 Andy Wingo <wingo@pobox.com>
15767 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15768 registry while we remove plugins.
15770 * tools/gst-inspect.c (print_element_info): Don't unref the
15771 factory arg, that should be the responsibility of whatever code
15772 received the ref. Fixes a double-free when called from
15773 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15774 (main): Unref the factory if we have one.
15775 (print_element_list): No change -- relies on the
15776 plugin_feature_list_free to free the list of features.
15778 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15780 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15781 (gst_buffer_make_metadata_writable):
15783 * libs/gst/base/gstbasetransform.c:
15784 (gst_base_transform_prepare_output_buf):
15785 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15786 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15787 Replace gst_buffer_(make|is)_metadata_writable patch now
15788 that the release is out.
15790 2006-01-17 Andy Wingo <wingo@pobox.com>
15792 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15793 in the present tense without reference to versions.
15795 * gst/gstregistry.c (gst_registry_add_plugin)
15796 (gst_registry_remove_plugin, gst_registry_remove_feature)
15797 (gst_registry_find_feature, gst_registry_get_feature_list)
15798 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15799 (gst_registry_lookup, gst_registry_scan_path)
15800 (_gst_registry_remove_cache_plugins)
15801 (gst_registry_get_feature_list_by_plugin): Add argument
15804 === release 0.10.2 ===
15806 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15809 releasing 0.10.2, "If man is five"
15811 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15815 * libs/gst/base/gstbasetransform.c:
15816 (gst_base_transform_prepare_output_buf):
15817 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15818 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15819 Back out patch until after the release.
15821 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15823 * gst/gstminiobject.c:
15824 Spelling fix in docs.
15825 * ChangeLog - remove conflict indicator
15827 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15829 Reviewed By: Andy Wingo
15831 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15832 (gst_buffer_make_metadata_writable):
15834 Add gst_buffer_(is|make)_metadata_writable as analogues of
15835 gst_buffer_(is|make)_writable.
15837 * libs/gst/base/gstbasetransform.c:
15838 (gst_base_transform_prepare_output_buf):
15839 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15840 Use name gst_buffer_(is|make)_metadata_writable functions.
15842 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15843 Test gst_buffer_(is|make)_metadata_writable
15847 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15849 * docs/manual/Makefile.am:
15850 don't do parallel make
15853 * win32/common/config.h.in:
15854 add generations for HOST_CPU and GST_MAJORMINOR
15855 * win32/common/config.h:
15856 commit generated result
15858 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15860 * docs/manual/appendix-integration.xml:
15861 Update GNOME integration section to use gst_init_get_option_group()
15862 instead of the old popt stuff (#322911). Also, GNOME applications
15863 should now use gconf*sink and gconf*src instead of the old gconf
15866 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15869 * docs/gst/gstreamer-docs.sgml:
15870 * docs/gst/gstreamer-sections.txt:
15871 * docs/libs/gstreamer-libs-sections.txt:
15872 add new API entries to the docs
15873 * libs/gst/controller/Makefile.am:
15874 * libs/gst/controller/gstcontroller.c:
15875 * libs/gst/controller/gstcontroller.h:
15876 * libs/gst/controller/gstcontrollerprivate.h:
15877 * libs/gst/controller/gsthelper.c:
15878 * libs/gst/controller/gstinterpolation.c:
15879 move private structs to private header
15881 gstreamer-0.7 -> gstreamer-0.10
15882 * tests/check/libs/struct_i386.h:
15883 remove private structs
15885 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15887 * plugins/indexers/Makefile.am:
15888 Fixes as part of #317048
15890 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15892 * plugins/indexers/Makefile.am:
15893 fix #316086 - compilation when mmap is missing
15895 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15897 * libs/gst/base/gstbasesink.c:
15898 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15899 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15900 * win32/common/config.h:
15901 added some defines GST_MAJORMINOR and HOST_CPU
15902 * win32/common/libgstbase.def:
15903 * win32/common/libgstreamer.def:
15904 added some exported functions.
15906 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15908 * libs/gst/controller/gstcontroller.c:
15909 (gst_controlled_property_set_interpolation_mode),
15910 (gst_controlled_property_new):
15911 * libs/gst/controller/gstcontroller.h:
15912 * libs/gst/controller/gstinterpolation.c:
15913 (interpolate_none_get_string_value_array):
15914 make G_TYPE_STRING controlable
15916 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15919 * tools/gst-feedback.1.in:
15920 * tools/gst-inspect.1.in:
15921 * tools/gst-launch.1.in:
15922 * tools/gst-md5sum.1.in:
15923 * tools/gst-typefind.1.in:
15924 * tools/gst-xmlinspect.1.in:
15925 * tools/gst-xmllaunch.1.in:
15926 cleanup man-pages, remove reference to gst-register, document env-vars
15928 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15930 * gst/gstbuffer.c: (gst_buffer_span):
15931 gst_buffer_span should copy the timestamp of the first buffer
15932 if they were both originally overlapping subbuffers of the
15933 same parent, using the same logic as the 'slow copy' case.
15935 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15937 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15938 Need to awaken ALL the pads when we pop a buffer, otherwise
15939 collectpads only works when there is 2 input streams.
15941 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15943 * docs/random/ensonic/media-device-daemon.txt:
15946 fix doc example, add clarification
15947 * tools/gst-launch.1.in:
15948 add initial info about GST_PLUGIN_PATH, needs more work
15950 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15952 * docs/manual/basics-bins.xml:
15953 * docs/manual/basics-elements.xml:
15954 * docs/manual/intro-basics.xml:
15955 Some more minor docs additions and updates.
15957 2006-01-11 Wim Taymans <wim@fluendo.com>
15959 * docs/manual/basics-bins.xml:
15960 * docs/manual/basics-elements.xml:
15961 Some small fixes as pointed out by Ser-ver on IRC.
15963 2006-01-10 Edward Hervey <edward@fluendo.com>
15965 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15966 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15967 the single-segment mode.
15969 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15971 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15973 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15974 (gst_base_src_perform_seek), (gst_base_src_send_event),
15975 (gst_base_src_set_property), (gst_base_src_get_property),
15976 (gst_base_src_loop), (gst_base_src_start),
15977 (gst_base_src_activate_push):
15978 * libs/gst/base/gstbasesrc.h:
15979 Name (private) union; makes Sun's Forte compiler happy (#324900).
15981 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15984 gst-register is gone.
15986 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15988 * gst/gstvalue.c: (_gst_value_initialize):
15989 make the G_TYPE_DATE instantiation work if debug is disabled
15991 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
15993 * gst/gstmessage.c: (gst_message_parse_tag),
15994 (gst_message_parse_error), (gst_message_parse_warning):
15995 Don't crash when return location for error/warning debug
15996 string is NULL; add fact that return locations can be
15997 NULL to docs where appropriate.
15999 2006-01-05 Wim Taymans <wim@fluendo.com>
16001 * gst/gstplugin.c: (gst_plugin_load_file):
16002 Replace strdup by g_strdup.
16004 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16006 * docs/pwg/advanced-types.xml:
16009 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
16011 submitted by: Abel Cheung
16015 Added Chinese (traditional) translation
16017 2006-01-04 Wim Taymans <wim@fluendo.com>
16019 * docs/manual/basics-pads.xml:
16020 * docs/plugins/Makefile.am:
16021 * docs/plugins/gstreamer-plugins-docs.sgml:
16022 * docs/plugins/gstreamer-plugins-sections.txt:
16023 * docs/pwg/advanced-clock.xml:
16024 * docs/pwg/advanced-scheduling.xml:
16025 * docs/pwg/advanced-types.xml:
16026 * plugins/elements/gstfdsink.c:
16027 * plugins/elements/gstfdsrc.c:
16028 * plugins/elements/gstfdsrc.h:
16029 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16030 * plugins/elements/gstidentity.h:
16031 * plugins/elements/gstqueue.h:
16032 * plugins/elements/gsttee.c:
16033 * plugins/elements/gsttee.h:
16034 * plugins/elements/gsttypefindelement.c:
16035 (gst_type_find_element_class_init):
16036 * plugins/elements/gsttypefindelement.h:
16037 Small updates to various docs.
16038 Added core plugins to docs.
16040 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16043 add a suppression for liboil's uninitialized variable
16045 2006-01-02 James Livingston <jrl at ids dot org dot au>
16047 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16050 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16051 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16052 compiler switch is being used (#325429).
16054 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16056 * gst/gstbin.c: (gst_bin_query):
16057 Disable duration query caching in bins until it gets
16058 fixed (see #324807).
16060 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16062 * tools/gst-inspect.c: (print_element_properties_info):
16063 Handle properties of POINTER and BOXED type.
16065 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16067 * gst/gst.c: (init_post):
16068 Init tags stuff and some other things before loading
16069 any static plugins (there may be other static plugins
16070 than just the GStreamer ones, and they may want to
16071 register their own tags or formats or whatever, and
16072 preferably without segfaulting).
16074 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16075 Print at least a warning in the debug logs if we drop a
16076 query just because we don't know how to adjust the value
16077 in the particular format.
16079 2005-12-24 David Schleef <ds@schleef.org>
16081 * tools/gstreamer-completion:
16082 Replacement for gst-complete written in sh and sed. Only
16083 completes names of features, but that's 90% of what I want
16084 it for. Properties are not available in registry.xml. (Maybe
16087 === release 0.10.1 ===
16089 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16092 releasing 0.10.1, "Nollaig chridheil"
16094 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16096 * docs/faq/cvs.xml:
16097 Add missing quote, should be make ERROR_CFLAGS="".
16099 2005-12-20 Wim Taymans <wim@fluendo.com>
16101 * docs/design/part-trickmodes.txt:
16102 More documentation on trickmodes.
16104 2005-12-20 Edward Hervey <edward@fluendo.com>
16106 * gst/gstcaps.c: (gst_static_caps_get_type):
16108 API addition: GST_TYPE_STATIC_CAPS
16109 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16110 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16111 * gst/gstpadtemplate.h:
16112 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16113 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16116 2005-12-18 Wim Taymans <wim@fluendo.com>
16118 * libs/gst/base/gstadapter.c:
16119 * libs/gst/base/gstadapter.h:
16120 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16121 (gst_base_sink_get_position):
16122 * libs/gst/base/gstbasesink.h:
16123 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16124 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16125 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16126 (gst_base_src_send_event), (gst_base_src_update_length),
16127 (gst_base_src_get_range), (gst_base_src_loop),
16128 (gst_base_src_start):
16129 * libs/gst/base/gstbasesrc.h:
16130 * libs/gst/base/gstbasetransform.h:
16131 * libs/gst/base/gstcollectpads.h:
16132 * libs/gst/base/gstpushsrc.c:
16133 * libs/gst/base/gstpushsrc.h:
16134 * libs/gst/dataprotocol/dataprotocol.c:
16135 * libs/gst/dataprotocol/dataprotocol.h:
16136 * libs/gst/net/gstnetclientclock.h:
16137 * libs/gst/net/gstnettimeprovider.h:
16138 Documentation updates.
16140 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16142 * docs/manual/basics-helloworld.xml:
16143 Remove superfluous closing bracket in helloworld example.
16145 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16147 * tools/gst-launch.1.in:
16148 Update gst-launch man page; add a section with useful
16149 environment variables. Fixes #323882.
16151 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16154 * gst/gst_private.h:
16155 change some char* into char[]
16157 2005-12-16 Wim Taymans <wim@fluendo.com>
16159 * gst/gstregistryxml.c: (load_feature):
16161 Don't use g_object_unref on GstObjects so that we avoid
16162 leaks on unsafe glibs.
16164 2005-12-16 Wim Taymans <wim@fluendo.com>
16166 * gst/gstbin.c: (gst_bin_recalc_state):
16169 2005-12-16 Wim Taymans <wim@fluendo.com>
16171 * common/check.mak:
16172 Added make forever target for check.
16174 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16176 * gst/gst.c: (init_post):
16177 make the registry cache file HOST_CPU-dependent
16179 2005-12-16 Andy Wingo <wingo@pobox.com>
16181 * plugins/elements/gstbufferstore.c
16182 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16185 * tests/check/gst/gstobject.c
16186 (test_fake_object_name_threaded_unique): Pay attention to
16187 g_list_sort return value.
16189 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16191 * tools/gst-feedback-m.m:
16192 Update for 0.9/0.10 (fixes #323870).
16194 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16196 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16197 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16199 * tests/check/gst/gstminiobject.c: (my_foo_init),
16200 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16201 (test_value_collection), (gst_mini_object_suite):
16202 Add test to ensure refcounts end up as expected when passing
16203 GstMiniObjects through g_object_get() and g_object_set().
16205 2005-12-14 Julien MOUTTE <julien@moutte.net>
16207 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16208 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16209 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16210 of collectpads. This version removes a lot of races without
16211 touching API/ABI. Yay !
16213 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16215 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16216 Don't allow activation of a srcpad in pull_range if it has no
16218 Change some debug statements to be a little clearer
16220 * plugins/elements/gsttypefindelement.c:
16221 (gst_type_find_handle_src_query):
16222 Check that we have a peer before executing queries thereupon.
16224 * tests/examples/metadata/read-metadata.c: (message_loop):
16225 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16226 immediately return us any available message with 0 timeout.
16228 2005-12-12 Michael Smith <msmith@fluendo.com>
16230 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16231 Don't unref factories after calling them.
16232 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16233 * plugins/elements/gsttypefindelement.c:
16234 (gst_type_find_element_chain):
16235 Free lists of factories after using them. Fixing typefinding memory
16238 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16240 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16241 (gst_plugin_feature_load):
16242 more meaningful debug output
16244 * tests/Makefile.am:
16245 * tests/old/examples/Makefile.am:
16246 make make distcheck happy again
16248 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16250 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16251 Catch the special case where we are operating chain-based,
16252 but the downstream peer pad has no chain function. Emit a
16253 custom error message in this case instead of letting the
16254 core generate one implying that this is some sort of core
16255 bug. It's not, it just means that whatever got plugged
16256 into the pipeline downstream when we announced the type
16257 can only operate pull-based, while our source can only
16258 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16259 Error string has not been marked for translation yet, as
16260 it probably needs some more work first.
16262 (gst_type_find_element_get_best_possibility):
16263 Add helper function to find the best of all available
16264 found possibilities that qualify given the min. threshold.
16266 (gst_type_find_element_handle_event):
16267 Fix the case where we get an EOS while still in TYPEFIND
16268 mode (we want to chose the best of all possible types,
16269 not just the first type that happens to be in our unsorted
16270 list of possible types).
16272 (gst_type_find_element_chain):
16273 Make sure we return GST_FLOW_ERROR when we errored out
16274 in stop_typefinding(); also, don't just find the best of
16275 all found type entries and then use the last examined
16276 type entry, but actually use the best entry.
16278 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16280 * tests/examples/typefind/typefind.c: (type_found):
16281 * tests/examples/xml/runxml.c: (xml_loaded):
16282 More gcc4 fixes and a mem leak fix.
16284 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16286 * tests/examples/xml/createxml.c: (object_saved):
16289 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16291 * tests/Makefile.am:
16292 enable the examples even more
16294 2005-12-12 Andy Wingo <wingo@pobox.com>
16296 * libs/gst/net/gstnettimeprovider.c
16297 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16298 (gst_net_time_provider_set_property)
16299 (gst_net_time_provider_get_property):
16300 API addition: Export "active" as a GObject property.
16301 (gst_net_time_provider_thread): Only respond to time queries if
16302 the time provider is active.
16304 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16305 NetTimeProvider, preserving binary compat.
16307 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16309 * tests/examples/controller/audio-example.c: (main):
16310 * tests/examples/launch/Makefile.am:
16311 convert comments again
16313 2005-12-12 Wim Taymans <wim@fluendo.com>
16315 * libs/gst/base/gstpushsrc.c:
16318 2005-12-12 Wim Taymans <wim@fluendo.com>
16320 * docs/libs/gstreamer-libs-sections.txt:
16321 Added new symbol to docs.
16323 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16324 (gst_base_src_init), (gst_base_src_set_format),
16325 (gst_base_src_default_query), (gst_base_src_query),
16326 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16327 (gst_base_src_perform_seek), (gst_base_src_send_event),
16328 (gst_base_src_default_event), (gst_base_src_event_handler),
16329 (gst_base_src_set_property), (gst_base_src_get_property),
16330 (gst_base_src_wait), (gst_base_src_do_sync),
16331 (gst_base_src_update_length), (gst_base_src_get_range),
16332 (gst_base_src_check_get_range), (gst_base_src_loop),
16333 (gst_base_src_default_negotiate), (gst_base_src_start),
16334 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16335 (gst_base_src_change_state):
16336 * libs/gst/base/gstbasesrc.h:
16337 Implement seeking to other formats than _BYTES.
16338 Implement more seeking methods correctly.
16340 Added query vmethod.
16341 Added do_seek vmethod to make life easier for subclasses
16343 API addition: gst_base_src_set_format()
16345 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16347 * tests/examples/Makefile.am:
16350 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16353 * docs/random/ensonic/media-device-daemon.txt:
16354 * tests/examples/controller/.cvsignore:
16355 * tests/examples/controller/Makefile.am:
16356 * tests/examples/controller/audio-example.c: (main):
16357 * tests/examples/helloworld/.cvsignore:
16358 * tests/examples/helloworld/Makefile.am:
16359 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16360 * tests/examples/launch/.cvsignore:
16361 * tests/examples/launch/Makefile.am:
16362 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16363 * tests/examples/metadata/.cvsignore:
16364 * tests/examples/metadata/Makefile.am:
16365 * tests/examples/metadata/read-metadata.c: (message_loop),
16366 (make_pipeline), (print_tag), (main):
16367 * tests/examples/queue/.cvsignore:
16368 * tests/examples/queue/Makefile.am:
16369 * tests/examples/queue/queue.c: (event_loop), (main):
16370 * tests/examples/typefind/.cvsignore:
16371 * tests/examples/typefind/Makefile.am:
16372 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16374 * tests/examples/xml/.cvsignore:
16375 * tests/examples/xml/Makefile.am:
16376 * tests/examples/xml/createxml.c: (object_saved), (main):
16377 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16378 * tests/old/examples/Makefile.am:
16379 * tests/old/examples/TODO:
16380 * tests/old/examples/controller/.cvsignore:
16381 * tests/old/examples/controller/Makefile.am:
16382 * tests/old/examples/controller/audio-example.c:
16383 * tests/old/examples/helloworld/.cvsignore:
16384 * tests/old/examples/helloworld/Makefile.am:
16385 * tests/old/examples/helloworld/helloworld.c:
16386 * tests/old/examples/launch/.cvsignore:
16387 * tests/old/examples/launch/Makefile.am:
16388 * tests/old/examples/launch/mp3parselaunch.c:
16389 * tests/old/examples/launch/mp3play:
16390 * tests/old/examples/manual/Makefile.am:
16391 * tests/old/examples/metadata/Makefile.am:
16392 * tests/old/examples/metadata/read-metadata.c:
16393 * tests/old/examples/queue/.cvsignore:
16394 * tests/old/examples/queue/Makefile.am:
16395 * tests/old/examples/queue/queue.c:
16396 * tests/old/examples/typefind/.cvsignore:
16397 * tests/old/examples/typefind/Makefile.am:
16398 * tests/old/examples/typefind/typefind.c:
16399 * tests/old/examples/xml/.cvsignore:
16400 * tests/old/examples/xml/Makefile.am:
16401 * tests/old/examples/xml/createxml.c:
16402 * tests/old/examples/xml/runxml.c:
16403 applied some simple fixing to some examples
16404 re-enabled the working examples
16406 2005-12-12 Wim Taymans <wim@fluendo.com>
16408 * gst/gstsegment.c: (gst_segment_init),
16409 (gst_segment_set_last_stop), (gst_segment_set_seek),
16410 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16411 (gst_segment_to_running_time):
16412 Added more documentation.
16413 Make sure the last_pos value is updated properly.
16414 Make sure to_stream_time and to_running_time don't
16415 operate on wrong values.
16417 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16420 2005-12-12 Michael Smith <msmith@fluendo.com>
16422 * plugins/elements/gsttypefindelement.c: (free_entry),
16423 (gst_type_find_element_chain):
16424 Now that we're not leaking factories, make sure we keep references
16425 to them while we need them.
16427 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16429 * tests/check/gst/struct_i386.h:
16430 ifdef out the XML structs
16432 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16434 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16435 floor is not needed, F is always positive; this obviates the
16436 need for adding -lm when building without libxml
16438 2005-12-12 Wim Taymans <wim@fluendo.com>
16440 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16441 Take current playback rate into account when reporting
16444 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16446 * docs/manual/mime-world.fig:
16447 Let's try this again, this time with a file that is
16448 actually in XFig format.
16450 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16452 * docs/manual/mime-world.fig:
16453 Add audioconvert element to diagram so that it
16454 matches the text and the code (fixes #319526).
16456 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16458 * docs/pwg/building-chainfn.xml:
16459 * docs/pwg/building-pads.xml:
16460 * docs/pwg/building-state.xml:
16461 * docs/pwg/other-source.xml:
16462 Update state change stuff for 0.10 (fixes #322969).
16464 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16466 * docs/manual/advanced-dataaccess.xml:
16467 * docs/manual/appendix-checklist.xml:
16468 * docs/manual/appendix-programs.xml:
16469 * docs/manual/basics-pads.xml:
16470 * docs/manual/highlevel-components.xml:
16471 * docs/manual/manual.xml:
16472 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16473 add converters in front of pipelines; remove curly
16474 brackets for threads stuff, they no longer exist; use
16475 GST_TYPE_FRACTION for framerates; update some pieces of
16476 code to 0.10, but there's plenty more to do.
16478 * docs/manual/appendix-porting.xml:
16479 Expand on asynchroneous state changes; s/0.9/0.10/;
16480 mention disappearance of gst_init_get_popt_table()
16483 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16485 * docs/faq/using.xml:
16486 Spider no longer exists, and neither does gst-launch-ext.
16487 Update examples to use decodebin and playbin and put
16488 converters in front of sinks (fixes #323726).
16490 2005-12-09 Michael Smith <msmith@fluendo.com>
16492 * plugins/elements/gsttypefindelement.c: (find_peek),
16493 (gst_type_find_element_chain):
16494 Fix leaking element factories in typefinding.
16495 Fix problem where we forgot about a probable type on non-seekable
16496 files, and thus later mis-typefound it.
16498 2005-12-09 Michael Smith <msmith@fluendo.com>
16500 * common/m4/gst-makecontext.m4:
16501 * common/m4/gst-mcsc.m4:
16503 * win32/common/config.h:
16504 * win32/common/config.h.in:
16505 Remove makecontext stuff; not used in 0.10 and causes problems on
16506 HPUX according to bug #322441
16508 2005-12-07 Wim Taymans <wim@fluendo.com>
16510 * tests/check/Makefile.am:
16511 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16513 * tests/check/libs/struct_i386.h:
16514 Added ABI check for libs
16516 2005-12-07 Wim Taymans <wim@fluendo.com>
16518 * tests/check/Makefile.am:
16519 And add the struct_i386.h to dist.
16521 2005-12-07 Wim Taymans <wim@fluendo.com>
16523 * tests/check/Makefile.am:
16524 * tests/check/gst/.cvsignore:
16525 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16527 * tests/check/gst/struct_i386.h:
16528 Added check for ABI compatibility.
16530 2005-12-07 Wim Taymans <wim@fluendo.com>
16532 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16533 (gst_fake_src_get_times), (gst_fake_src_create):
16534 Fix broken sync option, fixes #323259
16536 2005-12-07 Wim Taymans <wim@fluendo.com>
16541 * gst/gstcaps.c: (gst_caps_is_equal):
16542 Don't assert on NULL <--> X. Fixes #323260
16544 * gst/gstminiobject.c: (gst_mini_object_replace):
16545 If we're doing atomic operations, we might just as well use
16546 the proper way to get an atomic pointer.
16548 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16549 Clean up debugging.
16551 2005-12-07 Michael Smith <msmith@fluendo.com>
16553 * gst/parse/grammar.y:
16554 Remove handling of { } for threads.
16556 2005-12-06 David Schleef <ds@schleef.org>
16558 * libs/gst/base/gstbasetransform.c: speling fix.
16560 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16562 * docs/libs/tmpl/gstdataprotocol.sgml:
16563 * docs/random/omega/testing/gstobject.c:
16566 * gst/gstelement.c:
16567 * gst/gstelementfactory.c:
16570 * gst/gstghostpad.c:
16572 * gst/gstpadtemplate.c:
16573 * gst/gstregistryxml.c:
16574 * gst/gsttaglist.c:
16575 * gst/gsttagsetter.c:
16576 * gst/gsttypefind.c:
16578 * libs/gst/base/gstbasesrc.c:
16579 * libs/gst/net/gstnetclientclock.c:
16580 * libs/gst/net/gstnettimeprovider.c:
16581 * plugins/elements/gstfakesrc.c:
16582 * plugins/elements/gstfdsrc.c:
16583 * plugins/elements/gstfilesrc.c:
16584 * plugins/elements/gstidentity.c:
16585 * plugins/elements/gstqueue.c:
16586 * plugins/elements/gsttypefindelement.c:
16587 * plugins/indexers/gstfileindex.c:
16588 * plugins/indexers/gstmemindex.c:
16589 * tests/check/gst/gsttag.c:
16590 * tests/old/examples/cutter/cutter.c:
16591 * tests/old/examples/mixer/mixer.c:
16592 * tests/old/examples/xml/runxml.c: (main):
16593 * tests/old/testsuite/caps/normalisation.c:
16594 * tests/old/testsuite/debug/global.c:
16595 * tests/old/testsuite/parse/parse1.c:
16596 * tools/gst-xmlinspect.c:
16597 * win32/common/dirent.c:
16600 === release 0.10.0 ===
16602 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16605 releasing 0.10.0, "Maroilles"
16607 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16609 submitted by: Funda Wang <fundawang@linux.net.cn>
16613 added Chinese (Traditional) translation
16615 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16617 * docs/gst/gstreamer-sections.txt:
16618 * docs/libs/tmpl/gstdataprotocol.sgml:
16619 * docs/random/thomasvs/TODO:
16624 2005-12-05 Andy Wingo <wingo@pobox.com>
16626 patch by: Wim Taymans <wim@fluendo.com>
16628 * libs/gst/base/gstbasetransform.c
16629 (gst_base_transform_prepare_output_buf)
16630 (gst_base_transform_buffer_alloc):
16631 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16632 alloc_buffer_and_set_caps.
16634 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16635 set_caps on the source pad.
16636 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16637 alloc_buffer used to do. Fixes #322874.
16639 * docs/gst/gstreamer-sections.txt:
16640 * docs/design/part-negotiation.txt:
16641 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16644 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16646 patch by: Sebastien Moutte
16649 * win32/common/config.h.in:
16650 * win32/vs6/libgstcontroller.dsp:
16653 2005-12-05 Wim Taymans <wim@fluendo.com>
16655 * gst/gstcaps.c: (gst_caps_is_equal):
16656 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16657 (gst_fake_src_create):
16658 Back out previous code changes, leave doc updates, file bugs
16661 2005-12-05 Wim Taymans <wim@fluendo.com>
16663 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16664 (gst_fake_src_get_times), (gst_fake_src_create):
16665 * plugins/elements/gstfakesrc.h:
16666 Fix broken sync code.
16668 2005-12-05 Wim Taymans <wim@fluendo.com>
16670 * gst/gstcaps.c: (gst_caps_is_equal):
16671 Comparing NULL against !NULL yields different caps, not a
16674 2005-12-05 Wim Taymans <wim@fluendo.com>
16676 * gst/gstpipeline.c:
16677 Fix small typo in docs.
16679 2005-12-05 Andy Wingo <wingo@pobox.com>
16681 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16683 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16684 registries/plugins with a MAJORMINOR one.
16685 (plugin_desc): Rename library from gstcoreleements to
16686 staticelements. Fixes #323222.
16688 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16690 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16691 Change debug category to 'collectpads' from 'collect_pads'
16694 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16696 patch by: Sebastien Moutte
16698 * libs/gst/controller/gstinterpolation.c:
16699 use convert function for uint64/double
16700 * win32/vs6/libgstcontroller.dsp:
16703 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16705 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16706 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16708 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16709 add tests that seem to show that the guint64/gdouble conversions
16712 2005-12-02 Wim Taymans <wim@fluendo.com>
16714 * gst/gstregistry.c: (gst_registry_add_path):
16715 * gst/gstregistry.h:
16716 * gst/gstregistryxml.c:
16719 2005-12-02 Wim Taymans <wim@fluendo.com>
16721 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16722 (gst_util_uint64_scale_int):
16725 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16726 Add debug log line.
16728 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16731 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16734 * win32/common/config.h:
16735 * win32/vs6/gstreamer.dsw:
16736 * win32/vs6/libgstcoreelements.dsp:
16737 * win32/vs6/libgstelements.dsp:
16738 renamed core elements plugin
16740 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16742 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16744 do piece-wise major/minor comparison so 0.9 < 0.10
16745 also allow .exe extensions for tools
16747 2005-12-02 Michael Smith <msmith@fluendo.com>
16750 Escape a % to make gtkdoc happier; bug 322958.
16752 === release 0.9.7 ===
16754 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16757 releasing 0.9.7, "My Dog Has No Nose"
16759 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16761 * common/gst-xmlinspect.py:
16763 * docs/libs/tmpl/gstdataprotocol.sgml:
16764 * docs/random/release:
16783 * win32/common/config.h:
16784 * win32/common/config.h.in:
16785 * win32/vs6/gst_inspect.dsp:
16786 * win32/vs6/gst_launch.dsp:
16787 * win32/vs6/libgstbase.dsp:
16788 * win32/vs6/libgstelements.dsp:
16789 * win32/vs6/libgstreamer.dsp:
16790 * win32/vs7/GStreamer.vcproj:
16791 * win32/vs7/gst-inspect.vcproj:
16792 * win32/vs7/gst-launch.vcproj:
16793 * win32/vs7/libgstbase.vcproj:
16794 bump GST_MAJORMINOR to 0.10
16795 reset libtool version
16797 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16801 Added Bulgarian translation by (Alexander Shopov)
16803 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16805 * tests/check/gst/gstplugin.c:
16808 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16810 * common/gst-xmlinspect.py:
16811 * common/gtk-doc-plugins.mak:
16813 * docs/Makefile.am:
16814 * docs/gst/Makefile.am:
16815 * docs/gst/gstreamer-docs.sgml:
16816 * docs/gst/gstreamer-sections.txt:
16817 * docs/gst/gstreamer.types:
16818 * docs/gst/gstreamer.types.in:
16819 * docs/plugins/Makefile.am:
16820 * docs/plugins/gstreamer-plugins-docs.sgml:
16821 * docs/plugins/gstreamer-plugins-sections.txt:
16822 * docs/plugins/gstreamer-plugins.types:
16823 * docs/plugins/inspect.stamp:
16824 * docs/plugins/inspect/plugin-coreelements.xml:
16825 * docs/plugins/inspect/plugin-coreindexers.xml:
16826 * docs/plugins/scanobj-build.stamp:
16827 * gstreamer.spec.in:
16828 * plugins/elements/Makefile.am:
16829 * plugins/elements/gstelements.c:
16830 * plugins/elements/gstfakesink.c:
16831 * plugins/elements/gstfakesrc.c:
16832 * plugins/elements/gstfilesink.c:
16833 * plugins/elements/gstfilesrc.c:
16834 * plugins/elements/gstqueue.c:
16835 * plugins/indexers/Makefile.am:
16836 * plugins/indexers/gstindexers.c:
16837 document core plugins in a separate document just like all the
16839 rename these plugins to something starting with core
16841 2005-12-01 Andy Wingo <wingo@pobox.com>
16843 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16844 padding here before, but it missed the commit.
16846 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16848 * libs/gst/controller/gstinterpolation.c:
16849 whitespace prices have crashed, we should feel free to use some now
16850 use gst_guint64_to_gdouble
16852 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16854 * libs/gst/controller/gstcontroller.c:
16855 * libs/gst/controller/gsthelper.c:
16856 * libs/gst/controller/gstinterpolation.c:
16857 * libs/gst/controller/lib.c:
16858 wrap config.h include
16860 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16862 * docs/gst/gstreamer-sections.txt:
16865 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16867 * plugins/elements/gstelements.c:
16868 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16869 (gst_fd_sink__class_init), (gst_fd_sink__init),
16870 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16871 (gst_fd_sink__get_property):
16872 * plugins/elements/gstfdsink.h:
16873 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16874 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16875 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16876 (gst_fd_src_unlock), (gst_fd_src_set_property),
16877 (gst_fd_src_get_property), (gst_fd_src_create),
16878 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16879 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16880 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16881 (gst_fd_src_uri_handler_init):
16882 * plugins/elements/gstfdsrc.h:
16883 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16886 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16888 * docs/gst/Makefile.am:
16889 * docs/gst/gstreamer.types.in:
16893 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16899 * gst/gstregistry.h:
16900 * tests/benchmarks/complexity.c:
16901 * tests/benchmarks/mass-elements.c:
16902 * tests/check/Makefile.am:
16903 * tools/Makefile.am:
16904 * tools/gst-inspect.c:
16905 * tools/gst-xmlinspect.c:
16906 various fixes to make
16907 --disable-nls --disable-registry --disable-loadsave
16908 --disable-parse --disable-gst-debug
16909 work and get the core .so down to 360444 bytes after stripping
16911 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16916 * docs/random/thomasvs/TODO:
16917 * tests/Makefile.am:
16921 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16923 * win32/GStreamer.vcproj:
16926 * win32/Makefile.inspect:
16927 * win32/Makefile.launch:
16928 * win32/Makefile.register:
16929 * win32/README.txt:
16930 * win32/gst-inspect.vcproj:
16931 * win32/gst-launch.vcproj:
16932 * win32/gst-register.vcproj:
16933 * win32/gstelements.vcproj:
16934 * win32/gstgetbits.def:
16935 * win32/gstgetbits.vcproj:
16936 * win32/gstreamer-dbg.def:
16937 * win32/gstreamer.def:
16938 * win32/libgstbase.def:
16939 * win32/libgstbase.vcproj:
16940 * win32/link_oldruntime.c:
16944 * win32/msvc71.sln:
16945 move even more stuff, win32/ is nice and clean now
16947 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16949 * libs/gst/control/.cvsignore:
16954 * win32/gstbytestream.def:
16955 * win32/gstbytestream.vcproj:
16956 * win32/gstconfig.h:
16957 * win32/gstenumtypes.c:
16958 * win32/gstenumtypes.h:
16959 * win32/gstoptimalscheduler.vcproj:
16960 * win32/gstversion.h:
16962 * win32/testsuite/bins.vcproj:
16963 * win32/testsuite/bytestream.vcproj:
16964 * win32/testsuite/caps.vcproj:
16965 * win32/testsuite/cleanup.vcproj:
16966 * win32/testsuite/clock.vcproj:
16967 * win32/testsuite/debug.vcproj:
16968 * win32/testsuite/dlopen.vcproj:
16969 * win32/testsuite/dynparams.vcproj:
16970 * win32/testsuite/elements.vcproj:
16971 * win32/testsuite/ghostpads.vcproj:
16972 * win32/testsuite/indexers.vcproj:
16973 * win32/testsuite/negotiation.vcproj:
16974 * win32/testsuite/parse.vcproj:
16975 * win32/testsuite/plugin.vcproj:
16976 * win32/testsuite/refcounting.vcproj:
16977 * win32/testsuite/schedulers.vcproj:
16978 * win32/testsuite/states.vcproj:
16979 * win32/testsuite/tags.vcproj:
16980 * win32/testsuite/threads.vcproj:
16981 remove old win32 stuff that isn't maintained and should be
16984 2005-11-30 Andy Wingo <wingo@pobox.com>
16986 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16987 loading the gst.interfaces python module bork.
16989 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16990 available since GLib 2.2. Fixes #318031.
16992 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16995 * check/.cvsignore:
16996 * check/Makefile.am:
16997 * check/elements/.cvsignore:
16998 * check/elements/fakesrc.c:
16999 * check/elements/fdsrc.c:
17000 * check/elements/identity.c:
17001 * check/generic/.cvsignore:
17002 * check/generic/states.c:
17003 * check/gst-libs/.cvsignore:
17004 * check/gst-libs/controller.c:
17005 * check/gst-libs/gdp.c:
17006 * check/gst/.cvsignore:
17007 * check/gst/capslist.h:
17009 * check/gst/gstbin.c:
17010 * check/gst/gstbuffer.c:
17011 * check/gst/gstbus.c:
17012 * check/gst/gstcaps.c:
17013 * check/gst/gstelement.c:
17014 * check/gst/gstevent.c:
17015 * check/gst/gstghostpad.c:
17016 * check/gst/gstiterator.c:
17017 * check/gst/gstmessage.c:
17018 * check/gst/gstminiobject.c:
17019 * check/gst/gstobject.c:
17020 * check/gst/gstpad.c:
17021 * check/gst/gstpipeline.c:
17022 * check/gst/gstplugin.c:
17023 * check/gst/gstsegment.c:
17024 * check/gst/gststructure.c:
17025 * check/gst/gstsystemclock.c:
17026 * check/gst/gsttag.c:
17027 * check/gst/gstutils.c:
17028 * check/gst/gstvalue.c:
17029 * check/net/.cvsignore:
17030 * check/net/gstnetclientclock.c:
17031 * check/net/gstnettimeprovider.c:
17032 * check/pipelines/.cvsignore:
17033 * check/pipelines/cleanup.c:
17034 * check/pipelines/simple_launch_lines.c:
17035 * check/pipelines/stress.c:
17036 * check/states/.cvsignore:
17037 * check/states/sinks.c:
17039 * examples/Makefile.am:
17040 * examples/appreader/.cvsignore:
17041 * examples/appreader/Makefile.am:
17042 * examples/appreader/appreader.c:
17043 * examples/controller/.cvsignore:
17044 * examples/controller/Makefile.am:
17045 * examples/controller/audio-example.c:
17046 * examples/cutter/.cvsignore:
17047 * examples/cutter/Makefile.am:
17048 * examples/cutter/cutter.c:
17049 * examples/cutter/cutter.h:
17050 * examples/events/Makefile.am:
17051 * examples/events/seek.c:
17052 * examples/helloworld/.cvsignore:
17053 * examples/helloworld/Makefile.am:
17054 * examples/helloworld/helloworld.c:
17055 * examples/helloworld2/.cvsignore:
17056 * examples/helloworld2/Makefile.am:
17057 * examples/helloworld2/helloworld2.c:
17058 * examples/launch/.cvsignore:
17059 * examples/launch/Makefile.am:
17060 * examples/launch/mp3parselaunch.c:
17061 * examples/launch/mp3play:
17062 * examples/manual/.cvsignore:
17063 * examples/manual/Makefile.am:
17064 * examples/manual/extract.pl:
17065 * examples/metadata/Makefile.am:
17066 * examples/metadata/read-metadata.c:
17067 * examples/mixer/.cvsignore:
17068 * examples/mixer/Makefile.am:
17069 * examples/mixer/mixer.c:
17070 * examples/mixer/mixer.h:
17071 * examples/pingpong/.cvsignore:
17072 * examples/pingpong/Makefile.am:
17073 * examples/pingpong/pingpong.c:
17074 * examples/plugins/.cvsignore:
17075 * examples/plugins/Makefile.am:
17076 * examples/plugins/example.c:
17077 * examples/plugins/example.h:
17078 * examples/pwg/.cvsignore:
17079 * examples/pwg/Makefile.am:
17080 * examples/pwg/extract.pl:
17081 * examples/queue/.cvsignore:
17082 * examples/queue/Makefile.am:
17083 * examples/queue/queue.c:
17084 * examples/queue2/.cvsignore:
17085 * examples/queue2/Makefile.am:
17086 * examples/queue2/queue2.c:
17087 * examples/queue3/.cvsignore:
17088 * examples/queue3/Makefile.am:
17089 * examples/queue3/queue3.c:
17090 * examples/queue4/.cvsignore:
17091 * examples/queue4/Makefile.am:
17092 * examples/queue4/queue4.c:
17093 * examples/retag/.cvsignore:
17094 * examples/retag/Makefile.am:
17095 * examples/retag/retag.c:
17096 * examples/retag/transcode.c:
17097 * examples/thread/.cvsignore:
17098 * examples/thread/Makefile.am:
17099 * examples/thread/thread.c:
17100 * examples/typefind/.cvsignore:
17101 * examples/typefind/Makefile.am:
17102 * examples/typefind/typefind.c:
17103 * examples/xml/.cvsignore:
17104 * examples/xml/Makefile.am:
17105 * examples/xml/createxml.c:
17106 * examples/xml/runxml.c:
17107 * tests/Makefile.am:
17108 * tests/check/Makefile.am:
17109 * testsuite/.cvsignore:
17110 * testsuite/Makefile.am:
17112 * testsuite/caps/.cvsignore:
17113 * testsuite/caps/Makefile.am:
17114 * testsuite/caps/app_fixate.c:
17115 * testsuite/caps/audioscale.c:
17116 * testsuite/caps/caps.c:
17117 * testsuite/caps/caps.h:
17118 * testsuite/caps/caps_strings:
17119 * testsuite/caps/compatibility.c:
17120 * testsuite/caps/deserialize.c:
17121 * testsuite/caps/enumcaps.c:
17122 * testsuite/caps/eratosthenes.c:
17123 * testsuite/caps/filtercaps.c:
17124 * testsuite/caps/fixed.c:
17125 * testsuite/caps/fraction-convert.c:
17126 * testsuite/caps/fraction-multiply-and-zero.c:
17127 * testsuite/caps/intersect2.c:
17128 * testsuite/caps/intersection.c:
17129 * testsuite/caps/normalisation.c:
17130 * testsuite/caps/random.c:
17131 * testsuite/caps/renegotiate.c:
17132 * testsuite/caps/sets.c:
17133 * testsuite/caps/simplify.c:
17134 * testsuite/caps/string-conversions.c:
17135 * testsuite/caps/structure.c:
17136 * testsuite/caps/subtract.c:
17137 * testsuite/caps/union.c:
17138 * testsuite/debug/.cvsignore:
17139 * testsuite/debug/Makefile.am:
17140 * testsuite/debug/category.c:
17141 * testsuite/debug/commandline.c:
17142 * testsuite/debug/global.c:
17143 * testsuite/debug/output.c:
17144 * testsuite/debug/printf_extension.c:
17145 * testsuite/dlopen/.cvsignore:
17146 * testsuite/dlopen/Makefile.am:
17147 * testsuite/dlopen/dlopen_gst.c:
17148 * testsuite/dlopen/loadgst.c:
17149 * testsuite/elements/.cvsignore:
17150 * testsuite/elements/Makefile.am:
17151 * testsuite/elements/gst-inspect-check.in:
17152 * testsuite/elements/struct_i386.h:
17153 * testsuite/elements/struct_size.c:
17154 * testsuite/indexers/.cvsignore:
17155 * testsuite/indexers/Makefile.am:
17156 * testsuite/indexers/cache1.c:
17157 * testsuite/indexers/indexdump.c:
17158 * testsuite/parse/.cvsignore:
17159 * testsuite/parse/Makefile.am:
17160 * testsuite/parse/parse1.c:
17161 * testsuite/parse/parse2.c:
17162 * testsuite/plugin/.cvsignore:
17163 * testsuite/plugin/Makefile.am:
17164 * testsuite/plugin/README:
17165 * testsuite/plugin/dynamic.c:
17166 * testsuite/plugin/linked.c:
17167 * testsuite/plugin/loading.c:
17168 * testsuite/plugin/registry.c:
17169 * testsuite/plugin/static.c:
17170 * testsuite/plugin/static2.c:
17171 * testsuite/plugin/testplugin.c:
17172 * testsuite/plugin/testplugin2.c:
17173 * testsuite/plugin/testplugin2_s.c:
17174 * testsuite/plugin/testplugin_s.c:
17175 * testsuite/refcounting/.cvsignore:
17176 * testsuite/refcounting/Makefile.am:
17177 * testsuite/refcounting/bin.c:
17178 * testsuite/refcounting/element.c:
17179 * testsuite/refcounting/element_pad.c:
17180 * testsuite/refcounting/mainloop.c:
17181 * testsuite/refcounting/mem.c:
17182 * testsuite/refcounting/mem.h:
17183 * testsuite/refcounting/object.c:
17184 * testsuite/refcounting/pad.c:
17185 * testsuite/refcounting/sched.c:
17186 * testsuite/refcounting/thread.c:
17187 * testsuite/states/.cvsignore:
17188 * testsuite/states/Makefile.am:
17189 * testsuite/states/bin.c:
17190 * testsuite/states/locked.c:
17191 * testsuite/states/parent.c:
17192 * testsuite/threads/.cvsignore:
17193 * testsuite/threads/159566.c:
17194 * testsuite/threads/159852.c:
17195 * testsuite/threads/Makefile.am:
17196 * testsuite/threads/queue.c:
17197 * testsuite/threads/signals.c:
17198 * testsuite/threads/staticrec.c:
17199 * testsuite/threads/thread.c:
17200 * testsuite/threads/threadb.c:
17201 * testsuite/threads/threadc.c:
17202 * testsuite/threads/threadd.c:
17203 * testsuite/threads/threade.c:
17204 * testsuite/threads/threadf.c:
17205 * testsuite/threads/threadg.c:
17206 * testsuite/threads/threadh.c:
17207 * testsuite/threads/threadi.c:
17208 move all of these under tests
17210 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17213 * tests/Makefile.am:
17216 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17218 * docs/gst/gstreamer-sections.txt:
17219 * tests/sched/.cvsignore:
17220 * tests/sched/Makefile.am:
17221 * tests/sched/cases/(fs-fs).xml:
17222 * tests/sched/cases/(fs-i-fs).xml:
17223 * tests/sched/cases/(fs-i-i-fs).xml:
17224 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17225 * tests/sched/dynamic-pipeline.c:
17226 * tests/sched/interrupt1.c:
17227 * tests/sched/interrupt2.c:
17228 * tests/sched/interrupt3.c:
17229 * tests/sched/runtestcases:
17230 * tests/sched/runxml.c:
17231 * tests/sched/sched-stress.c:
17232 * tests/sched/sort.c:
17233 * tests/sched/testcases:
17234 * tests/sched/testcases1.tc:
17235 * tests/seeking/.cvsignore:
17236 * tests/seeking/Makefile.am:
17237 * tests/seeking/seeking1.c:
17238 * tests/threadstate/.cvsignore:
17239 * tests/threadstate/Makefile.am:
17240 * tests/threadstate/test1.c:
17241 * tests/threadstate/test2.c:
17242 * tests/threadstate/threadstate1.c:
17243 * tests/threadstate/threadstate2.c:
17244 * tests/threadstate/threadstate3.c:
17245 * tests/threadstate/threadstate4.c:
17246 * tests/threadstate/threadstate5.c:
17247 remove obsolete tests
17249 * tests/bench-complexity.scm:
17250 * tests/bench-mass_elements.scm:
17251 * tests/complexity.c:
17252 * tests/complexity.gnuplot:
17253 * tests/instantiate/.cvsignore:
17254 * tests/instantiate/Makefile.am:
17255 * tests/instantiate/caps.c:
17256 * tests/mass_elements.c:
17257 * tests/network-clock-utils.scm:
17258 * tests/network-clock.scm:
17260 First pass at cleaning up tests/ dir before moving the rest
17261 Combined with CVS surgery
17263 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17266 queue has moved, update
17268 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17270 * docs/gst/gstreamer-sections.txt:
17271 remove double entries from the docs
17272 * gst/gst_private.h:
17273 * gst/gstinfo.c: (_gst_debug_init):
17274 remove the THREAD debug category
17278 * docs/gst/gstreamer.types:
17279 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17280 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17281 completely move queue and fix up debugging categories
17283 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17285 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17286 make initialization portable, using LL is not
17288 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17290 * win32/common/gstconfig.h:
17293 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17295 * win32/common/libgstreamer.def:
17296 rename symbols; sort base section
17298 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17300 * gst/gstclock.c: (do_linear_regression):
17301 remove crack non-portable handrolled DEBUG macro
17303 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17305 * docs/random/release:
17307 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17308 (gst_object_flags_get_type), (register_gst_bin_flags),
17309 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17310 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17311 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17312 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17313 (gst_caps_flags_get_type), (register_gst_clock_return),
17314 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17315 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17316 (gst_clock_flags_get_type), (register_gst_state),
17317 (gst_state_get_type), (register_gst_state_change_return),
17318 (gst_state_change_return_get_type), (register_gst_state_change),
17319 (gst_state_change_get_type), (register_gst_element_flags),
17320 (gst_element_flags_get_type), (register_gst_core_error),
17321 (gst_core_error_get_type), (register_gst_library_error),
17322 (gst_library_error_get_type), (register_gst_resource_error),
17323 (gst_resource_error_get_type), (register_gst_stream_error),
17324 (gst_stream_error_get_type), (register_gst_event_type_flags),
17325 (gst_event_type_flags_get_type), (register_gst_event_type),
17326 (gst_event_type_get_type), (register_gst_seek_type),
17327 (gst_seek_type_get_type), (register_gst_seek_flags),
17328 (gst_seek_flags_get_type), (register_gst_format),
17329 (gst_format_get_type), (register_gst_index_certainty),
17330 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17331 (gst_index_entry_type_get_type),
17332 (register_gst_index_lookup_method),
17333 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17334 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17335 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17336 (gst_index_flags_get_type), (register_gst_debug_level),
17337 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17338 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17339 (gst_iterator_result_get_type), (register_gst_iterator_item),
17340 (gst_iterator_item_get_type), (register_gst_message_type),
17341 (gst_message_type_get_type), (register_gst_mini_object_flags),
17342 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17343 (gst_pad_link_return_get_type), (register_gst_flow_return),
17344 (gst_flow_return_get_type), (register_gst_activate_mode),
17345 (gst_activate_mode_get_type), (register_gst_pad_direction),
17346 (gst_pad_direction_get_type), (register_gst_pad_flags),
17347 (gst_pad_flags_get_type), (register_gst_pad_presence),
17348 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17349 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17350 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17351 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17352 (gst_plugin_flags_get_type), (register_gst_rank),
17353 (gst_rank_get_type), (register_gst_query_type),
17354 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17355 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17356 (gst_tag_flag_get_type), (register_gst_task_state),
17357 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17358 (gst_alloc_trace_flags_get_type),
17359 (register_gst_type_find_probability),
17360 (gst_type_find_probability_get_type), (register_gst_uri_type),
17361 (gst_uri_type_get_type), (register_gst_parse_error),
17362 (gst_parse_error_get_type):
17363 * win32/common/gstenumtypes.h:
17364 * win32/common/gstversion.h:
17365 update visual studio generated files
17367 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17369 * win32/vs6/libgstbase.dsp:
17370 * win32/vs6/libgstelements.dsp:
17371 update project files for new locations
17373 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17378 reinstate and update
17383 * docs/random/LICENSE:
17386 2005-11-30 Edward Hervey <edward@fluendo.com>
17388 * gst/gsttypefind.c: (gst_type_find_register):
17389 * gst/gsttypefind.h:
17390 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17391 (gst_type_find_factory_dispose):
17392 * gst/gsttypefindfactory.h:
17393 Fix memory leak in GstTypeFindFactory.
17395 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17398 * plugins/elements/Makefile.am:
17399 * plugins/elements/gstelements.c:
17400 * plugins/elements/gstqueue.c:
17401 move queue from core to the elements plugin
17403 2005-11-29 Andy Wingo <wingo@pobox.com>
17405 * libs/gst/base/gstbasetransform.h:
17406 * libs/gst/base/gstbasesrc.h:
17407 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17409 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17410 of pointers by which to pad very extensible base classes (like the
17411 ones in libs/gst/base).
17413 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17415 * docs/gst/gstreamer-docs.sgml:
17416 * docs/gst/gstreamer-sections.txt:
17417 * docs/libs/gstreamer-libs-docs.sgml:
17418 * docs/libs/gstreamer-libs-sections.txt:
17419 moving documentation from core to lib
17421 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17423 * check/Makefile.am:
17425 * docs/gst/Makefile.am:
17427 * gst/base/.cvsignore:
17428 * gst/base/Makefile.am:
17430 * gst/base/gstadapter.c:
17431 * gst/base/gstadapter.h:
17432 * gst/base/gstbasesink.c:
17433 * gst/base/gstbasesink.h:
17434 * gst/base/gstbasesrc.c:
17435 * gst/base/gstbasesrc.h:
17436 * gst/base/gstbasetransform.c:
17437 * gst/base/gstbasetransform.h:
17438 * gst/base/gstcollectpads.c:
17439 * gst/base/gstcollectpads.h:
17440 * gst/base/gstpushsrc.c:
17441 * gst/base/gstpushsrc.h:
17442 * gst/base/gsttypefindhelper.c:
17443 * gst/base/gsttypefindhelper.h:
17444 * gst/check/Makefile.am:
17445 * gst/check/gstcheck.c:
17446 * gst/check/gstcheck.h:
17447 * gst/net/Makefile.am:
17448 * gst/net/gstnet.h:
17449 * gst/net/gstnetclientclock.c:
17450 * gst/net/gstnetclientclock.h:
17451 * gst/net/gstnettimepacket.c:
17452 * gst/net/gstnettimepacket.h:
17453 * gst/net/gstnettimeprovider.c:
17454 * gst/net/gstnettimeprovider.h:
17455 * libs/gst/Makefile.am:
17456 * libs/gst/base/Makefile.am:
17457 * libs/gst/base/gstbasetransform.c:
17458 * libs/gst/check/Makefile.am:
17459 * plugins/elements/Makefile.am:
17461 CVS surgery + support to move base, check, and net out of gst
17464 2005-11-29 Andy Wingo <wingo@pobox.com>
17466 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17468 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17471 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17473 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17475 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17477 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17478 padding; reduces object size by about 30%. We don't expect
17479 anything else to go into gstobject.
17481 * gst/gstminiobject.h (struct _GstMiniObject)
17482 (struct _GstMiniObjectClass): Only one pointer of padding; the
17483 payload is only a pointer and two ints anyway. For the class there
17484 are only two methods as well.
17486 * gst/gstelement.h (struct _GstElementClass): Removed
17487 the state_changed signal callback, it is not used.
17489 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17491 * docs/gst/gstreamer.types:
17492 fix includes, though they are a little dinky
17494 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17496 * check/Makefile.am:
17497 look in the right place for elements, a lot more chance of
17500 remove indexers and elements subdirs
17501 * plugins/Makefile.am:
17502 make indexers conditional
17504 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17508 * plugins/elements/Makefile.am:
17509 * plugins/elements/gstcapsfilter.c:
17510 * plugins/elements/gstfilesink.c:
17511 * plugins/elements/gstfilesrc.c:
17512 * plugins/elements/gstidentity.c:
17513 * plugins/indexers/Makefile.am:
17514 do CVS surgery and related build fixery to move elements
17515 and indexers in a new gstreamer/plugins directory, out of the
17518 2005-11-29 Andy Wingo <wingo@pobox.com>
17520 * check/Makefile.am:
17521 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17522 * pkgconfig/gstreamer-net.pc.in:
17523 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17526 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17528 * tools/Makefile.am:
17529 * tools/gst-complete.1.in:
17530 * tools/gst-complete.c:
17531 * tools/gst-compprep.1.in:
17532 * tools/gst-compprep.c:
17533 removing -compprep and -complete
17535 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17537 * gst/gstevent.c: (gst_event_new_new_segment),
17538 (gst_event_parse_new_segment):
17540 fix #320529 - clean up new_segment API and structure.
17541 Let's hope everyone was using the methods, and not the structure.
17543 2005-11-29 Edward Hervey <edward@fluendo.com>
17545 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17546 (gst_base_sink_event), (gst_base_sink_do_sync),
17547 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17548 Properly handle non GST_FORMAT_TIME segment
17549 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17550 Properly handle non GST_FORMAT_TIME segment
17551 * gst/gstsegment.c:
17552 This function is valid if the accumulator is 0 and the format
17553 is different from the requested format.
17555 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17557 * docs/gst/gstreamer-sections.txt:
17558 Add gst_query_new_seeking and gst_query_parse_seeking to the
17561 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17563 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17564 Treat a pad alloc with new caps the same as if we were not
17565 negotiated, in order to allow a changing upstream output
17566 to produce a new format of data.
17568 2005-11-29 Edward Hervey <edward@fluendo.com>
17570 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17571 (gst_base_transform_event), (gst_base_transform_eventfunc):
17572 The event virtual method is now properly implemented, with a default
17574 Sub classes should call the parent_class event method. They should
17575 return FALSE if they had a problem handling the given event, or don't
17576 want GstBaseTransform to send that even downstream
17577 * gst/elements/gstidentity.c: (gst_identity_class_init),
17578 (gst_identity_init), (gst_identity_event),
17579 (gst_identity_transform_ip), (gst_identity_set_property),
17580 (gst_identity_get_property):
17581 * gst/elements/gstidentity.h:
17582 Added the single-segment boolean property.
17583 If set to TRUE, it will output a single segment of data, starting from
17584 0, will eat up all incoming newsegment, and modify the timestamp of the
17585 buffers accordingly
17587 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17589 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17590 Don't ref NULL target pad (#322751). Improve docs.
17592 2005-11-29 Michael Smith <msmith@fluendo.com>
17594 * gst/gstregistryxml.c: (load_plugin):
17595 Don't crash if we failed to load a feature from a plugin.
17597 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17599 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17601 use more check API and less GLib API
17603 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17606 don't run checks if we don't have check
17607 * common/check.mak:
17608 remove the registry when running make torture
17609 * docs/gst/gstreamer-sections.txt:
17610 remove second multiply
17611 * gst/gstqueue.c: (gst_queue_loop):
17612 fix a compile warning when disabling debug
17614 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17617 Hey! Let's print the pad name if the pointer != NULL instead
17618 of when it == NULL :-)
17620 2005-11-28 Wim Taymans <wim@fluendo.com>
17622 * check/gst/gstutils.c: (GST_START_TEST):
17623 Updated check, add some scaling accuracy checking code.
17625 * gst/gstutils.c: (gst_util_div128_64),
17626 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17627 (gst_util_uint64_scale_int):
17628 Fix 6 times faster division code. Optimize for common
17629 1/1 and less common X/1 cases.
17631 2005-11-28 Wim Taymans <wim@fluendo.com>
17633 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17636 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17637 (do_linear_regression), (gst_clock_add_observation):
17639 Release lock when the clock cannot be slaved.
17640 Catch the case where the regression returned an invalid denominator.
17642 * gst/gstutils.c: (gst_util_div128_64_iterate),
17643 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17644 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17645 Add protentially more performant non-iterative 128/64 divide function
17646 that unfortunatly does not work yet.
17647 Shortcut the trivial 0/X = 0 case.
17648 Remove the warnings on overflow.
17650 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17652 * gst/gstplugin.c: (gst_plugin_register_func):
17653 everything causing a plugin not to load should be at least a WARNING
17655 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17657 * docs/random/ensonic/dparams.txt:
17658 some TODOs for the next dev cycle
17659 * libs/gst/controller/gstcontroller.c:
17660 (gst_controlled_property_set_interpolation_mode),
17661 (gst_controlled_property_new):
17662 * libs/gst/controller/gstcontroller.h:
17663 use base type to assign acccessor functions
17665 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17667 * check/Makefile.am:
17668 Oops, that should have been top_srcdir
17670 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17672 * check/Makefile.am:
17673 * check/elements/fdsrc.c: (GST_START_TEST):
17674 Use a cmdline define to specify the location of a file to use for
17675 testing, to avoid breaking distcheck.
17677 2005-11-28 Andy Wingo <wingo@pobox.com>
17679 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17681 2005-11-28 Edward Hervey <edward@fluendo.com>
17683 * tools/gst-launch.c: (main):
17684 Clarify the output strings, makes it easier to translate.
17687 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17690 don't try and build net if we don't even have <sys/socket.h>
17692 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17694 * check/Makefile.am:
17695 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17696 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17697 Add tests for fdsrc seekability
17699 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17700 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17701 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17702 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17703 * gst/elements/gstfdsrc.h:
17704 fdsrc should not be a 'live' source.
17705 Implement seeking on seekable fd's.
17707 * gst/gstquery.c: (gst_query_new_seeking),
17708 (gst_query_parse_seeking):
17710 Implement SEEKING query functions:
17711 *_new_seeking and *_parse_seeking
17713 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17715 * gst/gstelement.c: (gst_element_dispose):
17718 * gst/gstiterator.c:
17719 * gst/gststructure.c:
17722 * libs/gst/controller/gstcontroller.c:
17723 (gst_controlled_property_set_interpolation_mode):
17724 * libs/gst/controller/gstcontroller.h:
17725 * libs/gst/controller/gstinterpolation.c:
17726 (interpolate_none_get_enum_value_array):
17727 support controlling enums
17729 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17732 Improve documentation for gst_value_union().
17735 Change return value for union, intersect and subtract functions
17736 from gint to gboolean.
17738 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17740 * gst/gstvalue.c: (gst_value_serialize_any_list),
17741 (gst_value_transform_any_list_string),
17742 (gst_value_deserialize_list), (gst_value_deserialize_array),
17743 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17744 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17745 (gst_value_set_fraction_range_full),
17746 (gst_value_deserialize_fraction_range),
17747 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17748 (gst_value_deserialize_boolean),
17749 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17750 (gst_value_serialize_float), (gst_value_deserialize_float),
17751 (gst_string_wrap), (gst_value_deserialize_string),
17752 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17753 (gst_value_union_int_range_int_range),
17754 (gst_value_intersect_int_range_int_range),
17755 (gst_value_intersect_double_range_double_range),
17756 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17757 (gst_value_subtract_int_range_int_range),
17758 (gst_value_subtract_double_double_range),
17759 (gst_value_subtract_double_range_double_range),
17760 (gst_value_deserialize_fraction):
17762 Use gint, gdouble and gchar in our API instead of int, double and
17763 char (and make usage in gstvalue.c more consistent).
17765 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17767 * check/Makefile.am:
17768 * libs/gst/controller/Makefile.am:
17769 * libs/gst/dataprotocol/Makefile.am:
17770 fix up Makefile.am and remove GST_ENABLE_NEW
17772 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17776 * gst/base/Makefile.am:
17777 * gst/check/Makefile.am:
17778 * gst/elements/Makefile.am:
17779 * gst/net/Makefile.am:
17780 update LDFLAGS use some more
17782 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17784 * common/m4/gst-doc.m4:
17787 2005-11-26 Edward Hervey <edward@fluendo.com>
17789 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17790 This shouldn't issue a g_warning since it returns NULL if it
17791 couldn't find the plugin, and all functions using this behave
17792 properly on a NULL return. Switching to a GST_WARNING.
17794 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17796 * gst/gstbin.c: (gst_bin_handle_message_func):
17797 Don't leak clock messages.
17799 2005-11-25 Wim Taymans <wim@fluendo.com>
17801 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17802 (gst_util_uint64_scale_int):
17803 Optimisations, remove unneeded vars.
17805 2005-11-25 Wim Taymans <wim@fluendo.com>
17807 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17808 Added more checks for the high precision uint64 cases.
17810 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17811 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17812 Implement high precision (guint64 * guint64) / guint64.
17814 2005-11-24 Wim Taymans <wim@fluendo.com>
17816 * gst/base/gstbasesrc.c: (gst_base_src_query):
17817 Fix wrong percentage query.
17819 * gst/gstutils.c: (gst_util_uint64_scale),
17820 (gst_util_uint64_scale_int):
17821 Add some more common cases that can be handled
17822 efficiently to _scale.
17824 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17826 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17827 (gst_mini_object_suite):
17828 don't use check calls from threads; check probably isn't
17829 threadsafe and using a lock to make it threadsafe would
17830 defeat the purpose of this check
17831 * gst/check/gstcheck.c:
17832 * gst/check/gstcheck.h:
17833 use GST_DEBUG some more
17835 2005-11-24 Wim Taymans <wim@fluendo.com>
17837 * gst/gstutils.c: (gst_util_uint64_scale),
17838 (gst_util_uint64_scale_int):
17839 Chain trivial case to _scale_int.
17841 2005-11-24 Wim Taymans <wim@fluendo.com>
17843 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17844 Added test for scaling.
17849 * gst/gstutils.c: (gst_util_uint64_scale_int):
17850 Implemented high precision scaling code.
17852 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17855 do not crash on pad==NULL
17857 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17859 Patch by: Stefan Kost
17861 * common/gtk-doc.mak:
17862 * docs/gst/Makefile.am:
17863 * docs/libs/Makefile.am:
17864 Fix distcheck issues for the libraries docs build
17867 2005-11-24 Michael Smith <msmith@fluendo.com>
17869 * docs/manual/basics-helloworld.xml:
17870 Fix bug #315027: memory leak in example code in docs.
17872 2005-11-24 Michael Smith <msmith@fluendo.com>
17874 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17875 Unlock the PREROLL_LOCK in a failure case.
17877 2005-11-24 Wim Taymans <wim@fluendo.com>
17879 * docs/gst/gstreamer-sections.txt:
17880 * gst/base/gstadapter.h:
17881 * gst/base/gstbasesink.h:
17882 * gst/base/gstbasesrc.h:
17883 * gst/base/gstbasetransform.h:
17884 * gst/base/gstpushsrc.h:
17885 * gst/elements/gstfakesink.h:
17886 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17887 * gst/elements/gstfakesrc.h:
17888 * gst/elements/gstfilesink.h:
17889 * gst/elements/gstfilesrc.h:
17892 * gst/gstbuffer.c: (_gst_buffer_copy):
17895 * gst/gstchildproxy.c:
17897 * gst/gstelement.c:
17898 * gst/gstelementfactory.c:
17899 * gst/gstelementfactory.h:
17901 * gst/gstghostpad.h:
17903 * gst/gstinterface.h:
17904 * gst/gstminiobject.c:
17905 * gst/gstminiobject.h:
17908 * gst/gstpadtemplate.h:
17909 * gst/gstpipeline.h:
17910 * gst/gstpluginfeature.h:
17913 * gst/gsttaglist.c:
17914 * gst/gsttaglist.h:
17915 * gst/gsttagsetter.c:
17916 * gst/gsttagsetter.h:
17919 * gst/gsttypefind.h:
17922 * gst/net/gstnetclientclock.c:
17923 * gst/net/gstnetclientclock.h:
17924 * gst/net/gstnettimepacket.c:
17925 * gst/net/gstnettimeprovider.c:
17926 * gst/net/gstnettimeprovider.h:
17929 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17931 * configure.ac: back to HEAD
17933 === release 0.9.6 ===
17935 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17938 releasing 0.9.6, "Always On Time"
17940 2005-11-23 Wim Taymans <wim@fluendo.com>
17942 * docs/gst/gstreamer-sections.txt:
17943 * gst/glib-compat.c:
17944 * gst/gsttagsetter.c:
17946 * gst/net/gstnetclientclock.c:
17947 * gst/net/gstnettimepacket.h:
17950 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17952 * docs/faq/using.xml:
17953 * docs/libs/tmpl/gstcontrol.sgml:
17954 * docs/manual/advanced-dparams.xml:
17955 * docs/manual/appendix-checklist.xml:
17956 * docs/manual/basics-elements.xml:
17957 * docs/pwg/other-source.xml:
17958 * docs/random/moving-plugins:
17960 * tools/gst-launch.1.in:
17961 remove mentions of sinesrc
17963 2005-11-23 Michael Smith <msmith@fluendo.com>
17965 * docs/gst/gstreamer-sections.txt:
17966 Update for new API and API changes.
17968 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17970 Documentation typo fix.
17971 * gst/net/gstnettimepacket.c:
17972 Documentation fixes for arguments.
17974 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17976 * gst/gststructure.c: (gst_structure_get_fraction),
17977 (gst_structure_parse_value),
17978 (gst_structure_fixate_field_nearest_fraction):
17979 * gst/gststructure.h:
17980 * gst/gstutils.c: (gst_util_uint64_scale_int):
17982 * scripts/update-funcnames:
17984 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17985 Make gst_structure_fixate_field_nearest_fraction take a numerator
17986 and denominator argument instead of a GValue
17987 add gst_structure_get_fraction helper function.
17989 2005-11-23 Wim Taymans <wim@fluendo.com>
17991 * docs/design/part-TODO.txt:
17994 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17995 * gst/net/gstnetclientclock.h:
17996 Use parent fields for timeout and window_size.
17998 2005-11-23 Andy Wingo <wingo@pobox.com>
18000 * check/net/gstnetclientclock.c (test_functioning): Adjust to
18001 rate_num/rate_denom change.
18003 * gst/net/gstnetclientclock.c
18004 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
18005 OBJECT_LOCK. Don't call add_observation with the lock.
18007 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
18009 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
18011 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
18012 deal with rate as a fraction whose numerator and denominator are
18013 GstClockTime values.
18014 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
18015 master; the other fields are protected by the SLAVE_LOCK.
18016 (do_linear_regression): Note that this must be called with the
18018 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18019 OBJECT_LOCK. Call set_calibration instead of touching the
18020 variables directly.
18021 (gst_clock_set_property, gst_clock_get_property): Protect
18022 master/slave parameters with the SLAVE_LOCK.
18024 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18025 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18026 note that all of the instance variables that add_observation and
18027 the set_master functions use are protected by that lock and not
18029 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18031 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18032 the caller to take the object lock.
18034 2005-11-23 Wim Taymans <wim@fluendo.com>
18036 * gst/gsterror.c: (_gst_core_errors_init):
18038 Add error for clock stuff.
18040 * gst/gstpipeline.c: (gst_pipeline_change_state),
18041 (gst_pipeline_set_clock):
18042 Post clock error when clock cannot be used in a pipeline.
18044 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18046 * docs/gst/gstreamer-sections.txt:
18047 make two symbols from gstinfo private for the docs
18048 * gst/base/gstcollectpads.h:
18050 fix doc typos, update docs
18052 2005-11-22 Wim Taymans <wim@fluendo.com>
18054 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18055 (gst_base_sink_wait), (gst_base_sink_do_sync),
18056 (gst_base_sink_handle_event):
18057 * gst/base/gstbasesink.h:
18058 No need to store the clock, the parent element class already
18061 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18062 Updates for clock_set returning a gboolean
18064 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18065 (gst_clock_id_wait_async), (gst_clock_class_init),
18066 (gst_clock_init), (gst_clock_finalize),
18067 (gst_clock_get_internal_time), (gst_clock_get_time),
18068 (gst_clock_slave_callback), (gst_clock_set_master),
18069 (gst_clock_get_master), (do_linear_regression),
18070 (gst_clock_add_observation), (gst_clock_set_property),
18071 (gst_clock_get_property):
18073 Implement master/slave. When setting a clock as a slave, a
18074 periodic timeout is scheduled to sample master and slave times.
18075 Then the slave clock is recalibrated to match offset and rate
18076 of the master clock.
18077 Update logging a bit.
18078 Add flag so that a clock can state that is cannot be slaved to
18081 * gst/gstelement.c: (gst_element_set_clock):
18082 * gst/gstelement.h:
18083 The set clock returns a gboolean for when an element cannot
18084 deal with the selected clock in the pipeline.
18086 * gst/gstpipeline.c: (gst_pipeline_change_state),
18087 (gst_pipeline_set_clock):
18088 * gst/gstpipeline.h:
18089 Handle the case where the selected clock cannot be set on
18092 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18093 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18094 (gst_net_client_clock_set_property),
18095 (gst_net_client_clock_get_property),
18096 (gst_net_client_clock_observe_times):
18097 * gst/net/gstnetclientclock.h:
18098 Use regression code in GstClock parent, remove duplicated
18101 2005-11-22 Michael Smith <msmith@fluendo.com>
18103 * gst/gstutils.c: (gst_util_clock_time_scale):
18105 * docs/gst/gstreamer-sections.txt:
18106 Rename method to have extra underscore.
18108 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18110 * gst/elements/Makefile.am:
18111 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18112 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18113 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18114 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18115 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18116 * gst/elements/gstfakesrc.h:
18117 * gst/gstqueue.c: (queue_leaky_get_type):
18118 correctly fix GEnumValues so that nick is the short lowercase
18120 * tools/gst-inspect.c: (print_element_properties_info):
18121 also show the nick, since it's useful to use from parse_launch
18125 2005-11-22 Michael Smith <msmith@fluendo.com>
18127 * gst/gstutils.c: (gst_util_clocktime_scale):
18129 * docs/gst/gstreamer-sections.txt:
18130 Add util method for scaling a clocktime by a fraction. Useful
18131 implementation is left as an exercise for the reader.
18133 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18135 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18136 If needed, allocate storage in the destination value during
18139 2005-11-22 Edward Hervey <edward@fluendo.com>
18141 * docs/gst/gstreamer-sections.txt:
18144 * gst/gsturitype.c:
18145 * gst/gsturitype.h:
18146 * gst/gstutils.c: (gst_util_set_object_arg):
18147 * tools/gst-compprep.c: (main):
18148 * tools/gst-inspect.c: (print_element_properties_info):
18149 Removed GstURI, closes bug #321061
18151 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18153 * check/gst/gststructure.c: (GST_START_TEST):
18154 * gst/gststructure.c: (gst_structure_parse_value):
18155 Oops, broke automatic string type parsing.
18156 Add a test to catch it in future.
18158 2005-11-22 Andy Wingo <wingo@pobox.com>
18160 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18161 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18162 Actually rename the function implementations. Grr.
18164 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18166 * check/gst/capslist.h:
18168 * check/gst/gststructure.c: (GST_START_TEST),
18169 (gst_structure_suite):
18170 Test automatic value type detection in gst_structure_from_string.
18171 * gst/gststructure.c: (gst_structure_parse_value):
18172 Add fraction as a type we try and guess automatically in
18173 caps/structure strings.
18175 2005-11-22 Andy Wingo <wingo@pobox.com>
18177 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18179 * gst/gsttagsetter.h:
18180 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18181 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18182 (gst_tag_setter_add_tag_valist)
18183 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18184 _add_values, _add_valist, and _add_valist_values. Since this is an
18185 interface the function suffixes should be more explicit so
18186 language binding don't end up with element.add_valist ->
18187 gst_tag_setter_add_valist, for example. Fixes #322069.
18189 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18191 * check/gst/gstcaps.c: (GST_START_TEST):
18192 Extend caps string tests to check that a caps to string
18193 conversion is reversible and produces the same caps.
18195 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18196 Output "fraction" as the generic type fraction range, so caps
18197 serialisation and deserialisation works.
18198 * check/gst/capslist.h:
18199 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18200 Support 'MIN' and 'MAX' for deserialising fractions.
18202 2005-11-22 Andy Wingo <wingo@pobox.com>
18204 * gst/gstevent.h (gst_event_new_new_segment)
18205 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18206 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18207 Renamed from *_newsegment, *_buffersize, *_notarget.
18209 * scripts/update-funcnames: New script, performs the changes
18212 2005-11-22 Wim Taymans <wim@fluendo.com>
18214 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18215 Make sure the GstFlowReturn is returned.
18217 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18218 (gst_bus_add_signal_watch):
18220 add gst_bus_add_signal_watch_full.
18222 * gst/gstplugin.c: (gst_plugin_load_file):
18223 Small style cleanup.
18225 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18227 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18228 Block the fakesrc srcpad when we send an event, to avoid
18229 contention on the stream_lock causing random test failures.
18231 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18233 * check/gst/gstvalue.c: (GST_START_TEST):
18234 * gst/gstvalue.c: (gst_value_fraction_subtract):
18237 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18240 include "gstchildproxy.h"
18241 * gst/gstchildproxy.h:
18242 * libs/gst/controller/gstcontroller.h:
18243 use G_GNUC_NULL_TERMINATED
18245 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18247 * check/gst/capslist.h:
18248 * check/gst/gstcaps.c: (GST_START_TEST):
18249 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18250 * gst/gststructure.c: (gst_structure_parse_range),
18251 (gst_structure_fixate_field_nearest_fraction):
18252 * gst/gststructure.h:
18253 * gst/gstvalue.c: (gst_value_init_fraction_range),
18254 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18255 (gst_value_collect_fraction_range),
18256 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18257 (gst_value_set_fraction_range_full),
18258 (gst_value_get_fraction_range_min),
18259 (gst_value_get_fraction_range_max),
18260 (gst_value_serialize_fraction_range),
18261 (gst_value_transform_fraction_range_string),
18262 (gst_value_compare_fraction_range),
18263 (gst_value_deserialize_fraction_range),
18264 (gst_value_intersect_fraction_fraction_range),
18265 (gst_value_intersect_fraction_range_fraction_range),
18266 (gst_value_subtract_fraction_fraction_range),
18267 (gst_value_subtract_fraction_range_fraction),
18268 (gst_value_subtract_fraction_range_fraction_range),
18269 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18270 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18271 (gst_value_transform_string_fraction), (_gst_value_initialize):
18273 Implement fraction ranges and extend GstFraction to support
18274 arithmetic subtraction, as well as deserialization from integer
18275 strings such as "100"
18276 Add a testsuite as for int and double range set operations
18278 2005-11-21 Andy Wingo <wingo@pobox.com>
18280 * gst/gsttaglist.h:
18282 * gst/gststructure.h: Add glib-compat.h.
18284 2005-11-21 Wim Taymans <wim@fluendo.com>
18286 * gst/gstbin.c: (gst_bin_change_state_func):
18289 2005-11-21 Wim Taymans <wim@fluendo.com>
18291 * gst/gstsegment.h:
18292 And add a nice define too.
18294 2005-11-21 Wim Taymans <wim@fluendo.com>
18296 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18297 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18298 (gst_segment_set_duration), (gst_segment_set_last_stop),
18299 (gst_segment_set_seek), (gst_segment_set_newsegment),
18300 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18301 (gst_segment_clip):
18302 * gst/gstsegment.h:
18303 Make binding friendly.
18305 2005-11-21 Andy Wingo <wingo@pobox.com>
18307 * gst/gsttagsetter.h:
18308 * gst/gsttaglist.h:
18309 * gst/gststructure.h:
18311 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18314 * gst/gsterror.c (_gst_core_errors_init):
18315 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18318 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18319 (noinst_HEADERS): noinst the -private.
18321 2005-11-21 Michael Smith <msmith@fluendo.com>
18324 * gst/gstregistry.h:
18325 Remove unimplemented declarations for which we can see no sensible
18328 2005-11-21 Andy Wingo <wingo@pobox.com>
18330 * gst/gst.h: Include glib-compat.h.
18332 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18334 * gst/glib-compat.c: Include the public and the private header.
18336 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18340 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18342 * check/gst/gstevent.c (create_custom_events): Check that
18343 FLUSH_STOP is serialized.
18345 * check/elements/identity.c (event_func):
18346 * check/elements/fakesrc.c (event_func): No stream lock, the core
18349 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18350 stream lock taking, yay.
18352 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18353 ensure that core takes the stream lock.
18355 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18358 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18359 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18360 it already. For the flush start we do take it though so we get the
18361 right preroll state change messages.
18363 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18364 the stream lock here, the core does it for us.
18366 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18367 GST_STREAM_GET_LOCK.
18368 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18369 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18370 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18371 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18372 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18373 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18375 * gst/gstpad.c: Update for stream lock name change.
18377 * gst/base/gstbasesink.c: Update for preroll lock name change.
18379 2005-11-21 Wim Taymans <wim@fluendo.com>
18381 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18382 (gst_clock_get_master):
18384 * gst/gstsystemclock.c: (gst_system_clock_init):
18385 Convert Clock flags to object flags.
18386 Added methods to manage master/slave clocks.
18388 2005-11-21 Wim Taymans <wim@fluendo.com>
18390 * check/gst/gstsegment.c: (GST_START_TEST):
18391 * docs/design/part-TODO.txt:
18392 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18393 (gst_base_sink_event), (gst_base_sink_do_sync),
18394 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18395 (gst_base_sink_query), (gst_base_sink_change_state):
18396 * gst/base/gstbasesink.h:
18397 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18398 (gst_base_src_default_newsegment),
18399 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18400 (gst_base_src_get_range), (gst_base_src_loop),
18401 (gst_base_src_change_state):
18402 * gst/base/gstbasesrc.h:
18403 * gst/base/gstbasetransform.c:
18404 (gst_base_transform_prepare_output_buf),
18405 (gst_base_transform_event), (gst_base_transform_change_state):
18406 * gst/base/gstbasetransform.h:
18407 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18408 (gst_collect_pads_event):
18409 * gst/base/gstcollectpads.h:
18410 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18411 (gst_fake_src_create):
18412 * gst/elements/gstfakesrc.h:
18413 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18414 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18415 (gst_segment_set_last_stop), (gst_segment_set_seek),
18416 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18417 (gst_segment_to_running_time), (gst_segment_clip):
18418 * gst/gstsegment.h:
18419 More segment updates, replace code in plugins with segment
18422 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18424 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18425 Don't ignore sscanf results
18427 2005-11-21 Andy Wingo <wingo@pobox.com>
18429 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18432 * *.c: Ran scripts/update-macros. Oh yes.
18434 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18435 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18438 * scripts/update-macros: New script. Run it on your files to
18439 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18442 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18444 * docs/gst/Makefile.am:
18445 * docs/gst/gstreamer-docs.sgml:
18446 * docs/gst/gstreamer-sections.txt:
18447 * docs/gst/gstreamer.types:
18449 more docs fixes, add new api to the docs
18451 2005-11-21 Andy Wingo <wingo@pobox.com>
18453 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18454 state_broadcast call.
18456 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18458 2005-11-21 Julien MOUTTE <julien@moutte.net>
18460 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18461 function calls for arrays.
18463 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18465 * docs/random/ensonic/media-device-daemon.txt:
18466 wild idea, can this be done?
18467 * docs/gst/gstreamer-sections.txt:
18472 * gst/gstpluginfeature.c:
18476 doc fixes and additions
18478 2005-11-21 Andy Wingo <wingo@pobox.com>
18480 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18481 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18482 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18483 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18484 private to the basesrc implementation.
18486 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18487 behalf of event function if necessary. It should no longer be
18488 necessary to take the stream lock in pad's event functions. Fixes
18491 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18492 * docs/gst/gstreamer-sections.txt:
18493 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18494 (gst_structure_fixate_field_nearest_double),
18495 (gst_structure_fixate_field_boolean):
18496 * gst/gststructure.h:
18497 * win32/common/libgstreamer.def:
18498 * win32/gstreamer.def:
18500 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18503 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18505 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18506 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18507 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18508 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18509 (gst_fdsrc_uri_handler_init):
18510 * gst/elements/gstfdsrc.h:
18511 Port fd:// URI handler from 0.8 to fdsrc
18513 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18515 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18516 (gst_value_serialize_fourcc):
18518 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18519 consistent with our other format defines (#320324).
18521 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18523 * gst/gstvalue.c: (gst_value_is_fixed):
18524 Revert previous commit. Value lists are by definition
18525 not fixed, as they are a list of possible values.
18527 2005-11-21 Andy Wingo <wingo@pobox.com>
18529 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18530 during the stable series if we need it. Fixes #319178.
18532 * gst/gstevent.c (gst_event_new_filler): Removed.
18534 * check/gst/gstevent.c: Update comment about filler events.
18536 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18538 * gst/gstvalue.c: (gst_value_is_fixed):
18539 Should handle both value arrays and value lists.
18541 2005-11-21 Andy Wingo <wingo@pobox.com>
18543 patch by: Alessandro Dessina <alessandro nnva org>
18545 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18546 functions to access arrays. Fixes #321962.
18548 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18550 * docs/gst/gstreamer.types:
18551 gst_collectpads_get_type => gst_collect_pads_get_type.
18553 * gst/base/gstbasetransform.c:
18554 Remove unused SIGNAL_HANDOFF enum.
18556 2005-11-21 Andy Wingo <wingo@pobox.com>
18558 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18559 the event type (upstream, downstream, serialized). Renamed
18560 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18561 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18562 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18564 * gst/gstevent.c: Update for new CUSTOM event names.
18566 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18569 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18572 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18574 * docs/gst/gstreamer-sections.txt:
18575 * win32/common/libgstbase.def:
18576 * win32/libgstbase.def:
18577 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18578 (gst_collect_pads_class_init), (gst_collect_pads_init),
18579 (gst_collect_pads_finalize), (gst_collect_pads_new),
18580 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18581 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18582 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18583 (gst_collect_pads_start), (gst_collect_pads_stop),
18584 (gst_collect_pads_peek), (gst_collect_pads_pop),
18585 (gst_collect_pads_available), (gst_collect_pads_read),
18586 (gst_collect_pads_flush), (gst_collect_pads_event),
18587 (gst_collect_pads_chain):
18588 * gst/base/gstcollectpads.h:
18589 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18590 unimplemented functions as unimplemented. Add padding to
18591 GstCollectData. (#320766, #320423)
18593 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18595 * gst/gstmessage.c:
18596 Improve docs for DURATION message (usage of duration parameter)
18599 2005-11-20 Wim Taymans <wim@fluendo.com>
18601 * check/Makefile.am:
18602 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18606 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18607 (gst_segment_set_seek), (gst_segment_set_newsegment),
18608 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18609 (gst_segment_clip):
18610 * gst/gstsegment.h:
18611 Added segment helper structure and methods. Not fully implemented
18613 Added segment check.
18615 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18617 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18618 Add a deserialisation test for fractions
18619 * examples/metadata/read-metadata.c: (message_loop),
18620 (make_pipeline), (main):
18621 Fix up metadata reading sample.
18622 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18624 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18625 Don't try and fixate empty caps
18626 * gst/gst_private.h:
18627 Wrap in G_BEGIN_DECLS/G_END_DECLS
18628 * gst/gstvalue.c: (gst_value_collect_fraction),
18629 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18630 (gst_value_transform_string_fraction),
18631 (gst_value_compare_fraction):
18632 Add some extra guards to ensure that we don't end up
18633 with an invalid denominator of 0 in a gstfraction and
18634 that fractions always get reduced.
18636 2005-11-20 Wim Taymans <wim@fluendo.com>
18638 * docs/gst/gstreamer-sections.txt:
18640 * gst/gstelement.c:
18649 2005-11-20 Wim Taymans <wim@fluendo.com>
18651 * docs/design/part-TODO.txt:
18653 Make a proper enum of the flag.
18655 2005-11-19 Wim Taymans <wim@fluendo.com>
18657 * docs/design/part-TODO.txt:
18658 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18659 (gst_format_to_quark), (gst_format_register):
18661 * gst/gstquery.c: (_gst_query_initialize),
18662 (gst_query_type_get_name), (gst_query_type_to_quark),
18663 (gst_query_type_register):
18665 Add type to quark and type to string conversions.
18667 2005-11-19 Andy Wingo <wingo@pobox.com>
18669 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18672 2005-11-19 Wim Taymans <wim@fluendo.com>
18674 * docs/design/part-TODO.txt:
18675 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18676 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18677 (gst_bin_handle_message_func):
18679 Make message handling overridable.
18681 2005-11-19 Andy Wingo <wingo@pobox.com>
18683 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18686 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18688 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18689 is a GstClockTime. Fixes #321710.
18691 * gst/gstclock.h (GstClock): Remove offset property. Add
18692 internal_calibration and external_calibration. Fix padding. Pad
18693 also by GstClockTime so we don't run into problems.
18695 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18696 (gst_clock_get_rate_offset): Remove.
18697 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18700 * gst/gstutils.c (g_static_rec_cond_wait)
18701 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18703 * gst/gstbin.c: Remove terrible continue_state prototype.
18705 * gst/gstelement.h (gst_element_continue_state): Make public.
18707 * gst/gstelement.h:
18708 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18709 by continue_state. Fixes #319389.
18711 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18712 Really fixes #168438. However I don't see anywhere where the
18713 filter function is called... stupid GStreamer...
18715 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18716 don't have a dispose function, so it won't get called when the
18717 object is unreffed, but oh well!
18719 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18720 allows a destroy function to be set so user_data can be freed.
18722 (gst_index_set_filter): Call gst_index_set_filter_full.
18724 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18726 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18727 string should produce an error, given the lack of a way to
18728 represent NULL strings. Fixes #165650.
18731 * gst/gstvalue.c (gst_value_array_append_value)
18732 (gst_value_array_prepend_value, gst_value_array_get_size)
18733 (gst_value_array_get_value): New API, copied from
18734 gst_value_list_*, only operates on arrays.
18735 (gst_value_list_append_value, gst_value_list_prepend_value)
18736 (gst_value_list_concat, gst_value_list_get_size)
18737 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18739 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18740 init_list, because it works on both.
18741 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18742 (gst_value_copy_list_or_array): Renamed from copy_list.
18743 (gst_value_free_list_or_array): Renamed from free_list.
18744 (gst_value_collect_list_or_array): Renamed from collect_list.
18745 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18746 (gst_value_list_or_array_peek_pointer): Renamed from
18748 (_gst_value_array_value_table, _gst_value_list_value_table):
18749 Update value table functions.
18750 (gst_value_compare_list_or_array): Renamed from compare_list.
18752 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18755 * gst/gsttaglist.c:
18756 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18757 GstTagList*. Fixes #143472.
18759 * gst/gststructure.h: Clarify what the foreach/map functions can
18760 or can't do to their arguments.
18762 2005-11-18 Wim Taymans <wim@fluendo.com>
18764 * gst/gstclock.c: (gst_clock_set_calibration),
18765 (gst_clock_get_calibration):
18767 Calibration can be set with internal time equal to current
18770 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18776 2005-11-18 Andy Wingo <wingo@pobox.com>
18779 * pkgconfig/gstreamer-net.pc.in:
18780 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18781 * pkgconfig/Makefile.am: Add net pkgconfig files.
18783 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18786 * gst/gstghostpad.c:
18792 2005-11-18 Andy Wingo <wingo@pobox.com>
18794 * gst/net/gstnetclientclock.c: Turn off debugging.
18796 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18797 times connverge somewhat. Can't make a real test.
18799 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18800 integer arithmetic. Return the minimum of the domain, which can be
18801 set as "internal" for gst_clock_set_calibration.
18802 (gst_net_client_clock_observe_times): Call _set_calibration.
18803 (gst_net_client_clock_new): Call _set_calibration instead of
18806 * check/net/gstnetclientclock.c (test_functioning): Use the right
18810 * gst/gstclock.c (gst_clock_get_calibration)
18811 (gst_clock_set_calibration): New functions, obsolete the ones I
18812 added yesterday. Doh. Precision issues mean we have to extrapolate
18813 from a point in the more recent past than 1970.
18814 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18816 (gst_clock_adjust_unlocked): Use the right calibration data.
18818 2005-11-18 Edward Hervey <edward@fluendo.com>
18820 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18821 Also reset the ->current_* values in READY->PAUSED
18823 2005-11-18 Andy Wingo <wingo@pobox.com>
18825 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18826 Whoops, check the right fd. Also add some debugging.
18827 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18828 (do_linear_regression): Add a crapload of debugging. Subtract off
18829 the minimum values from the input series to discard unneeded bits.
18830 Use only int arithmetic. There is still double arithmetic when
18831 calculating the intercept that needs fixing. Return boolean to
18832 indicate success; FALSE would mean the domain or range is too
18833 great. Still needs fixes.
18835 2005-11-18 Wim Taymans <wim@fluendo.com>
18837 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18838 For the current position in stream time, we need to subtract
18841 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18842 Release lock before calling the callback function of async
18845 2005-11-18 Andy Wingo <wingo@pobox.com>
18847 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18848 Port goes all the way to MAXUINT16.
18850 * gst/net/gstnettimeprovider.c: Make the port range the same as
18851 for the kernel: 0 assigns, otherwise ports are less than
18854 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18857 * check/net/gstnetclientclock.c (test_functioning): Add the start
18860 2005-11-18 Wim Taymans <wim@fluendo.com>
18862 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18863 (gst_bin_remove_func), (bin_bus_handler):
18865 Removing a clock provider from a bin, triggers a clock lost message
18866 so that a new clock will be selected.
18867 Adding a clock to a bin triggers a clock provider message.
18868 Make sure we reselect a clock when we received a clock lost message.
18869 Keep a reference to the element that provided the clock.
18871 2005-11-18 Andy Wingo <wingo@pobox.com>
18873 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18874 the clock initially so it produces values around the base time.
18875 (gst_net_client_clock_class_init): Typo fix.
18876 (gst_net_client_clock_thread): Add note on when the socket gets
18879 2005-11-17 Wim Taymans <wim@fluendo.com>
18881 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18882 Free remote and local time arrays.
18884 2005-11-17 Wim Taymans <wim@fluendo.com>
18886 * gst/net/gstnetclientclock.c: (do_linear_regression),
18887 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18888 Fix compilation, uninitialized vars and a forgotten continue.
18890 2005-11-17 Andy Wingo <wingo@pobox.com>
18892 * check/Makefile.am (check_PROGRAMS):
18893 * check/net/gstnetclientclock.c: Add a most minimal test for the
18894 net client clock. More to come later.
18896 * gst/net/gstnet.h:
18897 * gst/net/Makefile.am: Add netclientclock.
18899 * gst/net/gstnetclientclock.h:
18900 * gst/net/gstnetclientclock.c: New files, implement an untested
18901 GstClock that takes its time from a network time provider.
18902 Implements the algorithm in network-clock.scm.
18904 * tests/network-clock.scm (*window-size*): Rename from
18906 * tests/network-clock.scm (network-time):
18907 * tests/network-clock-utils.scm (q-push): Update callers.
18909 2005-11-17 Wim Taymans <wim@fluendo.com>
18911 * gst/gstbin.c: (gst_bin_provide_clock_func),
18912 (gst_bin_sort_iterator_new):
18913 And unref the child too..
18915 2005-11-17 Wim Taymans <wim@fluendo.com>
18917 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18918 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18919 Refactor the sort iterator so it can be used while holding the
18921 Make clock selection select a clock closest to the source.
18923 2005-11-17 Michael Smith <msmith@fluendo.com>
18925 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18926 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18928 Anonymous structs are a gcc (and some other compilers) extension, so
18929 don't use them. Since this is only for ABI-compatibility, and our
18930 API/ABI freeze is over in a few days, this whole thing will only
18931 last a few days, so don't bother trying to think up a meaningful
18932 name for the struct.
18934 2005-11-17 Andy Wingo <wingo@pobox.com>
18936 * gst/gstclock.h (GstClock): Add rate and offset properties,
18937 preserving ABI stability. Add rate/offset accessors. Will file bug
18938 for the freeze break.
18940 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18941 and offset, trying to keep precision and avoiding
18942 underflow/overflow.
18943 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18944 functions. Make gst_clock_set_time_adjust obsolete.
18945 (gst_clock_set_time_adjust): Note that this function is obsolete.
18946 Will file bug soon.
18948 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18949 greppable by using GST_PADDING-1+1.
18951 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18953 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18955 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18956 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18958 * gst/gstpadtemplate.h:
18959 * gst/gstpluginfeature.h:
18960 Don't use c++ style comments in headers (#321638).
18962 2005-11-16 Andy Wingo <wingo@pobox.com>
18964 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18967 * check/net/gstnettimeprovider.c: Check to see that the time
18968 provider actually provides times. Works, yo!
18970 2005-11-16 Wim Taymans <wim@fluendo.com>
18972 * check/Makefile.am:
18975 * check/elements/fakesrc.c: (GST_START_TEST):
18976 Set element to NULL before disposing it.
18978 2005-11-16 Andy Wingo <wingo@pobox.com>
18980 * gst/net/Makefile.am:
18981 * gst/net/gstnet.h:
18982 * gst/net/gstnettimeprovider.c:
18983 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18984 provider, include it from gstnet.h, and add it to the build.
18986 * gst/net/gstnettimepacket.h:
18987 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18988 sending and receiving.
18990 2005-11-16 Wim Taymans <wim@fluendo.com>
18992 * check/Makefile.am:
18993 Enable valgrind check.
18995 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18996 (gst_fake_src_alloc_buffer):
18999 2005-11-16 Wim Taymans <wim@fluendo.com>
19001 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
19002 Call parent finalize too.
19004 2005-11-16 Wim Taymans <wim@fluendo.com>
19006 * check/Makefile.am:
19007 Enable valgrind check that should work fine now.
19009 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19010 * gst/gstqueue.c: (gst_queue_init):
19011 Fix memleaks in pad allocation.
19013 2005-11-16 Andy Wingo <wingo@pobox.com>
19015 * gst/net/Makefile.am:
19016 * gst/net/gstnet.h: New part of core to hold network elements and
19017 objects. Put in core because it exposes API that applications want
19018 to use. The library is named libgstnet-tempname right now because
19019 of the existing libgstnet in gst-plugins-base. Solution is
19020 probably to rename the one in plugins-base; will file a bug for
19023 * gst/net/gstnettimeprovider.c:
19024 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19025 get_time call over the network.
19028 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19030 * check/Makefile.am:
19031 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19032 get additions shortly.
19034 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19036 * gst/gstpad.c: (gst_pad_new_from_static_template):
19038 add gst_pad_new_from_static_template functions
19039 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19040 (gst_check_setup_sink_pad):
19041 * gst/elements/gsttee.c: (gst_tee_init):
19044 2005-11-16 Wim Taymans <wim@fluendo.com>
19046 * gst/gstpad.c: (gst_pad_pause_task):
19047 Removed warning, it's not really an error either.
19049 2005-11-16 Wim Taymans <wim@fluendo.com>
19051 * gst/base/gstbasetransform.c:
19052 (gst_base_transform_prepare_output_buf),
19053 (gst_base_transform_event):
19054 Check if the caps are NULL, this can happen if the element
19055 is shutting down and the pad caps are set to NULL.
19057 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19059 * gst/elements/gsttee.c: (gst_tee_init):
19060 fix pad template leak in tee
19062 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19064 * gst/glib-compat.c: (g_value_dup_gst_object):
19065 * gst/glib-compat.h:
19066 * gst/gstpad.c: (gst_pad_set_property):
19067 use gst_object_ref when setting the pad template; this will
19068 trigger the pad template leaks on GLib 2.6 and the slaves
19070 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19072 * gst/glib-compat.c: (gst_flags_get_first_value):
19073 * gst/glib-compat.h:
19074 * gst/gstregistryxml.c:
19075 remove functions copied from GLib 2.6
19077 2005-11-16 Michael Smith <msmith@fluendo.com>
19080 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19081 do, but only breaks with newer valgrind versions. We're not a
19082 valgrind tool, we have no link-time dependencies on libcoregrind.
19084 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19086 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19088 * gst/gstmessage.h:
19091 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19093 * gst/base/gstbasesrc.c: (gst_base_src_init):
19094 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19095 * gst/gstqueue.c: (gst_queue_init):
19096 * gst/gstregistryxml.c: (load_feature):
19097 Revert all these unrefs, they don't even pass make check !
19099 2005-11-15 Johan Dahlin <johan@gnome.org>
19101 * gst/base/gstbasesrc.c: (gst_base_src_init):
19102 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19103 * gst/gstqueue.c: (gst_queue_init):
19104 Free pad templates, fixes a couple of leaks.
19106 2005-11-15 Daniel Fischer <dan at f3c dot com>
19108 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19110 * gst/gstpad.c: (gst_pad_get_property):
19111 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19112 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19115 2005-11-15 Wim Taymans <wim@fluendo.com>
19120 2005-11-15 Andy Wingo <wingo@pobox.com>
19122 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19124 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19125 using GST_CLOCK_TIME_NONE to disable base time management.
19126 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19127 time if it was NONE before.
19128 (gst_pipeline_change_state): Only munge the base time if
19129 stream_time != GST_CLOCK_TIME_NONE.
19131 * check/gst/gstpipeline.c (test_base_time): Punt around the
19132 problem of the probe not being called, because that's not the
19133 issue I'm looking at. Add a check that setting stream_time to NONE
19134 disables base time management.
19136 2005-11-15 Wim Taymans <wim@fluendo.com>
19138 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19139 segment_stop == -1 at startup.
19141 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19142 (gst_base_transform_change_state):
19143 Init segment values at start.
19145 2005-11-15 Wim Taymans <wim@fluendo.com>
19147 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19148 0 segment values are 0 in any format.
19150 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19151 * gst/base/gstbasetransform.h:
19152 Parse newsegment correctly in basetransform
19154 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19155 Sync to clock using updated segment values.
19157 2005-11-15 Andy Wingo <wingo@pobox.com>
19159 * check/gst/gstpipeline.c (test_base_time): Add check that the
19160 base time and stream time are reset correctly.
19162 2005-11-15 Wim Taymans <wim@fluendo.com>
19164 * docs/design/part-TODO.txt:
19165 Some more TODO items.
19167 2005-11-15 Andy Wingo <wingo@pobox.com>
19169 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19170 error if the user selected "no clock" as the clocking method.
19172 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19173 timestamps with live capture.
19175 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19176 is 0 but we are a live source, timestamp the buffers using the
19179 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19181 * docs/gst/gstreamer-sections.txt:
19183 * gst/gstghostpad.c:
19188 2005-11-14 Wim Taymans <wim@fluendo.com>
19191 add suppressions from Wim's Debian machine
19193 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19196 add suppressions from Andy's AMD64 Ubuntu machine
19198 2005-11-14 Andy Wingo <wingo@pobox.com>
19200 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19201 STATE_LOCK not necessary. Fixes #311489.
19203 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19206 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19207 this function is not implemented.
19209 2005-11-14 Julien MOUTTE <julien@moutte.net>
19211 * gst/base/gstbasetransform.c:
19212 (gst_base_transform_prepare_output_buf):
19213 Ref the source pad caps while we need them.
19216 2005-11-11 Wim Taymans <wim@fluendo.com>
19218 * docs/gst/gstreamer-sections.txt:
19219 Added some docs for GstCollectData.
19221 * gst/base/gstadapter.c:
19222 Some small code example fix.
19224 * gst/base/gstcollectpads.c:
19225 * gst/base/gstcollectpads.h:
19226 Document some more.
19228 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19230 * configure.ac: back to HEAD
19232 === release 0.9.5 ===
19234 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19237 releasing 0.9.5, "Bike Lunch Day"
19239 2005-11-11 Wim Taymans <wim@fluendo.com>
19241 * gst/gstbuffer.c: (_gst_buffer_copy):
19244 * gst/gstcaps.c: (gst_caps_is_equal):
19246 Make _is_equal fast in the trivial cases.
19248 * gst/gstminiobject.c:
19249 * gst/gstminiobject.h:
19250 More docs. Spifify .h file.
19255 2005-11-11 Wim Taymans <wim@fluendo.com>
19257 * gst/base/gstbasetransform.c:
19258 (gst_base_transform_prepare_output_buf),
19259 (gst_base_transform_handle_buffer):
19261 If we're processing a buffer and need to allocate an output
19262 buffer, we cannot accept a format change. If we did get a
19263 format change, we have to alloc a buffer ourselves of the
19266 2005-11-11 Wim Taymans <wim@fluendo.com>
19268 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19269 While checking the flag for reentrancy in the gstcaps function
19270 is nice to detect recursive invocations, it also makes it
19271 impossible to call getcaps from multiple threads, which must be
19272 possible. So, checking for recursive calls has to go.
19274 2005-11-11 Michael Smith <msmith@fluendo.com>
19276 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19277 Don't sync on buffers that fall partially outside our current
19278 segment. Prevents an assertion failure/abort playing some files.
19280 2005-11-10 Andy Wingo <wingo@pobox.com>
19282 * check/gst/gstbin.c (test_message_state_changed_children): Style
19285 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19286 gst_bus_poll with the signal watch. Ensures that poll and a signal
19287 watch see the same messages.
19289 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19290 a poll and a watch at the same time get the same messages.
19292 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19294 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19295 * gst/gstcaps.c: (gst_caps_intersect):
19296 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19297 and it's not needed.
19299 2005-11-10 Wim Taymans <wim@fluendo.com>
19301 * docs/design/part-TODO.txt:
19304 2005-11-10 Wim Taymans <wim@fluendo.com>
19306 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19307 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19308 (gst_base_src_do_sync), (gst_base_src_get_range):
19309 Implement clock sync in base class.
19311 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19313 patch by: Tim-Philipp Müller <tim at centricular dot net>
19315 * gst/gststructure.c: (gst_structure_parse_field),
19316 (gst_structure_from_string):
19317 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19318 so that gst_parse_launch() can deal with spaces in filtered link
19319 caps (fixes #164479)
19320 * check/gst/capslist.h:
19321 * check/gst/gststructure.c: (GST_START_TEST):
19322 add unit tests for this change
19324 2005-11-10 Wim Taymans <wim@fluendo.com>
19326 * docs/gst/gstreamer-sections.txt:
19327 * gst/gstelement.c:
19328 * gst/gstelement.h:
19329 Fix docs, move some STATE macros to private.
19331 2005-11-10 Wim Taymans <wim@fluendo.com>
19333 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19334 Added check for bug #317341
19338 Some more spiffifying.
19340 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19341 Call peer linkfunction if we are a source pad. Totally fixes
19345 Update docs, source pads should call the peer linkfunction
19346 so they can atomically perform the pad link.
19348 2005-11-09 Wim Taymans <wim@fluendo.com>
19352 Uber-spiffy-spiffify some more.
19354 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19356 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19357 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19358 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19359 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19360 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19361 * gst/gstpad.c: (gst_pad_init):
19362 Use GST_DEBUG_FUNCPTR() more extensively.
19364 2005-11-09 Wim Taymans <wim@fluendo.com>
19366 * gst/gstobject.c: (gst_object_class_init):
19368 Documentation fixes.
19370 2005-11-09 Edward Hervey <edward@fluendo.com>
19372 * gst/gsttypefindfactory.c:
19375 2005-11-09 Edward Hervey <edward@fluendo.com>
19377 * gst/base/gsttypefindhelper.c:
19378 * gst/gsttypefind.c:
19379 * gst/gsttypefind.h:
19382 2005-11-09 Wim Taymans <wim@fluendo.com>
19384 * gst/gstiterator.c:
19391 2005-11-09 Wim Taymans <wim@fluendo.com>
19397 2005-11-09 Wim Taymans <wim@fluendo.com>
19399 * docs/gst/gstreamer-sections.txt:
19400 Moved the message async delivery private lock and cond
19401 to the private section.
19403 * gst/gstmessage.c:
19404 * gst/gstmessage.h:
19407 2005-11-09 Edward Hervey <edward@fluendo.com>
19409 * docs/gst/gstreamer-sections.txt:
19412 Document GstURIHandler
19414 2005-11-09 Wim Taymans <wim@fluendo.com>
19416 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19417 (gst_iterator_find_custom):
19418 * gst/gstiterator.h:
19421 2005-11-09 Wim Taymans <wim@fluendo.com>
19424 Document another field.
19426 * gst/gststructure.c:
19427 * gst/gststructure.h:
19430 2005-11-09 Wim Taymans <wim@fluendo.com>
19433 Documented structs.
19435 2005-11-09 Wim Taymans <wim@fluendo.com>
19437 * docs/gst/gstreamer-sections.txt:
19438 Added some new macros.
19445 2005-11-09 Wim Taymans <wim@fluendo.com>
19447 * docs/design/part-TODO.txt:
19448 Some more items for the TODO
19454 2005-11-09 Andy Wingo <wingo@pobox.com>
19456 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19457 to work on something else now tho...
19459 * gst/base/gstadapter.c: More adapter docs.
19461 * gst/elements/gstfilesink.c (gst_file_sink_start)
19462 (gst_file_sink_stop): New functions, replace the state change
19464 (gst_file_sink_class_init): Hook up the start and stop functions.
19465 (gst_file_sink_base_init): Don't set the state change handler any
19466 more. It was a bit ugly too, being set from here...
19467 (gst_file_sink_get_property, gst_file_sink_set_property):
19469 (gst_file_sink_set_location): More robust check that doesn't call
19470 GST_STATE. Ugggggg.
19472 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19474 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19475 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19477 2005-11-08 Wim Taymans <wim@fluendo.com>
19479 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19480 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19481 (gst_base_sink_chain), (gst_base_sink_change_state):
19482 * gst/base/gstbasesink.h:
19483 * gst/base/gstbasesrc.h:
19484 * gst/gstelement.h:
19486 Avoid excessive typechecking in macros.
19488 * gst/gstminiobject.c: (gst_mini_object_get_type),
19489 (gst_mini_object_init), (gst_mini_object_new),
19490 (gst_mini_object_free):
19491 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19492 (gst_object_finalize):
19493 Remove cruft code, optimize alloc_trace.
19495 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19497 * docs/faq/gst-uninstalled:
19498 fix up PS1 for systems that try to reset it
19500 2005-11-07 Wim Taymans <wim@fluendo.com>
19502 * gst/base/gstbasesrc.c: (gst_base_src_init),
19503 (gst_base_src_get_range):
19504 Set the segment_end to -1 initially. Fixed typefind.
19506 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19508 * gst/base/gstadapter.c:
19509 Debug category should be 'adapter', not 'GstAdapter'.
19511 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19512 (gst_collectpads_class_init), (gst_collectpads_init),
19513 (gst_collectpads_peek), (gst_collectpads_pop),
19514 (gst_collectpads_event), (gst_collectpads_chain):
19515 Add debug category and some debugging output. Use boilerplate
19516 macros. Remove some extraneous words from docs.
19518 2005-11-05 Andy Wingo <wingo@pobox.com>
19520 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19523 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19525 * docs/gst/gstreamer-sections.txt:
19528 * gst/gstminiobject.h:
19533 2005-11-04 Wim Taymans <wim@fluendo.com>
19535 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19536 Small update to stop at the configured segment_end
19539 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19541 * gst/gstregistry.c:
19542 * gst/gstregistry.h:
19545 2005-11-04 Edward Hervey <edward@fluendo.com>
19547 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19548 Check if we are doing a segment seek and have arrived at the
19549 end of that segment.
19551 2005-11-04 Wim Taymans <wim@fluendo.com>
19553 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19554 Don't leak a mutex unlock in case of an error.
19559 2005-11-04 Wim Taymans <wim@fluendo.com>
19561 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19563 Get the context to wake up only once.
19565 2005-11-03 Wim Taymans <wim@fluendo.com>
19567 * check/states/sinks.c: (GST_START_TEST):
19568 Uncomment fixed check.
19570 * docs/design/part-TODO.txt:
19573 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19574 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19575 (gst_base_sink_get_position):
19576 If we are going to PLAYING, post the right pending state
19577 when we post the intermediate paused message.
19579 * gst/gstelement.c: (gst_element_continue_state),
19580 (gst_element_set_state_func), (gst_element_change_state):
19581 Don't post state changes that were between the same state
19582 and were not ASYNC.
19584 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19586 * docs/gst/gstreamer-sections.txt:
19589 * gst/gstminiobject.h:
19592 more docs and doc style fixes
19594 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19596 * docs/gst/gstreamer-sections.txt:
19597 * gst/gstelement.c:
19598 * gst/gstminiobject.c:
19601 2005-11-03 Andy Wingo <wingo@pobox.com>
19603 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19604 state-changed messages actually have the right order and the right
19607 2005-11-03 Wim Taymans <wim@fluendo.com>
19609 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19610 Added some more checks. Specifically the case where NO_PREROLL
19611 elements are in the pipeline.
19613 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19614 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19615 (gst_base_sink_get_position):
19616 Post READY->PAUSED state change messages too.
19617 Fix bug where VOID was posted as pending state...
19619 * gst/gstbin.c: (gst_bin_recalc_state):
19620 use _element_continue_state() to continue the state change.
19622 * gst/gstelement.c: (gst_element_continue_state),
19623 (gst_element_commit_state), (gst_element_set_state_func),
19624 (gst_element_change_state), (gst_element_change_state_func):
19625 Lots of state change cleanups, assign the STATE_RETURN in
19626 a new continue_state() function that also propagates the
19627 last return value from a state change to the app.
19628 Update some debug statements with proper category.
19630 2005-11-03 Wim Taymans <wim@fluendo.com>
19632 * docs/design/part-events.txt:
19633 * docs/design/part-gstpipeline.txt:
19634 * docs/design/part-messages.txt:
19635 * docs/design/part-overview.txt:
19636 * docs/design/part-seeking.txt:
19637 * docs/design/part-states.txt:
19638 * docs/design/part-trickmodes.txt:
19639 * docs/manual/advanced-position.xml:
19640 Small docs updates.
19643 People think !! is ugly, this looks better.
19645 * gst/gstpad.c: (gst_pad_set_blocked_async):
19646 Remove !! since it's fixed elsewhere now.
19648 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19650 * gst/gstminiobject.h:
19652 Add !! to _FLAG_IS_SET macros to make the result boolean.
19654 2005-11-03 Edward Hervey <edward@fluendo.com>
19656 * gst/gstpad.c: (gst_pad_set_blocked_async):
19657 comparing a flag and a gboolean rarely returns coherent results...
19658 Added two characters (!!) to make that work correctly.
19660 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19662 * gst/gstbus.c: (gst_bus_class_init):
19665 * gst/gstqueue.c: (gst_queue_loop):
19666 Don't assume a miniobject that isn't a buffer is an
19667 event (it could be that there is a refcounting
19668 problem somewhere and the pointer is stale and
19669 refers to an already destroyed miniobject).
19671 2005-11-03 Julien MOUTTE <julien@moutte.net>
19673 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19675 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19677 * docs/manual/advanced-position.xml:
19678 Update seek example and explanations to current 0.9 API.
19680 * gst/elements/gsttypefindelement.c:
19681 (gst_type_find_element_activate):
19682 Remove FIXME comment now that the found caps
19685 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19687 * gst/gstregistryxml.c: (load_feature):
19688 Add another GST_STR_NULL instance
19690 2005-11-02 Edward Hervey <edward@fluendo.com>
19692 * gst/gstpad.c: (handle_pad_block):
19693 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19695 2005-11-02 Wim Taymans <wim@fluendo.com>
19700 * gst/gstelement.c: (gst_element_commit_state):
19701 Remove unused value.
19703 * gst/gstiterator.c:
19704 Mention that the returned element is reffed in the docs.
19706 2005-11-02 Wim Taymans <wim@fluendo.com>
19708 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19709 (gst_pad_push), (gst_pad_push_event):
19710 Unlock blocked pads when they are flushed.
19712 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19715 * docs/gst/gstreamer-sections.txt:
19718 * gst/gstregistry.c: (gst_registry_scan_path_level):
19719 fix for a nasty little missed situation where an installed plug-in
19720 which was in the cache did not get overridden by an uninstalled one
19721 which was earlier in the plugin path because the newly created plugin
19722 for the uninstalled one (not in the registry) didn't get its
19723 ->registered set to TRUE
19725 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19727 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19728 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19729 (gst_collectpads_is_active), (gst_collectpads_collect),
19730 (gst_collectpads_collect_range), (gst_collectpads_start),
19731 (gst_collectpads_stop), (gst_collectpads_peek),
19732 (gst_collectpads_pop), (gst_collectpads_available),
19733 (gst_collectpads_read), (gst_collectpads_flush):
19734 Guard public API with assertions.
19737 Fix docs for gst_pad_set_link_function().
19739 2005-11-02 Johan Dahlin <johan@gnome.org>
19741 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19742 Unref found_caps after we used it.
19744 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19746 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19747 Don't try to ref NULL.
19749 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19751 * win32/common/config.h.in:
19752 provide a GST_FUNCTION that just gives a string for now
19754 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19756 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19757 (gst_object_flags_get_type), (register_gst_bin_flags),
19758 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19759 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19760 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19761 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19762 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19763 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19764 (gst_clock_flags_get_type), (register_gst_state),
19765 (gst_state_get_type), (register_gst_state_change_return),
19766 (gst_state_change_return_get_type), (register_gst_state_change),
19767 (gst_state_change_get_type), (register_gst_element_flags),
19768 (gst_element_flags_get_type), (register_gst_core_error),
19769 (gst_core_error_get_type), (register_gst_library_error),
19770 (gst_library_error_get_type), (register_gst_resource_error),
19771 (gst_resource_error_get_type), (register_gst_stream_error),
19772 (gst_stream_error_get_type), (register_gst_event_type),
19773 (gst_event_type_get_type), (register_gst_seek_type),
19774 (gst_seek_type_get_type), (register_gst_seek_flags),
19775 (gst_seek_flags_get_type), (register_gst_format),
19776 (gst_format_get_type), (register_gst_index_certainty),
19777 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19778 (gst_index_entry_type_get_type),
19779 (register_gst_index_lookup_method),
19780 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19781 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19782 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19783 (gst_index_flags_get_type), (register_gst_debug_level),
19784 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19785 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19786 (gst_iterator_result_get_type), (register_gst_iterator_item),
19787 (gst_iterator_item_get_type), (register_gst_message_type),
19788 (gst_message_type_get_type), (register_gst_mini_object_flags),
19789 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19790 (gst_pad_link_return_get_type), (register_gst_flow_return),
19791 (gst_flow_return_get_type), (register_gst_activate_mode),
19792 (gst_activate_mode_get_type), (register_gst_pad_direction),
19793 (gst_pad_direction_get_type), (register_gst_pad_flags),
19794 (gst_pad_flags_get_type), (register_gst_pad_presence),
19795 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19796 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19797 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19798 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19799 (gst_plugin_flags_get_type), (register_gst_rank),
19800 (gst_rank_get_type), (register_gst_query_type),
19801 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19802 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19803 (gst_tag_flag_get_type), (register_gst_task_state),
19804 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19805 (gst_alloc_trace_flags_get_type),
19806 (register_gst_type_find_probability),
19807 (gst_type_find_probability_get_type), (register_gst_uri_type),
19808 (gst_uri_type_get_type), (register_gst_parse_error),
19809 (gst_parse_error_get_type):
19810 * win32/common/gstversion.h:
19811 update win32 copies
19813 2005-11-01 Luca Ognibene <luogni@tin.it>
19816 fix docs. popt is dead, long live GOption.
19818 2005-10-31 Wim Taymans <wim@fluendo.com>
19823 2005-10-31 Andy Wingo <wingo@pobox.com>
19827 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19829 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19830 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19831 the possibility of deadlocks here if code calling notify() or
19832 set() has a lock that can be taken in another notify handler (ABBA
19833 with class lock and e.g. python GIL state lock).
19835 2005-10-28 Julien MOUTTE <julien@moutte.net>
19837 * gst/gstbus.c: Doc updates.
19839 2005-10-28 Wim Taymans <wim@fluendo.com>
19841 * docs/design/part-TODO.txt:
19842 * gst/gstiterator.c:
19843 * gst/gstsystemclock.c:
19844 * gst/gstsystemclock.h:
19847 2005-10-28 Edward Hervey <edward@fluendo.com>
19849 * docs/gst/gstreamer-docs.sgml:
19850 * docs/gst/gstreamer-sections.txt:
19851 the GstURIType documentation page is private, it only defines GstURIType
19852 which should be defined in the GstURIHandler page
19854 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19856 * gst/gstbin.c: (gst_bin_class_init):
19859 Documentation updates.
19861 2005-10-28 Wim Taymans <wim@fluendo.com>
19863 * docs/gst/gstreamer-sections.txt:
19866 Documented the clocks.
19868 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19870 * docs/gst/gstreamer-sections.txt:
19871 move some macros to private sections
19872 * gst/gstminiobject.c:
19873 * gst/gstminiobject.h:
19874 add descriptions provided by ds and some more
19876 mark macro as to be removed
19878 2005-10-28 Wim Taymans <wim@fluendo.com>
19880 * docs/design/part-TODO.txt:
19881 Add an item to TODO.
19883 * gst/gstiterator.c: (gst_iterator_fold),
19884 (gst_iterator_find_custom):
19885 * gst/gstiterator.h:
19888 2005-10-28 Wim Taymans <wim@fluendo.com>
19890 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19891 (gst_base_transform_init):
19894 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19895 An EOS event marks the queue as completely filled.
19897 2005-10-27 Wim Taymans <wim@fluendo.com>
19899 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19900 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19901 Some more debugging.
19903 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19904 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19905 (gst_base_transform_event), (gst_base_transform_getrange),
19906 (gst_base_transform_chain):
19907 * gst/base/gstbasetransform.h:
19909 Protect transform and concurrent buffer alloc with a new lock.
19910 Try not to break ABI/API.
19912 2005-10-27 Wim Taymans <wim@fluendo.com>
19914 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19915 (gst_base_src_init), (gst_base_src_query),
19916 (gst_base_src_default_newsegment),
19917 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19918 (gst_base_src_send_event), (gst_base_src_event_handler),
19919 (gst_base_src_pad_get_range), (gst_base_src_loop),
19920 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19921 (gst_base_src_start), (gst_base_src_deactivate),
19922 (gst_base_src_activate_push), (gst_base_src_change_state):
19923 Move some stuff around and cleanup things.
19925 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19927 * gst/base/gstbasesrc.c: (gst_base_src_query):
19928 Add missing break statements.
19930 2005-10-27 Wim Taymans <wim@fluendo.com>
19932 * check/gst/gstbin.c: (GST_START_TEST):
19933 An extra refcount is taken in basesrc.
19935 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19936 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19937 (gst_base_src_loop):
19938 Small cleanups, check for flushing after being unlocked from the
19939 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19940 Don't send out EOS when going to READY.
19942 2005-10-27 Wim Taymans <wim@fluendo.com>
19944 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19945 (gst_base_sink_get_position):
19948 * gst/gstbin.c: (message_check), (bin_replace_message),
19949 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19950 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19951 (bin_query_duration_init), (bin_query_duration_fold),
19952 (bin_query_duration_done), (bin_query_generic_fold),
19954 * tools/gst-launch.c: (main):
19957 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19959 * examples/controller/audio-example.c: (main):
19960 * examples/queue/queue.c: (event_loop):
19961 * gst/base/gstbasetransform.h:
19962 * gst/gstelement.c: (gst_element_send_event):
19964 * gst/gstpad.c: (gst_pad_send_event):
19967 changing log priority in error situations
19969 2005-10-25 Wim Taymans <wim@fluendo.com>
19971 * gst/gstbin.c: (message_check), (bin_replace_message),
19972 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19973 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19974 (bin_query_duration_init), (bin_query_duration_fold),
19975 (bin_query_duration_done), (bin_query_generic_fold),
19977 Some doc and debug updates.
19978 Cache previously requested query DURATION for speed. invalidate
19979 cached duration if element posts a DURATION message.
19981 2005-10-25 Wim Taymans <wim@fluendo.com>
19983 * docs/design/part-TODO.txt:
19986 * gst/gstbin.c: (message_check), (bin_replace_message),
19987 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19988 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19989 (bin_query_duration_init), (bin_query_duration_fold),
19990 (bin_query_duration_done), (bin_query_generic_fold),
19992 Handle SEGMENT_START/DONE messages correctly.
19993 More evolved query algorithm that handles duration queries
19996 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19997 (gst_element_get_state_func), (gst_element_abort_state),
19998 (gst_element_commit_state), (gst_element_lost_state):
19999 Some more debugging.
20001 * gst/gstmessage.h:
20004 2005-10-25 Wim Taymans <wim@fluendo.com>
20006 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
20007 Don't use invalid stream_time.
20009 * gst/gstevent.c: (gst_event_new_newsegment):
20010 stream_time in newsegment cannot be undefined.
20012 2005-10-24 Wim Taymans <wim@fluendo.com>
20017 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20019 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20021 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20023 * docs/libs/tmpl/gstdparam.sgml:
20024 * docs/libs/tmpl/gstdplinint.sgml:
20025 * docs/libs/tmpl/gstdpman.sgml:
20026 * docs/libs/tmpl/gstdpsmooth.sgml:
20027 * docs/libs/tmpl/gstunitconvert.sgml:
20030 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20035 === release 0.9.4 ===
20037 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20040 releasing 0.9.4, "Tyrannosaurus Rex"
20042 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20044 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20045 (gst_file_sink_get_current_offset):
20046 Use fseeko() and ftello() if available. When falling back on
20047 lseek() to get the current offset, fflush() first to make sure
20048 everything is up-to-date and we get the right offset.
20050 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20052 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20053 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20054 * gst/gsterror.c: (_gst_stream_errors_init):
20056 * gst/gstqueue.c: (gst_queue_loop):
20058 remove prematurely added error category and clean up the instances
20060 2005-10-21 Wim Taymans <wim@fluendo.com>
20062 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20063 (gst_base_sink_get_position), (gst_base_sink_query),
20064 (gst_base_sink_change_state):
20065 Simply set the right flag when going to playing, that's all
20066 we need to do instead of calling a function inside the object
20067 lock (that could take the lock as well and deadlock)
20069 2005-10-21 Wim Taymans <wim@fluendo.com>
20071 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20072 (gst_base_src_loop):
20073 Don't warn, the peer element knows what to do best when
20074 the seek failed, it might try something else.
20076 2005-10-21 Wim Taymans <wim@fluendo.com>
20078 * gst/base/gstbasesrc.c: (gst_base_src_init),
20079 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20082 2005-10-21 Wim Taymans <wim@fluendo.com>
20084 * docs/design/part-segments.txt:
20087 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20088 Correctly set caps, even on the subbufer.
20090 2005-10-21 Wim Taymans <wim@fluendo.com>
20092 * docs/gst/gstreamer-docs.sgml:
20093 * docs/gst/gstreamer-sections.txt:
20094 * gst/gstelement.h:
20097 * gst/gstmessage.h:
20100 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20104 And 2% more doc coverage.
20106 2005-10-21 Andy Wingo <wingo@pobox.com>
20108 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20109 position reporting.
20111 2005-10-20 Wim Taymans <wim@fluendo.com>
20113 * gst/gsterror.c: (gst_error_get_message):
20116 * gst/gststructure.c:
20121 2005-10-20 Wim Taymans <wim@fluendo.com>
20126 Another 1% more coverage.
20128 2005-10-20 Wim Taymans <wim@fluendo.com>
20130 * docs/gst/gstreamer-sections.txt:
20131 * gst/gstelement.c: (gst_element_get_state_func),
20132 (gst_element_abort_state), (gst_element_commit_state),
20133 (gst_element_lost_state):
20135 * gst/gstquery.c: (gst_query_set_position),
20136 (gst_query_parse_position), (gst_query_set_duration),
20137 (gst_query_parse_duration), (gst_query_new_convert):
20139 Yay! 1% more docs coverage.
20141 2005-10-20 Wim Taymans <wim@fluendo.com>
20144 * gst/gstquery.c: (gst_query_set_position),
20145 (gst_query_parse_position), (gst_query_set_duration),
20146 (gst_query_parse_duration), (gst_query_new_convert):
20148 * gst/gstutils.c: (gst_element_query_convert):
20150 Docs and consistency fixes.
20152 2005-10-20 Wim Taymans <wim@fluendo.com>
20158 2005-10-20 Wim Taymans <wim@fluendo.com>
20160 * gst/gstbin.c: (message_check), (bin_replace_message),
20161 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20162 (update_degree), (gst_bin_sort_iterator_next),
20163 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20164 Reworked the message handling a bit, cache the messages instead of
20165 only the senders. alows us to do more in the future.
20167 2005-10-20 Wim Taymans <wim@fluendo.com>
20169 * docs/design/part-TODO.txt:
20172 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20173 (gst_base_sink_query):
20174 Don't use clock time to report position when in EOS.
20176 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20178 * tools/gst-inspect.c: (print_interfaces),
20179 (print_element_properties_info), (print_element_info):
20180 Fix interface output with gst-inspect -a; don't print
20181 newlines after double/float properties.
20183 2005-10-20 Wim Taymans <wim@fluendo.com>
20185 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20186 (gst_base_sink_query):
20187 Speed up current position calculation.
20189 * gst/base/gstbasesrc.c: (gst_base_src_query),
20190 (gst_base_src_default_newsegment):
20191 Correctly set stream position in newsegment.
20193 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20194 (update_degree), (gst_bin_sort_iterator_next),
20195 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20196 * gst/gstmessage.c: (gst_message_new_custom):
20197 Clean up debugging info
20199 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20200 (gst_queue_loop), (gst_queue_handle_src_query):
20203 2005-10-19 Wim Taymans <wim@fluendo.com>
20205 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20206 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20207 Fix query handling again.
20209 2005-10-19 Wim Taymans <wim@fluendo.com>
20211 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20212 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20213 * gst/base/gstbasesrc.c: (gst_base_src_query):
20214 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20215 * gst/elements/gsttypefindelement.c:
20216 (gst_type_find_handle_src_query), (find_element_get_length),
20217 (gst_type_find_element_activate):
20220 * gst/gstquery.c: (gst_query_new_position),
20221 (gst_query_set_position), (gst_query_parse_position),
20222 (gst_query_new_duration), (gst_query_set_duration),
20223 (gst_query_parse_duration), (gst_query_set_segment),
20224 (gst_query_parse_segment):
20226 Bundling query position/duration is not a good idea since duration
20227 does not change much and we don't want to recalculate it for every
20228 position query, so they are separated again..
20229 Base value in segment query is not needed.
20231 * gst/gstqueue.c: (gst_queue_handle_src_query):
20232 * gst/gstutils.c: (gst_element_query_position),
20233 (gst_element_query_duration), (gst_pad_query_position),
20234 (gst_pad_query_duration):
20236 Updates for query API change.
20237 Added some docs here and there.
20239 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20241 * check/gst/gstbin.c: (GST_START_TEST):
20242 * check/gst/gstghostpad.c: (GST_START_TEST):
20243 * check/pipelines/cleanup.c: (GST_START_TEST):
20244 wait on thread to die so we can check refcount correctly
20246 2005-10-18 Wim Taymans <wim@fluendo.com>
20248 * check/pipelines/stress.c: (GST_START_TEST):
20249 Make check a little more time consuming.
20251 2005-10-18 Wim Taymans <wim@fluendo.com>
20253 * check/Makefile.am:
20254 * check/pipelines/stress.c: (GST_START_TEST),
20255 (simple_launch_lines_suite), (main):
20256 Small state change torture test.
20258 * docs/design/part-states.txt:
20259 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20260 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20261 (gst_base_sink_change_state):
20262 Never take state lock from streaming thread, clean up ugly
20263 hacks. Unfortunatly core does not yet support nice ways to
20264 async commit state.
20266 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20268 Start state recalc if a STATE_DIRTY message is posted, but only
20269 on the toplevel bin.
20271 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20272 (gst_element_get_state_func), (gst_element_abort_state),
20273 (gst_element_commit_state), (gst_element_lost_state),
20274 (gst_element_set_state_func), (gst_element_change_state):
20275 * gst/gstelement.h:
20276 State variables are now protected with the LOCK, the state
20277 lock is only used to serialize _set_state().
20279 2005-10-18 Wim Taymans <wim@fluendo.com>
20281 * check/gst/gstbin.c: (GST_START_TEST):
20282 * check/gst/gstmessage.c: (GST_START_TEST):
20283 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20284 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20286 * gst/gstelement.c: (gst_element_abort_state),
20287 (gst_element_commit_state), (gst_element_lost_state):
20288 * gst/gstmessage.c: (gst_message_new_state_changed),
20289 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20290 (gst_message_new_segment_done), (gst_message_new_duration),
20291 (gst_message_parse_state_changed),
20292 (gst_message_parse_segment_start),
20293 (gst_message_parse_segment_done), (gst_message_parse_duration):
20294 * gst/gstmessage.h:
20295 * tools/gst-launch.c: (event_loop):
20296 Seriously, this is better than a previous commit as we only need
20297 to notify the fact that an element changed state in a streaming
20298 thread, marking the state of the parents dirty, hence the
20299 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20302 2005-10-18 Wim Taymans <wim@fluendo.com>
20304 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20305 (gst_bin_recalc_func):
20306 * gst/gstelement.c: (gst_element_set_clock),
20307 (gst_element_abort_state), (gst_element_lost_state):
20308 Cleanups, prepare for state change fixes.
20310 2005-10-18 Wim Taymans <wim@fluendo.com>
20313 * gst/gstelement.c: (gst_element_class_init),
20314 (gst_element_set_state), (gst_element_set_state_func):
20315 * gst/gstelement.h:
20316 Pending ABI changes.
20317 GThreadPool in GstBinClass to monitor async state changes.
20318 state_cookie in GstElement to detect concurrent gst/set state.
20319 set_state is now virtual too in case a very complicated element
20320 has to be constructed.
20322 2005-10-18 Wim Taymans <wim@fluendo.com>
20324 * check/gst/gstbin.c: (GST_START_TEST):
20325 * check/gst/gstmessage.c: (GST_START_TEST):
20326 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20327 * gst/gstbin.c: (bin_bus_handler):
20328 * gst/gstelement.c: (gst_element_commit_state),
20329 (gst_element_lost_state):
20330 * gst/gstmessage.c: (gst_message_new_state_changed),
20331 (gst_message_new_segment_start), (gst_message_new_segment_done),
20332 (gst_message_new_duration), (gst_message_parse_state_changed),
20333 (gst_message_parse_segment_start),
20334 (gst_message_parse_segment_done), (gst_message_parse_duration):
20335 * gst/gstmessage.h:
20336 * tools/gst-launch.c: (event_loop):
20337 Make messages future proof.
20338 state-change gets a flag if it was a message comming from the
20340 segment-start/stop can also be specified in other formats.
20341 A message to notify an app that a pipeline changed playback
20343 Also fix a GstMessage leak in -launch
20345 2005-10-18 Andy Wingo <wingo@pobox.com>
20347 * gst/gstelement.c (gst_element_dispose): More helpful message.
20349 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20351 reviewed by: <delete if not using a buddy>
20353 * common/gtk-doc.mak:
20355 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20357 * gst/gstregistry.c: (gst_registry_scan_path_level):
20358 unref a plug-in we get that was already initialized
20360 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20362 * docs/gst/gstreamer-sections.txt:
20363 * docs/libs/gstreamer-libs-sections.txt:
20364 * gst/gstelement.h:
20365 add new api entries
20366 hide internal macro
20368 2005-10-17 Andy Wingo <wingo@pobox.com>
20370 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20373 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20375 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20377 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20378 (gst_element_get_state_func): Better debug message.
20379 (gst_element_commit_state): s/INFO/DEBUG/.
20380 (gst_element_lost_state, gst_element_change_state):
20382 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20383 (gst_message_new_custom): s/INFO/LOG/.
20385 2005-10-17 Michael Smith <msmith@fluendo.com>
20387 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20388 Check if end time is valid using end time, not start time.
20390 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20392 * check/gst-libs/controller.c: (GST_START_TEST),
20393 (gst_controller_suite):
20394 * libs/gst/controller/gstcontroller.c:
20395 (gst_controlled_property_set_interpolation_mode):
20396 * libs/gst/controller/gstcontroller.h:
20397 * libs/gst/controller/gstinterpolation.c:
20398 * testsuite/controller/.cvsignore:
20399 * testsuite/controller/Makefile.am:
20400 * testsuite/controller/interpolator.c:
20401 merge controller testsuites
20403 remove mem-chunk from docs
20405 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20407 * gst/gstmemchunk.c:
20408 * gst/gstmemchunk.h:
20409 * gst/gsttrashstack.c:
20410 * gst/gsttrashstack.h:
20411 out. get out. you're fired. to the Attic !
20413 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20415 * gst/gstcaps.c: (gst_caps_intersect):
20416 fix signedness issues in a (hopefully) correct way
20417 * gst/gstelement.c: (gst_element_pads_activate):
20419 * gst/gstobject.c: (gst_object_set_parent):
20422 2005-10-17 Julien MOUTTE <julien@moutte.net>
20424 * gst/gstvalue.h: Fix prototypes.
20426 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20428 * docs/gst/gstreamer-sections.txt:
20429 * gst/gst.c: (gst_version_string):
20431 * gst/gstversion.h.in:
20432 * win32/common/libgstreamer.def:
20433 add gst_version_string ()
20435 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20439 * gst/gst.c: (init_post):
20440 * win32/common/config.h.in:
20442 * gst/gstcaps.c: (gst_caps_intersect):
20443 use gint64, the range could be bigger than a guint
20445 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20448 document potential problem in 2038
20450 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20452 * gst/gstcaps.c: (gst_caps_intersect):
20453 Fix guint j diving under 0
20455 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20458 * win32/common/config.h:
20459 * win32/common/config.h.in:
20460 check for process.h, declares getpid() on Windows
20462 include process.h if we have it
20463 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20464 * gst/gstmemchunk.h:
20465 fix signedness issues
20466 * win32/common/libgstreamer.def:
20469 2005-10-16 Julien MOUTTE <julien@moutte.net>
20471 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20472 fix. Because of unsigned ints, caps intersection was going nuts and
20473 trying to access structures with G_MAXUINT index. That fixes
20474 videotestsrc ! ffmpegcolorspace ! fakesink
20475 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20478 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20481 use the gettext macro
20482 * gst/elements/gstelements.c:
20484 * gst/indexers/gstindexers.c:
20485 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20486 * win32/common/config.h:
20488 * win32/common/config.h.in:
20489 add the template to generate config.h
20490 * win32/common/gstenumtypes.c:
20491 * win32/common/gstversion.h:
20494 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20496 * gst/gst.c: (gst_version):
20497 * gst/gstversion.h.in:
20500 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20503 Oops, add missing closing bracket.
20505 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20508 use common m4's for argument checking
20510 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20512 * docs/gst/gstreamer-sections.txt:
20514 Add GST_EVENT_TYPE_NAME() macro.
20516 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20519 * gst/gstpluginfeature.c:
20521 privatize more symbols
20523 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20526 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20527 everything that uses GStreamer API should have the includes
20529 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20531 * docs/gst/gstreamer-sections.txt:
20532 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20534 give each value a _get_type, removes the DATA exports
20536 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20540 remove _gst_registry_auto_load, not used anymore
20541 * gst/gstbin.c: (gst_bin_get_type):
20543 * gst/gstelement.c: (gst_element_get_type):
20544 * gst/gstelement.h:
20545 * gst/gstobject.c: (gst_object_get_type):
20547 * gst/gstpad.c: (gst_pad_get_type):
20549 make _get_type functions similar, fixes data export from library
20551 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20554 correctly make conditionals
20555 * gst/elements/Makefile.am:
20556 * gst/elements/gstelements.c:
20557 fix typo causing fdsrc not to build
20559 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20561 * testsuite/Makefile.am:
20562 * testsuite/bytestream/.cvsignore:
20563 * testsuite/bytestream/Makefile.am:
20564 * testsuite/bytestream/filepadsink.c:
20565 * testsuite/bytestream/gstbstest.c:
20566 * testsuite/bytestream/test1.c:
20567 * testsuite/bytestream/testfile1:
20568 * testsuite/caps/normalisation.c:
20569 * testsuite/caps/random.c: (main):
20570 * testsuite/cleanup/.cvsignore:
20571 * testsuite/cleanup/Makefile.am:
20572 * testsuite/cleanup/cleanup1.c:
20573 * testsuite/cleanup/cleanup2.c:
20574 * testsuite/cleanup/cleanup3.c:
20575 * testsuite/cleanup/cleanup4.c:
20576 * testsuite/cleanup/cleanup5.c:
20577 * testsuite/controller/interpolator.c:
20578 * testsuite/debug/printf_extension.c: (main):
20579 * testsuite/elements/tee.c:
20580 * testsuite/negotiation/.cvsignore:
20581 * testsuite/negotiation/Makefile.am:
20582 * testsuite/negotiation/pad_link.c:
20583 * testsuite/pad/Makefile.am:
20584 * testsuite/pad/chainnopull.c:
20585 * testsuite/pad/getnopush.c:
20586 * testsuite/pad/link.c:
20587 * testsuite/refcounting/sched.c: (create_pipeline):
20588 * testsuite/registry/Makefile.am:
20589 * testsuite/registry/gst-print-formats.c:
20590 * testsuite/schedulers/.cvsignore:
20591 * testsuite/schedulers/142183-2.c:
20592 * testsuite/schedulers/142183.c:
20593 * testsuite/schedulers/143777-2.c:
20594 * testsuite/schedulers/143777.c:
20595 * testsuite/schedulers/147713.c:
20596 * testsuite/schedulers/147819.c:
20597 * testsuite/schedulers/147894-2.c:
20598 * testsuite/schedulers/147894.c:
20599 * testsuite/schedulers/Makefile.am:
20600 * testsuite/schedulers/group_link.c:
20601 * testsuite/schedulers/queue_link.c:
20602 * testsuite/schedulers/relink.c:
20603 * testsuite/schedulers/unlink.c:
20604 * testsuite/schedulers/unref.c:
20605 * testsuite/schedulers/useless_iteration.c:
20606 * testsuite/states/bin.c:
20607 clean out/remove some stuff from the testsuite directories
20609 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20612 check for some headers
20613 * gst/elements/Makefile.am:
20614 * gst/elements/gstelements.c:
20615 don't compile fdsrc without sys/socket.h
20616 * gst/indexers/Makefile.am:
20617 * gst/indexers/gstindexers.c: (plugin_init):
20618 don't compile fileindex without mmap
20620 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20627 * check/Makefile.am:
20628 * docs/gst/Makefile.am:
20629 * examples/helloworld/Makefile.am:
20631 * gst/base/Makefile.am:
20632 * gst/check/Makefile.am:
20633 * gst/elements/Makefile.am:
20634 * gst/indexers/Makefile.am:
20635 * gst/parse/Makefile.am:
20636 * libs/gst/controller/Makefile.am:
20637 * libs/gst/dataprotocol/Makefile.am:
20638 * examples/helloworld/helloworld.c: (event_loop):
20639 compile fixes, though it's not being compiled currently
20641 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20643 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20644 Add some simple tests for the new taglist date API.
20646 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20648 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20649 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20650 Beautify 'last-message' output: print 'none' for buffer timestamps
20651 and durations if none is set; improve alignment with next messages.
20653 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20655 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20656 * gst/gstpluginfeature.h:
20657 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20658 * gst/gstregistry.h:
20659 * docs/gst/gstreamer-sections.txt:
20660 Add new API to check plugin feature version requirements.
20662 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20663 Some basic tests for the above.
20665 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20667 * gst/gststructure.c: (gst_structure_to_string):
20668 guard against NULL printf - happens when for example
20669 a message structure with GstClock gets serialized
20671 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20673 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20674 Fix presumable copy'n'pasto.
20676 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20678 * gst/elements/gstfakesrc.h:
20679 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20680 * gst/elements/gsttypefindelement.c:
20681 fix some signedness
20682 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20683 I wonder if this could actually write +2GB files before
20685 2005-10-13 Andy Wingo <wingo@pobox.com>
20687 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20688 Fix Timmeke Waymans bug.
20689 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20690 string of the proper length to gst_caps_from_string. There's a
20691 potential for, before this fix, that this could cause someone
20692 connecting over the network to cause a segfault if the payload is
20693 not NUL-terminated.
20695 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20697 * docs/design/draft-push-pull.txt:
20698 * docs/design/part-overview.txt:
20699 * docs/random/TODO-pre-0.9:
20700 * docs/random/old/ChangeLog.gstreamer:
20701 * gst/base/gstpushsrc.c:
20705 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20707 * gst/glib-compat.c: (gst_flags_get_first_value):
20708 * gst/glib-compat.h:
20709 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20710 (gst_value_compare_double), (gst_value_serialize_flags):
20711 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20714 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20717 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20719 * tools/gst-launch.c: (event_loop):
20720 print out clock nicely
20722 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20724 * docs/gst/gstreamer-sections.txt:
20725 * gst/gsttaglist.h:
20726 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20727 (gst_tag_list_get_date_index):
20728 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20729 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20731 2005-10-13 Julien MOUTTE <julien@moutte.net>
20733 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20734 (gst_collectpads_chain):
20735 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20738 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20740 * docs/gst/gstreamer-sections.txt:
20743 * tools/gst-inspect.c: (main):
20744 * tools/gst-launch.c: (main):
20745 * tools/gst-run.c: (main):
20746 * tools/gst-xmlinspect.c: (main):
20747 fix GOption context leaks
20750 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20754 * win32/common/config.h:
20756 * win32/vs6/grammar.dsp:
20757 * win32/vs6/libgstelements.dsp:
20758 * win32/vs6/libgstreamer.dsp:
20761 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20763 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20764 * gst/base/gstbasesrc.c: (gst_base_src_query):
20765 fix more guint64<->gdouble conversions
20767 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20770 add win32-update target
20771 * win32/common/gstconfig.h:
20772 * win32/common/gstenumtypes.c:
20773 * win32/common/gstenumtypes.h:
20774 * win32/common/gstversion.h:
20775 add files that visual studio can't generate
20777 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20780 add a win32-update target
20783 2005-10-12 Wim Taymans <wim@fluendo.com>
20785 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20786 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20787 * gst/gstelement.c: (gst_element_commit_state),
20788 (gst_element_set_state):
20789 Protect flags with proper lock.
20790 unref provided cached clock in dispose.
20792 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20795 * gst/gstminiobject.h:
20797 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20798 removed unused flags from miniobject
20801 2005-10-12 Wim Taymans <wim@fluendo.com>
20803 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20804 (gst_file_sink_event), (gst_file_sink_render):
20805 Flush before seeking.
20807 2005-10-12 Andy Wingo <wingo@pobox.com>
20809 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20810 always been the case.
20812 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20814 * check/gst/gstbin.c: (GST_START_TEST):
20815 * docs/gst/gstreamer-sections.txt:
20816 * gst/base/gstbasesink.c: (gst_base_sink_init):
20817 * gst/base/gstbasesrc.c: (gst_base_src_init),
20818 (gst_base_src_get_range), (gst_base_src_check_get_range),
20819 (gst_base_src_start), (gst_base_src_stop):
20820 * gst/base/gstbasesrc.h:
20821 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20822 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20823 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20827 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20829 * gst/gstelement.c: (gst_element_is_locked_state),
20830 (gst_element_set_locked_state), (gst_element_commit_state),
20831 (gst_element_set_state):
20832 * gst/gstelement.h:
20833 * gst/gstindex.c: (gst_index_init):
20835 * gst/gstminiobject.h:
20836 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20837 (gst_object_set_parent):
20839 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20840 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20842 * gst/gstpadtemplate.h:
20843 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20844 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20845 * gst/gstpipeline.h:
20846 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20847 (gst_file_index_commit):
20848 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20849 * testsuite/pad/link.c: (gst_test_src_init),
20850 (gst_test_filter_init), (gst_test_sink_init):
20851 * testsuite/states/locked.c: (main):
20852 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20853 moved bitshift from macro to enum definition
20855 2005-10-12 Wim Taymans <wim@fluendo.com>
20857 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20858 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20859 (gst_file_sink_render):
20860 Some more debugging info.
20862 2005-10-12 Wim Taymans <wim@fluendo.com>
20864 * docs/design/part-states.txt:
20865 * tools/gst-launch.c: (main):
20867 Revert non-intentional change.
20869 2005-10-12 Wim Taymans <wim@fluendo.com>
20871 * check/gst/gstbin.c: (GST_START_TEST):
20872 * check/gst/gstelement.c: (GST_START_TEST):
20873 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20874 * check/gst/gstghostpad.c: (GST_START_TEST):
20875 * check/gst/gstpipeline.c: (GST_START_TEST):
20876 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20877 * check/states/sinks.c: (GST_START_TEST):
20878 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20879 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20880 (gst_bin_remove_func), (gst_bin_get_state_func),
20881 (gst_bin_recalc_state), (gst_bin_change_state_func),
20883 * gst/gstelement.c: (gst_element_get_state_func),
20884 (gst_element_get_state), (gst_element_abort_state),
20885 (gst_element_commit_state), (gst_element_set_state),
20886 (gst_element_change_state), (gst_element_change_state_func):
20887 * gst/gstelement.h:
20888 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20889 (gst_pipeline_provide_clock_func):
20890 * gst/gstutils.c: (gst_element_link_pads_filtered):
20891 * tools/gst-launch.c: (main):
20892 * tools/gst-typefind.c: (main):
20893 Use GstClockTime in _get_state() instead of GTimeVal.
20894 Remove old code in gstutils.c
20896 2005-10-12 Andy Wingo <wingo@pobox.com>
20898 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20901 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20902 there is no task. Shouldn't affect any code, as nothing in our
20903 plugins checks this return value.
20904 (gst_pad_stop_task): Also take the stream lock if the pad has no
20905 task. Docs updated.
20907 2005-10-12 Wim Taymans <wim@fluendo.com>
20909 * gst/gstpad.c: (pre_activate), (post_activate),
20910 (gst_pad_activate_pull), (gst_pad_activate_push):
20911 Cleanup activation code. Reset old state if
20914 2005-10-12 Wim Taymans <wim@fluendo.com>
20916 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20917 (gst_base_sink_change_state):
20918 No need to prerol after receiving EOS.
20920 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20921 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20922 * gst/elements/gstidentity.c: (gst_identity_event):
20923 Print events more verbosely.
20925 2005-10-12 Wim Taymans <wim@fluendo.com>
20927 * check/Makefile.am:
20928 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20929 * check/states/sinks2.c:
20930 Moved sinks2 testcode in sinks check.
20932 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20933 (gst_bin_remove_func), (gst_bin_recalc_state),
20934 (gst_bin_change_state_func), (bin_bus_handler):
20935 Fix potential race condition when _get_state() iterated over an
20936 ASYNC element right before it posted a state completion.
20939 Do proper cast here.
20941 * gst/gstevent.c: (gst_event_new_newsegment),
20942 (gst_event_parse_newsegment):
20943 A playback rate of 0.0 is not allowed.
20945 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20947 * win32/common/config.h:
20948 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20949 (_trewinddir), (_ttelldir), (_tseekdir):
20950 * win32/common/dirent.h:
20951 * win32/common/gtchar.h:
20952 * win32/common/libgstbase.def:
20953 * win32/common/libgstreamer.def:
20954 * win32/vs6/grammar.dsp:
20955 * win32/vs6/gst_inspect.dsp:
20956 * win32/vs6/gst_launch.dsp:
20957 * win32/vs6/gstreamer.dsw:
20958 * win32/vs6/libgstbase.dsp:
20959 * win32/vs6/libgstelements.dsp:
20960 * win32/vs6/libgstreamer.dsp:
20961 Visual Studio 6 project files, and a new common directory.
20964 2005-10-11 Wim Taymans <wim@fluendo.com>
20966 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20967 (gst_base_sink_do_sync), (gst_base_sink_query),
20968 (gst_base_sink_change_state):
20969 * gst/base/gstbasesink.h:
20970 Correctly parse newsegment info.
20972 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20974 * gst/gst.c: (init_post):
20975 split plugin paths correctly
20977 2005-10-11 Wim Taymans <wim@fluendo.com>
20979 * check/gst/gstevent.c: (GST_START_TEST):
20980 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20981 (gst_base_sink_change_state):
20982 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20983 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20984 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20985 * gst/gstevent.c: (gst_event_new_newsegment),
20986 (gst_event_parse_newsegment):
20988 Added extra flag to newsegment for future API freeze.
20989 Updated check and base elements.
20991 2005-10-11 Julien MOUTTE <julien@moutte.net>
20993 * gst/base/gstcollectpads.c: (gst_collectpads_init),
20994 (gst_collectpads_add_pad), (gst_collectpads_pop),
20995 (gst_collectpads_event), (gst_collectpads_chain):
20996 * gst/base/gstcollectpads.h: Handle EOS correctly.
20998 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21000 * tools/gst-launch.c: (main):
21001 more null protecting
21003 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21005 * gst/gst-i18n-lib.h:
21006 check for ENABLE_NLS, not GETTEXT_PACKAGE
21007 * gst/gstregistry.c: (gst_registry_add_plugin),
21008 (gst_registry_scan_path_level),
21009 (_gst_registry_remove_cache_plugins):
21010 protect possibly NULL strings
21011 * gst/parse/types.h:
21012 config.h already included before
21013 * tools/gst-inspect.c: (main):
21014 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
21015 check for ENABLE_NLS, not GETTEXT_PACKAGE
21016 * tools/gst-launch.c: (main):
21017 check for ENABLE_NLS, not GETTEXT_PACKAGE
21019 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21022 if we don't have glib, fail before testing 2.8
21023 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21024 fix a leak, should fix plugins-base testsuite
21026 2005-10-11 Andy Wingo <wingo@pobox.com>
21028 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21029 take the mode we're going to as an arg. Go head and set the mode
21030 and flushing flags now, so that if the activate function starts a
21031 thread all the flags will be in the right state.
21032 (post_activate): Renamed also. Just handle making sure streaming
21033 finishes for the deactivation case, and setting the deactivated
21035 (gst_pad_set_active): Complain loudly if deactivation fails.
21036 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21037 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21038 remove the terrible hack.
21040 2005-10-11 Wim Taymans <wim@fluendo.com>
21042 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21043 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21044 (gst_bin_recalc_state), (gst_bin_change_state_func),
21045 (gst_bin_dispose), (bin_bus_handler):
21047 Prepare to make current EOS message queue more generic.
21050 * gst/gstevent.c: (gst_event_new_newsegment),
21051 (gst_event_parse_newsegment):
21053 Rename base to stream_time.
21055 * gst/gstmessage.h:
21058 2005-10-11 Wim Taymans <wim@fluendo.com>
21060 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21061 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21062 (gst_bin_change_state_func), (bin_bus_handler):
21064 Work on proper clock selection.
21066 2005-10-11 Edward Hervey <edward@fluendo.com>
21068 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21069 * libs/gst/controller/gstcontroller.h:
21070 Added GList* version of _remove_properties() in order to be able to wrap
21073 2005-10-11 Wim Taymans <wim@fluendo.com>
21075 * docs/design/part-states.txt:
21078 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21079 (gst_bin_change_state_func), (bin_bus_handler):
21080 Doc updates. Don't distribute the same clock over and over again.
21086 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21087 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21088 (gst_pad_send_event):
21090 Make probe emission threadsafe again.
21091 Register quarks and move _get_name() from utils.
21094 * gst/gstpipeline.c: (gst_pipeline_class_init),
21095 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21096 Only redistribute the clock of it changed.
21098 * gst/gstsystemclock.h:
21103 Moved the _flow_get_name() to GstPad.
21105 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21107 * check/gst-libs/gdp.c: (GST_START_TEST):
21108 * check/gst/gstcaps.c: (GST_START_TEST):
21109 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21110 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21111 (gst_dp_packet_from_caps):
21112 fix more valgrind warnings before turning up the heat
21114 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21116 * gst/parse/grammar.y:
21117 some cleanup before the hacking
21119 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21121 * gst/base/gstbasesrc.c: (gst_base_src_query):
21123 * gst/gstutils.c: (gst_guint64_to_gdouble),
21124 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21126 externalize, basesrc uses it
21127 obviously the implementation needs testing
21129 2005-10-10 Wim Taymans <wim@fluendo.com>
21131 * tests/sched/Makefile.am:
21132 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21133 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21135 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21137 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21138 apparently converting from guint64 to double is not implemented
21141 2005-10-10 Wim Taymans <wim@fluendo.com>
21143 * check/Makefile.am:
21144 * check/generic/states.c: (GST_START_TEST):
21145 * check/gst/gstbin.c: (GST_START_TEST):
21146 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21147 * check/states/sinks.c: (GST_START_TEST):
21148 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21150 Check fixes, use API as stated in design docs, remove hacks.
21152 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21153 (gst_base_sink_change_state):
21154 Catch stopping our task while we're shutting down.
21156 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21157 (gst_bin_remove_func), (gst_bin_get_state_func),
21158 (gst_bin_recalc_state), (gst_bin_change_state_func),
21161 * gst/gstelement.c: (gst_element_init),
21162 (gst_element_get_state_func), (gst_element_abort_state),
21163 (gst_element_commit_state), (gst_element_lost_state),
21164 (gst_element_set_state), (gst_element_change_state),
21165 (gst_element_change_state_func):
21166 * gst/gstelement.h:
21167 New state change algorithm (see #318116)
21169 * gst/gstpipeline.c: (gst_pipeline_class_init),
21170 (gst_pipeline_init), (gst_pipeline_set_property),
21171 (gst_pipeline_get_property), (do_pipeline_seek),
21172 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21173 * gst/gstpipeline.h:
21174 Remove crude state change hacks.
21177 Remove crude hacks.
21179 * tools/gst-launch.c: (main):
21180 Fixes for state change. Needs some more work to fully use the
21183 2005-10-10 Andy Wingo <wingo@pobox.com>
21185 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21187 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21188 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21191 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21193 * gst/gstiterator.c: (gst_iterator_new):
21194 Fix my previous commit: GTypes passed to gst_iterator_new()
21195 can be fundamental types.
21197 2005-10-10 Wim Taymans <wim@fluendo.com>
21199 * gst/gstelement.c: (gst_element_iterate_pad_list),
21200 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21201 (gst_element_iterate_sink_pads):
21202 Use src/sink pads lists for the respective iterators instead
21205 2005-10-10 Andy Wingo <wingo@pobox.com>
21207 Merged in popt removal + GOption addition patch from Ronald, bug
21210 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21211 GstElement macros around, remove popt-related symbols, add goption
21214 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21216 * docs/gst/Makefile.am:
21217 * docs/libs/Makefile.am: No POPT_CFLAGS.
21219 * examples/manual/Makefile.am:
21220 * docs/manual/basics-init.xml: Doc updates with an example.
21222 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21223 (gst_init), (parse_one_option), (parse_goption_arg):
21224 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21225 bit of hand merging and debugging to get the GOption stuff working
21228 * tests/Makefile.am:
21229 * tools/Makefile.am:
21230 * tools/gst-inspect.c: (main):
21231 * tools/gst-launch.c: (main):
21232 * tools/gst-run.c: (main):
21233 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21235 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21237 * gst/gstiterator.c: (gst_iterator_new):
21238 Add assertions to make sure passed GType is likely to really
21239 be a GType (as the compiler won't catch it if the size and
21240 GType arguments get mixed up, see #318447).
21242 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21244 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21246 * gst/gstbin.c: (gst_bin_iterate_sorted):
21247 Pass GType and size arguments to gst_iterator_new() in the right
21248 order (maybe we should make _new() take the GType as first argument
21249 just like _new_list()?) (#318447).
21252 2005-10-10 Wim Taymans <wim@fluendo.com>
21254 * gst/gstelement.c: (gst_element_finalize):
21255 And free the GStaticRecMutex too
21257 2005-10-10 Andy Wingo <wingo@pobox.com>
21259 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21260 Allocate and free the mutex properly.
21262 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21264 (GstElement): The state_lock is now recursive. Rebuild your
21265 plugins, suckers. Old macros adapted.
21267 * docs/gst/gstreamer-sections.txt: Doc updates.
21270 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21271 (g_static_rec_cond_wait): Ported from state changes patch, while
21272 we wait on bug #317802 to be solved in a well-distributed GLib.
21274 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21275 gst_element_change_state, variable name changes.
21276 (gst_element_change_state): Split out of gst_element_set_state in
21277 preparation for the state change merge. Doesn't pay attention to
21278 the 'transition' argument.
21279 (gst_element_set_state): Updates, hopefully purely cosmetic.
21280 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21281 state change patch.
21282 (gst_element_get_state_func): Renamed from get_state, cosmetic
21285 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21287 * gst/elements/gstelements.c:
21288 * win32/GStreamer.vcproj:
21290 * win32/dirent.c: (_tseekdir):
21291 * win32/gst-inspect.vcproj:
21292 * win32/gst-launch.vcproj:
21293 * win32/gstconfig.h:
21294 * win32/gstelements.vcproj:
21295 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21296 * win32/gstreamer.def:
21297 * win32/msvc71.sln:
21298 updates for the win32 build (patch from Sebastien Moutte)
21300 2005-10-10 Andy Wingo <wingo@pobox.com>
21302 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21303 gst_bin_get_state, cleaned up (but no logic changes).
21304 (bin_element_is_sink): Comment updates.
21305 (sink_iterator_filter): Remove needless cast.
21306 (gst_bin_iterate_sinks): Doc update.
21307 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21308 cleaned up (but no logic changes).
21310 * check/states/sinks.c (test_src_sink): Cleanups from the state
21312 (test_livesrc_sink): Sync on the state.
21314 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21315 the state change patch.
21317 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21320 * check/gst/gstbin.c: Merge in some style fixes and additional
21321 checks from Wim's state change patch.
21323 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21325 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21326 (gst_type_find_helper):
21327 Check whether we have the requested data already in our list of
21328 cached buffers before pulling a new buffer; also make the buffer
21329 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21331 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21336 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21337 don't use long long, it's not portable. Replacing with
21338 gint64 seems to work; let's hope no skeletons fall out of the closet.
21340 2005-10-10 Andy Wingo <wingo@pobox.com>
21342 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21344 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21346 * docs/gst/gstreamer-sections.txt:
21351 * gst/gstmessage.c: (gst_message_parse_state_changed):
21354 more docs, fix compilation
21356 2005-10-09 Philippe Khalaf <burger@speedy.org>
21357 * gst/gstmessage.c:
21358 Fixed a few forgotten variables on previous commit
21360 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21362 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21363 Fix evil typefind crasher: getrange() might return a short
21364 buffer at the end of a file, but gst_type_find_peek() must
21365 either return the full data as requested or NULL, but
21366 never a short buffer.
21368 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21370 * gst/gstmessage.c: (gst_message_new_state_changed),
21371 (gst_message_parse_state_changed):
21372 * gst/gstmessage.h:
21373 don't use "new", it's a C++ keyword
21375 2005-10-08 Wim Taymans <wim@fluendo.com>
21377 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21378 * gst/gstelement.c: (gst_element_post_message):
21379 * gst/gstpipeline.c: (gst_pipeline_change_state):
21380 Small docs and debug updates.
21382 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21384 * docs/gst/gstreamer-sections.txt:
21385 * gst/gstelementfactory.c:
21387 * gst/gsttaglist.c:
21390 2005-10-08 Wim Taymans <wim@fluendo.com>
21392 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21393 (gst_bin_dispose), (bin_bus_handler):
21394 Fix typos, add comments.
21395 Clear EOS list when going to PAUSED from any direction and do it
21396 in a threadsafe way.
21397 Get base time in a threadsafe way too.
21398 Fix confusing debug in the change_state function.
21399 Various other small cleanups.
21401 * gst/gstelement.c: (gst_element_post_message):
21402 Fix very verbose bus posting code.
21404 * gst/gstpipeline.c: (gst_pipeline_class_init),
21405 (gst_pipeline_set_property), (gst_pipeline_get_property),
21406 (gst_pipeline_change_state):
21407 Small ARG_ -> PROP_ cleanup
21409 2005-10-08 Wim Taymans <wim@fluendo.com>
21411 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21412 Do a less CPU demanding EOS check because we can.
21414 2005-10-08 Wim Taymans <wim@fluendo.com>
21416 * libs/gst/dataprotocol/dataprotocol.c:
21417 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21418 (gst_dp_packet_from_event):
21419 * libs/gst/dataprotocol/dataprotocol.h:
21420 * libs/gst/dataprotocol/dp-private.h:
21421 It's about time we bump the version number.
21422 Since event types don't fit in the guint8 anymore describing
21423 the payload type, make payload type 16 bits wide.
21425 2005-10-08 Wim Taymans <wim@fluendo.com>
21427 * docs/design/part-TODO.txt:
21428 * docs/design/part-clocks.txt:
21429 * docs/design/part-events.txt:
21430 * docs/design/part-gstbin.txt:
21431 * docs/design/part-gstelement.txt:
21432 * docs/design/part-gstpipeline.txt:
21433 * docs/design/part-live-source.txt:
21434 * docs/design/part-messages.txt:
21435 * docs/design/part-overview.txt:
21436 * docs/design/part-states.txt:
21439 2005-10-08 Wim Taymans <wim@fluendo.com>
21443 Fix event quark registration.
21444 Add some space between events so we can insert them in the
21447 2005-10-08 Wim Taymans <wim@fluendo.com>
21449 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21450 (gst_base_sink_handle_buffer):
21451 Better log message.
21454 * gst/gstelement.h:
21457 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21458 (gst_queue_set_property), (gst_queue_get_property):
21460 Remove old unused properties.
21462 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21463 * docs/gst/gstreamer-sections.txt:
21464 * gst/gstmessage.c:
21465 * gst/gstmessage.h:
21466 * gst/gstminiobject.c:
21467 * gst/gstminiobject.h:
21471 lots of new docs and doc fixes
21473 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21475 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21477 * gst/gstregistry.c: (gst_registry_lookup_locked),
21478 (gst_registry_scan_path_level):
21479 * gst/gstregistryxml.c: (load_plugin):
21480 Only ever load one plugin for a given plugin basename.
21481 This ensures correct overriding of GST_PLUGIN_PATH over
21482 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21483 system installed plugins.
21485 2005-10-08 Wim Taymans <wim@fluendo.com>
21487 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21488 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21489 Prepare for doing QOS.
21491 2005-10-08 Wim Taymans <wim@fluendo.com>
21493 * check/gst/gstbin.c: (GST_START_TEST):
21494 * check/pipelines/cleanup.c: (GST_START_TEST):
21495 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21496 Allow new clock message too.
21498 2005-10-08 Wim Taymans <wim@fluendo.com>
21500 * gst/gstmessage.c: (gst_message_new_error),
21501 (gst_message_new_warning), (gst_message_new_tag),
21502 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21503 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21504 (gst_message_new_segment_start), (gst_message_new_segment_done),
21505 (gst_message_parse_state_changed),
21506 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21507 (gst_message_parse_new_clock):
21508 * gst/gstmessage.h:
21509 Also carry the clock in question.
21511 2005-10-08 Wim Taymans <wim@fluendo.com>
21513 * gst/gstmessage.c: (gst_message_new_custom),
21514 (gst_message_new_eos), (gst_message_new_error),
21515 (gst_message_new_warning), (gst_message_new_tag),
21516 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21517 (gst_message_new_new_clock), (gst_message_new_segment_start),
21518 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21519 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21520 * gst/gstmessage.h:
21522 Added clock related messages.
21524 * gst/gstpipeline.c: (gst_pipeline_change_state):
21525 Post message when the clock changed.
21527 * tools/gst-launch.c: (event_loop):
21530 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21532 * tools/gst-inspect.c: (print_element_properties_info):
21533 Can't pass NULL strings to g_print() on windows.
21535 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21537 * docs/Makefile.am:
21538 * docs/gst/Makefile.am:
21539 * docs/gst/gstreamer-docs.sgml:
21540 * docs/gst/running.xml:
21541 * docs/version.entities.in:
21542 add a chapter on running GStreamer.
21543 document GST_DEBUG and GST_PLUGIN* env vars
21545 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21550 remove PLUGINS_BUILDDIR stuff
21551 * gst/gst.c: (init_post):
21552 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21554 remove, it was condescending and not needed
21556 2005-10-08 Wim Taymans <wim@fluendo.com>
21558 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21559 (gst_base_sink_handle_object), (gst_base_sink_event),
21560 (gst_base_sink_wait), (gst_base_sink_handle_event),
21561 (gst_base_sink_change_state):
21562 * gst/base/gstbasesink.h:
21563 Repost EOS message while going to PLAYING if still EOS.
21564 Make sure that when receiving a FLUSH_START we don't attempt
21565 to sync on the clock anymore.
21567 2005-10-08 Wim Taymans <wim@fluendo.com>
21569 * tools/gst-launch.c: (event_loop):
21570 Better message printout.
21572 2005-10-08 Wim Taymans <wim@fluendo.com>
21574 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21575 (gst_bin_child_proxy_get_children_count):
21576 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21577 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21578 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21579 (gst_child_proxy_set_valist):
21580 * gst/parse/grammar.y:
21581 Make ChildProxy threadsafe and fix mem leaks.
21583 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21585 * gst/gst.c: (init_post):
21586 debug the GST_PLUGIN_ env vars
21588 2005-10-08 Wim Taymans <wim@fluendo.com>
21590 * check/gst/gstbin.c: (GST_START_TEST):
21591 * check/gst/gstmessage.c: (GST_START_TEST):
21592 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21593 * gst/gstelement.c: (gst_element_commit_state),
21594 (gst_element_lost_state):
21595 * gst/gstmessage.c: (gst_message_new_state_changed),
21596 (gst_message_parse_state_changed):
21597 * gst/gstmessage.h:
21598 * tools/gst-launch.c: (event_loop):
21599 Added extra field to STATE_CHANGE message with the pending
21600 state, which will be different from the new state soon.
21602 2005-10-08 Wim Taymans <wim@fluendo.com>
21604 * gst/gstbus.c: (gst_bus_pop):
21606 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21607 Small cleanups and doc updates.
21609 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21611 * gst/gst.c: (init_pre):
21612 * gst/gstbin.c: (gst_bin_add_func):
21613 log distributing clocks and base time
21614 * gst/gstregistry.c: (gst_registry_add_plugin),
21615 (gst_registry_scan_path_level), (gst_registry_scan_path):
21616 clean up the debugging output a little
21617 * gst/gstutils.c: (gst_element_state_get_name):
21618 warn about a memleak (I've actually seen this be used, though
21619 it was probably a bug)
21621 2005-10-07 Wim Taymans <wim@fluendo.com>
21623 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21624 (gst_base_src_init), (gst_base_src_default_newsegment),
21625 (gst_base_src_newsegment), (gst_base_src_do_seek),
21626 (gst_base_src_loop), (gst_base_src_start):
21627 * gst/base/gstbasesrc.h:
21628 Make the newsegment event customizable by subclasses.
21630 2005-10-07 Wim Taymans <wim@fluendo.com>
21632 * gst/gstevent.c: (gst_event_new_buffersize),
21633 (gst_event_parse_buffersize):
21635 New event for future idea.
21637 2005-10-07 Andy Wingo <wingo@pobox.com>
21639 * gst/gstelement.c (gst_element_post_message): Doc update.
21641 * docs/gst/gstreamer-sections.txt: Update.
21643 * gst/gstmessage.c (gst_message_new_application): Made into a
21644 function like honest API calls.
21645 (gst_message_new_element): New message type.
21647 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21649 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21650 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21653 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21654 NO_PREROLL from gst_element_change_state to fall through.
21656 2005-10-07 Wim Taymans <wim@fluendo.com>
21658 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21659 (gst_ghost_pad_do_activate_push):
21660 Activating a ghostpad with no internal pad in push mode
21663 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21666 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21667 Fixes compilation on Windows.
21669 2005-10-07 Michael Smith <msmith@fluendo.com>
21671 * tools/gst-inspect.c:
21672 Print out feature and plugin count at the end when printing out
21675 2005-10-04 Michael Smith <msmith@fluendo.com>
21677 * gst/gsterror.c: (_gst_stream_errors_init):
21678 Add another error string used in a few existing plugins.
21681 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21682 * tools/gst-inspect.c: (print_element_info):
21683 When a feature disappears from a plugin (and the feature exists in
21684 the cached registry file), things went horribly wrong. This isn't a
21685 complete fix, we should actually be removing the 'missing' features
21686 from the features list when we load the actual plugin. That's not
21689 2005-10-04 Johan Dahlin <johan@gnome.org>
21691 * check/gst/gstiterator.c: (GST_START_TEST):
21692 * gst/gstbin.c: (gst_bin_iterate_elements),
21693 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21694 * gst/gstelement.c: (gst_element_iterate_pads):
21695 * gst/gstformat.c: (gst_format_iterate_definitions):
21696 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21697 (gst_iterator_new_list), (gst_iterator_filter):
21698 * gst/gstiterator.h:
21699 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21700 Add a GType to GstIterator, update callsites and tests.
21702 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21704 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21705 give events a chance to be handled by event probes when the pad
21708 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21710 * gst/gstevent.c: (gst_event_type_get_name),
21711 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21713 add string representations for event types
21715 2005-10-06 Wim Taymans <wim@fluendo.com>
21717 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21718 Don't use NULL pointers.
21720 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21722 * gst/gst_private.h:
21724 * gst/gstelement.c:
21726 * gst/gstpluginfeature.c:
21727 widen the debug category in output to fit the biggest one we have
21728 add a bus category and use it
21729 play with the colors
21730 fix up some categories
21732 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21734 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21735 add push activation of sink ghost pads.
21736 Andye, please verify
21738 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21740 * gst/gstutils.c: (gst_element_link_pads):
21741 fix a bug in the case where neither element has a pad
21742 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21743 add a test for that case
21745 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21747 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21748 emit have-data before checking for peers. This allows
21749 for probe handlers to connect elements. This helps autopluggers.
21750 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21752 add six checks, linked/unlinked with no/true/false probe
21754 2005-10-04 Wim Taymans <wim@fluendo.com>
21756 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21757 (gst_fake_sink_event), (gst_fake_sink_preroll),
21758 (gst_fake_sink_render), (gst_fake_sink_change_state):
21759 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21760 (gst_fake_src_get_property), (gst_fake_src_create),
21761 (gst_fake_src_stop):
21762 * gst/elements/gstidentity.c: (gst_identity_stop):
21763 Protect last_message with lock.
21765 2005-10-04 Edward Hervey <edward@fluendo.com>
21768 Added precision in the comments for GST_FORMAT_DEFAULT
21770 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21772 * tools/gst-launch.c: (main):
21773 Don't try to run erroneous pipelines.
21775 2005-10-04 Julien MOUTTE <julien@moutte.net>
21777 * gst/gstbus.c: We don't need this header.
21779 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21782 back to development
21784 === release 0.9.3 ===
21786 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21790 Releasing 0.9.3, "Unregistered"
21792 2005-10-03 Andy Wingo <wingo@pobox.com>
21794 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21795 whereby calling a pad's activatepush() function can start a thread
21796 that starts to push or pull before the pad gets the FLUSHING flag
21797 unset. Hack around it by holding the stream lock until the flag is
21798 set. Need to replace this with a proper solution. Together with
21799 the ghost pad fixes, this fixes mp3 playing/tagreading.
21801 * docs/design/part-gstghostpad.txt: Add a note about activation of
21802 proxy pads outside of ghost pads.
21804 * gst/gstghostpad.c: Implement the ghost pad activation design.
21806 2005-10-02 Andy Wingo <wingo@pobox.com>
21808 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21809 It is volatile, after all.
21811 * docs/design/part-gstghostpad.txt: Flesh out activation with
21814 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21817 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21820 Fix (unused) AM_CONDITIONAL tests.
21822 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21824 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21826 * gst/gstutils.c: (gst_pad_query_convert):
21827 Add assertion that makes sure src_val is >=0, just like
21828 gst_query_new_convert() has. (#315895)
21830 2005-09-30 Edward Hervey <edward@fluendo.com>
21832 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21833 Let's not iterate pads we're not interested in, it avoids getting
21834 sky-high refcounts on sinkpad.
21836 2005-09-30 Wim Taymans <wim@fluendo.com>
21838 * gst/gstelement.c: (gst_element_set_state),
21839 (gst_element_change_state):
21840 Small tweak, element in ASYNC remains ASYNC.
21842 2005-09-30 Wim Taymans <wim@fluendo.com>
21844 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21845 Only error is an error.
21847 * gst/gstbin.c: (gst_bin_change_state):
21850 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21851 Also call pad_block in pad alloc.
21853 * gst/gstutils.c: (gst_flow_get_name):
21856 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21858 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21859 (gst_base_src_get_range):
21860 Fix documentation typos. Add some more debug info.
21862 2005-09-29 David Schleef <ds@schleef.org>
21864 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21865 more end-user friendly.
21866 * tools/gst-inspect.c: (main): Check if command-line argument is
21867 a file and attempt to load that file as a plugin.
21869 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21871 * check/gst/gstbin.c:
21872 * check/states/sinks.c:
21873 fix tests for the new warning
21874 * check/gst/gstpipeline.c:
21875 add a test for pipeline and bus interaction
21876 * gst/gstelement.c:
21877 elements should be NULL if they get disposed; add a warning if not
21879 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21882 for 2.6 refcounting, make debug log more correct by printing
21883 the actual refcounts at the time of swap (Wim)
21885 2005-09-29 Andy Wingo <wingo@pobox.com>
21887 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21888 removes signal watches previously added via
21889 gst_bus_add_signal_watch.
21890 (gst_bus_add_signal_watch): Don't return the source id, just store
21891 it on the bus if there wasn't an id already.
21893 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21894 add_signal_watch and remove_signal_watch.
21896 2005-09-29 Edward Hervey <edward@fluendo.com>
21898 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21899 Better if we actually iterate the list :)
21901 2005-09-29 Wim Taymans <wim@fluendo.com>
21903 * check/gst/gstbin.c: (GST_START_TEST):
21904 Change for new bus API.
21906 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21907 (send_messages), (GST_START_TEST), (gstbus_suite):
21908 Change for new bus signal API.
21910 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21911 (gst_bus_source_prepare), (gst_bus_source_check),
21912 (gst_bus_create_watch), (gst_bus_add_watch_full),
21913 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21914 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21916 Remove support for multiple GSources operating on different
21917 message types as it is too complex and unneeded when using
21919 Added support for receiving signals from the bus.
21921 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21923 * docs/libs/tmpl/gstdataprotocol.sgml:
21924 * docs/manual/advanced-dataaccess.xml:
21925 * gst/elements/gstcapsfilter.c:
21927 rename filter-caps to caps property
21929 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21931 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21932 More robust fraction string parsing.
21934 * docs/pwg/appendix-porting.xml:
21935 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21937 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21939 * gst/gstcaps.c: (gst_caps_do_simplify):
21940 Thou shalt not free a structure and then continue using it
21941 in the next loop iteration.
21943 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21945 Add test case for caps simplification.
21947 2005-09-29 Wim Taymans <wim@fluendo.com>
21949 * check/gst/gstbin.c: (GST_START_TEST):
21952 2005-09-29 Wim Taymans <wim@fluendo.com>
21954 * check/gst/gstbin.c: (GST_START_TEST):
21957 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21958 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21959 (find_element), (gst_bin_sort_iterator_next),
21960 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21961 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21962 (gst_bin_change_state), (gst_bin_dispose):
21963 A bin does not have a bus, it gets the bus from the parent.
21965 * gst/gstelement.c: (gst_element_requires_clock),
21966 (gst_element_provides_clock), (gst_element_is_indexable),
21967 (gst_element_is_locked_state), (gst_element_change_state),
21968 (gst_element_set_bus_func):
21971 * gst/gstpipeline.c: (gst_pipeline_class_init),
21972 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21973 The pipeline provides a bus.
21975 2005-09-28 Johan Dahlin <johan@gnome.org>
21977 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21978 gst_structure_get_enum instead of gst_structure_get_int
21980 * gst/gststructure.c (gst_structure_get_enum): Impl.
21982 * gst/gststructure.h (gst_structure_get_enum): Add
21984 * docs/gst/gstreamer-sections.txt: Ditto
21986 * gst/gstmessage.c (gst_message_new_state_changed): Use
21987 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21988 which does introspection.
21989 Reviewed by Christian Schaller
21991 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21993 * gst/gstinfo.c: (gst_debug_log_default):
21994 don't do dummy g_strdup()s
21995 * libs/gst/controller/gstcontroller.c:
21996 (on_object_controlled_property_changed),
21997 (gst_controlled_property_new), (gst_controller_new_valist),
21998 (gst_controller_new_list),
21999 (gst_controller_remove_properties_valist), (gst_controller_set),
22000 (gst_controller_get), (gst_controller_sync_values),
22001 (gst_controller_get_value_array), (_gst_controller_class_init),
22002 (gst_controller_get_type):
22003 * libs/gst/controller/gstcontroller.h:
22004 * libs/gst/controller/gstinterpolation.c:
22005 (gst_controlled_property_find_timed_value_node):
22006 convert // to /**/ comments
22008 2005-09-28 Wim Taymans <wim@fluendo.com>
22010 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
22011 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
22012 (gst_bus_sync_signal_handler):
22014 Added async-message and sync-message signals to the bus.
22015 Added helper BusFunc to emit signals for all posted messages.
22017 * gst/gstmessage.c: (gst_message_type_get_name),
22018 (gst_message_type_to_quark), (gst_message_get_type):
22019 * gst/gstmessage.h:
22020 Register quarks for message names.
22022 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22024 * docs/libs/gstreamer-libs-sections.txt:
22025 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22026 (gst_controller_new_list):
22027 * libs/gst/controller/gstcontroller.h:
22028 added another constructor for language bindings
22030 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22032 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22036 * gst/gstinfo.c: (_gst_debug_init):
22037 slightly more readable color for refcount debugging
22039 2005-09-28 Wim Taymans <wim@fluendo.com>
22041 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22042 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22043 (find_element), (gst_bin_sort_iterator_next),
22044 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22045 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22046 (gst_bin_change_state), (gst_bin_dispose):
22047 Small doc fixes. get_clock -> provide_clock.
22049 * gst/gstelement.c: (gst_element_class_init),
22050 (gst_element_provides_clock), (gst_element_provide_clock),
22051 (gst_element_get_clock), (gst_element_commit_state),
22052 (gst_element_lost_state):
22053 * gst/gstelement.h:
22054 Make get/set_clock() symetric. Add provide_clock vmethod since
22055 that is actually what this function does.
22057 * gst/gstpipeline.c: (gst_pipeline_class_init),
22058 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22059 (gst_pipeline_get_clock):
22060 get_clock -> provide_clock.
22062 2005-09-28 Andy Wingo <wingo@pobox.com>
22064 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22065 lieu of real docs...
22067 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22069 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22071 * gst/elements/gstcapsfilter.c:
22072 * gst/elements/gstfakesink.c:
22073 * gst/elements/gstfakesrc.c:
22074 * gst/elements/gstfdsink.c:
22075 * gst/elements/gstfdsrc.c:
22076 * gst/elements/gstfilesink.c:
22077 * gst/elements/gstfilesrc.c:
22078 * gst/elements/gstidentity.c:
22079 * gst/elements/gsttee.c:
22080 * gst/elements/gsttypefindelement.c:
22081 Make element details static.
22083 2005-09-28 Wim Taymans <wim@fluendo.com>
22085 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22086 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22087 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22088 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22089 (gst_bin_change_state), (gst_bin_dispose):
22090 Some documentation updates.
22091 Clean up dispose handlers.
22093 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22094 * gst/gstpad.c: (gst_pad_dispose):
22095 Clean up dispose handler.
22097 * gst/gstpipeline.c: (gst_pipeline_change_state):
22098 Removed spurious UNLOCK.
22100 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22102 * docs/gst/gstreamer-sections.txt:
22103 * gst/base/gstbasesrc.h:
22104 * gst/gstelement.h:
22108 * gst/gstpipeline.c:
22109 * gst/gstpipeline.h:
22112 added two new functions to the docs
22113 documents all undocumented GstXXXFlags
22114 completed some incomplete docs
22116 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22118 * gst/gstbin.c: (gst_bin_dispose):
22119 * gst/gstelement.c: (gst_element_dispose):
22120 remove now useless and leaky resurrection code in dispose
22121 * gst/base/gstbasesrc.c: (gst_base_src_init):
22122 * gst/gstelementfactory.c: (gst_element_factory_create):
22123 * gst/gstobject.c: (gst_object_set_parent):
22126 2005-09-27 Wim Taymans <wim@fluendo.com>
22128 * docs/design/part-TODO.txt:
22131 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22132 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22133 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22134 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22135 (gst_bin_change_state):
22136 * gst/gstelement.h:
22137 Remove element variable, we keep element info in the iterator now.
22139 2005-09-27 Andy Wingo <wingo@pobox.com>
22141 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22144 2005-09-27 Wim Taymans <wim@fluendo.com>
22146 * check/gst/gstbin.c: (GST_START_TEST):
22147 Enable check that works now.
22149 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22150 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22151 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22152 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22153 (gst_bin_change_state):
22155 Redid the state change algorithm using a topological sort algo.
22156 Handles all cases correctly.
22157 Exposed iterator for state change order.
22159 * gst/gstelement.h:
22160 Temp storage for state changes. Need to get rid of this soon.
22162 2005-09-27 Wim Taymans <wim@fluendo.com>
22164 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22165 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22166 (link_fold_func), (gst_pad_proxy_setcaps):
22167 Leak fixes, the fold functions need to unref the passed object and
22168 _get_parent_*() returns ref to parent.
22170 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22172 * check/gst/gstbuffer.c: (test_make_writable):
22173 Plug leak in test case and fix 'make check-valgrind'
22175 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22177 * gst/gstbuffer.c: (gst_subbuffer_init):
22178 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22179 works correctly in all circumstances (we could have just copied
22180 the parent buffer's readonly flag, but conceptually it seems
22181 cleaner to mark all subbuffers as read-only). (based on patch
22182 by Alessandro Decina, #314710).
22184 * check/gst/gstbuffer.c: (create_read_only_buffer),
22185 (test_make_writable), (test_subbuffer_make_writable),
22187 Add some tests for gst_buffer_make_writable().
22189 2005-09-27 Wim Taymans <wim@fluendo.com>
22191 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22192 use gst_object_has_ancestor().
22194 * gst/gstobject.c: (gst_object_has_ancestor):
22196 gst_object_has_ancestor() copied from gstbin.c as it is a
22199 * tests/instantiate/create.c: (create_all_elements):
22200 * tests/lat.c: (handoff_src), (handoff_sink):
22201 * tests/sched/runxml.c: (main):
22202 * tests/seeking/seeking1.c: (main):
22203 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22205 Fix compilation of some tests.
22207 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22210 Remove comment. GST_TYPE_G_ERROR is here to stay,
22211 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22212 (#316961, #300610).
22214 2005-09-26 Wim Taymans <wim@fluendo.com>
22216 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22217 Added check that shows error in state change order.
22219 2005-09-26 Wim Taymans <wim@fluendo.com>
22221 * gst/gstbin.c: (gst_bin_change_state):
22222 Make state change function use 3 queues again, we were
22223 adding elements in the wrong order.
22225 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22228 * gst/gstpad.c: (gst_pad_dispose):
22229 Added some debug info first.
22231 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22233 * docs/design/draft-push-pull.txt:
22234 * docs/design/part-events.txt:
22235 * docs/design/part-overview.txt:
22236 * docs/design/part-scheduling.txt:
22237 Replace all _pull_region() with _pull_range()
22239 2005-09-26 Andy Wingo <wingo@pobox.com>
22241 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22243 * check/gst-libs/controller.c: Update for controller api change.
22246 * tests/Makefile.am:
22247 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22248 over by GLib bug 118439.
22250 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22251 routines to a function.
22253 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22255 * libs/gst/controller/gsthelper.c:
22256 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22257 (gst_object_sync_values): Renamed from sink_values. Ugh.
22259 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22261 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22262 Renamed from controller_key, as it is exported.
22264 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22266 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22271 * gst/gstpadtemplate.h:
22274 * gst/gstqueryutils.c:
22275 * gst/gstqueryutils.h:
22276 remove queryutils headers after moving the two used functions
22277 to gstquery. also fixes build problem for gstsiddec
22279 2005-09-26 Michael Smith <msmith@fluendo.com>
22281 * tools/gst-launch.1.in:
22282 Correct documentation in manpage of debug syntax
22284 2005-09-26 Wim Taymans <wim@fluendo.com>
22286 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22287 (gst_base_src_is_seekable), (gst_base_src_change_state):
22288 Some more debugging info.
22290 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22292 * docs/gst/gstreamer-sections.txt:
22293 * gst/base/gstbasetransform.h:
22297 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22299 * docs/gst/.cvsignore:
22300 * docs/gst/tmpl/.cvsignore:
22301 * docs/gst/tmpl/gstpipeline.sgml:
22302 * docs/gst/tmpl/gstplugin.sgml:
22303 * gst/gstpipeline.c:
22306 inlined the last two docs files
22307 removed the tmpl directory from cvs (no more conflicts here!)
22309 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22311 * docs/gst/gstreamer-sections.txt:
22312 * docs/gst/tmpl/.cvsignore:
22313 * docs/gst/tmpl/gstpad.sgml:
22314 * docs/gst/tmpl/gstpadtemplate.sgml:
22316 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22317 (gst_pad_finalize), (gst_pad_set_pad_template):
22319 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22320 (gst_pad_template_class_init), (gst_pad_template_init),
22321 (gst_pad_template_dispose), (name_is_valid),
22322 (gst_static_pad_template_get), (gst_pad_template_new),
22323 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22324 (gst_pad_template_pad_created):
22325 * gst/gstpadtemplate.h:
22326 inlined two more docs
22327 factored gstpadtemplate out of gstpad
22329 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22331 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22332 (test_children_state_change_order_semi_sink):
22333 Fix test case: we can't rely on a fixed state change order when
22334 going from READY => PAUSED because the sink might commit its
22335 new state first when the first buffer created by the source
22336 reaches the sink before the source has finished its change state.
22337 (Test case still fails at times, see #316856, comment 5 onwards)
22339 2005-09-24 Wim Taymans <wim@fluendo.com>
22341 * docs/design/part-events.txt:
22342 * docs/design/part-gstbus.txt:
22343 * docs/design/part-gstpipeline.txt:
22344 * docs/design/part-messages.txt:
22345 * docs/design/part-overview.txt:
22346 * docs/design/part-segments.txt:
22350 * gst/gstelement.c:
22353 * gst/gstiterator.c:
22354 Various documentation updates.
22356 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22359 Well, that's embarassing. Luckily we weren't using
22360 GST_CLOCK_DIFF anywhere.
22362 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22364 * common/gtk-doc.mak:
22365 don't fail on building XML, FC4 slave shows a bunch of doc
22366 missing bits that I don't get
22368 * gst/gstpipeline.c:
22369 * gst/gststructure.c:
22372 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22374 * docs/design/part-gstbin.txt:
22375 * docs/design/part-gstbus.txt:
22377 Add blurb about how the bus goes into flushing mode and
22378 drops all messages when its bin goes from READY into NULL
22381 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22383 * docs/gst/gstreamer-sections.txt:
22384 * gst/gststructure.c: (gst_structure_get_clock_time):
22385 * gst/gststructure.h:
22386 add a method to get a GstClockTime out of a structure
22388 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22390 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22391 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22392 Added test to check state change order in bins (can still be made
22393 to fail here under heavy disk load; bails out with 'Push on pad
22394 fakesink:sink0, but it was not activated in push mode').
22396 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22397 Fix state change order when there is only a semi sink (#316856)
22399 * gst/gstbus.c: (gst_bus_class_init):
22400 Use _class_peek_parent(), not _class_ref(); fix docs to say
22401 'default main context' instead of 'mainloop' where that is
22404 * gst/gstelement.c: (gst_element_commit_state),
22405 (gst_element_set_state):
22406 Fix typos in debug messages
22408 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22411 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22412 * gst/gstpluginfeature.c:
22414 various doc updates
22415 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22416 change an assert into an error until it gets fixed properly
22418 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22420 * docs/gst/gstreamer-sections.txt:
22421 * docs/gst/tmpl/.cvsignore:
22422 * docs/gst/tmpl/gstelement.sgml:
22423 * docs/gst/tmpl/gstinfo.sgml:
22424 * docs/gst/tmpl/gstobject.sgml:
22425 * gst/gstelement.c:
22426 * gst/gstelement.h:
22429 * gst/gstobject.c: (gst_object_class_init):
22431 inlined 3 more biiiig doc files and added some missing docs on the fly
22433 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22435 * check/gst/.cvsignore:
22436 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22437 * gst/gstregistryxml.c: (load_plugin),
22438 (gst_registry_xml_save_plugin):
22439 put back source in registry. add checks for find_plugin.
22440 * testsuite/states/bin.c: (assert_state), (empty_bin),
22441 (test_adding_one_element), (main):
22442 * testsuite/states/locked.c: (main):
22443 some compile/run fixes
22445 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22447 * check/gst/gstvalue.c: (GST_START_TEST):
22448 fix leaks in the test itself
22450 2005-09-22 Wim Taymans <wim@fluendo.com>
22452 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22453 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22454 (gst_base_sink_query):
22455 Prepare for more accurate position reporting and query
22458 * gst/gstelement.c: (gst_element_send_event),
22459 (gst_element_set_state):
22462 2005-09-22 Wim Taymans <wim@fluendo.com>
22464 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22465 (gst_query_parse_segment):
22467 More documentation.
22468 Add segment query for future use.
22470 2005-09-22 Wim Taymans <wim@fluendo.com>
22472 * gst/gstbin.c: (gst_bin_add_func):
22473 Some more debug info.
22475 * gst/gstelement.c: (gst_element_send_event):
22476 Simplify send_event
22478 * gst/gstelement.h:
22479 Don't know how flags got broken.
22484 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22486 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22487 Add simplistic test suite for GST_TYPE_DATE serialisation and
22490 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22492 * docs/gst/gstreamer-sections.txt:
22493 * gst/gststructure.c: (gst_structure_set_valist),
22494 (gst_structure_get_date):
22495 * gst/gststructure.h:
22496 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22497 (gst_date_copy), (gst_value_compare_date),
22498 (gst_value_serialize_date), (gst_value_deserialize_date),
22499 (gst_value_transform_date_string),
22500 (gst_value_transform_string_date), (_gst_value_initialize):
22502 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22503 bunch of utility functions along with a hack that checks that
22504 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22505 is required. Part of the grand scheme in #170777.
22507 2005-09-22 Andy Wingo <wingo@pobox.com>
22509 * gst/gstconfig.h.in: Psych out gtk-doc.
22511 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22513 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22515 * tools/gst-inspect.c (print_element_list): Plug some
22516 inconsequential leaks.
22518 * gst/gstregistry.c (gst_registry_get_default): Doc.
22520 * check/gst/gstplugin.c:
22521 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22522 * gst/gstelementfactory.c (gst_element_factory_create):
22523 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22526 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22527 (gst_plugin_feature_load): Doc, don't eat refs.
22529 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22530 (gst_plugin_list_free): Doc.
22531 (gst_plugin_load_file): Doc updates.
22533 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22534 accessors returning refcounted objects, return a ref.
22536 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22537 accessor for caps. IDEMPOTENCE. Oh yes.
22539 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22541 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22543 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22544 (_gst_debug_register_funcptr):
22545 Add mutex to serialise access to the hash table with
22546 the function pointer => function name string mapping;
22547 make that hash table static scope (#316809).
22549 * gst/registries/.cvsignore:
22550 Remove left-over file.
22552 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22554 * docs/pwg/appendix-porting.xml:
22555 And something about newsegment events and caps-on-buffers to
22556 the porting guide (feel free to improve).
22558 2005-09-21 Andy Wingo <wingo@pobox.com>
22560 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22561 data and event probes on the same pad.
22562 (test_buffer_probe_once): Test that removing probes from within
22563 the probe functions works.
22565 2005-09-21 Andy Wingo <wingo@pobox.com>
22567 * check/gst/gstutils.c: New file.
22568 (test_buffer_probe_n_times): A simple buffer probe test. More to
22571 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22572 have-data::buffer, not have-data.
22573 (gst_pad_add_event_probe): Likewise for have-data::event.
22574 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22575 peer' isn't quite right yet though.
22576 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22577 (gst_pad_remove_data_probe): Change to take the guint handler_id
22578 as their arg, not the function+data, which is more glib-like.
22580 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22581 the signal emission to indicate if the data is a buffer or an
22583 (gst_pad_get_type): Initialize buffer and event quarks.
22584 (gst_pad_class_init): have-data is now a detailed signal, yes it
22587 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22589 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22590 * gst/gstutils.c: (gst_util_set_value_from_string),
22591 (gst_util_set_object_arg):
22592 Don't put functional code in g_return_if_fail() or
22593 g_return_val_if_fail() statements, otherwise things will
22594 break when G_DISABLE_CHECKS is defined during compilation.
22596 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22598 * docs/gst/tmpl/.cvsignore:
22599 * docs/gst/tmpl/gstvalue.sgml:
22602 inlied another one and added some obvious docs
22604 2005-09-21 Wim Taymans <wim@fluendo.com>
22606 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22607 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22608 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22609 (gst_fdsrc_get_property), (gst_fdsrc_create):
22610 * gst/elements/gstfdsrc.h:
22611 Properly implement fdsrc. Removed signal and timeout,
22612 better implemented somewhere else.
22614 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22616 * docs/gst/tmpl/.cvsignore:
22617 * docs/gst/tmpl/gstimplementsinterface.sgml:
22618 * gst/gstinterface.c:
22621 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22623 * docs/gst/gstreamer-sections.txt:
22624 * docs/gst/tmpl/.cvsignore:
22625 * docs/gst/tmpl/gstenumtypes.sgml:
22626 remove obsolete doc file
22628 2005-09-21 David Schleef <ds@schleef.org>
22630 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22631 little beer, fix a little leak.
22633 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22635 * docs/gst/gstreamer-docs.sgml:
22636 * docs/gst/gstreamer-sections.txt:
22637 * docs/gst/tmpl/.cvsignore:
22641 * gst/gstelement.h:
22642 * gst/gstindex.c: (gst_index_class_init):
22644 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22645 (gst_index_factory_class_init), (gst_index_factory_init),
22646 (gst_index_factory_finalize), (gst_index_factory_new),
22647 (gst_index_factory_destroy), (gst_index_factory_find),
22648 (gst_index_factory_create), (gst_index_factory_make):
22649 * gst/gstindexfactory.h:
22650 * gst/gstpluginfeature.c:
22651 * gst/gstpluginfeature.h:
22652 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22653 more docs inlined, splitted gstindex.{c,h}
22655 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22657 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22660 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22662 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22663 Set sync to FALSE by default.
22665 2005-09-20 Wim Taymans <wim@fluendo.com>
22667 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22668 (gst_base_sink_init):
22669 Make sync property settable from subclass.
22671 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22672 (gst_fake_sink_change_state):
22673 Set sync to FALSE by default.
22675 2005-09-20 Wim Taymans <wim@fluendo.com>
22677 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22678 * tools/gst-launch.c: (main):
22679 The timeout handler should have lower priority than the source
22680 so we don't timeout before popping a message with 0 timeout.
22681 Dump error messages after failed state change.
22683 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22685 * tools/gst-inspect.c: (print_element_properties_info):
22688 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22690 * check/gst/gstevent.c:
22691 * gst/elements/gstfakesink.c:
22692 * gst/elements/gstfakesink.h:
22693 remove the sync property from fakesink.
22694 has the side effect of setting sync TRUE
22695 for fakesink, which is a change. Anyone who knows how
22696 to fix this nicely in a GObject-y way, feel free.
22698 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22700 * docs/gst/gstreamer-docs.sgml:
22701 remove probe refsection
22703 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22705 * check/Makefile.am:
22706 disable valgrinding the controller test again
22707 * docs/gst/gstreamer-sections.txt:
22708 update for api-changes
22710 2005-09-20 Wim Taymans <wim@fluendo.com>
22712 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22713 (gst_base_sink_set_property), (gst_base_sink_get_property),
22714 (gst_base_sink_do_sync):
22715 * gst/base/gstbasesink.h:
22716 Added sync property to basesink to disable clock sync.
22718 2005-09-20 Andy Wingo <wingo@pobox.com>
22720 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22721 eating the caller's refcount.
22723 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22724 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22727 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22728 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22729 of GLib 2.8 public, so we can know which refcount to check in
22732 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22733 (gst_object_init): Only set the gst refcount if we're going ahead
22734 with the refcount hack.
22736 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22738 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22739 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22740 more leaks plumbed, added more debug-logging
22744 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22746 * gst/gstmessage.c:
22747 remove include of gstmemchunk.h
22749 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22751 * gst/gstclock.c: (_gst_clock_id_free):
22752 Commit from the Political Party For More Atomic CVS Commits,
22753 so that people don't waste too much of their day fishing
22754 out obvious leaks out of massive commits.
22755 Oh, and fix a pretty damn obvious leak in the memchunk
22758 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22760 * check/Makefile.am:
22761 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22762 plug mem-leak, re-add to valgrindable tests
22764 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22767 unbreak the build for those who have chronic arthritis
22768 and typing "make check" is just too taxing on the hands
22770 2005-09-20 Andy Wingo <wingo@pobox.com>
22772 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22773 really want it out, you should fix plugins at the same time.
22775 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22778 * docs/gst/gstreamer-sections.txt:
22780 added missing symbols to api docs
22781 disable ref-count hack if we have glib >= 2.8
22783 2005-09-19 David Schleef <ds@schleef.org>
22785 * docs/gst/Makefile.am: Ignore a few more internal headers
22786 * docs/gst/gstreamer-docs.sgml: Remove old sections
22787 * docs/gst/gstreamer-sections.txt: Remove old sections
22788 * docs/gst/tmpl/gstobject.sgml: update
22789 * docs/gst/tmpl/gstplugin.sgml: update
22790 * docs/gst/tmpl/gstpluginfeature.sgml: update
22791 * docs/random/ds/0.9-suggested-changes: update.
22792 * gst/Makefile.am: remove memchunk and trashstack, since they're
22794 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22795 * gst/gst.h: don't include some headers
22796 * gst/gstchildproxy.c: add gstmarshal.h
22797 * gst/gstclock.c: Don't use memchunks
22798 * gst/gstminiobject.c: Add some docs
22799 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22800 * gst/gstobject.h: same
22801 * gst/gstplugin.c: include gstmacros.h
22802 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22803 * gst/gstquery.c: don't use memchunks
22804 * gst/gstregistry.c: rename gst_registry_deinit()
22805 * gst/gstregistry.h: same
22807 2005-09-19 David Schleef <ds@schleef.org>
22809 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22810 * docs/libs/gstreamer-libs-sections.txt:
22811 * docs/libs/tmpl/gstgetbits.sgml:
22812 * docs/libs/tmpl/gstputbits.sgml:
22814 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22816 * win32/gstenumtypes.c:
22817 * win32/gstenumtypes.h:
22820 2005-09-19 Wim Taymans <wim@fluendo.com>
22822 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22823 Automatically PAUSE and RESUME a pipeline when a flushing seek
22826 2005-09-19 Andy Wingo <wingo@pobox.com>
22828 * gst/gstregistry.h: Spacing fixen.
22830 2005-09-19 Wim Taymans <wim@fluendo.com>
22832 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22833 Handle state change failure more correctly.
22835 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22837 * check/Makefile.am:
22838 * check/pipelines/cleanup.c: (run_pipeline):
22839 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22841 enable cleanup again after fixing the leak
22843 some more info on docs
22845 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22847 * check/Makefile.am:
22848 re-enable tests now that leaks are plugged
22850 * check/gst/gstbin.c:
22851 * check/gst/gstpipeline.c:
22852 add some more tests while fixing leaks
22853 * common/check.mak:
22854 make sure binaries are uptodate when valgrinding/gdbing
22856 * gst/gstelementfactory.c:
22857 remove a ref too many, and add a FIXME for when we get
22858 round to disposing of classes
22860 fix the refcounting when loading a plugin from a file and
22861 the code pretends that the pointer is the same even though
22862 of course it can change
22863 * gst/gstpluginfeature.c:
22864 unref plugins marked cached (a bit confusing as a name)
22865 as the docs state should be done
22866 various doc additions to explain refcounting
22867 * gst/gstregistry.c:
22868 * gst/gstregistryxml.c:
22871 2005-09-19 Wim Taymans <wim@fluendo.com>
22873 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22874 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22875 (send_messages), (GST_START_TEST), (gstbus_suite):
22876 * check/gst/gstpipeline.c: (GST_START_TEST):
22877 * check/pipelines/cleanup.c: (run_pipeline):
22878 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22880 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22881 (gst_bus_source_check), (gst_bus_source_dispatch),
22882 (gst_bus_create_watch), (gst_bus_add_watch_full),
22883 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22885 * tools/gst-launch.c: (event_loop):
22886 * tools/gst-md5sum.c: (event_loop):
22887 GstBusHandler -> GstBusFunc, return value has the same meaning as
22888 any other GSource (FALSE == remove source).
22889 _add_watch() and _add_watch_full() now take a MessageType mask to
22890 only handle specific types of messages.
22891 _poll() returns the GstMessage instead of the message type to avoid
22893 _have_pending() takes a MessageType mask now too.
22894 Added testsuite for multiple bus watches.
22895 Fix testsuites and applications for new bus API.
22897 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22899 * check/Makefile.am:
22900 mark a bunch of the tests as to fix until we fix them
22902 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22904 * common/check.mak:
22905 use GST_PLUGIN settings for valgrind tests as well, so we're
22906 valgrinding the correct thing
22907 * gst/gst.c: (init_post):
22910 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22912 * gst/gst.c: (init_post), (gst_deinit):
22913 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22914 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22915 * gst/gstindex.c: (gst_index_factory_class_init),
22916 (gst_index_factory_finalize):
22917 * gst/gstobject.c: (gst_object_dispose):
22918 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22919 (gst_plugin_load_file), (gst_plugin_desc_free):
22920 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22921 (gst_plugin_feature_finalize):
22922 * gst/gstregistry.c: (gst_registry_class_init),
22923 (gst_registry_init), (gst_registry_finalize),
22924 (gst_registry_get_default), (gst_registry_deinit):
22925 * gst/gstregistry.h:
22926 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22927 various cleanups and memleak plugging. make valgrind is happy now.
22929 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22931 * common/check.mak:
22932 add a check-valgrind target
22934 2005-09-18 David Schleef <ds@schleef.org>
22936 * tools/gst-inspect.c: Revert the GOption code.
22938 2005-09-17 David Schleef <ds@schleef.org>
22940 * check/Makefile.am: Fix environment variables.
22941 * check/gst/gstplugin.c: Fix for API changes.
22942 * tools/gst-inspect.c: Fix for API changes.
22943 * tools/gst-xmlinspect.c: Fix for API changes.
22944 * gst/gstelementfactory.c:
22947 * gst/gstpluginfeature.c:
22948 * gst/gstpluginfeature.h:
22949 * gst/gstregistry.c:
22950 * gst/gstregistry.h:
22951 * gst/gstregistryxml.c:
22952 * gst/gsttypefind.c:
22953 * gst/gsttypefindfactory.c:
22954 * gst/indexers/gstfileindex.c:
22955 * gst/indexers/gstmemindex.c:
22956 * gst/schedulers/Makefile.am:
22957 Change registry to keep track of both plugins and features,
22958 removing the feature tracking from plugins themselves.
22960 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22962 * check/Makefile.am:
22963 * tools/gst-register.1.in:
22964 remove gst-register
22966 2005-09-15 David Schleef <ds@schleef.org>
22968 * check/gst/gstplugin.c:
22969 * gst/gstelementfactory.c:
22971 * gst/gstpluginfeature.c:
22972 * gst/gstregistry.c:
22973 Getting tired of debugging. Disabled all the unreffing of
22974 plugins and features, which fixes the segfaults, but of
22975 course leaks like crazy. At least playbin works.
22977 2005-09-15 David Schleef <ds@schleef.org>
22979 * check/gst/gstplugin.c: (register_check_elements),
22980 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22982 * gst/elements/gsttypefindelement.c: Fix refcounting.
22983 * gst/gsttypefind.c:
22984 * gst/gsttypefindfactory.c:
22985 * gst/gsttypefindfactory.h:
22987 2005-09-15 David Schleef <ds@schleef.org>
22989 * gst/gstindex.c: get refcounting correct.
22990 * gst/gstregistry.c: Handle the case where a feature/plugin is
22993 2005-09-15 David Schleef <ds@schleef.org>
22995 * check/Makefile.am:
22996 * check/gst/gstplugin.c: Add test
22997 * gst/gstplugin.c: Fix problems noticed by testsuite
22999 * gst/gstregistry.c:
23000 * gst/gstregistry.h:
23002 2005-09-15 David Schleef <ds@schleef.org>
23004 * gst/gstplugin.c: Implement semi-decent recounting and locking
23005 in plugins and plugin features.
23007 * gst/gstpluginfeature.c:
23008 * gst/gstpluginfeature.h:
23009 * gst/gstregistry.c:
23011 2005-09-15 Michael Smith <msmith@fluendo.com>
23013 * gst/gstregistry.c: (gst_registry_get_feature_list):
23014 Implement this. Makes oggdemux work; decodebin still broken.
23016 2005-09-14 David Schleef <ds@schleef.org>
23018 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23020 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23021 * gst/check/Makefile.am:
23022 * libs/gst/controller/Makefile.am:
23023 * libs/gst/dataprotocol/Makefile.am:
23025 2005-09-14 David Schleef <ds@schleef.org>
23027 * configure.ac: Remove getbits library. Nothing uses it, and
23028 it should be in something like liboil if someone did want
23030 * libs/gst/Makefile.am:
23031 * libs/gst/getbits/Makefile.am:
23032 * libs/gst/getbits/gbtest.c:
23033 * libs/gst/getbits/getbits.c:
23034 * libs/gst/getbits/getbits.h:
23035 * libs/gst/getbits/gstgetbits_generic.c:
23036 * libs/gst/getbits/gstgetbits_i386.s:
23037 * libs/gst/getbits/gstgetbits_inl.h:
23039 2005-09-14 David Schleef <ds@schleef.org>
23041 * gst/Makefile.am: Dist glib-compat.h
23043 2005-09-14 David Schleef <ds@schleef.org>
23045 * configure.ac: Remove gst/registries, since it's no longer used.
23046 * gst/registries/Makefile.am:
23047 * gst/registries/gstlibxmlregistry.c:
23048 * gst/registries/gstlibxmlregistry.h:
23049 * gst/registries/gstxmlregistry.c:
23050 * gst/registries/gstxmlregistry.h:
23051 * gst/registries/registrytest.c:
23053 2005-09-14 David Schleef <ds@schleef.org>
23055 * gst/glib-compat.h:
23056 * gst/gstregistryxml.c:
23057 Convergence is near. Seriously.
23059 2005-09-14 David Schleef <ds@schleef.org>
23061 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23062 * gst/glib-compat.h:
23063 Attempt #4 to appease the buildbots.
23065 2005-09-14 David Schleef <ds@schleef.org>
23067 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23070 2005-09-14 David Schleef <ds@schleef.org>
23072 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23075 2005-09-14 David Schleef <ds@schleef.org>
23077 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23080 2005-09-14 David Schleef <ds@schleef.org>
23082 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23083 * gst/glib-compat.h: Add some functions that are in newer versions
23084 of glib than we care to require.
23085 * gst/gstregistryxml.c: Use them.
23087 2005-09-14 David Schleef <ds@schleef.org>
23089 * po/POTFILES.in: remove gst-register.c
23091 2005-09-14 David Schleef <ds@schleef.org>
23093 * docs/gst/gstreamer-docs.sgml:
23094 * docs/gst/gstreamer-sections.txt:
23095 * docs/gst/gstreamer.types:
23096 * docs/gst/tmpl/gstelement.sgml:
23097 * docs/gst/tmpl/gstplugin.sgml:
23098 * docs/gst/tmpl/gstpluginfeature.sgml:
23099 Documentation updates for registry changes.
23101 2005-09-14 David Schleef <ds@schleef.org>
23103 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23104 because we don't require glib-2.8.
23106 2005-09-14 David Schleef <ds@schleef.org>
23108 * gst/gstregistryxml.c: Added. Essentially moved out of the
23109 registries directory.
23111 2005-09-14 David Schleef <ds@schleef.org>
23113 * check/Makefile.am:
23114 * check/generic/states.c:
23118 * gst/gst_private.h:
23119 * gst/gstelementfactory.c:
23124 * gst/gstpluginfeature.c:
23125 * gst/gstpluginfeature.h:
23126 * gst/gstregistry.c:
23127 * gst/gstregistry.h:
23128 * gst/gstregistrypool.c: remove
23129 * gst/gstregistrypool.h: remove
23130 * gst/gsttypefind.c:
23131 * gst/gsttypefindfactory.c:
23133 * tools/Makefile.am:
23134 * tools/gst-compprep.c:
23135 * tools/gst-inspect.c:
23136 * tools/gst-register.c: remove
23137 * tools/gst-xmlinspect.c:
23138 Registry rewrite. Changes registry from being a file created
23139 by a tool into a simple cache file created automatically by
23140 libgstreamer. Removed gst-register (because it's no longer
23141 needed). Remove registry pools, because we only have one
23142 registry implementation (XML). Fix up other subsystems as
23145 2005-09-13 Michael Smith <msmith@fluendo.com>
23147 * gst/gstconfig.h.in:
23148 Don't Use windows linking attributes for MinGW. Fixes #316157
23150 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23152 * gst/gstutils.c: (set_state_async_thread_func),
23153 (gst_element_set_state_async):
23154 Apparently people think it's better if this function doesn't
23155 try to set the state to whatever state was asked for on the first
23156 call to this function for any object. Seriously.
23158 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23160 * check/gst/gstpipeline.c: (GST_START_TEST):
23161 * docs/gst/gstreamer-sections.txt:
23162 * gst/gstutils.c: (set_state_async_thread_func),
23163 (gst_element_set_state_async):
23165 add a "gst_element_set_state_async" method that
23166 sets the state and starts a thread to make sure the state
23167 change completes as best as it can
23169 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23171 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23172 codify design+behaviour in testsuite after discussion
23174 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23176 * docs/gst/tmpl/gstelement.sgml:
23177 * docs/manual/appendix-quotes.xml:
23179 * gst/gstelement.c: (gst_element_set_state):
23182 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23184 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23185 (gst_base_transform_prepare_output_buf),
23186 (gst_base_transform_handle_buffer):
23187 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23188 (gst_capsfilter_prepare_buf):
23189 Remove the requirement for sub-classes to call the parent
23190 implementation of prepare_output_buffer with a wrapper function.
23192 * gst/gsttaglist.h:
23193 * gst/gsttagsetter.h:
23194 Fix #define wrapper
23196 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23198 * docs/gst/gstreamer-sections.txt:
23201 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23203 * docs/gst/gstreamer-sections.txt:
23204 * docs/gst/tmpl/gstelement.sgml:
23205 * docs/gst/tmpl/gstplugin.sgml:
23206 * gst/gstminiobject.c:
23208 docs now stop throwing warnings
23210 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23212 * docs/gst/gstreamer-sections.txt:
23213 * docs/gst/gstreamer.types:
23214 * docs/gst/tmpl/gstpad.sgml:
23215 * docs/gst/tmpl/gsttypes.sgml:
23216 * gst/base/gstadapter.h:
23217 * gst/base/gstbasesink.h:
23218 * gst/base/gstbasesrc.h:
23224 * gst/gstelement.h:
23226 * gst/gstmessage.h:
23228 * gst/gststructure.c:
23229 * gst/registries/gstlibxmlregistry.h:
23230 various documentation fixes
23232 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23234 * docs/gst/gstreamer-sections.txt:
23235 * docs/gst/tmpl/gstvalue.sgml:
23236 rearrange gstvalue section
23237 * gst/gstutils.c: (gst_element_state_get_name):
23239 * gst/gstvalue.c: (_gst_value_initialize):
23243 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23245 * check/gst-libs/controller.c:
23246 Header include fix.
23247 * gst/base/gstbasetransform.c:
23248 (gst_base_transform_default_prepare_buf),
23249 (gst_base_transform_handle_buffer):
23250 * gst/base/gstbasetransform.h:
23251 Some more basetransform changes and fixes to enable sub-classes
23252 that modify buffer metadata only.
23253 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23254 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23255 (gst_capsfilter_prepare_buf):
23256 If the output pad has fixed allowed caps and input buffers
23257 don't have any, set the fixed caps on outgoing buffers.
23259 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23260 * check/elements/identity.c: (GST_START_TEST):
23261 Make the error a little clearer when the test fails because
23262 identity made a copy of the buffer.
23263 * docs/gst/gstreamer-sections.txt:
23264 New symbols in gstbasetransform.h
23265 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23266 (gst_base_transform_init), (gst_base_transform_transform_size),
23267 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23268 (gst_base_transform_default_prepare_buf),
23269 (gst_base_transform_get_unit_size),
23270 (gst_base_transform_buffer_alloc),
23271 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23272 (gst_base_transform_change_state),
23273 (gst_base_transform_set_passthrough),
23274 (gst_base_transform_set_in_place),
23275 (gst_base_transform_is_in_place):
23276 * gst/base/gstbasetransform.h:
23277 Change BaseTransform to separate in_place operate from same_caps
23278 output. in_place implies that the element can perform the transform
23279 on incoming buffers in-place, even if the caps on the output are
23281 Sub-class elements can now implement special buffer allocation
23282 methods for outgoing buffers if they wish to.
23283 Big documentation addition.
23284 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23285 * gst/elements/gstelements.c:
23286 Changes for basetransform modifications.
23287 * gst/elements/Makefile.am:
23288 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23289 Compile fix. Extra debug output.
23291 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23293 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23295 add tests for valid pad naming
23296 * gst/check/gstcheck.c: (gst_check_log_message_func),
23297 (gst_check_log_critical_func):
23299 remove printing of code, it is fragile when the code contains
23300 % and the line number is enough info
23301 * gst/check/gstcheck.h:
23302 * gst/gstpad.c: (gst_pad_template_new):
23305 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23308 say what CHECK flags we use
23309 * docs/libs/gstreamer-libs.types:
23310 * libs/gst/controller/Makefile.am:
23311 * libs/gst/controller/gst-controller.c:
23312 * libs/gst/controller/gst-controller.h:
23313 * libs/gst/controller/gst-helper.c:
23314 * libs/gst/controller/gst-interpolation.c:
23315 * libs/gst/controller/gstcontroller.c:
23316 * libs/gst/controller/gsthelper.c:
23317 * libs/gst/controller/gstinterpolation.c:
23318 * tools/gst-inspect.c: (print_plugin_info):
23319 we don't use dashes in header names
23321 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23323 * check/Makefile.am:
23324 * check/gst/.cvsignore:
23325 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23326 (gst_pipeline_suite), (main):
23327 adding a test for pipelines and state changes
23328 * gst/gstutils.c: (get_state_func):
23330 * gstreamer.spec.in:
23333 2005-09-08 Michael Smith <msmith@fluendo.com>
23335 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23336 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23337 (gst_file_src_is_seekable), (gst_file_src_get_size),
23338 (gst_file_src_start):
23339 * gst/elements/gstfilesrc.h:
23340 Various fixes for unseekable, unmmapable, and non-normal files, so
23341 that fallback to read() rather than mmap() works.
23342 * gst/gstevent.c: (gst_event_new_newsegment):
23343 Allow newsegment events with segment_start == segment_end, as will
23344 correctly happen if you use filesrc on a zero-size file, for
23347 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23349 * gst/gstplugin.c: (gst_plugin_load_file):
23350 Call g_module_close when we don't load the module
23352 * gst/registries/gstlibxmlregistry.c:
23353 (gst_xml_registry_get_property):
23354 Port leak fix from 0.8
23356 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23358 * docs/gst/gstreamer-docs.sgml:
23359 * docs/gst/tmpl/.cvsignore:
23360 * docs/gst/tmpl/gsttrace.sgml:
23361 * docs/gst/tmpl/gsttrashstack.sgml:
23364 * gst/gstelement.h:
23366 * gst/gstmessage.c:
23367 * gst/gstmessage.h:
23370 * gst/gsttaginterface.c:
23371 * gst/gsttaginterface.h:
23372 * gst/gsttaglist.c:
23373 * gst/gsttaglist.h:
23374 * gst/gsttagsetter.c:
23375 * gst/gsttagsetter.h:
23378 * gst/gsttrashstack.c:
23379 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23380 inlined docs for gsttrace, gsttrashstack
23382 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23385 * gst/elements/gstbufferstore.h:
23386 * gst/elements/gsttypefindelement.c:
23387 * gst/elements/gsttypefindelement.h:
23389 * gst/gsttypefind.c:
23390 * gst/gsttypefind.h:
23391 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23392 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23393 (gst_type_find_factory_dispose),
23394 (gst_type_find_factory_unload_thyself),
23395 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23396 (gst_type_find_factory_get_caps),
23397 (gst_type_find_factory_get_extensions),
23398 (gst_type_find_factory_call_function):
23399 * gst/gsttypefindfactory.h:
23400 * gst/registries/gstlibxmlregistry.c:
23401 * gst/registries/gstxmlregistry.c:
23402 splitted gsttypefind into gsttypefind, gsttypefindfactory
23404 2005-09-07 Andy Wingo <wingo@pobox.com>
23406 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23407 condition whereby the pad's task function is entered before the
23408 pad_mode variable was set.
23410 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23412 * gst/gstpad.c: (gst_pad_alloc_buffer):
23413 Catch misbehaving pad_alloc functions that don't
23414 set up caps and do it for them.
23416 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23418 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23419 test for pipe!=NULL
23420 * docs/gst/tmpl/.cvsignore:
23421 * docs/gst/tmpl/gstmemchunk.sgml:
23422 * docs/gst/tmpl/gstparse.sgml:
23423 * docs/gst/tmpl/gsttaglist.sgml:
23424 * docs/gst/tmpl/gsttagsetter.sgml:
23425 * docs/gst/tmpl/gsttypefind.sgml:
23426 * docs/gst/tmpl/gsttypefindfactory.sgml:
23427 * gst/gstmemchunk.c:
23430 * gst/gsttaginterface.c:
23431 * gst/gsttypefind.c:
23432 * gst/gsttypefind.h:
23435 === release 0.9.2 ===
23437 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23442 releasing 0.9.2, "South"
23444 2005-09-05 Andy Wingo <wingo@pobox.com>
23446 * gst/registries/gstxmlregistry.h:
23447 * gst/registries/gstxmlregistry.c: Um... resurrect...
23449 * gst/registries/gstxmlregistry.h:
23450 * gst/registries/gstxmlregistry.c: and update to newer API.
23451 Incidentally they should be a bit faster now that they don't have
23454 2005-09-05 Andy Wingo <wingo@pobox.com>
23456 * gst/registries/gstxmlregistry.h:
23457 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23458 replaced by the libxml registry a while back
23460 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23462 * docs/gst/tmpl/gstplugin.sgml:
23463 * gst/elements/gstelements.c:
23465 * gst/gstplugin.c: (gst_plugin_register_func),
23466 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23467 (gst_plugin_get_source):
23469 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23470 (gst_xml_registry_save_plugin):
23471 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23472 (gst_xml_registry_save_plugin):
23473 * tools/gst-inspect.c: (print_plugin_info):
23474 add a "source" plugin description field, to represent the source
23475 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23476 will set it to PACKAGE, which is automake's idea of the name of
23477 the source project.
23479 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23484 * docs/Makefile.am:
23485 * docs/faq/Makefile.am:
23486 * docs/gst/tmpl/gstelement.sgml:
23487 * docs/gst/tmpl/gsttypes.sgml:
23488 * docs/htmlinstall.mak:
23489 * docs/manual/Makefile.am:
23490 * docs/pwg/Makefile.am:
23491 reorganize doc build a little
23492 split out docbook and gtk-doc stuff
23493 have two separate --enable's and enable them through autogen
23494 but disable by default in configure (to be similar to other
23496 * gstreamer.spec.in:
23497 clean up docs install
23515 translation updates
23517 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23519 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23522 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23523 (gst_fake_sink_change_state):
23524 Make state change function thread-safe.
23526 * gst/gstpad.c: (gst_pad_alloc_buffer):
23527 Set offset on generic buffer allocated by fallback.
23529 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23531 * docs/gst/gstreamer-sections.txt:
23532 * docs/gst/tmpl/gstelement.sgml:
23534 * libs/gst/controller/gst-controller.c:
23535 (gst_controlled_property_set_interpolation_mode),
23536 (gst_controlled_property_new),
23537 (gst_controller_find_controlled_property):
23538 run the wingo-magic script against the docs
23540 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23542 * docs/gst/gstreamer-docs.sgml:
23543 * docs/gst/gstreamer-sections.txt:
23544 * docs/gst/tmpl/.cvsignore:
23545 * docs/gst/tmpl/gstelementdetails.sgml:
23546 * docs/gst/tmpl/gstelementfactory.sgml:
23549 * gst/gstelementfactory.c:
23550 * gst/gstelementfactory.h:
23551 merged elementdetails docs into elementfactory docs
23554 2005-09-02 Andy Wingo <wingo@pobox.com>
23556 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23557 consider this enum an enum and not a flags.
23559 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23561 * docs/gst/gstreamer-docs.sgml:
23562 * docs/gst/tmpl/.cvsignore:
23563 * docs/gst/tmpl/gstghostpad.sgml:
23564 * docs/gst/tmpl/gstiterator.sgml:
23565 * docs/gst/tmpl/gstmacros.sgml:
23566 * docs/gst/tmpl/gstrealpad.sgml:
23567 * docs/gst/tmpl/gstregistry.sgml:
23568 * docs/gst/tmpl/gstregistrypool.sgml:
23569 * docs/gst/tmpl/gststructure.sgml:
23570 * docs/gst/tmpl/gstsystemclock.sgml:
23571 * docs/gst/tmpl/gsttrace.sgml:
23572 * gst/gstghostpad.c:
23574 * gst/gstmemchunk.c:
23575 * gst/gstmemchunk.h:
23577 * gst/gstregistry.c:
23578 * gst/gstregistrypool.c:
23579 * gst/gststructure.c:
23580 * gst/gstsystemclock.c:
23583 2005-09-02 Andy Wingo <wingo@pobox.com>
23585 * gst/gstelement.h (GstState): Renamed from GstElementState,
23586 changed to be a normal enum instead of flags.
23587 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23588 munged to be GST_STATE_CHANGE_*.
23589 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23590 work with the new state representation.
23591 (GstStateChange): New enumeration of possible state transitions.
23592 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23593 (GstElementClass::change_state): Pass the GstStateChange along as
23594 an argument. Helps language bindings, so they don't have to use
23595 tricky lock-needing macros like GST_STATE_CHANGE ().
23597 * scripts/update-states (file): New script. Run it on a file to
23598 update it for state naming and API changes. Updates files in
23601 * All files updated for the new API.
23603 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23605 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23606 * gst/gstutils.c: (gst_util_set_value_from_string),
23607 (gst_util_set_object_arg):
23608 fix a bunch of unchecked return values
23609 * tools/gst-complete.c: (main):
23610 * gstreamer.spec.in:
23613 2005-09-01 Wim Taymans <wim@fluendo.com>
23615 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23616 (gst_base_sink_event), (gst_base_sink_do_sync),
23617 (gst_base_sink_handle_event):
23618 * gst/base/gstbasesink.h:
23619 Handle newsegments more correctly.
23624 * gst/gstevent.c: (gst_event_new_newsegment):
23625 A newsegment cannot have a start_time of -1
23627 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23629 * win32/gstenumtypes.c:
23630 * win32/gstenumtypes.h:
23633 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23635 * libs/gst/controller/gst-controller.c:
23636 (gst_controlled_property_set_interpolation_mode),
23637 (gst_controlled_property_new):
23638 fixed boolean again
23640 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23642 * docs/faq/gst-uninstalled:
23647 * gst/gstutils.c: (gst_element_link_filtered):
23649 add gst_element_link_filtered
23651 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23653 * docs/gst/gstreamer-docs.sgml:
23654 * docs/gst/gstreamer-sections.txt:
23655 * docs/gst/tmpl/.cvsignore:
23656 * docs/gst/tmpl/gsterror.sgml:
23657 * docs/gst/tmpl/gstfilter.sgml:
23658 * docs/gst/tmpl/gsturihandler.sgml:
23659 * docs/gst/tmpl/gsturitype.sgml:
23660 * docs/gst/tmpl/gstutils.sgml:
23661 * docs/gst/tmpl/gstxml.sgml:
23666 * gst/gsturitype.c:
23669 inlined more docs, fixed double id-ref
23671 2005-08-31 Wim Taymans <wim@fluendo.com>
23673 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23674 (gst_base_transform_handle_buffer):
23675 Passthrough elements don't need the caps as they don't care.
23677 2005-08-31 Wim Taymans <wim@fluendo.com>
23679 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23680 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23681 Don't leak refcounts on buffers.
23683 2005-08-31 Wim Taymans <wim@fluendo.com>
23685 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23686 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23687 (gst_base_transform_chain), (gst_base_transform_change_state):
23688 * gst/base/gstbasetransform.h:
23689 Handle the case where we are not negotiated more gracefully.
23691 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23693 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23694 (gst_file_src_map_region):
23695 Set READONLY flag on mmap'ed buffers, otherwise
23696 gst_buffer_make_writable() won't work properly (#314708).
23698 2005-08-31 Wim Taymans <wim@fluendo.com>
23700 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23701 passthrough elements can even do inplace on non writable
23702 buffers (as they don't touch them).
23704 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23706 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23707 (gst_test_mono_source_set_property),
23708 (gst_test_mono_source_class_init), (GST_START_TEST),
23709 (gst_controller_suite):
23710 more tests (hehe I have the most)
23712 describe popping messages whenusing mulltiple sources
23713 * libs/gst/controller/gst-controller.c:
23714 (gst_controlled_property_set_interpolation_mode),
23715 (gst_controlled_property_new):
23716 * libs/gst/controller/gst-controller.h:
23717 * libs/gst/controller/gst-interpolation.c:
23718 implement boolean properties
23720 2005-08-31 Wim Taymans <wim@fluendo.com>
23722 * gst/gstminiobject.c: (gst_mini_object_ref):
23723 Cannot assert that the refcount has to be positive
23724 since a disposed object can be resurrected.
23726 2005-08-31 Wim Taymans <wim@fluendo.com>
23728 * gst/gstpad.c: (gst_pad_init):
23729 Revert change, need to first fix badly behaving
23732 2005-08-30 Wim Taymans <wim@fluendo.com>
23734 * check/elements/fakesrc.c: (setup_fakesrc):
23735 * check/elements/identity.c: (setup_identity):
23736 Activate pads before using them.
23738 2005-08-30 Wim Taymans <wim@fluendo.com>
23740 * gst/base/gstadapter.c: (gst_adapter_flush):
23741 Flushing out 0 bytes is ok for this function.
23743 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23744 no newsegment gives a warning and sets the start/stop to
23747 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23748 (gst_base_transform_set_passthrough):
23751 * gst/gstminiobject.c: (gst_mini_object_ref):
23752 Check refcount here too.
23754 * gst/gstpad.c: (gst_pad_init):
23755 Pads are initially flushing and refusing data.
23757 * gst/gstutils.c: (gst_element_link_pads_filtered):
23758 When adding a capsfilter element make sure it has the
23759 same state as the parent bin.
23761 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23763 * docs/gst/tmpl/.cvsignore:
23764 * docs/gst/tmpl/gstformat.sgml:
23765 * docs/gst/tmpl/gstversion.sgml:
23769 * gst/gstversion.h.in:
23770 more docs and two more inlined
23772 2005-08-30 Wim Taymans <wim@fluendo.com>
23774 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23775 Don't sync to clock.
23777 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23779 * docs/gst/gstreamer-sections.txt:
23780 ultral33t func10ns deserve to appear in the docs actually
23781 * docs/gst/tmpl/.cvsignore:
23782 * docs/gst/tmpl/gstcompat.sgml:
23783 * docs/gst/tmpl/gstconfig.sgml:
23784 * gst/check/gstcheck.c:
23786 * gst/gstconfig.h.in:
23789 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23791 * docs/gst/tmpl/.cvsignore:
23792 * docs/gst/tmpl/gstquery.sgml:
23793 * docs/gst/tmpl/gstutils.sgml:
23796 inlined and extended docs
23798 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23800 * check/gst-libs/controller.c: (GST_START_TEST),
23801 (gst_controller_suite):
23803 * docs/gst/tmpl/gstutils.sgml:
23804 * docs/libs/gstreamer-libs-sections.txt:
23805 * docs/libs/tmpl/gstdataprotocol.sgml:
23807 * examples/controller/audio-example.c: (main):
23808 controller example works now
23811 * tools/gst-inspect.c: (print_element_properties_info):
23812 show param spec flags
23814 2005-08-29 Andy Wingo <wingo@pobox.com>
23816 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23818 2005-08-28 Andy Wingo <wingo@pobox.com>
23820 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23821 as having two arguments instead of just one. Allows superclasses
23822 to access information on subclasses -- see the terrible for() loop
23823 in gtype.c:g_type_create_instance for the reason why. All callers
23826 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23828 * docs/design/part-messages.txt:
23830 * docs/gst/tmpl/.cvsignore:
23831 * docs/gst/tmpl/gstcaps.sgml:
23832 * docs/gst/tmpl/gstclock.sgml:
23838 * gst/gstmessage.c:
23839 added descriptions for bus and message
23840 inline caps and clock docs
23842 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23844 * gst/gstmessage.c:
23845 * gst/gstmessage.h:
23848 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23850 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23853 2005-08-26 Andy Wingo <wingo@pobox.com>
23855 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23856 element_set_state's return val.
23857 (test_2_elements): Add test that's been disabled for months.
23859 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23860 can-activate-pull properties.
23862 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23863 can-activate-pull properties. Implement is_seekable so fakesrc can
23864 operate in pull mode.
23866 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23868 (gst_base_sink_activate, gst_base_sink_activate_pull)
23869 (gst_base_sink_activate_push): Make activation mode choosing work.
23871 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23872 is right. Make pull mode work. Post an eos before pausing in pull
23874 (gst_base_sink_change_state): Pay attention to the core's
23875 change_state() return val.
23877 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23878 has-getrange properties. Cleanups.
23880 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23881 has_getrange and replace with can_activate_pull and
23884 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23885 locking comments. Remove has_loop, has_chain and replace with
23886 can_activate_pull and can_activate_push.
23888 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23891 * examples/Makefile.am:
23892 * examples/metadata/Makefile.am:
23893 * examples/metadata/read-metadata.c: (message_loop),
23894 (have_pad_handler), (make_pipeline), (print_tag), (main):
23895 Add metadata reading example that loops over a list of filenames,
23896 dumping any tags found.
23898 * gst/gstbus.c: (gst_bus_dispose):
23899 * gst/gstelement.c: (gst_element_dispose):
23900 Release a few potentially-held references in dispose.
23902 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23904 * docs/gst/tmpl/gstminiobject.sgml:
23905 do *not* add tmpl/*.sgml files to CVS!
23907 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23909 * libs/gst/bytestream/.cvsignore:
23910 * libs/gst/bytestream/Makefile.am:
23911 * libs/gst/bytestream/adapter.c:
23912 * libs/gst/bytestream/adapter.h:
23913 * libs/gst/bytestream/bytestream.c:
23914 * libs/gst/bytestream/bytestream.h:
23915 * libs/gst/bytestream/filepad.c:
23916 * libs/gst/bytestream/filepad.h:
23917 removing obsolete files
23919 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23921 * docs/gst/gstreamer-docs.sgml:
23922 * docs/libs/gstreamer-libs-docs.sgml:
23923 disabed additional index entries again, as this makes docs-gen just
23924 slow and they aren't useful yet
23925 * docs/libs/gstreamer-libs-sections.txt:
23926 little -section.txt cleanup for libs
23928 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23930 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23931 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23932 fix up some debugging
23933 (gst_base_transform_get_unit_size),
23934 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23935 (gst_base_transform_handle_buffer):
23936 * gst/base/gstbasetransform.h:
23937 handle and store timed NEWSEGMENT events so that subclasses that
23938 calculate time by counting samples have a segment_start time they
23939 need to add to their timestamps - see audioresample
23941 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23944 removed ';' from the end of macro defs
23945 * docs/gst/gstreamer-docs.sgml:
23946 * docs/gst/gstreamer-sections.txt:
23947 * docs/gst/tmpl/.cvsignore:
23949 * gst/gstelement.c: (gst_element_class_init),
23950 (gst_element_set_state), (activate_pads),
23951 (gst_element_save_thyself):
23952 * gst/gstevent.c: (gst_event_new_newsegment):
23954 * gst/gstiterator.c:
23955 * gst/gstiterator.h:
23958 * gst/gstutils.c: (gst_pad_query_convert):
23960 fixed parameter name mismatches between source, header and docs
23961 added some more docs, resolved the last batch of unused elements in
23962 docs (now someone needs to doc them)
23964 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23966 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23967 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23968 don't walk through the plugins backwards. Where is all this
23969 reversed logic coming from ?
23971 2005-08-25 Wim Taymans <wim@fluendo.com>
23973 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23974 (gst_base_transform_transform_size),
23975 (gst_base_transform_configure_caps),
23976 (gst_base_transform_get_unit_size),
23977 (gst_base_transform_buffer_alloc),
23978 (gst_base_transform_change_state):
23979 * gst/base/gstbasetransform.h:
23980 Cache caps unit_size.
23981 Make sure we cannot negotiate up and downstream at the
23984 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23986 * gst/gst.c: (init_pre), (init_post):
23987 register the installed plugin path after the env var
23988 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23989 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23990 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23991 directories, so the tests can prefer uninstalled over installed
23993 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23995 * gst/base/gstbasetransform.h:
24000 2005-08-25 Wim Taymans <wim@fluendo.com>
24002 * gst/gstbin.c: (bin_bus_handler):
24003 Be a bit more conservative about the posted message.
24005 * gst/gstbus.c: (gst_bus_post):
24006 Some cleanups, warn wrong return values.
24008 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
24010 * check/gst/gstbin.c: (GST_START_TEST):
24011 * gst/gstbin.c: (bin_bus_handler):
24012 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24013 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24014 (gst_message_new_warning), (gst_message_new_tag),
24015 (gst_message_new_state_changed), (gst_message_new_segment_start),
24016 (gst_message_new_segment_done), (gst_message_new_custom):
24017 * gst/gstmessage.h:
24018 * tools/gst-launch.c: (event_loop):
24019 * tools/gst-md5sum.c: (event_loop):
24020 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24022 2005-08-25 Wim Taymans <wim@fluendo.com>
24024 * check/generic/states.c: (GST_START_TEST):
24025 Cleanup can be done at the end.
24027 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24028 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24029 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24030 Oh boy.. Thanks for finding this, Thomas.
24032 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24034 * docs/gst/gstreamer.types:
24035 added missing types
24037 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24039 * docs/gst/gstreamer-docs.sgml:
24040 * docs/gst/gstreamer-sections.txt:
24041 * docs/gst/tmpl/.cvsignore:
24043 * gst/gstiterator.c:
24045 * gst/registries/gstxmlregistry.h:
24046 added missing classes and symbols (123 more to go)
24047 removed removed symbols from section file
24048 fixed many doc-comments
24050 2005-08-24 Wim Taymans <wim@fluendo.com>
24052 * check/generic/states.c: (GST_START_TEST):
24053 Make sure all tasks are stopped.
24055 * check/gst/gstbin.c: (GST_START_TEST):
24056 Unref after usage for proper valgrinding.
24058 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24059 Really wait for the task to stop before destroying the
24062 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24063 (gst_queue_src_activate_push):
24064 Small cleanups. Don't stop the task when we did not start
24067 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24068 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24069 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24072 Protect the stream lock with the object lock.
24073 Disallow setting the stream lock when running.
24074 Add cleanup_all to wait for the threadpool to finish.
24075 Remove code to autoallocate a mutex if none was provided.
24076 Add _join() to wait for a task to stop.
24077 Protect the thread pool with a global lock.
24079 2005-08-24 Wim Taymans <wim@fluendo.com>
24081 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24082 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24083 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24084 * gst/base/gstbasesink.h:
24085 Handle newsegment events correctly.
24086 Drop buffers out of the segment range.
24088 2005-08-22 Andy Wingo <wingo@pobox.com>
24090 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24091 macro, implements an interface and gstimplementsinterface for a
24094 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24096 * check/Makefile.am:
24097 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24098 add a test that does a bunch of state changes on elements
24099 needs some fixing for valgrind
24100 * check/states/sinks.c: (gst_object_suite):
24103 add prototype for gst_caps_is_equal_fixed
24105 * gst/gstregistrypool.c:
24108 2005-08-24 Andy Wingo <wingo@pobox.com>
24110 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24111 convert a negative value. Doesn't make much sense. Mostly this is
24112 here to force callers to ensure -1 maps to -1.
24114 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24116 * docs/pwg/advanced-types.xml:
24117 Well done to Michael for catching my deliberate introduction
24118 of this spelling mistake.
24119 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24120 * gst/gstelement.h:
24121 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24122 unlink pads before removing the element from the bin.
24124 2005-08-24 Andy Wingo <wingo@pobox.com>
24126 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24127 the same thing as GST_DEBUG=*:4.
24128 (parse_debug_level, parse_debug_category): New helper parsers.
24130 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24132 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24133 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24134 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24135 (gst_base_transform_buffer_alloc),
24136 (gst_base_transform_handle_buffer):
24137 use gboolean return values and pointers to size so we can use the
24138 full GST_BUFFER_SIZE range (guint) for buffer sizes
24139 use GstPadDirection for transform_caps
24140 * gst/base/gstbasetransform.h:
24141 rename get_size to get_unit_size since that's what it is
24142 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24143 use GstPadDirection for transform_caps
24144 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24146 cleanup and debugging
24148 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24150 * gst/gstelement.c: (gst_element_class_init),
24151 (gst_element_set_state), (activate_pads),
24152 (gst_element_save_thyself):
24153 * tools/gst-compprep.c: (main):
24154 * tools/gst-inspect.c: (print_element_properties_info):
24155 * tools/gst-xmlinspect.c: (print_element_properties):
24156 Fixed long standing mem-leak
24158 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24160 * check/gst/gstbin.c: (GST_START_TEST):
24161 * gst/gstbin.c: (bin_bus_handler):
24162 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24163 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24164 (gst_message_new_warning), (gst_message_new_tag),
24165 (gst_message_new_state_changed), (gst_message_new_segment_start),
24166 (gst_message_new_segment_done), (gst_message_new_custom):
24167 * gst/gstmessage.h:
24168 * tools/gst-launch.c: (event_loop):
24169 * tools/gst-md5sum.c: (event_loop):
24170 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24171 that applications can sensibly post custom messages with references
24172 to their own objects.
24174 2005-08-24 Andy Wingo <wingo@pobox.com>
24176 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24179 2005-08-24 Wim Taymans <wim@fluendo.com>
24181 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24182 (gst_base_transform_transform_caps),
24183 (gst_base_transform_transform_size),
24184 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24185 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24186 (gst_base_transform_handle_buffer):
24187 * gst/base/gstbasetransform.h:
24188 Many fixes and new features added by Thomas. Can now also do
24189 transforms with variable sizes and a custom fixate_caps function.
24191 2005-08-24 Wim Taymans <wim@fluendo.com>
24193 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24197 Cast to ClockTime before formatting to time.
24202 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24204 * check/gst-libs/controller.c: (GST_START_TEST),
24205 (gst_controller_suite):
24206 * docs/gst/tmpl/gstcaps.sgml:
24207 * docs/gst/tmpl/gstghostpad.sgml:
24208 * docs/gst/tmpl/gstquery.sgml:
24209 * docs/gst/tmpl/gstutils.sgml:
24210 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24211 (gst_object_sink_values), (gst_object_get_value_arrays),
24212 (gst_object_get_value_array):
24213 gracefully handle helper method calls to objects that are not beeing
24214 controlled, added test case for that
24216 2005-08-23 Wim Taymans <wim@fluendo.com>
24218 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24219 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24220 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24221 (gst_event_parse_qos), (gst_event_new_seek),
24222 (gst_event_parse_seek):
24224 Some more debugging output and doc cleanups.
24226 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24227 Fix possible deadlock.
24229 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24231 * docs/gst/gstreamer-docs.sgml:
24232 * docs/gst/gstreamer-sections.txt:
24233 * docs/gst/gstreamer.types:
24234 * docs/gst/tmpl/.cvsignore:
24237 * gst/gstelement.c:
24239 added 100 symbols from gstreamer-unused.txt to the right sections
24240 fixed more broken comments
24241 added GstBus to docs
24243 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24245 * docs/gst/gstreamer-sections.txt:
24246 * docs/gst/tmpl/.cvsignore:
24247 * docs/gst/tmpl/gstbin.sgml:
24248 * docs/gst/tmpl/gstbuffer.sgml:
24249 * gst/base/gstbasesrc.c:
24250 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24253 * tools/gst-launch.1.in:
24254 inlined more doc comments, added missing comments and fixed comments
24257 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24259 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24263 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24265 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24266 * gst/gststructure.h:
24267 add a fixate function for booleans; add a FIXME that these func
24268 names should probably be gst_structure_fixate_*
24270 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24272 * docs/gst/gstreamer-docs.sgml:
24273 * docs/gst/gstreamer-sections.txt:
24275 * gst/gstbin.c: (gst_bin_get_type),
24276 (gst_bin_child_proxy_get_child_by_index),
24277 (gst_bin_child_proxy_get_children_count),
24278 (gst_bin_child_proxy_init):
24279 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24280 (gst_child_proxy_get_child_by_index),
24281 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24282 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24283 (gst_child_proxy_get), (gst_child_proxy_set_property),
24284 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24285 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24286 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24287 * gst/gstchildproxy.h:
24288 * gst/parse/grammar.y:
24289 * tools/gst-inspect.c: (print_interfaces),
24290 (print_element_properties_info), (print_element_info):
24291 ported gstchildproxy over from 0.8
24292 ported gst-inspect fixes and enhancements over from 0.8
24294 2005-08-22 Wim Taymans <wim@fluendo.com>
24296 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24297 (gst_base_transform_handle_buffer):
24298 Also call the transform function if we have ANY caps.
24300 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24303 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24305 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24306 Don't pretend to handle seek events if the source is not seekable
24308 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24310 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24311 Remove extra parameter to debug output
24313 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24314 (gst_base_src_do_seek), (gst_base_src_activate_push):
24315 Fix seek event handling.
24317 * gst/gstpipeline.c: (gst_pipeline_change_state):
24318 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24319 (gst_queue_src_activate_push):
24320 Don't start the src pad task on FLUSH_STOP if the pad
24324 2005-08-22 Wim Taymans <wim@fluendo.com>
24326 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24327 Added check for gst_static_caps_get() refcounting.
24329 2005-08-22 Wim Taymans <wim@fluendo.com>
24331 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24332 Make _static_caps_get() refcounting sane.
24334 * gst/gstelement.c: (gst_element_set_state):
24335 Add g_return_val_if_fail() to protect against segfaults.
24337 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24339 * docs/gst/tmpl/gstevent.sgml:
24342 inlined remaining docs, added missing doc comments
24344 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24346 * check/gst/gstbin.c: (GST_START_TEST):
24347 since we don't know when preroll is done, use refcount range
24349 * gst/check/gstcheck.h:
24350 add macro for checking refcount range
24352 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24354 * check/Makefile.am:
24355 clean up environment for when registry gets built versus
24356 when actual tests are run; valgrind seems to not report
24357 leaks if GST_PLUGIN_PATH is set to some specific values
24358 * check/gst/gstbin.c: (GST_START_TEST):
24359 add more refcounting checks; maybe this exposes a
24361 * common/check.mak:
24362 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24363 * gst/check/gstcheck.h:
24364 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24365 (gst_bin_change_state):
24366 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24367 add/fix debugging/whitespace
24369 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24371 * check/gst/gstevent.c: (event_probe), (test_event),
24373 Er, don't call gst_bin_watch_for_state_change you idiot.
24375 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24377 * check/Makefile.am:
24378 Use CHECK_CFLAGS and CHECK_LIBS
24379 * check/gst/gstevent.c: (event_probe), (test_event),
24382 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24383 (gst_base_src_start), (gst_base_src_stop),
24384 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24385 (gst_base_src_change_state):
24386 Sprinkle gst_base_src_stop liberally around error paths to fix
24387 problems reusing a source after failed state changes.
24388 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24389 (helper_find_suggest), (gst_type_find_helper):
24390 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24392 * docs/gst/tmpl/gstevent.sgml:
24393 Migrate part of the docs from the SGML file. Wait for ensonic to
24394 tell me how I did it wrong ;)
24395 * tools/gst-typefind.c: (main):
24396 Extra robustness to state changes between files.
24398 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24400 * check/Makefile.am:
24401 don't valgrind the controller test - it's leaking - Stefan, HELP
24402 * gst/check/gstcheck.c: (gst_check_message_error),
24403 (gst_check_chain_func), (gst_check_setup_element),
24404 (gst_check_teardown_element), (gst_check_setup_src_pad),
24405 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24406 (gst_check_teardown_sink_pad):
24407 * gst/check/gstcheck.h:
24408 add a bunch of methods to set up elements, and src and sink pads
24409 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24410 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24413 * gst/gstmessage.c:
24415 whitespace/doc fixes
24417 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24419 * gst/gstelement.h:
24420 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24421 be handled by the application and not always printed as well
24423 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24425 * check/Makefile.am:
24427 * gst/check/gstcheck.c: (gst_check_message_error):
24428 * gst/check/gstcheck.h:
24429 add a fail_unless_equals_int
24430 add fail_unless for error messages
24432 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24434 * check/Makefile.am:
24436 * common/Makefile.am:
24437 * common/check.mak:
24439 factor out some of the common stuff so we can use it
24441 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24443 * check/Makefile.am:
24444 * check/gst/gstiterator.c: (GST_START_TEST):
24445 * check/gst/gstsystemclock.c: (GST_START_TEST),
24446 (gst_systemclock_suite):
24447 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24449 valgrind more tests
24451 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24453 * check/elements/.cvsignore:
24454 * check/elements/gstfakesrc.c:
24455 rename to name of element
24456 * check/elements/identity.c: (chain_func), (event_func),
24457 (setup_identity), (cleanup_identity), (GST_START_TEST),
24458 (identity_suite), (main):
24459 add a test for identity
24460 * check/Makefile.am:
24461 * pkgconfig/Makefile.am:
24462 * pkgconfig/gstreamer-check.pc.in:
24463 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24467 move the check stuff to a library that gets installed
24468 * check/gst-libs/controller.c: (GST_START_TEST):
24469 * check/gst-libs/gdp.c:
24470 * check/gst/gst.c: (GST_START_TEST):
24471 * check/gst/gstbin.c:
24472 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24473 * check/gst/gstbus.c:
24474 * check/gst/gstcaps.c: (GST_START_TEST):
24475 * check/gst/gstelement.c:
24476 * check/gst/gstghostpad.c:
24477 * check/gst/gstiterator.c:
24478 * check/gst/gstmessage.c:
24479 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24480 * check/gst/gstobject.c:
24481 * check/gst/gstpad.c: (GST_START_TEST):
24482 * check/gst/gststructure.c: (GST_START_TEST):
24483 * check/gst/gstsystemclock.c: (GST_START_TEST),
24484 (gst_systemclock_suite):
24485 * check/gst/gsttag.c: (gst_tag_suite):
24486 * check/gst/gstvalue.c:
24487 * check/pipelines/cleanup.c:
24488 * check/pipelines/simple_launch_lines.c:
24489 * check/states/sinks.c:
24490 change include statement
24492 * docs/gst/gstreamer-sections.txt:
24493 * docs/gst/tmpl/gstpad.sgml:
24494 document more pad stuff
24495 * gst/gstminiobject.c: (gst_mini_object_ref),
24496 (gst_mini_object_unref):
24499 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24501 * docs/gst/tmpl/gst.sgml:
24503 eliminate another tmpl file, fix spelling in the long-description
24505 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24507 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24508 (test_event), (timediff), (gstevents_suite):
24509 Should fix build on 64-bit arch's
24511 2005-08-18 Andy Wingo <wingo@pobox.com>
24513 Make sure that when a pipeline goes to PLAYING, that data has
24514 actually hit the sink.
24516 * check/states/sinks.c (test_sink): A sink that doesn't get any
24517 data shouldn't return SUCCESS for going to either PLAYING or
24518 PAUSED. Test also the return values on the way back down.
24520 * gst/gstelement.c (gst_element_set_state): When changing the
24521 state of an element currently changing state asynchronously, go to
24522 lost-state after commiting the pending state. Makes future calls
24523 to get_state continue to return ASYNC.
24525 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24526 ASYNC when going to PLAYING if we still don't have preroll, as can
24527 happen with live sources.
24529 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24531 * docs/pwg/advanced-types.xml:
24532 Hack long paragraph into 2 chunks as a workaround for buggy
24533 jadetex version in sid and breezy that loops infinitely and
24536 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24538 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24539 (test_event), (timediff), (gstevents_suite):
24540 Provide more error margin in clock measurements to allow for
24541 g_get_current_time inaccuracies.
24543 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24545 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24546 (test_event), (timediff), (gstevents_suite):
24547 Fix error message output so I might be able to tell why the
24548 test works here but fails on the build farm.
24550 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24552 * check/Makefile.am:
24553 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24554 (test_event), (timediff), (gstevents_suite), (main):
24557 * docs/design/part-seeking.txt:
24558 Spelling correction
24560 * docs/gst/tmpl/gstevent.sgml:
24561 * docs/gst/tmpl/gstfakesrc.sgml:
24564 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24565 Treat a buffer-without-newsegment the same as a receiving
24566 a newsegment not in time format, and disable syncing to the clock
24569 * gst/gstbus.c: (gst_bus_set_sync_handler):
24570 Assert if anyone tries to replace the existing sync_handler for bus,
24571 as only the owner should be setting it.
24574 Have a fixed set of custom event enums with events identified by
24575 their structure name (as in 0.8), rather than a free-for-all
24576 allowing collisions between enum values from different plugins.
24578 * gst/gstpad.c: (gst_pad_class_init):
24581 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24582 Handle out-of-band downstream events from the sending thread.
24584 2005-08-17 Andy Wingo <wingo@pobox.com>
24586 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24587 play-timeout==0 to mean no timeout at all. In that case, don't
24588 bother with a get_state or a warning, just return directly, even
24591 * gst/base/gstbasetransform.c: Debug changes.
24594 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24595 ensure bins post state change messages. A bit of a hack but I can't
24596 think of a way to avoid it.
24598 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24600 2005-08-16 Andy Wingo <wingo@pobox.com>
24602 * gst/base/gstadapter.h:
24603 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24604 peek() but you own the data. Not terribly efficient atm.
24606 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24608 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24609 (gst_element_found_tags):
24611 Add two utility functions for tag handling.
24613 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24615 * docs/manual/advanced-dataaccess.xml:
24616 * docs/manual/basics-helloworld.xml:
24617 Fix docs to use _bin_add() before _link(), which fixes the examples
24618 with recent core versions (reported by Madhan Raj M
24619 <raj_madan@rediffmail.com>, #313199).
24621 2005-08-16 Wim Taymans <wim@fluendo.com>
24623 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24624 Added subtract checks.
24626 * docs/design/part-events.txt:
24627 Some more docs about newsegment
24629 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24632 * gst/gstcaps.c: (gst_caps_to_string):
24633 Add comments, cleanups.
24635 * gst/gstelement.c: (gst_element_save_thyself):
24638 * gst/gstvalue.c: (gst_value_collect_int_range),
24639 (gst_string_unwrap), (gst_value_union_int_int_range),
24640 (gst_value_union_int_range_int_range),
24641 (gst_value_intersect_int_int_range),
24642 (gst_value_intersect_int_range_int_range),
24643 (gst_value_intersect_double_double_range),
24644 (gst_value_intersect_double_range_double_range),
24645 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24646 (gst_value_subtract_int_range_int),
24647 (gst_value_subtract_double_range_double),
24648 (gst_value_subtract_double_range_double_range),
24649 (gst_value_subtract_from_list), (gst_value_subtract_list),
24650 (gst_value_can_compare), (gst_value_compare_fraction):
24651 Cleanups, add comments, remove unneeded asserts.
24653 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24655 * tools/gst-launch.c: (event_loop):
24656 don't convert NULL structures to strings
24658 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24660 * docs/gst/gstreamer-sections.txt:
24661 made some defines private
24662 * docs/gst/tmpl/gstconfig.sgml:
24663 * docs/gst/tmpl/gstqueue.sgml:
24664 * docs/gst/tmpl/gsttaglist.sgml:
24665 * docs/gst/tmpl/gsttypes.sgml:
24666 * docs/gst/tmpl/gstutils.sgml:
24667 * docs/pwg/appendix-porting.xml:
24668 * gst/base/gstbasesink.h:
24669 * gst/base/gstbasesrc.c:
24670 * gst/base/gstbasesrc.h:
24671 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24672 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24673 * gst/gstelement.c: (gst_element_class_init):
24674 * gst/gstpad.c: (gst_pad_class_init):
24675 * gst/gstqueue.c: (gst_queue_class_init):
24676 * gst/gstxml.c: (gst_xml_class_init):
24677 documented all undocumented signal inline
24678 * libs/gst/controller/gst-controller.h:
24681 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24683 * docs/pwg/appendix-porting.xml:
24684 Document _set_link_function -> _set_setcaps_function.
24686 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24688 * check/Makefile.am:
24689 add a .check target for running the check
24690 * check/gst-libs/controller.c: (GST_START_TEST):
24692 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24693 complete checks for gstbuffer; would be nice if I could get the
24694 gcov stuff to work so I can see if I actually completed gstbuffer.c
24695 * check/gstcheck.h:
24696 add ASSERT_BUFFER_REFCOUNT
24698 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24700 * docs/gst/gstreamer-sections.txt:
24701 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24703 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24704 spew out a warning if a tag that is already registered
24705 is re-registered, unless it is re-registered with a
24706 different type (#308438).
24708 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24710 * docs/pwg/appendix-porting.xml:
24711 * docs/pwg/building-state.xml:
24712 Add some paragraphs about state changes in 0.9 to the PWG
24713 and the porting guide, in particular about the new meaning
24714 of GST_STATE_PAUSED and how to write state change functions
24715 with concurrent access by multiple threads in mind.
24717 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24719 * docs/gst/gstreamer-docs.sgml:
24720 * docs/libs/gstreamer-libs-docs.sgml:
24721 added deprecation and since indexes
24722 * libs/gst/controller/gst-controller.c:
24723 * libs/gst/controller/gst-helper.c:
24727 2005-08-11 Wim Taymans <wim@fluendo.com>
24729 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24730 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24731 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24732 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24733 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24734 (gst_ghost_pad_set_target):
24735 Actually implement (re)setting the target on a ghostpad
24736 as described in the docs.
24738 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24740 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24741 Check whether GST_DEBUG_NO_COLOR environment variable is
24742 set and disable coloured debug output if that is the case.
24744 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24746 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24747 (gst_type_find_helper):
24748 The memory returned by gst_type_find_peek() needs to
24749 stay valid until the end of a typefind function, and
24750 typefind functions may keep results from different
24751 offsets around, so we can't just unref the buffer from
24752 the previous _peek(), but have to save all buffers
24753 returned by _peek() until typefinding is done and only
24756 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24758 * docs/gst/gstreamer-sections.txt:
24760 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24762 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24764 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24765 Fix a pretty good memleak.
24767 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24769 * gst/gstiterator.h:
24770 Fix wrong include and 'make distcheck'.
24772 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24774 * gst/gstbin.c: (bin_bus_handler):
24775 Use gst_element_post_message() instead.
24777 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24779 * gst/base/gstadapter.h:
24780 * gst/base/gstbasesink.h:
24781 * gst/base/gstbasesrc.h:
24782 * gst/base/gstbasetransform.h:
24783 * gst/base/gstcollectpads.h:
24784 * gst/base/gstpushsrc.h:
24785 * gst/gstiterator.h:
24786 Add padding to our base elements' class and instance structs and
24787 to GstIterator (you will need to rebuild all plugins and apps!)
24789 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24791 * gst/gstbin.c: (bin_bus_handler):
24792 Make default message forwarding from child->bus to bin->bus
24793 threadsafe and make it not emit warnings if the parent has no bus.
24795 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24797 * gst/gstelement.c: (activate_pads):
24798 On paused->ready, set pad->caps to NULL, as is the documented
24799 behaviour in this state change. Fixes playback of series of
24800 media files when visualization is enabled in Totem.
24802 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24804 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24805 Allow NULL as filter-caps (which means "any").
24807 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24809 * docs/libs/gstreamer-libs-sections.txt:
24810 * libs/gst/controller/gst-controller.c:
24811 * libs/gst/controller/gst-controller.h:
24812 * libs/gst/controller/gst-helper.c:
24813 adding more entries to the docs and fix small doc-bugs
24815 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24817 * docs/gst/gstreamer-docs.sgml:
24818 * docs/gst/gstreamer-sections.txt:
24819 * docs/gst/gstreamer.types:
24820 * docs/gst/tmpl/gstbasesink.sgml:
24821 * docs/gst/tmpl/gstbasesrc.sgml:
24822 * docs/gst/tmpl/gstbasetransform.sgml:
24823 * docs/gst/tmpl/gstfakesrc.sgml:
24824 * gst/base/gstcollectpads.c:
24825 * gst/base/gstcollectpads.h:
24826 * libs/gst/controller/gst-controller.c:
24827 * libs/gst/controller/gst-controller.h:
24828 * libs/gst/controller/gst-helper.c:
24829 * libs/gst/controller/gst-interpolation.c:
24830 * libs/gst/controller/lib.c:
24831 added long/short desc for controller docs
24832 added collectpads base class docs
24833 added correct includes to base-class docs
24835 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24837 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24838 (gst_test_mono_source_set_property),
24839 (gst_test_mono_source_class_init), (GST_START_TEST),
24840 (gst_controller_suite):
24841 * docs/gst/gstreamer-docs.sgml:
24842 * docs/gst/gstreamer-sections.txt:
24843 * docs/gst/gstreamer.types:
24844 * docs/libs/gstreamer-libs-docs.sgml:
24845 * docs/libs/gstreamer-libs-sections.txt:
24846 * gst/base/gstadapter.c:
24847 * libs/gst/controller/gst-controller.c:
24848 (gst_controlled_property_new), (gst_controlled_property_free),
24849 (gst_controller_new_valist),
24850 (gst_controller_remove_properties_valist),
24851 (gst_controller_sink_values), (_gst_controller_finalize):
24852 * libs/gst/controller/gst-controller.h:
24853 * libs/gst/controller/gst-helper.c:
24854 (gst_object_control_properties), (gst_object_uncontrol_properties),
24855 (gst_object_get_controller), (gst_object_set_controller),
24856 (gst_object_sink_values), (gst_object_get_value_arrays),
24857 (gst_object_get_value_array):
24858 more tests (and fixes) for the controller
24859 more docs for the controller
24860 integrated companies docs for the adapter
24862 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24864 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24865 (GST_START_TEST), (fakesrc_suite):
24866 add tests for sizetype
24868 2005-08-04 Andy Wingo <wingo@pobox.com>
24870 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24871 fixes buffer_alloc proxying among other things.
24873 * gst/base/gstbasetransform.c:
24874 * gst/base/gstbasetransform.h:
24875 Revert patch to gstbasetransform from 7-28 removing
24878 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24879 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24880 Semantics changed, should return not the size of the output buffer
24881 but the byte size of a buffer with a given caps.
24883 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24885 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24886 out) are not the pad caps until setcaps finishes.
24887 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24888 not-in-place case as well. Deal with changing from in-place to
24889 not-in-place within calling pad_alloc_buffer. Still a bit
24890 concerned about the overhead here...
24892 2005-08-03 Andy Wingo <wingo@pobox.com>
24894 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24895 fixating is an error.
24897 2005-08-04 Edward Hervey <edward@fluendo.com>
24899 * gst/base/gstadapter.h:
24900 Added gst_adapter_get_type() to the header
24902 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24904 * check/Makefile.am:
24905 * check/gst-libs/controller.c:
24906 * libs/gst/controller/gst-controller.c:
24907 (gst_controller_new_valist):
24908 added check test suite for the controller
24909 * gst/base/gstpushsrc.c:
24912 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24914 * docs/gst/Makefile.am:
24915 * docs/gst/gstreamer-docs.sgml:
24916 * docs/gst/gstreamer-sections.txt:
24917 * docs/gst/gstreamer.types:
24918 * docs/gst/tmpl/gstfakesrc.sgml:
24920 * gst/base/gstbasesink.c:
24921 * gst/base/gstbasesink.h:
24922 * gst/base/gstbasesrc.c:
24923 * gst/base/gstbasesrc.h:
24924 * gst/base/gstbasetransform.c:
24925 * gst/base/gstpushsrc.c:
24926 * gst/base/gstpushsrc.h:
24927 add short/long description docs to base classes
24928 add pushsrc to the docs
24929 remove consolidated doc fragments
24931 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24934 * docs/libs/Makefile.am:
24935 * docs/libs/gstreamer-libs-docs.sgml:
24936 * docs/libs/gstreamer-libs-sections.txt:
24937 * docs/libs/gstreamer-libs.types:
24938 * examples/Makefile.am:
24939 * examples/controller/.cvsignore:
24940 * examples/controller/Makefile.am:
24941 * examples/controller/audio-example.c: (main):
24942 * libs/gst/Makefile.am:
24943 * libs/gst/controller/.cvsignore:
24944 * libs/gst/controller/Makefile.am:
24945 * libs/gst/controller/gst-controller.c:
24946 (on_object_controlled_property_changed), (gst_timed_value_compare),
24947 (gst_timed_value_find),
24948 (gst_controlled_property_set_interpolation_mode),
24949 (gst_controlled_property_new), (gst_controlled_property_free),
24950 (gst_controller_find_controlled_property),
24951 (gst_controller_new_valist), (gst_controller_new),
24952 (gst_controller_remove_properties_valist),
24953 (gst_controller_remove_properties), (gst_controller_set),
24954 (gst_controller_set_from_list), (gst_controller_unset),
24955 (gst_controller_get), (gst_controller_get_all),
24956 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24957 (gst_controller_get_value_array),
24958 (gst_controller_set_interpolation_mode),
24959 (_gst_controller_finalize), (_gst_controller_init),
24960 (_gst_controller_class_init), (gst_controller_get_type):
24961 * libs/gst/controller/gst-controller.h:
24962 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24963 (g_object_uncontrol_properties), (g_object_get_controller),
24964 (g_object_set_controller), (g_object_sink_values),
24965 (g_object_get_value_arrays), (g_object_get_value_array):
24966 * libs/gst/controller/gst-interpolation.c:
24967 (gst_controlled_property_find_timed_value_node),
24968 (interpolate_none_get), (interpolate_trigger_get),
24969 (interpolate_trigger_get_value_array):
24970 * libs/gst/controller/lib.c: (gst_controller_init):
24971 * pkgconfig/Makefile.am:
24972 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24973 * pkgconfig/gstreamer-control.pc.in:
24974 * testsuite/Makefile.am:
24975 * testsuite/controller/.cvsignore:
24976 * testsuite/controller/Makefile.am:
24977 * testsuite/controller/interpolator.c: (main):
24978 added controller code
24979 removed dparam pc files
24981 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24982 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24983 (gst_collectpads_stop):
24984 Broadcast the condition when shutting down, to make sure we wake all
24985 threads up. Shut down pads on finalize, for safety.
24987 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24988 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24989 (gst_base_transform_handle_buffer),
24990 (gst_base_transform_change_state):
24991 Handle PAUSED->READY->PAUSED transition after negotiation
24993 * gst/gstmessage.c: (gst_message_init):
24994 Extra piece of debug for new messages.
24996 2005-08-01 Stefan Kost <ensonic@users.sf.net>
24999 * docs/gst/tmpl/gstbasesrc.sgml:
25000 * docs/gst/tmpl/gstelement.sgml:
25001 * docs/gst/tmpl/gstevent.sgml:
25002 * docs/gst/tmpl/gstfakesrc.sgml:
25003 * docs/gst/tmpl/gstformat.sgml:
25004 * docs/gst/tmpl/gstghostpad.sgml:
25005 * docs/gst/tmpl/gstpad.sgml:
25006 * docs/gst/tmpl/gstquery.sgml:
25007 * docs/gst/tmpl/gststructure.sgml:
25008 * docs/gst/tmpl/gsttaglist.sgml:
25009 * docs/gst/tmpl/gstvalue.sgml:
25010 * docs/libs/gstreamer-libs-docs.sgml:
25011 * docs/libs/gstreamer-libs-sections.txt:
25012 * docs/libs/gstreamer-libs.types:
25013 * libs/gst/Makefile.am:
25014 * libs/gst/control/.cvsignore:
25015 * libs/gst/control/Makefile.am:
25016 * libs/gst/control/control.c:
25017 * libs/gst/control/control.h:
25018 * libs/gst/control/dparam.c:
25019 * libs/gst/control/dparam.h:
25020 * libs/gst/control/dparam_smooth.c:
25021 * libs/gst/control/dparam_smooth.h:
25022 * libs/gst/control/dparamcommon.h:
25023 * libs/gst/control/dparammanager.c:
25024 * libs/gst/control/dparammanager.h:
25025 * libs/gst/control/dplinearinterp.c:
25026 * libs/gst/control/dplinearinterp.h:
25027 * libs/gst/control/unitconvert.c:
25028 * libs/gst/control/unitconvert.h:
25029 * testsuite/Makefile.am:
25030 * testsuite/dynparams/.cvsignore:
25031 * testsuite/dynparams/Makefile.am:
25032 * testsuite/dynparams/dparamstest.c:
25033 * tools/Makefile.am:
25034 * tools/gst-inspect.c: (print_element_info), (main):
25035 * tools/gst-xmlinspect.c: (print_element_info), (main):
25036 deactivate and remove dparams (libgstcontrol)
25038 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25040 * gst/elements/gsttypefindelement.c:
25041 (gst_type_find_element_have_type), (gst_type_find_element_init),
25042 (stop_typefinding), (gst_type_find_element_handle_event),
25043 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25044 * gst/elements/gsttypefindelement.h:
25045 Set caps on all outgoing buffers, not just the first one.
25047 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25049 * gst/elements/gsttypefindelement.c:
25050 (gst_type_find_element_have_type),
25051 (gst_type_find_element_check_set_buffer_caps),
25052 (gst_type_find_element_init), (stop_typefinding),
25053 (gst_type_find_element_handle_event),
25054 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25055 * gst/elements/gsttypefindelement.h:
25056 Set caps on first outgoing buffer when we've found the type.
25058 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25060 * docs/gst/gstreamer-docs.sgml:
25061 * docs/gst/gstreamer-sections.txt:
25062 * docs/gst/tmpl/gstscheduler.sgml:
25063 * docs/gst/tmpl/gstschedulerfactory.sgml:
25064 Remove some old cruft from docs.
25066 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25069 Fix inline docs for GstPadLinkReturn.
25071 * gst/gststructure.c: (gst_structure_has_name):
25072 * gst/gststructure.h:
25073 * docs/gst/gstreamer-sections.txt:
25074 New API: gst_structure_has_name().
25076 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25079 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25080 and _LARGEFILE_SOURCE in config.h as required. Do not
25081 export those flags in our .pc files any longer (#142209).
25083 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25085 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25086 (gst_file_sink_do_seek), (gst_file_sink_event),
25087 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25088 Redo seek/tell calls with large file support in mind; add some
25089 debugging messages; add log message that tells us when large
25090 file support is unavailable or not enabled for some reason.
25092 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25093 Add log message that tells us when large file support
25094 is unavailable or not enabled for some reason.
25096 2005-07-29 Wim Taymans <wim@fluendo.com>
25098 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25099 Added test for removing an element with ghostpad from a bin.
25100 Fixed test as current implementation does the right thing.
25102 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25103 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25104 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25105 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25106 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25107 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25108 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25109 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25110 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25111 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25112 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25113 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25114 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25115 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25116 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25117 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25118 * gst/gstghostpad.h:
25119 Clean up ghostpads, remove properties for internal stuff.
25122 Prepare for switching targets, not all use cases work yet.
25124 2005-07-29 Wim Taymans <wim@fluendo.com>
25126 * docs/design/part-gstghostpad.txt:
25129 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25130 (gst_bin_remove_func):
25131 Unlinking pads while holding the bin LOCK is not a good
25134 * gst/gstpad.c: (gst_pad_class_init),
25135 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25136 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25137 No prob setting template after creating the pad.
25139 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25141 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25142 (gst_bus_peek), (gst_bus_source_dispatch),
25143 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25144 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25145 gst_bus_poll may be called from other threads. Handle
25146 this nicely by not making poll_data disappear off the
25147 stack once gst_bus_poll returns.
25148 gst_bus_peek now increments the refcount on the returned
25151 2005-07-29 Wim Taymans <wim@fluendo.com>
25153 * docs/design/part-gstghostpad.txt:
25154 Overview of current GhostPad datastructures and use
25155 cases for changing the target.
25157 2005-07-28 Wim Taymans <wim@fluendo.com>
25159 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25160 Added checks for hierarchy consistency whan adding linked
25163 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25164 Added check to test element scheduling without bin/pipeline.
25166 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25167 First add elements to bin, then link.
25169 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25170 (gst_bin_remove_func):
25171 Unlink pads from elements added/removed from bin to maintain
25172 hierarchy consistency.
25174 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25176 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25177 (gst_base_transform_handle_buffer):
25178 * gst/base/gstbasetransform.h:
25179 Remove broken delay_configure (fixes renegotiation of software
25180 scaling pipelines); remove some leftover printf()s.
25182 2005-07-28 Wim Taymans <wim@fluendo.com>
25184 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25185 Added some more tests for wrong hierarchy
25187 * docs/design/part-overview.txt:
25190 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25193 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25194 (gst_element_dispose):
25195 Some more cleanups.
25197 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25198 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25199 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25200 (gst_pad_set_caps), (gst_pad_send_event):
25201 Check for correct hierarchy when linking pads. Moving to
25202 strict requirement for ghostpads when linking elements in
25206 Clean ups. Added WRONG_HIERARCHY return value.
25208 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25210 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25211 Better debug if no transform is possible.
25213 2005-07-27 Wim Taymans <wim@fluendo.com>
25215 * docs/random/wtay/network-transp:
25216 Some old doc I had.
25218 2005-07-27 Wim Taymans <wim@fluendo.com>
25220 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25221 (gst_dp_event_from_packet):
25222 Fix serialization of seek events.
25224 2005-07-27 Wim Taymans <wim@fluendo.com>
25226 * check/gst-libs/gdp.c: (GST_START_TEST):
25227 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25228 Fix compilation and fix event serialization.
25230 2005-07-27 Wim Taymans <wim@fluendo.com>
25233 * docs/design/part-TODO.txt:
25234 * docs/design/part-events.txt:
25237 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25238 (gst_base_sink_event), (gst_base_sink_do_sync),
25239 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25240 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25241 (gst_base_src_do_seek), (gst_base_src_event_handler),
25242 (gst_base_src_loop):
25243 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25244 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25245 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25246 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25247 (gst_base_transform_set_passthrough),
25248 (gst_base_transform_is_passthrough):
25249 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25250 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25256 * gst/gstelement.c: (gst_element_seek):
25257 * gst/gstelement.h:
25258 Update gst_element_seek.
25260 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25261 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25262 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25263 (gst_event_new_eos), (gst_event_new_newsegment),
25264 (gst_event_parse_newsegment), (gst_event_new_tag),
25265 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25266 (gst_event_parse_qos), (gst_event_new_seek),
25267 (gst_event_parse_seek), (gst_event_new_navigation):
25269 Make GstEvent use GstStructure. Add parsing code, make sure the
25270 API is sufficiently generic.
25271 Mark possible directions of events and serialization.
25273 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25274 (_gst_message_copy), (gst_message_new_segment_start),
25275 (gst_message_new_segment_done), (gst_message_new_custom),
25276 (gst_message_parse_segment_start),
25277 (gst_message_parse_segment_done):
25280 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25281 (gst_pad_set_caps), (gst_pad_send_event):
25282 Update for new events.
25283 Catch events sent in wrong directions.
25285 * gst/gstqueue.c: (gst_queue_link_src),
25286 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25287 (gst_queue_handle_src_query):
25292 Remove event code from this file.
25294 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25295 (gst_dp_event_from_packet):
25298 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25300 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25301 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25302 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25303 Make debugging actually useful.
25305 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25307 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25308 (gst_pad_fixate_caps):
25309 Implement default fixation once again, so that gst_pad_fixate()
25310 actually does anything at all. This probably needs to be some
25311 sort of a last resort, and use profile-based fixation first, but
25312 since that doesn't exist yet, this is the best we have. Fixes
25313 visualization in Totem.
25315 2005-07-22 Wim Taymans <wim@fluendo.com>
25317 * docs/design/part-events.txt:
25320 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25321 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25322 (gst_base_sink_activate_pull):
25323 Some more comments.
25325 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25326 (gst_fake_src_create):
25327 Fix handoff marshall.
25329 * gst/elements/gstidentity.c: (gst_identity_class_init),
25330 (gst_identity_transform_ip):
25331 We're a real inplace element.
25333 * gst/gstbus.c: (gst_bus_post):
25334 Added some comments.
25336 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25337 * tests/muxing/case1.c: (main):
25338 * tests/sched/dynamic-pipeline.c: (main):
25339 * tests/sched/interrupt1.c: (main):
25340 * tests/sched/interrupt2.c: (main):
25341 * tests/sched/interrupt3.c: (main):
25342 * tests/sched/runxml.c: (main):
25343 * tests/sched/sched-stress.c: (main):
25344 * tests/seeking/seeking1.c: (event_received), (main):
25345 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25347 * tests/threadstate/threadstate3.c: (main):
25348 * tests/threadstate/threadstate4.c: (main):
25349 * tests/threadstate/threadstate5.c: (main):
25352 2005-07-21 Wim Taymans <wim@fluendo.com>
25354 * docs/design/part-seeking.txt:
25355 Some small additions.
25357 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25358 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25359 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25360 * gst/base/gstbasesink.h:
25361 discont values are gint64, handle the math correctly.
25363 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25364 Make the basesrc report error if the source pad is not linked.
25366 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25367 (gst_queue_loop), (gst_queue_handle_src_query),
25368 (gst_queue_src_activate_push):
25369 Make queue collect data even if the srcpad is not linked.
25370 Start pushing out data as soon as it is linked.
25372 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25374 Added gst_flow_get_name() to ease error reporting.
25376 2005-07-20 Wim Taymans <wim@fluendo.com>
25378 * gst/gstmessage.c: (gst_message_new_segment_start),
25379 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25380 (gst_message_parse_segment_done):
25381 * gst/gstmessage.h:
25382 Added a bunch of messages for advanced seeking.
25384 * gst/parse/grammar.y:
25385 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25386 (gst_dpman_state_changed):
25387 Fix some new-pad -> pad-added signals
25389 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25391 * docs/manual/appendix-porting.xml:
25392 * docs/pwg/appendix-porting.xml:
25393 Document new-pad/state-change signal renames and the FixedList
25396 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25398 * docs/manual/advanced-autoplugging.xml:
25399 * docs/manual/basics-helloworld.xml:
25400 * docs/manual/basics-pads.xml:
25401 * docs/random/ds/0.9-suggested-changes:
25402 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25403 * gst/gstelement.h:
25407 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25408 (gst_structure_parse_array), (gst_structure_parse_value):
25409 * gst/gstvalue.c: (gst_type_is_fixed),
25410 (gst_value_list_prepend_value), (gst_value_list_append_value),
25411 (gst_value_list_get_size), (gst_value_list_get_value),
25412 (gst_value_transform_array_string), (gst_value_serialize_array),
25413 (gst_value_deserialize_array), (gst_value_intersect_array),
25414 (gst_value_is_fixed), (_gst_value_initialize):
25416 GstElement::new-pad -> pad-added, GstElement::state-change ->
25417 state-changed, GstValueFixedList -> GstValueArray, add format and
25418 flags as their own arguments in gst_element_seek() (should improve
25419 "bindeability"), remove function generators since they don't work
25420 under a whole bunch of compilers (they were deprecated already
25423 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25425 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25426 (_gst_debug_register_funcptr):
25428 Fix illegal cast on some platforms (#309253).
25430 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25432 * gst/gstmessage.c: (gst_message_new_custom):
25433 * gst/gstmessage.h:
25434 Add _new_custom, make _new_application a macro to _new_custom.
25436 2005-07-20 Wim Taymans <wim@fluendo.com>
25438 * gst/base/gstbasesrc.c: (gst_base_src_init),
25439 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25440 * gst/base/gstbasesrc.h:
25441 Add a gboolean to decide when to push out a discont.
25443 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25444 (gst_queue_loop), (gst_queue_handle_src_query),
25445 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25446 (gst_queue_set_property), (gst_queue_get_property):
25449 * tests/threadstate/threadstate1.c: (main):
25450 Make a thread test compile and run... very silly..
25453 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25455 * docs/manual/appendix-porting.xml:
25456 Mention removal of libgstgconf-0.9.la and existence of gconf
25459 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25461 * docs/pwg/advanced-clock.xml:
25462 * docs/pwg/appendix-porting.xml:
25463 * docs/pwg/intro-preface.xml:
25464 * docs/pwg/other-base.xml:
25465 * docs/pwg/other-manager.xml:
25466 * docs/pwg/other-nton.xml:
25467 * docs/pwg/other-ntoone.xml:
25468 * docs/pwg/other-oneton.xml:
25469 * docs/pwg/pwg.xml:
25470 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25471 demuxer), remove n-to-n (was never written), fix some code examples
25472 and links and update the porting section to include all this.
25474 2005-07-19 Wim Taymans <wim@fluendo.com>
25476 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25477 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25478 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25479 (gst_queue_src_activate_push), (gst_queue_change_state),
25480 (gst_queue_get_property):
25482 Propagate GstFlowReturn more intelligently upstream and output
25483 an ERROR/EOS when streaming stopped due to fatal error.
25485 2005-07-19 Wim Taymans <wim@fluendo.com>
25487 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25488 Don't block forever for the state change to complete, the
25489 pipeline already did with a sensible timeout.
25491 2005-07-19 Wim Taymans <wim@fluendo.com>
25493 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25494 Make sure we never call the create function is we
25497 2005-07-19 Andy Wingo <wingo@pobox.com>
25499 * gst/parse/parse.l: Attempt to solve bug #172815.
25501 2005-07-19 Wim Taymans <wim@fluendo.com>
25503 * docs/design/part-clocks.txt:
25504 * docs/design/part-events.txt:
25505 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25506 Small docs updates.
25507 Only update the seeking values when we are not
25510 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25512 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25513 Oops, ignore the result of gst_pad_push_event here.
25515 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25517 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25518 (gst_base_src_activate_push):
25519 Send discont event from the loop function, as pads
25520 aren't activated yet in the activate_push handler.
25522 * gst/gstbin.c: (bin_bus_handler):
25523 Don't leak element name.
25525 2005-07-18 Andy Wingo <wingo@pobox.com>
25527 * configure.ac: Use AS_LIBTOOL_TAGS.
25529 2005-07-18 Wim Taymans <wim@fluendo.com>
25531 * docs/gst/gstreamer.types:
25532 Remove deleted types.
25534 2005-07-18 Wim Taymans <wim@fluendo.com>
25536 * check/elements/gstfakesrc.c: (GST_START_TEST):
25539 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25540 (init_popt_callback):
25542 * gst/gst_private.h:
25543 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25544 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25547 * gst/gstconfig.h.in:
25548 * gst/gstelement.c: (gst_element_class_init),
25549 (gst_element_set_base_time), (gst_element_get_base_time),
25550 (iterator_fold_with_resync), (gst_element_change_state),
25551 (gst_element_dispose), (gst_element_get_bus):
25552 * gst/gstelement.h:
25553 * gst/gstelementfactory.h:
25554 * gst/gsterror.c: (_gst_core_errors_init):
25557 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25559 * gst/gstinfo.c: (_gst_debug_init):
25560 * gst/gstmessage.c: (_gst_message_copy):
25561 * gst/gstmessage.h:
25562 * gst/gstminiobject.h:
25565 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25566 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25569 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25570 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25571 (gst_pipeline_get_last_stream_time):
25572 * gst/gstpipeline.h:
25573 * gst/gstpluginfeature.h:
25575 * gst/gstscheduler.c:
25576 * gst/gstscheduler.h:
25577 * gst/gststructure.h:
25578 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25579 (gst_task_finalize), (gst_task_func), (gst_task_create),
25580 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25581 (gst_task_stop), (gst_task_pause):
25583 * gst/gsttypefind.h:
25585 * gst/registries/gstlibxmlregistry.c: (load_feature),
25586 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25587 * gst/registries/gstxmlregistry.c:
25588 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25589 * gst/schedulers/threadscheduler.c:
25590 * libs/gst/control/dparammanager.h:
25591 * tools/gst-inspect.c: (print_element_list),
25592 (print_plugin_features), (print_element_features):
25593 * tools/gst-xmlinspect.c: (print_element_list),
25594 (print_plugin_info), (main):
25595 Removed plugable schedulers.
25596 Removed Scheduler/Manager from elements.
25597 Removed gsttypes.h, rearranged includes.
25598 Removed dependency pad<->element, element<>pipeline, and
25599 various others, fix includes.
25600 implement gst_pad_get_parent() with gst_object_get_parent()
25601 Make GstTask sefcontained.
25602 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25604 Fix endless loop in iterator_fold_with_resync.
25607 2005-07-18 Wim Taymans <wim@fluendo.com>
25613 2005-07-18 Wim Taymans <wim@fluendo.com>
25616 No more cothreads.h
25618 2005-07-18 Wim Taymans <wim@fluendo.com>
25622 Let's remove these.
25624 2005-07-18 Wim Taymans <wim@fluendo.com>
25626 * docs/design/part-dynamic.txt:
25627 * docs/design/part-events.txt:
25628 * docs/design/part-seeking.txt:
25629 Some more docs in the works.
25631 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25632 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25633 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25634 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25635 (gst_base_transform_handle_buffer),
25636 (gst_base_transform_sink_activate_push),
25637 (gst_base_transform_src_activate_pull),
25638 (gst_base_transform_set_passthrough),
25639 (gst_base_transform_is_passthrough):
25642 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25645 * gst/gstevent.c: (gst_event_finalize):
25648 * gst/gstutils.c: (gst_element_unlink),
25649 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25650 (gst_pad_proxy_setcaps):
25652 Add _get_parent_element() to get a pads parent as an element.
25654 2005-07-18 Wim Taymans <wim@fluendo.com>
25656 * check/gst/gstbin.c: (GST_START_TEST):
25659 2005-07-18 Wim Taymans <wim@fluendo.com>
25661 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25662 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25663 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25664 (gst_base_sink_event), (gst_base_sink_do_sync),
25665 (gst_base_sink_chain), (gst_base_sink_loop),
25666 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25667 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25669 Fix logic for returning ASYNC when not prerolled.
25671 2005-07-18 Wim Taymans <wim@fluendo.com>
25673 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25674 Fix nasty refcount bug.
25676 2005-07-16 Philippe Khalaf <burger@speedy.org>
25678 * gst/elements/gstfdsrc.c:
25679 * gst/elements/gstfdsrc.h:
25680 * gst/elements/gstelements.c:
25681 * gst/elements/Makefile.am:
25682 Ported fdsrc to 0.9.
25684 2005-07-16 Wim Taymans <wim@fluendo.com>
25686 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25687 (gst_base_sink_do_sync):
25690 2005-07-16 Wim Taymans <wim@fluendo.com>
25692 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25693 (gst_base_sink_event), (gst_base_sink_get_times),
25694 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25695 * gst/base/gstbasesink.h:
25696 Store and use discont values when syncing buffers as described
25699 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25700 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25701 (gst_base_src_activate_push):
25702 Push discont event when starting.
25704 * gst/elements/gstidentity.c: (gst_identity_transform):
25707 * gst/gstbin.c: (gst_bin_change_state):
25708 Small cleanups in base_time distribution.
25710 * gst/gstelement.c: (gst_element_set_base_time),
25711 (gst_element_get_base_time), (gst_element_change_state):
25712 * gst/gstelement.h:
25713 Added methods for the base_time of the element.
25716 * gst/gstpipeline.c: (gst_pipeline_send_event),
25717 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25718 (gst_pipeline_get_last_stream_time):
25719 * gst/gstpipeline.h:
25721 Handle seeking as described in design doc, remove stream_time
25723 Cleanups clock and stream_time selection code. Added accessors
25724 for the stream_time.
25727 2005-07-16 Andy Wingo <wingo@pobox.com>
25729 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25732 2005-07-16 Wim Taymans <wim@fluendo.com>
25734 * check/gst/gstbin.c: (GST_START_TEST):
25735 Make elements silent as the deep_notify refs the
25736 parent, which might make the test fail.
25738 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25739 Don't hold the lock for too long.
25741 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25743 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25744 Don't unref the caps we passed to gst_caps_make_writable() after
25745 passing them. gst_caps_make_writable() will do that for us.
25747 2005-07-15 Andy Wingo <wingo@pobox.com>
25749 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25752 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25753 own marshalling function for the handoff signal. Properly type the
25754 buffer as a buffer. Fixes some warnings. Should do a more general
25756 (gst_identity_class_init): Plug into the right marshaller.
25758 2005-07-15 Wim Taymans <wim@fluendo.com>
25760 * docs/design/part-TODO.txt:
25761 * docs/design/part-clocks.txt:
25762 * docs/design/part-element-sink.txt:
25763 * docs/design/part-events.txt:
25764 * docs/design/part-gstpipeline.txt:
25765 Updated docs, mostly DISCONT related.
25767 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25769 * docs/pwg/building-pads.xml:
25770 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25772 2005-07-15 Andy Wingo <wingo@pobox.com>
25774 * tools/gst-typefind.c: Update, add copyright block.
25776 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25777 Normalize and truncate caps before fixation.
25780 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25781 discards all but the first structure from its argument.
25783 2005-07-15 Wim Taymans <wim@fluendo.com>
25785 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25786 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25787 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25788 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25789 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25790 (gst_base_transform_chain), (gst_base_transform_change_state),
25791 (gst_base_transform_set_passthrough),
25792 (gst_base_transform_is_passthrough):
25793 * gst/base/gstbasetransform.h:
25794 Make passthrough work using the bufferpools.
25795 Changed API a bit, subclasses have to write into a buffer
25796 provided by the base class.
25797 More debug info in nego functions.
25799 * gst/elements/gstidentity.c: (gst_identity_init),
25800 (gst_identity_transform):
25801 Port to new base class.
25803 2005-07-15 Wim Taymans <wim@fluendo.com>
25805 * gst/gstmessage.c: (gst_message_new_state_changed):
25806 * tools/gst-launch.c: (event_loop), (main):
25807 Totally dump messages in -launch with the -m option.
25808 Fix message name for State messages,
25810 2005-07-14 Wim Taymans <wim@fluendo.com>
25812 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25813 Post error messages on errors.
25815 2005-07-14 Wim Taymans <wim@fluendo.com>
25817 * gst/gstcaps.c: (gst_caps_do_simplify):
25821 Define error for stream stopped.
25823 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25824 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25825 Do proper return values.
25827 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25828 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25829 (gst_pad_get_range):
25830 Better return values.
25833 Reorganise return values, add macro to check for fatal errors.
25835 * gst/gstqueue.c: (gst_queue_chain):
25836 Return proper GstFlowReturn values,
25838 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25840 * docs/gst/gstreamer-sections.txt:
25841 * docs/gst/gstreamer.types:
25842 * docs/gst/tmpl/gst.sgml:
25843 * docs/gst/tmpl/gstbasesink.sgml:
25844 * docs/gst/tmpl/gstbasesrc.sgml:
25845 * docs/gst/tmpl/gstbasetransform.sgml:
25846 * docs/gst/tmpl/gstbin.sgml:
25847 * docs/gst/tmpl/gstbuffer.sgml:
25848 * docs/gst/tmpl/gstcaps.sgml:
25849 * docs/gst/tmpl/gstclock.sgml:
25850 * docs/gst/tmpl/gstcompat.sgml:
25851 * docs/gst/tmpl/gstconfig.sgml:
25852 * docs/gst/tmpl/gstelement.sgml:
25853 * docs/gst/tmpl/gstelementdetails.sgml:
25854 * docs/gst/tmpl/gstelementfactory.sgml:
25855 * docs/gst/tmpl/gstenumtypes.sgml:
25856 * docs/gst/tmpl/gsterror.sgml:
25857 * docs/gst/tmpl/gstevent.sgml:
25858 * docs/gst/tmpl/gstfakesink.sgml:
25859 * docs/gst/tmpl/gstfakesrc.sgml:
25860 * docs/gst/tmpl/gstfilesink.sgml:
25861 * docs/gst/tmpl/gstfilesrc.sgml:
25862 * docs/gst/tmpl/gstfilter.sgml:
25863 * docs/gst/tmpl/gstformat.sgml:
25864 * docs/gst/tmpl/gstghostpad.sgml:
25865 * docs/gst/tmpl/gstimplementsinterface.sgml:
25866 * docs/gst/tmpl/gstindex.sgml:
25867 * docs/gst/tmpl/gstindexfactory.sgml:
25868 * docs/gst/tmpl/gstinfo.sgml:
25869 * docs/gst/tmpl/gstiterator.sgml:
25870 * docs/gst/tmpl/gstmacros.sgml:
25871 * docs/gst/tmpl/gstmemchunk.sgml:
25872 * docs/gst/tmpl/gstminiobject.sgml:
25873 * docs/gst/tmpl/gstobject.sgml:
25874 * docs/gst/tmpl/gstpad.sgml:
25875 * docs/gst/tmpl/gstpadtemplate.sgml:
25876 * docs/gst/tmpl/gstparse.sgml:
25877 * docs/gst/tmpl/gstpipeline.sgml:
25878 * docs/gst/tmpl/gstplugin.sgml:
25879 * docs/gst/tmpl/gstpluginfeature.sgml:
25880 * docs/gst/tmpl/gstquery.sgml:
25881 * docs/gst/tmpl/gstqueue.sgml:
25882 * docs/gst/tmpl/gstregistry.sgml:
25883 * docs/gst/tmpl/gstregistrypool.sgml:
25884 * docs/gst/tmpl/gstscheduler.sgml:
25885 * docs/gst/tmpl/gstschedulerfactory.sgml:
25886 * docs/gst/tmpl/gststructure.sgml:
25887 * docs/gst/tmpl/gstsystemclock.sgml:
25888 * docs/gst/tmpl/gsttaglist.sgml:
25889 * docs/gst/tmpl/gsttagsetter.sgml:
25890 * docs/gst/tmpl/gsttrace.sgml:
25891 * docs/gst/tmpl/gsttrashstack.sgml:
25892 * docs/gst/tmpl/gsttypefind.sgml:
25893 * docs/gst/tmpl/gsttypefindfactory.sgml:
25894 * docs/gst/tmpl/gsttypes.sgml:
25895 * docs/gst/tmpl/gsturihandler.sgml:
25896 * docs/gst/tmpl/gsturitype.sgml:
25897 * docs/gst/tmpl/gstutils.sgml:
25898 * docs/gst/tmpl/gstvalue.sgml:
25899 * docs/gst/tmpl/gstversion.sgml:
25900 * docs/gst/tmpl/gstxml.sgml:
25901 * docs/libs/tmpl/gstcontrol.sgml:
25902 * docs/libs/tmpl/gstdataprotocol.sgml:
25903 * docs/libs/tmpl/gstdparam.sgml:
25904 * docs/libs/tmpl/gstdplinint.sgml:
25905 * docs/libs/tmpl/gstdpman.sgml:
25906 * docs/libs/tmpl/gstdpsmooth.sgml:
25907 * docs/libs/tmpl/gstgetbits.sgml:
25908 * docs/libs/tmpl/gstunitconvert.sgml:
25909 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25910 (gst_push_src_base_init), (gst_push_src_class_init),
25911 (gst_push_src_init), (gst_push_src_create):
25912 * gst/base/gstpushsrc.h:
25913 * gst/elements/gstelements.c:
25914 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25915 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25916 (gst_fake_sink_init), (gst_fake_sink_set_property),
25917 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25918 (gst_fake_sink_event), (gst_fake_sink_preroll),
25919 (gst_fake_sink_render), (gst_fake_sink_change_state):
25920 * gst/elements/gstfakesink.h:
25921 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25922 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25923 (gst_fake_src_base_init), (gst_fake_src_class_init),
25924 (gst_fake_src_init), (gst_fake_src_event_handler),
25925 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25926 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25927 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25928 (gst_fake_src_create_buffer), (gst_fake_src_create),
25929 (gst_fake_src_start), (gst_fake_src_stop):
25930 * gst/elements/gstfakesrc.h:
25931 * gst/elements/gstfilesink.c: (_do_init),
25932 (gst_file_sink_base_init), (gst_file_sink_class_init),
25933 (gst_file_sink_init), (gst_file_sink_dispose),
25934 (gst_file_sink_set_location), (gst_file_sink_set_property),
25935 (gst_file_sink_get_property), (gst_file_sink_open_file),
25936 (gst_file_sink_close_file), (gst_file_sink_query),
25937 (gst_file_sink_event), (gst_file_sink_render),
25938 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25939 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25940 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25941 * gst/elements/gstfilesink.h:
25942 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25943 (gst_file_src_class_init), (gst_file_src_init),
25944 (gst_file_src_finalize), (gst_file_src_set_location),
25945 (gst_file_src_set_property), (gst_file_src_get_property),
25946 (gst_file_src_map_region), (gst_file_src_map_small_region),
25947 (gst_file_src_create_mmap), (gst_file_src_create_read),
25948 (gst_file_src_create), (gst_file_src_is_seekable),
25949 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25950 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25951 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25952 (gst_file_src_uri_handler_init):
25953 * gst/elements/gstfilesrc.h:
25954 more autistic cleanliness in functions/names/defines
25956 2005-07-13 Andy Wingo <wingo@pobox.com>
25958 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25959 source couldn't negotiate.
25961 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25965 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25966 function. I am channeling Hades. Put your boots on suckers!!!
25968 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25970 * testsuite/caps/Makefile.am:
25971 * testsuite/caps/value_compare.c:
25972 * testsuite/caps/value_intersect.c:
25973 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25974 move two testsuite apps over to the check dir
25976 2005-07-12 Wim Taymans <wim@fluendo.com>
25978 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25979 Added more debug info in the negotiate process.
25981 * gst/gstmessage.h:
25982 Prepare for segment playback.
25984 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25990 * tools/gst-launch.c: (main):
25991 NULL pipeline on errors.
25993 2005-07-12 Andy Wingo <wingo@pobox.com>
25995 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25996 not it comes from a malloc region. Make sure our copy gets freed.
25998 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26000 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
26001 * check/gst/gstmessage.c: (GST_START_TEST):
26002 * check/gst/gststructure.c: (GST_START_TEST),
26003 (gst_structure_suite), (main):
26005 * gst/gstelement.c: (gst_element_message_full):
26006 clean up GError and debug string now that they get copied
26007 * gst/gstmessage.c: (gst_message_new_error),
26008 (gst_message_new_warning), (gst_message_parse_error),
26009 (gst_message_parse_warning):
26010 use GST_TYPE_G_ERROR for structure_new, and take copies of
26011 arguments, so that we don't mess up refcounting
26013 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26015 * check/Makefile.am:
26016 add per-test valgrind targets
26017 * check/gst-libs/gdp.c: (GST_START_TEST),
26018 (gst_data_protocol_suite), (main):
26021 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26023 * check/Makefile.am:
26024 instate more valgrindable tests
26025 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26026 (GST_START_TEST), (fakesrc_suite):
26027 * check/gst/gstpad.c: (GST_START_TEST):
26028 * check/gst/gststructure.c: (GST_START_TEST):
26030 * docs/gst/tmpl/gstminiobject.sgml:
26031 * gst/gstpad.c: (gst_pad_finalize):
26032 fix the static mutex leak
26034 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26036 * check/Makefile.am:
26037 add two more tests for valgrinding
26038 * check/gst/gstvalue.c: (GST_START_TEST):
26039 test refcount of deserialized buffer, found a leak
26040 * docs/gst/gstreamer-docs.sgml:
26041 * docs/gst/gstreamer-sections.txt:
26042 * docs/gst/gstreamer.types:
26043 * docs/gst/tmpl/gstminiobject.sgml:
26044 add miniobject to docs
26045 * gst/gstminiobject.c:
26047 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26048 (gst_string_unwrap):
26049 fix a hard-to-find invalid write for one of the tests
26050 fix a leak for deserialized buffers
26052 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26054 * docs/pwg/advanced-events.xml:
26055 * docs/pwg/advanced-request.xml:
26056 * docs/pwg/advanced-scheduling.xml:
26057 * docs/pwg/appendix-porting.xml:
26058 * docs/pwg/building-boiler.xml:
26059 * docs/pwg/intro-preface.xml:
26060 * docs/pwg/other-ntoone.xml:
26061 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26062 of example code and explanation for pad activation, loop() and
26063 getrange() functions and a bit more. Remove old comments pointing
26065 * examples/pwg/Makefile.am:
26066 Add loop/getrange examples.
26068 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26071 check for valgrind binary + some fixes
26073 valgrind suppressions for the tests
26074 * check/Makefile.am:
26075 add a valgrind: target that valgrinds the unit tests
26076 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26077 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26078 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26079 * check/gst/gstghostpad.c:
26081 * check/gst/gstdata.c:
26083 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26084 (thread_unref), (gst_mini_object_suite), (main):
26086 * gst/gst.c: (gst_deinit):
26088 add a method to clean up.
26089 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26090 (gst_system_clock_obtain):
26091 allow for disposing the system clock.
26092 * tools/gst-launch.c: (main):
26095 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26097 * docs/gst/tmpl/gstbasesrc.sgml:
26098 * docs/gst/tmpl/gstfakesrc.sgml:
26099 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26100 (gst_base_src_init), (gst_base_src_set_property),
26101 (gst_base_src_get_property), (gst_base_src_get_range),
26102 (gst_base_src_start):
26103 * gst/base/gstbasesrc.h:
26104 add num-buffers property
26105 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26106 (gst_fakesrc_init), (gst_fakesrc_set_property),
26107 (gst_fakesrc_get_property), (gst_fakesrc_create),
26108 (gst_fakesrc_start):
26109 remove num-buffers property
26111 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26113 * docs/gst/gstreamer-sections.txt:
26114 * docs/gst/tmpl/gstbasesink.sgml:
26115 * docs/gst/tmpl/gstbasesrc.sgml:
26116 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26117 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26118 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26119 (gst_base_sink_set_property), (gst_base_sink_get_property),
26120 (gst_base_sink_handle_object), (gst_base_sink_event),
26121 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26122 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26123 (gst_base_sink_loop), (gst_base_sink_deactivate),
26124 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26125 (gst_base_sink_change_state):
26126 * gst/base/gstbasesink.h:
26127 * gst/base/gstbasesrc.h:
26128 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26129 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26130 (gst_filesink_init):
26131 more macro splitting
26133 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26135 * gst/gstelement.c: (gst_element_get_bus):
26137 * tools/gst-launch.c: (check_intr), (event_loop):
26140 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26142 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26145 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26147 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26148 (gst_base_src_finalize):
26149 add finalize method and clean up properly
26150 * gst/gstpipeline.c: (gst_pipeline_dispose):
26153 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26155 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26157 add more things to check
26158 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26159 * gst/gstelement.c:
26162 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26164 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26165 (GST_START_TEST), (fakesrc_suite):
26166 * check/gst-libs/gdp.c: (GST_START_TEST):
26167 * check/gst/gst.c: (GST_START_TEST):
26168 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26169 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26170 * check/gst/gstbus.c: (GST_START_TEST):
26171 * check/gst/gstcaps.c: (GST_START_TEST):
26172 * check/gst/gstdata.c: (GST_START_TEST):
26173 * check/gst/gstelement.c: (GST_START_TEST):
26174 * check/gst/gstghostpad.c: (GST_START_TEST):
26175 * check/gst/gstiterator.c: (GST_START_TEST):
26176 * check/gst/gstmessage.c: (GST_START_TEST):
26177 * check/gst/gstobject.c: (GST_START_TEST):
26178 * check/gst/gstpad.c: (GST_START_TEST):
26179 * check/gst/gststructure.c: (GST_START_TEST):
26180 * check/gst/gstsystemclock.c: (GST_START_TEST),
26181 (gst_systemclock_suite):
26182 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26183 * check/gst/gstvalue.c: (GST_START_TEST):
26184 * check/pipelines/cleanup.c: (GST_START_TEST):
26185 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26186 * check/states/sinks.c: (GST_START_TEST):
26187 * check/gstcheck.c: (gst_check_init):
26188 * check/gstcheck.h:
26189 add debugging category
26190 use GST_START_TEST now, so we add a debug line
26192 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26194 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26195 add test for state change message on a bin
26196 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26198 * gst/gstbin.c: (gst_bin_init):
26199 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26200 * gst/gstelement.c: (gst_element_post_message),
26201 (gst_element_set_state):
26202 * gst/gstelementfactory.c: (gst_element_factory_create):
26203 * gst/gstmessage.c: (gst_message_new):
26204 * gst/gstscheduler.c:
26205 various debugging additions and cleanups
26207 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26209 * check/Makefile.am:
26210 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26212 adding tests for elements
26213 * gst/gstelement.c: (gst_element_dispose):
26215 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26217 * gst/registries/gstlibxmlregistry.c: (load_feature):
26218 plug more leaks. A simple gst_init() now is leakfree, yay.
26220 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26222 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26223 (gst_xml_registry_load):
26224 plug another memleak
26226 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26229 use GST_SET_ERROR_CFLAGS
26230 * docs/faq/cvs.xml:
26231 change to ERROR_CFLAGS
26233 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26236 make GST_ERROR_CFLAGS overridable and re-enable Werror
26237 * docs/faq/cvs.xml:
26238 add a note about error CFLAGS
26239 * docs/gst/tmpl/gstfakesrc.sgml:
26240 * gst/elements/gstfakesrc.c:
26241 comment out some unused code
26242 * gst/gst.c: (split_and_iterate):
26243 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26247 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26249 * common/Makefile.am:
26250 * common/gtk-doc.mak:
26251 * docs/gst/Makefile.am:
26252 factor out gtk-doc.mak
26254 2005-07-07 Wim Taymans <wim@fluendo.com>
26256 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26257 (gst_thread_scheduler_dispose):
26258 Unlock the STREAM_LOCK completely.
26260 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26262 * check/Makefile.am:
26263 * check/elements/.cvsignore:
26264 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26265 (START_TEST), (fakesrc_suite), (main):
26266 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26267 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26268 (gst_fakesrc_create), (gst_fakesrc_start):
26269 * gst/elements/gstfakesrc.h:
26270 adding a first element test
26272 2005-07-07 Andy Wingo <wingo@pobox.com>
26274 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26277 2005-07-07 Wim Taymans <wim@fluendo.com>
26283 2005-07-07 Wim Taymans <wim@fluendo.com>
26285 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26286 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26287 Allow subclasses to implement their own negotiation.
26289 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26291 * docs/design/part-gstbin.txt:
26292 * docs/design/part-gstpipeline.txt:
26293 Update design notes to reflect the movement of
26294 responsibility for bus handling from GstPipeline to
26297 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26300 Remove unnecessary queue2/3/4 examples.
26302 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26304 * examples/Makefile.am:
26305 * examples/helloworld/helloworld.c: (event_loop), (main):
26306 * examples/queue/queue.c: (event_loop), (main):
26307 * examples/queue2/queue2.c: (main):
26308 Update a couple of the examples to work again.
26310 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26311 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26312 Spelling corrections and extra debug.
26314 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26315 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26316 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26318 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26319 (gst_pipeline_change_state):
26320 * gst/gstpipeline.h:
26321 Move the bus handler for children to the GstBin, and create a
26322 separate bus for receiving messages from children to the one the
26323 bus sends 'upwards' on.
26325 2005-07-06 Wim Taymans <wim@fluendo.com>
26328 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26329 (gst_base_sink_handle_object), (gst_base_sink_loop),
26330 (gst_base_sink_change_state):
26331 * gst/base/gstbasesink.h:
26332 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26333 (gst_base_src_init), (gst_base_src_setcaps),
26334 (gst_base_src_getcaps), (gst_base_src_loop),
26335 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26336 (gst_base_src_start), (gst_base_src_change_state):
26337 * gst/base/gstbasesrc.h:
26338 Make basesrc negotiate.
26339 Handle the case where preroll fails in basesink.
26342 2005-07-06 Wim Taymans <wim@fluendo.com>
26344 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26345 Implement the fixate function.
26346 Clean up acceptcaps.
26348 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26350 * docs/pwg/building-filterfactory.xml:
26351 * docs/pwg/pwg.xml:
26352 Remove never-written filter-factory chapter; I'll add the various
26353 base classes to part 4 ("other element types") later on.
26355 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26357 * docs/pwg/advanced-negotiation.xml:
26358 * docs/pwg/building-boiler.xml:
26359 * docs/pwg/building-pads.xml:
26360 * docs/pwg/pwg.xml:
26361 * examples/pwg/Makefile.am:
26362 Add a chapter on caps negotiation, simplify the original code
26363 samples a bit w.r.t. caps negotiation, add link to the advanced
26364 section. Add a bunch of examples showing different use cases of
26365 different types of caps negotiation. Upstream renegotiation isn't
26366 fully documented yet since nobody knows how that works.
26368 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26370 * check/gst/gstpad.c:
26371 * check/gstcheck.c:
26372 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26373 if pad has no parent, return NULL as list of internal links
26375 2005-07-05 Andy Wingo <wingo@pobox.com>
26377 * gst/elements/gstfilesrc.c:
26378 * gst/elements/gstfakesrc.c:
26379 * gst/base/gstpushsrc.c:
26380 * gst/base/gstbasesrc.h:
26381 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26383 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26386 better report generation target (lcov needs a patch)
26388 2005-07-05 Andy Wingo <wingo@pobox.com>
26390 * gst/elements, testsuite: Null if we got it...
26392 2005-07-05 Wim Taymans <wim@fluendo.com>
26395 * libs/gst/dataprotocol/Makefile.am:
26396 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26397 * libs/gst/dataprotocol/dataprotocol.h:
26398 * pkgconfig/Makefile.am:
26399 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26400 * pkgconfig/gstreamer-dataprotocol.pc.in:
26401 Ported dataprotol to 0.9.
26402 Added pkgconfig files.
26404 2005-07-05 Andy Wingo <wingo@pobox.com>
26406 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26407 Default to returning TRUE for the case when tranform_caps returns
26408 a fixed caps, like for identity or volume.
26410 * check/gst/gstbus.c (pound_bus_with_messages):
26411 * check/gst/gstmessage.c (START_TEST):
26412 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26413 message API change.
26415 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26416 logic weaks here: always run transform_caps, trying passthrough
26417 operation only if the original caps intersects with the transform.
26419 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26420 source and sink caps.
26422 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26423 Intersect the peer caps with the pad template before going into
26425 (gst_base_transform_transform_caps): More debugging.
26427 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26430 2005-07-04 Edward Hervey <edward@fluendo.com>
26434 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26437 2005-07-04 Andy Wingo <wingo@pobox.com>
26439 * check/gst/gstpad.c: Only set explicit caps on pads.
26441 2005-07-01 Andy Wingo <wingo@pobox.com>
26443 * tests/network-clock.scm: Commentary update.
26445 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26446 Didn't really make sense, not implementable with basetransform,
26448 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26449 attempt at implementing the sync property, needs an unlock method.
26451 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26452 New func, by default returns the same caps (the identity
26454 (gst_base_transform_getcaps): Uses transform_caps to return
26455 something sensible.
26456 (gst_base_transform_setcaps): Complicated logic to get caps on
26457 both pads, even if they are different, and to call set_caps once
26458 for every time both pads get their caps set.
26459 (gst_base_transform_handle_buffer): Give the ref to the transform
26460 function. Allows in-place modification of the buffer.
26462 * gst/base/gstbasetransform.h (transform_caps): New class method.
26463 Given caps on one side, what can I do on the other.
26464 (set_caps): Take two caps, one for each side of the element.
26467 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26468 caps in place. This is safe because we can check the mutability of
26469 the caps, and a good idea because fixate functions are just called
26470 as a matter of last resort. (Not actually implemented.)
26471 (gst_pad_set_caps): If the caps we're setting is actually the same
26472 as the existing pad caps, just update the pointer without calling
26473 setcaps. Assert that caps is either NULL or fixed, as per the
26476 * gst/gstghostpad.c: Update for fixate changes.
26478 2005-07-02 Andy Wingo <wingo@pobox.com>
26481 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26482 two refcounts makes it immutable, which is enough. Doc more.
26484 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26486 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26487 Put the mini_object into GValue as a mini_object,
26488 not a gpointer, since that's how we declared
26491 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26493 * examples/pwg/Makefile.am:
26494 Fix buildbot again.
26496 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26498 * docs/pwg/building-testapp.xml:
26500 * examples/pwg/Makefile.am:
26503 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26506 * examples/Makefile.am:
26507 * examples/pwg/Makefile.am:
26508 * examples/pwg/extract.pl:
26509 Enable building the PWG examples.
26510 * docs/pwg/advanced-interfaces.xml:
26511 Add URI interface stub.
26512 * docs/pwg/advanced-types.xml:
26513 * docs/pwg/other-autoplugger.xml:
26514 * docs/pwg/appendix-porting.xml:
26515 * docs/pwg/pwg.xml:
26516 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26517 * docs/pwg/building-boiler.xml:
26518 * docs/pwg/building-chainfn.xml:
26519 * docs/pwg/building-pads.xml:
26520 * docs/pwg/building-props.xml:
26521 * docs/pwg/building-state.xml:
26522 * docs/pwg/building-testapp.xml:
26523 Update the building-*.xml parts for 0.9 changes. All examples
26524 code blocks compile in examples/pwg/*.
26526 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26528 * docs/manual/advanced-autoplugging.xml:
26529 * docs/manual/appendix-checklist.xml:
26530 * docs/manual/appendix-integration.xml:
26531 * docs/manual/highlevel-components.xml:
26532 Fix playbin/decodebin examples, update docs a bit, mention bus
26533 instead of signals in various places, mention kmplayer and
26534 kaffeine since they have a working GStreamer backend in the KDE
26537 2005-06-30 Wim Taymans <wim@fluendo.com>
26540 * docs/design/draft-ghostpads.txt:
26541 * docs/design/draft-push-pull.txt:
26542 * docs/design/draft-query.txt:
26543 * docs/design/part-TODO.txt:
26544 * docs/design/part-query.txt:
26545 Added CHANGES-0.9 doc, updated status of other docs.
26550 2005-06-30 Wim Taymans <wim@fluendo.com>
26552 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26553 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26554 (gst_base_sink_change_state):
26555 * gst/base/gstbasesink.h:
26556 Some tweaks, only EOS and a buffer complete a preroll.
26558 2005-06-30 Andy Wingo <wingo@pobox.com>
26560 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26561 activate_push down to the internal pad as well.
26563 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26565 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26567 * gst/gsttaginterface.c:
26568 Some documentation fixes (#307394 and #307397).
26570 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26572 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26574 * gst/gstvalue.c: (gst_value_intersect_list):
26575 Fix memleak (#309125).
26577 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26579 * docs/manual/advanced-dataaccess.xml:
26580 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26581 * docs/manual/basics-pads.xml:
26582 Add reference for filtered caps to above chapter.
26584 2005-06-30 Wim Taymans <wim@fluendo.com>
26586 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26587 (gst_bin_change_state):
26589 Lame attempt at making the state change function a bit
26592 2005-06-30 Wim Taymans <wim@fluendo.com>
26594 * docs/design/part-clocks.txt:
26595 * docs/design/part-element-sink.txt:
26596 * docs/design/part-events.txt:
26597 * docs/design/part-preroll.txt:
26598 * docs/design/part-states.txt:
26599 Some more tweeks and additions to the docs.
26601 2005-06-30 Wim Taymans <wim@fluendo.com>
26603 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26604 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26605 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26606 (gst_pad_check_pull_range), (gst_pad_get_range),
26607 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26609 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26610 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26611 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26612 (gst_pad_remove_buffer_probe):
26613 Removed atomic operations, use existing LOCK.
26614 Move exception handling out of main code path.
26616 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26618 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26619 (silly_return_true_function), (gst_pad_class_init),
26620 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26621 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26622 (gst_pad_send_event):
26623 Fix accumulator, add default value by using _emitv() instead
26624 of _emit() for signal emission.
26626 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26628 * docs/manual/advanced-dataaccess.xml:
26629 * examples/manual/Makefile.am:
26631 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26634 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26636 * gst/elements/gstfilesink.c: (gst_filesink_render):
26637 Simplify code so that we don't have to handle short
26638 writes and return GST_FLOW_ERROR if an error occured.
26640 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26642 * docs/gst/gstreamer-docs.sgml:
26643 Remove probes more.
26645 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26647 * docs/gst/gstreamer-sections.txt:
26648 * docs/gst/tmpl/gstpad.sgml:
26649 * docs/gst/tmpl/gstprobe.sgml:
26651 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26652 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26653 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26654 (gst_pad_push_event), (gst_pad_send_event):
26656 * gst/gstutils.c: (gst_pad_add_data_probe),
26657 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26658 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26659 (gst_pad_remove_buffer_probe):
26661 Remove old probes, add new g-signal-based probes and some utility
26664 2005-06-29 Edward Hervey <edward@fluendo.com>
26666 * gst/gstelementfactory.c:
26669 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26670 the definition to the header file.
26672 2005-06-29 Andy Wingo <wingo@pobox.com>
26674 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26675 plugins from the source directory.
26677 2005-06-29 Wim Taymans <wim@fluendo.com>
26679 * docs/gst/tmpl/gstbuffer.sgml:
26680 * docs/gst/tmpl/gstclock.sgml:
26681 Some fixings for blantently wrong text.
26683 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26685 * check/Makefile.am:
26686 * gst/gst.c: (add_path_func), (init_pre):
26687 * gst/gstregistry.c: (gst_registry_add_path):
26688 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26689 only scan the GST_PLUGIN_PATH locations, and not add
26692 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26694 * docs/gst/gstreamer-sections.txt:
26695 * docs/gst/tmpl/gstbasesrc.sgml:
26696 * gst/gstelement.c:
26697 * gst/gstelement.h:
26702 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26704 * docs/manual/advanced-autoplugging.xml:
26705 Fix autoplugging example.
26707 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26709 * docs/manual/advanced-autoplugging.xml:
26710 * docs/manual/mime-world.fig:
26711 Try to get autoplugging working, fix type detection. Fix text
26712 in hello-world image.
26714 2005-06-29 Wim Taymans <wim@fluendo.com>
26716 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26717 (gst_base_sink_change_state):
26721 map SIGNAL and BROADCAST to the right function.
26724 Remove redundant braces.
26726 * gst/gstpad.c: (gst_pad_set_caps):
26727 Don't call setcaps function when reseting caps to NULL.
26729 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26730 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26731 (gst_system_clock_id_unschedule):
26732 Use BROADCAST as this is what we do.
26734 2005-06-29 Wim Taymans <wim@fluendo.com>
26736 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26737 We are actually prerolling before commiting the state
26740 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26742 * docs/manual/advanced-clocks.xml:
26743 * docs/manual/advanced-interfaces.xml:
26744 * docs/manual/advanced-metadata.xml:
26745 * docs/manual/advanced-position.xml:
26746 * docs/manual/advanced-schedulers.xml:
26747 * docs/manual/advanced-threads.xml:
26748 * docs/manual/appendix-porting.xml:
26749 * docs/manual/basics-bins.xml:
26750 * docs/manual/basics-bus.xml:
26751 * docs/manual/basics-elements.xml:
26752 * docs/manual/basics-helloworld.xml:
26753 * docs/manual/basics-pads.xml:
26754 * docs/manual/highlevel-components.xml:
26755 * docs/manual/manual.xml:
26756 * docs/manual/thread.fig:
26757 Update (until threads/scheduling) Application Development Manual;
26758 remove GstThread, add GstBus, add simple porting checklist, add
26759 documentation for tag writing, clocks, make all examples until this
26760 part compile and run.
26761 * examples/manual/Makefile.am:
26762 Update from changes to Application Development Manual; add bus
26763 example, remove thread example.
26765 2005-06-28 Wim Taymans <wim@fluendo.com>
26767 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26768 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26769 (gst_bus_source_dispatch):
26770 Add debugging messages.
26771 Make internal methods static.
26772 Handle the case where the bus is flushed in the handler.
26774 * gst/gstelement.c: (gst_element_get_bus):
26775 Fix refcount in _get_bus();
26777 * gst/gstpipeline.c: (gst_pipeline_change_state),
26778 (gst_pipeline_get_clock_func):
26779 Clock refcounting fixes.
26780 Handle the case where preroll timed out more gracefully.
26782 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26783 Clean up the internal thread in dispose. This is needed
26784 for subclasses that actually get disposed.
26786 * gst/schedulers/threadscheduler.c:
26787 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26788 (gst_thread_scheduler_dispose):
26789 Free thread pool in dispose.
26791 2005-06-28 Andy Wingo <wingo@pobox.com>
26793 * tests/network-clock-utils.scm (debug, print-event): New utils.
26795 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26796 (*packet-loss*): Unified loss probability.
26797 (network-time): Report out-of-band events.
26799 * tests/plot-data: Add support for out-of-band events. Hack it
26800 into this script instead of passing it down the pipe; should fix
26803 2005-06-28 Wim Taymans <wim@fluendo.com>
26805 * docs/gst/gstreamer.types:
26806 * docs/gst/tmpl/gstbasesrc.sgml:
26807 * docs/gst/tmpl/gstpad.sgml:
26810 2005-06-28 Wim Taymans <wim@fluendo.com>
26812 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26813 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26814 (gst_proxy_pad_do_fixatecaps):
26815 Correctly proxy the check_pull_range function.
26817 2005-06-28 Andy Wingo <wingo@pobox.com>
26819 * tests/network-clock.scm: Removed need for slib.
26821 2005-06-28 Wim Taymans <wim@fluendo.com>
26823 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26824 (gst_basesink_preroll_queue_flush):
26825 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26826 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26827 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26828 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26829 (gst_proxy_pad_set_property):
26832 * gst/gstqueue.c: (gst_queue_init):
26833 The deprecated pad loop function is removed now.
26835 2005-06-28 Andy Wingo <wingo@pobox.com>
26837 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26838 New parameters, simulate network packet loss.
26840 * tests/network-clock-utils.scm: Initialize the RNG.
26842 2005-06-28 Wim Taymans <wim@fluendo.com>
26844 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26845 (gst_basesink_event), (gst_basesink_deactivate):
26846 Flushing the preroll queue always needs to unlock the waiters.
26848 2005-06-28 Edward Hervey <edward@fluendo.com>
26850 * gst/gstpipeline.c: (gst_pipeline_send_event):
26851 Wheen a seek was successful on a pipeline, set the stream_time to the
26852 seek offset in order to have a synchronized stream_time.
26854 2005-06-28 Wim Taymans <wim@fluendo.com>
26856 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26857 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26858 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26859 (gst_proxy_pad_do_fixatecaps):
26860 Call wrapper function instead of just calling the function
26861 pointers. This takes care of any locking and whatmore.
26863 2005-06-28 Wim Taymans <wim@fluendo.com>
26865 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26866 (gst_pad_pull_range):
26868 CONNECTED -> LINKED.
26870 2005-06-28 Andy Wingo <wingo@pobox.com>
26872 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26873 source-munging commit!!!
26875 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26876 (gst_object_sink): Take gpointer arguments, not GstObject --
26877 avoids casts. Like GLib.
26879 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26882 2005-06-27 Andy Wingo <wingo@pobox.com>
26884 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26887 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26888 returns a sorted copy of the trace list.
26889 (gst_alloc_trace_print_live): New API, only prints traces with
26890 live objects. Sort the list.
26891 (gst_alloc_trace_print_all): Sort the list.
26892 (gst_alloc_trace_print): Align columns.
26894 * gst/elements/gstttypefindelement.c:
26895 * gst/elements/gsttee.c:
26896 * gst/base/gstbasesrc.c:
26897 * gst/base/gstbasesink.c:
26898 * gst/base/gstbasetransform.c:
26899 * gst/gstqueue.c: Adapt for pad activation changes.
26901 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26903 (gst_pipeline_dispose): Drop ref on sched.
26905 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26906 (gst_pad_activate_default): Push mode by default.
26907 (pre_activate_switch, post_activate_switch): New stubs, things to
26908 do before and after switching activation modes on pads.
26909 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26910 the pad's activate function to choose which mode to activate.
26911 Shortcut on deactivation and call the right function directly.
26912 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26914 (gst_pad_activate_push): New API, same for push mode.
26915 (gst_pad_set_activate_function)
26916 (gst_pad_set_activatepull_function)
26917 (gst_pad_set_activatepush_function): Setters for new API.
26919 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26920 Trace all miniobjects.
26921 (gst_mini_object_make_writable): Unref the arg if we copy, like
26922 gst_caps_make_writable.
26924 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26926 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26927 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26928 Adapt for new pad API.
26930 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26932 * gst/gstelement.h:
26933 * gst/gstelement.c (gst_element_iterate_src_pads)
26934 (gst_element_iterate_sink_pads): New API functions.
26936 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26937 should fold into gstiterator.c in some form.
26938 (gst_element_pads_activate): Simplified via use of fold and
26939 delegation of decisions to gstpad->activate.
26941 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26944 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26945 class once in init, like gstmessage. Didn't run into this issue
26946 but it seems correct. Don't initialize a trace, gstminiobject does
26949 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26950 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26952 (assert_live_count): New util function, uses alloc traces to check
26955 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26956 To be modified when unlink drops the internal pad.
26958 2005-06-27 Wim Taymans <wim@fluendo.com>
26960 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26961 (gst_bin_change_state):
26962 Cleanup the get_state() function a little, make sure it
26963 iterates the same set of elements.
26964 Added stub iterate_state_order().
26966 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26968 * docs/gst/gstreamer-docs.sgml:
26969 * docs/gst/gstreamer-sections.txt:
26970 * docs/gst/gstreamer.types:
26971 * docs/gst/tmpl/gstbasesink.sgml:
26972 * docs/gst/tmpl/gstbasesrc.sgml:
26973 * docs/gst/tmpl/gstbasetransform.sgml:
26974 * docs/gst/tmpl/gstelement.sgml:
26975 * docs/gst/tmpl/gstiterator.sgml:
26976 * gst/base/gstbasesrc.c:
26977 * gst/base/gstbasesrc.h:
26978 * gst/base/gstbasetransform.h:
26979 * gst/gstelement.c:
26980 * gst/gstiterator.h:
26981 adding basetransform and iterator docs
26983 2005-06-27 Andy Wingo <wingo@pobox.com>
26985 * docs/design/part-activation.txt: Notes on how activation should
26986 work -- not quite implemented yet.
26988 2005-06-25 Wim Taymans <wim@fluendo.com>
26990 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26991 At least get the chain function correct, needs more
26994 2005-06-25 Wim Taymans <wim@fluendo.com>
26996 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26997 (gst_basesink_handle_object), (gst_basesink_event),
26998 (gst_basesink_do_sync), (gst_basesink_handle_event),
26999 (gst_basesink_change_state):
27001 Right, two problems here: ghostpads don't take locks and
27002 glib _rec_mutex_lock_full() with depth==0 still locks.
27003 Catch illegal locking and g_warn them.
27005 2005-06-25 Wim Taymans <wim@fluendo.com>
27007 * check/states/sinks.c: (START_TEST), (gst_object_suite):
27008 Have to check for completion now...
27010 2005-06-25 Wim Taymans <wim@fluendo.com>
27012 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
27013 (gst_basesink_handle_object), (gst_basesink_event),
27014 (gst_basesink_do_sync), (gst_basesink_handle_event),
27015 (gst_basesink_change_state):
27017 Unlock STREAM_LOCK whatever the recursion was.
27019 2005-06-25 Wim Taymans <wim@fluendo.com>
27021 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27022 (gst_basesink_preroll_queue_empty),
27023 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27024 (gst_basesink_event), (gst_basesink_do_sync),
27025 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27026 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27027 (gst_basesink_change_state):
27028 Reworked the base sink, handle event and buffer serialisation
27029 correctly and removed possible deadlock.
27030 Handle EOS correctly.
27032 2005-06-25 Wim Taymans <wim@fluendo.com>
27034 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27035 (gst_pipeline_change_state):
27036 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27037 Allow elements to post EOS in the state change function.
27038 Fix up -launch, make it exit the poll loop when the
27039 pipeline actually changed state.
27040 Fix up warning parsing in -launch.
27042 2005-06-25 Wim Taymans <wim@fluendo.com>
27044 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27045 (gst_tee_sink_activate):
27046 Core takes STREAM_LOCK for us now.
27048 2005-06-25 Wim Taymans <wim@fluendo.com>
27050 * gst/gstelement.c: (gst_element_get_state_func),
27051 (gst_element_set_state):
27052 * gst/gstelement.h:
27053 * gst/gstmessage.c: (gst_message_parse_error),
27054 (gst_message_parse_warning):
27055 Keep track of current target state while performing a state
27056 change so that subclasses can do something interesting.
27057 Fix parsing of warning/error messages when GError is NULL.
27059 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27061 * docs/gst/Makefile.am:
27062 * docs/gst/gstreamer-docs.sgml:
27063 * docs/gst/gstreamer-sections.txt:
27064 * docs/gst/gstreamer.types:
27065 * docs/gst/tmpl/gstbasesink.sgml:
27066 * docs/gst/tmpl/gstbasesrc.sgml:
27067 * docs/gst/tmpl/gstbin.sgml:
27068 * docs/gst/tmpl/gstcompat.sgml:
27069 * docs/gst/tmpl/gstfakesink.sgml:
27070 * docs/gst/tmpl/gstfakesrc.sgml:
27071 * docs/gst/tmpl/gstfilesink.sgml:
27072 * docs/gst/tmpl/gstfilesrc.sgml:
27073 * docs/gst/tmpl/gstindex.sgml:
27074 * docs/manual/appendix-quotes.xml:
27075 * gst/base/gstbasesrc.h:
27076 * gst/elements/gstfakesrc.h:
27077 * gst/gstmessage.h:
27078 start pulling in base classes and elements in our docs
27080 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27082 * docs/gst/Makefile.am:
27083 * docs/libs/Makefile.am:
27084 fixed make distcheck with gtk-doc 1.3
27086 2005-06-23 Wim Taymans <wim@fluendo.com>
27088 * gst/gstelement.c: (gst_element_get_state_func),
27089 (gst_element_set_state), (gst_element_change_state):
27090 When the state did not change, also report NO_PREROLL
27093 2005-06-23 Wim Taymans <wim@fluendo.com>
27095 * gst/gstpad.c: (gst_pad_event_default):
27096 * gst/gstqueue.c: (gst_queue_loop):
27097 No unsafe task pausing please.
27099 2005-06-23 Wim Taymans <wim@fluendo.com>
27101 * gst/schedulers/threadscheduler.c:
27102 (gst_thread_scheduler_task_start),
27103 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27104 Ref the task before pushing it on the threadpool. This
27105 makes sure that we have a ref when the threadfunction is
27108 2005-06-23 Andy Wingo <wingo@pobox.com>
27110 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27111 offset is greater than the file's size.
27113 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27114 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27115 * gst/gstobject.c (gst_object_class_init): Make the class lock
27116 recursive. Wim won't let me drop deep_notify. Decodebin works
27117 again, whoopdy doo.
27119 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27120 internal pad, and hacks accordingly. Doesn't do it on the target
27121 pad because we change its caps. Probably catches all cases of
27123 (gst_ghost_pad_set_property): Connect to notify::caps as
27126 * tests/network-clock.scm (plot-simulation): Pipe data to the
27127 elite python skript.
27129 * tests/network-clock-utils.scm (define-parameter): New macro,
27130 defines a parameter that can be set via the command line.
27131 (set-parameter!, parse-parameter-arguments): Command line args
27134 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27137 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27139 * gst/elements/gsttypefindelement.c:
27140 (gst_type_find_element_handle_event):
27141 Don't restart typefinding on a discont.
27142 * gst/gstelement.c: (gst_element_set_state):
27143 Debug spelling fix.
27144 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27145 Allow changing mode of an active pad.
27146 Debug output fixes.
27147 * gst/registries/gstlibxmlregistry.c: (load_feature):
27148 Don't cast a static pad template to a normal pad template.
27150 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27152 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27153 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27154 remove gst_strtoll completely, since it didn't actually do
27155 anything more than what g_ascii_strtoull already does.
27156 check for range errors when deserializing
27157 do a cast for the unsigned cases; but further fixing needs
27158 a decision on what the interpretation of "(int)" and
27159 deserialization should be for values that fall outside the
27160 type's boundaries (ie, refuse, or interpret as casting)
27162 2005-06-23 Wim Taymans <wim@fluendo.com>
27164 * check/Makefile.am:
27165 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27166 * docs/design/part-live-source.txt:
27167 * docs/design/part-states.txt:
27168 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27169 (gst_basesrc_set_live), (gst_basesrc_is_live),
27170 (gst_basesrc_get_range), (gst_basesrc_activate),
27171 (gst_basesrc_change_state):
27172 * gst/base/gstbasesrc.h:
27173 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27174 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27175 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27176 * gst/gstelement.c: (gst_element_get_state_func),
27177 (gst_element_set_state):
27178 * gst/gstelement.h:
27180 * tools/gst-launch.c: (event_loop), (main):
27181 Added support for live sources and other elements that
27183 Updated design docs, added live-source design doc.
27184 Implemented live source functionality in basesrc
27185 Fix error condition in _bin_get_state()
27186 Implement live source handling in -launch.
27187 Added check for live sources.
27188 Fixed case in GstBin where elements were changed state
27192 2005-06-23 Andy Wingo <wingo@pobox.com>
27194 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27195 borken refcounting.
27197 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27198 gst_caps_replace takes care of this for us.
27200 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27201 gst_pad_set_caps on the target, not just its setcaps() function.
27203 * tests/network-clock.scm:
27204 * tests/network-clock-utils.scm: A network clock simulator.
27205 Something of an algorithmic testbed before doing something in C.
27207 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27209 * check/Makefile.am:
27210 * check/gst/capslist.h:
27211 copy over from 0.8, and add two with bitmasks specified with
27213 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27214 add test to parse everything from capslist.h
27215 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27217 add test for structure deserialization
27218 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27219 add tests for deserialization of strings to int types
27220 * gst/gststructure.c: (gst_structure_nth_field_name):
27221 * gst/gststructure.h:
27222 add a way to get the name of a field referenced by index
27223 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27224 instead of checking if the resulting long long lies between
27225 min and max, we check if the long long would fit into
27226 a number of bytes for the final type.
27227 This fixes cases where a string represents 2^32 - 1, which
27228 when cast to int would be the (valid) -1, but is bigger than
27231 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27233 * gst/parse/grammar.y:
27234 add a log line for type deserialization
27236 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27238 * check/gst/gstvalue.c: (START_TEST):
27239 * gst/gstvalue.c: (gst_value_deserialize):
27240 return long long, not int, so gint64 deserialization actually
27241 works. Is there any flag that makes the compiler check this ?
27244 2005-06-22 Wim Taymans <wim@fluendo.com>
27247 Added convenience macros for setting buffers in GValue.
27249 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27251 * check/gst/.cvsignore:
27252 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27253 add a test deserializing int64, and comment part out because
27256 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27258 * check/Makefile.am:
27259 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27260 * testsuite/Makefile.am:
27261 * testsuite/caps/Makefile.am:
27262 * testsuite/caps/value_serialize.c:
27263 * testsuite/test_gst_init.c:
27264 move a value_serialize test over
27266 2005-06-20 Wim Taymans <wim@fluendo.com>
27271 * gst/gstvalue.c: (gst_value_compare_buffer),
27272 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27273 (gst_value_compare_flags), (gst_value_serialize_flags),
27274 (gst_value_deserialize_flags), (_gst_value_initialize):
27275 Fix serialisation of buffers, they are not boxed types anymore
27277 2005-06-20 Wim Taymans <wim@fluendo.com>
27279 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27280 Testcase to show error in buffer-on-caps serialisation.
27282 2005-06-20 Andy Wingo <wingo@pobox.com>
27284 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27285 will be adding to later.
27287 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27288 if its socks fill with rocks.
27289 (gst_system_clock_obtain): Set the name on object construction.
27290 Avoid double-checked locking.
27292 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27294 * gst/gsturi.c: (gst_element_make_from_uri):
27295 Fix potential endless loop.
27297 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27299 * check/Makefile.am:
27301 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27303 move over from testsuite dir and clean up
27306 * testsuite/Makefile.am:
27307 * testsuite/tags/.cvsignore:
27308 * testsuite/tags/Makefile.am:
27309 * testsuite/tags/merge.c:
27310 remove testsuite/tags
27312 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27314 * docs/gst/gstreamer-sections.txt:
27315 * docs/gst/tmpl/gstenumtypes.sgml:
27316 * win32/gstenumtypes.c:
27317 clean up documentation build a little
27319 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27321 * check/gstcheck.h:
27322 add macros for checking refcounts on objects and caps
27323 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27324 add some more unit tests
27325 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27326 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27327 fix leaked refcounts (I hope :)) so unittest works
27331 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27333 * configure.ac: back to HEAD
27335 === release 0.9.1 ===
27337 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27343 2005-06-17 Andy Wingo <wingo@pobox.com>
27345 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27346 assert; it's always possible that the pad gets deactivated in
27347 between the checks in gstpad.c and the implementation. Rely on
27348 finish_preroll() to return a FLUSHING or similar instead of on the
27351 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27352 clock and post an EOS message if we come out of finish_preroll in
27355 2005-06-16 David Schleef <ds@schleef.org>
27357 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27358 (gst_capsfilter_set_property): Allow NULL as possible value
27359 for filter_caps property, indicating GST_CAPS_ANY.
27361 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27363 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27365 * gst/schedulers/Makefile.am:
27367 * gstreamer.spec.in:
27370 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27372 * gstreamer.spec.in:
27375 2005-06-08 Andy Wingo <wingo@pobox.com>
27377 * gst/gstutils.c: RPAD fixes all around.
27378 (gst_element_link_pads): Refcounting fixes.
27380 * tools/gst-inspect.c:
27381 * tools/gst-xmlinspect.c:
27383 * gst/base/gsttypefindhelper.c:
27384 * gst/base/gstbasesink.c:
27385 * gst/gstqueue.c: RPAD fixes.
27387 * gst/gstghostpad.h:
27388 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27389 pads. The tricky thing is they provide both source and sink
27390 interfaces, since they proxy the internal pad for the external
27391 pad, and vice versa. Implement with lower-level ProxyPad objects,
27392 with the interior proxy pad as a child of the exterior ghost pad.
27393 Should write a doc on this.
27395 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27396 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27399 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27400 pads are real pads. No ghost pads in this file. Not documenting
27401 the myriad s/RPAD/PAD/ and REALIZE fixes.
27402 (gst_pad_class_init): Add properties for "direction" and
27403 "template". Both are construct-only, so they can't change during
27404 the life of the pad. Fixes properly deriving from GstPad.
27405 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27406 derived objects, just set properties when creating the objects via
27408 (gst_pad_get_parent): Implement as a function, return NULL if the
27409 parent is not an element.
27410 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27411 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27413 * gst/gstobject.c (gst_object_class_init): Make name a construct
27414 property. Don't set it in the object init.
27416 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27417 with UNKNOWN direction.
27418 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27419 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27420 (gst_element_remove_pad): Remove ghost-pad special cases.
27421 (gst_element_pads_activate): Remove rpad cruft.
27423 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27424 catch the pad's-parent-not-an-element case.
27426 * gst/gst.h: Include gstghostpad.h.
27428 * gst/gst.c (init_post): No more real, ghost pads.
27430 * gst/Makefile.am: Add gstghostpad.[ch].
27432 * check/Makefile.am:
27433 * check/gst/gstbin.c:
27434 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27435 into a bin creates ghost pads, and that the refcounts are right.
27436 Partly moved from gstbin.c.
27438 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27440 * check/gst-libs/.cvsignore:
27441 * check/gst/.cvsignore:
27442 * check/pipelines/.cvsignore:
27444 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27445 (START_TEST), (cleanup_suite), (main):
27446 add some tests related to cleanup after running pipelines
27448 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27450 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27451 add a testsuite for GstBuffer
27453 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27455 * gst/gstminiobject.h:
27456 add defines for accessing the refcount
27458 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27460 * Makefile.am: added support for html unit test coverage reports
27462 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27464 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27465 Free existing caps if the capsfilter changes. Add a FIXME about
27466 setting those caps on the pads.
27468 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27469 Before adding a ghost pad to a parent bin, check that there isn't
27470 already one for the element on the bin. Prevents infinite recursion
27471 when using decodebin in parse pipelines. Andy says he'll rewrite the
27472 way this works anyway, so ignore the hack.
27474 2005-06-02 Andy Wingo <wingo@pobox.com>
27476 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27477 file size, pass it on to the type find helper.
27479 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27480 segment_start and segment_end properly according to the seek
27481 method. Segment_end is still a bit flaky because offset can be
27482 negative for CUR and END cases, but it takes -1 as an "unset"
27485 2005-06-02 Wim Taymans <wim@fluendo.com>
27487 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27488 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27489 (gst_basesink_activate):
27490 * gst/base/gstbasesink.h:
27491 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27492 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27493 (gst_pad_query), (gst_pad_start_task):
27495 * gst/gstqueue.c: (gst_queue_bufferalloc),
27496 (gst_queue_handle_sink_event), (gst_queue_chain):
27497 Bufferalloc: return GstFlowReturn to more accuratly report
27498 why allocation failed.
27500 2005-06-02 Wim Taymans <wim@fluendo.com>
27502 * gst/gstpipeline.c: (gst_pipeline_send_event):
27503 Take snapshot of state without blocking.
27505 2005-06-02 Wim Taymans <wim@fluendo.com>
27507 * docs/design/part-TODO.txt:
27508 * docs/design/part-caps.txt:
27509 * docs/design/part-clocks.txt:
27510 * docs/design/part-negotiation.txt:
27511 * docs/design/part-preroll.txt:
27514 2005-05-30 Wim Taymans <wim@fluendo.com>
27516 * gst/elements/gstidentity.c: (gst_identity_event),
27517 (gst_identity_transform), (gst_identity_get_property):
27518 Protect last_message property as it is accessed from
27521 2005-05-30 Wim Taymans <wim@fluendo.com>
27523 * gst/gstelement.c: (gst_element_init),
27524 (gst_element_pads_activate), (gst_element_change_state):
27525 Slicker pad activation code.
27527 2005-05-30 Wim Taymans <wim@fluendo.com>
27530 * gst/gstelement.h:
27531 * gst/gstelementfactory.h:
27533 Move elementfactory methods to separate .h file.
27535 2005-05-30 Wim Taymans <wim@fluendo.com>
27537 * docs/design/part-overview.txt:
27538 * gst/gstsystemclock.h:
27539 Small typo fixes, doc updates.
27541 2005-05-30 Wim Taymans <wim@fluendo.com>
27543 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27544 (init_popt_callback):
27545 Remove cpu-opt flag.
27547 2005-05-30 Wim Taymans <wim@fluendo.com>
27549 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27550 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27552 Avoid typechecking in places where not needed.
27553 Added accessor for malloc_data.
27555 2005-05-30 Wim Taymans <wim@fluendo.com>
27557 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27558 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27559 (gst_pad_configure_sink), (gst_pad_configure_src),
27560 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27561 (gst_pad_start_task):
27562 Propagate errors from _set_caps() in configure_src/sink
27563 functions instead of returning TRUE.
27564 FLUSH events can travel up and downstream
27567 2005-05-30 Wim Taymans <wim@fluendo.com>
27569 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27570 (gst_basesink_activate):
27571 Handle EOS in preroll.
27573 2005-05-30 Wim Taymans <wim@fluendo.com>
27575 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27576 (gst_queue_loop), (gst_queue_handle_src_event):
27577 Remove old pieces of code
27578 Flushing the queue in an upstream event is a very bad idea.
27580 2005-05-26 Andy Wingo <wingo@pobox.com>
27582 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27583 gst_value_set_mini_object so as to add a ref on the object (which
27584 will be removed when the value is unset).
27586 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27587 arg type in ::handoff.
27589 * gst/gstelement.c (gst_element_change_state): Also deactivate
27590 pads in READY->NULL, just in case the element didn't make it to
27591 PAUSED. Wingo tested, Wim approved.
27593 2005-05-26 Wim Taymans <wim@fluendo.com>
27595 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27596 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27597 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27598 A flushing pad cannot be used to alloc_buffer from.
27600 2005-05-26 Wim Taymans <wim@fluendo.com>
27602 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27603 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27604 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27605 (gst_bus_create_watch), (gst_bus_add_watch_full):
27607 Implement a real GSource and use g_main_context_wakeup() to
27608 signal new messages instead of the socketpair.
27610 2005-05-25 Wim Taymans <wim@fluendo.com>
27612 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27613 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27614 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27615 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27616 (gst_pad_send_event), (gst_pad_start_task):
27617 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27618 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27619 (gst_queue_sink_activate), (gst_queue_src_activate),
27620 (gst_queue_change_state):
27622 Fix state changes for non sinks. We now change sinks, then elements
27623 with unconnected srcpads, then the rest.
27624 More efficient queue unlocking in flush and state changes.
27625 Set the pad activate mode even if it does not have an activate
27628 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27630 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27631 Don't go in pull mode for non-seekable sources.
27632 * gst/elements/gsttypefindelement.h:
27633 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27634 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27635 (free_entry), (stop_typefinding),
27636 (gst_type_find_element_handle_event), (find_peek),
27637 (gst_type_find_element_chain), (do_pull_typefind),
27638 (gst_type_find_element_change_state):
27639 Allow typefinding (w/o seeking) in push-mode, simplified version
27640 of what was in 0.8.
27641 * gst/gstutils.c: (gst_buffer_join):
27643 gst_buffer_join() from 0.8.
27645 2005-05-25 Wim Taymans <wim@fluendo.com>
27647 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27648 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27649 (gst_pad_send_event), (gst_pad_start_task):
27650 Disable attempt at mode switching until it is figured out.
27652 2005-05-25 Wim Taymans <wim@fluendo.com>
27654 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27655 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27656 (gst_basesink_finish_preroll), (gst_basesink_chain),
27657 (gst_basesink_loop), (gst_basesink_activate),
27658 (gst_basesink_change_state):
27659 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27660 (gst_basesrc_get_range), (gst_basesrc_loop),
27661 (gst_basesrc_activate):
27662 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27663 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27664 (gst_real_pad_init), (gst_real_pad_set_property),
27665 (gst_real_pad_get_property), (gst_pad_set_active),
27666 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27667 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27668 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27669 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27670 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27671 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27672 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27673 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27674 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27675 (gst_pad_stop_task):
27677 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27678 (gst_queue_loop), (gst_queue_src_activate):
27679 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27680 (gst_task_get_state):
27682 * gst/schedulers/threadscheduler.c:
27683 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27684 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27686 Remove ACTIVE pad flag, use FLUSHING everywhere
27687 Added _pad_chain(), _pad_get_range() to call chain/getrange
27689 Add locks around IS_FLUSHING when reading.
27690 Take STREAM lock in chain(), get_range() functions so plugins
27691 don't need to take it anymore.
27695 2005-05-25 Wim Taymans <wim@fluendo.com>
27697 * tools/gst-launch.c: (event_loop):
27698 Unref message after using its contents instead of
27701 2005-05-24 Wim Taymans <wim@fluendo.com>
27703 * docs/design/draft-ghostpads.txt:
27704 * docs/design/draft-push-pull.txt:
27705 * docs/design/draft-query.txt:
27706 * docs/design/part-overview.txt:
27707 Docs updates, added general overview doc.
27709 2005-05-21 David Schleef <ds@schleef.org>
27711 * docs/gst/tmpl/old/GstBin.sgml:
27712 * docs/gst/tmpl/old/GstBuffer.sgml:
27713 * docs/gst/tmpl/old/GstCaps.sgml:
27714 * docs/gst/tmpl/old/GstClock.sgml:
27715 * docs/gst/tmpl/old/GstCompat.sgml:
27716 * docs/gst/tmpl/old/GstData.sgml:
27717 * docs/gst/tmpl/old/GstElement.sgml:
27718 * docs/gst/tmpl/old/GstEvent.sgml:
27719 * docs/gst/tmpl/old/GstIndex.sgml:
27720 * docs/gst/tmpl/old/GstStructure.sgml:
27721 * docs/gst/tmpl/old/GstTag.sgml:
27722 * docs/gst/tmpl/old/cothreads.sgml:
27723 * docs/gst/tmpl/old/cothreads_compat.sgml:
27724 * docs/gst/tmpl/old/gettext.sgml:
27725 * docs/gst/tmpl/old/gobject2gtk.sgml:
27726 * docs/gst/tmpl/old/grammar.tab.sgml:
27727 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27728 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27729 * docs/gst/tmpl/old/gst_private.sgml:
27730 * docs/gst/tmpl/old/gstaggregator.sgml:
27731 * docs/gst/tmpl/old/gstarch.sgml:
27732 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27733 * docs/gst/tmpl/old/gstbufferstore.sgml:
27734 * docs/gst/tmpl/old/gstdata_private.sgml:
27735 * docs/gst/tmpl/old/gstdisksink.sgml:
27736 * docs/gst/tmpl/old/gstdisksrc.sgml:
27737 * docs/gst/tmpl/old/gstelementfactory.sgml:
27738 * docs/gst/tmpl/old/gstextratypes.sgml:
27739 * docs/gst/tmpl/old/gstfakesink.sgml:
27740 * docs/gst/tmpl/old/gstfakesrc.sgml:
27741 * docs/gst/tmpl/old/gstfdsink.sgml:
27742 * docs/gst/tmpl/old/gstfdsrc.sgml:
27743 * docs/gst/tmpl/old/gstfilesink.sgml:
27744 * docs/gst/tmpl/old/gstfilesrc.sgml:
27745 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27746 * docs/gst/tmpl/old/gstidentity.sgml:
27747 * docs/gst/tmpl/old/gstindexfactory.sgml:
27748 * docs/gst/tmpl/old/gstmarshal.sgml:
27749 * docs/gst/tmpl/old/gstmd5sink.sgml:
27750 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27751 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27752 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27753 * docs/gst/tmpl/old/gstpipefilter.sgml:
27754 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27755 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27756 * docs/gst/tmpl/old/gstshaper.sgml:
27757 * docs/gst/tmpl/old/gstspider.sgml:
27758 * docs/gst/tmpl/old/gstspideridentity.sgml:
27759 * docs/gst/tmpl/old/gststatistics.sgml:
27760 * docs/gst/tmpl/old/gsttee.sgml:
27761 * docs/gst/tmpl/old/gsttimecache.sgml:
27762 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27763 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27764 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27765 * docs/gst/tmpl/old/types.sgml:
27766 I didn't intend to add these or check them in.
27768 2005-05-19 David Schleef <ds@schleef.org>
27770 * configure.ac: Use -no-common everywhere. In a sane world, it
27771 would be the default in libtool, because without it, you can't
27772 build DLLs on Windows.
27773 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27774 * docs/gst/gstreamer-sections.txt:
27775 * docs/gst/tmpl/gstcpu.sgml:
27776 * docs/gst/tmpl/gstdata.sgml:
27777 * docs/gst/tmpl/gstthread.sgml:
27779 2005-05-19 David Schleef <ds@schleef.org>
27781 * gst/gstminiobject.c: (gst_value_set_mini_object),
27782 (gst_value_take_mini_object), (gst_value_get_mini_object):
27783 * gst/gstminiobject.h: Add GValue set/get functions.
27785 2005-05-19 Wim Taymans <wim@fluendo.com>
27787 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27788 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27789 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27791 * gst/gstbus.c: (gst_bus_post):
27792 * gst/gstelement.c: (gst_element_get_random_pad):
27793 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27794 Make subbufer unref the parent in finalize.
27795 some more debugging info.
27798 2005-05-19 Wim Taymans <wim@fluendo.com>
27800 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27801 (gst_basesink_init), (gst_basesink_finalize),
27802 (gst_basesink_activate), (gst_basesink_change_state):
27803 Don't free preroll queue too early.
27805 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27809 Hi, I'm outdated. Please shoot me.
27811 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27813 * gst/gstpipeline.c: (gst_pipeline_send_event):
27814 Do not access variables after they have been deleted.
27816 2005-05-19 Wim Taymans <wim@fluendo.com>
27818 * tools/gst-inspect.c: (print_plugin_features):
27819 A plugin feature does unfortunatly not use the
27822 2005-05-18 Wim Taymans <wim@fluendo.com>
27824 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27825 Port _span() functions to new subbuffers.
27827 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27829 * gst/gstbin.c: (gst_bin_add_func):
27830 Fix clock settery in bins when adding kids after the clock has
27833 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27835 * gst/elements/gstidentity.c: (gst_identity_class_init):
27836 Workaround until signals support GstMiniObject.
27838 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27841 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27843 2005-05-18 Wim Taymans <wim@fluendo.com>
27845 * gst/base/Makefile.am:
27846 * gst/base/gstadapter.c: (gst_adapter_base_init),
27847 (gst_adapter_class_init), (gst_adapter_init),
27848 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27849 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27850 (gst_adapter_flush), (gst_adapter_available),
27851 (gst_adapter_available_fast):
27852 * gst/base/gstadapter.h:
27853 Ported and added adapter to the base classes.
27855 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27858 * gst/gstmessage.c:
27859 Make sure the class is reffed/unreffed once before threads can be
27860 used. Fixes #304551.
27862 2005-05-17 Wim Taymans <wim@fluendo.com>
27864 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27865 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27866 * gst/gstminiobject.c: (gst_mini_object_get_type),
27867 (gst_mini_object_free):
27868 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27869 (gst_pad_push), (gst_pad_push_event):
27870 * gst/gstqueue.c: (gst_queue_change_state):
27871 Don't queue buffers in basesink when we are flushing.
27872 Unref buffer when flushing in basesink.
27873 Flush queue when going to READY
27874 Unref buffer when _push() returns an error.
27875 Don't free MiniObject instance when refcount is incremented
27876 in _finalize() so that we can recover objects.
27878 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27880 * docs/manual/advanced-schedulers.xml:
27881 * docs/manual/appendix-checklist.xml:
27882 * docs/pwg/advanced-clock.xml:
27883 * docs/pwg/advanced-interfaces.xml:
27884 * docs/pwg/advanced-request.xml:
27885 * docs/pwg/advanced-types.xml:
27886 * docs/pwg/intro-preface.xml:
27887 * examples/plugins/example.c: (gst_example_get_type),
27888 (gst_example_class_init), (gst_example_chain),
27889 (gst_example_set_property), (gst_example_get_property),
27890 (gst_example_change_state), (plugin_init):
27891 * examples/plugins/example.h:
27894 2005-05-17 Wim Taymans <wim@fluendo.com>
27896 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27897 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27898 * gst/gstqueue.c: (gst_queue_change_state):
27899 Clear queue when going to READY.
27900 Remove IN_SETCAPS flag too.
27902 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27904 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27905 Remove implicit cast from gboolean to GstElementStateReturn;
27906 make sure we still return failure in paused => ready case if
27907 the parent class fails to change state and our own stop
27910 2005-05-17 Wim Taymans <wim@fluendo.com>
27912 * tools/gst-launch.c: (event_loop):
27913 Message was unreffed too soon.
27915 2005-05-16 Andy Wingo <wingo@pobox.com>
27917 * gst/gstbin.c (sink_iterator_filter): Err... um...
27919 * check/gst/gstbin.c (test_ghost_pads): New test for the
27920 ghosting-if-elements-not-in-same-bin behavior.
27922 2005-05-16 David Schleef <ds@schleef.org>
27924 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27925 accessing refcount directly.
27927 2005-05-15 David Schleef <ds@schleef.org>
27929 * check/Makefile.am: remove GstData checks
27930 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27931 * gst/Makefile.am: add miniobject, remove data
27932 * gst/gst.h: add miniobject, remove data
27933 * gst/gstdata.c: remove
27934 * gst/gstdata.h: remove
27935 * gst/gstdata_private.h: remove
27936 * gst/gsttypes.h: remove GstEvent and GstMessage
27937 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27938 * gst/gstmarshal.list: change BOXED -> OBJECT
27940 Implement GstMiniObject.
27941 * gst/gstminiobject.c:
27942 * gst/gstminiobject.h:
27944 Modify to be subclasses of GstMiniObject.
27945 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27946 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27947 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27948 (gst_subbuffer_get_type), (gst_subbuffer_init),
27949 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27952 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27953 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27954 (_gst_event_copy), (gst_event_new):
27956 * gst/gstmessage.c: (_gst_message_initialize),
27957 (gst_message_get_type), (gst_message_class_init),
27958 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27959 (gst_message_new), (gst_message_new_error),
27960 (gst_message_new_warning), (gst_message_new_tag),
27961 (gst_message_new_state_changed), (gst_message_new_application):
27962 * gst/gstmessage.h:
27963 * gst/gstprobe.c: (gst_probe_perform),
27964 (gst_probe_dispatcher_dispatch):
27966 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27967 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27968 (_gst_query_copy), (gst_query_new):
27970 Update elements for GstData -> GstMiniObject changes
27972 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27973 (gst_queue_chain), (gst_queue_loop):
27974 * gst/elements/gstbufferstore.c:
27975 (gst_buffer_store_add_buffer_func),
27976 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27977 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27978 (gst_fakesink_render):
27979 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27980 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27981 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27982 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27983 (gst_filesrc_create_read):
27984 * gst/elements/gstidentity.c: (gst_identity_class_init):
27985 * gst/elements/gsttypefindelement.c:
27986 (gst_type_find_element_src_event), (free_entry_buffers),
27987 (gst_type_find_element_handle_event):
27988 * libs/gst/dataprotocol/dataprotocol.c:
27989 (gst_dp_header_from_buffer):
27990 * libs/gst/dataprotocol/dataprotocol.h:
27991 * libs/gst/dataprotocol/dp-private.h:
27993 2005-05-15 David Schleef <ds@schleef.org>
27995 * gst/elements/gstelements.c: Don't include headers that were
27998 2005-05-15 David Schleef <ds@schleef.org>
28000 * gst/elements/Makefile.am: Remove some elements that don't
28001 need to be in the core (or even exist at all).
28002 * gst/elements/gstaggregator.c:
28003 * gst/elements/gstaggregator.h:
28004 * gst/elements/gstmd5sink.c:
28005 * gst/elements/gstmd5sink.h:
28006 * gst/elements/gstmultifilesrc.c:
28007 * gst/elements/gstmultifilesrc.h:
28008 * gst/elements/gstpipefilter.c:
28009 * gst/elements/gstpipefilter.h:
28010 * gst/elements/gstshaper.c:
28011 * gst/elements/gstshaper.h:
28012 * gst/elements/gststatistics.c:
28013 * gst/elements/gststatistics.h:
28014 * po/POTFILES.in: Remove above files.
28016 2005-05-14 Andy Wingo <wingo@pobox.com>
28018 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28019 so as to get the refs right.
28020 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28021 unreffing objects that don't pass the filter.
28023 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28024 gst_element_set_bus.
28025 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28026 normal cases, this will destroy the bus.
28028 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28031 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28034 2005-05-13 Andy Wingo <wingo@pobox.com>
28036 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28037 gst_pad_link, call pad_link_maybe_ghosting,
28038 (pad_link_maybe_ghosting): Links pads, making sure that the
28039 elements being linked are in the same bin.
28040 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28041 Helpers for pad_link_maybe_ghosting.
28043 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28046 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28048 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28050 * docs/design/part-element-source.txt:
28053 2005-05-12 Wim Taymans <wim@fluendo.com>
28055 * gst/base/gstbasesink.c: (gst_basesink_init),
28056 (gst_basesink_activate):
28057 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28058 (gst_basesrc_is_seekable):
28059 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28060 (bin_element_is_sink), (gst_bin_change_state):
28061 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28062 * gst/gstelement.h:
28063 Identify sinks by their flag to avoid overly complicated
28065 Do state changes even for elements not reachable from the
28067 BaseSink is a sink now :)
28068 Some more debugging info in the basesrc.
28071 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28073 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28074 Implement _query on a bin, similar to _send_event.
28076 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28078 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28079 Discont event offset format should be GST_FORMAT_BYTES,
28080 not GST_FORMAT_TIME.
28082 2005-05-12 Wim Taymans <wim@fluendo.com>
28084 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28085 Same fix as Ronald's but without the signal.
28087 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28089 * gst/gstutils.c: (gst_element_query_position):
28090 No, an element is not a pad.
28092 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28094 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28095 (gst_bin_get_state):
28096 If a child is removed from a bin while we remove the child from
28097 the bin and while we're retrieving its state, signal this to the
28098 get_state function so we abort the wait (instead of waiting for
28099 a timeout) and can immediately re-iterate over all other elements.
28101 2005-05-12 Wim Taymans <wim@fluendo.com>
28103 * gst/base/Makefile.am:
28104 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28105 (gst_basesrc_start):
28106 * gst/base/gstbasesrc.h:
28107 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28108 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28109 (gst_pushsrc_init), (gst_pushsrc_create):
28110 * gst/base/gstpushsrc.h:
28111 Added is_seekable to BaseSrc
28112 Added simple PushSrc.
28114 2005-05-11 Wim Taymans <wim@fluendo.com>
28116 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28117 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28118 (gst_element_link_pads), (gst_element_query_position),
28119 (gst_element_query_convert), (intersect_caps_func),
28120 (gst_pad_query_position), (gst_pad_query_convert):
28121 Fix refcounting in utils function.
28122 No point in trying to activate a pad when it's added, it could
28123 be added from the state change function and then we deadlock, the
28124 element has to decide what to do.
28126 2005-05-10 Andy Wingo <wingo@pobox.com>
28128 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28129 *all* the arguments.
28131 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28132 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28133 lock (according to the docs -- if this is wrong change the docs).
28135 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28136 flush messages in the NULL state.
28138 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28139 message immediately and return.
28140 (gst_bus_set_flushing): New function. If a bus is flushing, it
28141 flushes out any queued messages and immediately unrefs new
28142 messages. This is so when an element goes to NULL, all of the
28143 unhandled messages coming from it can be freed, and their
28144 references to the element dropped. In other words: message source
28145 ref considered harmful :P
28147 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28148 we're finished with it.
28150 * gst/gstmessage.c (gst_message_new_state_changed):
28152 2005-05-10 Wim Taymans <wim@fluendo.com>
28154 * gst/gstvalue.c: (gst_value_compare_flags),
28155 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28156 (_gst_value_initialize):
28157 Added flags serialize/deserialize/compare code.
28159 2005-05-09 Andy Wingo <wingo@pobox.com>
28161 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28162 Intersect the peer's caps with our caps.
28164 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28166 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28167 * gst/elements/gsttypefindelement.c: (find_peek):
28168 Handle negative offsets better. Fixes decodebin.
28170 2005-05-09 Wim Taymans <wim@fluendo.com>
28172 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28173 (gst_base_transform_event):
28174 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28175 Implement accept_caps.
28176 Fix silly lock/unlock mismatch in base class.
28178 2005-05-09 Wim Taymans <wim@fluendo.com>
28180 * docs/design/draft-push-pull.txt:
28181 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28182 * gst/elements/gstfilesink.c: (gst_filesink_init),
28183 (gst_filesink_query):
28184 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28185 (gst_type_find_handle_src_query), (find_element_get_length):
28186 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28187 * gst/gstelement.h:
28188 * gst/gstmessage.c:
28189 * gst/gstmessage.h:
28190 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28191 (gst_real_pad_get_caps_unlocked),
28192 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28193 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28194 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28195 (gst_real_pad_dispose), (gst_real_pad_finalize),
28196 (gst_pad_load_and_link), (gst_pad_save_thyself),
28197 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28198 (gst_pad_check_pull_range), (gst_pad_pull_range),
28199 (gst_pad_template_get_type), (gst_pad_template_class_init),
28200 (gst_pad_template_init), (gst_pad_template_dispose),
28201 (name_is_valid), (gst_static_pad_template_get),
28202 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28203 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28204 (gst_pad_get_element_private), (gst_pad_start_task),
28205 (gst_pad_pause_task), (gst_pad_stop_task),
28206 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28207 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28208 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28209 (gst_ghost_pad_new):
28211 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28212 (gst_query_new_position), (gst_query_set_position),
28213 (gst_query_parse_position), (gst_query_new_convert),
28214 (gst_query_set_convert), (gst_query_parse_convert):
28216 * gst/gstqueryutils.c:
28217 * gst/gstqueryutils.h:
28218 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28219 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28220 (gst_queue_handle_src_query):
28221 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28222 (gst_element_query_position), (gst_element_query_convert),
28223 (intersect_caps_func), (gst_pad_query_position),
28224 (gst_pad_query_convert):
28226 * tools/gst-inspect.c: (print_pad_info):
28227 * tools/gst-xmlinspect.c: (print_element_info):
28228 Remove old query functions. Ported old code.
28229 Added position/convert helper functions to gstutils.
28230 Reordered gstpad.c code, grouping relevant things.
28231 Remove gst_message_new(), always need to speficy a specific
28235 2005-05-09 Andy Wingo <wingo@pobox.com>
28237 * gst/gstiterator.h: Add some includes.
28239 * gst/gstqueryutils.h: Include more headers.
28242 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28243 some uses of gst_pad_query.
28245 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28246 NULL out parameters.
28247 (gst_query_new_position): New proc, allocates a new position
28250 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28251 gstqueryutils.c to the build.
28253 * gst/gststructure.c (gst_structure_set_valist): Implement with
28254 the generic G_VALUE_COLLECT.
28256 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28258 * gst/Makefile.am: (gst_headers):
28259 Added gstqueryutils.h to the list of headers to install, that was
28260 a 'nachty' move wingo :)
28262 2005-05-06 Andy Wingo <wingo@pobox.com>
28265 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28266 GstData, init a memchunk.
28267 (standard_definitions): Add a few query types, deprecate a few.
28268 (gst_query_get_type): New proc.
28269 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28271 (gst_query_new_application, gst_query_get_structure): New public
28274 * docs/design/draft-query.txt: Removed LINKS from the query types,
28275 because all the rest can be dispatched to other pads -- seemed
28276 ugly to have a query that couldn't be dispatched. internal_links
28277 is fine as a pad method.
28279 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28280 in gstpad.c, but maintain binary compatibility for the moment.
28281 Will fix before 0.9 is out.
28283 * gst/gstqueryutils.c:
28284 * gst/gstqueryutils.h: New files, implement 3 methods for each
28285 query type: parse_query, parse_response, and set. Probably need an
28288 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28290 * gst/elements/gstfilesink.c (gst_filesink_query2):
28291 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28292 query_types, and formats methods.
28294 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28295 (gst_pad_set_query2_function): New functions.
28296 (gst_real_pad_init): Set query2_default as the default query2
28297 function. Basically just dispatches to internally linked pads.
28301 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28302 without using the atomic operations. Only one thread can possibly
28303 be accessing the data at this point. Changed so as to avoid
28304 gst_atomic operations.
28306 2005-05-06 Wim Taymans <wim@fluendo.com>
28308 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28309 Also set caps if we use the fallback buffer alloc.
28311 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28313 * docs/gst/Makefile.am:
28314 * docs/gst/gstreamer-docs.sgml:
28315 * docs/gst/gstreamer-sections.txt:
28316 * docs/gst/tmpl/gstatomic.sgml:
28317 * docs/gst/tmpl/gstmemchunk.sgml:
28318 * testsuite/elements/struct_i386.h:
28319 * win32/GStreamer.vcproj:
28321 Purge GstAtomic stuff from docs and win32 makefiles as well
28323 2005-05-06 Wim Taymans <wim@fluendo.com>
28325 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28326 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28327 * gst/gstpad.c: (gst_pad_peer_get_caps):
28328 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28329 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28330 (gst_queue_src_activate), (gst_queue_change_state):
28332 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28333 (intersect_caps_func):
28334 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28335 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28336 Some fixes for the peer_get_caps() change.
28338 2005-05-06 Wim Taymans <wim@fluendo.com>
28340 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28341 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28342 (gst_basesink_activate):
28343 Actually do something with error codes returned from the push
28346 2005-05-06 Wim Taymans <wim@fluendo.com>
28348 * docs/design/part-element-sink.txt:
28349 * docs/design/part-element-source.txt:
28350 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28351 (gst_basesink_event), (gst_basesink_activate):
28352 * gst/base/gstbasesink.h:
28353 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28354 (gst_basesrc_activate):
28355 * gst/base/gstbasesrc.h:
28356 * gst/gstelement.c: (gst_element_pads_activate):
28357 Some more documentation.
28358 Fixed scheduling decision in _pads_activate().
28360 2005-05-05 Andy Wingo <wingo@pobox.com>
28362 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28365 2005-05-05 Wim Taymans <wim@fluendo.com>
28367 * gst/base/Makefile.am:
28368 * gst/base/gstbasesink.h:
28369 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28370 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28371 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28372 (gst_collectpads_class_init), (gst_collectpads_init),
28373 (gst_collectpads_finalize), (gst_collectpads_new),
28374 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28375 (find_pad), (gst_collectpads_remove_pad),
28376 (gst_collectpads_is_active), (gst_collectpads_collect),
28377 (gst_collectpads_collect_range), (gst_collectpads_start),
28378 (gst_collectpads_stop), (gst_collectpads_peek),
28379 (gst_collectpads_pop), (gst_collectpads_available),
28380 (gst_collectpads_read), (gst_collectpads_flush),
28381 (gst_collectpads_chain):
28382 * gst/base/gstcollectpads.h:
28383 * gst/elements/Makefile.am:
28384 * gst/elements/gstelements.c:
28385 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28386 (gst_fakesink_get_times), (gst_fakesink_event),
28387 (gst_fakesink_preroll), (gst_fakesink_render):
28388 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28389 (gst_filesink_init), (gst_filesink_set_location),
28390 (gst_filesink_open_file), (gst_filesink_close_file),
28391 (gst_filesink_pad_query), (gst_filesink_event),
28392 (gst_filesink_render), (gst_filesink_change_state):
28393 * gst/elements/gstfilesink.h:
28394 Added object to help in making collect pad based elements.
28396 Make event function in sink baseclass return gboolean.
28398 2005-05-05 Wim Taymans <wim@fluendo.com>
28400 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28401 (gst_bin_get_by_name):
28403 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28404 (gst_clock_finalize):
28405 * gst/gstdata.c: (gst_data_replace):
28407 * gst/gstelement.c: (gst_element_request_pad),
28408 (gst_element_pads_activate):
28409 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28410 (gst_object_unref):
28411 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28412 (gst_pad_set_checkgetrange_function),
28413 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28414 (gst_pad_check_pull_range), (gst_pad_pull_range),
28415 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28416 (gst_pad_pause_task), (gst_pad_stop_task):
28417 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28418 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28419 Fix name lookup in GstBin.
28420 Added _data_replace() function and _buffer_replace()
28421 Use finalize method to clean up clock.
28422 Fix refcounting on request pads.
28423 Fix pad schedule mode error.
28424 Some more object refcounting debug info,
28427 2005-05-04 Andy Wingo <wingo@pobox.com>
28429 * check/Makefile.am:
28430 * docs/gst/tmpl/gstatomic.sgml:
28431 * docs/gst/tmpl/gstplugin.sgml:
28432 * gst/base/gstbasesink.c: (gst_basesink_activate):
28433 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28434 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28435 (gst_basesrc_query), (gst_basesrc_set_property),
28436 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28437 (gst_basesrc_activate):
28438 * gst/base/gstbasesrc.h:
28439 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28440 (gst_base_transform_src_activate):
28441 * gst/elements/gstelements.c:
28442 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28443 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28444 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28445 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28446 (gst_type_find_element_checkgetrange),
28447 (gst_type_find_element_activate):
28448 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28449 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28450 (gst_caps_load_thyself):
28451 * gst/gstelement.c: (gst_element_pads_activate),
28452 (gst_element_save_thyself), (gst_element_restore_thyself):
28453 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28454 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28456 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28457 (gst_xml_parse_file), (gst_xml_parse_memory),
28458 (gst_xml_get_element), (gst_xml_make_element):
28459 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28460 (_file_index_id_save_xml), (gst_file_index_commit):
28461 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28462 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28464 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28465 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28466 * tools/gst-complete.c: (main):
28467 * tools/gst-compprep.c: (main):
28468 * tools/gst-inspect.c: (print_element_properties_info):
28469 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28470 * tools/gst-xmlinspect.c: (print_element_properties):
28473 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28475 * gst/gstplugin.c: (gst_plugin_check_module),
28476 (gst_plugin_check_file), (gst_plugin_load_file):
28477 apply patch from #172526 to make register work on MacOSX
28479 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28481 * docs/gst/tmpl/gstconfig.sgml:
28482 * gst/gstconfig.h.in:
28483 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28484 * testsuite/debug/printf_extension.c: (main):
28485 Do not use GST_PTR_FORMAT on pointers to types with
28486 sizeof < sizeof(gpointer). Fixes test on 64-bit
28487 * testsuite/elements/property.h:
28488 use correct printf format
28490 2005-05-02 Wim Taymans <wim@fluendo.com>
28492 * docs/design/draft-push-pull.txt:
28493 * docs/design/draft-query.txt:
28494 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28495 (gst_basesrc_start):
28496 Added draft for new query API.
28497 Added draft for better selecting scheduling methods.
28498 Make basesrc ignore length if the subclass does not support
28501 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28504 possible fixes for automake-1.5 - _LIBADD is reserved
28506 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28508 * docs/faq/Makefile.am:
28509 * docs/manual/Makefile.am:
28510 * docs/manuals.mak:
28511 * docs/pwg/Makefile.am:
28513 possible fixes for automake-1.5
28515 2005-04-28 Wim Taymans <wim@fluendo.com>
28517 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28518 (gst_basesink_pad_getcaps), (gst_basesink_init),
28519 (gst_basesink_do_sync):
28520 * gst/gstclock.c: (gst_clock_entry_new):
28521 * gst/gstevent.c: (gst_event_discont_get_value):
28522 * gst/gstpipeline.c: (pipeline_bus_handler),
28523 (gst_pipeline_change_state):
28524 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28525 Better debugging of clocking info.
28526 Allow NULL values when getting discont values.
28528 2005-04-27 Wim Taymans <wim@fluendo.com>
28530 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28531 * check/gst/gstpad.c: (gst_pad_suite):
28532 Increase timeout for checks.
28534 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28536 * check/Makefile.am:
28537 fix the broken rule for cleanup. Apparently this rule is
28538 only needed on FC2, so maybe this warrants further autotool
28541 2005-04-26 Wim Taymans <wim@fluendo.com>
28543 * gst/gsttrashstack.h:
28544 Ooohh. a nasty one! After having a failed pop() from the stack,
28545 it's possible that the stack is empty. In that case, don't
28546 follow the NULL pointer.
28548 2005-04-25 Wim Taymans <wim@fluendo.com>
28550 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28551 (gst_pad_set_checkgetrange_function),
28552 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28553 (gst_pad_check_pull_range), (gst_pad_pull_range),
28554 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28555 (gst_pad_pause_task), (gst_pad_stop_task):
28556 * gst/gstplugin.c: (gst_plugin_load):
28558 Remove gst_library_load as it does more harm than good with
28559 the new g_module flags.
28560 Revert bogus caps template check in pad linking, pad caps
28561 are important when linking not the template, which is more
28562 general than the current caps.
28564 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28566 * gst/autoplug/.cvsignore:
28567 * gst/autoplug/Makefile.am:
28568 * gst/autoplug/gstsearchfuncs.c:
28569 * gst/autoplug/gstsearchfuncs.h:
28570 * gst/autoplug/gstspider.c:
28571 * gst/autoplug/gstspider.h:
28572 * gst/autoplug/gstspideridentity.c:
28573 * gst/autoplug/gstspideridentity.h:
28574 * gst/autoplug/spidertest.c:
28577 2005-04-25 Wim Taymans <wim@fluendo.com>
28579 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28580 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28581 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28582 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28584 Added stubs for unimplemented functions.
28586 2005-04-24 David Schleef <ds@schleef.org>
28588 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28591 2005-04-24 David Schleef <ds@schleef.org>
28593 Convert everything from GstAtomicInt to g_atomic_int_*, and
28598 * gst/gstatomic_impl.h:
28606 * gst/gstdata_private.h:
28610 * gst/gstmessage.c:
28613 * gst/gststructure.c:
28614 * gst/gststructure.h:
28615 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28618 2005-04-24 David Schleef <ds@schleef.org>
28620 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28621 make the regressions tests work. Remove some code that is no
28623 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28624 Disable warning for pads without templates.
28626 2005-04-24 David Schleef <ds@schleef.org>
28628 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28629 functions that handle filtered links.
28630 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28632 * gst/gstutils.c: Fix/remove utility functions that handle
28635 * gst/gstvalue.c: Add serialization/deserialization of caps
28636 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28637 requires fixing so that the filter caps notation creates
28638 a capsfilter element and sets the filter_caps property. I
28639 think everyone probably wants to keep the shorthand notation.
28640 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28641 * docs/gst/tmpl/gstpad.sgml:
28643 * gst/elements/gstelements.c: Register capsfilter element.
28644 * gst/Makefile.am: fix spacing
28645 * docs/random/ds/0.9-suggested-changes: random
28647 2005-04-23 David Schleef <ds@schleef.org>
28649 * gst/elements/Makefile.am:
28650 * gst/elements/gstcapsfilter.c: New element that acts like an
28651 identity, but filters caps. Will eventually replace filtered
28652 caps in pad linking.
28653 * gst/gstutils.c: (gst_element_create_all_pads): New function
28654 to create all the ALWAYS pads that are registered with an
28655 element class. This functionality should eventually be
28656 merged in with GstElement initialization.
28658 * testsuite/trigger/README: part of trigger test code that should
28659 have been checked in a long time ago.
28661 2005-04-23 David Schleef <ds@schleef.org>
28663 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28664 needed with new versions of libtool (nobody will confirm this),
28665 and hard to carry around.
28666 * gst/autoplug/Makefile.am:
28667 * gst/base/Makefile.am:
28668 * gst/elements/Makefile.am:
28669 * gst/indexers/Makefile.am:
28670 * gst/schedulers/Makefile.am:
28671 * libs/gst/bytestream/Makefile.am:
28672 * libs/gst/control/Makefile.am:
28673 * libs/gst/dataprotocol/Makefile.am:
28674 * libs/gst/getbits/Makefile.am:
28676 2005-04-21 Wim Taymans <wim@fluendo.com>
28678 * docs/design/draft-push-pull.txt:
28679 * docs/design/part-MT-refcounting.txt:
28680 * docs/design/part-TODO.txt:
28681 * docs/design/part-caps.txt:
28682 * docs/design/part-events.txt:
28683 * docs/design/part-gstbus.txt:
28684 * docs/design/part-gstpipeline.txt:
28685 * docs/design/part-messages.txt:
28686 * docs/design/part-push-pull.txt:
28687 * docs/design/part-query.txt:
28690 2005-04-21 Wim Taymans <wim@fluendo.com>
28692 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28693 (gst_message_new), (gst_message_new_error),
28694 (gst_message_new_warning), (gst_message_new_tag),
28695 (gst_message_new_state_changed), (gst_message_new_application),
28696 (gst_message_get_structure):
28697 * gst/gstmessage.h:
28698 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28699 (gst_structure_copy_conditional):
28700 Use parent refcount in GstMessage to ensure GstStructure
28702 Cleaned up headers a bit.
28705 2005-04-20 Wim Taymans <wim@fluendo.com>
28707 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28708 (gst_basesink_pad_getcaps), (gst_basesink_init),
28709 (gst_basesink_chain_unlocked):
28710 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28711 (gst_type_find_helper):
28712 * gst/elements/gsttypefindelement.c:
28713 (gst_type_find_element_have_type), (gst_type_find_element_init),
28714 (stop_typefinding), (gst_type_find_element_handle_event),
28715 (find_suggest), (gst_type_find_element_chain),
28716 (gst_type_find_element_checkgetrange),
28717 (gst_type_find_element_getrange), (do_typefind),
28718 (gst_type_find_element_activate):
28719 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28720 (gst_buffer_default_free), (gst_buffer_default_copy),
28721 (gst_buffer_set_caps):
28722 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28723 (gst_caps_replace):
28724 * gst/gstmessage.c: (gst_message_new),
28725 (gst_message_new_state_changed):
28726 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28727 (gst_pad_set_checkgetrange_function),
28728 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28729 (gst_pad_set_caps), (gst_pad_check_pull_range),
28730 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28732 * gst/gsttypefind.c: (gst_type_find_register):
28733 Make gst_caps_replace() work like other _replace() functions.
28734 Use _caps_replace() where possible.
28735 Make sure _message_new() initialises its field.
28736 Add gst_static_pad_template_get_caps()
28739 2005-04-18 Andy Wingo <wingo@pobox.com>
28741 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28742 on the peer, not the pad. I think that was a typo. Pass an extra
28743 arg to see if random access is possible. Activate the pads as
28744 PULL_RANGE if possible.
28746 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28748 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28749 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28752 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28754 * docs/faq/using.xml:
28755 Add note on gstreamer-properties (#154996).
28757 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28759 * docs/random/bbb/optional-properties:
28760 Some analysis on optional properties.
28762 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28764 * docs/gst/tmpl/gstelementfactory.sgml:
28765 * gst/gstelement.h:
28766 * gst/gstelementfactory.c: (gst_element_factory_init),
28767 (gst_element_factory_cleanup), (gst_element_register),
28768 (__gst_element_factory_add_static_pad_template),
28769 (gst_element_factory_get_static_pad_templates),
28770 (gst_element_factory_can_src_caps),
28771 (gst_element_factory_can_sink_caps):
28772 * gst/registries/Makefile.am:
28773 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28774 (gst_xml_registry_class_init), (gst_xml_registry_init),
28775 (gst_xml_registry_new), (gst_xml_registry_set_property),
28776 (gst_xml_registry_get_property), (get_time), (make_dir),
28777 (gst_xml_registry_get_perms_func),
28778 (plugin_times_older_than_recurse), (plugin_times_older_than),
28779 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28780 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28781 (add_to_char_array), (read_string), (read_uint), (read_enum),
28782 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28783 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28784 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28785 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28786 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28787 (gst_xml_registry_rebuild):
28788 * gst/registries/gstlibxmlregistry.h:
28789 * tools/gst-compprep.c: (main):
28790 * tools/gst-inspect.c: (print_pad_templates_info):
28791 * tools/gst-xmlinspect.c: (print_element_info):
28792 Use libxml2 for registry parsing, use staticpadtemplates in
28793 elementfactories. Makes gst_init() +/- 10x faster.
28795 2005-04-12 Wim Taymans <wim@fluendo.com>
28797 * gst/base/Makefile.am:
28798 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28799 (gst_basesink_pad_getcaps), (gst_basesink_init),
28800 (gst_basesink_event), (gst_basesink_change_state):
28801 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28802 (gst_basesrc_init), (gst_basesrc_query),
28803 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28804 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28805 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28806 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28807 (gst_basesrc_stop), (gst_basesrc_activate),
28808 (gst_basesrc_change_state):
28809 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28810 (helper_find_suggest), (gst_type_find_helper):
28811 * gst/base/gsttypefindhelper.h:
28812 * gst/elements/Makefile.am:
28813 * gst/elements/gstelements.c:
28814 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28815 (gst_fakesink_get_times), (gst_fakesink_event),
28816 (gst_fakesink_preroll), (gst_fakesink_render):
28817 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28818 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28819 (gst_fakesrc_get_property), (gst_fakesrc_create),
28820 (gst_fakesrc_start), (gst_fakesrc_stop):
28821 * gst/elements/gstfakesrc.h:
28822 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28823 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28824 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28825 (gst_filesrc_create_read), (gst_filesrc_create),
28826 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28827 (gst_filesrc_start):
28828 * gst/elements/gsttypefindelement.c:
28829 (gst_type_find_element_have_type), (gst_type_find_element_init),
28830 (start_typefinding), (stop_typefinding), (push_buffer_store),
28831 (gst_type_find_element_handle_event),
28832 (gst_type_find_element_chain),
28833 (gst_type_find_element_checkgetrange),
28834 (gst_type_find_element_getrange), (do_typefind),
28835 (gst_type_find_element_activate),
28836 (gst_type_find_element_change_state):
28837 * gst/elements/gsttypefindelement.h:
28838 * gst/gstpipeline.c: (pipeline_bus_handler):
28839 Added typefind helper.
28840 Small preroll fix in the base sink.
28841 Disable typefind code in basesrc.
28842 Crude port of typefindelement.
28846 2005-04-11 Wim Taymans <wim@fluendo.com>
28848 * check/gst/gstbus.c: (gstbus_suite):
28849 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28850 * check/gstcheck.h:
28851 Fix up the timeout so that the test does not fail.
28853 2005-04-06 Wim Taymans <wim@fluendo.com>
28856 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28857 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28858 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28859 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28860 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28861 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28862 (gst_basesrc_stop), (gst_basesrc_activate),
28863 (gst_basesrc_change_state), (basesrc_find_peek),
28864 (basesrc_find_suggest), (gst_basesrc_type_find):
28865 * gst/base/gstbasesrc.h:
28866 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28867 (gst_filesrc_class_init), (gst_filesrc_init),
28868 (gst_filesrc_finalize), (gst_filesrc_set_location),
28869 (gst_filesrc_set_property), (gst_filesrc_get_property),
28870 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28871 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28872 (gst_filesrc_create_read), (gst_filesrc_create),
28873 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28874 * gst/elements/gstfilesrc.h:
28875 * gst/gstelement.c: (gst_element_get_state_func),
28876 (gst_element_lost_state), (gst_element_pads_activate):
28877 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28878 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28879 (gst_pad_pull_range):
28881 More work on the generic source base class, implement seeking,
28883 Make filesrc extend the base source class.
28884 Added gst_pad_set_checkgetrange_function to GstPad.
28886 2005-04-06 Andy Wingo <wingo@pobox.com>
28888 * pkgconfig/gstreamer-base.pc.in:
28889 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28891 * pkgconfig/Makefile.am:
28892 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28894 2005-04-04 Wim Taymans <wim@fluendo.com>
28896 * gst/base/Makefile.am:
28898 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28899 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28900 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28901 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28902 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28903 (gst_basesrc_base_init), (gst_basesrc_class_init),
28904 (gst_basesrc_init), (gst_basesrc_get_formats),
28905 (gst_basesrc_get_query_types), (gst_basesrc_query),
28906 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28907 (gst_basesrc_set_property), (gst_basesrc_get_property),
28908 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28909 (gst_basesrc_loop), (gst_basesrc_activate),
28910 (gst_basesrc_change_state):
28911 * gst/base/gstbasesrc.h:
28912 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28913 (gst_fakesrc_class_init), (gst_fakesrc_init),
28914 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28915 (gst_fakesrc_get_property), (gst_fakesrc_create):
28916 * gst/elements/gstfakesrc.h:
28917 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28918 (gst_filesrc_open_file), (gst_filesrc_loop),
28919 (gst_filesrc_activate), (filesrc_find_peek),
28920 (gst_filesrc_type_find):
28921 Made base source class, make fakesrc extend it.
28922 Add comments to basesink class.
28923 Some filesrc cleanup.
28925 2005-03-31 David Schleef <ds@schleef.org>
28927 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28928 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28929 expected to link against libgstreamer.
28930 * gst/base/Makefile.am: link against libgstreamer
28931 * gst/elements/Makefile.am: same
28933 2005-03-31 Andy Wingo <wingo@pobox.com>
28935 * tests/instantiate/Makefile.am:
28936 * tests/instantiate/caps.c: Add test to test speed of caps copy
28939 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28940 GMemChunk to be fair.
28942 * gst/gsttrashstack.h: Remove warning about using the fallback
28943 trash stack implementation, it's still faster than malloc.
28945 2005-03-30 Andy Wingo <wingo@pobox.com>
28947 * tests/complexity.c: Add a copyright.
28949 2005-03-31 Wim Taymans <wim@fluendo.com>
28951 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28952 (gst_base_transform_class_init), (gst_base_transform_init),
28953 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28954 (gst_base_transform_get_property),
28955 (gst_base_transform_sink_activate),
28956 (gst_base_transform_src_activate),
28957 (gst_base_transform_change_state):
28958 * gst/base/gstbasetransform.h:
28959 * gst/elements/gstidentity.c: (gst_identity_class_init),
28960 (gst_identity_event), (gst_identity_check_perfect),
28961 (gst_identity_transform), (gst_identity_start),
28962 (gst_identity_stop):
28963 Added start/stop methods to transform base class so subclasses
28964 don't need to deal with state changes even.
28966 2005-03-31 Wim Taymans <wim@fluendo.com>
28968 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28969 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28971 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28972 (gst_pad_pull_range):
28973 Added rate to the discont event to prepare for variable speed
28974 and reverse playback.
28976 2005-03-29 David Schleef <ds@schleef.org>
28979 * testsuite/trigger/Makefile.am:
28980 * testsuite/trigger/trigger.c: A little example program to show
28981 how trigger-based elements can work.
28983 2005-03-29 Wim Taymans <wim@fluendo.com>
28985 * gst/base/Makefile.am:
28987 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28988 (gst_basesink_base_init), (gst_basesink_class_init),
28989 (gst_basesink_pad_getcaps), (gst_basesink_init),
28990 (gst_basesink_activate), (gst_basesink_change_state):
28991 * gst/base/gstbasesink.h:
28992 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28993 (gst_base_transform_base_init), (gst_base_transform_finalize),
28994 (gst_base_transform_class_init), (gst_base_transform_init),
28995 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28996 (gst_base_transform_event), (gst_base_transform_getrange),
28997 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28998 (gst_base_transform_set_property),
28999 (gst_base_transform_get_property),
29000 (gst_base_transform_sink_activate),
29001 (gst_base_transform_src_activate),
29002 (gst_base_transform_change_state):
29003 * gst/base/gstbasetransform.h:
29004 * gst/elements/gstidentity.c: (gst_identity_finalize),
29005 (gst_identity_class_init), (gst_identity_init),
29006 (gst_identity_event), (gst_identity_check_perfect),
29007 (gst_identity_transform), (gst_identity_set_property),
29008 (gst_identity_get_property), (gst_identity_change_state):
29009 * gst/elements/gstidentity.h:
29010 * gst/gstelement.c: (gst_element_get_state_func),
29011 (gst_element_lost_state), (gst_element_pads_activate):
29012 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
29013 (gst_pad_check_pull_range), (gst_pad_pull_range):
29015 Simplify pad activation.
29016 Added function to check if pull_range can be performed.
29017 Error out when pulling inactive or flushing pads.
29018 Removed const from refcounted types as it does not make sense.
29019 Simplify pad templates in basesink
29020 Added base class for simple 1-to-1 transforms.
29021 Make identity subclass the base transform.
29023 2005-03-29 Andy Wingo <wingo@pobox.com>
29025 * docs/libs/gstreamer-libs-overrides.txt:
29026 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29027 really don't understand what's going on, but like whatever. I want
29030 * docs/gst/Makefile.am:
29031 * docs/libs/Makefile.am: Dist the overrides files.
29033 * check/Makefile.am (clean-local): Remove .libs directories.
29035 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29036 elements to EXTRA_DIST, so po/ files are happy.
29038 * po/POTFILES.in: Er, remove it here.
29040 * po/POTFILES: Remove gstspider.c.
29042 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29044 * docs/libs/gstreamer-libs-docs.sgml:
29045 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29048 * tests/complexity.c (main): Set the length of the preroll queue
29049 on the sinks to prevent a lockup.
29051 * libs/gst/dataprotocol/Makefile.am:
29052 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29053 the same as the one in check/gst-libs/gdp.c.
29055 * po/, docs/gst/: Commit automatic changes to docs and po files.
29057 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29058 the versioned libgstbase.
29060 * check/Makefile.am: Depend on an unversioned gst-register, seems
29061 to make autoconf happier.
29063 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29065 2005-03-28 Wim Taymans <wim@fluendo.com>
29068 * docs/design/part-gstelement.txt:
29069 * docs/design/part-negotiation.txt:
29070 * docs/design/part-preroll.txt:
29071 * docs/design/part-scheduling.txt:
29072 * docs/design/part-states.txt:
29074 * gst/base/Makefile.am:
29076 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29077 (gst_basesink_base_init), (gst_basesink_class_init),
29078 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29079 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29080 (gst_basesink_set_pad_functions),
29081 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29082 (gst_basesink_set_property), (gst_basesink_get_property),
29083 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29084 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29085 (gst_basesink_preroll_queue_push),
29086 (gst_basesink_preroll_queue_empty),
29087 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29088 (gst_basesink_event), (gst_basesink_get_times),
29089 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29090 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29091 (gst_basesink_loop), (gst_basesink_activate),
29092 (gst_basesink_change_state):
29093 * gst/base/gstbasesink.h:
29094 * gst/elements/Makefile.am:
29095 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29096 (gst_fakesink_class_init), (gst_fakesink_init),
29097 (gst_fakesink_set_property), (gst_fakesink_get_property),
29098 (gst_fakesink_get_times), (gst_fakesink_event),
29099 (gst_fakesink_preroll), (gst_fakesink_render),
29100 (gst_fakesink_change_state):
29101 * gst/elements/gstfakesink.h:
29102 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29103 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29104 * gst/gstelement.c: (gst_element_add_pad),
29105 (gst_element_get_state_func), (gst_element_abort_state),
29106 (gst_element_commit_state), (gst_element_lost_state),
29107 (gst_element_set_state), (gst_element_pads_activate):
29108 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29109 * gst/gstpipeline.c: (gst_pipeline_send_event),
29110 (gst_pipeline_change_state):
29111 Added state change code.
29112 Added/updated docs.
29113 Added sink base class, make fakesink extend the base class.
29114 Small cleanups in GstPipeline.
29116 2005-03-26 David Schleef <ds@schleef.org>
29118 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29119 is broken and should be implemented in a different library.
29120 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29121 * gst/gst.h: remove gstcpu.h
29122 * gst/gstcpu.c: remove
29123 * gst/gstcpu.h: remove
29124 * gst/Makefile.am.future: Remove this file. It's ancient.
29126 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29128 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29129 (gst_bin_send_event):
29130 Add default event/set_manager handlers. The set_manager handler
29131 takes care that the manager is distributed over kids that were
29132 already in the bin before the manager was set. The event handler
29133 is a utility virtual function that sends the event over all sinks,
29134 so that gst_element_send_event (bin, event); has the expected
29136 * gst/gstpad.c: (gst_pad_event_default):
29137 Re-install default event handling for discontinuities, so that
29138 seeking works without requiring hacks in applications or extra
29140 * gst/gstpipeline.c: (gst_pipeline_class_init),
29141 (gst_pipeline_send_event):
29142 Half hack, half utility: set a pipeline to PAUSED for seek events,
29143 since that is the only way we can guarantee a/v sync. Means that
29144 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29145 and it "just works".
29147 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29149 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29150 Lock/unlock mismatch.
29152 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29154 * docs/faq/gst-uninstalled:
29155 add gst-plugins-base
29156 * docs/gst/Makefile.am:
29157 don't error out until docs are fixed
29158 * docs/gst/gstreamer.types:
29161 2005-03-22 Wim Taymans <wim@fluendo.com>
29163 * check/Makefile.am:
29164 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29165 * gst/gststructure.c: (gst_structure_set_valist),
29166 (gst_structure_copy_conditional):
29167 Activated more tests.
29168 Added message test.
29169 Added G_TYPE_POINTER to GstStructure.
29172 2005-03-22 Wim Taymans <wim@fluendo.com>
29174 * docs/design/part-TODO.txt:
29175 * docs/design/part-events.txt:
29176 * docs/design/part-gstbin.txt:
29177 * docs/design/part-gstbus.txt:
29178 * docs/design/part-gstpipeline.txt:
29179 * docs/design/part-messages.txt:
29181 * gst/gstmessage.c:
29184 2005-03-21 Wim Taymans <wim@fluendo.com>
29186 * gst/gstbus.c: (gst_bus_post):
29187 Fix copy-and-paste error.
29189 2005-03-21 Wim Taymans <wim@fluendo.com>
29191 * check/Makefile.am:
29193 * gst/elements/Makefile.am:
29194 * gst/elements/gstelements.c:
29195 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29196 (gst_fakesink_event), (gst_fakesink_chain):
29197 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29198 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29199 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29200 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29201 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29202 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29203 (gst_fakesrc_loop), (gst_fakesrc_activate),
29204 (gst_fakesrc_change_state):
29205 * gst/elements/gstfakesrc.h:
29206 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29207 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29208 (gst_filesrc_open_file), (gst_filesrc_loop),
29209 (gst_filesrc_activate), (gst_filesrc_change_state),
29210 (filesrc_find_peek), (filesrc_find_suggest),
29211 (gst_filesrc_type_find):
29212 * gst/elements/gstidentity.c: (gst_identity_finalize),
29213 (gst_identity_class_init), (gst_identity_init),
29214 (gst_identity_proxy_getcaps), (identity_queue_push),
29215 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29216 (gst_identity_getrange), (gst_identity_chain),
29217 (gst_identity_sink_loop), (gst_identity_src_loop),
29218 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29219 (gst_identity_set_property), (gst_identity_get_property),
29220 (gst_identity_change_state):
29221 * gst/elements/gstidentity.h:
29222 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29223 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29224 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29225 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29226 (gst_tee_sink_activate):
29227 * gst/elements/gsttee.h:
29228 * gst/gst.c: (gst_register_core_elements), (init_post):
29230 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29231 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29232 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29233 (gst_bin_change_state):
29235 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29236 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29237 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29238 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29239 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29240 (bus_watch_callback), (bus_watch_destroy),
29241 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29242 (poll_timeout), (gst_bus_poll):
29246 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29247 (gst_element_post_message), (gst_element_message_full),
29248 (gst_element_get_state_func), (gst_element_get_state),
29249 (gst_element_abort_state), (gst_element_commit_state),
29250 (gst_element_lost_state), (gst_element_set_state),
29251 (gst_element_pads_activate), (gst_element_change_state),
29252 (gst_element_dispose), (gst_element_set_manager_func),
29253 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29254 (gst_element_set_manager), (gst_element_get_manager),
29255 (gst_element_set_bus), (gst_element_get_bus),
29256 (gst_element_set_scheduler), (gst_element_get_scheduler):
29257 * gst/gstelement.h:
29258 * gst/gstevent.c: (gst_event_new_segment_seek),
29259 (gst_event_new_flush):
29261 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29262 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29263 (gst_message_new_eos), (gst_message_new_error),
29264 (gst_message_new_warning), (gst_message_new_tag),
29265 (gst_message_new_state_changed), (gst_message_new_application),
29266 (gst_message_get_structure), (gst_message_parse_tag),
29267 (gst_message_parse_state_changed), (gst_message_parse_error),
29268 (gst_message_parse_warning):
29269 * gst/gstmessage.h:
29270 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29271 (gst_real_pad_set_property), (gst_pad_set_active),
29272 (gst_pad_is_active), (gst_pad_set_blocked_async),
29273 (gst_pad_set_blocked), (gst_pad_is_blocked),
29274 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29275 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29276 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29277 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29278 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29279 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29280 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29281 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29282 (gst_pad_set_caps), (gst_pad_configure_sink),
29283 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29284 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29285 (gst_real_pad_dispose), (gst_real_pad_finalize),
29286 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29287 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29288 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29290 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29291 (pipeline_bus_handler), (gst_pipeline_change_state),
29292 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29293 * gst/gstpipeline.h:
29295 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29296 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29297 (gst_queue_link_src), (gst_queue_bufferalloc),
29298 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29299 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29300 (gst_queue_loop), (gst_queue_handle_src_event),
29301 (gst_queue_handle_src_query), (gst_queue_src_activate),
29302 (gst_queue_change_state):
29304 * gst/gstscheduler.c: (gst_scheduler_init),
29305 (gst_scheduler_dispose), (gst_scheduler_create_task),
29306 (gst_scheduler_factory_create):
29307 * gst/gstscheduler.h:
29308 * gst/gststructure.c: (gst_structure_get_type),
29309 (gst_structure_copy_conditional):
29310 * gst/gststructure.h:
29311 * gst/gsttaginterface.h:
29312 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29313 (gst_task_init), (gst_task_dispose), (gst_task_create),
29314 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29320 * gst/schedulers/Makefile.am:
29321 * gst/schedulers/cothreads_compat.h:
29322 * gst/schedulers/entryscheduler.c:
29323 * gst/schedulers/faircothreads.c:
29324 * gst/schedulers/faircothreads.h:
29325 * gst/schedulers/fairscheduler.c:
29326 * gst/schedulers/gstbasicscheduler.c:
29327 * gst/schedulers/gstoptimalscheduler.c:
29328 * gst/schedulers/gthread-cothreads.h:
29329 * gst/schedulers/threadscheduler.c:
29330 (gst_thread_scheduler_task_get_type),
29331 (gst_thread_scheduler_task_class_init),
29332 (gst_thread_scheduler_task_init),
29333 (gst_thread_scheduler_task_start),
29334 (gst_thread_scheduler_task_stop),
29335 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29336 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29337 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29338 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29340 * libs/gst/Makefile.am:
29341 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29342 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29343 (gst_file_pad_parent_set):
29344 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29345 (gst_dp_event_from_packet):
29346 * tests/complexity.c: (main):
29347 * tests/mass_elements.c: (main):
29348 * testsuite/states/locked.c: (message_received), (main):
29349 * testsuite/states/parent.c: (main):
29350 * tools/gst-inspect.c: (print_element_flag_info),
29351 (print_implementation_info), (print_pad_info):
29352 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29354 * tools/gst-md5sum.c: (event_loop), (main):
29355 * tools/gst-typefind.c: (main):
29356 * tools/gst-xmlinspect.c: (print_element_info):
29358 Added GstBus for mainloop integration.
29359 Added GstMessage for sending notifications on the bus.
29360 Added GstTask as an abstraction for pipeline entry points.
29362 Removed Schedulers.
29363 Simplified GstQueue for multithreaded core.
29364 Made _link threadsafe, removed old capsnego.
29365 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29366 Added pad blocking functions.
29367 Reworked scheduling functions in GstPad to prepare for
29368 scheduling updates soon.
29369 Moved events out of data stream.
29370 Simplified GstEvent types.
29371 Added return values to push/pull.
29372 Removed clocking from GstElement.
29373 Added prototypes for state change function for next merge.
29374 Removed iterate from bins and state change management.
29375 Fixed some elements, disabled others for now.
29376 Fixed -inspect and -launch.
29377 Added check for GstBus.
29379 2005-03-10 Wim Taymans <wim@fluendo.com>
29381 * docs/design/part-MT-refcounting.txt:
29382 * docs/design/part-clocks.txt:
29383 * docs/design/part-gstelement.txt:
29384 * docs/design/part-gstobject.txt:
29385 * docs/design/part-standards.txt:
29386 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29387 (gst_bin_remove_func), (gst_bin_remove):
29391 * testsuite/clock/clock1.c: (main):
29392 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29394 * testsuite/dlopen/loadgst.c: (do_test):
29395 * testsuite/refcounting/bin.c: (add_remove_test1),
29396 (add_remove_test2), (main):
29397 * testsuite/refcounting/element.c: (main):
29398 * testsuite/refcounting/element_pad.c: (main):
29399 * testsuite/refcounting/pad.c: (main):
29400 * tools/gst-launch.c: (sigint_handler_sighandler):
29401 * tools/gst-typefind.c: (main):
29403 Added doc about clock.
29404 removed gst_bin_iterate_recurse_up(), marked methods
29406 Fix more testsuites.
29408 2005-03-09 Wim Taymans <wim@fluendo.com>
29410 * gst/gstpad.c: (gst_pad_get_direction),
29411 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29412 (gst_pad_collect_valist):
29413 * testsuite/bins/interface.c: (main):
29414 * testsuite/caps/audioscale.c: (test_caps):
29415 * testsuite/caps/caps.c: (test1), (test2), (test3):
29416 * testsuite/caps/deserialize.c: (main):
29417 * testsuite/caps/enumcaps.c: (main):
29418 * testsuite/caps/filtercaps.c: (main):
29419 * testsuite/caps/intersect2.c: (main):
29420 * testsuite/caps/random.c: (main):
29421 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29422 * testsuite/caps/sets.c: (check_caps):
29423 * testsuite/caps/simplify.c: (check_caps), (main):
29424 * testsuite/caps/subtract.c: (check_caps):
29425 Fix _pad_get_direction wrt ghostpads.
29426 Fix caps testsuite.
29428 2005-03-09 Wim Taymans <wim@fluendo.com>
29430 * check/Makefile.am:
29431 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29432 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29433 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29434 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29435 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29436 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29437 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29438 (bin_element_is_sink), (gst_bin_iterate_sinks),
29439 (gst_bin_iterate_all_by_interface):
29441 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29442 (gst_element_change_state), (gst_element_dispose),
29443 (gst_element_finalize), (gst_element_set_loop_function):
29444 * gst/gstelement.h:
29445 * gst/gstiterator.c: (find_custom_fold_func):
29446 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29447 (gst_pad_collectv), (gst_pad_collect_valist),
29448 (gst_pad_template_new):
29449 * gst/gstpipeline.c: (gst_pipeline_class_init),
29450 (gst_pipeline_dispose), (gst_pipeline_set_property),
29451 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29452 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29453 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29455 * gst/schedulers/entryscheduler.c:
29456 * gst/schedulers/gstbasicscheduler.c:
29457 (gst_basic_scheduler_cothreaded_chain),
29458 (gst_basic_scheduler_chain_add_element):
29459 * testsuite/bins/interface.c: (main):
29461 Added GstSystemClock test.
29462 Implemented clock distribution code in GstBin.
29463 Implemented iterate sinks method for future use.
29464 Rearranged gstelement.h
29465 Fix GstIterator comparison bug.
29466 Moved some code to GstPipeline, mostly clocking related.
29468 2005-03-09 Wim Taymans <wim@fluendo.com>
29471 * gst/gst_private.h:
29472 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29473 (gst_bin_remove_func), (gst_bin_remove),
29474 (gst_bin_get_by_name_recurse_up):
29475 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29476 (gst_clock_id_compare_func), (gst_clock_id_wait),
29477 (gst_clock_id_wait_async), (gst_clock_init),
29478 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29479 * gst/gstelement.h:
29480 * gst/gstinfo.c: (_gst_debug_init):
29482 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29483 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29485 Bump version number, we're now 0.9.0
29486 Add future debugging category.
29487 Fix NULL _unref() in _get_by_name_recurse_up
29488 Rearrange gstpad.h.
29491 2005-03-08 Wim Taymans <wim@fluendo.com>
29493 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29494 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29495 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29496 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29497 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29498 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29499 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29500 * gst/elements/gstidentity.c: (gst_identity_class_init):
29501 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29502 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29503 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29504 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29505 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29507 * gst/gstelement.c: (gst_element_class_init),
29508 (gst_element_base_class_init), (gst_element_init),
29509 (gst_element_get_random_pad), (gst_element_wait_state_change),
29510 (gst_element_change_state), (gst_element_dispose),
29511 (gst_element_finalize), (gst_element_set_loop_function):
29512 * gst/gstelement.h:
29513 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29514 * gst/gstthread.c: (gst_thread_class_init),
29515 (gst_thread_release_children_locks), (gst_thread_change_state):
29516 * gst/schedulers/gstbasicscheduler.c:
29517 (gst_basic_scheduler_loopfunc_wrapper),
29518 (gst_basic_scheduler_chain_wrapper),
29519 (gst_basic_scheduler_src_wrapper),
29520 (gst_basic_scheduler_remove_element):
29521 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29522 Remove threadsafe properties. Fix elements because GObject
29523 complains when installing a property before declaring a
29524 set/get_property handler.
29525 Rearrange gstelement.h file, use STATE macros for state locks.
29526 Free mutexes in the finalize method instead of dispose.
29528 2005-03-08 Wim Taymans <wim@fluendo.com>
29530 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29531 * gst/gstthread.c: (gst_thread_release_children_locks):
29532 Added parentage check.
29533 Fix build og GstThread again.
29535 2005-03-08 Wim Taymans <wim@fluendo.com>
29537 * docs/design/part-MT-refcounting.txt:
29538 * docs/design/part-conventions.txt:
29539 * docs/design/part-gstobject.txt:
29540 * docs/design/part-relations.txt:
29541 * docs/design/part-standards.txt:
29542 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29543 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29544 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29545 (gst_bin_iterate_all_by_interface):
29548 * gst/gstelement.c: (gst_element_class_init),
29549 (gst_element_change_state), (gst_element_set_loop_function):
29550 * gst/gstelement.h:
29551 * gst/gstiterator.c:
29552 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29553 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29554 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29555 (gst_object_set_parent), (gst_object_unparent),
29556 (gst_object_check_uniqueness):
29558 Docs updates, clean up some headers.
29560 2005-03-07 Wim Taymans <wim@fluendo.com>
29562 * check/.cvsignore:
29563 * check/Makefile.am:
29564 * check/gst-libs/.cvsignore:
29565 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29566 * check/gst/.cvsignore:
29567 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29568 (START_TEST), (gstbus_suite), (main):
29569 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29570 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29571 (gst_data_suite), (main):
29572 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29573 (add_fold_func), (gstiterator_suite), (main):
29574 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29575 (thread_name_object), (thread_name_object_default),
29576 (gst_object_name_compare), (gst_object_suite), (main):
29577 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29578 (gst_pad_suite), (main):
29579 * check/gstcheck.c: (gst_check_log_message_func),
29580 (gst_check_log_critical_func), (gst_check_init):
29581 * check/gstcheck.h:
29582 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29583 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29586 2005-03-07 Wim Taymans <wim@fluendo.com>
29588 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29589 (gst_list_iterator_next), (gst_list_iterator_resync),
29590 (gst_list_iterator_free), (gst_iterator_new_list),
29591 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29592 (gst_iterator_free), (gst_iterator_push), (filter_next),
29593 (filter_resync), (filter_uninit), (filter_free),
29594 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29595 (gst_iterator_foreach), (find_custom_fold_func),
29596 (gst_iterator_find_custom):
29597 * gst/gstiterator.h:
29598 Added missing files.
29600 2005-03-07 Wim Taymans <wim@fluendo.com>
29604 * docs/design/part-MT-refcounting.txt:
29605 * docs/design/part-conventions.txt:
29606 * docs/design/part-gstobject.txt:
29607 * docs/design/part-relations.txt:
29608 * examples/mixer/mixer.c: (main):
29609 * examples/thread/thread.c: (eos), (main):
29611 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29612 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29613 (gst_spider_plug_from_srcpad):
29614 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29615 (gst_spider_identity_change_state),
29616 (gst_spider_identity_sink_loop_type_finding):
29617 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29618 * gst/elements/gstidentity.c: (gst_identity_init):
29619 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29620 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29621 * gst/elements/gsttypefindelement.c: (free_entry):
29624 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29625 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29626 (gst_bin_set_index), (gst_bin_set_element_sched),
29627 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29628 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29629 (gst_bin_iterate_elements), (iterate_child_recurse),
29630 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29631 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29632 (compare_interface), (gst_bin_get_by_interface),
29633 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29635 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29636 (gst_buffer_default_free), (gst_buffer_default_copy),
29637 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29638 (gst_buffer_create_sub):
29640 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29641 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29642 (gst_caps_unref), (gst_static_caps_get),
29643 (gst_caps_remove_and_get_structure), (gst_caps_append),
29644 (gst_caps_append_structure), (gst_caps_remove_structure),
29645 (gst_caps_copy_nth), (gst_caps_set_simple),
29646 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29647 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29648 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29649 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29650 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29651 (gst_caps_structure_figure_out_union),
29652 (gst_caps_switch_structures), (gst_caps_do_simplify),
29653 (gst_caps_replace), (gst_caps_from_string),
29654 (gst_caps_copy_conditional):
29656 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29657 (_gst_clock_id_free), (gst_clock_id_unref),
29658 (gst_clock_id_compare_func), (gst_clock_id_wait),
29659 (gst_clock_id_wait_async), (gst_clock_class_init),
29660 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29661 (gst_clock_get_time), (gst_clock_set_time_adjust),
29662 (gst_clock_set_property), (gst_clock_get_property):
29665 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29666 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29668 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29669 (gst_element_requires_clock), (gst_element_provides_clock),
29670 (gst_element_set_clock), (gst_element_clock_wait),
29671 (gst_element_wait), (gst_element_set_time_delay),
29672 (gst_element_is_indexable), (gst_element_add_pad),
29673 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29674 (pad_compare_name), (gst_element_get_static_pad),
29675 (gst_element_request_pad), (gst_element_get_request_pad),
29676 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29677 (gst_element_class_get_pad_template_list),
29678 (gst_element_class_get_pad_template), (gst_element_error_func),
29679 (gst_element_get_random_pad), (gst_element_get_event_masks),
29680 (gst_element_send_event), (gst_element_seek),
29681 (gst_element_get_query_types), (gst_element_query),
29682 (gst_element_get_formats), (gst_element_convert),
29683 (gst_element_is_locked_state), (gst_element_set_locked_state),
29684 (gst_element_sync_state_with_parent), (gst_element_change_state),
29685 (gst_element_finalize), (gst_element_yield),
29686 (gst_element_interrupt), (gst_element_set_scheduler),
29687 (gst_element_get_scheduler), (gst_element_set_loop_function):
29688 * gst/gstelement.h:
29690 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29691 (gst_format_get_by_nick), (gst_format_get_details),
29692 (gst_format_iterate_definitions):
29694 * gst/gstindex.c: (gst_index_gtype_resolver):
29697 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29698 (gst_mem_chunk_free):
29699 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29700 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29701 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29702 (gst_object_dispatch_properties_changed),
29703 (gst_object_set_name_default), (gst_object_set_name),
29704 (gst_object_get_name), (gst_object_set_name_prefix),
29705 (gst_object_get_name_prefix), (gst_object_set_parent),
29706 (gst_object_get_parent), (gst_object_unparent),
29707 (gst_object_check_uniqueness), (gst_object_save_thyself),
29708 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29709 (gst_object_set_property), (gst_object_get_property),
29710 (gst_object_get_path_string):
29712 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29713 (gst_real_pad_init), (gst_real_pad_get_property),
29714 (gst_pad_custom_new), (gst_pad_get_direction),
29715 (gst_pad_set_active), (gst_pad_is_active),
29716 (gst_pad_set_event_function), (gst_pad_is_linked),
29717 (gst_pad_link_free), (gst_pad_link_intersect),
29718 (gst_pad_link_fixate), (gst_pad_set_caps),
29719 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29720 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29721 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29722 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29723 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29724 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29725 (gst_pad_realize), (gst_pad_get_allowed_caps),
29726 (gst_real_pad_dispose), (gst_real_pad_finalize),
29727 (gst_pad_collectv), (gst_pad_collect_valist),
29728 (gst_pad_template_dispose), (gst_pad_template_new),
29729 (gst_pad_get_internal_links):
29731 * gst/gstpipeline.c: (gst_pipeline_dispose),
29732 (gst_pipeline_change_state):
29733 * gst/gstpipeline.h:
29735 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29736 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29737 * gst/gstpluginfeature.h:
29738 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29739 * gst/gstquery.c: (_gst_query_type_initialize),
29740 (gst_query_type_register), (gst_query_type_get_by_nick),
29741 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29743 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29744 * gst/gstscheduler.c: (gst_scheduler_add_element),
29745 (gst_scheduler_factory_create):
29746 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29747 (gst_structure_free), (gst_structure_set_name),
29748 (gst_structure_id_set_value), (gst_structure_set_value),
29749 (gst_structure_set_valist), (gst_structure_remove_field),
29750 (gst_structure_remove_fields),
29751 (gst_structure_remove_fields_valist),
29752 (gst_structure_remove_all_fields), (gst_structure_foreach),
29753 (gst_structure_map_in_place),
29754 (gst_caps_structure_fixate_field_nearest_int),
29755 (gst_caps_structure_fixate_field_nearest_double):
29756 * gst/gststructure.h:
29757 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29758 (gst_system_clock_init), (gst_system_clock_dispose),
29759 (gst_system_clock_async_thread),
29760 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29761 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29762 * gst/gstsystemclock.h:
29763 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29764 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29765 * gst/gsttaginterface.c:
29766 * gst/gstthread.c: (gst_thread_dispose),
29767 (gst_thread_release_children_locks), (gst_thread_change_state),
29768 (gst_thread_main_loop):
29769 * gst/gsttrashstack.h:
29770 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29772 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29773 (gst_element_request_pad), (gst_element_get_pad_from_template),
29774 (gst_element_request_compatible_pad),
29775 (gst_element_get_compatible_pad_filtered),
29776 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29777 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29778 (gst_element_link_many), (gst_element_link),
29779 (gst_element_link_pads), (gst_element_unlink_pads),
29780 (gst_element_unlink_many), (gst_element_unlink),
29781 (gst_pad_can_link_filtered), (gst_pad_can_link),
29782 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29783 (gst_object_default_error), (gst_bin_add_many),
29784 (gst_bin_remove_many), (gst_element_populate_std_props),
29785 (gst_element_class_install_std_props), (gst_buffer_merge),
29786 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29787 (link_fold_func), (gst_pad_proxy_setcaps):
29789 * gst/gstvalue.c: (gst_value_deserialize_string):
29790 * gst/parse/grammar.y:
29791 * gst/schedulers/gstbasicscheduler.c:
29792 (gst_basic_scheduler_cothreaded_chain),
29793 (gst_basic_scheduler_chain_recursive_add),
29794 (gst_basic_scheduler_pad_link):
29795 * gst/schedulers/gstoptimalscheduler.c:
29796 (get_group_schedule_function),
29797 (gst_opt_scheduler_state_transition),
29798 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29799 * libs/gst/bytestream/bytestream.c:
29800 * libs/gst/dataprotocol/dataprotocol.c:
29801 (gst_dp_header_from_buffer):
29804 * tests/threadstate/threadstate2.c: (eos):
29805 * tools/gst-compprep.c: (main):
29806 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29807 (print_pad_info), (print_children_info):
29808 * tools/gst-launch.c: (idle_func), (main):
29809 * tools/gst-md5sum.c: (idle_func), (main):
29810 * tools/gst-xmlinspect.c: (print_element_info):
29811 First THREADED backport attempt, focusing on adding locks and
29812 making sure the API is threadsafe. Needs more work. More docs
29815 2005-02-24 Andy Wingo <wingo@pobox.com>
29817 * tests/bench-complexity.scm:
29818 * tests/complexity.gnuplot: New files, good for running complexity
29821 * tests/Makefile.am:
29822 * tests/complexity.c: New test, sets up N elements, at each level
29823 teeing into M streams per element. Eeeenteresting.
29825 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29826 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29827 running bench-mass_elements.scm.
29829 * tests/bench-mass_elements.scm: New script, runs mass_elements
29830 for various numbers of identities, outputting the results to a
29831 file. Requires guile 1.6. Just for testing.
29833 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29835 * gst/schedulers/fairscheduler.c:
29836 compile with debug disabled
29838 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29841 hunting season on 0.9 is now OPEN