1 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
3 * docs/design/Makefile.am:
4 Dist some more design docs.
6 * docs/random/moving-plugins:
7 Small addition: good plugins mustn't have functional code
8 within assertion macros.
10 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
12 * docs/design/draft-framestep.txt:
13 Some ideas about a framestep API
15 * docs/design/part-element-transform.txt:
16 Start design and use cases for basetransform in order to get it
19 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
22 In GST_TAG_ATTACHEMENT docs, mention that the file name needs to
25 2008-06-20 Tim-Philipp Müller <tim.muller at collabora co uk>
28 Make it known that gst_bus_poll() is pure evil (fixes #538810).
30 2008-06-20 Stefan Kost <ensonic@users.sf.net>
32 * plugins/elements/gstcapsfilter.c:
33 * plugins/elements/gstfakesink.c:
34 * plugins/elements/gstfakesrc.c:
35 * plugins/elements/gstfdsink.c:
36 * plugins/elements/gstfdsrc.c:
37 * plugins/elements/gstfilesink.c:
38 * plugins/elements/gstfilesrc.c:
39 * plugins/elements/gstidentity.c:
40 * plugins/elements/gstmultiqueue.c:
41 * plugins/elements/gstqueue.c:
42 * plugins/elements/gsttee.c:
43 * plugins/elements/gsttypefindelement.c:
44 Remove short_description. Add basic docs for gsttypefindelement.
45 Simplify markup for fakesrc/fdsrc.
47 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
49 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
52 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
54 Patch by: joel larsson <tilljoel at gmail dot com>
56 * docs/plugins/gstreamer-plugins.args:
57 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
58 (gst_fd_src_init), (gst_fd_src_update_fd),
59 (gst_fd_src_set_property), (gst_fd_src_get_property),
61 * plugins/elements/gstfdsrc.h:
62 Add timeout property like udpsrc. Fixes #538628.
63 Add some more docs and example pipelines.
65 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
67 * docs/libs/gstreamer-libs-sections.txt:
68 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
69 (gst_base_sink_query_latency), (gst_base_sink_set_render_delay),
70 (gst_base_sink_get_render_delay), (gst_base_sink_wait_eos),
71 (gst_base_sink_do_sync):
72 * libs/gst/base/gstbasesink.h:
73 * win32/common/libgstbase.def:
74 Add method to allow sinks to specify additional delay between the sync
75 times and the actual rendering of the data.
76 API: gst_base_sink_set_render_delay()
77 API: gst_base_sink_get_render_delay()
79 2008-06-20 Jan Schmidt <jan.schmidt@sun.com>
82 Bump version number back to dev -> 0.10.20.1
84 2008-06-20 Sebastian Dröge <slomo@circular-chaos.org>
86 * docs/gst/gstreamer-sections.txt:
87 * gst/gsttaglist.c: (_gst_tag_initialize):
89 API: Add GST_TAG_ATTACHMENT for generic file attachments to streams.
92 2008-06-20 Stefan Kost <ensonic@users.sf.net>
94 * libs/gst/controller/gstcontroller.c:
95 Revert one change, that make ret value possible uninitialized.
97 2008-06-20 Stefan Kost <ensonic@users.sf.net>
99 * libs/gst/controller/gstcontroller.c:
100 Use freeze/thaw notify to sync notify emission a bit (its also more
101 efficient). Move debug output to LOG (is called a lot in a loop).
102 Always unset g_values if the have been initialized.
104 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
106 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
107 (gst_base_sink_wait_eos), (gst_base_sink_event):
108 If we have not seen a buffer before EOS, use the segment values to
109 report the current position instead of invalid positions.
111 2008-06-20 Stefan Kost <ensonic@users.sf.net>
113 * docs/plugins/tmpl/.cvsignore:
114 * tests/check/gst/.cvsignore:
117 2008-06-20 Stefan Kost <ensonic@users.sf.net>
119 * libs/gst/controller/gstinterpolation.c:
120 * libs/gst/controller/gstinterpolationcontrolsource.c:
121 * tests/check/libs/controller.c:
122 Rewrite handling of default values. Fix overflow with unsigned types
123 in linear interpolation. Remove now obsolete _first_value() function.
124 Add more tests. Fixes #538201.
126 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
128 * libs/gst/base/gstbasetransform.c:
129 (gst_base_transform_class_init), (gst_base_transform_init),
130 (gst_base_transform_transform_caps),
131 (gst_base_transform_prepare_output_buffer):
133 When a buffer is writable, its metadata is also writable so we don't
134 need to subbuffer (which then makes the buffer not-writable anymore).
136 === release 0.10.20 ===
138 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
141 releasing 0.10.20, "You Crazy Diamond"
143 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
146 0.10.19.3 pre-release
148 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
152 Rename DATADIR to GST_DATADIR to avoid build problems
153 on win32. Patch By: David Schleef <ds@schleef.org>
156 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
159 Explicitely link with -ldl if dladdr() is found there. Before it was
160 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
161 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
163 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
165 * gst/gsterror.c: (_gst_stream_errors_init):
166 Fix typo (spotted by Fabricio Godoy, #536723).
168 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
171 0.10.19.2 pre-release
173 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
175 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
176 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
178 Make sure we don't generate invalid QoS messages.
180 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
182 * gst/gstevent.c: (gst_event_new_qos):
183 Add some assert and docs for invalid input to the qos function.
185 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
187 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
188 (gst_base_sink_get_position):
189 The reported position must always be smaller than the last seen
190 timestamps (or timestamp + duration for reverse).
192 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
194 Patch by: Rob Bradford <rob at robster dot org dot uk>
196 * gst/gstregistry.c: (gst_registry_scan_path_level):
197 Don't recurse into .debug directories as some distros install
198 the debugging symbols next to the plugins in .debug directories
199 and dlopen() crashes on them sometimes. Fixes bug #508070.
201 Add FIXME for 0.11 to not recurse into directories at all because
202 it's very inconsistent to the behaviour of other PATH environment
205 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
207 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
208 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
209 Fix position query range checks in reverse playback.
211 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
215 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
216 clear of the reference to the resulting pad must be released later
217 or not, resulting in possible leaks. Fixes bug #533865.
219 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
221 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
223 * gst/gstelementfactory.c:
224 Small doc fix. Fixes #535285.
226 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
228 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
230 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
231 (gst_base_src_get_range), (gst_base_src_pad_get_range),
232 (gst_base_src_loop), (gst_base_src_set_flushing),
233 (gst_base_src_change_state):
234 Make sending an EOS event to the basesrc non-blocking even if the
235 implementation does blocking waits in the create function. This is done
236 by unlocking the create function when EOS is sent.
239 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
241 * tools/gst-inspect.c: (print_element_properties_info):
242 If possible print the element type of GValueArray properties.
244 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
247 Remove an unused field from the private GstListIterator struct.
249 2008-05-27 Stefan Kost <ensonic@users.sf.net>
251 * libs/gst/controller/gstcontroller.c:
252 Add parameter guards.
254 2008-05-27 Stefan Kost <ensonic@users.sf.net>
256 * tests/check/gst/gstpipeline.c:
257 Revert test change and add comment why it should not work.
259 2008-05-27 Stefan Kost <ensonic@users.sf.net>
261 * tests/check/gst/gstpipeline.c:
262 Extending the test a little to verify that we also get the NULL state-
265 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
267 * gst/gstpreset.c: (gst_preset_default_get_meta),
268 (gst_preset_get_preset_names), (gst_preset_get_property_names),
269 (gst_preset_load_preset), (gst_preset_save_preset),
270 (gst_preset_rename_preset), (gst_preset_delete_preset),
271 (gst_preset_set_meta):
272 Add Since: markers to docs blurbs.
274 * win32/common/libgstreamer.def:
275 Add recently-added API.
277 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
279 Patch by: Stefan Kost <ensonic@users.sf.net>
282 Add DATADIR for storing presets.
284 * docs/gst/gstreamer-docs.sgml:
285 * docs/gst/gstreamer-sections.txt:
286 * docs/gst/gstreamer.types.in:
287 Add GstPreset to docs.
291 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
292 (preset_open_and_parse_header), (preset_parse_version),
293 (preset_merge), (preset_get_keyfile),
294 (gst_preset_default_get_preset_names),
295 (gst_preset_default_get_property_names),
296 (gst_preset_default_load_preset),
297 (gst_preset_default_save_presets_file),
298 (gst_preset_default_save_preset),
299 (gst_preset_default_rename_preset),
300 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
301 (gst_preset_default_get_meta), (gst_preset_default_randomize),
302 (gst_preset_default_reset), (gst_preset_get_preset_names),
303 (gst_preset_get_property_names), (gst_preset_load_preset),
304 (gst_preset_save_preset), (gst_preset_rename_preset),
305 (gst_preset_delete_preset), (gst_preset_set_meta),
306 (gst_preset_get_meta), (gst_preset_class_init),
307 (gst_preset_base_init), (gst_preset_get_type):
309 Add GstPreset to core. Fixes #396779
311 * tests/check/Makefile.am:
312 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
313 (gst_preset_test_set_property), (gst_preset_test_class_init),
314 (gst_preset_test_base_init), (gst_preset_test_get_type),
315 (gst_preset_test_plugin_init), (GST_START_TEST),
316 (remove_preset_file), (test_setup), (test_teardown),
318 Add GstPreset unit tests.
320 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
322 * gst/gstpad.c: (gst_pad_event_default_dispatch):
323 The default event function on a sinkpad should return TRUE when
324 there are no internal links but should collect the return values from
325 the internal links otherwise.
327 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
329 * plugins/elements/gsttypefindelement.c:
330 (gst_type_find_element_src_event),
331 (gst_type_find_element_handle_event):
332 Use faster and safer _pad_push_event().
334 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
336 * docs/gst/gstreamer-sections.txt:
337 * gst/gstutils.c: (element_find_unlinked_pad),
338 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
340 API: add gst_bin_find_unlinked_pad()
341 API: deprecate gst_bin_find_unconnected_pad() (#401456)
343 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
349 Fixed a bunch of typos.
351 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
354 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
355 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
356 (gst_parse_bin_from_description_full):
358 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
360 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
362 * docs/pwg/advanced-tagging.xml:
363 Small docs update, can't be bothered to rewrite the nonsensical
366 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
369 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
371 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
373 * gst/parse/grammar.y:
374 Remove unneeded casts.
376 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
378 * gst/parse/grammar.y:
379 * tests/check/pipelines/parse-launch.c:
380 Get all missing elements from a parse launch string if possible
381 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
383 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
385 * tests/check/Makefile.am:
386 * tests/check/pipelines/parse-launch.c:
387 Add some unit tests for the new gst_parse_launch*_full() API.
388 (Exposes a previously-existing memory leak in the error code
389 path, so adding to VALGRIND_TO_FIX for now).
391 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
393 * docs/gst/gstreamer-sections.txt:
394 * gst/gst.c: (init_post):
395 * gst/gst_private.h: (_GstParseContext):
396 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
397 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
398 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
399 (gst_parse_launch_full):
400 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
401 (GstParseFlags), (GstParseContext):
402 * gst/gstutils.c: (gst_parse_bin_from_description),
403 (gst_parse_bin_from_description_full):
405 * gst/parse/grammar.y:
407 * win32/common/libgstreamer.def:
408 Add new gst_parse_*_full API (#528178):
409 API: gst_parse_launch_full()
410 API: gst_parse_launchv_full()
411 API: gst_parse_bin_from_description_full()
412 API: gst_parse_context_new()
413 API: gst_parse_context_free()
414 API: gst_parse_context_get_missing_elements()
416 2008-05-23 Stefan Kost <ensonic@users.sf.net>
418 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
420 * docs/faq/gst-uninstalled:
421 Also support ffmpeg in gst-uninstalled.
423 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
426 After discussion on IRC use the binary registry as default
427 but allow to disable it with --disable-binary-registry.
429 * win32/common/libgstreamer.def:
430 Add the two new symbols for the binary registry.
432 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
434 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
435 * gst/gstutils.c: (gst_parse_bin_from_description):
436 * gst/parse/grammar.y: (graph):
437 More guards against bad input; typo fix; some minor clean-ups.
439 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
441 Patch by: Sjoerd Simons <sjoerd at luon dot net>
443 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
444 If nothing else can be used, use the last buffer's start time as
445 the segment's last stop. Fixes bug #534258.
447 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
449 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
450 Move size sanity check to the right place: downstream may return
451 a buffer with a smaller size if the buffer caps are different than
452 the requested ones, as may happen when doing reverse negotiation.
454 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
456 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
457 (gst_file_sink_render):
458 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
459 (gst_file_src_start):
460 Small cleanups. Add note adbout g_fopen() on windows and why we don't
463 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
465 * gst/gstpad.c: (gst_pad_load_and_link):
466 * gst/gstutils.c: (gst_element_link_pads),
467 (gst_element_unlink_pads):
468 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
469 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
470 (gst_check_teardown_sink_pad),
471 (gst_check_element_push_buffer_list):
472 * tests/check/elements/fakesink.c: (GST_START_TEST):
473 * tests/check/elements/filesink.c:
474 * tests/check/elements/filesrc.c: (GST_START_TEST):
475 * tests/check/elements/multiqueue.c: (setup_multiqueue),
476 (mq_sinkpad_to_srcpad):
477 * tests/check/elements/tee.c: (GST_START_TEST):
478 * tests/check/generic/sinks.c: (GST_START_TEST):
479 * tests/check/gst/gstbin.c: (GST_START_TEST):
480 * tests/check/gst/gstevent.c: (GST_START_TEST):
481 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
482 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
483 * tests/check/gst/gstquery.c: (GST_START_TEST):
484 * tests/check/gst/gstutils.c: (GST_START_TEST):
485 * tests/check/libs/basesrc.c: (GST_START_TEST):
486 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
487 (gst_parse_test_element_change_state):
488 Don't use gst_element_get_pad().
490 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
493 Fix installing plugin documentation when gtk-doc is disabled.
495 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
497 * docs/manual/advanced-autoplugging.xml:
498 * docs/manual/basics-helloworld.xml:
499 * docs/manual/basics-pads.xml:
500 * docs/manual/highlevel-components.xml:
501 Avoid using a bad function in the example code.
503 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
505 * gst/gstclock.c: (gst_clock_set_calibration):
506 Fix debug of the new clock rate.
508 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
510 * win32/common/libgstbase.def:
511 Add gst_base_sink_wait_clock() to the exported symbols.
513 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
515 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
517 * libs/gst/base/gstbasetransform.c:
518 (gst_base_transform_sink_event):
519 Unref events that the GstBaseTransform::event vfunc didn't want to
520 have forwarded by the base class. Closes a leak in identity.
523 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
525 * docs/libs/gstreamer-libs-sections.txt:
526 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
527 * libs/gst/base/gstbasesink.h:
528 Expose a method that was previously used internally to synchronize
529 against the clock because it can be useful for subclasses too.
530 API: GstBaseSink::gst_base_sink_wait_clock()
532 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
534 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
535 Add sanity check to make sure we don't get smaller buffers
536 than requested (and fallback to normal buffer alloc if we do).
538 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
540 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
541 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
542 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
543 Refactor adjusting the running_time with latency and offset into a
545 When doing clipping, we still want to use the subclass get_times method,
546 just in case the DURATION or TIMESTAMP are not set.
548 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
550 * docs/gst/gstreamer-sections.txt:
551 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
553 * win32/common/libgstreamer.def:
554 API: add gst_type_find_suggest_simple(), #533740.
556 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
558 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
559 Use right error code when typefinding fails, so we can use
560 the default (translated) error messages.
562 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
564 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
565 (gst_base_src_start):
566 When the subclass did not set caps on outgoing buffers, configure the
567 caps we negotiated on the source pad.
568 When the typefind helper does not find caps, error out properly instead
569 of doing things with NULL caps.
571 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
574 Tabs to spaces, oh yes!
576 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
578 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
579 Add David's and Benjamin's tests for array intersection to the
580 unit test suite (#147931).
582 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
585 Document that gst_event_new_tag() and gst_event_new_navigation()
586 take ownership of the taglist/structure passed to them. (#533635).
588 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
591 Don't descend into the plugins dir if plugin docs building
595 Add a note about the new type:GTypeName syntax for the plugin
596 documentation .types file.
598 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
600 * gst/gstmessage.c: (gst_message_new_error),
601 (gst_message_new_warning), (gst_message_new_info):
603 Mark the debug string parameters as const. Fixes bug #533490.
605 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
607 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
608 Sort buffer cache list by end offsets. This makes sure that we don't
609 stop to search for a cached buffer that contains the requested data
611 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
612 more efficient. Fixes bug #459862.
614 2008-05-14 Stefan Kost <ensonic@users.sf.net>
617 Explain why we copy the list.
623 Add one debug-log statement to help tracing probelms with linking pads.
625 2008-05-12 Stefan Kost <ensonic@users.sf.net>
627 * tests/check/gst/gstinfo.c:
628 Add a test for removing the default log handler. Seems to fail under
631 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
633 * gst/gstpad.c: (gst_pad_peer_accept_caps):
634 Release pad lock before calling out to avoid a possible deadlock.
636 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
638 * gst/parse/grammar.y:
639 Remove unneeded value unset.
641 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
642 Add unit test for de/serialization of caps.
644 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
646 * plugins/elements/gstfakesink.c:
647 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
648 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
649 (gst_fake_src_class_init):
650 Use custom marshalers that take GstMiniObject as first parameter.
651 Using OBJECT as parameter while a GstMiniObject is given will lead
652 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
654 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
656 * plugins/elements/gsttypefindelement.c:
657 (gst_type_find_element_handle_event),
658 (gst_type_find_element_send_cached_events),
659 (gst_type_find_element_change_state):
660 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
663 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
665 * plugins/elements/gsttypefindelement.c:
666 (gst_type_find_handle_src_query), (stop_typefinding),
667 (gst_type_find_element_handle_event),
668 (gst_type_find_element_send_cached_events),
669 (gst_type_find_element_change_state):
670 Forward FLUSH_START events immediately and clean up instead of
673 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
675 Patch by: Sjoerd Simons <sjoerd at luon dot net>
677 * libs/gst/base/gstbasetransform.c:
678 (gst_base_transform_buffer_alloc):
679 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
680 fall back to default negotiation in the chain function if the caps
681 are different from what was requested. Fixes bug #526768.
683 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
686 * tests/check/gst/gstsegment.c:
687 No, let's not use g_slice_{dup|copy} here, since they only exist
688 since GLib 2.14 and we still depend only on >= 2.12. Also add
689 unit test for gst_segment_copy().
691 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
693 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
694 Try to fix 'dereferencing type-punned pointer will break strict
695 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
696 changed the default GType typedef from gulong to gsize at some point,
697 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
698 g_once_* functions all take a gsize * though, so work around the type
699 mismatch for C++ by doing everything in gsize and casting to GType
702 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
704 * plugins/elements/gstmultiqueue.c:
705 Add documentation for the signals to push our core plugin docs
706 coverage back up to 100%.
708 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
710 * gst/gstinfo.h (GST_FUNCTION):
711 Reverted GST_FUNCTION to the old version as we don't want the
712 full signature in C++ code. Also added support for MSVC.
714 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
717 Intern the type name string, similar to what G_DEFINE_TYPE does.
719 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
722 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
724 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
726 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
728 * libs/gst/base/gstbasetransform.c:
729 (gst_base_transform_buffer_alloc):
730 Don't passthrough buffer allocation too easily if the caps change.
731 This breaks when working in passthrough mode and upstream changes
732 it's caps. Fixes bug #526768.
734 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
736 * gst/gstinfo.c (gst_debug_log_valist):
737 Improved the __FILE__ part of debug output for MSVC.
739 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
741 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
742 Declaration after statement fix for compilers like MSVC.
744 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
746 * win32/common/config.h.in:
747 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
748 use the real thing than having "???" unconditionally.
750 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
752 * gst/gstinfo.h (GST_FUNCTION):
753 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
755 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
757 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
760 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
761 (gst_base_sink_set_flushing):
762 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
765 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
767 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
768 (gst_fake_src_init), (gst_fake_src_set_property),
769 (gst_fake_src_get_property), (gst_fake_src_start):
770 * plugins/elements/gstfakesrc.h:
771 Added format property to control the format of the newsegment events.
772 API: GstFakeSrc:format
774 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
776 * win32/common/libgstreamer.def:
777 Add gst_pad_has_name() to the exported symbols.
779 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
781 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
782 * libs/gst/base/gstbasetransform.c:
783 (gst_base_transform_prepare_output_buffer):
784 Don't allow negative sizes when allocating new buffers.
787 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
789 Patch by: Sjoerd Simons <sjoerd at luon net>
791 * gst/gstbus.c: (gst_bus_source_dispatch):
792 Don't print a warning if the queue is empty when we try to pop
793 here. That could happen if another thread or callback set the
794 bus to flushing between the source's check/prepare and the
795 dispatch being called (#531538).
797 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
799 * plugins/elements/gstmultiqueue.c:
802 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
804 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
805 Add unit test for deserializing uint64s and check some really large
806 numbers in the int64 test.
808 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
810 * tools/gst-inspect.c: (n_print), (print_hierarchy),
811 (print_interfaces), (print_element_properties_info),
813 Use "%s" as format string instead of printing strings directly.
815 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
817 * gst/gstclock.c: (gst_clock_set_calibration):
818 Make some checks actually useful.
820 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
821 Remove some unused code. Unsigned integers tend to be >= 0.
823 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
825 * gst/gstminiobject.c: (gst_value_get_mini_object):
826 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
827 function was not in the unscheduled 0.10.19 release.
829 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
831 * gst/gstregistry.c: (gst_registry_scan_path_level):
832 Only print one log message per non-plugin file.
834 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
836 * gst/gstinfo.c: (gst_debug_log_default):
837 Fix alignment of debug log columns on 64-bit.
839 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
841 * docs/libs/Makefile.am:
842 * docs/libs/gstreamer-libs-sections.txt:
843 Ignore private controller headers for docs.
845 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
847 * libs/gst/controller/gstcontrollerprivate.h:
848 * libs/gst/controller/gsthelper.c:
849 * libs/gst/controller/gstinterpolation.c:
850 * libs/gst/controller/gstinterpolationcontrolsource.c:
851 (gst_interpolation_control_source_set_interpolation_mode):
852 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
853 * libs/gst/controller/lib.c:
854 Move some private declarations into private headers.
856 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
858 * gst/gstdebugutils.c: (debug_dump_element_pad):
859 Remove some code that is unused after Stefan's refactoring and uses
860 uninitialized variables now, resulting in a compiler warning.
862 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
864 * gst/gstregistry.c: (gst_registry_scan_path_level):
865 Run g_str_has_suffix() only on the file name, not the
868 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
870 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
871 Since we're not called only from the chain function any longer,
872 we can't assume that there's always data in the queue, so move
873 the is_full check to the beginning of the loop (otherwise we'd
874 hit the assert when changing the limit properties while the
875 queue is empty or not running yet).
876 Also, only set a discont if items were actually removed from
879 * tests/check/elements/queue.c: (test_leaky_downstream):
880 Test case for the above.
882 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
884 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
886 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
887 (gst_queue_chain), (queue_capacity_change),
888 (gst_queue_set_property):
889 When changing thr max capacity of a leaky queue, immediatly drop buffers
890 instead of waiting for a push on the sinkpad. Fixes #530637.
892 2008-04-30 Stefan Kost <ensonic@users.sf.net>
894 * gst/gstdebugutils.c:
895 Refactor code and fix handling of ghostpads and their proxypads.
897 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
899 * docs/gst/gstreamer-sections.txt:
900 * gst/gstevent.c: (gst_event_has_name):
902 * tests/check/gst/gstevent.c: (GST_START_TEST):
903 Add method to conveniently check the name of a custom event with
904 gst_event_has_name().
905 Reformat the event docs so that related methods are put together instead
906 of the default alphabetical sort.
907 Update unit test with new method.
908 API: GstEvent::gst_event_has_name()
910 2008-04-28 Michael Smith <msmith@songbirdnest.com>
912 * libs/gst/check/Makefile.am:
913 Don't add an explicit link to libgstreamer-0.10.la; it's already
914 included in GST_OBJ_LIBS.
916 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
919 Register GstClock type from a type-safe context. Fixes bug #530317.
921 2008-04-25 Michael Smith <msmith@songbirdnest.com>
923 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
925 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
927 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
929 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
931 Use the GLib stuff to create a private structure.
932 Add some locking around some dispose methods to make them a little
933 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
935 2008-04-25 Stefan Kost <ensonic@users.sf.net>
937 * libs/gst/base/gstbasesink.h:
938 * libs/gst/base/gstbasesrc.h:
939 * libs/gst/base/gstbasetransform.h:
940 * libs/gst/base/gstcollectpads.h:
941 Fix doc typos and unify caps a bit.
943 2008-04-25 Stefan Kost <ensonic@users.sf.net>
945 * tools/gst-launch.1.in:
946 Forgot to also add the envvar docs here.
948 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
950 * gst/gst.c: (init_post), (gst_deinit):
951 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
952 (test_concurrent_create), (gst_pipeline_suite):
953 Ref some more classes in gst_init() to work around thread-safety
954 issues in pre-2.16 GLibs, and add basic unit test.
956 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
958 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
959 (gst_base_sink_send_event):
960 Rearrange the latency query code. We always want to do the upstream
961 query, even if we are not live so that the upstream elements can get the
962 latency results too. If we fail doing the query and we are live, we
963 return TRUE afterwards.
965 2008-04-24 Stefan Kost <ensonic@users.sf.net>
967 patch by: Jason Zhao <e3423c@motorola.com>
969 * docs/gst/running.xml:
971 Enable/disable scan_and_update_registry() based on commandline switch
972 or environment variable. Fixes #520468.
975 Fix typo in my previous commit.
977 2008-04-24 Stefan Kost <ensonic@users.sf.net>
979 * gst/gstregistrybinary.c:
980 Add a warning if we hit unhandled factories when saving.
981 More debug logging detail, but move to LOG category.
983 2008-04-24 Stefan Kost <ensonic@users.sf.net>
986 Tell the *truth* when improving the documentation.
988 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
990 * gst/gstelementfactory.c: (gst_element_factory_make):
991 Unref the factory after it was used the last time, not before.
993 * gst/gstindexfactory.c: (gst_index_factory_make):
994 Improve debugging a bit and don't leak a ref to the index factory with
997 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1000 Improve the documentation.
1002 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1005 The glib macro seems to be borked. Use g_slice_copy directly and cast
1006 in the hope that this fixes the warning on 64bit.
1008 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1011 Document the new function. Use g_slice_dup() (no need for
1012 gst_segment_init()).
1014 2008-04-23 Stefan Kost <ensonic@users.sf.net>
1016 * docs/gst/gstreamer-sections.txt:
1017 Move GParamSepc macros to standart section.
1020 Dn't document _get_type - its in private section in docs anyway and
1021 this doc-blob was incomplete.
1024 Fix wrong symbol names in docs.
1027 Add once doc sentence.
1029 * tests/check/gst/.cvsignore:
1032 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1034 * docs/gst/Makefile.am:
1035 And remove those libs here.
1037 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
1039 * docs/libs/Makefile.am:
1040 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
1042 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
1044 Patch by: Olivier Crete <tester at tester dot ca>
1046 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
1047 Add the min-threshold to the min latency if possible. Fixes #529148.
1049 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1051 * docs/gst/gstreamer.types.in:
1052 Stupid editor, I removed that line as it should go in yet.
1054 2008-04-21 Stefan Kost <ensonic@users.sf.net>
1056 * docs/gst/gstreamer.types.in:
1057 * docs/libs/gstreamer-libs.types:
1058 Remove library types fro core docs and have them in libs docs.
1059 Reformat and cleanup. Add comment for miniobject types.
1061 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
1063 * gst/gsturi.c: (gst_uri_get_protocol):
1064 Fix leak: g_strdown operates on the string in place, while
1065 g_ascii_strdown() returns a newly-allocated string.
1067 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
1069 * tools/gst-inspect.c: (print_uri_handler_info),
1070 (print_element_info):
1071 Print the URI protocols and the URI type supported by the element.
1073 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1075 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
1076 Use g_value_take_string() instead of the deprecated
1077 g_value_set_string_take_ownership().
1079 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1081 * gst/gstregistrybinary.c: (_gst_crc32):
1082 Return the old CRC instead of 0 if we give a NULL buffer
1083 or a buffer with a length of 0.
1085 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
1087 * gst/gsturi.c: (gst_uri_protocol_check_internal),
1088 (gst_uri_get_protocol), (gst_uri_has_protocol),
1089 (gst_uri_construct), (gst_uri_handler_set_uri):
1090 A valid URI scheme can also include '+', '-' and '.' additional
1091 to alphanumeric characters as per RFC 3986 Section 3.1.
1093 Handle URI schemes case insensitive in all places and convert
1094 to lower-case when constructing an URI or setting an URI with
1095 the GstURIHandler interface. Fixes bug #528868.
1096 All elements can still assume (as before) that they will
1097 get passed URIs with a lower-case URI scheme by the GstURIHandler
1100 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1102 * gst/gstcaps.c: (gst_static_caps_get):
1103 * gst/gstclock.c: (gst_clock_entry_new):
1104 Don't use g_atomic_set_int where it's not needed.
1106 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1108 * gst/gstvalue.c: (gst_value_deserialize_caps):
1109 * gst/parse/grammar.y:
1112 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1114 * gst/gstutils.c: (gst_atomic_int_set):
1115 Use g_atomic_int_set() here too instead of assignment +
1118 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1122 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1123 now that we depend on new enough GLib.
1125 * gst/gstcaps.c: (gst_static_caps_get):
1126 * gst/gstclock.c: (gst_clock_entry_new):
1127 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1128 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1129 (gst_debug_category_set_threshold):
1130 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1131 (gst_base_sink_set_qos_enabled):
1132 * libs/gst/net/gstnettimeprovider.c:
1133 (gst_net_time_provider_set_property):
1134 Use g_atomic_int_set() instead of gst_atomic_int_set().
1136 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1139 Also use G_GINT64_CONSTANT for the queries.
1141 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1144 Use G_GINT64_CONSTANT in varargs function.
1146 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1148 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1149 Initialize the registry magic with zeroes.
1151 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1153 * gst/gstregistrybinary.c: (_gst_crc32),
1154 (gst_registry_binary_write),
1155 (gst_registry_binary_initialize_magic),
1156 (gst_registry_binary_write_cache),
1157 (gst_registry_binary_check_magic),
1158 (gst_registry_binary_read_cache):
1159 * gst/gstregistrybinary.h:
1160 Add crc32 checksum to the binary registry file and check this before
1161 accepting a registry file.
1163 Also free the data list when writing to the registry file fails.
1165 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1167 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1168 (gst_registry_binary_load_feature),
1169 (gst_registry_binary_load_plugin):
1170 If an element supports the Uri interface, returns a valid pointer
1171 to the supported URI protocols but this pointer contains nothing
1172 don't try to save that as it will corrupt the registry.
1174 Don't unref the plugin if we added it to the registry already but
1175 fail to load a feature as gst_registry_add_plugin() takes ownership
1178 Improve debugging a bit.
1180 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1183 Clarify some tag item docs after discussion on irc.
1185 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1187 * docs/gst/gstreamer-docs.sgml:
1188 Remove commented out plugins (they have their own docs). Update
1191 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1193 * docs/gst/gstreamer-docs.sgml:
1194 * docs/gst/gstreamer-sections.txt:
1195 * gst/gstparamspecs.c:
1196 * gst/gstparamspecs.h:
1197 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1198 docs to own section.
1201 This now only documents GValue.
1203 * docs/libs/gstreamer-libs-sections.txt:
1204 * libs/gst/controller/gstcontroller.h:
1205 Remove GST_PARAM_CONTROLLABLE.
1207 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1210 Correct file path. Tell about how to use -overrides.txt.
1211 * docs/design/draft-tagreading.txt:
1212 Small design update.
1214 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1216 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1217 (gst_registry_binary_load_plugin):
1218 Fix a typo in a debug message and revert change from yesterday as
1219 gst_registry_add_plugin() will only fail if something is really wrong
1220 already and we can't survive it anyway.
1222 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1224 * gst/gst.c: (init_post), (gst_deinit):
1225 Pre-register GstGError GType from a thread-safe context
1226 (fixes #527967); unref enum type classes in deinit.
1228 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1230 Patch by: Rene Stadler <mail at renestadler de>
1232 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1233 Merging an empty list with another list in KEEP_ALL mode should
1234 yield an empty list as result and not the second list (#512578).
1236 * tests/check/gst/gsttagsetter.c:
1237 Add unit test for tag merge modes and the aforementioned bug.
1239 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1241 Patch by: Rene Stadler <mail at renestadler de>
1244 Fix description to match the order in the table (#512577).
1246 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1248 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1250 * libs/gst/net/gstnettimepacket.h:
1251 * docs/libs/gstreamer-libs-sections.txt:
1252 Define socklen_t as int if it's not defined yet. Fixes compilation
1253 with MSVC6 and other versions where socklen_t is not defined in
1254 the windows headers (#518022).
1256 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1258 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1259 If gst_registry_add_plugin() fails our reference to the plugin is
1260 invalid so don't try to use it anymore and instead error out.
1262 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1264 * tools/gst-xmlinspect.c: (print_element_info), (main):
1265 De-cruft a bit. If no argument is specified, print all elements in
1266 XML syntax rather than a freestyle list of elements like gst-inspect.
1267 Also, don't print XML header chunk unless we actually have something
1268 to print (ie. don't print it before an error message); print error
1269 message to stderr not stdout. Remove support for printing plugin
1270 info (it would just output something freestyle along the lines of
1271 gst-inspect so far), which fixes #514507. Also add license header.
1273 2008-04-11 Julien Moutte <julien@fluendo.com>
1276 * configure.ac: Merge platform specific defines, introduce a new
1277 define on OS X to remember that forking when updating registry is
1279 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1281 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1283 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1284 condition that leads to absolutely no plugins being registered on
1287 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1289 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1291 * gst/gstutils.c: (gst_pad_add_data_probe),
1292 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1293 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1294 (gst_pad_add_buffer_probe_full):
1296 * docs/gst/gstreamer-sections.txt:
1297 * win32/common/libgstreamer.def:
1298 Add gst_pad_add_*_probe_full() functions with a notify callback that
1299 lets the caller free the data it passes to the probe functions. This
1300 is useful for bindings such as gst-python or gstreamermm (#526814).
1301 API: gst_pad_add_data_probe_full
1302 API: gst_pad_add_buffer_probe_full
1303 API: gst_pad_add_event_probe_full
1305 * tests/check/gst/gstutils.c:
1306 Add minimal unit test to make sure freeing the data actually works
1309 * tests/benchmarks/.cvsignore:
1310 Random cvsignore addendum.
1312 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1314 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1315 (GST_DEBUG_BIN_TO_DOT_FILE):
1316 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1317 to it in the docs (since these are macros the types of the arguments
1318 won't be shown in the docs otherwise).
1320 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1323 Do not abort on out of memory for pad_alloc_buffer.
1325 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1327 * libs/gst/check/gstcheck.c:
1328 Remove blank line between symbol name ad parameters to fix gtkdoc
1331 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1333 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1335 * docs/gst/gstreamer-sections.txt:
1338 * win32/common/libgstreamer.def:
1339 Expose gst_segment_copy() to make things easier for the c++ bindings.
1341 API: gst_segment_copy()
1343 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1345 * gst/gst.c: (gst_init_get_option_group), (init_post):
1346 Fix const position; ref GType classes for enum types to work
1347 around thread-safety issues in GLib versions < 2.16.
1349 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1351 * docs/design/part-buffering.txt:
1352 Fix some typos and set the estimated total for push mode to -1.
1354 * gst/gstquery.c: (gst_query_new_buffering):
1355 Set buffering-left to 0 as we're not buffering by default.
1357 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1358 Implement BUFFERING query.
1360 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1362 Based on patch by: Milosz Derezynski <internalerror gmail com>
1364 * gst/gsterror.c: (_gst_stream_errors_init):
1366 Add two new error codes for encrypted content. Fixes #524659.
1367 API: GST_STREAM_ERROR_DECRYPT
1368 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1370 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1375 * win32/common/libgstreamer.def:
1378 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1380 * plugins/elements/gstidentity.c: (gst_identity_event),
1381 (gst_identity_start):
1382 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1383 event after processing some data. Fixes bug #526042.
1385 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1387 * docs/gst/gstreamer-sections.txt:
1388 * gst/gstquery.c: (gst_query_parse_latency),
1389 (gst_query_set_buffering_percent),
1390 (gst_query_parse_buffering_percent),
1391 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1393 Rename _avail -> _range
1394 API: gst_query_set_buffering_range
1395 API: gst_query_parse_buffering_range
1397 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1399 * docs/design/part-buffering.txt:
1402 * gst/gstquery.c: (gst_query_parse_latency),
1403 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1404 (gst_query_parse_buffering_percent):
1406 Add busy field and quark for the buffering query so that the app can
1407 only use the query to see if buffering is in progress.
1409 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1411 * docs/gst/gstreamer-sections.txt:
1412 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1413 (gst_message_parse_buffering_stats):
1415 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1416 (gst_query_parse_latency), (gst_query_new_buffering),
1417 (gst_query_set_buffering_percent),
1418 (gst_query_parse_buffering_percent),
1419 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1420 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1422 Reorder the message docs and headers for clarity.
1423 Add aditional buffering stats API for messages.
1424 Add buffering query.
1425 Convert some leftover queries to use GstQuark.
1426 API: gst_message_set_buffering_stats
1427 API: gst_message_parse_buffering_stats
1428 API: GST_QUERY_BUFFERING
1429 API: GstBufferingMode
1430 API: gst_query_new_buffering
1431 API: gst_query_set_buffering_percent
1432 API: gst_query_parse_buffering_percent
1433 API: gst_query_set_buffering_stats
1434 API: gst_query_parse_buffering_stats
1436 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1438 * gst/gstmessage.c: (gst_message_new_error),
1439 (gst_message_new_warning), (gst_message_new_info),
1440 (gst_message_new_buffering), (gst_message_new_state_changed),
1441 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1442 (gst_message_new_new_clock), (gst_message_new_segment_start),
1443 (gst_message_new_segment_done), (gst_message_new_duration),
1444 (gst_message_new_async_start), (gst_message_parse_buffering),
1445 (gst_message_parse_state_changed),
1446 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1447 (gst_message_parse_new_clock), (gst_message_parse_error),
1448 (gst_message_parse_warning), (gst_message_parse_info),
1449 (gst_message_parse_segment_start),
1450 (gst_message_parse_segment_done), (gst_message_parse_duration),
1451 (gst_message_parse_async_start):
1452 Use GstQuark for messages.
1454 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1456 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1458 Add some more quarks needed for messages and queries.
1460 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1462 * docs/design/part-buffering.txt:
1463 Remove the "none" buffering mode, STREAM is a good default.
1464 Move estimated-time to the avail query, that's when it will be needed.
1465 Other small typo fixes and updates.
1467 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1469 * gst/gstindex.c: (gst_index_resolver_get_type):
1470 Don't put descriptions into the nick field of a GEnumValue: it's not
1471 meant for that and some language bindings rely on the nick field to
1472 construct constants and the like. Fixes #526705.
1474 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1479 Merge other changes from 0.10.19 release branch.
1481 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1483 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1486 Actually build dlls when cross-compiling with mingw32.
1489 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1491 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1494 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1496 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1498 * docs/design/draft-latency.txt:
1501 * docs/design/part-buffering.txt:
1502 Update design docs with more buffering ideas.
1504 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1507 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1509 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1512 Revert part that belongs to the preset patch.
1514 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1517 Add qoutes to the define. Fixes # 525961.
1519 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1521 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1522 (gst_file_index_load), (gst_file_index_add_id),
1523 (gst_file_index_get_assoc_entry):
1524 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1525 (gst_mem_index_free_id), (gst_mem_index_add_id),
1526 (gst_mem_index_index_format):
1527 Use GSlice when possible.
1529 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1531 * libs/gst/controller/gstinterpolationcontrolsource.c:
1532 (gst_control_point_free),
1533 (gst_interpolation_control_source_set_internal):
1534 Use GSlice for allocating the control points.
1536 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1538 * plugins/elements/gsttypefindelement.c:
1539 (gst_type_find_element_class_init),
1540 (gst_type_find_element_set_property),
1541 (gst_type_find_element_get_property),
1542 (gst_type_find_element_activate):
1543 * plugins/elements/gsttypefindelement.h:
1545 Fix pad leak when peer query fails.
1546 We can still typefind when the peer returns -1.
1547 Add property to force caps and bypass typefinding. This will be used in
1551 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1556 * gst/glib-compat-private.h:
1557 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1558 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1559 Unconditionally use GSlice for allocation.
1561 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1562 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1563 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1564 (gst_structure_free):
1565 Use GSlice for allocation.
1567 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1569 * gst/parse/Makefile.am:
1570 * gst/parse/grammar.tab.pre.c:
1571 * gst/parse/grammar.tab.pre.h:
1572 * gst/parse/lex._gst_parse_yy.pre.c:
1573 Require a new enough flex and bison and remove the parser hacks to use
1574 a pre-regenerated version.
1576 2008-04-01 Julien Moutte <julien@fluendo.com>
1578 patch by: Jason Zhao <E3423C@motorola.com>
1580 * configure.ac: Add a configure switch to disable option parsing
1584 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1587 * gst/gstregistry.c:
1588 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1589 and handle this case.
1592 Add a comment here describing, why we stat each plugin and not try to
1595 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1597 * libs/gst/base/gstbasetransform.c:
1598 (gst_base_transform_prepare_output_buffer):
1599 Also unset the GAP flag on buffers if we're working inplace but
1600 the element is not GAP-aware.
1602 Mark a comment as FIXME 0.11.
1604 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1607 Fix type in log message and add one to ease seeing how long registry
1608 cache verification takes.
1610 * gst/gstregistry.c:
1611 Only test plugin filenames against G_MODULE_SUFFIX.
1613 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1615 * gst/gstdebugutils.c:
1616 Improve handling ghost/proxy pads.
1618 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1620 * docs/gst/gstreamer-sections.txt:
1623 Expose macro to docs and fix link to it.
1625 2008-03-27 Michael Smith <msmith@fluendo.com>
1627 * libs/gst/dataprotocol/dataprotocol.c:
1628 (gst_dp_packet_from_event_1_0):
1629 When calculating GDP body CRC, use the correct pointer.
1630 Fixes part of #522401.
1632 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1634 Patch by: Mark Nauwelaerts <manauw at skynet be>
1636 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1637 (gst_identity_init), (gst_identity_prepare_output_buffer):
1638 Identity is not always a passthrough element, it can modify the buffer
1639 timestamps when it has a datarate and operates in single-segment mode.
1640 We therefore make it an in_place filter with a custom buffer prepare
1641 function that conditionally makes the input buffer metadata writable
1642 when needed. Fixes #523985.
1644 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1646 Patch by: Mark Nauwelaerts <manauw at skynet be>
1649 * libs/gst/base/gstbasesrc.h:
1650 * libs/gst/base/gstbasetransform.c:
1651 * libs/gst/check/gstcheck.c:
1652 Small documentation fixes. Fixes #523978.
1654 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1656 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1657 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1658 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1660 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1662 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1663 (single_queue_underrun_cb):
1664 When trying to make room in the queue, bump the max allowed buffers
1665 bigger than the current amount of buffers in the queue. this fixes some
1666 nasty deadlocks in multiqueue when dynamically changing the limits of
1669 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1671 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1673 * gst/gstcaps.c: (gst_caps_set_simple),
1674 (gst_caps_set_simple_valist), (gst_caps_intersect):
1676 Constify the field gchar * params in set_simple and friends.
1679 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1681 * gst/gstvalue.c: (gst_value_transform_object_string):
1682 Transform a GstObject to a more meaningfull string that includes the
1683 object type in addition to its name.
1685 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1688 ChangeLog surgery to add bugnumber to commit.
1690 2008-03-23 Rene Stadler <mail@renestadler.de>
1692 * libs/gst/base/gstbasetransform.c:
1693 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1695 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1697 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1698 Rename constant everywhere and don't forget one occurence.
1700 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1702 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1703 Align memory to the pointer size even if the architecture allows
1704 unaligned memory access. Unaligned memory access usually comes with
1705 performance penality.
1707 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1709 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1710 (gst_registry_binary_check_magic),
1711 (gst_registry_binary_load_pad_template),
1712 (gst_registry_binary_load_feature),
1713 (gst_registry_binary_load_plugin):
1714 Align memory to the pointer size instead of always 32 bit. Fixes
1715 unaligned memory accesses on ia64 and friends.
1717 * gst/gstregistrybinary.h:
1718 Bump binary registry format version for this as it changes the
1719 format on those architectures that don't have unaligned access
1720 and 64 bit pointers.
1722 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1724 * docs/pwg/advanced-dparams.xml:
1725 * docs/pwg/building-props.xml:
1726 * docs/pwg/other-source.xml:
1727 * gst/glib-compat.h:
1728 * gst/gstbin.c: (gst_bin_class_init):
1729 * gst/gstclock.c: (gst_clock_class_init):
1730 * gst/gstindex.c: (gst_index_class_init):
1731 * gst/gstobject.c: (gst_object_class_init):
1732 * gst/gstpad.c: (gst_pad_class_init):
1733 * gst/gstpipeline.c: (gst_pipeline_class_init):
1734 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1735 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1736 * libs/gst/base/gstbasetransform.c:
1737 (gst_base_transform_class_init):
1738 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1739 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1740 (_gst_check_fault_handler_sighandler),
1741 (_gst_check_fault_handler_setup), (gst_check_init):
1742 * libs/gst/controller/gstcontroller.c:
1743 (_gst_controller_class_init):
1744 * libs/gst/controller/gstlfocontrolsource.c:
1745 (gst_lfo_control_source_class_init):
1746 * libs/gst/net/gstnetclientclock.c:
1747 (gst_net_client_clock_class_init):
1748 * libs/gst/net/gstnettimeprovider.c:
1749 (gst_net_time_provider_class_init):
1750 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1751 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1752 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1753 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1754 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1755 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1756 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1757 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1758 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1759 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1760 * plugins/elements/gsttee.c: (gst_tee_class_init):
1761 * plugins/elements/gsttypefindelement.c:
1762 (gst_type_find_element_class_init):
1763 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1764 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1765 use it everywhere for GParamSpecs that use static strings (i.e. all).
1766 This gives us less memory usage, fewer allocations and thus less
1767 memory defragmentation. Fixes bug #523806.
1769 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1771 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1772 (gst_param_spec_mini_object):
1773 * gst/gstminiobject.h:
1774 * win32/common/libgstreamer.def:
1775 * docs/gst/gstreamer-sections.txt:
1776 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1777 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1778 GstParamSpecMiniObject into a public header for this.
1780 This make GstMiniObject a bit more consistent with GObject and makes
1781 it possible to extend the param specs.
1783 gst_value_dup_mini_object is mainly useful for set_property methods.
1787 * tools/gst-inspect.c: (print_element_properties_info):
1788 Print something useful for GstMiniObject properties and not just
1791 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1793 * docs/gst/gstreamer-sections.txt:
1794 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1795 (gst_registry_binary_check_magic):
1796 * gst/gstregistrybinary.h:
1797 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1798 and add it to the (private part) of the docs to fix the build.
1800 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1802 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1803 (gst_registry_binary_check_magic),
1804 (gst_registry_binary_read_cache):
1805 * gst/gstregistrybinary.h:
1806 Don't use GST_MAJORMINOR for the binary registry version. Instead
1807 hardcode a value that must be changed whenever the format changes
1808 in an incompatible way.
1809 Also don't GST_ERROR when there is a version mismatch, just
1810 regenerate the registry silently.
1812 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1815 Back to development - 0.10.18.1
1817 === release 0.10.18 ===
1819 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1822 releasing 0.10.18, "So far away"
1824 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1827 * win32/common/config.h:
1828 0.10.17.4 pre-release
1830 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1832 Patch by: Ole André Vadla Ravnås
1833 <ole dot andre dot ravnas at tandberg dot com>
1835 * docs/gst/gstreamer-sections.txt:
1836 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1837 (gst_poll_update_winsock_event_mask),
1838 (gst_poll_prepare_winsock_active_sets),
1839 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1840 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1841 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1842 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1843 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1845 * win32/common/libgstreamer.def:
1846 Add new function gst_poll_fd_ignored() for improved Windows
1848 Various minor fixes and cleanups. See #520808.
1850 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1852 * gst/gstindex.c: (gst_index_entry_free):
1854 Don't free key strings which we don't own. Fixes crash in
1855 gst_index_entry_free() (#522741).
1857 * tests/check/Makefile.am:
1858 * tests/check/gst/.cvsignore:
1859 * tests/check/gst/gstindex.c: (test_index_entries),
1860 (gst_index_suite), (gst_index):
1861 Add unit test for the above.
1863 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1865 * win32/common/libgstreamer.def:
1866 Remove symbols that were removed recently. Fixes bug #521740.
1868 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1871 * win32/common/config.h:
1872 0.10.17.3 pre-release
1874 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1876 Patch by: Ole André Vadla Ravnås
1877 <ole dot andre dot ravnas at tandberg dot com>
1879 * docs/gst/gstreamer-sections.txt:
1880 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1881 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1882 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1883 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1884 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1885 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1886 (gst_poll_fd_can_write), (gst_poll_wait),
1887 (gst_poll_set_controllable), (gst_poll_restart),
1888 (gst_poll_set_flushing):
1890 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1891 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1892 (gst_net_time_provider_new):
1893 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1894 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1895 * tests/benchmarks/gstpollstress.c: (main):
1896 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1897 Remove GstPollMode from the API, it does not make sense to let the
1898 application control this.
1899 Add support for Win32.
1900 Fix the testsuite. Fixes #520671.
1902 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1904 Patch by: Ole André Vadla Ravnås
1905 <ole dot andre dot ravnas at tandberg dot com>
1907 * gst/gstregistrybinary.c:
1908 Include io.h for write() and close() when building with MSVC. Fixes
1911 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1914 * gst/gst_private.h:
1915 * gst/gstconfig.h.in:
1916 * gst/gstregistry.h:
1917 * gst/gstregistrybinary.c:
1918 * win32/common/gstconfig.h:
1919 Move registry backend API to private headers where we can. Add
1920 fixme-0.11 comments for the others. Add stubs for the xml backend when
1921 using the binary to ensure they functions exists (they should not be
1922 used though). Fixes #520756.
1924 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1927 * win32/common/config.h:
1930 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1932 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1933 (gst_registry_binary_read_cache):
1934 * gst/gstregistryxml.c: (gst_registry_save):
1935 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1936 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1937 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1938 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1939 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1942 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1944 * gst/gstminiobject.c:
1945 Import gst_private.h before any other header that might include other
1946 glib headers. This fixes the build on windows using native compilers.
1948 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1950 * win32/common/gstconfig.h:
1951 Add here too, just for completeness.
1953 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1956 * gst/gstconfig.h.in:
1957 * gst/gstregistry.h:
1958 Fix broken use of config.h-defined preprocessor directive in a public
1959 header file. Add a corresponding define to gstconfig.h, since we can't
1960 really remove those function declarations from the header file now
1961 (or can we? and why are they there in the first place?).
1963 2008-03-03 Andy Wingo <wingo@pobox.com>
1965 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1968 * gst/gststructure.c (gst_structure_from_string): Warn if
1969 structure_from_string didn't consume the whole string, but the
1970 caller did not provide an end pointer.
1972 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
1974 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1976 * gst/gstregistryxml.c: (read_string), (load_feature):
1977 Strings allocated by libxml2 should be freed with xmlFree(), not
1978 with g_free(). Fixes issues on windows in certain contexts (#519698).
1980 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
1982 * gst/gstinterface.c: (gst_element_implements_interface):
1983 Don't crash if the element supports the interface queried, but does
1984 not implement GstImplementsInterface. Fixes #519584.
1986 * tests/check/Makefile.am:
1987 * tests/check/gst/.cvsignore:
1988 * tests/check/gst/gstinterface.c:
1989 Add unit test for the above.
1991 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1993 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1996 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1998 * gst/gstsegment.c: (gst_segment_set_seek),
1999 (gst_segment_to_stream_time):
2000 Improve some comment.
2001 Update variables where it makes more sense.
2003 2008-02-29 Rene Stadler <mail@renestadler.de>
2005 * gst/gsturi.c: (gst_uri_handler_get_protocols):
2006 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
2007 URIHandlers implemented using language bindings.
2009 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2011 * gst/gstelementfactory.h:
2012 * tests/check/elements/fakesink.c:
2013 * tests/check/elements/fakesrc.c: (setup_fakesrc):
2014 * tests/check/elements/fdsrc.c: (setup_fdsrc):
2015 * tests/check/elements/filesink.c: (setup_filesink):
2016 * tests/check/elements/filesrc.c: (setup_filesrc):
2017 * tests/check/elements/identity.c: (setup_identity):
2018 * tests/check/elements/tee.c:
2019 * tests/check/generic/sinks.c:
2020 * tests/check/generic/states.c: (setup), (teardown):
2021 * tests/check/gst/gst.c:
2022 * tests/check/gst/gstabi.c:
2023 * tests/check/gst/gstbin.c:
2024 * tests/check/gst/gstbus.c: (pull_messages):
2025 * tests/check/gst/gstcaps.c:
2026 * tests/check/gst/gstelement.c:
2027 * tests/check/gst/gstevent.c:
2028 * tests/check/gst/gstghostpad.c:
2029 * tests/check/gst/gstiterator.c:
2030 * tests/check/gst/gstmessage.c:
2031 * tests/check/gst/gstminiobject.c: (my_foo_init):
2032 * tests/check/gst/gstobject.c: (thread_name_object),
2034 * tests/check/gst/gstpad.c:
2035 * tests/check/gst/gstplugin.c:
2036 * tests/check/gst/gstpoll.c:
2037 * tests/check/gst/gstquery.c:
2038 * tests/check/gst/gstsegment.c:
2039 * tests/check/gst/gststructure.c:
2040 * tests/check/gst/gstsystemclock.c:
2041 * tests/check/gst/gsttask.c:
2042 * tests/check/gst/gstutils.c:
2043 * tests/check/gst/gstvalue.c:
2044 * tests/check/gst/struct_hppa.h:
2045 * tests/check/gst/struct_i386.h:
2046 * tests/check/gst/struct_ppc32.h:
2047 * tests/check/gst/struct_ppc64.h:
2048 * tests/check/gst/struct_x86_64.h:
2049 * tests/check/libs/adapter.c: (create_and_fill_adapter):
2050 * tests/check/libs/basesrc.c:
2051 * tests/check/libs/controller.c: (GST_START_TEST):
2052 * tests/check/libs/gdp.c:
2053 * tests/check/libs/gstnetclientclock.c:
2054 * tests/check/libs/gstnettimeprovider.c:
2055 * tests/check/libs/libsabi.c:
2056 * tests/check/libs/struct_hppa.h:
2057 * tests/check/libs/struct_i386.h:
2058 * tests/check/libs/struct_ppc32.h:
2059 * tests/check/libs/struct_ppc64.h:
2060 * tests/check/libs/struct_x86_64.h:
2061 * tests/check/pipelines/cleanup.c:
2062 * tests/check/pipelines/simple-launch-lines.c:
2063 * tests/check/pipelines/stress.c:
2064 And correct even more valid sparse warnings.
2066 * win32/common/libgstreamer.def:
2067 Add gst_poll_fd_init to the list of symbols.
2069 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2071 * gst/gstconfig.h.in:
2072 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
2073 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
2074 (gst_check_log_critical_func), (gst_check_drop_buffers),
2075 (gst_check_element_push_buffer_list):
2076 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
2077 (gst_controller_get_type):
2078 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
2079 (gst_object_get_controller), (gst_object_get_control_source):
2080 * libs/gst/controller/gstinterpolationcontrolsource.c:
2081 (gst_interpolation_control_source_new):
2082 * libs/gst/controller/gstlfocontrolsource.c:
2083 (gst_lfo_control_source_new):
2084 * libs/gst/dataprotocol/dataprotocol.c:
2085 (gst_dp_event_from_packet_0_2):
2086 * plugins/elements/gstfdsrc.c:
2087 * plugins/elements/gstmultiqueue.c:
2088 * plugins/elements/gsttee.c:
2089 * plugins/elements/gsttypefindelement.c:
2090 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2091 (gst_file_index_add_association):
2092 * plugins/indexers/gstmemindex.c:
2093 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2094 * tests/check/elements/queue.c: (setup_queue):
2095 * tests/check/gst/gstpipeline.c:
2096 * tests/check/libs/collectpads.c: (setup), (teardown),
2097 (gst_collect_pads_suite):
2098 * tests/examples/adapter/adapter_test.c:
2099 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2100 * tests/examples/xml/createxml.c:
2101 * tests/examples/xml/runxml.c:
2102 * tools/gst-inspect.c:
2104 Correct all relevant warnings found by the sparse semantic code
2105 analyzer. This include marking several symbols static, using
2106 NULL instead of 0 for pointers, not using variable sized arrays
2107 on the stack, moving variable declarations to the beginning of
2108 a block and using "foo (void)" instead of "foo ()" for declarations.
2110 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2112 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2113 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2114 Don't reset GstPollFDs, this is not necessary at all.
2116 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2117 (delayed_restart), (delayed_control):
2118 Use GST_POLL_FD_INIT.
2120 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2122 * gst/gstpoll.c: (gst_poll_fd_init):
2126 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2127 Use some more init macros.
2129 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2131 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2132 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2133 Use init macros and functions.
2135 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2137 * docs/gst/gstreamer-sections.txt:
2138 * gst/gstpoll.c: (gst_poll_fd_init):
2140 Add INIT macro and _init method for initializing the GstPollFD.
2142 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2144 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2145 (gst_fd_sink_update_fd):
2146 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2147 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2148 (delayed_restart), (delayed_control):
2149 Initialize some uninitialized variables as spotted by valgrind.
2151 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2153 * tests/benchmarks/Makefile.am:
2154 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2156 Add poll stress test.
2158 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2160 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2162 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2163 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2164 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2165 * plugins/elements/gstfdsink.h:
2166 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2167 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2168 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2169 (gst_fd_src_uri_set_uri):
2170 * plugins/elements/gstfdsrc.h:
2171 Port to GstPoll. See #505417.
2173 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2175 * win32/common/libgstreamer.def:
2176 Add new gst_poll_ symbols to win32 defs.
2178 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2180 * docs/libs/gstreamer-libs-sections.txt:
2181 * libs/gst/net/gstnetclientclock.c:
2182 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2183 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2184 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2185 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2186 * libs/gst/net/gstnetclientclock.h:
2187 * libs/gst/net/gstnettimeprovider.c:
2188 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2189 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2190 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2191 (gst_net_time_provider_new):
2192 * libs/gst/net/gstnettimeprovider.h:
2193 Use a private stuct to not break ABI.
2195 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2197 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2199 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2200 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2201 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2202 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2203 * libs/gst/net/gstnetclientclock.h:
2204 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2205 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2206 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2207 (gst_net_time_provider_new):
2208 * libs/gst/net/gstnettimeprovider.h:
2209 Massive code removal and cleanups because of GstPoll.
2212 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2215 Add checks for poll, ppoll and pselect.
2217 * docs/gst/gstreamer-docs.sgml:
2218 * docs/gst/gstreamer-sections.txt:
2219 Add docs for GstPoll.
2223 * gst/gstpoll.c: (find_index), (selectable_fds),
2224 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2225 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2226 (gst_poll_set_mode), (gst_poll_get_mode),
2227 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2228 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2229 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2230 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2231 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2232 (gst_poll_fd_can_write), (gst_poll_wait),
2233 (gst_poll_set_controllable), (gst_poll_restart),
2234 (gst_poll_set_flushing):
2236 Add generic poll abstraction. We ideally don't want to have this in core
2237 here but in glib intead...
2238 This code will be used in various network elements and ultimately for
2239 the nanosecond precision monotonic clock (that's why it's here in core).
2240 It'll allow us to implement cancelable socket operations for windows too.
2242 * tests/check/Makefile.am:
2243 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2244 (delayed_stop), (delayed_restart), (delayed_flush),
2245 (delayed_control), (gst_poll_suite):
2246 Add GstPoll unit test.
2248 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2251 Improve documentation of gst_filter_run(). Fixes #518627.
2253 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2256 Add a few lines about the new 'check-inspected-versions' target.
2258 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2260 * tests/check/gst/gstevent.c:
2261 Add qos to the event test. Rename tcase/tsuite; is not only about
2264 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2266 * plugins/elements/gstqueue.c:
2267 Ensure that buffer metadata is writeable, before modifying. Spotted by
2270 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2272 * plugins/elements/gstqueue.c:
2273 * plugins/elements/gstqueue.h:
2274 When dropping buffers in leaky modes, mark next buffers we sent as
2277 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2279 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2280 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2282 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2284 * plugins/elements/Makefile.am:
2285 * plugins/elements/gstbufferstore.c:
2286 * plugins/elements/gstbufferstore.h:
2287 * plugins/elements/gsttypefindelement.h:
2288 Remove GstBufferStore, no idea why we were still building it.
2289 It's not used anywhere and superseded by GstAdapter.
2291 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2292 (gst_file_src_create_mmap):
2293 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2294 Printf format fixes for 64-bit integers.
2296 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2299 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2300 We're not in 0.8 times anymore.
2302 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2304 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2305 (gst_check_element_push_buffer_list):
2306 * libs/gst/check/gstcheck.h:
2307 Make the declaration in the header for
2308 gst_check_element_push_buffer_list match the implementation.
2310 Fix up spelling, grammar and wording of the documentation in a few
2311 places, and add the Since keyword to new API functions.
2312 Use g_list_delete_link instead of g_list_remove in
2313 gst_check_drop_buffers, since it's immeasurably more efficient.
2315 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2316 Use new gst_check_drop_buffers function where appropriate.
2318 * win32/common/libgstbase.def:
2319 * win32/common/libgstreamer.def:
2320 Add new symbols gst_collect_pads_take_buffer,
2321 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2324 Changelog surgery to add API keyword to new gst_check API.
2326 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2328 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2329 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2330 Update pre-generated flex files with flex 2.3.34.
2332 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2334 * gst/gstminiobject.c:
2335 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2336 friendly to subclasses and not require them to know all internals
2337 of their parent class.
2339 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2341 * docs/libs/gstreamer-libs-sections.txt:
2342 * libs/gst/base/gstcollectpads.c:
2343 * libs/gst/base/gstcollectpads.h:
2344 Add sub-buffer functions to collectpads. Fixes #516187.
2345 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2347 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2350 Copy selected buffer-flags when creating subbuffers.
2353 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2355 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2356 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2357 * gst/gstmessage.c: (gst_message_class_init),
2358 (gst_message_finalize):
2359 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2360 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2361 (gst_mmap_buffer_finalize):
2362 Properly chain up finalize functions to the parent class.
2364 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2366 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2368 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2369 (gst_index_set_resolver_full):
2371 Add new function with option to dispose of user_data in resolver.
2372 Actually call the dispose function when finalizing the object and not
2373 just when changing the resolver/filter.
2374 API: GstIndex::gst_index_set_resolver_full()
2376 * docs/gst/gstreamer-sections.txt:
2377 Add new function to docs. Fixes #515469.
2379 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2381 * gst/gstindex.c: (gst_index_finalize):
2382 Chain up finalize to the parent class. Fixes leaking the GstObject
2383 name and other things.
2385 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2388 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2389 pre-releases or releases.
2391 * docs/faq/gst-uninstalled:
2394 * docs/random/release:
2395 Change one of the steps - we only upload core & base to Gnome FTP
2397 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2399 * gst/gstconfig.h.in:
2400 Add 'id' for example.
2404 * plugins/elements/gstfdsink.c:
2405 Link to signals. Doc and comment fixes.
2407 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2409 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2410 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2411 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2412 unused and unimplemented; finally, it is plugin features, not
2413 plugins, that have ranks.
2415 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2417 * gst/gstpluginfeature.h:
2418 Clarify GstRank range docs.
2420 2008-02-05 David Schleef <ds@schleef.org>
2422 * gst/gst.c: Add a separate gst_deinitialized that prevents
2423 gst_init() from being called after gst_deinit(). Fixes #509559
2425 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2427 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2428 (gst_bin_class_init):
2429 * gst/gstelement.c: (gst_element_base_class_init),
2430 (gst_element_class_add_pad_template):
2431 * gst/gstpadtemplate.c: (gst_pad_template_init):
2432 * gst/gstpipeline.c: (gst_pipeline_get_type),
2433 (gst_pipeline_base_init), (gst_pipeline_class_init):
2434 * libs/gst/base/gstbasesink.c:
2435 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2436 (gst_base_src_base_init), (gst_base_src_class_init):
2437 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2438 (gst_capsfilter_class_init):
2439 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2440 (gst_fake_sink_class_init):
2441 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2442 (gst_fake_src_class_init):
2443 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2444 (gst_fd_sink_class_init):
2445 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2446 (gst_fd_src_class_init):
2447 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2448 (gst_file_sink_class_init):
2449 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2450 (gst_file_src_class_init):
2451 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2452 (gst_identity_class_init):
2453 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2454 (gst_multi_queue_class_init):
2455 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2456 (gst_queue_class_init):
2457 * plugins/elements/gsttee.c: (gst_tee_base_init),
2458 (gst_tee_class_init):
2459 * plugins/elements/gsttypefindelement.c:
2460 (gst_type_find_element_base_init),
2461 (gst_type_find_element_class_init):
2462 * tests/check/gst/gstelement.c: (gst_element_suite):
2463 Revert previous changes to the behaviour of GstPadTemplates, etc
2464 and the possiblity to call them in class_init as it breaks too
2465 many elements. Reopens bug #491501.
2467 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2470 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2472 * tools/gst-launch.c:
2473 Dump one graph per pipeline state-change and state change name
2474 (if GST_DEBUG_DUMP_DOT_DIR is set).
2476 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2479 * tests/check/gst/gstpad.c:
2480 Be sure that we have a new copy of the caps and not
2481 reffed caps from a template
2483 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2485 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2486 * gst/gstpipeline.c: (gst_pipeline_get_type),
2487 (gst_pipeline_class_init):
2488 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2489 (gst_base_sink_class_init):
2490 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2491 (gst_base_src_class_init):
2492 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2493 (gst_base_transform_class_init):
2494 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2495 (gst_collect_pads_class_init):
2496 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2497 * libs/gst/net/gstnettimeprovider.c:
2498 (gst_net_time_provider_base_init),
2499 (gst_net_time_provider_class_init):
2500 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2501 (gst_capsfilter_class_init):
2502 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2503 (gst_fake_sink_class_init):
2504 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2505 (gst_fake_src_class_init):
2506 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2507 (gst_fd_sink_class_init):
2508 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2509 (gst_fd_src_class_init):
2510 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2511 (gst_file_sink_class_init):
2512 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2513 (gst_file_src_class_init):
2514 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2515 (gst_identity_class_init):
2516 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2517 (gst_multi_queue_class_init):
2518 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2519 (gst_queue_class_init):
2520 * plugins/elements/gsttee.c: (gst_tee_base_init),
2521 (gst_tee_class_init):
2522 * plugins/elements/gsttypefindelement.c:
2523 (gst_type_find_element_base_init),
2524 (gst_type_find_element_class_init):
2525 Don't use base_init where not absolutely necessary. For example it's
2526 not necessary anymore for adding pad templates or setting element
2529 Leave empty base_init functions in several places as GST_BOILERPLATE
2530 still defines and uses them.
2532 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2534 * gst/gstelement.c: (gst_element_base_class_init),
2535 (gst_element_class_add_pad_template):
2536 * gst/gstpadtemplate.c:
2537 Make it possible (and recommended) to set element details and add
2538 pad templates in the class_init functions by copying the details/pad
2539 templates in GstElement's base_init.
2541 Also make it possible to replace existing pad templates by adding
2542 a new one with the same name. This was done in a hackish fashion
2543 in same elements before already.
2545 Don't reference pad templates that are added a second time. A
2546 new pad template has a refcount of one and is not floating anymore
2547 and to be owned by the element's class. Make this more explicit by
2548 mentioning it in the docs of gst_element_class_add_pad_template().
2550 These changes are backwards compatible. Fixes bug #491501.
2552 * tests/check/gst/gstelement.c:
2553 Add unit test for setting element details, adding pad templates and
2554 replacing them in a subclass.
2556 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2558 * tools/gst-inspect.c: (print_interfaces),
2559 (print_element_properties_info), (print_pad_info),
2560 (print_signal_info), (print_element_info):
2561 Fix a few memory leaks.
2563 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2565 * docs/libs/gstreamer-libs-sections.txt:
2566 * libs/gst/check/gstcheck.c:
2567 * libs/gst/check/gstcheck.h:
2568 Add more functions for unit testing: gst_check_drop_buffers,
2569 gst_check_caps_equal, gst_check_element_push_buffer_list,
2570 gst_check_element_push_buffer
2571 API: gst_check_drop_buffers
2572 API: gst_check_caps_equal
2573 API: gst_check_element_push_buffer_list
2574 API: gst_check_element_push_buffer
2576 2008-02-01 Julien Moutte <julien@fluendo.com>
2578 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2579 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2580 (gst_index_finalize), (gst_index_entry_free),
2581 (gst_index_add_association): Fix memory leaks.
2582 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2583 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2584 (gst_mem_index_free_format), (gst_mem_index_free_id),
2585 (gst_mem_index_finalize): Fix memory leaks.
2586 * win32/common/config.h: Updated to CVS HEAD.
2588 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2591 Some more details about how the plugin docs works.
2593 * docs/plugins/gstreamer-plugins-sections.txt:
2596 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2598 * gst/parse/grammar.tab.pre.c:
2599 * gst/parse/grammar.tab.pre.h:
2600 * gst/parse/grammar.y:
2601 * gst/parse/lex._gst_parse_yy.pre.c:
2602 Add delayed set-property. This allows to set properties on dynamicaly
2603 created objects (pads in videomxer). Fixes #509391.
2605 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2608 Check if caps are not NULL (fix bug #510194)
2610 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2612 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2613 (gst_base_sink_get_position_paused):
2614 Add fixme regarding EOS in pull mode.
2615 Fix position reporting in PAUSED for negative rates.
2617 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2619 * gst/gstminiobject.c: (gst_mini_object_replace):
2620 When replacing a miniobject, do a quick equality check first so that we
2621 can avoid a ref/unref pair.
2623 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2625 * docs/design/part-synchronisation.txt:
2628 * docs/plugins/Makefile.am:
2629 * docs/plugins/gstreamer-plugins-docs.sgml:
2630 * docs/plugins/gstreamer-plugins-sections.txt:
2631 * plugins/elements/gstmultiqueue.c:
2632 Add multiqueue to the docs.
2634 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2639 === release 0.10.17 ===
2641 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2644 releasing 0.10.17, "Due Negligence"
2646 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2649 Revert caps != NULL check temporarily for 0.10.17 release.
2651 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2654 Check if caps are not NULL (fix bug #510194)
2656 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2659 Fix compilation on systems that have posix timers but no
2662 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2665 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2667 * tools/gst-inspect.c:
2668 Revert previous commit in preparation for an impromptu 0.10.17 release
2670 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2672 * tools/gst-inspect.c: (print_interfaces),
2673 (print_element_properties_info), (print_pad_info),
2674 (print_signal_info), (print_element_info):
2675 Fix a few memory leaks.
2677 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2682 === release 0.10.16 ===
2684 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2687 releasing 0.10.16, "Special Dispensation"
2689 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2692 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2693 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2694 not fail when trying to crosscompile on OpenEmbedded (#511750).
2696 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2699 Use $(MAKE) instead of make to fix the build if GNU make is
2700 called different. Fixes bug #510747.
2702 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2704 * gst/gstplugin.c: (_gst_plugin_initialize):
2705 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2706 again, which I broke two commits ago when changing the API
2707 of gst_plugin_register_static(): the g_list_foreach() in
2708 _gst_plugin_register_static still assumed the old function
2709 signature and would therefore fail (re-fixes #510187).
2711 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2712 (_gst_plugin_register_static), (gst_plugin_register_static):
2713 Revert the (technically correct) change to call g_thread_init() from
2714 the pre-main() constructor. This will break programs which call
2715 g_thread_init() without an if (!g_thread_supported()) guard in their
2716 main function. We could just blame it on GLib or the application, but
2717 it's probably best to just avoid this altogether and simply not use
2718 any GLib functions here and use plain old malloc() with a simple
2719 array to store the plugins to register later when gst_init() is
2720 finally called (re-fixes #510187).
2722 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2723 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2724 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2725 (GST_START_TEST), (gst_plugin_suite):
2726 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2729 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2731 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2732 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2733 This makes gtk-doc complain, but results in slightly better
2734 compiler errors. The old _gst_plugin_register_static() is
2735 still guarded, so there'll be a compiler warning about that
2736 instead. Fixes #510187 too.
2738 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2740 * gst/gst.c: (init_post):
2741 * gst/gstplugin.c: (_gst_plugin_register_static),
2742 (gst_plugin_register_static), (_gst_plugin_initialize):
2743 * gst/gstplugin.h: (GstPluginFilter):
2744 Change API of gst_plugin_register_static() to not take
2745 a GstPluginDesc, but rather just take all the arguments
2746 in a GstPluginDesc directly. This is more intuitive and
2747 avoids certain mistakes when porting code from
2748 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2751 * tests/check/gst/gstplugin.c:
2752 Fix up for changed API.
2754 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2756 * docs/faq/legal.xml:
2757 Update FAQ, Totem actually has an exception these days.
2759 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2761 * win32/common/libgstreamer.def:
2762 Add new API declarations
2764 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2766 * gst/gstminiobject.c:
2767 Spelling fixes for the API docs.
2769 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2771 * libs/gst/base/gstbasetransform.c:
2772 Fix long property description for QoS.
2774 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2777 _gst_trace_on is already provided by gsttrace.h, no need to declare
2780 * docs/libs/gstreamer-libs-sections.txt:
2781 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2782 and remove strange tcase_add_test which is outputting a warning.
2784 * libs/gst/check/gstcheck.c:
2785 * libs/gst/check/gstcheck.h:
2786 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2787 and define them in gstcheck.c instead of having every .c file whcih
2788 includes gstcheck.h be defining its own copy and relying on symbol
2789 interposing to marry them all, which doesn't work on Solaris.
2791 * tests/check/elements/identity.c: (GST_START_TEST):
2792 Don't define 'buffers' locally, it comes from libgstcheck.
2794 * tests/check/generic/sinks.c: (send_buffer):
2795 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2797 * tests/check/gst/gststructure.c: (GST_START_TEST):
2798 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2799 * tests/check/gst/gstutils.c: (GST_START_TEST):
2800 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2801 Add a bunch of casts to make various constants fit the types
2802 they're being assigned to.
2804 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2806 * gst/gstchildproxy.c:
2807 Improve docs and add some ideas for making this more general-purpose.
2809 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2811 * gst/gst_private.h: (GST_CAT_TYPES):
2812 Add GST_CAT_TYPES, for consistency, and so that the other
2813 debug categories don't make fun of it. Spotted by Saur on IRC.
2815 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2817 * gst/parse/Makefile.am:
2818 Move types.h from EXTRA_DIST to noinst_HEADERS.
2820 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2823 Add -Wno-portability to the automake parameters to stop warnings
2824 about GNU make extensions being used. We require GNU make in almost
2825 every Makefile anyway.
2828 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2829 at the same time is required for per target flags.
2831 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2834 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2835 __GNUC__ is defined before using it.
2837 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2839 * docs/gst/gstreamer-sections.txt:
2840 * gst/gst.c: (init_post):
2841 * gst/gstplugin.c: (_gst_plugin_register_static),
2842 (gst_plugin_register_static), (_gst_plugin_initialize),
2843 (gst_plugin_register_func):
2844 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2845 API: add gst_plugin_register_static() and deprecate
2846 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2848 Also, in _gst_plugin_register_static(), make sure to call
2849 g_thread_init() before calling GLib functions such as
2850 g_list_append() if we're not initialised yet, since that
2851 may lead to random crashes with older GSlice/GLib versions.
2853 * tests/check/gst/gstplugin.c:
2854 Adapt unit test to above changes.
2856 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2858 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2859 * gst/gstcaps.c: (gst_caps_to_string):
2860 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2861 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2862 Yet another gratuitous GString micro-optimisation: add a (private)
2863 function that serialises a structure appending to an existing
2864 GString, so that when we serialise caps we don't need to alloc+free
2865 a throwaway GString for each structure (each of which also entailing
2866 multiple reallocs on the way); also use g_string_sized_new() in
2867 various places with an approximate string length to avoid reallocs
2868 within GString. See #500143.
2870 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2872 * gst/gststructure.c: (gst_structure_id_set_value):
2873 Always check UTF-8 conformance of structure strings and not only
2874 if the debugging system is enabled; reasoning: the behaviour of
2875 the actual code shouldn't really change depending on whether the
2876 debugging system is enabled or not (#508291).
2878 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2881 Remove old coverage target in favour of "make lcov".
2883 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2885 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2886 (gst_base_src_loop):
2887 The start segment for reverse playback goes from start to last_stop.
2889 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2891 Patch by: Peter Kjellerstedt <pkj axis com>
2894 Cast the results from the timeval/spec_to_time macros to what the
2895 docs say it casts to, a GstClockTime. fixes #508175.
2897 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2900 Update some comments.
2902 * tools/gst-inspect.c: (print_element_properties_info):
2903 Improve printing of flags.
2905 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2907 * libs/gst/base/gstbasetransform.c:
2908 (gst_base_transform_transform_size):
2909 Print element name with g_warning() if there's a problem
2912 2008-01-07 David Schleef <ds@schleef.org>
2914 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2916 * libs/gst/controller/gstcontroller.h:
2917 * libs/gst/controller/gstcontrolsource.h:
2918 * libs/gst/controller/gstinterpolationcontrolsource.h:
2919 * libs/gst/controller/gstlfocontrolsource.h:
2920 * libs/gst/dataprotocol/dataprotocol.h:
2921 Fix empty prototypes. Fixes bug #507957.
2923 2008-01-07 David Schleef <ds@schleef.org>
2925 * docs/faq/dependencies.xml: Fix typo.
2927 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2929 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2930 (gst_base_src_loop):
2931 Don't update the last_stop position in do_seek, that's the position we
2933 Read backwards when we have a negative rate.
2935 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2936 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2938 Add check for reverse reading.
2940 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2942 Patch by: Alexis Ballier <aballier at gentoo org>
2944 * tests/check/gst/gstabi.c:
2945 * tests/check/gst/struct_ppc64.h:
2946 * tests/check/libs/libsabi.c:
2947 * tests/check/libs/struct_ppc64.h:
2948 Decide which header to include based on the userland ABI target
2949 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2950 for 64-bit userland (#503590). Might need something similar for
2953 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2955 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2956 Log the reason why fopen fails in addition to the fact that it failed.
2958 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2960 * gst/parse/parse.l:
2961 Use "%option never-interactive" to prevent useless calls to isatty()
2962 on every input when parsing. Also use "%option noinput" to not define
2963 the static input/yyinput functions which we don't use anyway. This
2964 removes a compiler warning with gcc 4.3 and saves some bytes in the
2967 * gst/parse/lex._gst_parse_yy.pre.c:
2968 Regenerated for the above change.
2970 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2972 * gst/gstpad.c: (fixate_value):
2973 Don't crash when trying to fixate and empty list.
2976 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
2978 * docs/faq/gst-uninstalled:
2979 Clarify the comments to make the usage of this script and what it
2980 does easier to understand.
2982 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
2984 * tools/gst-plot-timeline.py:
2985 Add more options to gst-plot-timeline
2987 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
2989 * docs/design/part-synchronisation.txt:
2990 Some more info on how the stream_time in GstBaseSink is done.
2992 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
2994 * tests/check/generic/sinks.c: (gst_sinks_suite):
2995 Put back the tcase_set_timeout(), apparently it's needed after
2996 all; fix it up in a way that makes things work with valgrind too.
2998 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
3000 * gst/gstdebugutils.c:
3001 Add warning when failed to open file for writing.
3003 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3005 Based on patch by: Laurent Glayal <spglegle yahoo fr>
3007 * gst/gstvalue.c: (gst_value_is_fixed):
3008 Optimisation: bail out of the loop as early as possible (#500143).
3010 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3012 * gst/gstcaps.c: (gst_caps_to_string):
3013 * gst/gstinfo.c: (gst_debug_construct_term_color):
3014 * gst/gstparse.c: (gst_parse_launchv):
3015 * gst/gstutils.c: (gst_util_dump_mem):
3016 * gst/gstvalue.c: (gst_value_serialize_any_list),
3017 (gst_value_transform_any_list_string):
3018 Bunch of gratuitous nano-optimisations.
3020 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
3022 * tests/check/generic/sinks.c: (async_done_func),
3023 (async_done_eos_func):
3024 Fix leak in unit test (bus sync handler must unref the message
3025 if it returns GST_BUS_DROP). Don't fiddle with the default test
3026 timeout, this is smaller than the current preconfigured value
3027 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
3028 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
3030 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3032 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3035 Check for stdio_ext.h for the filesink changes.
3037 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
3038 (gst_file_sink_class_init), (gst_file_sink_init),
3039 (gst_file_sink_dispose), (gst_file_sink_set_property),
3040 (gst_file_sink_get_property), (gst_file_sink_open_file),
3041 (gst_file_sink_close_file):
3042 * plugins/elements/gstfilesink.h:
3043 Add two properties to control the buffering mode and size.
3044 API: GstFileSink::buffer-mode
3045 API: GstFileSink::buffer-size
3048 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
3050 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
3051 Add some more docs to explain why a FIXME was wrongly added.
3053 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
3056 Fix typo in the gst_object_{ref,unref} documentation.
3058 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3060 * tests/check/libs/controller.c:
3061 * tests/check/libs/typefindhelper.c:
3062 * tests/check/pipelines/parse-launch.c:
3063 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
3064 going to be deprecated (see #498924).
3066 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
3068 * gst/gsttypefind.c: (gst_type_find_register):
3069 Make gst_type_find_register work for static typefind functions,
3070 ie. allow passing plugin == NULL (prerequisite for #498924).
3072 * gst/gstelementfactory.c: (gst_element_register):
3073 Small docs addition.
3075 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
3077 * gst/gstpad.c: (gst_pad_dispose):
3078 Really unlink the peer pad instead of setting the peer pointer to NULL
3079 when we dispose the pad.
3080 This correctly calls the unlink functions and makes sure that the peer
3081 does not have a handle to invalid memory. See #504671.
3083 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
3084 Add testsuite for above case.
3086 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
3088 Patch by: Peter Kjellerstedt <pkj axis com>
3090 * libs/gst/check/gstcheck.h:
3091 Fix detection of the check version we're compiling against (would
3092 otherwise break if check goes v0.10.0); correctly report the
3093 name of the failed test again in case of failure, instead of
3094 just 'tf' (fixes #504499).
3096 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3098 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3099 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3100 (gst_base_src_loop), (gst_base_src_set_flushing),
3101 (gst_base_src_change_state):
3102 Allow sending EOS to the source to make it send out an EOS event from
3103 the streaming thread.
3104 Update docs and deprecate the old NULL/READY shutdown method.
3106 * tests/check/libs/basesrc.c: (GST_START_TEST),
3107 (gst_basesrc_suite):
3108 Add unit test for controlled shutdown.
3110 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3112 * docs/design/part-synchronisation.txt:
3115 * gst/gstsegment.c: (gst_segment_set_seek),
3116 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3117 (gst_segment_to_running_time):
3118 The seek format can be different from the segment format when the start
3119 and stop values are not to be updated, when we only do a rate change for
3122 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3123 (gst_segment_suite):
3124 Add a testcase for the rate-only seeks, checking that the format is
3125 correctly ignored when start and stop are not updated.
3127 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3129 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3131 * win32/vs8/grammar.vcproj:
3132 * win32/vs8/libgstcontroller.vcproj:
3133 * win32/vs8/libgstreamer.vcproj:
3134 Fix compilation with VS8 and include some missing files.
3136 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3139 Small docs addition: mention that the strings returned by
3140 gst_tag_list_get_string*() are in UTF-8 encoding.
3142 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3145 The check-exports stuff moved to common/win32.mak, so include that.
3147 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3149 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3150 (gst_base_src_perform_seek), (gst_base_src_get_range),
3151 (gst_base_src_set_playing), (gst_base_src_change_state):
3152 Make _wait_playing() not check any variables so that we can call this
3153 function from subclasses. Move the checks elsewhere similar to
3154 _wait_preroll() in basesink.
3156 Only signal the LIVE cond when we are going back to PLAYING.
3158 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3160 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3161 Use g_remove() and g_rename(). Check result of g_rename(), and
3162 don't leak the open file descriptor if we error out when writing.
3164 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3165 Must check the return value of close() after writing out the new
3166 registry file. Sometimes write problems such as out-of-diskspace
3167 are only reported when the file is closed and not already during
3168 the write. This may have caused partial/broken registry files in
3169 some rare circumstances. Should fix #503675.
3171 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3173 * docs/gst/.cvsignore:
3174 * docs/libs/.cvsignore:
3175 * docs/plugins/.cvsignore:
3176 Ignore files generated by new common/* modifications
3178 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3180 * win32/common/libgstbase.def:
3181 Yes, you can also have a <TAB> if you want.
3183 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3185 * win32/common/libgstbase.def:
3186 Add new basetransform API to win export file.
3188 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3190 * tests/check/gst/gstbin.c:
3191 Adjust the test to the refcount change two days ago.
3193 2007-12-14 David Schleef <ds@schleef.org>
3195 * docs/faq/getting.xml: Fix typo.
3197 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3199 * docs/libs/gstreamer-libs-sections.txt:
3200 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3201 (gst_base_transform_prepare_output_buffer),
3202 (gst_base_transform_set_gap_aware):
3203 * libs/gst/base/gstbasetransform.h:
3204 API: Add gst_base_transform_set_gap_aware() to control whether
3205 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3206 get buffers with this flag at all. Fixes #503231.
3208 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3210 * libs/gst/base/gstbasesink.c:
3211 * libs/gst/base/gstbasesrc.c:
3212 * libs/gst/base/gstbasetransform.c:
3213 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3214 thread. Correct log message in gstbasesrc.c.
3216 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3218 * gst/gstutils.c: (element_find_unconnected_pad):
3219 Fix possible compiler warning (#503417).
3221 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3223 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3224 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3226 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3228 * tools/gst-inspect.c: (print_element_properties_info):
3229 Add support for GstFraction properties.
3231 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3234 Add check-exports target and run it as part of 'make check'
3235 (see #499140 and #493983).
3237 * gst/gst_private.h:
3238 * gst/gstelementfactory.h:
3239 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3240 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3241 (_priv_gst_in_valgrind):
3242 * gst/gstinfo.h: (GstLogFunction):
3243 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3244 (gst_type_find_register):
3245 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3246 (gst_type_find_factory_get_type):
3247 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3248 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3249 (gst_controller_new_valist), (gst_controller_new_list),
3250 (_gst_controller_dispose), (_gst_controller_class_init):
3251 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3252 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3253 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3254 (gst_object_get_controller), (gst_object_set_controller),
3255 (gst_object_suggest_next_sync), (gst_object_sync_values),
3256 (gst_object_set_control_source), (gst_object_get_control_source),
3257 (gst_object_get_value_arrays), (gst_object_get_value_array),
3258 (gst_object_get_control_rate), (gst_object_set_control_rate):
3259 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3260 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3261 Make some functions that should be static static; rename some
3262 private symbols so that they don't get exported; add some FIXME
3263 comments so we can move accidentally exported functions into
3264 our private section in 0.11.
3266 * win32/common/libgstreamer.def:
3267 Add gst_utils_get_timestamp().
3269 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3273 Add more missing "Since:" tags to docs.
3275 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3278 Add mising "Since:" to docs.
3280 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3283 Include "glib-compat-private.h" to fix the build on system with
3284 glib < 2.10. Fixes #503131.
3286 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3290 Actually its not PURE as it gets the time from elsewhere.
3292 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3294 * docs/gst/gstreamer-sections.txt:
3296 * gst/gstdebugutils.c:
3300 * libs/gst/base/gstbasesink.c:
3301 * tools/gst-launch.c:
3302 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3303 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3304 Thanks Tim for spotting.
3305 API: gst_util_get_timestamp
3307 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3310 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3312 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3314 * gst/gststructure.c: (gst_structure_validate_name),
3315 (gst_structure_new_valist), (gst_structure_parse_value),
3316 (gst_structure_from_string):
3317 Don't crash in _from_string() if the structure name is not valid
3318 (fixes #501560). Allow structure names to start with a number
3319 again (this apparently broke the ubuntu codec installer).
3321 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3323 Add unit test for the crash; update unit tests for new behaviour.
3325 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3328 Clarify gst_element_get_compatible_pad() documentation.
3331 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3333 * tests/check/Makefile.am:
3334 Don't forget to dist {gst,libs}/struct_hppa.h.
3336 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3338 * libs/gst/base/gstbasesink.c:
3339 Use new API to get elapsed time.
3341 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3343 * gst/gstdebugutils.c:
3345 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3347 * tools/gst-launch.c:
3348 Use new API to get elapsed time.
3350 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3352 * docs/gst/gstreamer-sections.txt:
3354 * gst/gstdebugutils.c:
3356 Rename new API + ChangeLog surgery to remove old name from last entry..
3358 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3360 * docs/gst/gstreamer-sections.txt:
3362 * gst/gstdebugutils.c:
3364 Now hide the different clock stuff behind a macro.
3366 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3369 * gst/gstdebugutils.c:
3371 Apply the posix-timer check from #361155. Conditionally use the posix
3372 timer for logging. This gives better timestamp precission, less
3373 overhead and no ntp jitter.
3375 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3377 * gst/gstminiobject.c: (gst_mini_object_get_type),
3378 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3379 (gst_mini_object_finalize), (gst_mini_object_copy),
3380 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3381 (gst_mini_object_replace), (param_mini_object_validate),
3382 (gst_param_spec_mini_object_get_type):
3383 Some cleanup and checking against invalid function parameters.
3385 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3387 * docs/gst/gstreamer-sections.txt:
3389 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3390 (gst_systemclock_suite):
3391 Start merging in the easy bits of #361155, the monotonic clock patch.
3392 This one adds a few handy macros with docs and a testsuite.
3394 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3396 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3397 Be a bit smarter when seeking, like, don't try to do a seek when it's
3398 not needed. This avoids errors when the file is not seekable.
3401 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3403 * docs/gst/gstreamer-docs.sgml:
3404 * docs/gst/gstreamer-sections.txt:
3405 * docs/gst/gstreamer.types.in:
3410 * plugins/elements/gstqueue.c:
3411 Due to popular request remove preset interface again. :-(.
3413 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3415 * tools/gst-inspect.c:
3416 Print 'default value' for enums and flags too.
3418 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3420 * docs/random/ensonic/profiling.txt:
3424 Fix typo and give better log output.
3426 * gst/gstdebugutils.c:
3427 * gst/gstdebugutils.h:
3428 More ideas, make graphs a bit smaller and fix param name in macro.
3430 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3433 Try harder to use the return value from fgets().
3435 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3438 For theses two fgets we handle the error below.
3440 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3442 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3443 Only send upstream events upstream. Fixes #498746.
3445 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3447 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3449 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3450 (gst_identity_init), (gst_identity_transform_ip),
3451 (gst_identity_set_property), (gst_identity_get_property):
3452 * plugins/elements/gstidentity.h:
3453 Add property to disable handoff signal emission. Fixes #498694.
3454 API: GstIdentity::signal-handoffs
3456 2007-11-21 Julien Moutte <julien@fluendo.com>
3458 * docs/faq/gst-uninstalled: Yet another missing library for the
3459 uninstalled script (fft)
3461 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3463 * docs/faq/developing.xml:
3464 Add a question about how to submit new translations.
3466 * docs/random/release:
3467 Update the contact email address for the Translation Project
3469 * plugins/elements/gstfdsrc.c:
3470 The parent_class for fdsrc is pushsrc, not GstElement.
3472 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3475 Plug a leak and fix saving.
3477 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3479 * docs/gst/gstreamer-sections.txt:
3480 Add new gst_preset__get_property_names() function to the docs
3483 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3487 Change _get_preset_names API to return a strv with copies. Add
3488 _get_property_names to allow implementations to filter and provide
3489 good default implementation.
3491 2007-11-20 Julien MOUTTE <julien@moutte.net>
3493 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3496 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3499 More cleanups, docs, and TODOs from comments that now slowly come in.
3501 2007-11-19 Julien MOUTTE <julien@moutte.net>
3503 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3506 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3509 Fix bogus warning and make the property type specific code more
3512 2007-11-19 Julien MOUTTE <julien@moutte.net>
3514 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3517 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3519 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3520 (gst_bin_add_func), (gst_bin_remove_func),
3521 (gst_bin_change_state_func), (gst_bin_continue_func):
3522 Change email, cleanups add some more debug and comments.
3523 Also set bus and clock on new elements when the pipeline was in error.
3525 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3528 * gst/gstdebugutils.c:
3529 Fix build with --disable-gst-debug. Fixes #497859.
3530 Spotted by Sameer Naik.
3532 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3535 Little documentation improvment.
3538 More TODO cleanups. Remove c++ comments.
3540 * libs/gst/controller/gstcontroller.c:
3541 Add TODO and use quark from static string.
3543 * tests/check/gst/gstmessage.c:
3544 * tests/check/gst/gststructure.c:
3545 Use quark from static string.
3547 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3550 Add some comments and TODOs.
3553 Add padding for future changes.
3555 * plugins/elements/gstqueue.c:
3556 Implement the iface.
3558 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3560 * docs/gst/gstreamer-docs.sgml:
3561 * docs/gst/gstreamer-sections.txt:
3562 * docs/gst/gstreamer.types.in:
3567 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3569 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3575 === release 0.10.15 ===
3577 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3580 releasing 0.10.15, "October"
3582 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3584 * win32/vs6/libgstreamer.dsp:
3585 Convert line endings back to DOS.
3587 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3589 * docs/design/draft-tagreading.txt:
3590 * docs/random/ensonic/profiling.txt:
3591 Update fast tagreading draft and performance profiling ideas.
3593 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3595 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3596 Don't hold the object lock when unreffing a buffer because it could
3597 cause a deadlock when the finalize function wants to grab the object
3598 lock too. Fixes #495133.
3600 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3602 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3603 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3604 Also accumulate time correctly when doing reverse playback. Fixes
3606 When converting to running and stream time, use default values for
3607 start/stop/time/accum when comparing different formats. Fixes #494245.
3609 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3610 Do running/stream time in TIME format.
3612 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3613 (gst_segment_suite):
3614 2 new unit tests for segment accumulation.
3616 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3618 * gst/gst.c: (init_pre):
3619 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3620 (_gst_debug_bin_to_dot_file):
3621 Move getenv() back into gst_init, so everyone can live happily
3622 ever after. Make sure the symbol isn't exported though.
3624 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3626 Patch by: Sebastien Moutte <sebastien moutte net>
3628 * win32/common/gstenumtypes.c:
3629 * win32/common/gstenumtypes.h:
3632 * win32/vs6/libgstreamer.dsp:
3633 Update vs6 project files (#494343).
3635 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3637 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3638 (gst_base_src_perform_seek), (gst_base_src_default_event),
3639 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3640 (gst_base_src_activate_pull):
3641 Unify flushing code, remove some old unlock code that is no longer used.
3642 Take the streaming lock when seeking to avoid races. Fixes #492729.
3643 Added some more comments.
3645 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3647 * gst/gst.c: (_gst_disable_segtrap):
3648 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3649 we can use gst_segtrap_is_enabled() there now that we have that API.
3650 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3651 to do the getenv here (and export the variable).
3653 * gst/gstdebugutils.c: (debug_dump_element),
3654 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3655 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3657 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3658 (gst_debug_log_default):
3659 Rename _gst_info_start_time to priv_gst_info_start_time so it
3660 doesn't get exported (was never in any header).
3662 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3663 (gst_plugin_loading_mutex):
3664 Make static mutex gst_plugin_loading_mutex really static (was never
3665 in any header), and use gst_segtrap_is_enabled() instead of
3666 _gst_disable_segtrap.
3668 * gst/gsttrace.c: (_gst_trace_default):
3669 Make local _gst_trace_default static (was never in any header).
3671 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3673 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3675 * win32/common/libgstbase.def:
3676 * win32/common/libgstcontroller.def:
3677 * win32/common/libgstdataprotocol.def:
3678 * win32/common/libgstnet.def:
3679 * win32/common/libgstreamer.def:
3680 Add more missing symbols, remove some duplicates, and sort
3681 as the 'sort' command sorts it (partially fixes #493983).
3683 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3685 * gst/gstelement.c: (gst_element_set_state_func):
3686 Only change the state cookie if a different state was set on the
3687 element. See #492729.
3689 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3692 Remove unused and uninitialised type variables that were still
3693 exported for some reason (they were never in any header files
3696 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3698 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3699 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3700 (gst_base_sink_event), (gst_base_sink_get_position_last),
3701 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3702 (gst_base_sink_change_state):
3703 Don't try to report a 0 position when we don't know, return -1 and FALSE
3704 instead. This mostly happens when we are prerolling.
3705 Make sure we can report the right position before we post the ASYNC_DONE
3706 message so that a message handler can query position without races.
3708 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3709 (async_done_handoff), (async_done_func), (send_buffer),
3710 (async_done_eos_func), (gst_sinks_suite):
3711 Add two tests for the above.
3713 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3716 Update with new email address.
3718 * docs/design/part-TODO.txt:
3719 Add some more info about future pad-block and negotiation changes.
3721 * docs/design/part-buffering.txt:
3722 Add some ideas about buffering reporting.
3724 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3726 * tests/check/gst/gstobject.c:
3727 Disable silly racy test that always fails on this combination of CPU
3730 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3732 Patch by: Murray Cumming <murrayc@murrayc.com>
3735 Corrected the registration of the parent-set and parent-unset
3736 signals: The parameter is a GstObject, not a GObject (#493134).
3738 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3740 * gst/gst_private.h:
3749 Move declaration of private _gst_foo_initialize() functions into
3750 our private header file where they should have been all along.
3752 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3754 * docs/plugins/gstreamer-plugins-sections.txt:
3755 * gst/gstdebugutils.h:
3757 * plugins/elements/gstqueue.c:
3758 gtk-doc fixes; trailing-comma-in-enum fix.
3760 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3762 * gst/gst.c: (gst_deinit):
3763 Clean up on deinit (not the external ones though, doesn't seem to be
3764 needed for some reason).
3766 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3768 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3769 Remove __declspec(dllimport) for MSVC that was copied over into core
3770 from a plugin, obviously without ever having been tested (note the
3771 single underscore in _declspec in the initial commit), and that doesn't
3772 really make sense. See #492077.
3774 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3776 * gst/gst.c: (init_post):
3777 * gst/gstevent.c: (_gst_event_initialize):
3778 * gst/gstquery.c: (_gst_query_initialize):
3779 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3780 g_type_class_ref() other types as well, see #349410 and #64764.
3782 * gst/gstbuffer.c: (_gst_buffer_initialize):
3783 * gst/gstmessage.c: (_gst_message_initialize):
3784 Simplify existing g_type_class_ref().
3786 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3788 * gst/gstformat.c: (_gst_format_initialize):
3789 g_type_class_ref() our GstFormat type to make sure we avoid the
3790 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3791 bug #64764. Should fix intermittent tee unit test failures (#474823).
3793 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3795 * tests/check/elements/tee.c: (test_num_buffers):
3796 Simplify, simplify, simplify - or not. Rewrite unit test
3797 not to use gst_parse_launch(); allow N sub-streams. Increasing
3798 the number of sub-streams seems to reproduce #474823 more easily.
3800 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3802 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3805 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3806 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3807 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3808 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3809 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3810 so use _pipe() directly (#492077).
3812 * win32/common/dirent.c: (_treaddir):
3813 Add a couple of casts to make it build without warnings with MSVC.
3815 * win32/common/libgstreamer.def:
3816 Add some more symbols that need to be exported.
3818 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3820 * tests/examples/metadata/read-metadata.c: (message_loop):
3821 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3822 arriving in a second or third tag message are added to
3823 the tag list as well.
3825 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3827 * libs/gst/base/gstbasesrc.c:
3828 Its "Since:" and not "@Since:". And remove an superflous cast.
3830 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3832 * docs/libs/gstreamer-libs-sections.txt:
3833 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3834 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3835 (gst_base_sink_get_property), (gst_base_sink_render_object),
3836 (gst_base_sink_preroll_object),
3837 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3838 (gst_base_sink_change_state):
3839 * libs/gst/base/gstbasesink.h:
3840 Add a new last-buffer property that contains the last buffer used in
3841 basesink for preroll or rendering. useful for making snapshots.
3842 API: gst_base_sink_get_last_buffer()
3843 API: GstBaseSink::last-buffer
3845 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3847 * docs/gst/running.xml:
3849 * gst/gstdebugutils.c:
3850 * gst/gstdebugutils.h:
3851 * tools/gst-launch.c:
3852 Improve bin graph dumping, by using the envvar to specify a path.
3853 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3855 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3857 * plugins/elements/gsttypefindelement.c:
3858 (gst_type_find_element_handle_event),
3859 (gst_type_find_element_activate):
3860 Post special error message if we can't determine the type of a stream
3863 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3865 * docs/gst/running.xml:
3866 * gst/gstdebugutils.c:
3867 Document new env-var. Add one log-line after dumpng a graph.
3869 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3872 Ugly hack to put the (recently removed and non-portable, apparently)
3873 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3874 GNU ld, because without that 'make check' fails miserably on my debian
3875 stable box. Someone with more knowledge of linker intricacies and
3876 portability issues than me fix this properly please.
3878 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3880 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3881 Reset last seen position after flushing so that we don't report the old
3884 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3886 * gst/gstelementfactory.c: (gst_element_register):
3888 Patch from Alessandro Decina adding get_type_full and
3889 get_protocols_full private vfuncs to the URIHandler interface
3890 to allow bindings to support creating URI handlers.
3891 Partially fixes: #339279
3892 API: GstURIHandlerInterface::get_type_full
3893 API: GstURIHandlerInterface::get_protocols_full
3895 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3897 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3898 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3899 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3900 Make it so that pads are considered linked until a buffer is pushed
3901 and discovered otherwise. This avoids problems with decodebin2 hanging
3902 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3905 Make sure we lock the multiqueue when updating the max-size properties.
3907 Fix a crash on Solaris in a debug statement in get_request_pad that
3908 passes a NULL string to GST_DEBUG.
3910 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3911 (run_output_order_test):
3912 Fix the test to allow the first buffer on not-linked pads to come out
3913 of sequence while multiqueue discovers that they are not-linked.
3915 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3918 * libs/gst/check/Makefile.am:
3919 Use a custom export symbol regex for libgstcheck, as it needs
3920 to export symbols that don't match the standard GStreamer gst_*
3921 pattern, and --export-dynamic is not portable (only works on
3924 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3925 (gst_check_setup_sink_pad):
3926 Make sure to pass a message parameter to the fail_* macros.
3928 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3929 Fix some compiler warnings.
3931 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3933 * tests/check/gst/gststructure.c: (test_to_string):
3934 Disable test that checks that white spaces are not allowed
3935 in structure names or field names, since we need to
3936 support that for now for backwards compatibility reasons.
3938 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3940 * docs/gst/gstreamer-sections.txt:
3943 API: add GST_TAG_ARTIST_SORTNAME
3944 API: add GST_TAG_ALBUM_SORTNAME
3945 API: add GST_TAG_TITLE_SORTNAME
3946 Add tag variants for sorting (#414539).
3948 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3950 * gst/gststructure.c:
3951 Also allow white space for names so we don't break
3952 backwards compatibility.
3954 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3956 * docs/design/part-TODO.txt:
3957 * docs/design/part-segments.txt:
3958 * docs/design/part-streams.txt:
3961 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3963 * docs/gst/gstreamer-sections.txt:
3964 Fixed documentation from my previous commit (added new API add
3965 gst_value_set_structure(), add gst_value_get_structure() and
3966 GST_VALUE_HOLDS_STRUCTURE).
3968 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3970 * gst/gstdebugutils.c:
3971 Reflow code to fix uninitialized variable warning.
3973 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3975 * gst/gstcaps.c: (gst_caps_to_string),
3976 (gst_caps_from_string_inplace):
3977 * gst/gststructure.c: (gst_structure_get_abbrs),
3978 (gst_structure_to_string), (gst_structure_from_string):
3979 * gst/gstvalue.c: (gst_value_set_structure),
3980 (gst_value_get_structure), (gst_value_serialize_structure),
3981 (gst_value_deserialize_structure), (_gst_value_initialize):
3983 * tests/check/gst/gststructure.c: (GST_START_TEST),
3984 (gst_structure_suite):
3985 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3986 Added GstStructure to gst_value_table and its related functions.
3987 Changed gst_structure_to_string to print ';' in the end.
3988 Changed gst_caps_to_string to not print ';' beteween its
3989 fields (structures) anymore and remove the lastes ';' from latest
3990 structure. Now it is possible to have nested structures.
3991 In addition, backward compatibilty is assured by accepting '\0' as
3992 end delimiter. Fixes: #487969.
3993 API: add gst_value_set_structure()
3994 API: add gst_value_get_structure()
3995 API: add GST_VALUE_HOLDS_STRUCTURE
3997 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
4000 When no GSource callback has been set up, tell developer
4001 to use a function that actually exists.
4003 2007-10-17 Stefan Kost <ensonic@users.sf.net>
4005 * docs/gst/gstreamer-sections.txt:
4009 * gst/gstdebugutils.c:
4010 * gst/gstdebugutils.h:
4013 * tools/gst-launch.c:
4014 Allow dumping pipelines as dot graphs. Fixes #456573.
4016 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4018 * gst/gststructure.c:
4019 Allow '+' as well, it can be part of media or mime types
4020 such as image/svg+xml.
4022 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4024 * docs/gst/gstreamer-sections.txt:
4027 API: add gst_bus_pop_filtered
4028 API: add gst_bus_timed_pop_filtered
4029 Two new functions for waiting for specific message types on the
4030 bus for a specified amount of time without iterating any main
4031 loops or main contexts.
4033 * tests/check/gst/gstbus.c:
4034 Some tests for the new functions.
4036 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4038 * docs/libs/gstreamer-libs-sections.txt:
4039 Make gtk-doc ignore stuff it should ignore.
4041 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
4043 * libs/gst/check/gstcheck.c:
4044 * libs/gst/check/gstcheck.h:
4045 Allow runtime selection of unit tests to run via the GST_CHECKS
4046 environment variable (test case function names, comma-separated).
4048 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4050 * gst/gststructure.c:
4051 * tests/check/gst/gststructure.c:
4052 Revert serialisation change and constrain structure-names after
4053 consensus on irc. Update api documentation to reflect the change.
4055 2007-10-16 Stefan Kost <ensonic@users.sf.net>
4057 * gst/gststructure.c:
4058 Improve serialization and fix tests.
4060 * tests/check/gst/gststructure.c:
4061 Add another test that covers why I actually did the previous structure
4064 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4066 * tools/gst-inspect.c: (print_element_info):
4067 Don't crash when inspecting an element.
4069 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
4071 * tests/check/gst/gststructure.c:
4072 Add unit test for escaping of structure name when serialising
4073 and deserialising to/from strings.
4075 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
4077 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
4078 (gst_single_queue_new):
4079 * plugins/elements/gstqueue.c: (gst_queue_init),
4080 (gst_queue_push_one):
4081 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
4082 upstream is tricked into thinking it can suggest a format downstream
4083 while downstream does not support that format. The real problem is that
4084 core calls acceptcaps when pushing a buffer with new caps, for which we
4085 do a little workaround by setting the caps on the srcpad ourselves
4086 before pushing the buffer (until this is figured out). Fixes #486758.
4088 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4090 * gst/gststructure.c:
4092 Add some more comments and debug output. Quote structure name to fix
4093 deserialisation of some strings.
4095 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4098 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4099 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4101 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4103 * tools/gst-inspect.c:
4104 Save approx. 400 1 byte allocs when printing. Use API to acces element
4110 * tools/gst-xmlinspect.c:
4111 Use API to acces element details.
4113 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4116 Fix some spelling errors.
4118 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4120 * gst/gstbin.c: (bin_handle_async_done):
4121 Correctly set the next state if all of our async children commited their
4122 state. This makes sure we can actually cancel the state change in
4123 progress. Fixes a regression in Rhythmbox when seeking.
4125 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4128 Don't shadow local variable.
4131 Don't shadow global function name.
4133 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4135 * gst/gstelementfactory.c:
4136 * gst/gstpluginfeature.c:
4137 * gst/gstpluginfeature.h:
4138 * gst/gstregistrybinary.c:
4139 * gst/gstregistryxml.c:
4140 * gst/gsttypefind.c:
4141 Use already-interned string for the private GstPluginFeature
4144 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4146 * docs/libs/gstreamer-libs-sections.txt:
4147 Add new API to docs; fixes the build.
4149 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4151 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4153 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4154 (gst_base_sink_event):
4155 * libs/gst/base/gstbasesink.h:
4156 Add function to wait for EOS, subclasses can use this to correctly wait
4157 for devices to drain before performing the EOS logic. Fixes #485343.
4158 API: gst_base_sink_wait_eos()
4160 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4163 Cast description string constants in GST_PLUGIN_DEFINE macros
4164 to a (gchar*) to make C++ code using these macros compile
4165 without warning with g++-4.2 (see #462737). Even if slightly
4166 ugly, this seems preferable to putting the description strings
4167 into the GLib quark table or making the structure member a
4168 const gchar * and doing casts in core code that allocs and
4169 frees these strings, or requiring a cast in the C++ code.
4171 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4174 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4175 to print the entire class/function signature into the log
4176 file for C++ code. This only affects C++ code, for C code
4177 everything remains the same.
4179 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4181 * gst/gstbin.c: (remove_from_queue):
4182 Work around a problem with pipelines containing (semi)loops until a
4183 proper, more complicated solution is ready. See #475455.
4185 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4189 * gst/gstregistrybinary.c:
4190 * gst/gstregistryxml.c:
4191 Put more strings into the GLib quark table. No need to keep
4192 a hundred-something copies of identical version strings,
4193 license strings, package name strings and package origin
4196 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4198 * docs/manual/advanced-dataaccess.xml:
4199 Don't imply that it's okay to unconditionally change
4200 buffer data or buffer metadata in a pad probe callback,
4201 and a bunch of other comments. Fixes #430031.
4203 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4205 * win32/common/gstenumtypes.c:
4206 * win32/common/gstenumtypes.h:
4207 * win32/common/gstversion.h:
4208 Update generated files.
4210 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4212 * docs/manual/advanced-autoplugging.xml:
4213 Prefix section with broken code with a warning (see #342432).
4215 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4217 * docs/manual/appendix-integration.xml:
4218 * docs/manual/basics-init.xml:
4219 Call g_thread_init() before g_option_context_new() to
4220 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4222 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4224 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4225 (gst_base_sink_queue_object_unlocked),
4226 (gst_base_sink_queue_object), (gst_base_sink_event),
4227 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4228 When we received EOS and are waiting for when to post the EOS message,
4229 our state is prerolled and we should not return ASYNC.
4230 Reorganize some code paths to implement this behavior.
4232 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4234 Add unit test to verify above EOS fix.
4236 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4238 * plugins/elements/gsttypefindelement.c:
4239 (gst_type_find_element_have_type), (gst_type_find_element_init),
4240 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4241 Move detecting the input caps of the sinkpad to the setcaps function.
4242 This allows us to update the output caps when we receive new input caps
4243 instead of always using the first detected caps.
4245 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4247 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4248 (gst_base_sink_get_position):
4249 Don't try to preroll non-async elements after a flush.
4250 Subtract latency form clock times when reporting position.
4252 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4254 * gst/gstpad.c: (gst_pad_pause_task):
4256 Small comment and documentation update.
4258 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4260 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4261 (gst_base_src_set_live), (gst_base_src_is_live),
4262 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4263 (gst_base_src_default_event), (gst_base_src_wait),
4264 (gst_base_src_do_sync), (gst_base_src_get_range),
4265 (gst_base_src_pad_get_range), (gst_base_src_loop),
4266 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4267 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4268 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4269 (gst_base_src_change_state):
4270 Rework the locking of basesrc in a similar fashion to basesink. We
4271 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4272 us to handle live sources and semi live ones much better.
4274 Fix unlocking when seeking, shutting down and pausing in live sources.
4276 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4278 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4279 Fix compilation again.
4281 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4284 Use meaningful categories for the logs to clean the default one.
4286 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4288 * tests/check/pipelines/cleanup.c:
4289 Print message name and not just number.
4291 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4293 * docs/design/draft-tagreading.txt:
4294 Add some more thoughts.
4296 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4298 * tests/check/pipelines/simple-launch-lines.c:
4299 Print message name and not just number.
4301 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4303 * libs/gst/base/gsttypefindhelper.c:
4304 Speedup typefinding. This is work in progress (see #459862).
4306 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4309 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4310 Spotted by Josep Torra Valles <josep@fluendo.com>.
4312 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4315 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4316 field has moved to GstObject.
4318 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4320 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4321 (gst_base_src_get_range), (gst_base_src_change_state):
4322 Call unlock for live sources so that they can't get stuck in _create and
4323 produce a buffer before they are set back to PLAYING.
4325 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4327 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4328 (gst_queue_locked_dequeue):
4329 Comment the segment-related code... in the PROPER function.
4330 See #482147 and my commit from yesterday.
4332 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4334 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4335 Also initialize the counter that calculates the first timestamp on a
4336 buffer correctly for non-live sources.
4338 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4340 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4341 Disable code that's breaking the current-time-level reporting.
4344 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4346 * docs/gst/gstreamer-sections.txt:
4347 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4348 as they shouldn't show up. Fixes the docs build.
4350 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4353 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4354 Define M_PI which is used in files which are including gstinfo.h.
4355 VS6 includes doesn't define it.
4356 * win32/common/libgstbase.def:
4357 * win32/common/libgstcontroller.def:
4358 * win32/common/libgstreamer.def:
4359 Add new exported functions and variables.
4360 * win32/vs6/libgstcontroller.dsp:
4361 * win32/vs6/libgstreamer.dsp:
4362 Update the list of files to build.
4364 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4366 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4368 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4369 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4370 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4371 Improve debugging. Fixes #480858.
4373 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4375 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4377 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4378 First patch of code cleanups, use the macros and right arguments in the
4379 macros to signal and lock the queue. See #480858.
4381 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4383 * gst/gstbus.c: (poll_func):
4384 Improve debugging when dealing with _poll().
4386 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4388 * gst/gstregistryxml.c:
4389 Fix memory leak I introduced a few days ago.
4391 2007-09-26 Michael Smith <msmith@fluendo.com>
4393 * gst/gstbuffer.c: (gst_buffer_finalize):
4394 Make it once again possible to free GstBuffers in the default
4396 The poisoning scribbles on parts of the miniobject we need in
4400 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4402 * docs/gst/gstreamer-sections.txt:
4405 API: add GST_TAG_COMPOSER, fixes #459809.
4407 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4411 Add the 3-clause BSD license and the MIT/X11 license to the license
4412 list. Fixes #479784.
4414 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4416 * docs/faq/getting.xml:
4417 Add Q+A about different GStreamer versions (#364056).
4419 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4421 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4422 (gst_base_sink_event), (gst_base_sink_change_state):
4423 Return correct gboolean from query function.
4425 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4427 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4428 (gst_base_sink_event), (gst_base_sink_query),
4429 (gst_base_sink_change_state):
4430 Simplify latency query.
4431 When not synchronizing, we can report latency without querying the peer
4434 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4438 Fix small typos in the docs.
4440 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4442 * docs/design/draft-latency.txt:
4443 * docs/design/draft-push-pull.txt:
4444 * docs/design/draft-tagreading.txt:
4445 * docs/design/part-MT-refcounting.txt:
4446 * docs/design/part-activation.txt:
4447 * docs/design/part-block.txt:
4448 * docs/design/part-element-source.txt:
4449 * docs/design/part-events.txt:
4450 * docs/design/part-gstbin.txt:
4451 * docs/design/part-gstelement.txt:
4452 * docs/design/part-gstobject.txt:
4453 * docs/design/part-gstpipeline.txt:
4454 * docs/design/part-messages.txt:
4455 * docs/design/part-preroll.txt:
4456 * docs/design/part-push-pull.txt:
4457 * docs/design/part-qos.txt:
4458 * docs/design/part-query.txt:
4459 * docs/design/part-scheduling.txt:
4460 * docs/design/part-seeking.txt:
4461 * docs/design/part-segments.txt:
4462 * docs/design/part-states.txt:
4463 Documentation updates and typo fixes.
4465 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4467 * plugins/elements/gstfakesink.c:
4468 Add some debug text to error message to indicate that
4469 we errored out on request.
4471 * tools/gst-launch.c:
4472 When the state change to PLAYING fails, check for an
4473 error message on the bus and print it.
4475 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4477 translated by: Jorge González González <aloriel@gmail.com>
4481 Added Spanish translation.
4483 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4485 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4486 Fix printf arguments.
4488 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4490 * tests/check/generic/states.c:
4491 Improved state change unit test.
4493 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4496 Move priv to the right place.
4498 * gst/gstsystemclock.c:
4499 Add FIXME: and improve log.
4501 * tests/check/Makefile.am:
4502 * tests/examples/manual/Makefile.am:
4503 Work with all types of registries.
4505 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4507 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4508 Don't unref the event after pushing it. Fixes #478401.
4510 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4513 * tests/examples/manual/.cvsignore:
4514 Ignore registries in any format.
4516 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4518 * gst/glib-compat-private.h:
4519 Add compatibility macro for g_intern_string() for
4520 GLib-2.8 (any reason we can't just bump the
4521 requirement to at least 2.10?)
4523 * gst/gstpadtemplate.h:
4524 * gst/gstelementfactory.c:
4525 * gst/gstregistryxml.c:
4526 * gst/gstregistrybinary.c:
4527 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4528 up the internal code accordingly. This shouldn't be a problem, since
4529 there is no reason external code could ever assume the string in such
4530 a structure is dynamically allocated unless it did that itself; the
4531 use of g_strdup() is private to element factories. The new code also
4532 saves some memory by putting pad template name strings into the GLib
4533 quark table instead of allocating them dynamically.
4534 Declaring this field constant fixes warnings with g++-4.2 when using
4535 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4537 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4539 * gst/gstelementfactory.c:
4540 Release static caps. Fixes #475723.
4542 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4546 Make some internal API take const gchar * instead of just
4547 gchar * to avoid compiler warnings with g++-4.2.2 when
4548 passing string constants (partially fixes #478092).
4550 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4552 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4553 A latency query fails when one of the sinks fail.
4555 * gst/gstelement.c: (gst_element_set_base_time):
4558 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4560 * gst/gstbin.c: (gst_bin_continue_func):
4561 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4562 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4563 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4565 Fix minor compilation warnings shown with Forte.
4567 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4569 * plugins/elements/gstqueue.c: (apply_buffer),
4570 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4571 Measure queue level based on the diff between head and tail timestamps
4572 even when pushing the first buffer.
4574 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4576 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4577 (gst_base_sink_event), (gst_base_sink_change_state):
4578 Sinks that don't preroll can always be queried for the latency.
4579 Don't post ASYNC start when we are not async.
4581 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4583 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4584 (gst_queue_handle_sink_event), (gst_queue_chain),
4585 (gst_queue_push_one), (gst_queue_handle_src_query),
4586 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4587 * plugins/elements/gstqueue.h:
4588 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4589 push more buffers but allow pushing of EOS and NEWSEGMENT.
4590 Add some more debug info here and there. Fixes #476514.
4592 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4594 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4595 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4596 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4597 (gst_base_sink_set_flushing), (gst_base_sink_query),
4598 (gst_base_sink_change_state):
4599 Latency query is allowed after we are prerolled. Introduce a new flag
4600 for this and stop abusing other variables.
4602 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4604 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4605 Push OOB events downstream when we get them in send_event. This allows
4606 the application to insert events in the pipeline.
4607 Add some more comments.
4609 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4611 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4612 (do_bin_latency), (gst_bin_change_state_func):
4613 * gst/gstpipeline.c: (gst_pipeline_change_state):
4614 Move latency query from GstPipeline to GstBin so that we can also
4615 use it when async-handling is enabled on bins.
4617 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4619 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4620 (gst_base_src_do_sync), (gst_base_src_change_state):
4622 Clean up the timestamping and syncing code for pseudo live sources.
4624 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4626 Patch by: Steve Fink <sphink gmail com>
4628 * docs/manual/appendix-checklist.xml:
4629 Mention less -R switch in the section about debug output (#474055).
4631 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4633 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4634 Queue can latency to the pipeline up to the configured max size in time.
4635 Report this fact in the latency query.
4637 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4639 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4641 * libs/gst/controller/gstinterpolation.c:
4642 * libs/gst/controller/gstlfocontrolsource.c:
4643 Use gst_guint64_to_gdouble() when converting from a uint64 or
4644 GstClockTime to double to fix the build on win32. Fixes #474371.
4646 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4648 * gst/gstbuffer.c: (gst_buffer_finalize):
4649 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4650 When finalizing a buffer the complete struct is filled with 0xff,
4651 thus making a use of the buffer after the final unref impossible.
4653 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4655 * tests/check/libs/controller.c: (GST_START_TEST):
4656 Use fail_unless_equals_int(a, b) instead of
4657 fail_unless_equals (a == b) to get better output on failures.
4659 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4661 * tests/check/gst/gsturi.c:
4662 Also check for the other file URI variant on win32.
4664 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4666 * gst/gsturi.c: (gst_uri_get_location):
4667 If there's no hostname, we want to return 'c:/foo/bar.txt'
4668 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4670 * tests/check/gst/gsturi.c:
4671 Unit test for the above and a few more things.
4673 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4675 * docs/design/part-live-source.txt:
4676 Add docs on how live sources should timestamp.
4678 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4679 Add some more debug info.
4680 For subclasses that are live and like to sync, add aditional startup
4681 latency to sync time and timestamps so that we timstamp according to the
4684 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4687 Also do a g_type_class_ref() for the subbuffer type in
4690 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4692 * docs/gst/gstreamer-sections.txt:
4693 * gst/gstpad.c: (gst_pad_peer_query):
4695 Add function to perform a query on the peer of a pad.
4696 API: gst_pad_peer_query()
4698 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4700 * tests/check/gst/gstsystemclock.c:
4701 Cleanup the test a little (use gst-logging and not g_message). Improve
4702 test to check if a wait reached the target.
4704 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4706 * docs/libs/gstreamer-libs-sections.txt:
4707 Add new API to docs and fix the build.
4709 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4711 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4712 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4713 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4714 (gst_base_src_get_property), (gst_base_src_do_sync):
4715 * libs/gst/base/gstbasesrc.h:
4716 Add property to make the basesrc timestamp buffers based on the current
4718 API: GstBaseSrc::do-timestamp
4719 API: gst_base_src_set_do_timestamp()
4720 API: gst_base_src_get_do_timestamp()
4722 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4724 * docs/random/release:
4725 Really make sure translations are up-to-date before
4726 a release (#465010).
4728 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4730 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4731 Always destroy the timer, also in error cases.
4733 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4735 * docs/manual/highlevel-xml.xml:
4736 Fix XML example code. Fixes #472714.
4738 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4740 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4741 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4742 (gst_base_sink_query):
4743 Protect eos and have_preroll with the OBJECT lock so we don't need to
4744 take the PREROLL lock when querying the latency. Fixes #473846.
4746 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4749 Give some log-messages a category.
4751 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4753 * gst/gststructure.c:
4754 (gst_structure_fixate_field_nearest_fraction):
4755 Fix fraction list fixation code. Take the fraction with the smallest
4756 difference with the target instead of the first one in the list.
4758 * tests/check/gst/gststructure.c: (GST_START_TEST),
4759 (gst_structure_suite):
4760 Added test to verify correct fraction list fixation behaviour.
4762 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4764 * win32/common/libgstreamer.def:
4765 Export gst_bus_add_signal_watch too.
4767 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4769 * docs/libs/gstreamer-libs-sections.txt:
4770 Add new methods to docs.
4772 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4773 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4774 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4775 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4776 * libs/gst/base/gstbasesink.h:
4777 Add ts-offset property to fine-tune the synchronisation.
4778 API: GstBaseSink::ts-offset property
4779 API: gst_base_sink_set_ts_offset()
4780 API: gst_base_sink_get_ts_offset()
4782 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4784 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4785 (gst_base_sink_init), (gst_base_sink_set_sync),
4786 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4787 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4788 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4789 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4790 (gst_base_sink_get_property), (gst_base_sink_change_state):
4791 * libs/gst/base/gstbasesink.h:
4792 Add async property to instruct the sink never to inform the parent about
4793 ASYNC state changes, update docs.
4794 Check argument with g_return_* for the public functions.
4795 API: GstBaseSink::async property
4796 API: gst_base_sink_set_async_enabled()
4797 API: gst_base_sink_is_async_enabled()
4799 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4801 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4804 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4805 (gst_base_src_default_query), (gst_base_src_wait),
4806 (gst_base_src_do_sync), (gst_base_src_change_state):
4807 Rearrange some code so that we can add support for measuring the
4810 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4812 * docs/random/ensonic/dynlink.txt:
4813 More thoughs on this.
4815 * plugins/elements/gstcapsfilter.c:
4816 Add bugzilla ticket number to FIXME comment.
4818 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4820 * docs/design/part-TODO.txt:
4821 * docs/design/part-block.txt:
4824 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4827 Revert patch which uses $(gst_headers) instead of $^ because it
4830 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4832 * tests/check/gst/gstbin.c: (GST_START_TEST):
4833 Fix leaks in the new unit test.
4835 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4838 Don't use GST_INFO before the debug system is actually initialised
4839 (shouldn't do any harm, but won't print anything either, so we can
4840 just as well remove it).
4843 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4844 compilers that don't support variadic macros (such as MSVC), should
4845 check for debug_level <= __gst_debug_min as well, since that's the
4846 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4847 inline helper functions. Should improve performance a bit, but also
4848 makes sure uses of GST_INFO et.al are ignored if the debugging
4849 system isn't initialised yet (instead of printing an assertion
4852 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4854 patch by: David Nečas <yeti@physics.muni.cz>
4857 Replace some non portable makefile constructs.
4859 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4861 * common/gtk-doc-plugins.mak:
4862 Grrrrr. Don't remove the types file on make clean.
4864 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4866 * tools/gst-launch.1.in:
4867 Add colorspace to example pipeline. Fixes #458274.
4869 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4871 * docs/random/release:
4872 The release manager should run 'make download-po' before making a
4873 release to make sure translations are up-to-date.
4879 Add some new translations.
4881 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4883 * tools/gst-launch.c: (event_loop), (main):
4884 Don´t try to do any state management when a live pipeline posts
4886 Also make the buffering string translatable.
4888 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4890 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4891 (bin_handle_async_start), (gst_bin_handle_message_func):
4893 When adding elements, insert messages into the bus of the newly added
4894 element and make sure the element is the source of the message. This
4895 allows the parent bin to intercept the message and do the
4896 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4897 messages to the app (which is not allowed).
4900 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4901 Fix testsuite so that is does not work around messages that should not
4902 have been posted in the first place.
4904 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4906 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4907 (update_degree), (gst_bin_sort_iterator_next):
4908 Fix annoying bug in the sorted iterator where a sink that is not really
4909 a sink (when it has downstream links) screwed up the iterator.
4911 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4912 Unit test to verify the fix.
4914 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4917 Add some more docs for the messages.
4919 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4920 (gst_base_sink_query):
4921 Add some more debugging.
4923 * tools/gst-launch.c: (event_loop):
4924 When interrupting, don't try to set pipeline to PAUSED twice.
4926 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4929 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4930 (bin_handle_async_start), (gst_bin_handle_message_func):
4931 Move ASYNC_START message posting to where it belongs, similar to
4933 Don't post ASYNC_START when we are in error.
4934 Post ASYNC_START when we added an async element to a bin.
4936 2007-08-14 Julien MOUTTE <julien@moutte.net>
4938 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4939 generation from vargs. Fixes #466595.
4941 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4943 * gst/gstbin.c: (gst_bin_element_set_state):
4944 Always change the state of a NO_PREROLL element even if it has ASYNC
4945 elements inside (in case of a bin).
4947 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4948 Unit test for this case.
4950 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4952 * libs/gst/check/gstbufferstraw.c:
4953 * libs/gst/check/gstcheck.h:
4954 * libs/gst/controller/gstcontroller.c:
4955 * libs/gst/controller/gstcontrolsource.h:
4956 * libs/gst/controller/gstlfocontrolsource.h:
4957 * plugins/elements/gstcapsfilter.h:
4958 * plugins/elements/gstfdsink.h:
4959 * plugins/elements/gstfdsrc.h:
4960 Add more missing docs.
4962 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4964 * gst/gststructure.c:
4965 Add Since tag to docs.
4967 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4969 * docs/gst/gstreamer-sections.txt:
4970 * gst/gststructure.c: (gst_structure_get_uint):
4971 * gst/gststructure.h:
4972 Add function to get uint from a structure.
4973 API: gst_structure_get_uint()
4975 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4977 * gst/gstcaps.c: (gst_caps_set_simple_valist),
4978 (gst_caps_intersect):
4979 Fix proper check for simple caps.
4981 2007-08-10 Stefan Kost <ensonic@users.sf.net>
4983 * docs/gst/Makefile.am:
4984 * docs/libs/Makefile.am:
4985 Remove cruft and do some cleanups.
4987 * docs/gst/gstreamer-docs.sgml:
4988 * docs/libs/gstreamer-libs-docs.sgml:
4989 Prepare for comming gtkdoc features (rebase against online docs).
4991 2007-08-10 Michael Smith <msmith@fluendo.com>
4993 * docs/gst/gstreamer-sections.txt:
4994 Add gst_registry_add_path to docs.
4996 2007-08-10 Michael Smith <msmith@fluendo.com>
4998 * gst/gstregistry.h:
4999 Add gst_registry_add_path, which was missing from this header.
5001 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
5003 * libs/gst/controller/gstlfocontrolsource.c:
5006 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
5008 * libs/gst/base/gstbasesink.c:
5009 Don't send an async_start message during downwards state change if
5010 target state is less than READY
5012 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5014 translated by: Gabor Kelemen <kelemeng@gnome.hu>
5018 Added Hungarian translation.
5020 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
5027 Updated translations.
5029 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5031 * libs/gst/controller/Makefile.am:
5032 Dist gstlfocontrolsourceprivate.h
5034 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
5036 * docs/libs/gstreamer-libs.types:
5037 Don't register the enum type gst_lfo_waveform_get_type() in the
5038 .types file - only GObject derived types belong.
5040 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5042 Patch by: <arenevier at fdn dot fr>
5045 Remove comma from last element in enum to avoid compile errors when
5046 using -pendantic. Fixes #464366.
5048 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
5050 * docs/design/part-TODO.txt:
5051 Add some more TODO items
5053 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
5056 * gst/gstcaps.c: (gst_caps_intersect):
5057 Optimize trivial intersection case between identical caps pointers.
5059 * gst/gstelement.c: (gst_element_continue_state),
5060 (gst_element_set_state_func):
5062 Fix spelling and grammar mistakes.
5064 2007-08-05 Stefan Kost <ensonic@users.sf.net>
5068 Update POTFILES. Fixes #461599.
5070 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5073 Fix confusing typo in debug output.
5075 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
5077 reviewed by: Stefan Kost <ensonic@users.sf.net>
5079 * libs/gst/controller/Makefile.am:
5080 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
5081 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
5082 (gst_lfo_control_source_new),
5083 (gst_lfo_control_source_set_waveform),
5084 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
5085 (gst_lfo_control_source_finalize),
5086 (gst_lfo_control_source_dispose),
5087 (gst_lfo_control_source_set_property),
5088 (gst_lfo_control_source_get_property),
5089 (gst_lfo_control_source_class_init):
5090 * libs/gst/controller/gstlfocontrolsource.h:
5091 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5092 API: Add GstLFOControlSource, a control source that gives values
5093 for specific timestamps based on several periodic waveforms.
5096 * tests/check/libs/controller.c: (GST_START_TEST),
5097 (gst_controller_suite):
5098 * docs/libs/gstreamer-libs-docs.sgml:
5099 * docs/libs/gstreamer-libs-sections.txt:
5100 * docs/libs/gstreamer-libs.types:
5101 Add documentation and unit tests for GstLFOControlSource.
5103 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5108 === release 0.10.14 ===
5110 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5113 releasing 0.10.14, "Breathing Vacuum"
5115 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5117 * gst/gstelement.c: (gst_element_class_set_details_simple):
5119 Make strings passed to gst_element_class_set_details_simple()
5120 constant, as they should be (#462752).
5122 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5124 * gst/gstbin.c: (gst_bin_change_state_func),
5125 (bin_handle_async_done), (gst_bin_handle_message_func):
5126 Don't forget about the fact that some element went ASYNC even after a
5127 resync. This makes us post the ASYNC_DONE message correctly.
5130 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5132 * gst/gstregistry.c: (gst_registry_add_feature):
5133 When replacing an existing feature in the registry, make sure to
5134 continue holding a reference until we've replaced the name string
5135 within our feature hash table. Make sure to use g_hash_table_replace
5136 instead of g_hash_table_insert to ensure the new name string is used
5137 as a key instead of the old one that we're about to free.
5140 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5142 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5143 (gst_plugin_feature_set_name):
5144 Revert patch from #459466 until after the release and we can work
5145 out exactly what the problem is (if any).
5147 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5149 * docs/gst/gstreamer-sections.txt:
5152 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5154 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5156 * docs/libs/Makefile.am:
5157 Include our build-prefix libs and includes before the generic ones to
5158 avoid linking against the installed libs when we want the build-tree
5161 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5163 Patch by: Steve Fink <sphink gmail com>
5165 * docs/pwg/building-testapp.xml:
5166 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5167 if people try to build or install the example from the plugin
5168 template against a GStreamer from package using the configure
5171 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5173 Patch by: Steve Fink <sphink gmail com>
5175 * tools/gst-inspect.1.in:
5176 Document --print-all and --print-plugin-auto-install-info command
5177 line options in man page.
5179 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5181 * docs/gst/gstreamer-sections.txt:
5182 Add docs for new api function.
5184 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5186 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5187 * gst/gstelementfactory.h:
5188 API: gst_element_factory_has_interface()
5189 Added method to check if an element factory implements a named
5192 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5195 * docs/gst/gstreamer.types.in:
5196 Another conditional doc check.
5199 * gst/gstparamspecs.h:
5200 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5205 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5207 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5208 (gst_registry_binary_load_feature),
5209 (gst_registry_binary_load_plugin),
5210 (gst_registry_binary_read_cache):
5211 Print error just once and with additional info.
5213 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5215 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5216 (helper_find_suggest), (helper_find_get_length),
5217 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5218 (gst_type_find_helper_for_buffer):
5219 Cleanup the typefindhelper code and add private doc comments.
5221 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5223 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5224 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5225 Fix capsfilter for cases where the caps set on capsfilter will provide
5226 additional information.
5229 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5231 * gst/gsttypefindfactory.c:
5232 Fix docs that recommened wrong function to use.
5234 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5236 * tools/gst-inspect.c: (print_plugin_features):
5237 Also give media-type for typefinders in element output.
5239 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5241 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5242 (gst_registry_remove_features_for_plugin_unlocked),
5243 (gst_registry_add_feature), (gst_registry_remove_feature),
5244 (gst_registry_lookup_feature_locked):
5245 * gst/gstregistry.h:
5246 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5249 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5251 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5252 (gst_plugin_feature_set_name):
5253 Avoid double memory usage for pluginfeature names. Fixes #459466.
5255 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5258 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5259 driving the pipeline may need to explicitly check for NOT_LINKED as
5260 well, since IS_FATAL doesn't cover that.
5262 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5264 * docs/pwg/advanced-types.xml:
5265 Fix typo and duplicate entry in video formats list.
5267 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5269 * libs/gst/controller/gstinterpolation.c:
5270 Also round to the nearest int when using cubic interpolation.
5272 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5274 * libs/gst/controller/gstinterpolation.c:
5275 When linearly interpolating integer types, round to the nearest int
5276 by adding 0.5. Don't do it for float/double types.
5277 Fixes the failing controller test on my machine, which is somehow
5278 rounding differently than on the buildbots.
5280 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5282 * tools/gst-plot-timeline.py:
5283 Better log parsing (categories can have -). Adjust text vs. lines, so
5284 that they span the same y-range.
5286 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5288 * docs/random/ensonic/audiobaseclasses.txt:
5289 * docs/random/ensonic/dynlink.txt:
5290 * docs/random/ensonic/profiling.txt:
5293 * docs/random/moving-plugins:
5294 Add note to use g_assert type macros.
5296 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5299 * libs/gst/check/Makefile.am:
5300 Add libm check as we use in for plugins.
5302 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5304 * gst/gstbin.c: (gst_bin_continue_func):
5305 Check that the state_cookie hasn't changed since the continue_func
5306 was scheduled. Avoids problems where the state changes back to
5307 something it shouldn't be because it was changed in the meantime.
5309 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5311 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5312 (gst_registry_binary_save_string),
5313 (gst_registry_binary_save_pad_template),
5314 (gst_registry_binary_save_feature),
5315 (gst_registry_binary_save_plugin),
5316 (gst_registry_binary_load_feature),
5317 (gst_registry_binary_load_plugin),
5318 (gst_registry_binary_read_cache):
5319 Fix memory leak. Be less verbose in the log.
5321 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5323 * tests/check/elements/.cvsignore:
5324 Add file to cvsignore as commanded.
5326 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5328 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5329 (mq_dummypad_event), (run_output_order_test):
5330 Use a GStaticMutex to protect all cases where libcheck
5331 fail_if/fail_unless macros might be called from multiple threads
5332 simultaneously to avoid errors like:
5333 "check_pack.c:107: :-1081725400:Bad message type arg"
5335 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5337 * tests/check/pipelines/stress.c: (GST_START_TEST):
5338 Make sure we set the pipeline back to the NULL state before
5339 dropping our final reference.
5341 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5343 * tests/check/elements/tee.c: (GST_START_TEST):
5344 Make the tee stress-test a little less stressful so it doesn't just
5345 time out on slow-machines, and remove a small race when it's starting
5346 up by adding a get_state() call.
5348 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5351 Avoid reading registry twice on startup. Fixes #457322.
5353 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5355 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5356 * pkgconfig/gstreamer-check.pc.in:
5357 Substitute the CFLAGS for libcheck into our .pc file too so that
5358 dependent modules will pick it up properly if libcheck is installed
5359 into some other prefix.
5361 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5364 Revert the pkg-config check for libcheck, since it pulls in the
5365 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5366 a proper solution, either from the check project, or something else.
5368 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5371 Use pkg-config to locate check.
5373 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5380 Add deprecation guards.
5382 * libs/gst/base/gstcollectpads.h:
5383 Don't document object (this is implicitly private).
5385 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5387 * gst/gststructure.c: (gst_structure_parse_value):
5388 When deserialising foo=bar without a type cast, check if it's a
5389 boolean before falling back to a string type, otherwise things like
5390 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5391 because the filtercaps end up having a signed=(string)true field,
5392 which causes problems later when intersection caps.
5394 * tests/check/gst/gststructure.c: (GST_START_TEST):
5395 Add a unit test for this.
5397 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5399 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5401 * libs/gst/controller/Makefile.am:
5402 * libs/gst/controller/gstcontroller.c:
5403 (gst_controlled_property_add_interpolation_control_source),
5404 (gst_controlled_property_new), (gst_controlled_property_free),
5405 (gst_controller_find_controlled_property),
5406 (gst_controller_new_valist), (gst_controller_new_list),
5407 (gst_controller_new), (gst_controller_remove_properties_valist),
5408 (gst_controller_remove_properties_list),
5409 (gst_controller_remove_properties),
5410 (gst_controller_set_property_disabled),
5411 (gst_controller_set_disabled), (gst_controller_set_control_source),
5412 (gst_controller_get_control_source), (gst_controller_get),
5413 (gst_controller_sync_values), (gst_controller_get_value_array),
5414 (_gst_controller_dispose), (gst_controller_get_type),
5415 (gst_controlled_property_set_interpolation_mode),
5416 (gst_controller_set), (gst_controller_set_from_list),
5417 (gst_controller_unset), (gst_controller_unset_all),
5418 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5419 * libs/gst/controller/gstcontroller.h:
5420 * libs/gst/controller/gstcontrollerprivate.h:
5421 * libs/gst/controller/gstcontrolsource.c:
5422 (gst_control_source_class_init), (gst_control_source_init),
5423 (gst_control_source_get_value),
5424 (gst_control_source_get_value_array), (gst_control_source_bind):
5425 * libs/gst/controller/gstcontrolsource.h:
5426 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5427 (gst_object_get_control_source):
5428 * libs/gst/controller/gstinterpolation.c:
5429 (gst_interpolation_control_source_find_control_point_node),
5430 (gst_interpolation_control_source_get_first_value),
5431 (_interpolate_none_get), (interpolate_none_get),
5432 (interpolate_none_get_boolean_value_array),
5433 (interpolate_none_get_enum_value_array),
5434 (interpolate_none_get_string_value_array),
5435 (_interpolate_trigger_get), (interpolate_trigger_get),
5436 (interpolate_trigger_get_boolean_value_array),
5437 (interpolate_trigger_get_enum_value_array),
5438 (interpolate_trigger_get_string_value_array):
5439 * libs/gst/controller/gstinterpolationcontrolsource.c:
5440 (gst_control_point_free), (gst_interpolation_control_source_reset),
5441 (gst_interpolation_control_source_new),
5442 (gst_interpolation_control_source_set_interpolation_mode),
5443 (gst_interpolation_control_source_bind),
5444 (gst_control_point_compare), (gst_control_point_find),
5445 (gst_interpolation_control_source_set_internal),
5446 (gst_interpolation_control_source_set),
5447 (gst_interpolation_control_source_set_from_list),
5448 (gst_interpolation_control_source_unset),
5449 (gst_interpolation_control_source_unset_all),
5450 (gst_interpolation_control_source_get_all),
5451 (gst_interpolation_control_source_get_count),
5452 (gst_interpolation_control_source_init),
5453 (gst_interpolation_control_source_finalize),
5454 (gst_interpolation_control_source_dispose),
5455 (gst_interpolation_control_source_class_init):
5456 * libs/gst/controller/gstinterpolationcontrolsource.h:
5457 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5458 API: Refactor GstController into the core controller which can take
5459 a GstControlSource for providing actual values for timestamps.
5460 Implement a interpolation control source and use this for backward
5461 compatibility, deprecate a bunch of functions that are now handled
5462 by GstControlSource or GstInterpolationControlSource.
5463 Make it possible to disable the controller completely or only for
5464 specific properties. Fixes #450711.
5465 * docs/libs/gstreamer-libs-docs.sgml:
5466 * docs/libs/gstreamer-libs-sections.txt:
5467 * docs/libs/gstreamer-libs.types:
5468 Add new functions and classes to the docs.
5469 * tests/check/libs/controller.c: (GST_START_TEST),
5470 (gst_controller_suite):
5471 * tests/examples/controller/audio-example.c: (main):
5472 Port unit test and example to the new API and add some new
5475 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5477 Patch by: Mark Nauwelaerts <manauw at skynet be>
5479 * plugins/elements/gstmultiqueue.c:
5480 (gst_multi_queue_get_internal_links), (apply_buffer),
5481 (single_queue_overrun_cb), (gst_single_queue_new):
5482 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5483 the pipeline layout can be tracked correctly. Fixes #453732.
5485 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5487 * docs/gst/Makefile.am:
5488 * docs/libs/Makefile.am:
5489 * docs/plugins/Makefile.am:
5490 Simplify --extra-dir as gtkdoc scans recursively.
5492 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5494 * tools/gst-launch.c: (main):
5495 When we got an error, there is no point in waiting for preroll when
5498 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5500 * plugins/elements/gsttee.c: (gst_tee_base_init),
5501 (gst_tee_request_new_pad), (gst_tee_release_pad),
5502 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5503 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5505 Be a lot smarter when deciding what srcpad to use for proxying
5506 the buffer_alloc. Also handle pad added/removed when doing so.
5508 Keep track of what pads we already pushed on in case we have pads
5509 added/removed while pushing. Fixes #374639
5511 * tests/check/Makefile.am:
5512 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5514 Added unit test for pad resync.
5516 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5520 Updated translations.
5522 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5524 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5528 Added new Finnish translation.
5530 2007-06-28 Wim Taymans <wim@fluendo.com>
5532 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5533 (single_queue_overrun_cb):
5534 When figuring out when a queue is filled, use our internal time estimate
5535 based on segments, just like check_full does.
5537 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5539 * gst/gstminiobject.c: (gst_mini_object_get_type):
5540 Remove 3 do-nothing methods.
5542 2007-06-27 Wim Taymans <wim@fluendo.com>
5544 Patch by: Tim Angus <tim at ngus dot net>
5546 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5547 (gst_capsfilter_set_property):
5548 Take a reference instead of a copy when setting "caps".
5549 Fix documentation to clarify this behaviour. Fixes #449414.
5551 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5553 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5554 * gst/gstplugin.c: (gst_plugin_init):
5555 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5556 * gst/gstquery.c: (gst_query_get_type):
5557 * gst/gstregistry.c: (gst_registry_init):
5558 * gst/gsturi.c: (gst_uri_handler_base_init):
5559 Remove empty instance_init() functions to save relocs and lessen the
5560 noise. Remove some of the function prototypes that are doubled by
5563 2007-06-27 Wim Taymans <wim@fluendo.com>
5565 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5567 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5568 Add peer and direction in the XML serialisation of ghostpads.
5571 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5574 Preserve useful information, thanks Tim.
5576 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5578 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5579 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5580 (gst_single_queue_push_one), (gst_multi_queue_loop),
5581 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5582 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5583 (compute_high_id), (gst_single_queue_new):
5584 * plugins/elements/gstmultiqueue.h:
5585 Take the multiqueue lock when updating the fill level so we don't get
5588 After applying a buffer or event on the src pad segment, make sure to
5589 call gst_data_queue_limits_changed() to get the data queue to unblock
5590 and check the filled state again.
5592 Rework the not-linked pad handling so the logic is that not-linked
5593 pads can push as fast as they like, but only so they never get
5594 ahead of any linked pads.
5596 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5597 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5598 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5600 Add a test to check that not-linked pads always stay behind
5605 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5607 * docs/random/release:
5608 Some updates to the release procedure.
5610 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5612 * gst/gstelementfactory.c: (__gst_element_details_clear):
5613 Microoptimization that saves stunning 80 bytes.
5615 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5617 * docs/plugins/gstreamer-plugins.args:
5618 * docs/plugins/inspect/plugin-coreelements.xml:
5619 * docs/plugins/inspect/plugin-coreindexers.xml:
5620 Update docs with caps info.
5622 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5625 Updated Italian translation.
5627 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5631 Update Vietnamese translations.
5633 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5635 * libs/gst/base/gstbasesink.c:
5636 Remove unused signal enum.
5638 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5640 * docs/gst/gstreamer-sections.txt:
5642 * gst/gstutils.c: (gst_type_register_static_full):
5643 Beef up and include the docs for gst_type_register_static_full and
5644 gst_element_class_set_details_simple and add the API keyword
5647 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5649 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5650 (update_time_level), (gst_single_queue_push_one),
5651 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5652 (single_queue_overrun_cb), (single_queue_underrun_cb),
5653 (single_queue_check_full):
5654 Fix setting max-* properties after adding queues.
5655 Use IS_FILLED for checking visible items.
5656 Signal overrun if multiple queues overrun.
5657 Add extra debug output.
5658 Patch by: Wim Taymans <wim@fluendo.com>
5660 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5662 * gst/gstelement.c: (gst_element_class_set_details_simple):
5664 * gst/gstutils.c: (gst_type_register_static_full):
5666 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5667 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5668 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5669 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5670 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5671 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5672 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5673 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5674 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5675 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5676 (apply_buffer), (gst_queue_chain):
5677 * plugins/elements/gsttee.c: (gst_tee_base_init):
5678 * plugins/elements/gsttypefindelement.c:
5679 (gst_type_find_element_base_init),
5680 (gst_type_find_element_class_init):
5681 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5682 API: add gst_type_register_static_full
5683 API: add gst_element_class_set_details_simple
5685 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5687 * docs/pwg/advanced-types.xml:
5688 Fix typo in iana.org URI.
5690 2007-06-19 Andy Wingo <wingo@pobox.com>
5692 * tests/check/pipelines/simple-launch-lines.c
5693 (test_state_change_returns): Enable pull-mode tests now that
5694 basesink has been fixed.
5696 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5697 Changed from gst_base_sink_is_prerolled, reversing the sense of
5698 the return value. Returns FALSE also if the sink is in pull mode,
5699 in which case it needs no preroll.
5700 (gst_base_sink_query, gst_base_sink_change_state): Update for
5701 needs_preroll change.
5702 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5703 chaining up, in which we return SUCCESS directly if we activated
5704 in pull mode instead of ASYNC. Involves countering an async_start
5705 message sent before chaining up; not sure if this is correct, in
5706 an ideal world we only send async-start when activating in push
5709 * tests/check/pipelines/simple-launch-lines.c
5710 (test_state_change_returns): New test, partially disabled until
5713 2007-06-19 Wim Taymans <wim@fluendo.com>
5715 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5716 (gst_multi_queue_sink_event):
5719 2007-06-19 Wim Taymans <wim@fluendo.com>
5721 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5722 (gst_bin_change_state_func), (bin_push_state_continue),
5723 (bin_handle_async_start), (bin_handle_async_done),
5724 (gst_bin_handle_message_func):
5725 Move the common code for posting state-change messages into
5727 Broadcast the state signal after we posted the messages.
5728 Mark the bin as busy when it's doing a state-change.
5729 Make sure async-start/done messages don't interfere with the bin's
5730 state when it's busy.
5731 After the state change, let the bin check which elements completed the
5732 state change while it was busy so that it can update its state.
5734 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5736 * docs/random/release:
5737 Add a note about updating the doap file to the release checklist
5739 2007-06-18 Wim Taymans <wim@fluendo.com>
5741 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5742 (gst_single_queue_push_one), (gst_multi_queue_chain),
5743 (gst_multi_queue_sink_event):
5744 Make sure we don't reference the buffer/event after we have given away
5745 ownership in the queue.
5747 2007-06-18 Wim Taymans <wim@fluendo.com>
5749 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5750 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5751 Update queue state _after_ adding the item in the queue because else we
5752 could end up being full without the element added yet.
5754 2007-06-18 Wim Taymans <wim@fluendo.com>
5756 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5757 (gst_bin_remove_func), (gst_bin_get_state_func),
5758 (gst_bin_element_set_state), (gst_bin_continue_func),
5759 (bin_push_state_continue), (bin_handle_async_start),
5760 (bin_handle_async_done), (gst_bin_handle_message_func):
5762 Immediatly commit the toplevel bin state when receiving an async-done
5763 message. This enables us to avoid spawning a thread to commit the state
5764 in some common cases and it also avoids some races.
5765 Avoid spawning a state thread when adding/removing async elements to a
5766 toplevel bin. Instead we immediatly update the bin state.
5767 Get rid of iterating all the children when getting the state in the bin
5768 because it is now always up-to-date.
5769 Fix bug where locked elements would always return _SUCCESS even it they
5770 returned NO_PREROLL before being locked.
5771 Fix the order of the state_change, async-start/done messages that was
5772 sometimes incorrect.
5773 Mark the state_dirty field as deprecated, we don't need it anymore as we
5774 are always up-to-date.
5776 * gst/gstelement.c: (gst_element_get_state_func),
5777 (gst_element_continue_state):
5778 Small debug inprovements.
5779 Return the previous element state return when nothing is pending instead
5780 of blindly returning SUCCESS.
5782 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5784 Add a whole bunch of new testcases.
5786 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5790 Update translations.
5792 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5795 Fix typo in the docs.
5797 2007-06-15 Wim Taymans <wim@fluendo.com>
5799 * docs/libs/gstreamer-libs-sections.txt:
5800 Add docs for new methods.
5802 2007-06-15 Wim Taymans <wim@fluendo.com>
5804 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5805 (gst_multi_queue_item_new):
5806 Don't use GSlice because we don't depend on >= 2.10 yet.
5808 2007-06-15 Wim Taymans <wim@fluendo.com>
5810 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5811 (update_time_level), (apply_segment), (apply_buffer),
5812 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5813 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5814 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5815 (single_queue_underrun_cb), (single_queue_check_full):
5816 Remove debug printf.
5818 2007-06-15 Wim Taymans <wim@fluendo.com>
5820 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5821 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5822 (gst_data_queue_set_flushing), (gst_data_queue_push),
5823 (gst_data_queue_pop), (gst_data_queue_drop_head),
5824 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5825 * libs/gst/base/gstdataqueue.h:
5827 Added methods to get the current levels and to inform the queue that the
5828 'full' limits changed.
5830 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5831 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5832 (gst_single_queue_flush), (update_time_level), (apply_segment),
5833 (apply_buffer), (gst_single_queue_push_one),
5834 (gst_multi_queue_item_steal_object),
5835 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5836 (gst_multi_queue_loop), (gst_multi_queue_chain),
5837 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5838 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5839 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5840 (single_queue_underrun_cb), (single_queue_check_full),
5841 (gst_single_queue_new):
5842 Keep track of time in the queue by measuring the difference between
5843 running_time on input and output. This gives more accurate results and
5844 can compensate for segments correctly.
5845 Make a queue by default only 5 buffers deep. We will now increase the
5846 buffer size depending on the filledness of the other queues.
5847 Factor out commong flush code.
5848 Make sure we don't add additional refcounts to buffers when we can avoid
5850 Propagate GstFlowReturn differently.
5851 Use GSlice for intermediate GstMultiQueueItems.
5853 Resize queues on over and underruns based on filled level of other
5855 When checking if the queue is filled, prefer to measure in time if we
5856 can and fall back to bytes when no time is known.
5858 * plugins/elements/gstqueue.c:
5861 2007-06-15 Wim Taymans <wim@fluendo.com>
5863 * libs/gst/base/gstbasetransform.c:
5864 (gst_base_transform_sink_event):
5865 Work around the brokenness of the event vmethod in basetransform. Prefer
5866 to return TRUE when the subclass returned FALSE (meaning don't forward
5869 * libs/gst/base/gstbasetransform.h:
5872 2007-06-15 Wim Taymans <wim@fluendo.com>
5874 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5875 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5876 (gst_base_src_default_query), (gst_base_src_get_range),
5877 (gst_base_src_start):
5878 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5881 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5883 * docs/pwg/advanced-types.xml:
5884 Added more formats to caps table.
5886 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5888 * tools/gst-launch.c: (main):
5889 Remove crufy code. GOption does not need this workaround.
5891 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5893 * libs/gst/controller/gstcontroller.c:
5894 (gst_controlled_property_set_interpolation_mode):
5895 Fix wrong getter for enums in controller.
5897 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5899 * libs/gst/check/gstcheck.c: (gst_check_init):
5900 Intercept criticals and warnings in the Gst-Phonon log domain, so
5901 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5904 2007-06-14 Edward Hervey <edward@fluendo.com>
5906 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5907 Since this file doesn't include "gst.h" it will not go through the
5908 macros that disable GST_LOG if debugging was disabled.
5910 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5912 * libs/gst/check/Makefile.am:
5913 * libs/gst/check/gstcheck.h:
5914 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5915 * pkgconfig/gstreamer-check.pc.in:
5916 Ugly 'fix' for the controller unit test on the p5 bot: in
5917 fail_unless_equals_float() check whether the values are 'almost
5918 equal' by allowing a small absolute error, which should be good
5919 enough for our use cases (normal numbers and values close to 0).
5920 Proper fixage left to floating point arithmetic aficionados.
5922 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5924 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5925 (gst_base_sink_render_object), (gst_base_sink_get_position):
5926 Add two breaks thats where missing.
5928 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5930 * docs/libs/gstreamer-libs-sections.txt:
5931 * libs/gst/check/gstcheck.h:
5932 API: add fail_unless_equals_float() and assert_equals_float().
5933 Add documentation for some of the macros.
5935 * tests/check/libs/controller.c: (GST_START_TEST):
5936 Use newly-added asserts.
5938 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5940 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5941 Show the caps change in the log to help spotting the case of not
5942 exactly matching caps.
5944 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5946 * docs/pwg/building-boiler.xml:
5947 Fix typos, spotted by Thijs Vermeir (#447190).
5949 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5951 * docs/plugins/tmpl/.cvsignore:
5952 Ignore file to keep the buildbots happy
5954 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5956 * docs/plugins/Makefile.am:
5957 * docs/plugins/gstreamer-plugins-docs.sgml:
5958 * docs/plugins/gstreamer-plugins-sections.txt:
5959 Pull fdsink into the docs too.
5961 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5963 * libs/gst/controller/gstinterpolation.c:
5964 Actually use the new functions with min/max checks for the trigger and
5965 none interpolation modes for get() and get_value_array() instead of
5968 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5970 * libs/gst/controller/gstcontroller.c:
5971 (gst_controlled_property_free):
5972 Unset the minimum and maximum GValues when freeing the corresponding
5973 GstControllerProperty struct.
5975 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
5977 * libs/gst/controller/gstcontroller.c:
5978 (gst_controlled_property_new):
5979 * libs/gst/controller/gstcontrollerprivate.h:
5980 * libs/gst/controller/gstinterpolation.c:
5981 (gst_controlled_property_find_control_point_node),
5982 (interpolate_none_get), (interpolate_none_get_enum_value_array),
5983 (interpolate_none_get_string_value_array),
5984 (interpolate_trigger_get),
5985 (interpolate_trigger_get_enum_value_array),
5986 (interpolate_trigger_get_string_value_array):
5987 Protect against values larger or smaller than the minimum or maximum
5988 allowed value for the property when using values that can be compared.
5990 Optimize trigger interpolator a bit by taking the last requested value
5991 into account instead of always looping through the complete list.
5993 Fix coding style a bit, everywhere else we use "return foo" instead
5996 * tests/check/libs/controller.c: (GST_START_TEST),
5997 (gst_controller_suite):
5998 Add unit test for the protection against too large or too small
6001 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
6003 * docs/random/slomo/controller.txt:
6004 Add some thoughts about the future of the controller.
6006 2007-06-08 Wim Taymans <wim@fluendo.com>
6008 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
6009 Don't overflow in retimestamping code.
6011 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
6013 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
6014 Use gst_util_guint64_to_gdouble for conversions.
6015 * win32/common/libgstreamer.def:
6016 Add new exported functions.
6018 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
6021 Small docs addition.
6023 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6026 Remove that test line again.
6028 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6031 Test commit mail sending.
6033 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6036 Fix typo and test commit mail sending.
6038 2007-06-07 Stefan Kost <ensonic@users.sf.net>
6040 * tests/examples/controller/audio-example.c:
6041 Improve comment and test commit mail sending.
6043 2007-06-07 Wim Taymans <wim@fluendo.com>
6045 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
6046 (gst_bin_remove_func), (gst_bin_element_set_state),
6047 (bin_handle_async_start), (bin_handle_async_done),
6048 (gst_bin_handle_message_func):
6049 Add helper function to find messages.
6050 Generate the async-done messages together with the state change
6052 Small cleanups in handling toplevel bins.
6054 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6056 * libs/gst/base/gstdataqueue.c:
6057 * libs/gst/base/gstdataqueue.h:
6058 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
6059 (gst_multi_queue_item_new), (gst_multi_queue_chain),
6060 (gst_multi_queue_sink_event):
6061 * tests/check/elements/multiqueue.c: (multiqueue_suite):
6062 Fix multiqueue leaking buffers and events when downstream or the
6063 queue are flushing. Make refcounting assumptions explicit and
6064 document them (shouldn't break existing code that uses it other than
6065 maybe leak miniobjects, but that already happens anyway). Add unit
6066 test for the most common flushing case. Fixes #423700.
6068 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6070 * libs/gst/controller/gstcontroller.c:
6071 Clarify docs: The get_all, get_value_array(s) functions
6072 don't modify the GObject properties.
6074 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
6076 * libs/gst/controller/gstcontroller.c:
6077 (gst_controlled_property_set_interpolation_mode),
6078 (gst_controlled_property_prepend_default),
6079 (gst_controlled_property_new), (gst_controller_set_unlocked),
6080 (gst_controller_set), (gst_controller_set_from_list),
6081 (gst_controller_unset), (gst_controller_unset_all):
6082 * libs/gst/controller/gstcontrollerprivate.h:
6083 * libs/gst/controller/gstinterpolation.c:
6084 Factor out the 'set' logic into gst_controller_set_unlocked for the
6085 gst_controller_set and gst_controller_set_from_list functions.
6087 To make life of the interpolators easier always add a control point
6088 at timestamp zero with the default value.
6090 In the linear interpolator make things more obvious by better variable
6093 Implement cubic interpolation mode (by using a natural cubic spline)
6094 and map the quadratic interpolation mode to this too (as quadratic
6095 doesn't make much sense, see discussion on the list).
6097 * tests/check/libs/controller.c: (GST_START_TEST),
6098 (gst_controller_suite):
6099 Add unit test for the cubic interpolation mode and check everywhere
6100 if the interpolation mode could be set as expected.
6102 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6104 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6105 Don't use GLib-2.10 functions, we still depend on
6106 GLib-how-old-is-it-again-2.8.
6108 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6110 * docs/gst/gstreamer-sections.txt:
6114 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6115 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6116 (_gst_param_fraction_values_cmp),
6117 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6118 * gst/gstparamspecs.h:
6120 * tests/check/Makefile.am:
6121 * tests/check/gst/.cvsignore:
6122 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6123 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6124 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6125 (GST_START_TEST), (gst_param_spec_suite):
6126 API: add GstParamSpecFraction, so elements can have fraction
6127 properties without lots of painful string parsing (#444648).
6129 2007-06-05 Wim Taymans <wim@fluendo.com>
6131 * gst/gstobject.c: (gst_object_class_init):
6132 Fix signal signature.
6135 Add small clarification in the api docs.
6137 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6138 States are protected with object lock.
6140 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6143 I should probably be listed as an author by now.
6145 * docs/random/release:
6146 Update the release doc
6148 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6151 Make docs for gst_value_compare() mention return enums that
6154 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6159 === release 0.10.13 ===
6161 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6164 releasing 0.10.13, "With or without you"
6166 2007-05-25 Wim Taymans <wim@fluendo.com>
6168 * gst/gstbin.c: (bin_handle_async_done):
6169 Make sure that the child bin stops after completing the async state
6170 change so that the parent can continue the state change to PLAYING.
6173 2007-05-25 Wim Taymans <wim@fluendo.com>
6175 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6176 (unref_data), (gst_collect_pads_remove_pad),
6177 (gst_collect_pads_check_pads):
6178 Use additional refcounting to avoid crashes when dynamically adding and
6179 removing pads. Fixes #420206.
6181 2007-05-24 Wim Taymans <wim@fluendo.com>
6183 * tools/gst-launch.c: (event_loop):
6184 When buffering goes from a two digit to a single digit number, make sure
6185 to remove the old second digit by writing a blank over it.
6187 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6189 * libs/gst/base/gstdataqueue.c:
6190 Eliminate tabs and trailing comma in enum list; fix some typos.
6192 2007-05-24 Wim Taymans <wim@fluendo.com>
6194 * tests/check/gst/gstbin.c: (GST_START_TEST):
6195 Allow refcount of 3 and 4 because some state thread might still be busy
6198 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6200 * plugins/elements/Makefile.am:
6201 * plugins/elements/gstmultiqueue.h:
6202 * plugins/elements/gstqueue.h:
6203 These are not installed headers, no need for padding.
6205 2007-05-24 Wim Taymans <wim@fluendo.com>
6207 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6208 (gst_bin_continue_func):
6209 Enable latency for next release.
6210 Restore STATE_LOCK around recalc_state that was left out during the
6211 rewrite and could result in racy behaviour when _get_state and
6212 recalc_state are run concurrently. See #440463.
6214 2007-05-23 Wim Taymans <wim@fluendo.com>
6216 * tests/check/gst/gstsystemclock.c: (store_callback),
6218 Improve test_async_order to also work when both timers are already
6219 expired when we get scheduled to check it.
6221 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6223 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6224 (gst_bin_set_property), (gst_bin_get_property),
6225 (gst_bin_remove_func), (gst_bin_handle_message_func):
6227 'private' is a c++ keyword, let's not use that in header files,
6228 otherwise c++ compilers will throw a tantrum.
6230 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6232 * plugins/elements/gstelements.c:
6233 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6234 (gst_file_sink_get_current_offset):
6235 * plugins/indexers/gstindexers.c: (plugin_init):
6236 Use #ifdef for HAVE_XYZ for consistency.
6238 * tests/check/Makefile.am:
6239 * tests/check/elements/.cvsignore:
6240 * tests/check/elements/filesink.c: (setup_filesink),
6241 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6242 Add some unit tests for filesink.
6244 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6246 Patch by: Mark Nauwelaerts <manauw at skynet be>
6248 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6249 (gst_file_sink_query), (gst_file_sink_do_seek),
6250 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6251 * plugins/elements/gstfilesink.h:
6252 Fix position reporting; rename data_written member to current_pos to
6253 reflect its real meaning (fixes #412648).
6255 2007-05-22 Edward Hervey <edward@fluendo.com>
6257 * docs/gst/gstreamer-sections.txt:
6258 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6259 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6260 (gst_bin_remove_func), (gst_bin_handle_message_func):
6262 Add a property for bins that handle the state change of their childs.
6265 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6267 * libs/gst/controller/gstinterpolation.c:
6268 Use an array of the correct type when using _get_value_array with
6269 linear interpolation.
6271 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6273 * gst/gstelement.c (gst_element_requires_clock,
6274 gst_element_provides_clock, gst_element_request_pad,
6275 gst_element_class_set_details, gst_element_class_set_details_simple,
6276 gst_element_default_send_event, gst_element_abort_state,
6277 gst_element_continue_state, gst_element_set_state,
6278 gst_element_set_state_func, iterator_activate_fold_with_resync):
6279 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6280 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6281 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6282 gst_pad_get_range, gst_pad_pull_range):
6283 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6284 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6285 GstPadActivateModeFunction, GstPadChainFunction,
6286 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6287 GstPadFixateCapsFunction, GstPadTemplate):
6288 * gst/gstpipeline.c (gst_pipeline_change_state,
6289 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6290 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6291 gst_pipeline_get_delay):
6292 Whitespace and docs fixes.
6294 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6296 * libs/gst/controller/gstinterpolation.c:
6297 (interpolate_trigger_get_enum_value_array),
6298 (interpolate_trigger_get_string_value_array):
6299 Add support for retrieving value arrays when using the trigger
6302 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6304 * libs/gst/controller/gstcontroller.c:
6305 (gst_controller_get_value_array):
6306 * libs/gst/controller/gstcontroller.h:
6307 Clarify the docs of gst_controller_get_value_array(): The array where
6308 the values should be written to must be allocated as there seems to be
6309 no way to get the size of a random GType. This doesn't change any
6310 behaviour. Also fix some typos all over the place and remove an unused,
6311 commented function that is not necessary as g_object_set() could be
6313 * tests/check/libs/controller.c: (GST_START_TEST),
6314 (gst_controller_suite):
6315 Add unit test for gst_controller_get_value_array().
6317 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6319 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6321 Disable part of the gst_buffer_try_new_and_alloc test, because
6322 it can happily succeed on 64-bit systems where there's more address
6325 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6327 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6328 Add unit test for the improved caps checking from bug #421543.
6330 2007-05-21 Wim Taymans <wim@fluendo.com>
6332 * docs/design/part-synchronisation.txt:
6335 * gst/gstbin.c: (gst_bin_query):
6336 * plugins/elements/gstqueue.c: (apply_segment):
6342 2007-05-21 Wim Taymans <wim@fluendo.com>
6344 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6345 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6346 (gst_pad_configure_src):
6347 Added simple version of improved caps checking. It was previously
6348 assumed that a setcaps function would check the validity of the caps but
6349 people prefer us to check caps against the template automatically.
6352 2007-05-21 Wim Taymans <wim@fluendo.com>
6354 * libs/gst/base/gstbasetransform.h:
6355 Fix macro for locking/unlocking the transform lock.
6357 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6359 * docs/plugins/tmpl/.cvsignore:
6362 2007-05-18 Edward Hervey <edward@fluendo.com>
6364 * plugins/elements/gstqueue.c: (gst_queue_loop):
6365 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6366 for the subtle art of warning a potentially blocking thread that it
6367 should check the source pad return value, and relay the information
6370 2007-05-18 Edward Hervey <edward@fluendo.com>
6372 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6373 Release the queue lock !
6375 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6377 * docs/libs/gstreamer-libs-sections.txt:
6378 Add the two new controller functions to the appropiate places.
6380 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6382 reviewed by: Stefan Kost <ensonic@users.sf.net>
6384 * libs/gst/controller/gstcontroller.c:
6385 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6386 (_gst_controller_get_property), (_gst_controller_set_property),
6387 (_gst_controller_init), (_gst_controller_class_init):
6388 * libs/gst/controller/gstcontroller.h:
6389 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6390 (gst_object_get_control_rate), (gst_object_set_control_rate):
6391 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6392 Add API that provides sync suggestion timestamps for elements that
6393 call gst_object_sync_values() from which those elements can subdivide
6394 their processing loop to get the best results for the controlled
6395 properties. For now it just suggests last_sync + control_rate as
6396 new timestamp but this will be improved in the future.
6398 While doing that change the control-rate property to a GstClockTime
6399 from guint and change it's meaning from samples to nanoseconds as
6400 the GstController doesn't know anything about sampling rate. Strictly
6401 speaking this breaks ABI but as the control-rate property didn't do
6402 anything in the past and as such couldn't be used this should be no
6405 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6407 reviewed by: Stefan Kost <ensonic@users.sf.net>
6409 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6410 (gst_controller_unset_all):
6411 * libs/gst/controller/gstcontrollerprivate.h:
6412 * libs/gst/controller/gstinterpolation.c:
6413 (gst_controlled_property_find_control_point_node):
6414 Save last synced value from the list to continue searching from there
6415 in future syncs. This speeds everything up a bit.
6417 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6419 reviewed by: Stefan Kost <ensonic@users.sf.net>
6421 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6422 (gst_control_point_find), (gst_controlled_property_new),
6423 (gst_control_point_free), (gst_controlled_property_free),
6424 (gst_controller_set), (gst_controller_set_from_list),
6425 (gst_controller_unset), (gst_controller_unset_all),
6426 (gst_controller_sync_values):
6427 * libs/gst/controller/gstcontroller.h:
6428 * libs/gst/controller/gstcontrollerprivate.h:
6429 * libs/gst/controller/gstinterpolation.c:
6430 (gst_controlled_property_find_control_point_node),
6431 (interpolate_none_get), (interpolate_trigger_get):
6432 Add a new private GstControlPoint struct which "inherits" from
6433 GstTimedValue to allow different interpolators to store internal
6434 values next to each control point. From the outside everything is
6435 still a GstControlPoint so we don't loose binary compatibility.
6436 Also fixup all the GValue handling to not leak GValues or list nodes.
6437 * tests/check/libs/controller.c: (GST_START_TEST):
6438 Free the list nodes and GValues in the controller_misc test.
6440 2007-05-17 Edward Hervey <edward@fluendo.com>
6445 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6447 * gst/gstplugin.c: (gst_plugin_load_file):
6448 If we fail to load a plugin because of unresolved symbols or missing
6449 libraries and spew a warning to stderr, we may just as well mention
6450 which plugin it was that failed to load.
6452 2007-05-13 David Schleef <ds@schleef.org>
6454 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6455 handles the case when ENABLE_GTK_DOC is false, and installs
6456 the prebuilt documentation. So gtk-doc subdirs are
6457 unconditionally enabled. Fixes: #349099.
6459 2007-05-13 David Schleef <ds@schleef.org>
6461 * gst/gstutils.h: Reword some documentation.
6463 2007-05-12 David Schleef <ds@schleef.org>
6465 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6466 do anything with the passed "module" parameter, so remove it.
6467 Allows removal of additional vestigal code.
6469 2007-05-12 David Schleef <ds@schleef.org>
6472 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6473 Switch to using g_stat() because it's more portable.
6475 2007-05-12 David Schleef <ds@schleef.org>
6478 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6479 parsing for embedded systems.
6480 * gst/gstelementfactory.c:
6481 Allow gst_element_register() to be called with plugin==NULL.
6482 Did nobody notice that static elements were broken?
6484 2007-05-12 Wim Taymans <wim@fluendo.com>
6486 * tools/gst-launch.c: (event_loop):
6487 Give more interesting info when buffering starts and stops.
6488 Fix case where buffering starts but we fail to update the buffering flag
6489 because the target state is not PLAYING.
6491 2007-05-12 Wim Taymans <wim@fluendo.com>
6493 * plugins/elements/gstqueue.c: (gst_queue_init),
6494 (gst_queue_finalize), (update_time_level), (apply_segment),
6495 (apply_buffer), (gst_queue_locked_flush),
6496 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6497 (gst_queue_handle_sink_event), (gst_queue_chain),
6498 (gst_queue_push_one), (gst_queue_loop):
6499 * plugins/elements/gstqueue.h:
6500 Refactor an cleanup queue a bit.
6501 Do better time level calculations that also work when the srcpad is not
6503 Remove some unneeded debug lines.
6505 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6506 Added testcase for time level measurement.
6507 Try to make some stuff more racefree.
6509 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6511 * gst/gsturi.c: (gst_element_make_from_uri):
6512 Don't leak plugin feature.
6514 * tests/check/Makefile.am:
6515 * tests/check/gst/.cvsignore:
6516 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6517 Add brain-dead unit test.
6519 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6521 Patch by: Jeroen Wouters <woutersj at gmail com>
6523 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6524 Treat protocol strings in a case-insensitive way (#437563).
6526 2007-05-11 Michael Smith <msmith@fluendo.com>
6528 * gst/gstplugin.c: (gst_plugin_load_file):
6529 * gst/gstregistry.c: (gst_registry_scan_path_level):
6530 Don't print a g_warning for any failure to load a shared object.
6531 Instead, push this down into gstplugin.c, and warn _only_ if we
6532 failed to open the module (i.e. failure to link).
6533 Avoids warnings on normal, working, non-plugin .so files.
6535 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6537 * gst/gstplugin.c (gst_plugin_load_file):
6538 * gst/gstregistry.c (GST_CAT_DEFAULT,
6539 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6540 Print a g_warning if there was an error when loading a plugins during
6541 registry scan. The shuld help beginners starting with gst-plugin
6544 2007-05-10 Wim Taymans <wim@fluendo.com>
6546 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6547 (update_time_level), (gst_queue_locked_flush),
6548 (gst_queue_handle_sink_event), (gst_queue_chain),
6549 (gst_queue_push_one), (gst_queue_loop):
6550 * plugins/elements/gstqueue.h:
6551 Be smarter when calculating the current amount of data in the queue by
6552 measuring the difference between start and end timestamps (in running
6553 time) inside the queue. Fixes #432876.
6554 API: GstQueue::pushing to notify elements that we are pushing data again
6555 since the running signal is rather broken for this purpose.
6557 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6559 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6560 gst_queue_base_init, gst_queue_init):
6563 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6565 * win32/common/libgstreamer.def:
6566 Add new exported functions.
6567 * win32/vs6/grammar.dsp:
6568 Use grammar pre-generated files.
6570 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6572 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6575 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6577 * gst/gstutils.c: (gst_parse_bin_from_description):
6579 Maintain API and ABI when --disable-parse is used. Now that
6580 we have an appropriate error code, we can just return NULL and the
6581 appropriate error when gst_parse_launch() is used despite it having
6582 been disabled (#342564).
6584 * tests/check/Makefile.am:
6585 * tests/check/pipelines/.cvsignore:
6586 * tests/check/pipelines/parse-disabled.c:
6587 Make sure these functions exist and return NULL plus a GError when
6588 --disable-parse is used.
6590 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6592 * tests/benchmarks/complexity.c: (main):
6593 * tests/benchmarks/mass-elements.c: (main):
6594 Set a good example and don't leak messages.
6596 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6598 * docs/gst/Makefile.am:
6599 * docs/libs/Makefile.am:
6600 Correct fixxrefs options.
6602 * docs/plugins/Makefile.am:
6603 * docs/plugins/gstreamer-plugins-docs.sgml:
6604 * docs/plugins/gstreamer-plugins-sections.txt:
6605 * plugins/elements/Makefile.am:
6606 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6607 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6608 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6609 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6610 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6611 _GstCapsFilterClass, trans_class):
6612 * plugins/elements/gstelements.c (name, rank, type, _elements):
6613 * plugins/elements/gstidentity.c
6614 (gst_identity_check_imperfect_timestamp,
6615 gst_identity_check_imperfect_offset):
6616 Document capsfilter and add doc-blurb to identity.
6618 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6620 * libs/gst/controller/gstcontroller.c:
6621 (gst_controlled_property_set_interpolation_mode):
6622 * libs/gst/controller/gstinterpolation.c:
6623 Don't crash if someone tries to set an interpolation mode that
6624 is invalid or that isn't supported yet. Fixes #422295.
6626 * tests/check/libs/controller.c: (GST_START_TEST),
6627 (gst_controller_suite):
6628 Add a test case for the above.
6630 2007-05-03 Edward Hervey <edward@fluendo.com>
6632 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6633 Properly set the last_stop position on GstSegment. This will only happen
6634 if there is a buffer to push out.
6636 2007-05-03 Wim Taymans <wim@fluendo.com>
6638 * libs/gst/base/gstbasetransform.c:
6639 (gst_base_transform_buffer_alloc):
6640 always_in_place does not mean that the sink and source caps are the
6641 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6643 2007-05-03 Wim Taymans <wim@fluendo.com>
6645 * docs/libs/gstreamer-libs-sections.txt:
6646 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6647 (gst_base_src_default_query), (gst_base_src_get_range):
6648 * libs/gst/base/gstbasesrc.h:
6649 API: gst_base_src_query_latency(). Added method so that subclasses can
6650 easily get the latency values of the base source class.
6652 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6654 * tools/gst-inspect.c (print_implementation_info):
6657 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6659 * tools/Makefile.am:
6660 * tools/gst-launch.1.in:
6661 Don't create a customised man page based on the host architecture,
6662 describe the default registry path generically. That way the man
6663 page is the same for all architectures and packagers have one
6664 multilib issue less to deal with. Fixes #434926.
6666 2007-05-02 Wim Taymans <wim@fluendo.com>
6669 Fix documentation as spotted by rg on IRC.
6671 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6674 Improve docs for gst_element_{link,unlink}.
6676 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6678 * docs/design/part-events.txt:
6679 * docs/design/part-overview.txt:
6683 * libs/gst/base/gstbasesink.c:
6684 Typo fixes; minor docs addition.
6686 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6688 * docs/gst/gstreamer-sections.txt:
6689 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6690 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6692 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6693 or src that supports a given URI protocol exists.
6695 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6697 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6698 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6699 Set the location to NULL if "file://" is set as URI. Otherwise
6700 some random previous URI would still be set if "file://" is
6701 set on an already used filesink/filesrc.
6703 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6705 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6706 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6707 Special case the "file://" URI as as this is used by some
6708 applications to test with gst_element_make_from_uri if there's
6709 an element that supports the URI protocol.
6710 Also move the g_path_is_absolute() check for the location part
6711 of the URI to also check this for "file://localhost/bla" URIs.
6713 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6715 * docs/gst/gstreamer-sections.txt:
6716 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6718 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6720 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6722 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6724 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6725 (gst_registry_binary_load_pad_template),
6726 (gst_registry_binary_load_plugin),
6727 (gst_registry_binary_read_cache):
6728 * gst/gstregistrybinary.h:
6729 Implement no-mmap alternative for registry reading. Do code cleanups.
6730 Add more comments about avoiding strdups for all text data. Comments
6733 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6735 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6736 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6737 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6738 Comment structs and reformat to fix the build (that stuff should go
6739 into a priv. header).
6741 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6743 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6744 (gst_registry_binary_load_feature):
6745 * gst/gstregistrybinary.h:
6746 Refactor so that we can implement multiple features. Add support for
6747 TypeFindFactory features.
6749 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6751 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6754 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6756 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6758 * gst/gstbin.c: (gst_bin_element_set_state),
6759 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6760 (bin_handle_async_done), (gst_bin_handle_message_func):
6761 Fix build with --gst-disable-gst-debug
6763 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6765 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6766 Make sure streaming has finished before calling the ::stop() vfunc,
6767 since that vfunc might clear state which is being used in the
6768 streaming thread. This fixes a race that caused crashes in
6769 audioresample when shutting down a pipeline (#420106).
6771 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6773 * docs/gst/gstreamer-sections.txt:
6774 That was one byte missing.
6776 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6779 * docs/gst/gstreamer-sections.txt:
6781 * gst/gstconfig.h.in:
6782 * gst/gstobject.c: (gst_object_class_init),
6783 (gst_signal_object_class_init):
6785 2nd attempt to have a xml-less build as a joined effort of #413123
6788 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6790 * docs/design/draft-tagreading.txt:
6791 Added open issues/thoughts to draft.
6793 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6795 * gst/parse/grammar.tab.pre.c:
6796 * gst/parse/grammar.tab.pre.h:
6797 * gst/parse/lex._gst_parse_yy.pre.c:
6798 Update the prebuild parser sources.
6800 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6802 * gst/parse/Makefile.am:
6803 And now fix the building of the flex sources. Now everything should
6806 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6808 * gst/parse/Makefile.am:
6809 Now hopefully fix the build failures by setting proper rule
6810 dependencies and moving instead of copying.
6812 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6814 * tests/benchmarks/complexity.gnuplot:
6815 * tests/benchmarks/complexity.scm:
6816 * tests/benchmarks/mass-elements.gnuplot:
6817 * tests/benchmarks/mass-elements.scm:
6818 Total licensification.
6820 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6822 * gst/parse/Makefile.am:
6823 Fix the build by correcting the rule that gave wrong files to flex.
6825 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6827 * tests/benchmarks/complexity.c:
6828 * tests/benchmarks/mass-elements.c:
6829 Change licence to LGPL as granted by Benjamin and Andy.
6831 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6833 * gst/parse/Makefile.am:
6834 Add correct grammar.tab.h dependency if compiling without new enough
6835 flex. Fixes #431150.
6837 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6839 * gst/parse/Makefile.am:
6840 Fix typo and use outdated sources if the flex/bison sources are newer
6841 than the pregenerated ones but flex is too old. Print a warning in
6842 that case. This should fix the build on the build bot.
6844 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6846 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6847 * gst/parse/Makefile.am:
6848 * gst/parse/grammar.y:
6849 * gst/parse/parse.l:
6850 Make the parser reentrant and recursively callable. This requires flex
6851 >= 2.5.31, for older versions pregenerated sources are used as we
6852 can't bump the build dependency. Finally fixes #349180.
6854 * gst/gstparse.c: (gst_parse_launch):
6855 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6858 * docs/gst/Makefile.am:
6859 * docs/gst/Makefile.am:
6860 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6861 (__gst_parse_strfree), (__gst_parse_link_new),
6862 (__gst_parse_link_free), (__gst_parse_chain_new),
6863 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6864 (gst_parse_element_set), (gst_parse_free_link),
6865 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6866 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6867 (_gst_parse_launch):
6868 * gst/parse/grammar.tab.pre.h:
6869 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6870 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6871 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6872 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6873 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6874 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6875 (_gst_parse_yypop_buffer_state),
6876 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6877 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6878 (yy_fatal_error), (_gst_parse_yyget_extra),
6879 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6880 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6881 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6882 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6883 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6884 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6885 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6886 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6887 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6888 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6889 (_gst_parse_yyfree):
6890 If the installed flex version is too old use pre-generated parser
6891 sources. These pre-generated parser sources are always updated when
6892 the actual flex/bison sources change but require everybody who wants
6893 to change something in the parser to have flex >= 2.5.31 installed.
6895 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6897 * common/m4/gst-gettext.m4:
6898 * gst/gst-i18n-lib.h:
6899 Make --disable-nls to work
6901 2007-04-17 Wim Taymans <wim@fluendo.com>
6903 * gst/gstconfig.h.in:
6904 Revert previous change that broke the build.
6906 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6910 * gst/gstconfig.h.in:
6911 Drop libxml2 dependency when building with
6912 --enable-binary-registry --disable-loadsave
6914 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6916 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6917 (gst_registry_binary_read_cache):
6918 * gst/gstregistrybinary.h:
6919 Remove unnecessary <sys/mman.h> include which broke the win32 build
6920 with MingW; move includes from header file to .c file, even if the
6921 header file isn't installed; use g_strerror() where UTF-8 strings
6922 are expected, such as in GST_DEBUG messages.
6924 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6926 * docs/libs/gstreamer-libs-sections.txt:
6927 Remove bogus addition for API I didn't end up keeping.
6929 * libs/gst/base/gstbasesrc.h:
6930 Mention Since: 0.10.13 in the documentation.
6932 Add the API keyword to the previous ChangeLog entry.
6934 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6936 * docs/libs/gstreamer-libs-sections.txt:
6937 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6938 (gst_base_src_default_prepare_seek_segment),
6939 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6940 * libs/gst/base/gstbasesrc.h:
6941 Allow basesrc derived classes to execute seeks in other formats
6942 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6943 to prepare the GstSegment in any format that their perform_seek method
6944 will be able to understand. The default implementation provides the
6945 old behaviour of attempting to convert the seek offsets to the
6946 configured native format.
6948 API: basesrc::prepare_seek_segment vmethod.
6950 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6952 * gst/gstelement.c: (gst_element_get_state_func):
6953 Don't output the same debug statement twice.
6955 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6956 (gst_adapter_peek), (gst_adapter_take_buffer):
6957 Optimise the case where we have buffers at the head of the queue that
6958 can be joined quickly (because they're contiguous sub-buffers) by
6959 merging them together rather than copying data out into new memory.
6961 * gst/parse/grammar.y:
6962 * tests/check/pipelines/parse-launch.c:
6963 Fix a leak in an error path for parse_launch, and add a check
6964 for it to the testsuite.
6966 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6968 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6969 Don't deadlock when releasing a pad - gst_pad_set_active may try
6970 and take the multiqueue lock too.
6972 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
6974 * gst/gsterror.c: (_gst_core_errors_init):
6976 API: add GST_CORE_ERROR_DISABLED (#392804).
6978 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6980 * docs/faq/gst-uninstalled:
6981 don't get empty paths on the PATH variables
6982 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6983 Don't format for the uncommon terminal width of 84 characters.
6985 2007-04-06 Wim Taymans <wim@fluendo.com>
6987 * gst/gstpipeline.c: (reset_stream_time),
6988 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6989 Only try to select a different pipeline clock when we went back to
6990 PAUSED and not when we merely got flushed.
6992 2007-04-05 Michael Smith <msmith@fluendo.com>
6994 * tools/gst-launch.1.in:
6995 fractions are better supported in gstreamer than ractions, so
6996 suggest using those.
6998 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
7000 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
7004 Added Danish translation.
7006 2007-04-05 Wim Taymans <wim@fluendo.com>
7008 * libs/gst/base/gstbasesink.c:
7009 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
7010 Fix leak caused when refusing newsegment after EOS.
7012 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
7013 (gst_fake_sink_init), (gst_fake_sink_set_property),
7014 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
7015 (gst_fake_sink_render), (gst_fake_sink_change_state):
7016 * plugins/elements/gstfakesink.h:
7017 Add num-buffers property to make the element generate EOS after a
7018 configurable amount of buffers.
7019 API: fakesink::num-buffers property.
7021 * tests/check/elements/fakesink.c: (GST_START_TEST),
7023 Fix GstBus leak in test.
7024 Test for fakesink num-buffers.
7026 2007-04-05 Wim Taymans <wim@fluendo.com>
7028 * libs/gst/base/gstbasesink.c:
7029 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
7030 (gst_base_sink_change_state):
7031 Don't accept anything after an EOS, return UNEXPECTED instead.
7033 * tests/check/elements/fakesink.c: (GST_START_TEST),
7035 Unit test for new EOS behaviour.
7037 2007-04-05 Wim Taymans <wim@fluendo.com>
7039 * gst/gstelement.c: (gst_element_get_request_pad):
7040 Make padtemplates also work when they don't contain %s or %d.
7042 2007-04-05 Wim Taymans <wim@fluendo.com>
7044 * docs/gst/gstreamer-sections.txt:
7045 * gst/gstclock.c: (gst_clock_adjust_unlocked),
7046 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
7048 Improve _adjust_unlocked() so that it overflows less.
7049 Add gst_clock_unadjust_unlocked to convert from external time to
7050 internal time based on calibration.
7051 Add some more debug.
7052 API: GstClock::gst_clock_unadjust_unlocked()
7054 2007-04-03 Wim Taymans <wim@fluendo.com>
7056 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
7058 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
7059 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
7060 when releasing sink pad. Fixes #425400.
7062 2007-04-02 Stefan Kost <ensonic@users.sf.net>
7064 * docs/random/ensonic/dynlink.txt:
7065 More work on proposal for new core api.
7067 * docs/libs/gstreamer-libs-sections.txt:
7068 * libs/gst/base/gstbasetransform.h:
7069 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
7071 * libs/gst/controller/gstcontroller.c:
7072 (on_object_controlled_property_changed),
7073 (gst_controller_sync_values),
7074 (gst_controller_set_interpolation_mode):
7075 * libs/gst/controller/gstcontroller.h:
7076 Less verbose logging add docs for unimplemented parts and correctly
7077 return when using unavailable parts.
7079 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7081 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
7082 Move all the debug to the CLOCK category, and associate it with
7085 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
7087 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
7088 Make take_buffer a bit quicker by removing redundant checks
7089 caused by calling gst_adapter_take.
7091 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7093 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7096 * tests/check/Makefile.am:
7097 * tests/check/elements/.cvsignore:
7098 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7099 (GST_START_TEST), (multiqueue_suite):
7100 Add some dead simple unit tests for the 'multiqueue' element
7101 (some bits don't work yet and are disabled for now).
7103 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7105 * gst/gstelement.c: (gst_element_get_request_pad),
7106 (gst_element_class_get_request_pad_template):
7107 Make gst_element_get_request_pad() create request pads only for
7108 request pad templates and not for, say, sometimes pad templates.
7110 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7112 * docs/design/draft-klass.txt:
7113 Add example that needs more thinking.
7115 * docs/design/draft-missing-plugins.txt:
7116 More thoughts about wrapper plugins.
7118 * docs/random/ensonic/embedded.txt:
7119 * docs/random/ensonic/profiling.txt:
7122 2007-03-25 Wim Taymans <wim@fluendo.com>
7124 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7125 (gst_base_src_loop):
7126 Only push the segment events in the PLAYING state for live sources.
7128 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7130 * gst/gstpipeline.c: (gst_pipeline_change_state):
7131 Modify the clock distribution path in PAUSED->PLAYING so that we
7132 never attempt to choose a new clock unless we're actually leaving
7133 the PAUSED state for the first time. This prevents choosing a
7134 different clock when the state_change gets called for a 2nd time due
7135 to some element doing an async state change.
7137 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7139 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7140 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7141 (gst_pad_chain_unchecked), (gst_pad_push):
7142 Revert last commit. This needs some more thoughts.
7144 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7146 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7147 (gst_pad_chain_unchecked), (gst_pad_push):
7148 Check in set_caps if the caps are compatible with the pad and remove
7149 two functions that are redundant now. Fixes #421543.
7151 2007-03-22 Wim Taymans <wim@fluendo.com>
7153 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7154 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7155 Unref some more to make valgrind happy.
7157 2007-03-22 Wim Taymans <wim@fluendo.com>
7159 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7160 (gst_system_clock_id_wait_jitter),
7161 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7162 Fix anoying regression that survived a few releases. When adding an
7163 async entry while blocking on a sync entry, the sync entry will unblock
7164 but still be busy, so it should continue to wait instead of returning
7166 Add some comments here and there.
7168 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7169 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7170 Add testcase for this.
7172 2007-03-22 Wim Taymans <wim@fluendo.com>
7174 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7175 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7176 WRONG_STATE and can silently pause the task. All other cases should
7179 2007-03-22 Wim Taymans <wim@fluendo.com>
7181 Patch by: Ville Syrjala <syrjala at sci dot fi>
7183 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7184 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7187 2007-03-21 Michael Smith <msmith@fluendo.com>
7189 * docs/pwg/advanced-types.xml:
7190 Fix some errors in the typefinding docs pointed out on irc.
7192 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7194 * libs/gst/base/gstbasesrc.c:
7195 Clarify FIXME comment in the face of having added unlock_stop()
7197 2007-03-21 Wim Taymans <wim@fluendo.com>
7199 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7200 Prepare for release where we warn against possible app breakage in the
7201 case of live pipelines along with an env var to enable/disable live
7202 preroll mode (GST_COMPAT=[no-]live-preroll).
7204 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7206 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7207 So we should use correct constants for checking for None offset.
7209 2007-03-20 Wim Taymans <wim@fluendo.com>
7211 * docs/design/part-block.txt:
7212 Mention the fact that the newly switched element should be set to at
7215 2007-03-20 Wim Taymans <wim@fluendo.com>
7218 Fix compilation with registry disabled as spotted by Saur.
7220 2007-03-20 Wim Taymans <wim@fluendo.com>
7222 Patch by: Olivier Crete <tester at tester dot ca>
7224 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7225 Look at the pending state too when syncing the element state to the
7226 parent. Fixes #420133.
7228 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7230 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7231 (gst_base_sink_change_state):
7232 * libs/gst/base/gstbasesink.h:
7233 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7234 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7235 (gst_base_src_deactivate):
7236 * libs/gst/base/gstbasesrc.h:
7237 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7238 for sub-classes to correctly clear any state they set trying to
7239 unlock, such as clearing out unlock commands from a command fd.
7240 API: basesrc::unlock_stop
7241 API: basesink::unlock_stop
7243 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7244 (gst_fd_sink_render), (gst_fd_sink_unlock),
7245 (gst_fd_sink_unlock_stop):
7246 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7247 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7248 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7250 Implement unlock_stop in fdsrc and fdsink.
7251 Implement seeking in fdsrc when a seekable fd is passed, as in
7252 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7254 2007-03-19 Wim Taymans <wim@fluendo.com>
7256 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7258 * gst/gstelement.c: (gst_element_class_init):
7259 Fix pad-added and pad-removed signal signatures so that the pad type is
7260 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7262 2007-03-19 Wim Taymans <wim@fluendo.com>
7264 * docs/gst/gstreamer-sections.txt:
7265 Add new element field and method.
7267 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7268 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7269 (gst_bin_recalc_state), (gst_bin_get_state_func),
7270 (gst_bin_element_set_state), (gst_bin_change_state_func),
7271 (gst_bin_continue_func), (bin_bus_handler),
7272 (bin_push_state_continue), (bin_handle_async_start),
7273 (bin_handle_async_done), (gst_bin_handle_message_func):
7274 Make async state changes a bit smarter by using new ASYNC_START and
7275 ASYNC_DONE messages. This reduces the number of times we run the state
7276 recalculation thread.
7277 Don't change state of element with a pending ASYNC_START message.
7278 Deprecate STATE_DIRTY messages.
7280 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7281 (gst_element_get_state_func), (gst_element_continue_state),
7282 (gst_element_lost_state), (gst_element_set_state_func),
7283 (gst_element_change_state):
7285 Keep the state that was last set by the app in a new element field.
7286 Don't allow state changes when handling an element event.
7287 Post ASYNC_START and ASYNC_DONE messages.
7288 Change lost_state so that we go to PAUSED and wait for the parent to set
7289 us to PLAYING again (so latency calculation can be performed)
7290 Export gst_element_change_state() method so that subclasses can use it.
7291 API: gst_element_change_state()
7292 API: GST_STATE_TARGET
7294 * gst/gstpipeline.c: (gst_pipeline_class_init),
7295 (reset_stream_time), (gst_pipeline_change_state),
7296 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7297 Using the new ASYNC_START message we can reset the base_time when
7298 needed. This can then be used to implement base_time redistribution in
7299 flushing seeks so that we can remove the explicit seek handling.
7300 Perform latency query and configuration when going to PLAYING.
7302 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7303 (gst_base_sink_query), (gst_base_sink_change_state):
7304 Post new ASYNC_START/ASYNC_DONE messages.
7306 * tests/check/generic/sinks.c: (GST_START_TEST):
7307 Fix test because the bin will not set the async element to PLAYING right
7310 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7311 Make the message check a little stronger.
7312 Handle ASYNC messages.
7314 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7315 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7316 Expect ASYNC_DONE messages.
7318 2007-03-19 Wim Taymans <wim@fluendo.com>
7320 * docs/gst/gstreamer-sections.txt:
7321 * gst/gstmessage.c: (gst_message_new_async_start),
7322 (gst_message_new_async_done), (gst_message_parse_info),
7323 (gst_message_parse_async_start):
7325 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7328 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7330 * tools/gst-inspect.c:
7331 (print_plugin_automatic_install_info_codecs):
7332 Now that we don't check for the 'Codec' keyword any longer in the
7333 klass, we shouldn't spew a warning if the klass isn't a decoder or
7334 encoder (since it might be a Source/Network, for example).
7336 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7338 * tools/gst-inspect.c:
7339 (print_plugin_automatic_install_info_codecs):
7340 Don't require decoder/demuxer/depayloader elements or
7341 encoder/muxer/paylader elements to have 'Codec' as part of their
7342 factory class string when introspecting a plugin's capabilities.
7343 draft-klass.txt mentions that it might be removed in future, and
7344 flump3dec doesn't have it as part of its class string, so chances
7345 are others might also not have it.
7347 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7369 Update translations from translation project
7371 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7373 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7374 (gst_child_proxy_set_property):
7375 Invert precondition check to be alike the ones in the mimiced gobject
7378 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7380 * docs/design/draft-tagreading.txt:
7381 * docs/random/ensonic/audiobaseclasses.txt:
7382 Do some Architect work.
7384 * gst/gstobject.c: (gst_object_set_name):
7388 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7390 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7392 * gst/gstsystemclock.c: (gst_system_clock_init),
7393 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7394 Defer starting the async system clock thread until the first async
7395 wait is scheduled. Fixes #414986.
7397 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7399 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7400 (gst_single_queue_free):
7401 Fix small leak (free GstSingleQueue structure too, not only contents).
7403 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7405 * gst/gstbin.c:(gst_bin_add):
7406 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7407 * win32/common/libgstbase.def:
7408 * win32/common/libgstreamer.def:
7409 Add new exported functions.
7411 2007-03-09 Wim Taymans <wim@fluendo.com>
7413 * docs/plugins/gstreamer-plugins-sections.txt:
7416 2007-03-09 Wim Taymans <wim@fluendo.com>
7418 * docs/gst/gstreamer-sections.txt:
7419 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7421 Add metadata copy functions. Fixes #393099.
7422 API: gst_buffer_copy_metadata()
7424 * gst/gstutils.c: (gst_buffer_stamp):
7425 * libs/gst/base/gstbasetransform.c:
7426 (gst_base_transform_prepare_output_buffer):
7427 Use new metadata copy functions.
7429 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7431 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7432 (gst_identity_init), (gst_identity_check_perfect),
7433 (gst_identity_check_imperfect_timestamp),
7434 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7435 (gst_identity_set_property), (gst_identity_get_property):
7436 * plugins/elements/gstidentity.h:
7437 Separate out check-imperfect-timestamp and check-imperfect-offset.
7438 Put back check-perfect as it was to keep compatibility.
7440 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7442 * gst/gstelement.c: (gst_element_dispose):
7443 There's no need to warn if VOID_PENDING is not NONE here, as
7444 long as the state is NULL it's ok, and that's checked immediately
7447 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7449 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7450 Fix check for perfect stream to ignore buffers with -1
7451 offsets/offset ends when checking data contiguity.
7453 2007-03-08 Wim Taymans <wim@fluendo.com>
7455 * tools/gst-launch.c: (event_loop):
7456 Print INFO messages.
7458 2007-03-08 Wim Taymans <wim@fluendo.com>
7460 * libs/gst/base/gstbasetransform.c:
7461 (gst_base_transform_sink_eventfunc),
7462 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7463 (gst_base_transform_activate):
7464 * libs/gst/base/gstbasetransform.h:
7465 Add support for dropping buffers with custom GstFlowReturn.
7466 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7467 buffers or dropped buffers.
7469 * docs/libs/gstreamer-libs-sections.txt:
7470 docs for new custom return code.
7472 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7473 Use drop support in base class to implement drop-probability.
7475 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7477 * gst/gst.c: (load_plugin_func):
7478 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7479 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7480 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7481 Remove newlines at end of debug log strings.
7483 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7485 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7486 Only post bus message at max, once per buffer received.
7488 2007-03-07 Wim Taymans <wim@fluendo.com>
7490 * docs/design/Makefile.am:
7491 * docs/design/part-synchronisation.txt:
7492 Add doc about synchronisation
7494 * docs/design/draft-latency.txt:
7495 * docs/design/part-TODO.txt:
7496 * docs/design/part-clocks.txt:
7497 * docs/design/part-events.txt:
7498 * docs/design/part-gstbus.txt:
7499 * docs/design/part-gstpipeline.txt:
7500 * docs/design/part-live-source.txt:
7501 * docs/design/part-messages.txt:
7502 * docs/design/part-overview.txt:
7503 * docs/design/part-streams.txt:
7504 * docs/design/part-trickmodes.txt:
7505 Documentation updates.
7507 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7510 Update the doap file.
7512 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7514 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7515 Rename non-perfect to imperfect for Mike and for the sanctity of the
7517 Also make sure bus message gets emitted for data-incontiguities.
7519 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7521 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7522 (gst_identity_start):
7523 * plugins/elements/gstidentity.h:
7524 Emit bus message if check-perfect is true and we encounter a
7525 non-perfect stream between 2 consecutive buffers.
7528 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7533 === release 0.10.12 ===
7535 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7538 releasing 0.10.12, "Inevitable Demise"
7540 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7543 Version 0.10.11.2 (0.10.12 pre-release)
7544 Bump libtool versioning.
7546 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7548 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7549 Log flow-names and not numbers.
7551 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7554 Convert to new AG_GST style.
7556 2007-02-28 Wim Taymans <wim@fluendo.com>
7558 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7559 Don't unref query twice.
7561 2007-02-28 Wim Taymans <wim@fluendo.com>
7563 * gst/gstvalue.c: (gst_value_transform_object_string),
7564 (_gst_value_initialize):
7565 Implement GstObject -> string transform so we print object names
7566 when serializing GValues containing GstObjects.
7568 2007-02-28 Wim Taymans <wim@fluendo.com>
7570 * docs/gst/gstreamer-sections.txt:
7571 Add new stuff to docs.
7573 2007-02-28 Wim Taymans <wim@fluendo.com>
7575 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7576 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7577 (gst_base_sink_change_state):
7578 Improve latency query code.
7579 Don't leak latency events.
7581 * tests/check/gst/gstbin.c: (GST_START_TEST):
7584 2007-02-28 Wim Taymans <wim@fluendo.com>
7586 * gst/gstelement.c: (gst_element_message_full),
7587 (gst_element_get_state_func):
7589 Improve docs a little. Added Since: for new macro.
7591 * gst/gstobject.c: (gst_object_sink):
7592 * gst/gstpipeline.c: (gst_pipeline_change_state),
7593 (gst_pipeline_set_new_stream_time):
7594 * gst/gstpipeline.h:
7595 Improve debugging and docs.
7597 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7600 2007-02-28 Wim Taymans <wim@fluendo.com>
7602 * gst/gstelement.c: (gst_element_message_full),
7603 (gst_element_set_locked_state), (gst_element_get_state_func),
7604 (gst_element_change_state):
7605 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7606 Documentation updates.
7607 Small code cleanups.
7609 * gst/gstmessage.c: (gst_message_new_info),
7610 (gst_message_parse_info):
7612 API: gst_message_new_info()
7613 API: gst_message_parse_info()
7614 Add INFO message create and parse code.
7616 2007-02-28 Wim Taymans <wim@fluendo.com>
7618 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7619 (bin_query_latency_done):
7620 Also report the live parameter of a latency query.
7622 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7624 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7625 Copy the current generic/states example from -base and adapt so
7626 we can use the exact same code everywhere.
7627 Check a STATES_IGNORE_ELEMENTS env var which can be used
7628 to ignore certain element factories for this test, which is
7629 what is being done in -base
7630 * tests/check/Makefile.am:
7631 Mention this environment variable.
7633 2007-02-27 Wim Taymans <wim@fluendo.com>
7635 * docs/gst/gstreamer-sections.txt:
7636 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7637 (gst_bus_timed_pop), (gst_bus_pop):
7639 API: gst_bus_timed_pop()
7640 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7641 message to arrive on the bus.
7643 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7645 Two unit tests for new _timed_pop() function.
7647 2007-02-23 Wim Taymans <wim@fluendo.com>
7649 * gst/gstpipeline.c: (gst_pipeline_change_state),
7650 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7651 Don't ref a NULL clock in _provide_clock_func().
7652 Don't allow an INVALID delay.
7653 Don't try to calculate base_time with an invalid start_time.
7654 Also distribute and notify a NULL clock when it was selected.
7656 * tools/gst-launch.c: (event_loop):
7657 Don't crash when a NULL clock was selected in the pipeline.
7659 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7661 * docs/design/Makefile.am:
7662 * docs/design/draft-missing-plugins.txt:
7663 * docs/random/draft-missing-plugins.txt:
7664 Some small updates: update plugin system identifier prefix
7665 ('gstreamer.net' to 'gstreamer'), mention our new install
7666 API in libgstbaseutils rather than libgimme-codec, add
7667 reference to the online docs.
7669 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7671 * win32/common/config.h:
7672 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7673 use moap cl ci to only check in what is mentioned in the ChangeLog.
7675 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7677 * docs/gst/gstreamer-sections.txt:
7679 Fix up documentation to link to the correct GstGError section.
7680 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7682 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7684 * tools/gst-launch.c: (event_loop):
7685 Make sure that we actually show the important message part of a
7687 No need to check if the gerror is not NULL to free; first of all
7688 g_free accepts NULL; and second the default error handler would
7689 segfault if gerror was NULL.
7691 2007-02-21 Wim Taymans <wim@fluendo.com>
7693 * docs/gst/gstreamer-sections.txt:
7694 Removed docs as well.
7696 2007-02-21 Wim Taymans <wim@fluendo.com>
7698 * gst/gstmessage.c: (gst_message_parse_duration):
7700 Remove new messages for release.
7702 2007-02-20 Wim Taymans <wim@fluendo.com>
7704 * docs/design/part-gstghostpad.txt:
7705 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7706 (gst_ghost_pad_new_full):
7707 Make the ghostpad a parent of the internal pad again for better backward
7708 compatibility. Don't write code that relies on this however.
7710 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7711 (gst_pad_link_check_hierarchy):
7712 Require that parents should be GstElements in the hierarchy check.
7714 2007-02-20 Wim Taymans <wim@fluendo.com>
7716 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7717 (gst_bin_change_state_func), (bin_query_min_max_init),
7718 (bin_query_latency_fold), (bin_query_latency_done),
7721 Implement latency query.
7723 2007-02-20 Wim Taymans <wim@fluendo.com>
7725 * docs/design/part-gstghostpad.txt:
7726 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7727 (gst_ghost_pad_internal_do_activate_push),
7728 (gst_ghost_pad_internal_do_activate_pull),
7729 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7730 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7731 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7732 Do not set the internal pad as a parent anymore so we can avoid
7733 hierarchy linking errors when the ghostpad has no parent yet. This also
7734 fixes failed activation because of unlinked internal pads, which in
7735 turn fixes the impossible case where you have to activate a pad before
7736 you can add it to a running element.
7739 * gst/gstpad.c: (pre_activate), (post_activate),
7740 (gst_pad_set_active), (gst_pad_activate_pull),
7741 (gst_pad_activate_push), (gst_pad_check_pull_range):
7742 Add some more debug info.
7743 Mark activation mode in pre_activate so that we don't try to activate in
7744 endless loops. Fixes #385084.
7746 2007-02-19 Wim Taymans <wim@fluendo.com>
7748 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7749 (gst_base_transform_check_get_range):
7750 Implement a checkgetrange function instead of relying on the default
7751 core behaviour that assumes we can operate in pull mode if we have a
7752 getrange function. First step at fixing #385084.
7754 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7756 * gst/gstchildproxy.h:
7757 * libs/gst/base/gstbasesink.h:
7758 * libs/gst/base/gstbasesrc.h:
7759 * libs/gst/base/gstbasetransform.h:
7760 More docs coverage and some ChangeLog surgery (add missing names)
7762 2007-02-15 Wim Taymans <wim@fluendo.com>
7764 * docs/design/part-TODO.txt:
7765 * docs/design/part-activation.txt:
7766 * docs/design/part-block.txt:
7767 * docs/design/part-buffering.txt:
7768 * docs/design/part-clocks.txt:
7769 * docs/design/part-element-source.txt:
7770 * docs/design/part-events.txt:
7771 * docs/design/part-gstbin.txt:
7772 * docs/design/part-gstbus.txt:
7773 * docs/design/part-gstpipeline.txt:
7774 * docs/design/part-live-source.txt:
7775 * docs/design/part-messages.txt:
7776 * docs/design/part-overview.txt:
7777 * docs/design/part-qos.txt:
7778 * docs/design/part-query.txt:
7779 * docs/design/part-states.txt:
7780 * docs/design/part-trickmodes.txt:
7781 Some doc updates. Start renaming from stream_time to running_time where
7782 it was used wrongly.
7784 2007-02-15 Wim Taymans <wim@fluendo.com>
7786 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7787 Answer LATENCY query.
7789 2007-02-15 Wim Taymans <wim@fluendo.com>
7791 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7795 2007-02-15 Wim Taymans <wim@fluendo.com>
7797 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7798 (gst_pad_dispatcher):
7799 Improve debugging of default pad dispatcher and query functions.
7801 2007-02-15 Wim Taymans <wim@fluendo.com>
7803 * docs/gst/gstreamer-sections.txt:
7804 Remove old unused method.
7806 2007-02-13 Wim Taymans <wim@fluendo.com>
7808 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7811 2007-02-13 Wim Taymans <wim@fluendo.com>
7813 * docs/design/part-seeking.txt:
7816 * gst/gstsegment.c: (gst_segment_set_seek):
7817 Revert old bogus change that should make seeking work again.
7819 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7821 * docs/random/ensonic/dynlink.txt:
7822 * docs/random/ensonic/interfaces.txt:
7823 * docs/random/ensonic/receipies.txt:
7824 Possible dynamic reconnection api, plus some type fixes the other two
7827 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7829 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7830 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7831 Also check for an absolute path following file:// in the filesrc
7832 element. Remove redundant check and call g_path_is_absolute() on the
7835 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7837 * docs/design/draft-klass.txt:
7838 Add existing category analysis.
7841 Fix doc example, framerate is a fraction.
7843 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7846 * docs/gst/Makefile.am:
7847 * docs/gst/gstreamer-sections.txt:
7848 * docs/libs/Makefile.am:
7849 Erm, forgot a bunch of --extra-dir.
7851 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7854 * docs/gst/Makefile.am:
7855 * docs/libs/Makefile.am:
7856 * docs/plugins/Makefile.am:
7857 Add crossreferences to glib/gobject docs.
7859 2007-02-12 Wim Taymans <wim@fluendo.com>
7861 * docs/design/draft-latency.txt:
7864 * docs/libs/gstreamer-libs-sections.txt:
7865 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7866 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7867 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7868 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7869 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7870 (gst_base_sink_get_position), (gst_base_sink_query),
7871 (gst_base_sink_change_state):
7872 * libs/gst/base/gstbasesink.h:
7873 API: gst_base_sink_query_latency() to let subclasses query the upstream
7875 API: gst_base_sink_get_latency() to let subclasses query the configured
7876 latency in the sink.
7877 Implement query and set latency.
7879 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7880 don't continue preroll when we are flushing. Fixes #405284.
7882 * tests/check/pipelines/stress.c: (change_state_timeout),
7883 (quit_timeout), (GST_START_TEST), (stress_suite):
7886 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7888 Patch by: René Stadler <mail at renestadler de>
7890 * docs/gst/gstreamer-sections.txt:
7891 * gst/gsttaglist.c: (_gst_tag_initialize):
7893 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7895 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7897 * docs/libs/Makefile.am:
7898 Fix path to core docs.
7900 * gst/gstbin.c: (gst_bin_get_by_interface),
7901 (gst_bin_iterate_all_by_interface):
7902 Refix docs by also renaming 'interface' to 'iface' in implementation.
7904 * docs/gst/gstreamer-sections.txt:
7906 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7907 * gst/gstchildproxy.h:
7908 * gst/gstelementfactory.c:
7909 * gst/gstpadtemplate.h:
7910 * libs/gst/controller/gstcontroller.c:
7911 (gst_controlled_property_new):
7914 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7916 * gst/gstbin.h:(gst_bin_get_by_interface),
7917 (gst_bin_iterate_all_by_interface):
7918 Replace interface parameter name by iface as interface is
7919 a reserved keyword in Visual Studio for C++ projects so it removes
7920 a build error for application developpers using VS.
7921 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7922 Fix a bug on Windows in uri format check. Now the prefix checked
7923 is file:// and next we check if the path after file:// is absolute.
7924 * win32/common/libgstbase.def:
7925 * win32/common/libgstdataprotocol.def:
7926 * win32/common/libgstgstreamer.def:
7927 Add new exported functions.
7929 2007-02-09 Andy Wingo <wingo@pobox.com>
7931 * tests/check/pipelines/simple-launch-lines.c
7932 (simple_launch_lines_suite, test_tee): Disable tee test until I
7933 have time to fix it :-(
7935 * tests/check/Makefile.am (noinst_HEADERS):
7936 * tests/check/libs/libsabi.c:
7937 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7938 * tests/check/gst/gstabi.c:
7939 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7941 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7942 tests for push and pull tee behavior.
7944 * plugins/elements/gsttee.h:
7945 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7946 mark as deprecated as well as unimplemented. It was a crack idea.
7947 Add support for tee operating in pull mode, off by default.
7949 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7950 normal-case logs down to LOG, raise errors to WARNING.
7951 (gst_registry_xml_read_cache): Don't log before calling a function
7954 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7955 exit (registry finalize).
7956 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7957 DEBUG log when we emit signals that people don't even have the
7958 chance to connect to.
7959 (gst_registry_scan_path_level): Less logging in the normal case.
7961 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7963 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7965 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7966 Correctly generate EOS for non-seekable files. We don't have a total
7967 length for them and would get an unexpected end of file if we only
7968 special-cased for regular files. (Fixes: #404569)
7970 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7972 * tests/check/elements/filesrc.c: (GST_START_TEST),
7974 Add unit test for the GstURIHandler interface in filesrc. This also
7975 tests the newly added file://localhost/foo/bar support.
7977 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
7979 * gst/gstelementfactory.h:
7980 The klass string is not a hierarchy. Add reference to the design doc
7981 for more information and common types.
7983 2007-02-02 Wim Taymans <wim@fluendo.com>
7985 * gst/gstquery.c: (gst_query_new_latency):
7986 Remove old structure field.
7988 2007-02-02 Stefan Kost <ensonic@users.sf.net>
7990 * tools/gst-launch.1.in:
7991 Give example for network streaming (#351998)
7993 2007-02-02 Wim Taymans <wim@fluendo.com>
7995 * docs/gst/gstreamer-sections.txt:
7996 Add docs for new methods.
7998 * gst/gstevent.c: (gst_event_new_latency),
7999 (gst_event_parse_latency):
8001 Add new LATENCY event to configure latency in a pipeline.
8002 API: gst_event_new_latency
8003 API: gst_event_parse_latency
8005 * gst/gstmessage.c: (gst_message_new_buffering),
8006 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
8007 (gst_message_new_latency), (gst_message_parse_buffering),
8008 (gst_message_parse_lost_preroll):
8010 Added messages used in draft-latency.
8011 API: gst_message_new_lost_preroll
8012 API: gst_message_parse_lost_preroll
8013 API: gst_message_new_prerolled
8014 API: gst_message_new_latency
8016 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
8017 (gst_query_parse_latency):
8019 Implemented new latency query as in design doc.
8020 API: gst_query_new_latency
8021 API: gst_query_set_latency
8022 API: gst_query_parse_latency
8024 2007-02-02 Wim Taymans <wim@fluendo.com>
8026 * docs/design/draft-latency.txt:
8027 Slight redesign to allow for dynamic latency adjustments.
8029 * docs/design/part-negotiation.txt:
8032 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
8034 reviewed by: Wim Taymans <wim@fluendo.com>
8036 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
8037 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
8038 Allow file://localhost/foo/bar URLs and correctly fail for every other
8039 hostname that one sets. This was gnomevfssrc is linked for those if
8040 installed as it can handle it (#403172)
8042 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8044 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
8046 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8047 (unref_data), (gst_collect_pads_add_pad_full):
8048 * libs/gst/base/gstcollectpads.h:
8049 Don't put the previously added destroy notify in the GstCollectData
8050 struct as all it's padding is already used and we don't want to break
8051 ABI. Instead put in the pad's GObject data for now. This should be
8052 cleaned up for 0.11 (#402393).
8054 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
8056 reviewed by: Wim Taymans <wim@fluendo.com>
8058 * docs/libs/gstreamer-libs-sections.txt:
8059 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
8060 (unref_data), (gst_collect_pads_add_pad),
8061 (gst_collect_pads_add_pad_full):
8062 * libs/gst/base/gstcollectpads.h:
8063 API: Add function to specify a destroy notification for custom
8064 GstCollectData when adding new pads in GstCollectPads (#402393).
8066 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
8069 Update Swedish translation (#378255).
8071 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8073 * docs/design/draft-klass.txt:
8074 Fix the previous change, this is a list of categories and not a hierarchy.
8076 2007-01-31 Stefan Kost <ensonic@users.sf.net>
8078 * docs/design/draft-klass.txt:
8079 Add info about how to get a list of used classes.
8081 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
8083 * plugins/elements/gsttypefindelement.c:
8084 (gst_type_find_element_chain_do_typefinding),
8085 (gst_type_find_element_change_state):
8086 Don't leak found caps in chain function (no idea why that never
8087 showed up as a leak anywhere).
8089 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8092 Fix and expand GstPluginDesc API docs.
8094 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8097 * gst/gstelementfactory.c:
8098 * gst/gstpadtemplate.h:
8101 * libs/gst/controller/gstcontroller.c:
8102 (gst_controlled_property_new):
8103 * tests/examples/controller/audio-example.c:
8106 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8109 comment about refining the xml deps
8112 comments about moving away from jade for docs
8115 recommit the ifdefs to use the binary registry
8117 * gst/gstbin.c: (gst_bin_change_state_func):
8118 this break is obsolete
8120 * gst/gstelementfactory.h:
8121 better GST_ELEMENT_DETAILS docs, add comment about translation
8126 * gst/gstobject.c: (gst_signal_object_get_type):
8127 add G_UNLIKELY as usual
8129 * gst/gstpad.c: (gst_pad_event_default):
8130 add fall trhu comment
8132 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8133 (gst_registry_binary_initialize_magic),
8134 (gst_registry_binary_save_string),
8135 (gst_registry_binary_save_pad_template),
8136 (gst_registry_binary_save_feature),
8137 (gst_registry_binary_save_plugin),
8138 (gst_registry_binary_write_cache),
8139 (gst_registry_binary_check_magic),
8140 (gst_registry_binary_load_pad_template),
8141 (gst_registry_binary_load_feature),
8142 (gst_registry_binary_load_plugin),
8143 (gst_registry_binary_read_cache):
8144 comment typo and formatting
8146 * gst/gstutils.c: (gst_element_state_get_name),
8147 (gst_element_state_change_return_get_name):
8148 remove obsolete breaks
8150 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8151 add FIXME 0.11 and remove cpp comment
8153 2007-01-29 Edward Hervey <edward@fluendo.com>
8155 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8156 Fix print statement in an even more portable way.
8158 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8160 * docs/gst/gstreamer-sections.txt:
8162 API: add GST_ROUND_DOWN_* macros (#401781).
8164 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8166 * docs/gst/gstreamer.types.in:
8167 * gst/gstregistry.c: (gst_registry_class_init):
8168 Document registry signals and make gtk-doc pick them up (#401381).
8170 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8172 * docs/pwg/building-testapp.xml:
8173 Add some audioconverts and audioresample to the pipeline, and some
8174 more comments and error handling.
8176 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8178 * docs/manual/manual.xml:
8182 2007-01-26 Wim Taymans <wim@fluendo.com>
8184 * gst/gstcaps.c: (gst_static_caps_get):
8185 Init caps flags too.
8187 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8189 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8191 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8192 If not using mmap'ed files try to seek to the end instead of the
8193 start to determine whether we can seek at all. This fixes the case
8194 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8195 seeks for everything afterwards fail. Fixes #400656
8197 2007-01-25 Wim Taymans <wim@fluendo.com>
8199 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8200 Add some refcount debugging.
8201 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8202 in multiple streaming threads.
8204 2007-01-25 Wim Taymans <wim@fluendo.com>
8206 Patch by: David Schleef <ds at schleef dot org>
8208 * docs/libs/gstreamer-libs-sections.txt:
8209 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8210 * libs/gst/base/gstadapter.h:
8211 API: gst_adapter_copy() that can reduce the amount of memcpy when
8212 getting data from the adapter. Fixes #388201.
8214 2007-01-25 Edward Hervey <edward@fluendo.com>
8216 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8217 In print statements, "%x" is for guint. Fixes build on macosx.
8219 2007-01-24 Edward Hervey <edward@fluendo.com>
8221 * plugins/elements/gstmultiqueue.c:
8222 (gst_multi_queue_loop):
8224 (single_queue_overrun_cb), (single_queue_underrun_cb),
8225 (single_queue_check_full), (gst_single_queue_new):
8226 Implement single queue growth system.
8227 This uses the extra-size properties, and will grow single queues by
8228 that much if one goes full whereas there are others empty. This is
8229 called extra-mode in the code.
8230 When a single queue's levels go back below the initial max-size
8231 limits, it is no longer in extra-mode. This is to ensure we don't
8232 consume too much memory.
8235 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8237 * gst/gst.c: (gst_init_get_option_group):
8238 Make warning about late g_thread_init() calls a bit more explicit,
8239 so that it's more obvious to application developers what they need
8240 to do if a user files a bug against their application.
8242 2007-01-22 Edward Hervey <edward@fluendo.com>
8244 * plugins/elements/gstmultiqueue.c:
8245 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8246 Remove previous hack of unsetting the flushing flag for the source pad
8247 instead of activating it. Instead, fix the source pad activate function
8248 so that it no longer depends on having a parent set or not.
8250 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8252 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8254 * docs/manual/basics-bus.xml:
8255 Fix example code, gst_element_unref() doesn't exist any longer.
8257 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8259 Patch by: Mark Nauwelaerts <manauw at skynet be>
8262 Fix two docs typoes (#399094).
8264 2007-01-19 Edward Hervey <edward@fluendo.com>
8266 * docs/faq/gst-uninstalled:
8267 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8268 depending on libgstbaseutils can work in uninstalled environment.
8270 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8273 * gst/gsttagsetter.c:
8274 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8275 statement for new tag.
8277 2007-01-17 Edward Hervey <edward@fluendo.com>
8279 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8280 When dynamically creating single queues, activate sinkpad before adding
8282 We should be doing the same thing for the source pad, but we can't
8283 since it would call a method which needs the parent to be set in order
8284 to work propertly. Instead of activating the source pad, we just unset
8285 the flushing flag, which is the minimal requirement for adding a pad
8286 to an element in a state greater than READY.
8288 2007-01-17 Edward Hervey <edward@fluendo.com>
8290 * docs/faq/gst-uninstalled:
8291 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8294 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8296 * tests/check/gst/gstabi.c:
8297 * tests/check/gst/struct_hppa.h:
8298 * tests/check/libs/libsabi.c:
8299 * tests/check/libs/struct_hppa.h:
8300 Add ABI structs for HPPA (see #393796).
8302 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8304 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8305 Actually write ABI structs to the file specified in the GST_ABI
8306 environment variable, as the message we print claims we would.
8308 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8310 * tests/check/gst/gsttask.c:
8313 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8315 * gst/gsttaglist.c: (_gst_tag_initialize):
8316 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8317 previous two entries.
8319 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8321 * docs/gst/gstreamer-sections.txt:
8322 * gst/gsttaglist.c: (_gst_tag_initialize):
8324 Add tag support for beat-per-minute.
8326 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8328 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8329 (gst_registry_binary_initialize_magic),
8330 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8331 (gst_registry_binary_save_pad_template),
8332 (gst_registry_binary_save_feature),
8333 (gst_registry_binary_save_plugin),
8334 (gst_registry_binary_write_cache),
8335 (gst_registry_binary_check_magic),
8336 (gst_registry_binary_load_pad_template),
8337 (gst_registry_binary_load_feature),
8338 (gst_registry_binary_load_plugin),
8339 (gst_registry_binary_read_cache):
8340 * gst/gstregistrybinary.h:
8341 Use glib types, cleanup comments, impement interfaces and uri-types.
8343 2007-01-13 Andy Wingo <wingo@pobox.com>
8345 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8346 getrange() to return buffers with other caps, while we fix
8347 demuxers and typefind, or otherwise change part-negotiation.txt.
8349 2007-01-12 Andy Wingo <wingo@pobox.com>
8351 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8352 Factor start/stop into this private function instead of partially
8353 in activate functions and partially in the change_state function.
8354 Fixes setup before the element has changed from READY->PAUSED, as
8355 is the case in pull-mode pipelines.
8356 (gst_base_transform_sink_activate_push)
8357 (gst_base_transform_src_activate_pull): Refactor to use
8358 gst_base_transform_activate().
8359 (gst_base_transform_change_state): Removed, not needed any more.
8361 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8362 Truncate before fixating.
8364 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8365 Don't set_caps() if the result of fixating is ANY, as it's not
8366 supported, and not necessary in the case of a link with no
8367 template caps on either side. Fixes tests/check/libs/basesrc in
8368 some pull-mode tests.
8370 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8371 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8372 (gst_base_transform_src_activate_pull):
8373 Track the activation mode.
8374 (gst_base_transform_setcaps): In pull mode, when activating the
8375 src pad, after activating the sink pad, activate the sink pad's
8376 peer, as discussed in part-negotiation.txt.
8378 * libs/gst/base/gstbasesrc.h:
8379 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8380 vmethod, as in basesink.
8382 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8384 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8385 mode, first proxy the setcaps to the peer pad.
8386 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8388 (gst_base_sink_default_activate_pull): Rename from
8389 gst_base_sink_activate_pull.
8390 (gst_base_sink_negotiate_pull): New function, performs negotiation
8391 in pull mode before calling ::activate_pull().
8392 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8393 vmethod instead of the default implementation. I have no idea how
8394 this worked before. Negotiate before calling activate_pull.
8396 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8397 sink pads in pull mode. In addition to being correct, fixes
8398 filesrc ! decodebin ! identity ! fakesink.
8399 (gst_pad_get_range, gst_pad_pull_range): Don't call
8400 gst_pad_set_caps() if the caps changes; instead error out with
8401 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8403 2007-01-12 Andy Wingo <wingo@pobox.com>
8405 * docs/design/part-negotiation.txt: Update with more policy.
8407 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8409 * libs/gst/check/gstbufferstraw.h:
8410 * libs/gst/check/gstcheck.h:
8411 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8414 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8416 * tests/check/Makefile.am:
8417 * tests/check/gst/.cvsignore:
8418 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8419 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8420 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8421 (GST_START_TEST), (gst_tag_setter_suite):
8422 Add minimal unit test for beforementioned GstTagSetter bug.
8424 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8426 Patch by: René Stadler <mail at renestadler dot de>
8428 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8429 gst_tag_list_merge() returns a new list, so it's not the best idea
8430 to ingore its return value. Effectively meant that tags could only
8431 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8432 Also add function guard to require a non-NULL taglist as input (has
8433 always been so due to gst_tag_list_copy(), just making it explicit).
8435 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8437 * docs/random/draft-missing-plugins.txt:
8438 Some additions: mention new API that is supposed to be used at the
8439 various stages; short blob about new gst-inspect introspection
8440 option; mention potential future problem with plugins that have
8441 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8443 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8445 * tools/gst-inspect.c:
8446 (print_plugin_automatic_install_info_codecs),
8447 (print_plugin_automatic_install_info_protocols),
8448 (print_plugin_automatic_install_info), (main):
8449 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8450 introspect plugin files and get machine-parsable output that corresponds
8451 to the last bit of the missing-plugin installer string (small gotcha:
8452 doesn't take into account ranks).
8454 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8457 * docs/gst/gstreamer-sections.txt:
8459 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8460 (gst_registry_lookup_locked):
8461 * gst/gstregistry.h:
8462 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8463 (gst_registry_binary_initialize_magic),
8464 (gst_registry_binary_save_string),
8465 (gst_registry_binary_save_pad_template),
8466 (gst_registry_binary_save_feature),
8467 (gst_registry_binary_save_plugin),
8468 (gst_registry_binary_write_cache),
8469 (gst_registry_binary_check_magic),
8470 (gst_registry_binary_load_pad_template),
8471 (gst_registry_binary_load_feature),
8472 (gst_registry_binary_load_plugin),
8473 (gst_registry_binary_read_cache):
8474 * gst/gstregistrybinary.h:
8475 * gst/gstregistryxml.c: (load_feature),
8476 (gst_registry_xml_read_cache):
8477 commit binary registry (disabled by default, see #359653)
8479 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8481 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8482 Fix 'make check' too.
8484 2007-01-10 Andy Wingo <wingo@pobox.com>
8486 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8489 * docs/design/part-negotiation.txt: Update with, um, one way that
8490 pull-mode negotiation might work?
8493 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8494 that the pad must be a src pad; makes sense to call it the other
8495 way in pull mode, and the logic is symmetric anyway.
8497 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8499 * plugins/elements/gstfilesink.c:
8500 Include <stdio.h> for fseeko().
8502 2007-01-10 Wim Taymans <wim@fluendo.com>
8506 Reserve LATENCY event.
8508 2007-01-09 Wim Taymans <wim@fluendo.com>
8510 * docs/design/draft-latency.txt:
8513 2007-01-09 Wim Taymans <wim@fluendo.com>
8515 * docs/design/draft-latency.txt:
8519 * gst/gststructure.c:
8523 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8525 * tests/check/.cvsignore:
8526 Ignore test-registry.xml as well.
8528 2007-01-09 Wim Taymans <wim@fluendo.com>
8530 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8531 unref data at the end when we are done with the pad.
8533 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8535 * docs/gst/gstreamer-sections.txt:
8536 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8537 (init_post), (gst_deinit), (gst_update_registry):
8539 API: add gst_update_registry() (#391296).
8541 * tests/check/Makefile.am:
8542 * tests/check/gst/gstregistry.c:
8543 * tests/check/gst/.cvsignore:
8544 Simple unit test for the above.
8546 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8548 * gst/gstregistry.c: (gst_registry_scan_path_level):
8549 Plugin extension on HP-UX is .sl, add that to the list of approved
8550 plugin extensions (see #393796).
8552 * tests/check/gst/gstpad.c: (GST_START_TEST):
8553 ulong => gulong. Fixes compilation with HP-UX compiler.
8555 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8556 Fix compilation if valgrind headers are not available.
8558 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8560 * win32/common/libgstreamer.def:
8561 Add new exported function.
8562 * win32/vs6/libgstbase.dsp:
8563 Add gstdataqueue.c to the build.
8564 * win32/vs6/libgstcoreelements.dsp:
8565 Add gstmultiqueue.c to the build.
8567 2007-01-06 Andy Wingo <wingo@pobox.com>
8569 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8570 activate_pull(), providing for a way to specialize the process of
8571 spawning a thread to pull on the sink pad. There is a default
8574 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8575 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8576 (gst_base_sink_init): Renamed pad activation functions (inserting
8577 "_pad" in their names). Refactor to use the new activate_pull
8578 vmethod, as appropriate.
8579 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8580 default activate_pull function to start a task pulling from the
8581 sink pad, as before.
8583 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8584 on the pads if necessary, as in push()/chain(). Update docs.
8585 Shouldn't affect existing pull() usage as it is currently only
8586 being used on buffers without caps.
8588 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8590 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8592 Call g_thread_init() first thing in gst_init() / gst_check_init().
8593 When initialisation is done via gst_init_get_option_group() and
8594 GOption parsing, issue a warning if the GLib thread system has not
8595 been initialised yet by the time gst_init_get_option_group() is
8596 called, as it's quite likely other GLib functions such as
8597 g_option_context_new() have been called already then, and
8598 g_thread_init() must be called before any other GLib function. The
8599 application in question must be fixed in that case, since memory
8600 corruption might happen otherwise.
8601 We issue the warning because even if the GLib folks decide to work
8602 around the problem on their end in future, this is still an issue
8603 with all GLib versions >= 2.10.0, so we should warn until we depend
8604 on a GLib version we know to be safe.
8605 Update documentation as well.
8608 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8610 * tools/gst-inspect.c: (main):
8611 * tools/gst-launch.c: (main):
8612 * tools/gst-typefind.c: (main):
8613 * tools/gst-xmlinspect.c: (main):
8614 Call g_thread_init() really really early, before any other GLib
8615 function (see #342564 and recent discussion on gtk-devel-list).
8617 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8619 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8621 * gst/gst_private.h:
8622 * gst/gstconfig.h.in:
8624 On win32, all the __declspec stuff for symbol exporting is
8625 apparently only needed with MSVC, but doesn't work with MingW.
8626 Fixes compilation with MingW and #391909.
8628 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8630 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8631 Change some GST_ERROR_OBJECT that aren't really errors to
8632 GST_WARNING_OBJECT in order to reduce terminal spam.
8634 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8636 * tests/check/Makefile.am:
8637 disable test again, as there seem to be still race problems
8639 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8641 * tests/check/Makefile.am:
8642 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8643 (GST_START_TEST), (queue_suite):
8644 enable queue test again, add tests for the leaky behaviour
8646 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8649 * tests/examples/Makefile.am:
8650 Compile adapter test/example only if the required headers are
8651 available (fixes #391915).
8653 2007-01-01 David Schleef <ds@schleef.org>
8656 Restore the previous signal handler for SIGSEGV instead of
8657 setting to default, since we may have stolen it away from
8658 someone. (i.e., Mono)
8660 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8662 * docs/random/draft-missing-plugins.txt:
8663 Some small additions and clarifications.
8665 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8667 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8668 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8669 since that can lead to random memory corruptions and crashes
8670 (may or may not be related to #383244, #386711, and #386711).
8672 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8674 * tests/check/.cvsignore:
8675 * tests/check/Makefile.am:
8676 sync .cvsignome and CLEANFILES
8678 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8680 * tests/check/Makefile.am:
8683 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8685 * docs/design/part-states.txt:
8686 two tiny additional comments
8688 * gst/gststructure.c:
8691 * tests/check/Makefile.am:
8692 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8694 disable test for now, unless it gets fixed
8696 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8698 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8700 fix race in underrun test
8702 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8704 * tests/check/elements/.cvsignore:
8707 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8709 try to narrow test failure
8711 2006-12-21 David Schleef <ds@schleef.org>
8713 * plugins/elements/gstfakesrc.c:
8714 Use g_random_int_range(), since it produces better random
8715 numbers in a range than almost-correct floating point code.
8717 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8719 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8720 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8721 (gst_check_teardown_sink_pad):
8722 do not automatically (de)activate pads
8724 * tests/check/Makefile.am:
8725 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8726 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8727 add new, yet simple tests for queue
8729 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8730 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8731 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8733 * tests/check/elements/identity.c: (cleanup_identity):
8734 consistent pad (de)activation
8736 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8738 Patch by: Sebastian Dröge <slomo ubuntu com>
8740 * libs/gst/base/gstcollectpads.c:
8741 Fix two doc typos (#387866).
8743 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8745 * docs/manual/advanced-dparams.xml:
8746 Fix typo (g_object_control_properties() doesn't exist).
8748 2006-12-19 Edward Hervey <edward@fluendo.com>
8750 * gst/gstsegment.c: (gst_segment_set_seek):
8751 Fine tune the cases where the segment start/stop values are really
8753 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8754 Add tests for the return values of gst_segment_set_seek().
8756 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8761 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8763 Fix incorrect documentation and flesh it out a bit more.
8764 Set default values for the max properties on the GParamSpec as well,
8765 so it shows up correctly in gst-inspect.
8767 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8769 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8770 Correct docs of queue, add more detail and crosslink it more.
8772 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8774 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8775 Print additional debug info when the stream isn't perfectly
8776 timestamped; don't try to use invalid durations.
8778 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8780 * docs/design/Makefile.am:
8781 Dist new design docs.
8783 2006-12-16 Wim Taymans <wim@fluendo.com>
8785 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8787 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8788 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8789 (gst_collect_pads_stop), (gst_collect_pads_event),
8790 (gst_collect_pads_chain):
8791 * libs/gst/base/gstcollectpads.h:
8792 Add refcounting to the collectpads data so we can track when it's safe
8793 to free the data. Fixes #383382.
8795 2006-12-15 Wim Taymans <wim@fluendo.com>
8797 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8798 (gst_collect_pads_remove_pad):
8799 Automatically activate/deactivate pads when they are added to a
8800 started/stoped collectpads.
8802 2006-12-15 Wim Taymans <wim@fluendo.com>
8804 * gst/gstelement.c: (gst_element_add_pad):
8805 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8806 * gst/gstpad.c: (gst_pad_init):
8807 Set pads to FLUSHING when they are created. Check, warn and fix when a
8808 demuxer adds an inactive pad to itself when running. Fixes #339326.
8810 2006-12-15 Wim Taymans <wim@fluendo.com>
8812 * gst/gstelement.c: (gst_element_class_init),
8813 (gst_element_default_send_event), (gst_element_send_event),
8814 (gst_element_default_query), (gst_element_query):
8815 Expose default element send_event and query handling as vmethods that
8816 subclasses can chain up to.
8818 2006-12-15 Wim Taymans <wim@fluendo.com>
8820 * gst/gstelement.c: (gst_element_set_state_func):
8821 Small documentation fixes.
8823 2006-12-15 Wim Taymans <wim@fluendo.com>
8825 * docs/design/draft-latency.txt:
8826 Checked in draft for handling latency in pipelines.
8828 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8832 * gstreamer.spec.in:
8835 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8837 * gst/gst.c: (init_pre), (init_post):
8838 init_pre() and init_post() might be called via our GOptionGroup or
8839 from gst_init(), and we should skip both of them if we've already
8840 been initialised, otherwise we will init some things twice or add
8841 two default log functions.
8843 2006-12-13 Edward Hervey <edward@fluendo.com>
8845 * docs/manual/basics-bus.xml:
8846 No, gst_main_loop does not exist. Its g_main_loop.
8847 Discovered by somebody who abused the copy-paste technique of coding :)
8849 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8851 * gst/gstghostpad.c:
8852 Log ghostpad debug stuff to the GST_PADS category as well rather
8853 than just to the default category.
8855 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8858 * gst/gst.c: (init_pre):
8859 Add some basic system details such as OS and architecture
8860 to the debug output if possible, courtesy of uname().
8862 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8864 * docs/gst/running.xml:
8865 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8866 environment variables.
8868 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8870 * tests/check/gst/gstbin.c: (GST_START_TEST):
8871 It is acceptable to have a refcount of 2 or 3 at this point in the
8872 test, because the pipeline might be just posting its state_change
8873 message. The next line then waits for that message to appear using
8874 bus_poll, so that should be fine too.
8876 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8878 * gst/gst.c: (ensure_current_registry_forking):
8879 Ignore EINTR when reading from the child registry pipe.
8880 Explicitly ignore the return value from close, since it makes no
8883 * gst/gstminiobject.c: (gst_mini_object_ref),
8884 (gst_mini_object_unref):
8885 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8887 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8888 When removing cached plugins, remove their features too, so they're
8889 not visible after they've disappeared.
8891 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8892 In the unlikely case that we are linking pads with no parents, don't
8893 crash trying to get the non-existent parent bin.
8895 * gst/parse/grammar.y:
8896 Output debug in the PIPELINE category
8898 2005-03-08 Wim Taymans <wim@fluendo.com>
8900 Patch by: René Stadler <mail at renestadler dot de>
8902 * gst/gstclock.c: (gst_clock_new_periodic_id):
8903 Reject invalid clock times for interval of periodic ids.
8906 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8908 * gst/gstelementfactory.c: (gst_element_factory_create):
8909 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8910 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8911 * tools/gst-inspect.c: (print_element_info):
8912 Fix refcounting of gst_plugin_feature_load to match the docs.
8915 2006-12-07 Wim Taymans <wim@fluendo.com>
8917 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8918 (gst_base_sink_get_position):
8919 Improve debugging of events.
8921 2006-12-07 Wim Taymans <wim@fluendo.com>
8923 Patch by: René Stadler <mail at renestadler dot de>
8925 * gst/gstclock.c: (gst_clock_id_wait):
8926 Make period ids add the interval to the origial requested time instead
8927 of the possibly updated time which can be wrong when there are multiple
8928 waiters for the same id. Fixes #382592.
8930 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8931 (gst_system_clock_id_wait_jitter_unlocked),
8932 (gst_system_clock_id_wait_jitter):
8933 Fix restart in the async notify thread when an async entry is added to
8934 the front of the list. Fixes #381492.
8936 * tests/check/gst/gstsystemclock.c: (store_callback),
8937 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8938 Added test for multiple async waits.
8939 Added test for async wait order.
8941 2006-12-07 Wim Taymans <wim@fluendo.com>
8943 * gst/gstbin.c: (gst_bin_query):
8944 Add some more docs about the POSITION query.
8946 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8949 Bump version nano - back to CVS.
8951 === release 0.10.11 ===
8953 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8956 releasing 0.10.11, "Love never runs on time"
8958 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8960 * win32/common/libgstbase.def:
8961 * win32/common/libgstreamer.def:
8962 * win32/vs8/libgstbase.vcproj:
8963 * win32/vs8/libgstcoreelements.vcproj:
8964 * win32/vs8/libgstreamer.vcproj:
8965 Fix compilation on win32 under VS8
8966 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8967 Partially fixes #381175
8969 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8971 * gst/gstvalue.c: (gst_value_compare_fraction):
8972 If someone is foolish enough to compare 2 fractions with denominator =
8973 0, return UNORDERED rather than aborting.
8975 2006-11-28 Edward Hervey <edward@fluendo.com>
8977 * libs/gst/base/Makefile.am:
8978 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8979 (gst_data_queue_base_init), (gst_data_queue_class_init),
8980 (gst_data_queue_init), (gst_data_queue_new),
8981 (gst_data_queue_cleanup), (gst_data_queue_finalize),
8982 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8983 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8984 (gst_data_queue_is_empty), (gst_data_queue_is_full),
8985 (gst_data_queue_set_flushing), (gst_data_queue_push),
8986 (gst_data_queue_pop), (gst_data_queue_drop_head),
8987 (gst_data_queue_set_property), (gst_data_queue_get_property):
8988 * libs/gst/base/gstdataqueue.h:
8989 New GstDataQueue object for threadsafe queueing. Most useful for
8990 elements that need some queueing functionnality.
8991 * docs/libs/gstreamer-libs-docs.sgml:
8992 * docs/libs/gstreamer-libs-sections.txt:
8993 Insert documentation for GstDataQueue
8994 * plugins/elements/Makefile.am:
8995 * plugins/elements/gstelements.c:
8996 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8997 (gst_multi_queue_class_init), (gst_multi_queue_init),
8998 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8999 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
9000 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
9001 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
9002 (gst_multi_queue_loop), (gst_multi_queue_chain),
9003 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
9004 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
9005 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
9006 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
9007 (wake_up_next_non_linked), (compute_next_non_linked),
9008 (single_queue_overrun_cb), (single_queue_underrun_cb),
9009 (single_queue_check_full), (gst_single_queue_new):
9010 * plugins/elements/gstmultiqueue.h:
9011 New multiqueue element, using GstDataQueue. Used for queuing multiple
9013 Closes #344639 and #347785
9015 2006-11-22 Stefan Kost <ensonic@users.sf.net>
9017 * docs/pwg/advanced-types.xml:
9018 add more missing type details
9020 * tools/gst-run.c: (main):
9021 remove unused variable
9023 2006-11-21 Stefan Kost <ensonic@users.sf.net>
9025 * docs/libs/Makefile.am:
9026 * docs/libs/gstreamer-libs.types:
9027 add types of base classes to enable gobject specific stuff in the docs
9029 * docs/random/ensonic/embedded.txt:
9030 more ideas about isolating platform specific things
9032 2006-11-20 Wim Taymans <wim@fluendo.com>
9034 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
9036 * libs/gst/check/gstcheck.h:
9037 Fix compilation and running against 0.9.4. Fixes #377332.
9039 2006-11-20 Wim Taymans <wim@fluendo.com>
9041 * gst/gstsegment.c: (gst_segment_set_seek),
9042 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
9043 (gst_segment_to_running_time):
9044 Fix boundary checking in to_running_time() and to_stream_time().
9047 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9048 stream and running time can now be calculated for the complete
9051 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
9053 * gst/gstpad.c: (gst_pad_push_event):
9054 Can't access event structure after giving away ownership of
9057 2006-11-15 Stefan Kost <ensonic@users.sf.net>
9059 * docs/random/ensonic/embedded.txt:
9060 * docs/random/ensonic/profiling.txt:
9061 * docs/random/ensonic/receipies.txt:
9064 2006-11-13 Wim Taymans <wim@fluendo.com>
9066 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9069 Fix documentation for gst_pad_dispatcher. Fixes #374475.
9071 2006-11-13 Wim Taymans <wim@fluendo.com>
9073 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
9075 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
9076 Store new length in segment duration so we don't keep on calling the
9077 potentially expensize get_size() call. Fixes #370865.
9079 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
9081 Patch by: Sergey Scobich <sergey.scobich at gmail com>
9083 * win32/common/libgstreamer.def:
9084 Add two missing symbols (#366492).
9086 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
9088 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
9089 (gst_adapter_take_buffer):
9090 Fix format string to use all its arguments.
9091 Remove useless >= check on a guint
9093 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9095 * tests/examples/adapter/.cvsignore:
9096 Ignore build file as commanded by the build-bot
9098 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9100 * tests/examples/adapter/Makefile.am:
9101 * tests/examples/adapter/adapter_test.c: (run_test_take),
9102 (run_test_take_buffer), (run_tests), (main):
9104 Add new files from the previous commit
9106 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9110 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9111 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9112 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9113 * libs/gst/base/gstadapter.h:
9114 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9115 (GST_START_TEST), (gst_adapter_suite):
9116 * tests/examples/Makefile.am:
9117 Do some optimisation work in GstAdapter to avoid copies in more cases.
9118 It could still do slightly better by merging buffers when
9119 gst_buffer_is_span_fast is true, but is already faster.
9121 Also, avoid traversing a single-linked list to append each incoming
9122 buffer inside the adapter.
9124 Add simple test app that times the adapter behaviour in different
9125 situations, and extend the unit test to check that bytes enter and
9126 exit the adapter in their original order.
9128 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9130 * docs/random/draft-missing-plugins.txt:
9131 Update: use element message instead of adding a new message
9132 type to the core; don't provide GStreamer API to initiate the
9133 plugin download, just provide API to compose the strings needed
9134 and let an external libgimmestuff handle the rest.
9136 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9138 * tools/gst-inspect.c: (print_element_properties_info):
9139 Print a string instead of 'unknown type' for GValueArray properties
9141 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9143 * docs/random/draft-missing-plugins.txt:
9146 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9148 * tests/examples/typefind/typefind.c: (type_found), (main):
9149 Make typefind element example work again (#371894); add a
9152 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9154 * docs/random/draft-missing-plugins.txt:
9155 Commit initial draft about how to deal with missing plugins,
9156 needs work (API too).
9158 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9160 * docs/pwg/advanced-types.xml:
9161 documents the new caps elements (see #363118)
9163 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9165 * gst/gstplugin.c: (gst_plugin_load_file):
9166 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9167 (gst_file_src_map_region), (gst_file_src_start):
9168 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9169 (gst_file_index_commit):
9170 Use g_strerror() instead of strerror() - we want UTF-8.
9172 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9174 Patch by: Peter Kjellerstedt <pkj at axis com>
9176 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9177 Another printf fix (#371493).
9179 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9181 * tests/check/gst/gsttag.c:
9182 relicence (okay with author=company)
9184 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9186 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9187 (gst_pad_push_event):
9188 Enhance debug and improve docs
9193 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9195 * docs/random/ensonic/distributed.txt:
9196 * docs/random/ensonic/profiling.txt:
9199 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9201 * docs/gst/gstreamer-sections.txt:
9202 add new API and fix the build
9204 * gst/gstbin.c: (gst_bin_recalc_state):
9205 * gst/gstelement.c: (gst_element_message_full),
9206 (gst_element_get_state_func), (gst_element_set_state_func):
9207 use new API and improve logging
9209 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9211 API: add function to get StateChangereturn names to improve logs
9213 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9215 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9216 I'm considering shooting the next person to put strerror stuff
9217 in the translateable part of the message.
9219 2006-11-03 Wim Taymans <wim@fluendo.com>
9221 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9222 Get the type and printf conversion specifiers right.
9224 2006-11-03 Wim Taymans <wim@fluendo.com>
9226 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9228 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9229 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9230 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9231 Some small cleanups. Improve debugging.
9233 Signal all waiting threads with a broadcast instead of just one.
9236 2006-11-03 Wim Taymans <wim@fluendo.com>
9238 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9239 (gst_fd_src_create):
9241 Only update fd when it's different from the old.
9243 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9245 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9246 Printf fixes for PPC/OSX, take two (#369366).
9248 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9250 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9252 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9253 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9254 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9255 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9256 don't cast to long long for portability reasons, but use
9257 GLib's types instead.
9259 2006-10-30 Michael Smith <msmith@fluendo.com>
9261 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9262 Get the arguments to lseek() the right way around.
9265 2006-10-30 Wim Taymans <wim@fluendo.com>
9267 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9270 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9272 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9274 Patch by: Kjartan Maraas <kmaraas at gnome org>
9276 * docs/design/part-MT-refcounting.txt:
9277 * docs/random/wtay/capsnego2-docs:
9280 Typo fixes (#366212).
9282 2006-10-28 Wim Taymans <wim@fluendo.com>
9284 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9287 * win32/common/libgstbase.def:
9288 * win32/common/libgstreamer.def:
9289 * win32/vs8/libgstbase.vcproj:
9290 * win32/vs8/libgstcontroller.vcproj:
9291 Add needed entries in .def files.
9293 Rearrange def files in vs8 solutions. Fixes #366286.
9295 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9297 * win32/common/gstconfig.h:
9298 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9299 hand-made win32 gstconfig.h. Fixes #366321.
9301 2006-10-27 Wim Taymans <wim@fluendo.com>
9303 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9304 (gst_ghost_pad_new_full):
9305 Make acceptcaps return TRUE when we don't have a target, just like
9308 2006-10-27 Wim Taymans <wim@fluendo.com>
9310 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9311 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9313 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9315 * gst/gststructure.c: (gst_structure_id_set_value):
9316 If someone tries to set a non-UTF8 string field on a structure,
9317 don't just print a warning, but also ignore the request and do
9318 not change/add that field to the structure.
9320 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9323 2006-10-25 David Schleef <ds@schleef.org>
9326 g_hash_table_insert() needs a cast to a non-const pointer duh.
9328 2006-10-25 David Schleef <ds@schleef.org>
9332 Change name parameter of _gst_debug_register_funcptr to const
9333 to reflect the constness of its use in the function as well
9334 as to quiet a gcc warning.
9336 2006-10-25 Edward Hervey <edward@fluendo.com>
9338 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9339 Don't push the buffer if it's empty.
9342 2006-10-24 Wim Taymans <wim@fluendo.com>
9347 * libs/gst/base/gstbasetransform.c:
9348 (gst_base_transform_sink_eventfunc):
9349 Debug segment values *after* updating them as this is more
9352 2006-10-23 Wim Taymans <wim@fluendo.com>
9354 * docs/design/part-events.txt:
9357 * docs/design/part-block.txt:
9358 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9359 (gst_pad_push_event):
9360 Revert BLOCKING patch, it tries to be smart without really having a
9361 clear idea what or how. So, now we discard all FLUSHING events again on
9362 a blocking pad. Should fix gnonlin again.
9364 2006-10-23 Wim Taymans <wim@fluendo.com>
9366 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9368 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9369 (gst_base_src_start), (gst_base_src_activate_push):
9370 Make sure size is always initialized. Fixes #364388.
9372 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9374 * docs/random/ensonic/distributed.txt:
9375 add some ideas about doing distributed processing
9377 * docs/random/ensonic/profiling.txt:
9378 get_rusage look promising
9380 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9382 * docs/manual/basics-helloworld.xml:
9383 Add a cast in example to fix compile warning
9385 2006-10-18 Wim Taymans <wim@fluendo.com>
9387 * gst/gstsegment.c: (gst_segment_set_last_stop),
9388 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9389 Relax arg checking again, -1 is allowed.
9391 2006-10-18 Wim Taymans <wim@fluendo.com>
9393 * gst/gstsegment.c: (gst_segment_set_last_stop),
9394 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9395 _set_last_stop() must be with a value != -1
9396 A _TYPE_SET to -1 means seek to 0.
9397 Calc last_stop correctly for negative rates.
9398 Make sure we work with positive durations when updating a segment.
9400 2006-10-18 Wim Taymans <wim@fluendo.com>
9402 * docs/design/part-live-source.txt:
9406 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9409 Add an explicit cast to GstBuffer** to keep old code that added an
9410 explicit cast to GstMiniObject** for gst_mini_object_replace()
9411 compiling without warning.
9413 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9415 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9416 check for validity of dates
9418 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9420 * docs/gst/gstreamer-sections.txt:
9421 Forgot this one, makes gtk-doc shut up.
9423 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9425 Patch by: Peter Kjellerstedt <pkj at axis com>
9428 Don't define xmlNodePtr to gpointer if the core was built with
9429 --disable-loadsave and --disable-registry, this will break
9430 applications that want to use libxml2 but are buildling against a
9431 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9432 instead so we don't have to mess with the libxml2 namespace
9435 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9438 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9439 type-punned pointer warnings.
9441 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9444 Add casts to the correct return type to state <=> state transition
9447 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9449 * docs/design/part-live-source.txt:
9450 describe howto handle latency
9452 * docs/random/ensonic/profiling.txt:
9455 * tools/gst-plot-timeline.py:
9456 fix log parsing for solaris, remove unused function
9458 2006-10-16 Wim Taymans <wim@fluendo.com>
9460 * docs/design/part-trickmodes.txt:
9462 Update some docs regarding reverse playback.
9464 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9466 Patch by: Marcus Granado <mrc dot gran at gmail com>
9468 * win32/vs8/grammar.vcproj:
9469 Error out with a warning if glib-genmarshal.exe is not in path,
9470 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9472 2006-10-13 Wim Taymans <wim@fluendo.com>
9474 * gst/gstsegment.c: (gst_segment_set_seek):
9475 When seeking to stop -1, set last_stop (current position) to the
9476 duration of the segment.
9478 2006-10-13 Wim Taymans <wim@fluendo.com>
9481 Clarify _NO_PREROLL a bit more.
9486 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9487 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9488 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9489 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9490 due to wrong locking order. Fixes #361769.
9491 Remove some redundant/misplaced checks in pad_block.
9493 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9494 For negative rates, count backwards from the duration.
9496 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9498 * gst/gsterror.c: (_gst_library_errors_init):
9499 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9500 up with something better).
9502 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9504 * win32/vs6/libgstreamer.dsp:
9505 * win32/vs7/libgstreamer.vcproj:
9506 * win32/vs8/libgstreamer.vcproj:
9507 Don't reference glib-compat.c which is currently not used and not
9508 disted; add gstquark.c which was recently added. Fixes #361730.
9510 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9512 * win32/common/libgstbase.def:
9513 * win32/common/libgstcontroller.def:
9514 * win32/common/libgstreamer.def:
9515 Add gst_caps_merge() and a bunch of other recently-added functions.
9518 2006-10-11 Wim Taymans <wim@fluendo.com>
9520 * docs/plugins/gstreamer-plugins.args:
9521 * docs/plugins/inspect/plugin-coreelements.xml:
9522 * docs/plugins/inspect/plugin-coreindexers.xml:
9523 Update element args.
9525 * gst/gstsystemclock.c:
9526 Small comment update.
9528 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9529 (gst_tee_request_new_pad), (gst_tee_release_pad),
9530 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9531 (gst_tee_sink_activate_pull):
9532 * plugins/elements/gsttee.h:
9534 Add default property defines.
9535 Implement release pad function.
9536 Give properties better blubs etc.
9537 Activate pads before adding them to a running tee.
9538 Do simple buffer_alloc on the first requested pad.
9539 Post error when activation fails.
9541 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9543 * gst/gst.c: (ensure_current_registry_forking):
9544 Check return value of write() to make compiler happy.
9546 2006-10-11 Wim Taymans <wim@fluendo.com>
9548 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9550 * plugins/elements/gstqueue.c: (gst_queue_chain):
9551 Recheck queue filledness after signalling the overrun when we're about
9552 to leak downstream because we released the lock when emitting the signal
9553 and the queue could be empty again. Fixes #352345.
9555 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9557 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9558 Fix refcounting here too, just like we did for _new_valist() a few
9559 days ago (#357180) (thanks to René Stadler). Also remove all those
9560 'Since: 0.9' from the gtk-doc blobs.
9562 * tests/check/libs/controller.c: (controller_refcount_new_list),
9563 (gst_controller_suite):
9564 Unit test for the above.
9566 2006-10-10 Wim Taymans <wim@fluendo.com>
9568 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9570 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9571 (gst_pad_save_thyself):
9573 Write pad direction in XML output. Fixes #345496.
9575 2006-10-10 Wim Taymans <wim@fluendo.com>
9577 Patch by: René Stadler <mail at renestadler dot de>
9579 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9580 (gst_controller_new_list), (_gst_controller_dispose),
9581 (_gst_controller_finalize), (_gst_controller_class_init):
9582 Take ref to controlled object so that it cannot disappear.
9585 2006-10-10 Wim Taymans <wim@fluendo.com>
9587 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9588 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9589 (gst_check_teardown_sink_pad):
9590 Activate/deactivate pads in setup/teardown respectively.
9592 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9594 Patch by: Josep Torra Valles <josep@fluendo.com>
9597 Cast values when making gstenumtypes.h. This pacifies Forte
9598 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9601 2006-10-09 Wim Taymans <wim@fluendo.com>
9603 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9604 Rename some more @cur to @start to fix docs.
9606 * gst/gstsegment.c: (gst_segment_set_seek):
9608 time and start must always stay in sync as defined in design doc.
9610 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9611 Rename param to fix docs.
9613 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9614 Check that start and time are in sync.
9616 * tests/check/pipelines/parse-launch.c:
9617 (gst_parse_test_element_change_state):
9618 Activate pad before adding to the element.
9620 2006-10-09 Wim Taymans <wim@fluendo.com>
9622 * docs/design/part-qos.txt:
9627 Update seek event docs regarding negative rates.
9628 Rename @cur to @start.
9630 * gst/gstsegment.c: (gst_segment_set_seek):
9632 Update set_seek docs regarding negative rates.
9633 Correctly update last_stop to @stop when dealing with negative
9635 Rename @cur to @start.
9637 * tests/check/gst/gstpad.c: (GST_START_TEST):
9638 Activate pads before trying to use them.
9640 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9641 (gst_segment_suite):
9642 Add simple check for segments and negative rates.
9644 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9646 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9648 * docs/gst/gstreamer-sections.txt:
9649 API: add gst_tag_list_is_empty() (#360467).
9651 * tests/check/gst/gsttag.c: (GST_START_TEST):
9654 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9657 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9658 a value that doesn't fit on enumeration.
9660 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9662 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9663 Remove local debugging system and use Gstreamer's instead.
9665 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9667 Patch by: Josep Torra Valles <josep@fluendo.com>
9669 * common/m4/gst-error.m4:
9670 Disable warning of statement not reached on Forte.
9672 Fix warning on Forte (value doesn't fit on enumeration).
9673 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9674 Fix warning on Forte (value doesn't fit on enumeration).
9675 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9676 DEBUG macro says it takes minimum of 2 args and so Forte
9677 complains about the use with just 1 arg.
9678 * plugins/elements/gstfdsink.c:
9679 * plugins/elements/gstfdsrc.c:
9680 * plugins/elements/gstfilesink.c:
9681 * plugins/elements/gstfilesrc.c:
9682 Use correct return type for the uri handler implementations.
9684 All these fix warnings in Forte. Fixes bug #360860.
9686 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9689 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9690 format string, so don't use G_GNUC_PRINTF for those versions.
9692 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9694 * gst/gsttaglist.c: (gst_is_tag_list):
9696 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9698 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9699 Small test for the above.
9701 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9704 Less tabs, more spaces.
9706 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9709 Those two function declarations do actually belong there, revert
9710 commit from yesterday that turned them intro macros.
9712 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9714 Patch by: Josep Torra Valles <josep@fluendo.com>
9716 * gst/gst.c: (gst_init_get_option_group):
9717 Fix empty declaration and type mismatch.
9718 * gst/gstbin.c: (gst_bin_change_state_func):
9720 * gst/gstelement.c: (gst_element_continue_state),
9721 (gst_element_set_state_func), (gst_element_change_state),
9722 (gst_element_change_state_func):
9723 Fix type mismatches.
9724 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9725 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9726 Cast as appropriate.
9727 * gst/gstobject.c: (gst_class_signal_connect):
9728 Cast as appropriate. The function pointer parameter really
9729 has the wrong type but would break API if we change it.
9731 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9732 order of including string.h.
9733 * gst/gstutils.c: (gst_element_state_get_name):
9734 Remove unreachable line.
9735 * gst/gstxml.c: (gst_xml_parse_doc):
9737 All these caught by Forte.
9739 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9741 Patch by: Josep Torra Valles <josep@fluendo.com>
9743 * common/m4/gst-error.m4:
9745 We need to disable warnings on Forte for empty declarations
9746 due to gst-indent adding ;s to lines that just use macros
9747 where the macro actually doesn't need a ; at end to end
9750 2006-10-06 Wim Taymans <wim@fluendo.com>
9752 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9753 (gst_file_sink_close_file), (gst_file_sink_event),
9754 (gst_file_sink_render):
9755 Add some FIXME for the NEWSEGMENT handling.
9757 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9759 * gst/parse/grammar.y:
9760 Remove static function gst_parse_element_lock as all it does
9761 is return. Looks like cruft from 0.8.
9763 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9765 Patch by: Josep Torra Valles <josep@fluendo.com>
9767 * common/m4/gst-error.m4:
9769 * libs/gst/net/Makefile.am:
9770 Fix a compilation issue with Forte on Solaris. inet_aton is in
9773 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9775 * gst/gstpad.c: (pre_activate):
9776 * gst/gstregistry.c: (gst_registry_scan_path_level):
9777 * gst/gstregistryxml.c: (load_plugin):
9778 * libs/gst/controller/gstcontroller.c:
9779 (gst_controlled_property_set_interpolation_mode):
9780 * libs/gst/dataprotocol/dataprotocol.c:
9781 (gst_dp_packet_from_event_1_0):
9782 * libs/gst/net/gstnetclientclock.c:
9783 (gst_net_client_clock_observe_times):
9784 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9787 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9790 * docs/gst/gstreamer-sections.txt:
9791 * gst/gstconfig.h.in:
9794 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9795 whether we can use G_GNUC_PRINTF in other header files and at
9796 least check the printf format/arguments of debug messages and
9797 GST_ELEMENT_ERROR messages when the printf extension is not
9799 Replace more tabs with spaces in gstinfo.h and remove two spurious
9800 function declarations in GST_DISABLE_DEBUG part with macros.
9802 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9804 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9805 More docs for the sync-message signal (mention that it is not
9806 emitted by default); log message structures of messages posted on
9809 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9811 * gst/gst.c: (ensure_current_registry_forking):
9812 Use a pipe pair to receive status results from the forked child, and
9813 ignore the result from waitpid. Fixes #355499
9815 2006-10-02 Wim Taymans <wim@fluendo.com>
9817 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9818 (gst_ghost_pad_suite):
9821 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9824 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9826 2006-10-02 Edward Hervey <edward@fluendo.com>
9828 * docs/design/part-block.txt:
9829 Further explain the use of flushing on blocked pads.
9830 * docs/gst/gstreamer-sections.txt:
9831 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9832 (gst_pad_push_event):
9834 Added new GstPadFlag : GST_PAD_BLOCKING.
9835 Adds the notion of pads really blocking, which enables to properly
9836 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9838 API: gst_pad_is_blocking()
9839 API: GST_PAD_IS_BLOCKING() macro
9840 API: GST_PAD_BLOCKING GstPadFlag
9842 2006-10-02 Wim Taymans <wim@fluendo.com>
9844 Patch by: mrcgran <mrc.gran at gmail dot com>
9846 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9847 Filter the proxied caps against the padtemplate if we have one.
9849 * gst/gstquery.c: (gst_query_new_segment):
9850 Add include for gstinfo.h so that compilation with
9851 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9853 2006-10-02 Wim Taymans <wim@fluendo.com>
9855 Patch by: Alessandro Decina <alessandro at nnva org>
9857 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9858 (gst_file_sink_set_location), (gst_file_sink_open_file),
9859 (gst_file_sink_close_file), (gst_file_sink_event),
9860 (gst_file_sink_render):
9861 Set file to NULL when closing filesink so that we can set a new filename
9862 in READY. Fixes #358613.
9864 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9866 Patch by: Alessandro Decina <alessandro at nnva org>
9868 * gst/gstevent.c: (_gst_event_copy):
9869 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9870 with event structures by setting the parent refcount address of the
9871 copied structure to the address of the refcount member of the newly
9872 copied event rather than the address of the refcount member of the
9873 original event. Fixes #358737.
9875 * tests/check/gst/gstevent.c: (GST_START_TEST):
9876 Unit test for the above.
9878 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9880 * docs/design/Makefile.am:
9881 Dist some more files.
9883 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9885 * tests/check/libs/controller.c: (GST_START_TEST),
9886 (gst_controller_suite):
9887 Add test for the previous fix; add some more tests
9888 for correct refcounting behaviour; fix a few leaks
9889 in test cases; call gst_controller_init() at start
9892 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9894 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9895 (gst_controller_set_from_list):
9896 Don't g_return_val_if_fail() on timed values with invalid timestamps
9897 inside a critical section without unlocking the mutex. Spotted by
9898 René Stadler. (#357617)
9899 Also, fix up refcounting properly: when returning an existing
9900 controller, we should increase the reference only once and not
9901 once per property and when trying to control a property again
9902 we should also increase the refcount.
9904 2006-09-29 Wim Taymans <wim@fluendo.com>
9906 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9907 * libs/gst/net/gstnettimeprovider.c:
9908 (gst_net_time_provider_thread):
9909 Stop reading commands when EOF as well.
9911 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9912 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9913 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9914 Unify description of the dump property.
9916 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9918 * tests/examples/manual/.cvsignore:
9919 OK, so it's actually cvsignore that needs changing. Stop laughing.
9921 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9923 * tests/examples/manual/Makefile.am:
9924 Gah, declare vars *before* using them
9926 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9928 * gst/gst.c: (init_pre), (scan_and_update_registry),
9929 (ensure_current_registry_nonforking),
9930 (ensure_current_registry_forking), (ensure_current_registry),
9931 (init_post), (gst_debug_help), (gst_deinit):
9932 * gst/gst_private.h:
9933 * gst/gstregistry.c: (gst_registry_finalize),
9934 (gst_registry_remove_features_for_plugin_unlocked),
9935 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9936 (gst_registry_scan_path),
9937 (_priv_gst_registry_remove_cache_plugins),
9938 (_priv_gst_registry_cleanup):
9939 * gst/gstregistry.h:
9940 Re-commit the registry changes, along with an extra fix:
9941 When a cached plugin is encountered at a different file path,
9942 update the stored path in the registry cache so that the parent
9943 process knows where it actually is now when it re-reads the registry
9944 cache. Fixes the thing that broke distcheck with the previous commit.
9946 * tests/check/Makefile.am:
9947 Clean up files named 'core' too when running make clean.
9949 * tests/examples/manual/Makefile.am:
9950 Set up a registry path for running these tests, and clean it properly
9953 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9956 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9957 want gmodule-no-export-2.0.pc instead so that we don't drag in
9958 --export-dynamic on every project that links to GStreamer.
9960 Also, make our export regex only match the start of symbols, rather
9961 than any symbol that contains '_gst' somewhere.
9963 * libs/gst/check/Makefile.am:
9964 The libgstcheck we build does however need export-dynamic, as it
9965 produces some symbols that don't match our _gst... style regex.
9968 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9970 * gst/gst.c: (init_pre), (scan_and_update_registry),
9971 (ensure_current_registry_nonforking),
9972 (ensure_current_registry_forking), (ensure_current_registry),
9973 (init_post), (gst_debug_help), (gst_deinit):
9974 * gst/gst_private.h:
9975 * gst/gstregistry.c: (gst_registry_finalize),
9976 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9977 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9978 (_gst_registry_cleanup):
9979 * gst/gstregistry.h:
9980 Revert previous change until I figure out why it breaks distcheck.
9982 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9984 * gst/gst.c: (init_pre), (scan_and_update_registry),
9985 (ensure_current_registry_nonforking),
9986 (ensure_current_registry_forking), (ensure_current_registry),
9987 (init_post), (gst_debug_help), (gst_deinit):
9989 Make init_pre and init_post take the full complement of GOptionFunc
9990 args so they can return useful GErrors. Make the registry updating
9993 Call _priv_gst_registry_remove_cache_plugins after scanning files to
9994 ensure that the registry we're about to write out doesn't contain
9995 stale information about old-deleted plugin files.
9997 Make _priv_gst_registry_remove_cache_plugins return a boolean so
9998 that deletion of plugin files is considered a registry change.
10000 * gst/gst_private.h:
10001 * gst/gstregistry.c: (gst_registry_finalize),
10002 (gst_registry_remove_features_for_plugin_unlocked),
10003 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
10004 (gst_registry_scan_path),
10005 (_priv_gst_registry_remove_cache_plugins),
10006 (_priv_gst_registry_cleanup):
10007 * gst/gstregistry.h:
10008 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
10009 by adding _priv prefix, so that they won't appear in the global
10010 symbol table. They still do atm though because of #318031. Move the
10011 prototypes to gst_private.h
10013 When removing a plugin, remove all features for that plugin too.
10016 2006-09-27 Wim Taymans <wim@fluendo.com>
10018 * docs/random/moving-plugins:
10019 Make it clear that the "compiled-in descriptions" really mean
10020 the element details.
10022 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10023 (gst_base_sink_wait_preroll):
10026 * docs/libs/gstreamer-libs-sections.txt:
10027 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
10028 (gst_base_src_get_range), (gst_base_src_activate_push):
10029 * libs/gst/base/gstbasesrc.h:
10030 Added function to block while waiting for PLAYING, this function
10031 is used by live sources that block on the clock.
10032 API: gst_base_src_wait_playing()
10034 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10036 Patch by: Peter Kjellerstedt <pkj at axis com>
10039 gst-element-check.m4 is generated and should therefore be
10040 copied from the build dir rather than the source dir (#357593).
10041 'make distcheck' hasn't noticed this because we were disting
10042 the file as well, so stop doing that.
10044 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
10046 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10047 Add some tests for gst_caps_intersect().
10049 * tools/gst-launch.c: (event_loop):
10050 Print all buffering percentages we get, even the 100% one.
10052 2006-09-26 Wim Taymans <wim@fluendo.com>
10054 * tools/gst-inspect.c: (print_element_properties_info),
10055 (print_signal_info):
10056 Fix printing of flags to match the look of enums.
10058 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10060 * gst/gstelementfactory.c:
10061 Fix typo in docs blurb.
10063 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10065 * gst/gsturi.c: (search_by_entry):
10066 Don't assert/crash here if a uri handler doesn't return any
10067 supported protocols. The list of protocols could be generated
10068 dynamically at runtime or at plugin registration, and an error
10069 in the underlying library shouldn't be fatal (#353301).
10071 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
10074 Fix warning if HAVE_PRINTF_EXTENSION is undefined
10075 (spotted by Peter Kjellerstedt).
10077 2006-09-23 Wim Taymans <wim@fluendo.com>
10079 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
10081 * libs/gst/base/gstbasesrc.c:
10082 (gst_base_src_default_check_get_range), (gst_base_src_start),
10083 (gst_base_src_activate_push), (gst_base_src_activate_pull),
10084 (gst_base_src_change_state):
10085 Match _start/_stop calls in the activate functions. Remove redundant
10086 _stop call from the state change function. Fixes #356910.
10087 Turn failure DEBUG into ERROR.
10089 2006-09-22 Wim Taymans <wim@fluendo.com>
10091 * docs/design/part-buffering.txt:
10092 * gst/gstmessage.c: (gst_message_new_buffering),
10093 (gst_message_parse_buffering):
10094 Update docs about buffering.
10096 * docs/design/part-trickmodes.txt:
10099 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10101 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10102 (gst_controller_new_list):
10103 Ref instances when returning them again (fixes #357180)
10105 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10107 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10108 Don't forget to release proxy lock when there's an error.
10110 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10113 Add extra initialisers for Caps things, to fix some plugin warnings
10116 2006-09-18 Wim Taymans <wim@fluendo.com>
10118 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10119 Also set template on the internal pad so that a getcaps from the
10120 target pad returns the template caps.
10122 2006-09-18 Wim Taymans <wim@fluendo.com>
10124 * gst/gstelement.c: (gst_element_post_message),
10125 (gst_element_dispose):
10126 Use _DEBUG_OBJECT some more.
10128 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10131 * tools/gst-launch.c: (main):
10132 If the toplevel element is not a GstPipeline, it must be put in a
10133 pipeline so that a bus and clock is selected.
10135 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10137 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10138 JITTER, RATE, and LATENCY query should be handled by the
10139 default case and not by the CONVERT query code.
10141 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10143 * gst/gstformat.c: (gst_format_register):
10144 Fix locking order (must take lock before using n_values).
10146 * gst/gstvalue.c: (gst_value_serialize_enum),
10147 (gst_value_deserialize_enum_iter_cmp),
10148 (gst_value_deserialize_enum):
10149 Fix serialisation/deserialisation of custom registered GstFormats.
10151 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10152 Unit test for custom format serialisation/deserialisation.
10154 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10156 * docs/pwg/building-boiler.xml:
10157 * plugins/elements/gstcapsfilter.c:
10158 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10161 2006-09-16 Edward Hervey <edward@fluendo.com>
10163 * libs/gst/base/gstbasetransform.c:
10164 (gst_base_transform_buffer_alloc):
10165 Check if requested caps are the same as the sinks caps IF
10166 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10168 This fixes the renegotiation issues stated in #352827.
10170 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10173 * docs/manual/advanced-autoplugging.xml:
10174 * tests/examples/Makefile.am:
10175 * tests/examples/manual/.cvsignore:
10176 * tests/examples/manual/Makefile.am:
10177 * tests/examples/manual/extract.pl:
10178 Extract the manual examples again like we used to do.
10181 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10183 * win32/common/config.h:
10186 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10189 Documents how to receive errors.
10191 2006-09-15 Wim Taymans <wim@fluendo.com>
10193 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10194 (event_loop), (main):
10195 Added some comments here and there.
10196 Post an application message when an interrupt is caught instead of doing
10197 an uncontrolled state change.
10198 Clean up the event loop.
10199 Handle buffering messages, pause/resume the pipeline.
10200 Make shutdown because of an interrupt more reliable.
10202 2006-09-15 Wim Taymans <wim@fluendo.com>
10204 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10205 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10206 (gst_base_sink_preroll_object):
10207 Make sure that our internal state is correct when we commit our state
10208 asynchronously. This solves a race where a state change to PLAYING
10209 could cause the sink to remain blocked in preroll in some situations.
10211 2006-09-15 Wim Taymans <wim@fluendo.com>
10213 * tools/gst-inspect.c: (print_element_properties_info),
10214 (print_signal_info):
10215 List flags as hex so it's easier to deal with.
10217 2006-09-15 Wim Taymans <wim@fluendo.com>
10219 * docs/libs/gstreamer-libs-sections.txt:
10220 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10221 (gst_base_sink_do_sync):
10222 * libs/gst/base/gstbasesink.h:
10223 Expose logic to wait for preroll so that subclasses such as audiosink
10224 can also use this method.
10225 API: gst_base_sink_wait_preroll()
10227 2006-09-15 Wim Taymans <wim@fluendo.com>
10229 * gst/gstobject.c: (gst_object_set_parent):
10230 * gst/gstpipeline.c: (do_pipeline_seek):
10231 Small cleanups in docs and code.
10233 * gst/gstsegment.c: (gst_segment_clip):
10234 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10235 if stop == start and start is in the segment, no clipping should be
10236 done. Also add a test for this.
10238 2006-09-15 Wim Taymans <wim@fluendo.com>
10240 * docs/design/part-buffering.txt:
10241 * docs/gst/gstreamer-sections.txt:
10242 * gst/gstmessage.c: (gst_message_new_buffering),
10243 (gst_message_parse_buffering):
10244 * gst/gstmessage.h:
10245 Added methods to create and parse BUFFERING messages.
10246 Added preliminary docs about buffering.
10247 API: gst_message_new_buffering
10248 API: gst_message_parse_buffering
10250 2006-09-06 Wim Taymans <wim@fluendo.com>
10253 Update documentation.
10255 * gst/gstelement.c: (gst_element_class_init),
10256 (gst_element_release_request_pad), (gst_element_set_clock),
10257 (gst_element_get_index), (gst_element_add_pad),
10258 (gst_element_remove_pad), (gst_element_get_random_pad),
10259 (gst_element_send_event), (gst_element_get_query_types),
10260 (gst_element_query), (gst_element_post_message),
10261 (gst_element_message_full), (gst_element_continue_state),
10262 (gst_element_lost_state), (gst_element_save_thyself),
10263 (gst_element_restore_thyself):
10264 Documentation updates.
10265 Rename last bit of the new-pad -> pad-added signal rename.
10266 Fix the case where an element query would only work if the source
10268 Avoid some useless type checking in message handling.
10273 Documentation updates.
10275 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10277 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10278 add an INFO line for when we actually update the fd
10280 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10285 === release 0.10.10 ===
10287 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10290 releasing 0.10.10, "Pais"
10292 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10294 * docs/manual/advanced-position.xml:
10295 Fix typo in sample code.
10297 2006-09-05 Wim Taymans <wim@fluendo.com>
10299 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10300 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10301 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10302 * libs/gst/net/gstnetclientclock.h:
10303 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10304 * libs/gst/net/gstnettimepacket.h:
10305 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10306 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10307 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10308 * libs/gst/net/gstnettimeprovider.h:
10309 Make stuff compile on windows. Fixes #345295.
10311 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10313 * gst/gst.c: (ensure_current_registry_forking):
10314 Print better details when child was terminated by signal.
10316 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10318 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10319 Print a warning rather than g_assert() if a plugin feature
10320 is a URI handler but returns no protocols (#353976).
10322 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10324 * docs/random/moving-plugins:
10327 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10329 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10330 Fix locking order, handle NULL function values properly.
10335 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10336 Initialise variable before using it and fix debug statement to
10337 print the address of the function rather than the address of the
10338 variable on the stack holding the address of the function.
10340 2006-09-01 Wim Taymans <wim@fluendo.com>
10342 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10343 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10344 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10345 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10346 (gst_ghost_pad_parent_unset),
10347 (gst_ghost_pad_internal_do_activate_push),
10348 (gst_ghost_pad_internal_do_activate_pull),
10349 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10350 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10351 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10352 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10353 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10354 (gst_ghost_pad_new_no_target_from_template),
10355 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10357 Avoid needless typechecking in macros.
10358 Since the internal pad is always present and never changes, there is
10359 no need to locking or ref when retrieving it.
10360 Improve debugging a bit.
10361 Handle link errors when setting the target. Fixes #341029.
10363 2006-09-01 Wim Taymans <wim@fluendo.com>
10365 * docs/libs/gstreamer-libs-sections.txt:
10366 * docs/plugins/gstreamer-plugins-sections.txt:
10367 Fix docs some more.
10369 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10370 (gst_collect_pads_event):
10371 * libs/gst/base/gstcollectpads.h:
10372 Documentation updates.
10373 Free queued buffer when removing a pad.
10375 2006-08-31 Michael Smith <msmith@fluendo.com>
10377 * gst/gstutils.c: (gst_element_link_pads),
10378 (gst_element_link_pads_filtered):
10379 Ensure that we set a capsfilter to NULL if we failed to link it
10380 when doing filtered linking, to avoid criticals.
10382 No need to check for unreffing srcpad, which is explicly NULLed
10383 above (a trivial code cleanup).
10385 2006-08-31 Wim Taymans <wim@fluendo.com>
10387 * docs/design/part-gstghostpad.txt:
10388 Update ascii art in documentation.
10390 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10391 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10392 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10393 (gst_ghost_pad_internal_do_activate_push),
10394 (gst_ghost_pad_internal_do_activate_pull),
10395 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10396 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10397 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10398 (gst_ghost_pad_set_target):
10399 Small cleanups and leak fixes.
10400 Remove some checks now that the internal pad is never NULL.
10401 Fix the case where linking pads without a target would create nasty
10402 criticals. Fixes #341029.
10403 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10404 value of _set_target().
10406 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10407 (gst_ghost_pad_suite):
10408 Some more tests for creating and linking untargeted ghostpads.
10410 2006-08-31 Edward Hervey <edward@fluendo.com>
10412 * docs/gst/gstreamer-sections.txt:
10413 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10414 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10415 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10416 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10417 (gst_ghost_pad_new_from_template),
10418 (gst_ghost_pad_new_no_target_from_template):
10419 * gst/gstghostpad.h:
10420 Refactored *_new() functions.
10421 Templates are now used as a g_object_new() parameter.
10422 Use template in _do_getcaps() if we don't have a target.
10423 Small documentation cleanups.
10424 Added two new constructors:
10425 gst_ghost_pad_new_from_template()
10426 gst_ghost_pad_new_no_target_from_template()
10427 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10428 (gst_ghost_pad_suite):
10429 Added tests for new ghostpad instanciation functions.
10431 API additions: gst_ghost_pad_new_from_template,
10432 gst_ghost_pad_new_no_target_from_template
10434 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10436 * docs/random/ensonic/profiling.txt:
10437 Ideas about qos profiling.
10439 2006-08-29 Wim Taymans <wim@fluendo.com>
10441 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10445 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10448 Improve and detypofy docs.
10450 * tests/check/Makefile.am:
10451 * tests/check/gst/.cvsignore:
10452 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10453 Add a basic test suite for GstXML.
10455 2006-08-29 Wim Taymans <wim@fluendo.com>
10457 * gst/gstelement.c: (activate_pads), (clear_caps),
10458 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10459 Clear the pad caps when the element shut down all of the pads and
10460 is not streaming data that could modify the caps.
10463 2006-08-28 Michael Smith <msmith@fluendo.com>
10465 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10466 Revert previous change; I misunderstood single-segment mode.
10468 2006-08-28 Michael Smith <msmith@fluendo.com>
10470 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10471 Unset DISCONT on buffers when using single-segment mode.
10473 2006-08-28 Wim Taymans <wim@fluendo.com>
10475 * gst/gstcaps.c: (gst_caps_merge_structure):
10477 Fix docs and indentation again.
10479 * tests/check/gst/gstquery.c: (GST_START_TEST):
10480 Fix leak in tests and add some more tests.
10482 2006-08-28 Edward Hervey <edward@fluendo.com>
10484 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10485 Inform GstSegment of the last stop position in order for the current
10486 segment to have a proper duration if it doesn't have a specific stop
10487 position from which a duration could be calculated.
10488 This bug was noticeable when a non-flushing, non-update new segment was
10489 followed by another segment (all buffers from the new segment were being
10492 2006-08-28 Wim Taymans <wim@fluendo.com>
10494 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10495 Small comment update.
10497 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10498 (gst_identity_transform_ip):
10499 Drop-probability is broken, mention this in the code with a
10500 FIXME and also in the property description.
10501 Make silent also be silent about the drop messages.
10503 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10505 * docs/manual/appendix-win32.xml:
10506 Remove mention of popt, we don't depend on that any
10507 longer (#353136). Add some comments pointing out that
10508 this section is slightly outdated.
10510 2006-08-28 Wim Taymans <wim@fluendo.com>
10512 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10514 * gst/gstquery.c: (gst_query_new_segment):
10515 * tests/check/gst/gstquery.c: (GST_START_TEST):
10516 Initialize variables when creating a new segment query.
10519 2006-08-28 Wim Taymans <wim@fluendo.com>
10521 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10523 * gst/gstelement.c: (gst_element_get_bus):
10524 * tests/check/gst/gstelement.c: (GST_START_TEST):
10525 Check for NULL before _reffing the bus. Fixes #353122.
10527 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10529 * docs/manual/basics-bus.xml:
10530 Docs update: fix wrong callback return value explanation; add
10531 some lines about the implicit relationship between main loop
10532 and main context; remove duplicate main loop variable declaration.
10534 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10536 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10537 Don't leak caps in unit test; add a few more simple
10540 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10542 * docs/gst/gstreamer-sections.txt:
10543 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10544 (gst_caps_structure_is_subset), (gst_caps_merge),
10545 (gst_caps_merge_structure):
10547 * libs/gst/base/gstbasetransform.c:
10548 (gst_base_transform_transform_caps):
10549 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10550 implement caps merging (fixes #352580)
10552 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10554 * tools/Makefile.am:
10555 * tools/gst-plot-timeline.py:
10556 add debug-log plotting developer tool (#340674)
10558 2006-08-23 Wim Taymans <wim@fluendo.com>
10560 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10561 (gst_pad_stop_task):
10562 Improve debugging for task functions.
10564 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10565 (gst_task_start), (gst_task_pause), (gst_task_join):
10566 Make sure that the task function started and finished after a
10568 Don't try to push the task function on the threadpool multiple
10570 Improve the g_warning message with some useful suggestions
10571 about how to fix the problem.
10573 2006-08-23 Wim Taymans <wim@fluendo.com>
10575 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10576 Handle RESYNC correctly in _proxy_getcaps.
10578 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10580 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10581 (gst_xml_parse_memory), (gst_xml_get_element):
10582 Chain up to parent class in dispose function and also
10583 unref the elements in the toplevel_elements GList.
10584 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10585 Always return a reference in gst_xml_get_element() rather
10586 than only sometimes.
10588 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10589 Don't leak GstXml object.
10591 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10593 * docs/gst/gstreamer-sections.txt:
10594 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10597 * libs/gst/base/gstbasetransform.c:
10598 (gst_base_transform_transform_caps):
10599 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10602 2006-08-21 Edward Hervey <edward@fluendo.com>
10604 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10605 Implement GObject::dispose virtual method in GstXML so we can free the
10606 top_elements GList.
10608 2006-08-21 Wim Taymans <wim@fluendo.com>
10610 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10611 (gst_buffer_create_sub):
10612 Copy duration/offset_end/caps when creating a subbuffer of the
10614 Make the subbuffer read-only when we make the metadata writable for
10615 now. Fixes #351768.
10617 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10618 Added check for metadata copy when creating subbuffers.
10620 2006-08-21 Edward Hervey <edward@fluendo.com>
10622 * libs/gst/base/gstbasetransform.c:
10623 (gst_base_transform_buffer_alloc):
10624 Only call downstream buffer_alloc if transform element is passthrough
10625 or always_in_place. Closes #350449.
10627 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10630 ChangeLog surgery to add comments to previous changes
10632 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10637 * gst/gstpad.c: (gst_pad_set_active):
10638 Be more verbose in the log
10640 * libs/gst/base/gstbasetransform.c:
10641 (gst_base_transform_transform_caps):
10642 Simplify caps to get rid of duplicates, fixes #345444
10644 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10648 Use these optimizations only internally.
10650 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10652 * gst/gstvalue.c: (gst_value_compare_list),
10653 (gst_value_compare_fraction_range),
10654 (gst_value_intersect_fraction_fraction_range),
10655 (gst_value_intersect_fraction_range_fraction_range),
10656 (gst_value_subtract_fraction_fraction_range),
10657 (gst_value_subtract_fraction_range_fraction_range),
10658 (gst_value_get_compare_func), (gst_value_compare),
10659 (gst_value_compare_with_func):
10661 Saves the expensive lookup of the compare function in many cases
10664 2006-08-18 Edward Hervey <edward@fluendo.com>
10666 * tests/check/gst/gstinfo.c: (gst_info_suite):
10667 Disable test that require gstdebug if it wasn't built in core.
10669 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10671 * docs/random/ensonic/logging.txt:
10674 * gst/gstinfo.c: (gst_debug_log_default):
10675 reorder fields, save some columns, add optional color codes for log
10678 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10680 * docs/random/ensonic/logging.txt:
10681 add ideas about making the logs a bit more useful
10683 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10685 * docs/pwg/advanced-events.xml:
10686 * docs/pwg/titlepage.xml:
10687 Update for 0.10 API (#340627). Add myself
10690 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10692 * docs/libs/gstreamer-libs-docs.sgml:
10693 * docs/libs/gstreamer-libs-sections.txt:
10694 * libs/gst/check/gstbufferstraw.c:
10695 Make gstcheck stuff show up in docs (still needs to
10696 be documented properly though).
10698 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10700 * docs/gst/gstreamer-sections.txt:
10702 * gst/gst.c: (init_post):
10703 * gst/gst_private.h:
10704 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10706 * gst/gstquery.c: (gst_query_new_position),
10707 (gst_query_set_position), (gst_query_parse_position),
10708 (gst_query_new_duration), (gst_query_set_duration),
10709 (gst_query_parse_duration), (gst_query_new_convert),
10710 (gst_query_set_convert), (gst_query_parse_convert),
10711 (gst_query_new_segment), (gst_query_set_segment),
10712 (gst_query_parse_segment), (gst_query_new_seeking),
10713 (gst_query_set_seeking), (gst_query_parse_seeking):
10714 Add internal helpers for pre-registering quarks from static strings
10715 and using the quark values directly instead of looking them up when
10716 creating and parsing queries. Can be used for event construction too.
10719 2006-08-16 Wim Taymans <wim@fluendo.com>
10724 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10726 * gst/gstutils.c: (gst_util_set_value_from_string):
10727 Fix memleak (#351502).
10729 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10730 Add unit test for most of gst_util_set_value_from_string()
10731 (not that one would want to encourage use of this function).
10733 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10735 * libs/gst/check/gstcheck.h:
10736 Use const gchar * variables in fail_unless_equals_string
10737 macro to avoid compiler warnings (and don't use tabs for
10740 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10742 * tools/gst-launch.c: (print_tag):
10743 More space on the left for the tag names, to cater
10744 for the 'extended comment' tag (not touching the
10745 string for the first line since it's translated).
10747 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10749 * libs/gst/check/gstcheck.h:
10750 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10751 print something when they fail.
10753 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10755 * docs/gst/gstreamer-sections.txt:
10756 * gst/gsttaglist.c: (_gst_tag_initialize):
10757 * gst/gsttaglist.h:
10758 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10759 Also change merge function for GST_TAG_COMMENT to
10762 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10764 * gst/gstinfo.c: (gst_debug_print_object):
10765 Make GST_PTR_FORMAT print messages as well.
10767 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10768 (GST_START_TEST), (gst_info_suite):
10771 2006-08-14 Edward Hervey <edward@fluendo.com>
10773 * gst/gstelementfactory.c: (gst_element_register):
10774 If the GstElementClass doesn't have a GstElementDetails with all fields
10775 filled up correctly (longname, description AND author), then error out
10776 nicely instead of crashing.
10778 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10780 * gst/gststructure.c:
10781 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10784 Expand on the difference between arrays and lists as we use them.
10786 2006-08-14 Wim Taymans <wim@fluendo.com>
10788 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10789 If the parent state change function failed, don't assume we can safely
10790 stop the source, this will be done when the pads are deactivated.
10792 2006-08-14 Wim Taymans <wim@fluendo.com>
10795 * gst/gsttask.c: (gst_task_join):
10798 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10799 (gst_pad_stop_task):
10800 When pad (de)activation failed for some reason, restore the old
10801 activation mode and set the pad to flushing instead of assuming the
10802 pad is deactivated.
10803 If the _task_join() failed, reinstall the task on the pad so that it can
10804 be stopped later and return an error.
10806 2006-08-11 Andy Wingo <wingo@pobox.com>
10809 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10810 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10811 is only for users of API that don't want to see deprecated
10812 functions in the headers; people that want to compile out
10813 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10814 CFLAGS. Fixes the build of multifdsink, or will soon..
10816 2006-08-11 Wim Taymans <wim@fluendo.com>
10818 * docs/gst/gstreamer-sections.txt:
10819 Add GstClockClass vmethod docs.
10822 Mark #endif with comment for associated #if
10824 * gst/gstclock.c: (gst_clock_id_wait):
10826 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10827 most clock implementations.
10829 Flesh out docs about resolution methods.
10830 API: GstClockClass::wait_jitter
10832 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10833 (gst_system_clock_async_thread),
10834 (gst_system_clock_id_wait_jitter_unlocked),
10835 (gst_system_clock_id_wait_jitter):
10836 Use base class wait_jitter variant for improved performance
10837 due to less clock polling.
10839 2006-08-11 Edward Hervey <edward@fluendo.com>
10841 * gst/gst.c: (gst_init_check), (init_post):
10842 Set gst as being initialized before scanning/updating the registry,
10843 since there might be my python plugin loader that calls gst_init() and
10844 we don't want to loop back in.
10847 2006-08-11 Wim Taymans <wim@fluendo.com>
10849 * docs/design/part-qos.txt:
10850 Bring docs in line with the code. Mostly the sign of the jitter was
10851 wrong in the docs. Fixes #349943.
10854 Fix the docs for the jitter.
10856 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10857 (gst_event_parse_tag), (gst_event_new_buffer_size),
10858 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10859 (gst_event_new_seek), (gst_event_parse_seek),
10860 (gst_event_new_navigation):
10861 Make sure the GstStructure has no parent when creating custom
10863 Add some more argument checking so that we avoid 0.0 rates.
10864 Flesh out the docs for the QoS event some more.
10866 2006-08-11 Wim Taymans <wim@fluendo.com>
10868 * docs/gst/gstreamer-sections.txt:
10869 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10870 (ensure_current_registry_forking), (ensure_current_registry),
10871 (parse_one_option), (parse_goption_arg), (gst_deinit),
10872 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10875 Added API and command line option to disable registry forking in
10876 addition to the environment variable.
10877 Constify some static arrays.
10878 Added some more debug.
10879 Don't deinit twice.
10880 API: gst_registry_fork_is_enabled()
10881 API: gst_registry_fork_set_enabled()
10882 API: --gst-disable-registry-fork command line option
10885 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10887 * gst/gst.c: (gst_init):
10888 Fix typo in error message.
10890 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10892 * libs/gst/controller/gstcontroller.h:
10893 fix ABI size-correction
10895 * tests/check/libs/gdp.c: (gst_dp_suite):
10896 make tests that use deprecated API conditional
10898 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10900 * docs/libs/gstreamer-libs-sections.txt:
10901 * libs/gst/controller/gstcontroller.c:
10902 (_gst_controller_get_property), (_gst_controller_set_property),
10903 (_gst_controller_init), (_gst_controller_class_init):
10904 * libs/gst/controller/gstcontroller.h:
10905 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10906 (gst_object_set_control_rate):
10907 API: add gst_object_{s,g}et_control_rate(), add private data section,
10910 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10911 * libs/gst/dataprotocol/dataprotocol.h:
10912 add deprecation guards to make gtk-doc happy and allow disabling cruft
10914 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10916 * tests/check/Makefile.am:
10917 * tests/check/gst/.cvsignore:
10918 Let's enable the new unit test as well.
10920 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10923 * docs/gst/gstreamer-sections.txt:
10924 * gst/gstconfig.h.in:
10925 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10926 (_gst_info_printf_extension_ptr),
10927 (_gst_info_printf_extension_segment):
10928 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10929 register that lets us easily dump GstSegments into debug
10932 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10933 (info_segment_format_printf_extension), (gst_info_suite):
10934 Add simple unit test that logs a bunch of different segments (not
10935 valgrinded at the moment because of leaks in
10936 gst_debug_add_log_function).
10938 2006-08-09 Edward Hervey <edward@fluendo.com>
10940 * libs/gst/base/gstbasetransform.c:
10941 (gst_base_transform_buffer_alloc):
10942 Even if we can't figure out the proper format to request downstream,
10943 call buffer_alloc() downstream with the input parameters without setting
10944 the caps on the srcpad. This will force negotiation in the chain
10948 2006-08-08 Edward Hervey <edward@fluendo.com>
10950 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10951 Unlinking from a pad without a target is now a perfectly valid case
10952 which should NOT raise an assertion.
10953 This case would happen if a linked ghostpad its target set to NULL after
10954 it was previously linked.
10956 2006-08-08 Edward Hervey <edward@fluendo.com>
10958 * tests/check/libs/gdp.c:
10959 Also comment out the test (see below).
10961 2006-08-08 Edward Hervey <edward@fluendo.com>
10963 * tests/check/libs/gdp.c: (gst_dp_suite):
10964 Use the architecture information from config.h and not gcc macros
10965 in order to properly disable a test that fails on PPC64.
10967 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10969 * gst/gstelement.c: (gst_element_remove_pad):
10970 Don't crash printing the warning if the pad has no parent.
10972 2006-08-02 Wim Taymans <wim@fluendo.com>
10974 * libs/gst/dataprotocol/dataprotocol.c:
10975 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10976 (gst_dp_crc), (gst_dp_header_payload_length),
10977 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10978 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10979 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10980 (gst_dp_event_from_packet), (gst_dp_validate_header),
10981 (gst_dp_validate_payload):
10982 Make debug category static
10983 Constify the crc table.
10984 Do some more arg checking in public functions.
10985 Fix some docs and do some small cleanups.
10987 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10988 Add some more checks to see if GDP deals with bogus input.
10990 2006-07-31 Wim Taymans <wim@fluendo.com>
10992 * gst/gstvalue.c: (gst_value_compare_list):
10993 Fix GstValueList comparison code. Fixes #347293.
10995 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10996 Check to test GstValueList comparison.
10998 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11000 * gst/gstelementfactory.c: (gst_element_factory_create):
11001 Remove unnecessary ref/unref pair
11003 * gst/parse/grammar.y:
11004 Make sure to free the parse buffer on all code paths.
11005 Move a g_free up to the error handler where it's easier to see.
11007 * tests/check/gst/gstevent.c: (test_event):
11008 Extending timeout for downstream travelling events to 10 seconds to
11009 hopefully avoid intermittent failure on the buildbots.
11011 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
11012 Don't manually set the state of the src element - it will happen as a
11013 natural consequence of the pipeline changing state, and that way it
11014 will do it in the right order too.
11016 2006-07-31 Wim Taymans <wim@fluendo.com>
11018 * libs/gst/base/gstbasetransform.c:
11019 (gst_base_transform_buffer_alloc):
11020 Use OBJECT_LOCK and refcounting to get the pad caps in the
11021 buffer_alloc function because the caps could change while we are
11022 busy with them. Fixes #349105
11024 2006-07-31 Wim Taymans <wim@fluendo.com>
11026 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
11027 Protect _PAD_CAPS with OBJECT_LOCK.
11029 2006-07-31 Wim Taymans <wim@fluendo.com>
11031 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
11032 (gst_pad_get_property), (gst_pad_activate_pull),
11033 (gst_pad_activate_push), (gst_pad_set_blocked_async),
11034 (gst_pad_set_activate_function),
11035 (gst_pad_set_activatepull_function),
11036 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
11037 (gst_pad_set_getrange_function),
11038 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
11039 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
11040 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
11041 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
11042 (gst_pad_set_acceptcaps_function),
11043 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
11044 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
11045 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
11046 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
11047 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
11048 (gst_pad_configure_sink), (gst_pad_configure_src),
11049 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
11050 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
11051 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
11052 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
11053 (gst_pad_send_event):
11054 Use _DEBUG_OBJECT when it makes sense.
11055 Protect GST_PAD_CAPS with the OBJECT_LOCK.
11056 Small cleanups and code reflows.
11057 Avoid caps refcounting in _accept_caps.
11058 Refactor alloc_buffer so that the code performed on the peer is in a
11059 separate function. Also if the pad does not implement a buffer alloc
11060 function, we should still check if the pad is flushing before falling
11061 back to the default allocator.
11063 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
11065 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11066 Make all uses of identity and fakesink have silent=true to avoid
11067 serialising every passing data structure, which is breaking tests
11068 on FC4 for some unknown reason.
11070 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11072 * gst/parse/Makefile.am:
11073 * gst/parse/grammar.y:
11074 * gst/parse/parse.l:
11075 Reverted previous patch as it required to bump the flex dependency to
11076 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
11078 2006-07-30 Stefan Kost <ensonic@users.sf.net>
11080 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
11082 * gst/parse/Makefile.am:
11083 * gst/parse/grammar.y:
11084 * gst/parse/parse.l:
11085 push & pop the state of the lexer for reentrant use case
11088 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
11090 * libs/gst/base/gstbasesrc.h:
11091 Note in the docs that the ::newsegment vfunc is not actually used by
11094 2006-07-28 Wim Taymans <wim@fluendo.com>
11096 * libs/gst/base/gstcollectpads.c:
11097 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11098 (gst_collect_pads_clear), (gst_collect_pads_flush),
11099 (gst_collect_pads_event), (gst_collect_pads_chain):
11100 When flushing a pad, also clear the queued buffer so that we don't
11101 accidentally use it when we shouldn't.
11102 Fix leaks by inreffing incomming buffer.
11103 Flush out queued buffers in case of errors.
11106 2006-07-28 Wim Taymans <wim@fluendo.com>
11108 * docs/random/phonon-gst:
11109 Random notes about a Phonon backend.
11111 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11113 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11115 * tests/check/libs/gdp.c: (gst_dp_suite):
11116 Take a whack at fixing the ppc compile using a different define to
11117 disable the broken test.
11119 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11120 Remove excess g_print()
11122 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11124 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11125 Oops, meant to uncomment this line too to dampen the noise a bit.
11127 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11129 * gst/parse/grammar.y:
11130 * gst/parse/parse.l:
11131 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11132 (GST_START_TEST), (parse_suite):
11133 Fix some of the leaks exposed by extending the parse-launch testsuite,
11134 and move the 3 I can't figure out into a separate test that won't run
11135 the pipelines unless the appropriate line is uncommented.
11137 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11139 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11140 Requesting 0 bytes before the end of the file should result in
11141 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11144 2006-07-27 Wim Taymans <wim@fluendo.com>
11146 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11147 Fix useless assert, a uint is always positive.
11149 * gst/gststructure.c: (gst_structure_nth_field_name),
11150 (gst_structure_foreach), (gst_structure_map_in_place):
11151 Check input arguments for public functions to avoid obvious crashes.
11153 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11154 * plugins/elements/gstfakesink.h:
11155 Do less useless typechecking.
11157 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11159 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11160 Do not use mmap() by default since there are a number of error
11161 conditions that we would like to handle in a non-fatal way that
11162 will result in a SIGBUS if we use mmap(). Examples: external
11163 devices (USB harddrive, portable music player) being unplugged
11164 while in use; file on mounted CD/DVD that can't be read because
11165 the medium is partly damaged. Fixes #348455 and #348475.
11167 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11170 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11171 rates are a gdouble
11173 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11175 * gst/gstregistry.c:
11176 Move big documentation comment into class section header, so that it
11177 appears in the API docs.
11179 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11181 * docs/gst/gstreamer-sections.txt:
11182 Oops. Commit the docs additions too for new API.
11183 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11185 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11187 * gst/gststructure.c: (gst_structure_id_set),
11188 (gst_structure_id_set_valist):
11189 * gst/gststructure.h:
11190 Add API for setting values into structures without performing
11191 a quark lookup, if the appropriate quark is already known.
11193 API: gst_structure_id_set
11194 API: gst_structure_id_set_valist
11196 * gst/parse/grammar.y:
11197 * gst/parse/parse.l:
11198 Remove some dead code shown by the coverage information.
11199 Don't throw a critical g_warning when encountering a syntax error,
11200 just warn and let the normal error path handle it.
11202 * plugins/elements/gstelements.c:
11203 Bump the rank of filesink up to PRIMARY so that it is preferred over
11204 gnomevfssink for file:// sink uri's
11206 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11207 (GST_START_TEST), (run_delayed_test),
11208 (gst_parse_test_element_base_init),
11209 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11210 (gst_parse_test_element_change_state),
11211 (gst_register_parse_element), (parse_suite):
11212 Beef up the tests for parse syntax to check that more error cases
11213 fail as they are supposed to. Increases the test coverage a bit.
11215 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11217 * docs/manual/basics-elements.xml:
11218 Fix gst_element_link() example.
11221 Mention in API docs that one should usually gst_bin_add()
11222 elements to a bin or pipeline before doing the linking.
11224 2006-07-26 Wim Taymans <wim@fluendo.com>
11226 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11227 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11228 Avoid function call for known types by keeping the buffer and
11229 subbuffer GType global.
11231 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11232 Random silly optimisations in read() path.
11234 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11236 * tools/gst-launch.c: (main):
11237 If the top-level of the parse is a normal bin, it doesn't do the
11238 right logic to run as a top-level element, so place it inside a
11241 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11243 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11244 Remove superfluous g_object_notify() calls, GObject does
11245 that for us automatically.
11247 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11250 on Win32, use dllspec to export the debug category symbols
11252 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11254 * gst/gsttaglist.c: (_gst_tag_initialize):
11255 Allow more than one GST_TAG_IMAGE per taglist.
11257 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11259 * gst/gstminiobject.c:
11261 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11262 (gst_fd_src_create):
11263 log recurring events at LOG level
11264 add more debug for when the fd gets set
11266 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11268 * gst/gstparse.c: (gst_parse_launch):
11269 Also remove reentrance checks if flex is MT safe (#348179)
11270 Fix my empty ChangeLog entry below
11272 2006-07-21 Andy Wingo <wingo@pobox.com>
11274 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11276 * libs/gst/check/Makefile.am
11277 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11278 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11279 * libs/gst/check/gstbufferstraw.h:
11280 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11281 functions, thus proving I am still a GStreamer haxor. OK I wrote
11282 them a long time ago, but anyways.
11284 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11287 * gst/gstparse.c: (gst_parse_launch):
11288 Check for flex version and omit mutex if we have a MT save flex
11291 2006-07-21 Wim Taymans <wim@fluendo.com>
11293 * gst/gstparse.c: (gst_parse_launch):
11294 Protect recursive calls to _parse with a recursive mutex
11297 2006-07-21 Wim Taymans <wim@fluendo.com>
11299 * tests/check/gst/gstpad.c: (GST_START_TEST):
11302 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11304 * gst/gstparse.c: (gst_parse_launch):
11305 Do not hang on recursive usage of gst_parse_launch()
11307 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11309 * gst/gsttaglist.c:
11310 Add some more docs, comments and FIXME 0.11s here and there
11311 and also fix some typos.
11313 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11315 * gst/gstsegment.h:
11316 Convert tabs to spaces for better readability.
11318 2006-07-20 Edward Hervey <edward@fluendo.com>
11320 * tests/check/libs/gdp.c: (gst_dp_suite):
11321 the test_buffer test fails at line 140 on ppc64 at the following
11323 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11324 GST_BUFFER_FLAG_IN_CAPS),
11325 "GST_BUFFER_IN_CAPS flag should have been copied !");
11326 See bug #348114 for more details.
11328 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11330 * docs/pwg/advanced-scheduling.xml:
11332 Fix typos (#348000).
11334 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11336 * docs/pwg/intro-basics.xml:
11337 Fix wrong links (#347927).
11339 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11341 * gst/gstregistry.h:
11342 * gst/gstregistryxml.c: (load_feature),
11343 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11344 * win32/common/config.h:
11345 make --disable-index work (#342564)
11347 2006-07-18 Wim Taymans <wim@fluendo.com>
11349 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11353 The attached patch adds two missing defines to gsttrace.h when tracing
11354 is disabled. It also corrects one existing define.
11357 2006-07-17 Wim Taymans <wim@fluendo.com>
11359 * docs/gst/gstreamer-sections.txt:
11360 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11362 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11363 Add two functions to check and change the SIGSEGV behaviour
11364 when loading plugins.
11365 Don't mess with the SIGSEGV handler when we were told not to.
11367 API: gst_segtrap_is_enabled
11368 API: gst_segtrap_set_enabled
11370 2006-07-14 Wim Taymans <wim@fluendo.com>
11372 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11373 * tests/check/elements/filesrc.c: (GST_START_TEST):
11374 Revert fix for regression in #347408 after release.
11376 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11378 Patch by: Antoine Tremblay <hexa00 at gmail com>
11380 * gst/gstutils.c: (gst_element_unlink):
11381 Free iterator when done (#347311).
11383 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11384 And add a test case for this.
11386 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11389 Bump nano back to CVS
11391 === release 0.10.9 ===
11393 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11396 releasing 0.10.9, "On the road again"
11398 2006-07-13 Wim Taymans <wim@fluendo.com>
11400 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11401 * tests/check/elements/filesrc.c: (GST_START_TEST):
11402 Revert pull-0 fix for release. Disable check. Fixes #347408.
11404 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11406 * libs/gst/dataprotocol/dataprotocol.c:
11407 (gst_dp_event_from_packet_1_0):
11408 Fixes #347337: failure to deserialize event packets with
11409 empty payload (only event type)
11411 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11414 do not install a .c file in the header directory
11416 2006-07-13 Edward Hervey <edward@fluendo.com>
11418 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11419 GhostPad no longer implicitely use the padtemplates of the targets.
11422 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11424 * gst/gstvalue.c: (gst_value_compare_list),
11425 (gst_value_compare_array), (_gst_value_initialize):
11426 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11427 Make GstValueArray comparison be order dependent as designed.
11428 Add checks for value lists and value array comparisons.
11431 2006-07-11 Edward Hervey <edward@fluendo.com>
11433 * gst/gstbin.c: (activate_pads),
11434 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11435 (gst_bin_change_state_func):
11436 (de)activate src pads before calling state_change on the childs.
11437 This is to avoid the case where a src ghostpad is blocked (holding the
11438 stream lock), which would block the deactivation of the ghostpad's
11440 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11441 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11442 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11443 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11444 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11445 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11446 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11447 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11448 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11449 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11450 (gst_ghost_pad_class_init),
11451 (gst_ghost_pad_internal_do_activate_push),
11452 (gst_ghost_pad_internal_do_activate_pull),
11453 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11454 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11455 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11456 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11457 GhostPads now create their internal GstProxyPad at creation (and not
11458 when they're linked, as it was being done previously).
11459 The internal and target pads are linked straight away.
11460 The data will also travel through the other pad in order to make
11461 pad blocking and probes non-hackish (the probe/block now really happens
11462 on the GhostPad and not on the target).
11463 * gst/gstpad.c: (gst_pad_set_blocked_async),
11464 (gst_pad_link_prepare), (gst_pad_push_event):
11465 Remove previous ghostpad cruft.
11466 * gst/gstutils.c: (gst_pad_add_data_probe),
11467 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11468 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11469 (gst_pad_remove_buffer_probe):
11470 Remove previous ghost pad cruft.
11471 Added more detailed debug statements.
11472 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11473 Fix the testsuite for refcounting changes.
11474 The comments about who has references were correct, but the refcount
11475 being checked wasn't the same (!?!).
11479 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11481 * docs/gst/gstreamer-sections.txt:
11482 * gst/gstconfig.h.in:
11483 More docs for configuration options, add docs to gtk-doc.
11485 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11488 * gst/gstconfig.h.in:
11489 * win32/common/config.h:
11490 Fix build when disabling tracing (fixes #344016). Also start to document
11491 the defines that disable the sub-systems.
11493 2006-07-10 Edward Hervey <edward@fluendo.com>
11495 * gst/gst.c: (ensure_current_registry_forking):
11496 let's make valgrind happy...
11498 2006-07-09 Wim Taymans <wim@fluendo.com>
11500 * gst/gstelement.c: (activate_pads),
11501 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11502 Better pad activation code: Reset the collect value too on resync.
11505 2006-07-09 Wim Taymans <wim@fluendo.com>
11507 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11508 (gst_pad_activate_push):
11509 Use some more macros where it makes sense.
11510 Allow pad mode switching instead of asserting. When a pad
11511 is activated in one mode and we activate it in another,
11512 deactivate it first before activating it in a different mode.
11515 2006-07-08 Andy Wingo <wingo@pobox.com>
11517 * tools/gst-launch.c (main): Handle err == NULL.
11519 * gst/gst.c (init_post, ensure_current_registry)
11520 (ensure_current_registry_forking)
11521 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11522 factoring out the registry scanning into separate functions. Don't
11523 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11524 Better environment var name/interface suggestions accepted.
11526 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11528 * gst/gstobject.c: (gst_object_set_name_default),
11529 (gst_object_set_name):
11530 Random micro-optimisation: don't use a hash table
11531 with strings as keys and the usual strdup/strcmp
11532 involved, but rather just use the GQuark of the
11533 type name as key, since it needs to be looked up
11534 anyway to get the type name string.
11536 * tests/check/gst/gstobject.c: (GST_START_TEST):
11539 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11541 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11542 (gst_bin_iterate_all_by_interface):
11543 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11544 GTypes are gulongs and thus the top 4 bytes might be cut
11545 off on some platforms when doing GPOINTER_TO_INT, leading
11546 to invalid GTypes and bad things happening (see RH bug #179654).
11547 Also add a check to make sure the type passed in is really
11550 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11555 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11559 * gst-element-check.m4:
11560 * gst-element-check.m4.in:
11561 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11562 instead of the unversioned gst-inspect (#324176, #168659).
11564 2006-07-06 Wim Taymans <wim@fluendo.com>
11566 * gst/gstmessage.h:
11567 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11570 2006-07-06 Wim Taymans <wim@fluendo.com>
11572 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11573 (gst_base_src_wait), (gst_base_src_update_length),
11574 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11575 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11576 (gst_base_src_loop), (gst_base_src_start),
11577 (gst_base_src_activate_pull):
11579 blocksize == 0 now means the default blocksize when working in push
11581 Remove some pointless asserts in _wait function.
11582 Fix offset/length calculations and EOS handling. We can now pull 0
11583 bytes as well, which is allowed.
11584 use _check_get_range() to decide if we can operate in _pull based
11586 Fix refcounting leak when check_get_range function was not
11588 API GstBaseSrc::blocksize range can be 0 too now (default)
11590 * tests/check/elements/filesrc.c: (GST_START_TEST),
11592 Added check to test _get_range() behaviour.
11594 2006-07-06 Wim Taymans <wim@fluendo.com>
11596 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11597 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11598 (gst_pad_pull_range):
11600 Lots of comments and docs added to the pad functions.
11601 Flesh out the expected behaviour of the get_range() functions.
11603 2006-07-06 Wim Taymans <wim@fluendo.com>
11608 * gst/gstiterator.h:
11612 Remove comma at end of enumerator list.
11614 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11616 * win32/common/libgstbase.def:
11617 * win32/common/libgstdataprotocol.def:
11618 * win32/common/libsgtreamer.def:
11619 Add new exported functions.
11621 2006-07-05 Wim Taymans <wim@fluendo.com>
11623 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11624 Add some more docs here and there.
11626 2006-07-05 Wim Taymans <wim@fluendo.com>
11628 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11629 (gst_base_sink_loop), (gst_base_sink_get_position):
11630 When operating in pull mode update the offset so that we
11633 2006-07-05 Wim Taymans <wim@fluendo.com>
11635 * gst/gstregistryxml.c: (read_string):
11636 Avoid strdup. (will happen in libxml, but hey!)
11639 Add some more docs.
11641 2006-07-05 Wim Taymans <wim@fluendo.com>
11643 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11644 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11645 (gst_buffer_suite):
11646 No point in checking if the size of the subbuffer > 0, the
11647 code handles it correclty as demonstrated by unit test.
11648 Also add a unit test for the zero sized _new_and_alloc and
11649 _copy. Fixes #346663.
11651 2006-07-05 Wim Taymans <wim@fluendo.com>
11653 * libs/gst/base/gstbasetransform.c:
11654 (gst_base_transform_prepare_output_buffer),
11655 (gst_base_transform_buffer_alloc),
11656 (gst_base_transform_handle_buffer):
11657 Make sure the buffer we pass to transform_ip has a refcount of
11658 1 and thus is writable. Fixes #343196
11660 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11662 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11663 (gst_file_src_init), (gst_file_src_set_property),
11664 (gst_file_src_get_property), (gst_file_src_map_region):
11665 * plugins/elements/gstfilesrc.h:
11666 Add "sequential" property, off by default, to use madvise and hint
11667 to the kernel that sequential access is desired.
11668 Touch all retrieved pages by default to ensure they are pulled
11669 into memory. (Closes #345720)
11671 2006-07-03 Wim Taymans <wim@fluendo.com>
11673 * docs/design/part-block.txt:
11674 * docs/design/part-dynamic.txt:
11675 Small docs updates.
11677 2006-07-03 Wim Taymans <wim@fluendo.com>
11679 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11680 (gst_caps_unref), (gst_static_caps_get),
11681 (gst_caps_append_structure):
11682 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11683 Use GSlice when the glib we build against is >= 2.10
11685 2006-07-03 Wim Taymans <wim@fluendo.com>
11687 * gst/gstelement.c: (gst_element_pads_activate):
11688 Small cleanup in pad activation code.
11690 2006-07-03 Wim Taymans <wim@fluendo.com>
11692 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11694 * gst/gst-i18n-app.h:
11695 * gst/gst-i18n-lib.h:
11696 * tools/gst-inspect.c: (print_signal_info):
11697 The attached patch will make the inclusion of gettext.h unconditional in
11698 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11699 libintl.h in tools/gst-inspect.c.
11700 This allows use of --disable-nls again and fixes #344642.
11702 2006-07-03 Edward Hervey <edward@fluendo.com>
11704 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11705 Implement pad blocking on events according to part-block.txt.
11706 More comments on behaviour.
11707 * tests/check/gst/gstevent.c: (test_event):
11708 Send event to peer pad of blocked pad (else it will block).
11710 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11712 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11713 (gst_check_run_suite):
11714 if we get the wrong message, give us the types as string
11715 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11717 * tests/check/elements/filesrc.c: (GST_START_TEST):
11718 add a test for trying to open a non-existing file
11720 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11722 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11723 add a test for adding self
11725 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11727 * libs/gst/check/gstcheck.h:
11728 add some assert_ as alias for fail_unless_*
11729 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11730 increase test coverage
11732 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11735 include lcov.mak for lcov coverage generation
11736 * tools/Makefile.am:
11739 2006-07-02 Edward Hervey <edward@fluendo.com>
11741 * tests/check/elements/.cvsignore:
11744 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11747 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11748 * tests/check/Makefile.am:
11749 clean up gcov files
11751 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11753 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11754 remove gst_caps_simplify; it was not declared and not used
11755 and deprecated in 0.8
11757 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11759 * docs/faq/gst-uninstalled:
11760 don't put empty paths on PYTHONPATH
11761 * docs/gst/gstreamer-sections.txt:
11762 remove some symbols that are not there
11764 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11766 * gst/gstcaps.c: (gst_caps_compare_structures):
11768 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11769 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11772 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11774 * libs/gst/dataprotocol/Makefile.am:
11775 build dataprotocol test by linking to the lib, instead of
11776 compiling the source, so we get coverage
11777 * tests/check/Makefile.am:
11778 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11779 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11780 add a test for filesrc
11782 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11784 * tests/check/gst/gststructure.c: (GST_START_TEST),
11785 (gst_structure_suite):
11786 Push coverage from 59.04% to 70.00%
11788 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11790 * tests/check/Makefile.am:
11791 gst-inspect every element; this makes sure that we also get
11792 coverage on element's get/set functions
11794 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11797 set CFLAGS and friends to -O0 if gcov is being used
11800 * libs/gst/base/Makefile.am:
11801 * libs/gst/check/Makefile.am:
11802 * libs/gst/controller/Makefile.am:
11803 * libs/gst/dataprotocol/Makefile.am:
11804 * libs/gst/net/Makefile.am:
11805 * plugins/elements/Makefile.am:
11806 * plugins/indexers/Makefile.am:
11807 add makefile rules to generate gcov data and clean up
11808 * tests/check/Makefile.am:
11809 add a coverage target that generates an html overview
11812 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11814 * tests/check/elements/fakesink.c:
11815 * tests/check/elements/fakesrc.c:
11816 * tests/check/elements/fdsrc.c:
11817 * tests/check/elements/identity.c:
11818 * tests/check/generic/sinks.c: (gst_sinks_suite):
11819 * tests/check/generic/states.c:
11820 * tests/check/gst/gst.c:
11821 * tests/check/gst/gstabi.c:
11822 * tests/check/gst/gstbin.c:
11823 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11824 * tests/check/gst/gstbus.c: (gst_bus_suite):
11825 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11826 * tests/check/gst/gstelement.c:
11827 * tests/check/gst/gstevent.c: (gst_event_suite):
11828 * tests/check/gst/gstghostpad.c:
11829 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11830 * tests/check/gst/gstmessage.c: (gst_message_suite):
11831 * tests/check/gst/gstminiobject.c:
11832 * tests/check/gst/gstobject.c:
11833 * tests/check/gst/gstpad.c:
11834 * tests/check/gst/gstpipeline.c:
11835 * tests/check/gst/gstplugin.c:
11836 * tests/check/gst/gstquery.c: (gst_query_suite):
11837 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11838 * tests/check/gst/gststructure.c:
11839 * tests/check/gst/gstsystemclock.c:
11840 * tests/check/gst/gsttag.c:
11841 * tests/check/gst/gsttask.c: (gst_task_suite):
11842 * tests/check/gst/gstutils.c:
11843 * tests/check/gst/gstvalue.c:
11844 * tests/check/libs/adapter.c:
11845 * tests/check/libs/basesrc.c:
11846 * tests/check/libs/collectpads.c:
11847 * tests/check/libs/controller.c:
11848 * tests/check/libs/gdp.c: (gst_dp_suite):
11849 * tests/check/libs/gstnetclientclock.c:
11850 * tests/check/libs/gstnettimeprovider.c:
11851 * tests/check/libs/libsabi.c: (libsabi_suite):
11852 * tests/check/libs/typefindhelper.c:
11853 * tests/check/pipelines/cleanup.c:
11854 * tests/check/pipelines/parse-launch.c:
11855 * tests/check/pipelines/simple-launch-lines.c:
11856 * tests/check/pipelines/stress.c: (stress_suite):
11859 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11861 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11862 * libs/gst/check/gstcheck.h:
11863 create a macro and function so that the simple unit test
11864 case can be just one macro to create main()
11866 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11868 * gst/gstbin.c: (gst_bin_restore_thyself):
11869 * gst/gstxml.c: (gst_xml_make_element):
11870 Fix deserialisation from XML. Set parent manually
11871 instead of using gst_bin_add(), since gst_bin_add()
11872 will unlink all pads of the element being added.
11875 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11877 Patch by: Peter Kjellerstedt <pkj at axis com>
11879 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11880 Fix missing g_strdup() and double free when using the
11881 --gst-plugin-load command line option (#346097).
11883 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11886 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11888 * libs/gst/net/gstnetclientclock.c:
11889 * libs/gst/net/gstnettimeprovider.c:
11890 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11892 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11894 * docs/manual/advanced-dataaccess.xml:
11895 Fix buffer probe example compilation in
11898 2006-06-22 Edward Hervey <edward@fluendo.com>
11900 * gst/gstelement.c: (gst_element_pads_activate):
11901 We need to deactivate src pads first and then sink pads.
11902 The reason is the src pads might be blocking while holding the streaming
11903 lock, so we need to deactivate them first so that deactivating the sink
11904 pads doesn't block (since it will require the streaming lock).
11906 2006-06-22 Wim Taymans <wim@fluendo.com>
11908 * libs/gst/base/gstbasetransform.c:
11909 (gst_base_transform_buffer_alloc):
11910 Forgot to remove two unneeded unrefs.
11911 Simplify a check _is_equal allready checks the obvious case.
11913 2006-06-22 Wim Taymans <wim@fluendo.com>
11915 * docs/design/part-block.txt:
11916 Some docs about what pad_block should do.
11918 2006-06-22 Wim Taymans <wim@fluendo.com>
11920 * gst/gstcaps.c: (gst_caps_replace):
11921 Fix crasher when passed NULL. Doc clarification.
11922 Optimize for the trivial case.
11924 * gst/gstpipeline.c: (gst_pipeline_change_state):
11927 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11928 Small documentation cleanup.
11930 * libs/gst/base/gstbasetransform.c:
11931 (gst_base_transform_buffer_alloc):
11932 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11933 is what we need and it avoids a whole lot of redundant
11934 refcount operations.
11936 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11938 Patch by: Philip Jägenstedt <philip at lysator liu se>
11940 * docs/manual/advanced-dataaccess.xml:
11941 Fix 'Embedding static elements' section to use
11942 GST_PLUGIN_DEFINE_STATIC (#345607).
11944 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11946 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11947 Attempt to 'fix' spuriously failing test case: it seems like the
11948 timeout of half a second is simply too small when the system is under
11949 load otherwise, and the timeout doesn't really seem to serve any
11950 particular purpose here. Give the pipeline a few seconds to preroll
11951 first, and then give it another half a second to go from PAUSED to
11952 PLAYING and marshal the message into the main thread.
11954 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11956 * tools/gst-feedback-m.m:
11957 Don't only use unversioned tools, try versioned tools as well
11960 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11962 * gst/gstbus.c: (gst_bus_class_init):
11963 Fix some typos, make docs more explicit.
11965 2006-06-20 Wim Taymans <wim@fluendo.com>
11967 * tests/check/gst/gstghostpad.c: (block_callback),
11968 (GST_START_TEST), (gst_ghost_pad_suite):
11969 Added some more ghostpad tests, mainly blocking
11972 2006-06-16 Wim Taymans <wim@fluendo.com>
11974 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11975 (gst_file_sink_close_file), (gst_file_sink_do_seek),
11976 (gst_file_sink_event), (gst_file_sink_render):
11977 * plugins/elements/gstfilesink.h:
11978 Check if we can seek in the file instead of assuming
11979 we always can. Post an error when we are asked to seek in a
11980 non-seekable file (like a fifo). Fixes #343312.
11983 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11985 * tools/gst-launch.1.in:
11986 Un-garble (fourcc) bit in filtered caps section.
11988 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11990 * docs/manual/advanced-autoplugging.xml:
11991 * docs/manual/basics-helloworld.xml:
11992 * docs/manual/highlevel-components.xml:
11993 Don't leak bus reference in sample code.
11995 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
11998 Add default for new --enable-plugin-docs switch.
12001 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
12004 * docs/Makefile.am:
12005 Use new ENABLE_PLUGIN_DOCS conditional.
12007 2006-06-14 Wim Taymans <wim@fluendo.com>
12009 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
12010 Make it clear with a FIXME and a real define what the #if 0
12011 previously disabled.
12013 2006-06-14 Wim Taymans <wim@fluendo.com>
12015 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
12016 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12017 * libs/gst/base/gstbasetransform.c:
12018 (gst_base_transform_sink_eventfunc):
12019 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
12020 Don't randomly and silently reset a segment when the format
12021 changes as this is a bug somewhere upstream. Fixes #330379.
12023 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
12025 Patch by: Wouter Paesen <wouter at kangaroot net>
12027 * libs/gst/controller/gstcontroller.c:
12028 (gst_controlled_property_new):
12029 Fix controlling of float properties (#344849).
12031 * tests/check/libs/controller.c:
12032 (gst_test_mono_source_get_property),
12033 (gst_test_mono_source_set_property),
12034 (gst_test_mono_source_class_init), (GST_START_TEST):
12035 While we're at it, add some float stuff to unit test.
12037 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12040 * docs/images/gdp-header.svg:
12042 * docs/libs/Makefile.am:
12043 * docs/libs/gdp-header.png:
12044 * libs/gst/dataprotocol/dataprotocol.c:
12045 add it to the API docs
12046 * docs/manual/intro-motivation.xml:
12049 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12051 * gst/gst.c: (scan_and_update_registry), (init_post):
12052 If the fork()'ed child process can't write the updated registry cache
12053 file to disk for some reason, make it exit with a failure exit code,
12054 so that the parent can then re-scan the plugins itself and update the
12055 registry structures in memory and work with that (rather than failing
12056 when creating elements because seemingly no plugins are available).
12057 Refactor registry scanning code into separate function for this and
12058 also separate fork() and non-fork() code paths. Fixes #344748.
12060 2006-06-13 Wim Taymans <wim@fluendo.com>
12062 * docs/manual/advanced-dataaccess.xml:
12063 Fix wrong PluginDesc. Fixes #344755.
12065 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
12067 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12068 Fix silly bug that prevented us from creating
12069 ~/.gstreamer-0.10 and writing the registry in one
12070 go (the first call to g_mkstemp() would overwrite the
12071 placeholder in the template string, so the second call
12072 to g_mkstemp() after creating the missing directory
12073 would then error out with 'invalid argument').
12075 2006-06-13 Edward Hervey <edward@fluendo.com>
12077 * gst/gst.c: (init_post):
12080 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
12082 * gst/glib-compat-private.h:
12083 * gst/glib-compat.c:
12084 * gst/glib-compat.h:
12085 * gst/gstvalue.c: (gst_value_serialize_flags):
12086 remove GLib 2.6 compatibility code
12088 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
12090 * gst/parse/Makefile.am:
12091 Fix build with 'make -j N' even more (#340016).
12093 2006-06-12 Wim Taymans <wim@fluendo.com>
12095 * docs/gst/gstreamer-sections.txt:
12098 2006-06-12 Wim Taymans <wim@fluendo.com>
12100 * gst/gstsegment.c: (gst_segment_set_duration),
12101 (gst_segment_set_last_stop), (gst_segment_set_seek),
12102 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12103 (gst_segment_to_running_time), (gst_segment_clip):
12104 Use G_UNLIKELY to help the compiler a bit.
12106 2006-06-12 Wim Taymans <wim@fluendo.com>
12108 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12110 * gst/gstevent.c: (gst_event_get_type):
12111 * gst/gstmessage.c:
12112 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12114 constify quark registration strings. Fixes #344115
12115 Avoid unneeded type checking is _pad_push() by internally
12116 calling gst_pad_chain_unchecked().
12118 2006-06-12 Wim Taymans <wim@fluendo.com>
12120 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12121 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12122 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12123 (gst_buffer_is_span_fast), (gst_buffer_span):
12124 Init _type for consistency.
12125 Use _FLAGS macro to avoid type check.
12126 Avoid unneeded type checks in subbufer code.
12128 2006-06-12 Wim Taymans <wim@fluendo.com>
12130 * gst/gst.c: (gst_debug_help):
12131 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12132 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12133 (gst_plugin_feature_list_free):
12134 * gst/gstregistry.c: (gst_registry_add_plugin),
12135 (gst_registry_add_feature), (gst_registry_plugin_filter),
12136 (gst_registry_feature_filter), (gst_registry_find_plugin),
12137 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12138 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12139 * gst/gstregistryxml.c: (load_feature),
12140 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12141 * gst/gstminiobject.c: (gst_mini_object_unref),
12142 (gst_mini_object_replace), (gst_value_mini_object_free),
12143 (gst_value_mini_object_copy):
12144 Use _CAST macros to avoid unneeded type checking.
12145 Added some more G_UNLIKELY.
12147 2006-06-12 Wim Taymans <wim@fluendo.com>
12150 Avoid unneeded type checking.
12151 API: GST_BUFFER_IS_DISCONT
12153 * gst/gstminiobject.h:
12154 Avoid type check in flag accessor.
12156 * gst/gstelementfactory.h:
12158 * gst/gstpluginfeature.h:
12160 API: GST_ELEMENT_FACTORY_CAST
12161 API: GST_PLUGIN_CAST
12162 API: GST_PLUGIN_FEATURE_CAST
12164 2006-06-12 Wim Taymans <wim@fluendo.com>
12166 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12167 (gst_object_unref):
12168 Add G_UNLIKELY in type registration.
12169 Avoid type check in _ref/_unref since that is also
12172 2006-06-12 Wim Taymans <wim@fluendo.com>
12174 * gst/gsterror.c: (gst_g_error_get_type):
12175 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12176 (gst_static_pad_template_get_type):
12177 * gst/gsttaglist.c: (gst_tag_list_get_type):
12178 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12179 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12180 * gst/gsturi.c: (gst_uri_handler_get_type):
12181 * gst/gstvalue.c: (gst_date_get_type):
12182 * gst/gstxml.c: (gst_xml_get_type):
12183 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12184 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12185 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12186 Add G_UNLIKELY in type registration.
12188 2006-06-12 Wim Taymans <wim@fluendo.com>
12190 * tools/gst-inspect.c: (print_signal_info):
12191 Properly print enum values.
12193 2006-06-12 Wim Taymans <wim@fluendo.com>
12195 * gst/gstinfo.c: (gst_debug_set_active),
12196 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12198 Add some G_[UN]LIKELY.
12199 Maintain __gst_debug_min to avoid formatting the arguments of
12200 debug messages that will be dropped anyway to avoid a lot of
12201 overhead from the debugging system.
12203 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12206 * po/POTFILES.skip:
12207 add missing files containing translatable strings, tell intltool about
12210 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12212 * tests/check/libs/.cvsignore:
12213 add test-binary to ignore list
12215 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12217 * docs/libs/gstreamer-libs-docs.sgml:
12218 reorder (put dp into a chapter) and indent
12220 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12225 === release 0.10.8 ===
12227 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12230 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12232 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12234 * gst/gst.c: (init_post):
12235 move pid declaration to declaration block
12237 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12239 * gst/gst.c: (init_post):
12240 use _exit() instead of exit() in our forked child; this ensures
12241 that none of the registered exit handlers from whatever is using
12242 GStreamer get executed. This fixes gnome-mixer-applet failing
12243 to load, because ORBit would shut down.
12244 Spotted by: Edward Hervey <edward@fluendo.com>
12245 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12248 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12253 === release 0.10.7 ===
12255 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12258 releasing 0.10.7, "Soepeke, ik zie ou"
12260 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12283 * win32/common/config.h:
12284 0.10.6.2 prerelease
12286 2006-06-07 Wim Taymans <wim@fluendo.com>
12288 * gst/gstindex.c: (gst_index_gtype_resolver):
12289 * tools/gst-xmlinspect.c: (print_plugin_info):
12290 Fix leak spotted by coverity checker. Fixes #343827
12291 Fix another other leak found by paolo borelli.
12293 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12295 * libs/gst/dataprotocol/dataprotocol.c:
12296 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12297 (gst_dp_version_get_type), (gst_dp_init),
12298 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12299 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12300 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12301 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12302 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12303 (gst_dp_packetizer_free):
12304 * libs/gst/dataprotocol/dataprotocol.h:
12305 API: add a GstDPPacketizer object, and create/free functions
12306 API: add GstDPVersion enum
12307 Add 1.0 event function that uses the string serialization
12308 Serialize more useful buffer flags
12311 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12313 * tests/check/Makefile.am:
12314 * tests/check/gst/gstabi.c:
12315 * tests/check/gst/struct_ppc64.h:
12316 * tests/check/libs/libsabi.c:
12317 * tests/check/libs/struct_ppc64.h:
12318 add ppc64 structure sizes
12320 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12322 * tests/check/Makefile.am:
12323 * tests/check/gst/gstabi.c:
12324 * tests/check/gst/struct_x86_64.h:
12325 * tests/check/libs/libsabi.c:
12326 * tests/check/libs/struct_x86_64.h:
12327 generate and add structure size lists for x86_64
12329 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12331 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12332 * libs/gst/check/gstcheck.h:
12333 factor out the method from tests that checks size of structures,
12334 and add code to generate the header containing these sizes
12335 * tests/check/gst/gstabi.c: (GST_START_TEST):
12336 * tests/check/gst/struct_i386.h:
12337 * tests/check/libs/libsabi.c: (GST_START_TEST):
12338 * tests/check/libs/struct_i386.h:
12341 2006-06-06 Michael Smith <msmith@fluendo.com>
12343 * gst/gstsegment.h:
12344 Don't use c++-style comments, fixes #343929
12346 2006-06-05 Edward Hervey <edward@fluendo.com>
12349 plugin_paths is not used if we build without registry support.
12351 * gst/gstsegment.c: (gst_segment_copy):
12352 _copy() was always returning NULL...
12354 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12356 * libs/gst/dataprotocol/dataprotocol.c:
12357 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12358 (gst_dp_packet_from_event):
12359 factor out CRC code
12361 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12363 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12364 make sure we unset caps
12366 2006-06-02 Michael Smith <msmith@fluendo.com>
12368 * libs/gst/check/gstcheck.c: (gst_check_init),
12369 (gst_check_chain_func):
12370 * libs/gst/check/gstcheck.h:
12371 Add a cond/mutex to the check support lib, signal this whenever we
12372 add to the buffers list. This will allow tests to not busy-wait on
12375 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12377 * libs/gst/dataprotocol/dataprotocol.c:
12378 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12379 (gst_dp_packet_from_event):
12380 factor out some common header init code
12382 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12384 * docs/libs/gstreamer-libs-sections.txt:
12385 * docs/libs/tmpl/gstdataprotocol.sgml:
12386 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12387 * libs/gst/dataprotocol/dataprotocol.h:
12388 API: make gst_dp_crc() public
12390 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12392 * plugins/indexers/gstindexers.c: (plugin_init):
12393 conditionally register fileindexer (fixes #343598)
12395 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12397 * gst/gsttagsetter.h:
12398 Can't cast ifaces to a class
12400 * libs/gst/net/gstnetclientclock.h:
12401 * libs/gst/net/gstnettimeprovider.h:
12402 * plugins/elements/gstfakesink.h:
12403 * plugins/elements/gstfakesrc.h:
12404 * plugins/elements/gstfdsink.h:
12405 * plugins/elements/gstfdsrc.h:
12406 * plugins/elements/gstfilesink.h:
12407 * plugins/elements/gstfilesrc.h:
12408 * plugins/elements/gstidentity.h:
12409 * plugins/elements/gstqueue.h:
12410 * plugins/elements/gsttee.h:
12411 * plugins/indexers/gstfileindex.c:
12412 * plugins/indexers/gstmemindex.c:
12413 * tests/old/examples/plugins/example.h:
12414 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12416 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12418 * libs/gst/dataprotocol/dataprotocol.c:
12419 (gst_dp_header_from_buffer):
12420 make sure we zero the whole ABI-compatible area
12422 2006-06-01 Wim Taymans <wim@fluendo.com>
12424 Patch by: Alessandro Decina <alessandro at nnva dot org>
12426 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12427 Make sure the EOS flag is cleared from pads after a flush
12428 or stop. Fixes #343538.
12430 * tests/check/libs/collectpads.c: (GST_START_TEST),
12431 (gst_collect_pads_suite):
12432 Added test for collectpads reusage after EOS.
12434 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12437 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12438 * win32/common/libgstbase.def:
12439 export gst_collect_pads_set_flushing
12440 * win32/common/libgstreamer.def:
12441 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12442 gst_value_fraction_multiply
12443 * win32/vs6/gst_inspect.dsp:
12444 add a link to intl.lib
12446 2006-05-30 Wim Taymans <wim@fluendo.com>
12448 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12449 (gst_collect_pads_chain):
12450 Handle the case where a pad is removed from the collection
12451 that could cause the other pads to become collectable.
12453 2006-05-30 Wim Taymans <wim@fluendo.com>
12455 * gst/gstelement.c:
12456 Clarify the use of _release_request_pad() and
12457 _get_request_pad() a bit better.
12459 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12460 (gst_adapter_take_buffer):
12461 Fix some doc and comment typos.
12463 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12465 * docs/gst/gstreamer-sections.txt:
12466 * docs/libs/gstreamer-libs-sections.txt:
12467 add declared symbols
12469 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12471 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12472 Add debug that can be enabled using a #define at the top of the file,
12473 for dumping stats about how late/early we were when waking up from
12474 waiting on the clock.
12476 2006-05-30 Wim Taymans <wim@fluendo.com>
12478 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12479 When rebuilding the pad list, don't leak the previous list.
12481 2006-05-30 Wim Taymans <wim@fluendo.com>
12483 Patch by: Lutz Mueller <lutz at topfrose dot de>
12485 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12486 (gst_base_src_get_query_types), (gst_base_src_update_length):
12487 Publish supported query types.
12488 Update last_stop field in get_range mode so the position
12489 query works. Fixes #342321.
12491 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12493 * docs/gst/gstreamer-sections.txt:
12494 * gst/gsttaglist.c: (_gst_tag_initialize):
12495 * gst/gsttaglist.h:
12496 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12498 2006-05-30 Wim Taymans <wim@fluendo.com>
12500 Patch by: Alessandro Decina <alessandro at nnva dot org>
12502 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12503 Unlock mutex when removing an unknown pad.
12506 * tests/check/Makefile.am:
12507 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12508 (push_event), (setup), (teardown), (GST_START_TEST),
12509 (gst_collect_pads_suite), (main):
12510 Added collecpads check, disabled for now as check crashes for
12513 2006-05-29 Wim Taymans <wim@fluendo.com>
12515 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12516 Don't leak pads lists.
12518 2006-05-29 Wim Taymans <wim@fluendo.com>
12520 * docs/libs/gstreamer-libs-sections.txt:
12521 * libs/gst/base/gstcollectpads.c:
12522 (gst_collect_pads_set_flushing_unlocked),
12523 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12524 (gst_collect_pads_stop):
12525 * libs/gst/base/gstcollectpads.h:
12526 API: gst_collect_pads_set_flushing()
12527 Added api to set the pads to flushing, useful for seeking
12528 code in elements using collectpads.
12529 Clear segment when receiving a flush.
12531 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12533 * gst/gst.c: (add_path_func), (init_post):
12534 Don't scan registry paths passed via --gst-plugin-path immediately
12535 (will crash, because absolutely nothing is set up and no types are
12536 registered etc.); do this later in init_post(). Fixes #343057.
12538 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12540 * gst/gst.c: (init_post):
12541 if we have fork, fork while reading/rebuilding the registry
12542 so the parent doesn't take the hit of having all plugins loaded
12543 in memory. Fixes #342777.
12545 Check if we have fork()
12546 * win32/common/config.h.in:
12549 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12551 * plugins/elements/gstelements.c:
12552 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12553 (gst_file_src_init), (gst_file_src_set_property),
12554 (gst_file_src_get_property), (gst_file_src_start):
12555 * plugins/elements/gstfilesrc.h:
12556 API: GstFileSrc::use-mmap
12558 Add a use-mmap property to enable easier testing of all code paths.
12559 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12560 in the absence of gnomevfssrc. (Closes #340501)
12562 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12564 * tools/gst-inspect.c:
12565 Add missing include, removes warning of ngettext not being defined on
12568 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12570 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12571 Handle NULL input and output pointers silently as a failed conversion,
12572 rather than g_warnings.
12574 2006-05-25 Wim Taymans <wim@fluendo.com>
12576 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12577 Initialize variable before using. Fixes #342820.
12579 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12581 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12582 Fix off-by-one bug that would only allow peeks of N-1 bytes
12583 from the start even if the buffer to typefind on contains
12584 in fact N bytes of data (makes vorbis typefinding from a
12585 vorbis identification header buffer work).
12587 * tests/check/Makefile.am:
12588 * tests/check/libs/.cvsignore:
12589 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12590 (gst_typefindhelper_suite), (main), (foobar_typefind),
12592 Add very basic unit test for gst_type_find_helper_for_buffer()
12593 that checks for the problem fixed above.
12595 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12597 * tools/gst-inspect.c: (print_interfaces),
12598 (print_element_properties_info), (print_element_list), (main):
12599 add more translatable strings
12601 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12603 Patch by: Julien Moutte <julien at moutte net>
12605 * docs/gst/gstreamer-sections.txt:
12606 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12608 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12609 (gst_fake_sink_preroll):
12610 * plugins/elements/gstfakesink.h:
12611 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12613 2006-05-23 Wim Taymans <wim@fluendo.com>
12615 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12617 Added _CUSTOM error and success GstFlowReturn that can be
12618 used be elements internally.
12619 Added macro to check for SUCCESS flowreturns.
12620 API: GST_FLOW_CUSTOM_SUCCESS
12621 API: GST_FLOW_CUSTOM_ERROR
12622 API: GST_FLOW_IS_SUCCESS
12624 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12625 Added check for GstFlowReturn sanity.
12627 2006-05-23 Wim Taymans <wim@fluendo.com>
12629 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12631 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12632 (gst_collect_pads_event):
12633 clear/reset segment info in FLUSH_STOP.
12636 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12638 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12639 (gst_collect_pads_check_collected):
12640 Flush queued buffer on _stop(), fixes playing again (#342454)
12642 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12644 * tests/check/gst/gststructure.c: (GST_START_TEST),
12645 (gst_structure_suite):
12646 add a test for a complete structure
12648 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12650 * docs/faq/developing.xml:
12651 * docs/faq/faq.xml:
12652 * docs/faq/troubleshooting.xml:
12653 * docs/faq/using.xml:
12654 Some minor FAQ updates that won't change the fact that
12655 our FAQ is badly structured, full of information hardly
12656 anyone new to GStreamer needs to know and lacking lots
12657 of information people constantly ask for.
12659 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12661 * gst/gstpad.c: (gst_pad_set_caps):
12662 Short-circuit gst_pad_set_caps if setting the existing
12663 caps pointer again, and avoid printing debug and
12664 reffing/unreffing the caps.
12666 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12667 There's actually no need to set the caps before pushing -
12668 the acceptcaps method will handle it anyway.
12670 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12672 * docs/gst/gstreamer-sections.txt:
12673 * win32/common/libgstreamer.def:
12674 * gst/gstutils.c: (gst_element_seek_simple):
12676 API: add gst_element_seek_simple() (#342238).
12678 2006-05-18 Edward Hervey <edward@fluendo.com>
12680 * gst/gsttypefind.c: (gst_type_find_get_type):
12681 * gst/gsttypefind.h:
12682 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12683 registered for GstTypeFind pointers. This allows wrapping the structure
12684 in bindings (i.e. gst-python).
12686 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12688 * gst/gsttagsetter.c:
12689 Docs additions and fixes (see #339918).
12691 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12693 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12694 The caps intersection algorithm can produce multiple copies of the
12695 caps. Until that is fixed, we need to simplify the result to be
12696 sure whether the allowed caps are fixed or not.
12698 * plugins/elements/gstqueue.c: (gst_queue_init),
12699 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12700 (gst_queue_push_one):
12701 Proxied buffer alloc should not set the caps on the source pad.
12702 When pushing buffers, we always accept the caps change that triggers.
12703 This prevents negotiation errors caused by caps changing mid-stream
12704 and then being refused on our source pad (because upstream is now
12705 refusing those caps).
12707 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12709 * tests/examples/helloworld/helloworld.c: (main):
12710 Must plug audioconvert and audioresample between decoder
12713 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12715 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12716 (load_feature), (load_plugin):
12717 Allow empty strings for some of the plugin fields so we don't
12718 drop valid plugin entries that were written out correctly
12721 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12723 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12724 Use g_remove and g_rename instead of remove and rename that don't
12725 handle utf8 characters. rename was failing for users who had specific
12726 characters in their name then the registry was built at each
12728 * win32/vs6/gst_inspect.dsp:
12729 * win32/vs6/gst_launch.dsp:
12730 * win32/vs6/libgstbase.dsp:
12731 * win32/vs6/libgstcoreelements.dsp:
12732 * win32/vs6/libgstreamer.dsp:
12733 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12734 build of libgstreamer and clean unused libraries in projects link
12737 2006-05-17 Edward Hervey <edward@fluendo.com>
12739 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12740 The queue is not responsible for pushing an EOS when receiving a fatal
12741 flow error. It's up to the real element driving the pipeline to do that.
12743 2006-05-16 Edward Hervey <edward@fluendo.com>
12745 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12746 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12747 buffer returned a fatal error. It should just send an EOS and stop
12749 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12750 when pushing buffers on the queue and will be able to handle the event.
12752 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12754 * docs/manual/basics-bins.xml:
12755 * docs/manual/basics-init.xml:
12756 Fix typos and minor errors in sample code (#341856).
12758 2006-05-16 Wim Taymans <wim@fluendo.com>
12760 * docs/design/part-qos.txt:
12761 Fix indexes in formulas to make more sense.
12763 2006-05-15 Wim Taymans <wim@fluendo.com>
12765 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12766 Don't report POSITION based on clock time if sync is
12767 disabled in a sink.
12769 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12772 Add cast to make compiler happy - refcount variable was a gint
12773 in GstObject but is a guint in GObject and g_atomic_int_get()
12776 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12778 * gst/parse/Makefile.am:
12779 chain commands using &&, which also makes parallel make work
12781 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12783 * docs/gst/gstreamer-sections.txt:
12786 * gst/gstmessage.h:
12789 === release 0.10.6 ===
12791 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12794 releasing 0.10.6, "Take the cannoli"
12796 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12798 * tools/gst-launch.c: (print_tag):
12799 Fix use of uninitialized variable in the hypothetical
12800 case that some broken plugin creates a GST_TAG_IMAGE
12801 tag containing a NULL buffer (#341667).
12803 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12805 * tools/gst-launch.c: (print_tag):
12806 Print something more intelligible for image tags when
12807 using the -t switch (#341556).
12809 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12814 define GST_MAJORMINOR so we have it available in win32/common/config.h
12815 Possibly remove it from our Makefile.am files later
12816 * win32/common/config.h:
12817 * win32/common/config.h.in:
12818 added GST_MAJORMINOR
12819 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12820 * win32/common/gstversion.h:
12823 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12826 Update win32 files listing.
12827 * win32/common/gstversion.h:
12828 Add GST_MAJORMINOR definition.
12829 * win32/common/libgstreamer.def:
12830 Add new exported functions.
12832 2006-05-12 Michael Smith <msmith@fluendo.com>
12834 * gst/gstplugin.c: (gst_plugin_load_file):
12835 If an so file has no plugin entry point, unload the module.
12837 2006-05-11 Wim Taymans <wim@fluendo.com>
12839 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12840 (gst_queue_set_property):
12841 Don't forget to signal the _chain or _loop function
12842 when the queue size or thresholds change since that might
12843 cause them to make progres again.
12845 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12847 * gst/gstclock.c: (gst_clock_class_init):
12848 * gst/gstindex.c: (gst_index_class_init):
12849 * gst/gstobject.c: (gst_object_class_init):
12850 * gst/gstpad.c: (gst_pad_class_init):
12851 * gst/gstpipeline.c: (gst_pipeline_class_init):
12852 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12853 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12854 * libs/gst/base/gstbasetransform.c:
12855 (gst_base_transform_class_init):
12856 * libs/gst/net/gstnetclientclock.c:
12857 (gst_net_client_clock_class_init):
12858 * libs/gst/net/gstnettimeprovider.c:
12859 (gst_net_time_provider_class_init):
12860 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12861 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12862 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12863 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12864 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12865 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12866 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12867 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12868 * plugins/elements/gsttee.c: (gst_tee_class_init):
12869 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12870 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12871 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12873 2006-05-11 Wim Taymans <wim@fluendo.com>
12875 * gst/gstbuffer.c: (_gst_buffer_initialize):
12876 Register subbufer along with the buffer type so that
12877 it does not accidentally gets registered from N
12878 different streaming threads in a non threadsafe way.
12880 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12884 * gst/gstmessage.h:
12885 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12886 gst_event_ref() and gst_message_ref() functions again
12887 (ugly hack, please do fix if there's a better way besides
12888 overrides.txt, which doesn't seem to work).
12890 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12892 * libs/gst/check/gstcheck.h:
12893 add an assert for setting state to avoid lots of repetitive code
12896 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12898 * gst/gstvalue.c: (gst_value_serialize_flags):
12899 fix a leak if no flags are set
12900 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12903 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12905 * docs/manual/basics-pads.xml:
12906 Expand a bit on caps and filtered links and update
12907 examples that were still using the no longer existing
12908 gst_pad_link_filtered() (#338206).
12910 2006-05-10 Wim Taymans <wim@fluendo.com>
12912 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12913 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12914 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12915 (gst_collect_pads_stop):
12916 * libs/gst/base/gstcollectpads.h:
12917 No need to call _stop in _finalize.
12918 Iterate the main pad list in _finalize.
12919 Added some more debug.
12920 Free lists and data in the right order.
12921 Also free data whem doing _remove_pad when stopped for
12922 backward compatibility protect ::started with PAD_LOCK as
12925 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12927 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12928 (gst_structure_parse_value):
12930 rename a method so that it actually says what it does better
12932 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12934 * gst/gstevent.c: (_gst_event_initialize):
12935 * gst/gstformat.c: (_gst_format_initialize):
12936 make sure some essential types used by events are registered
12937 as part of gst_init()
12938 * gst/gstvalue.c: (gst_value_serialize_flags):
12939 if no flags are set, serialize them to a value that represents NONE
12940 so that deserializing them works
12941 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12942 add tests for serialization and deserialization of flags
12944 2006-05-10 Wim Taymans <wim@fluendo.com>
12946 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12947 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12948 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12949 (gst_collect_pads_event), (gst_collect_pads_chain):
12952 Catch and return errors from the collect function
12953 Refuse data on eos pads.
12955 2006-05-10 Edward Hervey <edward@fluendo.com>
12957 * gst/gstinterface.h:
12958 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12959 GInterface type checking.
12960 They were previously using non-defined macros.
12962 2006-05-09 Wim Taymans <wim@fluendo.com>
12964 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12965 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12966 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12967 (gst_collect_pads_start), (gst_collect_pads_stop),
12968 (gst_collect_pads_peek), (gst_collect_pads_pop),
12969 (gst_collect_pads_available), (gst_collect_pads_read),
12970 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12971 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12972 (gst_collect_pads_chain):
12973 * libs/gst/base/gstcollectpads.h:
12974 Clean up the mess that is collectpads, add comments and
12975 FIXMEs where needed.
12976 Maintain a separate pad list so we can add pads while
12977 collecting the other ones. For this we need a new separate
12979 Fix memory leak in finalize.
12980 Refactor some weird code to set/unset pad flushing flags, mark
12982 Don't crash in _available, _read, _flush when we're EOS.
12984 * tests/check/libs/.cvsignore:
12985 Ignore adapter check binary.
12987 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12989 * gst/gstindex.c: (gst_index_resolver_get_type):
12990 * plugins/elements/gstfakesink.c:
12991 (gst_fake_sink_state_error_get_type):
12992 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12993 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12994 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12995 Const-ify GEnumValue arrays.
12997 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12999 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
13000 Add test case for flags + gst_buffer_make_metadata_writable().
13002 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13004 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
13005 gst_buffer_make_metadata_writable() should maintain the
13006 buffer flags (those that make sense at least) (see #340859).
13008 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13010 * tools/gst-inspect.c:
13011 * tools/gst-launch.c:
13012 * tools/gst-typefind.c:
13013 * tools/gst-xmlinspect.c:
13015 Fix up includes: need to include stdlib.h in tools.h for exit().
13017 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
13019 * gst/gsttaglist.c: (_gst_tag_initialize):
13020 * gst/gsttaglist.h:
13021 API: add GST_TAG_IMAGE tag (#340721).
13023 2006-05-08 Wim Taymans <wim@fluendo.com>
13026 Added some docs for the segment query.
13028 2006-05-08 Wim Taymans <wim@fluendo.com>
13030 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13031 (gst_base_src_loop), (gst_base_src_change_state):
13032 Always push non-flushing serialized events in the streaming
13035 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
13037 * gst/gsterror.c: (_gst_stream_errors_init):
13038 Add a missing error string.
13040 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
13042 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
13043 Add applied_rate to the debug
13045 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
13046 Copy applied_rate into the outgoing NEWSEGMENT event
13048 2006-05-08 Wim Taymans <wim@fluendo.com>
13050 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
13052 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
13053 (gst_base_sink_change_state):
13054 call ::unlock before taking the PREROLL_LOCK so we can safely
13055 handle elements that lock in ::render.
13058 2006-05-08 Edward Hervey <edward@fluendo.com>
13060 * autogen.sh: (CONFIGURE_DEF_OPT):
13061 Darwin's libtoolize is in fact called glibtoolize.
13062 Adding glibtoolize to the list of accepted names for libtoolize.
13064 2006-05-08 Wim Taymans <wim@fluendo.com>
13066 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
13067 Unify error handling, don't post an error message
13068 when a push() returns EOS but perform our normal EOS
13069 handling code. Fixes #340772.
13071 2006-05-08 Wim Taymans <wim@fluendo.com>
13073 * docs/design/part-overview.txt:
13074 Make upsteam/downstream concepts more clear.
13075 Give an example of serialized/non-serialized events.
13077 * docs/design/part-events.txt:
13078 * docs/design/part-streams.txt:
13079 Mention applied_rate.
13081 * docs/design/part-trickmodes.txt:
13082 Mention applied rate, flesh out some more use cases.
13084 * gst/gstevent.c: (gst_event_new_new_segment),
13085 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
13086 (gst_event_parse_new_segment_full), (gst_event_new_tag),
13087 (gst_event_parse_tag), (gst_event_new_buffer_size),
13088 (gst_event_parse_buffer_size), (gst_event_new_qos),
13089 (gst_event_parse_qos), (gst_event_parse_seek),
13090 (gst_event_new_navigation):
13092 Add applied_rate field to NEWSEGMENT event.
13093 API: gst_event_new_new_segment_full()
13094 API: gst_event_parse_new_segment_full()
13096 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13097 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13098 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13099 * gst/gstsegment.h:
13100 Add applied_rate to GstSegment structure.
13101 Make calculation of stream_time and running_time more correct
13102 wrt rate/applied_rate.
13103 Add some more docs.
13104 API: GstSegment::applied_rate field
13105 API: gst_segment_set_newsegment_full();
13107 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13108 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13109 * libs/gst/base/gstbasetransform.c:
13110 (gst_base_transform_sink_eventfunc),
13111 (gst_base_transform_handle_buffer):
13112 Parse and use applied_rate in the GstSegment field.
13114 * tests/check/gst/gstevent.c: (GST_START_TEST):
13115 Add check for applied_rate field.
13117 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13118 (gstsegments_suite):
13119 Add more checks for various GstSegment operations.
13121 2006-05-08 Wim Taymans <wim@fluendo.com>
13123 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13124 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13125 (gst_base_sink_get_position), (gst_base_sink_change_state):
13126 Store the sync time of the buffer end position separatly in a
13127 new variable eos_rtime so we can properly sync the EOS event.
13129 Fix the docs for gst_base_sink_set_qos_enabled().
13130 Don't set segment start to invalid value when we receive a
13131 non TIME newsegment.
13132 get closer to handling position reporting for negative rates
13135 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13138 Docs about how to print caps for debug purposes.
13140 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13141 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13143 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13145 * gst/gstelement.c:
13146 use full enum names and preprend a '%' in docs strings to make recent
13147 gtk-doc turn that into a link
13149 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13151 * docs/manual/basics-bins.xml:
13152 * docs/manual/basics-bus.xml:
13153 * docs/manual/basics-pads.xml:
13154 Some typo fixes, some additions, some clarifications.
13156 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13158 * tools/gst-inspect.c: (main):
13159 * tools/gst-launch.c: (main):
13160 * tools/gst-run.c: (main):
13161 * tools/gst-typefind.c: (main):
13162 * tools/gst-xmlinspect.c: (main):
13163 Use the string passed to g_option_context_new() for
13164 what it's intended for - the program name is already
13167 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13169 * tools/Makefile.am:
13170 * tools/gst-inspect.c: (main):
13171 * tools/gst-launch.c: (main):
13172 * tools/gst-xmlinspect.c: (main):
13174 Add back --version command line option (#340460).
13176 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13177 Add --version option and use GOption for argument parsing; refactor a
13178 bit; accept directories as arguments and recurse into them; lastly,
13179 print a decent error message when things go wrong.
13181 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13183 * docs/manual/basics-bins.xml:
13184 Don't mention GstThread (#340611)
13185 * docs/manual/basics-elements.xml:
13186 Update link to GObject tutorial (#340607)
13188 2006-05-05 Wim Taymans <wim@fluendo.com>
13191 * gst/gstminiobject.c:
13192 Add note about refcounting and miniobject/buffer writeability
13193 to docs. Fixes #340604
13195 * gst/gstelementfactory.h:
13196 Added some explanation about @klass.
13198 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13200 * docs/manual/intro-motivation.xml:
13201 * docs/manual/manual.xml:
13202 Avoid CORBA & Bonobo references (#340598)
13204 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13206 * docs/manual/basics-bus.xml:
13207 * docs/manual/basics-pads.xml:
13208 Fix up some inaccuracies and omissions (#340609)
13210 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13212 * gst/gstghostpad.c:
13213 Small typo in docs (#340625)
13215 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13217 * gst/parse/Makefile.am:
13218 Make 'make -j' proof (see #340698).
13220 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13223 Require GLib-2.8 here as well.
13225 2006-05-05 Wim Taymans <wim@fluendo.com>
13227 * gst/glib-compat.c:
13228 * gst/gst.c: (init_pre):
13229 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13230 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13231 (gst_object_dispatch_properties_changed):
13233 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13234 * gst/gststructure.c: (gst_structure_set_valist):
13235 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13236 Remove pre glib2.8 compatibility, fixes #340508
13238 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13240 * gst/gsttaglist.h:
13241 Mention type of tags in doc blurbs.
13243 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13245 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13246 (gst_pad_configure_src), (gst_pad_push):
13247 Restore acceptcaps checking behaviour now that good plugins have
13250 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13252 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13259 * gst/gstmessage.c:
13263 * gst/parse/Makefile.am:
13264 * libs/gst/base/gstadapter.c:
13265 * libs/gst/base/gstbasesrc.c:
13266 * libs/gst/base/gstpushsrc.c:
13267 * libs/gst/base/gsttypefindhelper.c:
13268 * plugins/elements/gstfakesrc.c:
13269 * plugins/elements/gstidentity.c:
13270 Make sure gstprivate.h and/or config.h are
13271 always included first, otherwise some of our
13272 defines (like _FILE_OFFSET_BITS) might be
13273 redefined in the system headers. Fixes build
13274 on opensolaris (#340016).
13276 2006-05-04 Wim Taymans <wim@fluendo.com>
13278 * docs/libs/gstreamer-libs-sections.txt:
13279 API: addition: gst_adapter_take_buffer()
13281 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13282 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13283 (gst_adapter_available_fast):
13284 * libs/gst/base/gstadapter.h:
13285 Prepare for optimizing the hell out of this hugely inefficient
13287 Added gst_adapter_take_buffer() so we can at least start thinking
13288 about subbuffering and merging.
13289 Added some comments.
13291 * tests/check/Makefile.am:
13292 * tests/check/libs/adapter.c: (GST_START_TEST),
13293 (gst_adapter_suite), (main):
13294 Added GstAdapter check.
13296 2006-05-04 Wim Taymans <wim@fluendo.com>
13298 * docs/design/part-overview.txt:
13299 Fix some typos, add blurb about buffer flags.
13301 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13303 * docs/libs/gstreamer-libs-sections.txt:
13304 make sure GstBaseTransformClass shows up in the docs
13305 * libs/gst/base/gstbasetransform.c:
13306 * libs/gst/base/gstbasetransform.h:
13307 move docs so gtk-doc picks it up now
13309 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13311 * docs/libs/gstreamer-libs-sections.txt:
13312 add missing symbols to docs
13314 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13316 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13317 back out the newsegment handling change, see #340060 for ongoing
13320 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13322 * tools/gst-run.c: (get_candidates), (main):
13323 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13324 work); fix typo in error message. Fixes #340079.
13326 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13328 * common/Makefile.am:
13329 * docs/Makefile.am:
13330 * docs/faq/Makefile.am:
13331 * docs/gst/Makefile.am:
13332 * docs/libs/Makefile.am:
13333 * docs/manual/Makefile.am:
13334 * docs/plugins/Makefile.am:
13335 * docs/pwg/Makefile.am:
13336 * docs/slides/Makefile.am:
13338 * common/upload.mak:
13339 move upload.mak to common
13341 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13343 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13344 add more asserts on refcounts
13345 do more cleanup at end of tests
13346 fix test leaks showing in FC5
13348 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13350 * plugins/elements/gsttypefindelement.c:
13351 (gst_type_find_element_handle_event):
13352 reverted wrong change and reflowed code to avoid others falling into
13355 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13357 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13358 fix changelog entry about last collectpads change,
13359 add notes about proper fix
13361 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13364 * gst/gstregistry.c: (gst_registry_scan_path_level),
13365 (gst_registry_scan_path):
13366 * gst/gstregistry.h:
13367 only write out registry if it has changed, fixes #338339
13369 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13372 * gst/gstpipeline.c:
13373 * plugins/elements/gstcapsfilter.c:
13374 * plugins/elements/gstfakesink.c:
13375 * plugins/elements/gstfakesrc.c:
13376 * plugins/elements/gstfdsink.c:
13377 * plugins/elements/gstfdsrc.c:
13378 * plugins/elements/gstfilesink.c:
13379 * plugins/elements/gstfilesrc.c:
13380 * plugins/elements/gstidentity.c:
13381 * plugins/elements/gstqueue.c:
13382 * plugins/elements/gsttee.c:
13383 * plugins/elements/gsttypefindelement.c:
13384 (gst_type_find_element_handle_event):
13385 make GstElementDetails const
13387 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13389 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13390 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13391 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13392 more detailed debug and formatting cleanup,
13393 forward newsegments to src-pad (so that e.g. adder not eats them)
13395 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13397 * gst/gstutils.c: (gst_element_link_pads):
13398 cleanup double code
13400 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13402 * libs/gst/controller/gstcontroller.c:
13403 (gst_controller_sync_values):
13405 * tests/check/libs/controller.c: (GST_START_TEST),
13406 (gst_controller_suite):
13407 a new test for live value handling
13409 2006-04-28 Wim Taymans <wim@fluendo.com>
13411 * gst/gstutils.c: (push_and_ref):
13412 Added some more docs.
13413 Fix refcount issue whith gst_element_found_tags() helper
13414 function. Fixes #338335
13416 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13417 Added testsuite for gst_element_found_tags().
13419 2006-04-28 Michael Smith <msmith@fluendo.com>
13421 * gst/gstvalue.c: (gst_value_serialize_flags):
13422 Avoid NULL dereference when trying to serialize flags containing
13425 2006-04-28 Michael Smith <msmith@fluendo.com>
13427 * plugins/elements/gsttypefindelement.c:
13428 (gst_type_find_element_handle_event):
13429 If we get EOS before any data is accumulated, don't use
13430 uninitialised local variables.
13432 2006-04-28 Michael Smith <msmith@fluendo.com>
13434 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13435 (gst_dp_event_from_packet):
13436 Fixes in reading/writing events over GDP (not currently used?) -
13437 dereferencing NULL events for unknown/invalid event types, memory
13438 leak, and change g_warning to GST_WARNING.
13440 2006-04-28 Wim Taymans <wim@fluendo.com>
13442 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13443 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13444 (gst_base_sink_get_position), (gst_base_sink_change_state):
13445 When frame dropping is enabled, we should not ignore frames
13446 without a duration.
13447 Update some documentation.
13449 2006-04-28 Wim Taymans <wim@fluendo.com>
13451 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13452 (gst_base_src_send_event), (gst_base_src_change_state):
13453 Documentation updates.
13455 2006-04-28 Wim Taymans <wim@fluendo.com>
13457 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13458 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13459 handle EAGAIN, EINTR and short writes correctly. Also clean
13460 up some error cases, avoid a deadlock on bad file descriptors and
13461 use GST_DEBUG_OBJECT.
13464 2006-04-28 Wim Taymans <wim@fluendo.com>
13466 * gst/gstvalue.c: (gst_value_serialize_buffer),
13467 (gst_value_deserialize_buffer):
13468 Don't try to serialize a GValue with a NULL buffer.
13471 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13472 Added check for serialisation of NULL buffers.
13474 2006-04-28 Wim Taymans <wim@fluendo.com>
13476 * gst/gstminiobject.c: (gst_value_take_mini_object):
13477 Taking a NULL miniobject is valid, fix the case where
13478 we try to unref the NULL miniobject.
13480 2006-04-28 Wim Taymans <wim@fluendo.com>
13482 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13484 * gst/gstbin.c: (gst_bin_handle_message_func):
13486 Don't leak bin refcount when a state recalc is
13487 in progress and we delay another one #339808.
13489 2006-04-28 Wim Taymans <wim@fluendo.com>
13491 * docs/design/part-TODO.txt:
13492 Mention QoS as an ongoing work item.
13494 * docs/design/part-buffering.txt:
13495 New doc about buffering that needs to be fleshed out
13498 * docs/design/part-qos.txt:
13499 More QoS policy for decoders/demuxers/transforms
13501 * docs/design/part-trickmodes.txt:
13504 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13509 === release 0.10.5 ===
13511 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13514 releasing 0.10.5, "Fogo"
13516 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13518 patch by: Wim Taymans
13520 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13521 (gst_pad_configure_src), (gst_pad_push):
13522 * gst/gstpipeline.c: (gst_pipeline_init):
13523 Fix internal data flow errors. Fixes #338711.
13525 2006-04-12 Wim Taymans <wim@fluendo.com>
13527 * tests/check/gst/gstelement.c: (GST_START_TEST):
13528 Don't leak the factory.
13530 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13533 * win32/common/config.h:
13536 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13538 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13539 (gst_controller_unset_all):
13540 Free allocated GstTimedValues when freeing list nodes.
13541 Should fix leaks 'make check-valgrind' complains about.
13543 * win32/common/libgstcontroller.def:
13544 Add gst_controller_unset_all.
13546 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13548 * docs/libs/gstreamer-libs-sections.txt:
13549 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13550 (gst_controller_unset_all):
13551 * libs/gst/controller/gstcontroller.h:
13552 API: Added new method gst_controller_unset_all()
13553 fixed gst_controller_unset()
13554 * tests/check/libs/controller.c: (GST_START_TEST),
13555 (gst_controller_suite):
13556 Added two testcases for new and fixed method
13558 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13560 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13561 MSG_DONTWAIT is not defined on Cygwin, so work
13562 around that (fixes #317048).
13564 2006-04-11 Wim Taymans <wim@fluendo.com>
13566 * gst/gstelementfactory.c: (gst_element_register),
13567 (gst_element_factory_create), (gst_element_factory_make):
13570 Updated docs (Fixes #131079)
13572 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13575 * tests/check/gst/gstelement.c: (GST_START_TEST),
13576 (gst_element_suite):
13577 Added testcase for elementfactory class field.
13579 2006-04-10 Wim Taymans <wim@fluendo.com>
13581 * gst/gstsegment.c:
13582 Added some more docs.
13584 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13585 (gst_base_sink_reset_qos):
13586 Calculate more accurate rate values.
13588 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13590 * gst/gst_private.h:
13591 add a new #ifdef to use __declspec(dllimport) only for
13592 other modules and not for gstreamer core
13593 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13594 use gst_guint64_to_gdouble for conversion
13595 * win32/common/libgstreamer.def:
13596 add new exported functions
13597 * win32/vs6/gst_inspect.dsp:
13598 * win32/vs6/gst_launch.dsp:
13599 * win32/vs6/libgstbase.dsp:
13600 * win32/vs6/libgstcontroller.dsp:
13601 * win32/vs6/libgstcoreelements.dsp:
13602 * win32/vs6/libgstdataprotocol.dsp:
13603 * win32/vs6/libgstnet.dsp:
13604 update project files
13606 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13608 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13609 * gst/gstclock.c: (gst_clock_class_init):
13610 * gst/gstelement.c: (gst_element_class_init):
13611 * gst/gstindex.c: (gst_index_class_init):
13612 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13613 * gst/gstobject.c: (gst_object_class_init),
13614 (gst_signal_object_class_init):
13615 * gst/gstpad.c: (gst_pad_class_init):
13616 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13617 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13618 * gst/gstregistry.c: (gst_registry_class_init):
13619 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13620 * gst/gsttask.c: (gst_task_class_init):
13621 * gst/gstxml.c: (gst_xml_class_init):
13622 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13623 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13624 (gst_base_src_loop):
13625 * libs/gst/controller/gstcontroller.c:/
13626 (_gst_controller_class_init):
13627 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13628 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13629 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13630 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13631 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13632 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13634 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13636 * gst/gstpad.c: (gst_pad_link):
13637 Must set peer pads before calling the link function, otherwise
13638 a task started from a link function might get a flow-not-linked
13639 result when trying to push because the other thread where the
13640 linking happens hasn't had a chance to set the peers yet. This
13641 might happen for example when a queue gets linked to a downstream
13642 element, as queue starts a streaming task when its source pad
13643 gets linked. Happens in real life when playing back flac/musepack
13644 files in playbin (#332390).
13646 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13650 * libs/gst/base/gstadapter.h:
13651 * libs/gst/base/gstbasesink.h:
13652 * libs/gst/base/gstbasesrc.h:
13653 * libs/gst/base/gstbasetransform.h:
13654 * libs/gst/base/gstcollectpads.h:
13655 * libs/gst/base/gstpushsrc.h:
13656 Fix broken GObject macros
13658 2006-04-07 Wim Taymans <wim@fluendo.com>
13660 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13661 Initialize start and stop times, thanks valgrind.
13663 2006-04-07 Wim Taymans <wim@fluendo.com>
13665 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13666 Be a bit nicer to badly behaving upstream elements that expect
13667 us to deal with non TIME segments and timestamps (such as fakesrc
13670 2006-04-07 Wim Taymans <wim@fluendo.com>
13673 Small documentation clarification about the signal watch.
13675 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13676 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13677 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13678 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13679 (gst_base_sink_get_position_last),
13680 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13681 Convert and store timestamps in stream time and running time, the
13682 raw timestamps are not useful, also document this better.
13683 Use different window sizes for good and bad QoS observations so
13684 we react to badness a little quicker.
13685 Keep track of the amount of rendered and dropped buffers.
13686 Send QoS timestamps in running time.
13688 * libs/gst/base/gstbasetransform.c:
13689 (gst_base_transform_sink_eventfunc),
13690 (gst_base_transform_handle_buffer):
13691 Compare QoS timestamps against running time.
13693 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13696 Typo fixes in docs.
13698 2006-04-06 Michael Smith <msmith@fluendo.com>
13700 * gst/gstpad.c: (gst_pad_set_property):
13701 Use g_value_get_object() instead of g_value_dup_gst_object(),
13702 to avoid double-reffing the pad template (which we then sink,
13703 so this worked previously if (and only if) the pad template
13706 * gst/gstpadtemplate.c: (gst_pad_template_init),
13707 (gst_pad_template_pad_created):
13708 Never return floating references to pad templates, create
13709 them as initially-sunken.
13711 Document an extra function (and make this stop sinking our
13712 pad template, since that is now guaranteed to do nothing,
13713 since we created it sunken).
13715 * gst/gstghostpad.c:
13718 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13720 * gst/gstinfo.c: (__gst_in_valgrind):
13723 * plugins/elements/gsttypefindelement.c:
13724 (gst_type_find_element_chain):
13725 Don't leak buffer caps.
13727 2006-04-06 Michael Smith <msmith@fluendo.com>
13729 * gst/parse/grammar.y:
13730 Fix a leak in parse-launch for any source-or-sink named element
13733 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13734 Unref the pipeline if it exists after we've failed parsing.
13736 2006-04-05 Michael Smith <msmith@fluendo.com>
13738 * gst/gstpipeline.c: (gst_pipeline_init):
13739 When we create a pipeline bus, initially create it in flushing mode.
13740 Fixes leaks in at least one test, and makes a new pipeline work the
13741 same as one that has gone to READY and then back to NULL.
13743 * gst/gstelement.c:
13746 2006-04-05 Michael Smith <msmith@fluendo.com>
13748 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13749 Unref a pad we reffed.
13750 * tests/check/gst/gstutils.c: (GST_START_TEST):
13753 2006-04-05 Michael Smith <msmith@fluendo.com>
13755 * gst/gstquery.c: (gst_query_set_formats),
13756 (gst_query_set_formatsv):
13757 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13759 2006-04-05 Michael Smith <msmith@fluendo.com>
13761 * tests/check/generic/sinks.c: (GST_START_TEST):
13762 Fix a variety of memleaks in sinks check, which are only sometimes
13763 shown by running the tests under valgrind (weird?).
13765 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13767 * docs/version.entities.in:
13768 Fix the substituted entity name after thomas' changes on the
13771 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13773 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13776 2006-04-05 Andy Wingo <wingo@pobox.com>
13778 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13780 * libs/gst/base/gstbasetransform.c
13781 (gst_base_transform_sink_eventfunc): When resetting our segment on
13782 FLUSH_STOP, also update the flag saying we haven't seen a
13785 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13787 Patch by: Paolo Borelli <pborelli at katamail dot com>
13789 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13790 (gst_plugin_check_license):
13791 minor clean-ups: G_DEFINE_TYPE already takes care of the
13792 parent_class stuff, no need to do it twice. Mark array of
13793 license strings as constant. (#337103)
13795 2006-04-04 Michael Smith <msmith@fluendo.com>
13797 * tools/gst-inspect.c: (print_element_list):
13798 Free the right plugin list; fixes a memory leak.
13800 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13802 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13804 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13805 Don't error out on empty buffers (#336945).
13807 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13809 * docs/libs/gstreamer-libs-sections.txt:
13810 * gst/gsttaglist.c:
13811 * libs/gst/base/gstbasesink.c:
13812 * libs/gst/base/gstbasesink.h:
13813 * libs/gst/base/gstbasesrc.c:
13814 * libs/gst/base/gstbasesrc.h:
13815 Documentation updates. Make BaseSink and BaseSrc docs contain the
13816 class structure so that people can actually see the prototypes for
13817 virtual functions they're supposed to be overriding.
13819 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13821 * plugins/elements/gsttypefindelement.c:
13822 (gst_type_find_element_chain):
13823 More debug info; when skipping typefinding, send cached
13824 events in all cases.
13826 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13829 use new AS_VERSION and AS_NANO macros
13830 * gst/gst-i18n-lib.h:
13833 * gst/gstversion.h.in:
13834 * win32/common/config.h:
13835 * win32/common/config.h.in:
13838 2006-03-31 Michael Smith <msmith@fluendo.com>
13840 * plugins/elements/gsttypefindelement.c:
13841 (gst_type_find_element_chain):
13842 Do not typefind content if the buffers already have caps.
13843 Neccesary for icydemux (#333657), and the right thing to do anyway.
13845 2006-03-30 Wim Taymans <wim@fluendo.com>
13847 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13848 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13849 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13850 (gst_base_sink_record_qos_observation),
13851 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13852 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13853 (gst_base_sink_change_state):
13854 More QoS measurements as described in the design doc.
13855 Get rid of ringbuffer with observations, running average is
13856 more simple and equally good.
13857 Calculates valid proportion now.
13858 Added beginning of flood measurement.
13860 2006-03-29 Wim Taymans <wim@fluendo.com>
13862 * docs/design/part-qos.txt:
13864 Small documentation updates and additions.
13866 2006-03-29 Wim Taymans <wim@fluendo.com>
13868 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13869 (gst_base_src_send_event), (gst_base_src_loop),
13870 (gst_base_src_change_state):
13871 Perform the EOS logic when we reach the segment stop position.
13872 Fix compilation on gcc4.1
13874 2006-03-29 Wim Taymans <wim@fluendo.com>
13876 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13878 * plugins/elements/gstqueue.c: (gst_queue_init),
13879 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13880 (gst_queue_set_property):
13881 * plugins/elements/gstqueue.h:
13882 In queue, when EOS is received, if minimum threshold > max_size -
13883 current_level, there is chance that queue blocks forever in conditional
13884 item del wait. This is because the queue is not emptied completely due
13885 to minimum threshold. Here is another approach. Instead of setting
13886 cur_levels to max in EOS, just zero all minimum threshold levels. This
13887 should make sure that queue gives out all data. When going to READY
13888 (stop) state, just reset the original minimum threshold levels.
13891 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13893 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13894 (gst_type_find_element_handle_event),
13895 (gst_type_find_element_send_cached_events),
13896 (gst_type_find_element_change_state):
13897 * plugins/elements/gsttypefindelement.h:
13898 When typefinding is done in push mode, we should cache
13899 events we receive during typefinding instead of just
13900 dropping them (e.g. newsegment, custom events from
13901 dvdreadsrc etc.) and then send them out once we've
13902 determined the type of the stream (and decodebin
13903 has had a chance to plug in a decoder/demuxer).
13905 2006-03-27 Wim Taymans <wim@fluendo.com>
13907 * docs/design/part-qos.txt:
13910 2006-03-27 Wim Taymans <wim@fluendo.com>
13912 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13914 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13915 (gst_base_src_send_event), (gst_base_src_change_state):
13916 Handle element seek correctly when we are streaming.
13919 2006-03-24 Michael Smith <msmith@fluendo.com>
13921 * docs/faq/gst-uninstalled:
13922 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13923 allow you to correctly run intalled applications built against old
13924 core, using plugins that require updated core (e.g. running
13925 installed totem against a full uninstalled gstreamer stack)
13927 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13929 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13932 2006-03-24 Wim Taymans <wim@fluendo.com>
13934 * docs/gst/gstreamer-sections.txt:
13935 Rearrange the order of the methods so that related methods
13936 are grouped together in sections.
13938 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13940 * gst/gstelement.c:
13941 Little clarification in the docs
13943 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13947 * plugins/elements/gstidentity.c:
13948 * plugins/elements/gstqueue.c:
13949 * plugins/elements/gsttee.c:
13950 * plugins/elements/gsttypefindelement.c:
13951 GST_ELEMENT_DETAILS formatting
13953 2006-03-24 Wim Taymans <wim@fluendo.com>
13955 * libs/gst/base/gstbasesink.h:
13956 Only add fields, not insert or we break ABI.
13958 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13960 * win32/common/libgstbase.def:
13961 * win32/common/libgstreamer.def:
13962 Update, add recently added functions.
13964 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13966 * docs/gst/gstreamer-sections.txt:
13967 * gst/gstutils.c: (gst_pad_query_peer_position),
13968 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13970 API: add some new utility functions:
13971 - gst_pad_query_peer_position()
13972 - gst_pad_query_peer_duration()
13973 - gst_pad_query_peer_convert()
13975 2006-03-23 Wim Taymans <wim@fluendo.com>
13977 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13978 (gst_base_sink_init), (gst_base_sink_finalize),
13979 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13980 (gst_base_sink_set_property), (gst_base_sink_get_property),
13981 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13982 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13983 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13984 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13985 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13986 (gst_base_sink_preroll_object), (gst_base_sink_event),
13987 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13988 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13989 (gst_base_sink_query), (gst_base_sink_change_state):
13990 Decouple max-lateness and the fact that QoS messages are generated
13991 with a new property (qos).
13992 added API: GstBaseSink::async_play()
13993 Add vmethod so subclasses can be notified of ASYNC playing
13995 Collect timestamp start and stop to report better current
13996 position in EOS/PLAYING/PAUSED/READY/NULL.
13997 Refactor QoS/frame dropping and other measurements.
13998 API: GstBaseSrc::qos
14001 * libs/gst/base/gstbasesink.h:
14002 Added Private struct.
14003 API: gst_base_sink_set_qos_enabled()
14004 API: gst_base_sink_is_qos_enabled()
14006 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
14008 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
14009 If compiling against GLib-2.8 or newer, try to read the
14010 registry file using GMappedFile first before falling back
14011 to fopen() + fread() (#332151).
14013 2006-03-22 Wim Taymans <wim@fluendo.com>
14015 * gst/gstinfo.c: (gst_debug_set_active),
14016 (gst_debug_category_set_threshold):
14017 Disable debugging unless explicitly activated.
14020 2006-03-22 Wim Taymans <wim@fluendo.com>
14022 * gst/gstelement.c: (gst_element_set_locked_state),
14023 (gst_element_dispose):
14024 Cleanup the error case.
14026 * gst/gstobject.c: (gst_object_dispose):
14027 print a critical when some object was disposed with
14028 a parent, also revive the object since it might
14031 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
14033 * tools/gst-launch.1.in:
14036 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14039 * tests/check/Makefile.am:
14040 disable some tests when we don't have a registry
14041 * tests/check/gst/gstutils.c: (gst_utils_suite):
14042 don't build the part that needs parsing
14044 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
14047 * tests/examples/Makefile.am:
14048 fix --disable-parse build
14050 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14052 * tools/gst-feedback.1.in:
14053 Fix typo: s/feeback/feedback/ (#133494).
14055 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14057 * tools/Makefile.am:
14058 * tools/gst-launch.1.in:
14059 Add FILES section and correct entry about GST_REGISTRY_PATH
14060 environment variable (#133495; #133494).
14062 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14064 * tools/Makefile.am:
14065 * tools/gst-md5sum.1.in:
14066 * tools/gst-md5sum.c:
14067 Remove gst-md5sum and man page (the md5sink element
14068 required was removed ages ago)
14070 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14072 * gst/gststructure.c: (gst_structure_id_set_value):
14073 Make sure that string fields in structures/taglists
14074 contain valid UTF-8 - we don't want to pass rubbish to
14075 applications because of a buggy plugin (cp. #334167).
14077 2006-03-21 Edward Hervey <edward@fluendo.com>
14079 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
14080 (gst_bin_handle_message_func):
14081 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
14082 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
14083 (gst_element_set_bus_func):
14084 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
14085 * gst/gstminiobject.c: (gst_value_set_mini_object),
14086 (gst_value_take_mini_object):
14087 * gst/gstpad.c: (gst_pad_set_pad_template):
14088 * gst/gstpipeline.c: (gst_pipeline_dispose),
14089 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
14090 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14091 (gst_collect_pads_chain):
14092 * libs/gst/net/gstnettimeprovider.c:
14093 (gst_net_time_provider_set_property):
14094 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14095 It's in fact all issues with gst_*object_replace().
14097 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14099 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14101 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14102 * pkgconfig/gstreamer-check.pc.in:
14103 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14105 2006-03-21 Edward Hervey <edward@fluendo.com>
14109 * gst/gstmessage.h:
14110 gst_[buffer|event|message]_ref() macros are replaced by a static
14111 inline functions because gcc-4.1 will about if the return value
14113 * tests/check/gst/gstevent.c: (event_probe):
14114 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14116 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14119 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14120 the type' case. (Closes: #335195 for now). In the future, when we
14121 depend on GLib 2.10, we could also intern the type name using
14122 g_intern_static_string()
14124 2006-03-20 Wim Taymans <wim@fluendo.com>
14126 * gst/gstbin.c: (gst_bin_handle_message_func),
14127 (bin_query_max_init), (bin_query_position_fold),
14128 (bin_query_position_done), (gst_bin_query):
14129 Position query should also take max of all streams.
14131 2006-03-20 Wim Taymans <wim@fluendo.com>
14133 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14134 (gst_fake_src_finalize):
14135 Fix leaks in fakesrc.
14137 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14138 Fix leaks in the testcase.
14140 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14142 * gst/gst_private.h:
14143 add win32 specific import decoration(__declspec(dllimport))
14144 for all extern GstDebugCategory * variables
14145 * win32/common/libgstbase.def:
14146 * win32/common/libgstcontroller.def:
14147 * win32/common/libgstreamer.def:
14148 Add some exports, remove empty lines
14149 * win32/common/libgstdataprotocol.def:
14150 * win32/common/libgstdataprotocol.dsp:
14151 * win32/common/libgstnet.def:
14152 * win32/common/libgstnet.dsp:
14153 new project files and exportation files added
14155 2006-03-19 Wim Taymans <wim@fluendo.com>
14157 * tests/check/libs/basesrc.c: (eos_event_counter):
14158 Use proper return value for probe.
14160 2006-03-17 Wim Taymans <wim@fluendo.com>
14162 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14164 Don't leak buffers, caps and pads on negotiation errors.
14166 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14168 * docs/faq/cvs.xml:
14169 * docs/faq/dependencies.xml:
14170 * docs/faq/developing.xml:
14171 * docs/faq/faq.xml:
14172 * docs/faq/general.xml:
14173 * docs/faq/getting.xml:
14174 * docs/faq/legal.xml:
14175 * docs/faq/troubleshooting.xml:
14176 * docs/faq/using.xml:
14177 Faq review and update.
14179 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14181 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14183 Don't pound the cpu to pieces by checking get_caps when accept_caps
14184 is called with the same caps as the pad already has.
14185 Use GST_DEBUG_OBJECT when outputting caps change information.
14187 2006-03-15 Wim Taymans <wim@fluendo.com>
14189 * gst/gstclock.c: (gst_clock_class_init):
14192 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14197 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14198 (gst_pad_accept_caps), (gst_pad_configure_sink),
14199 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14200 Make the default acceptcaps behaviour be to check the requested
14201 caps against the gst_pad_get_caps output.
14203 Ensure that gst_pad_accept_caps is used to check caps when a pad
14204 doesn't have a setcaps function, so that pads automatically refuse
14205 caps that they don't allow in their pad template. (Fixes #332986)
14207 When a buffer with attached caps is pushed, ensure that the source
14208 pad receives those caps even if the element didn't call
14209 gst_pad_set_caps first.
14211 2006-03-15 Wim Taymans <wim@fluendo.com>
14213 * libs/gst/base/gstadapter.c:
14216 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14218 * win32/common/libgstbase.def:
14219 * win32/common/libgstcontroller.def:
14220 * win32/common/libgstreamer.def:
14221 Add a whole bunch of missing functions (#334434).
14223 2006-03-14 Wim Taymans <wim@fluendo.com>
14225 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14226 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14227 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14228 Better debug info when we receive a segment event.
14229 Reorganize a bit so we can pass the get_times() results around.
14230 Use the segment format when calculating the running time.
14231 Don't do QoS is sync is disabled or we have no clock or the
14232 element does not want us to sync to the clock.
14233 Don't drop buffers if QoS is disabled for now.
14235 2006-03-14 Wim Taymans <wim@fluendo.com>
14237 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14238 Marked the stats property as unimplemented so people don't get
14240 Add debug message when regression goes wrong.
14241 Added some more docs.
14243 2006-03-14 Wim Taymans <wim@fluendo.com>
14245 * gst/gstsegment.c: (gst_segment_to_stream_time):
14246 Return correct return type in case of errors.
14248 2006-03-14 Wim Taymans <wim@fluendo.com>
14250 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14251 Don't segfault on invalid formats.
14253 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14255 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14256 Can't use gst_segment_to_running_time() when the segment
14257 is not in GST_TIME_FORMAT (like with filesink, for example).
14258 Stops flac encoding pipelines from spewing critical warnings
14261 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14263 * gst/gstpipeline.c: (gst_pipeline_class_init):
14264 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14266 * plugins/elements/gsttypefindelement.c:
14267 (gst_type_find_element_handle_event):
14268 Don't try to typefind empty streams.
14270 2006-03-14 Wim Taymans <wim@fluendo.com>
14272 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14273 (gst_base_sink_do_qos):
14274 Separate QoS calculation.
14275 Only drop buffers when lateness is bigger than the
14276 duration of the buffer.
14278 2006-03-13 Wim Taymans <wim@fluendo.com>
14280 * gst/gstpipeline.c: (gst_pipeline_set_property),
14281 (gst_pipeline_get_property), (do_pipeline_seek),
14282 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14283 (gst_pipeline_get_delay):
14284 Don't deadlock when reading properties.
14286 2006-03-13 Wim Taymans <wim@fluendo.com>
14288 * libs/gst/base/gstbasetransform.c:
14289 (gst_base_transform_class_init), (gst_base_transform_init),
14290 (gst_base_transform_sink_event),
14291 (gst_base_transform_sink_eventfunc),
14292 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14293 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14294 (gst_base_transform_set_property),
14295 (gst_base_transform_get_property),
14296 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14297 (gst_base_transform_set_qos_enabled),
14298 (gst_base_transform_is_qos_enabled):
14299 * libs/gst/base/gstbasetransform.h:
14300 Make basetransform virtual method for src events too.
14301 Handle QOS in basetransform.
14302 API: gst_base_transform_update_qos()
14303 API: gst_base_transform_set_qos_enabled()
14304 API: gst_base_transform_is_qos_enabled()
14306 2006-03-13 Wim Taymans <wim@fluendo.com>
14308 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14309 (gst_base_sink_do_sync):
14311 Use QOS debug category.
14313 2006-03-13 Wim Taymans <wim@fluendo.com>
14315 * plugins/elements/gstqueue.c:
14316 Very small doc update.
14318 2006-03-13 Wim Taymans <wim@fluendo.com>
14320 * gst/gst_private.h:
14321 * gst/gstinfo.c: (_gst_debug_init):
14322 Added QOS debug category
14324 2006-03-13 Wim Taymans <wim@fluendo.com>
14326 * docs/gst/gstreamer-sections.txt:
14327 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14329 * gst/gstbus.c: (gst_bus_class_init):
14332 * gst/gstelement.c: (gst_element_set_locked_state):
14333 * gst/gstsegment.c:
14334 Documentation updates.
14336 * gst/gstpipeline.c: (gst_pipeline_get_type),
14337 (gst_pipeline_class_init), (gst_pipeline_init),
14338 (gst_pipeline_dispose), (gst_pipeline_set_property),
14339 (gst_pipeline_get_property), (do_pipeline_seek),
14340 (gst_pipeline_send_event), (gst_pipeline_change_state),
14341 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14342 (gst_pipeline_get_delay):
14343 * gst/gstpipeline.h:
14344 Added methods for setting the delay.
14345 API: gst_pipeline_set_delay()
14346 API: gst_pipeline_get_delay()
14347 Add pipeline debug category
14350 Don't reset stream time when seek failed.
14352 2006-03-13 Wim Taymans <wim@fluendo.com>
14354 * docs/design/draft-klass.txt:
14355 * docs/design/part-clocks.txt:
14356 * docs/design/part-events.txt:
14357 * docs/design/part-gstbin.txt:
14358 * docs/design/part-gstpipeline.txt:
14359 * docs/design/part-messages.txt:
14360 * docs/design/part-negotiation.txt:
14361 * docs/design/part-overview.txt:
14362 * docs/design/part-preroll.txt:
14363 * docs/design/part-seeking.txt:
14364 * docs/design/part-states.txt:
14365 * docs/design/part-streams.txt:
14366 Documentation updates.
14368 2006-03-12 Julien MOUTTE <julien@moutte.net>
14370 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14371 us to leak strings...
14373 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14375 * libs/gst/net/gstnettimeprovider.c:
14377 * win32/common/config.h:
14380 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14382 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14385 Don't check for libgnomeui (leftover from old examples
14386 that aren't built or disted any longer) (#334303).
14388 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14390 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14391 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14392 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14393 there's no space left on the device.
14395 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14398 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14399 to cast the input to GstClockTime before comparing with
14400 another GstClockTime value.
14402 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14407 === release 0.10.4 ===
14409 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14412 releasing 0.10.4, "Light"
14414 2006-03-10 Michael Smith <msmith@fluendo.com>
14416 * libs/gst/dataprotocol/dataprotocol.c:
14417 Fix docs for dataprocotol to not get the return types completely
14418 wrong for a few functions.
14420 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14422 * docs/gst/gstreamer-sections.txt:
14423 * gst/gstpipeline.c: (gst_pipeline_class_init),
14424 (gst_pipeline_init), (gst_pipeline_set_property),
14425 (gst_pipeline_get_property), (gst_pipeline_change_state),
14426 (gst_pipeline_set_auto_flush_bus),
14427 (gst_pipeline_get_auto_flush_bus):
14428 * gst/gstpipeline.h:
14429 Add new API: gst_pipeline_set_auto_flush_bus() and
14430 gst_pipeline_get_auto_flush_bus() to disable automatic
14431 flushing of the pipeline's GstBus when going from READY
14432 to NULL state (#332045).
14434 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14436 * docs/gst/gstreamer-sections.txt:
14437 * gst/gsturi.c: (gst_uri_has_protocol):
14439 Add new API: gst_uri_has_protocol() (#333779).
14441 2006-03-09 Wim Taymans <wim@fluendo.com>
14443 * gst/gstclock.c: (gst_clock_entry_new),
14444 (gst_clock_id_compare_func), (gst_clock_id_wait),
14445 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14446 (gst_clock_init), (gst_clock_get_internal_time),
14447 (gst_clock_set_master), (do_linear_regression),
14448 (gst_clock_add_observation), (gst_clock_set_property):
14452 Fix a possible segfault when the window-size is made smaller.
14453 Calculate jitter before performing the clock wait. Ideally
14454 the clock implementation should calculate jitter but we need
14455 API breakage for that.
14457 * gst/gstsystemclock.c: (gst_system_clock_init):
14460 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14461 Remove leftover else
14463 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14464 (gst_systemclock_suite):
14465 Added check to test GST_CLOCK_DIFF.
14467 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14469 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14470 (gst_type_find_helper_get_range):
14471 If we are provided with the size, we should implement
14472 GstTypeFind::get_length, so that typefind functions who
14473 want to can actually peek at the middle of a file.
14475 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14477 * docs/manual/advanced-dataaccess.xml:
14478 Add some very very basic error checking.
14480 * docs/pwg/appendix-checklist.xml:
14481 Some updates to the list of things to check when writing an element.
14483 2006-03-08 Wim Taymans <wim@fluendo.com>
14485 * docs/design/part-element-transform.txt:
14486 Added some docs about the design of tranform elements.
14488 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14489 (gst_base_src_loop), (gst_base_src_change_state):
14490 Mark buffers with the DISCONT flag.
14492 2006-03-08 Michael Smith <msmith@fluendo.com>
14494 * gst/gstregistry.h:
14495 * gst/gstregistryxml.c: (gst_registry_save),
14496 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14497 (gst_registry_xml_save_pad_template),
14498 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14499 (gst_registry_xml_write_cache):
14500 Rewrite registry-saving to avoid race conditions and check for
14503 2006-03-08 Wim Taymans <wim@fluendo.com>
14505 * libs/gst/base/gstbasetransform.c:
14506 (gst_base_transform_transform_caps),
14507 (gst_base_transform_transform_size),
14508 (gst_base_transform_prepare_output_buffer),
14509 (gst_base_transform_get_unit_size),
14510 (gst_base_transform_buffer_alloc),
14511 (gst_base_transform_handle_buffer),
14512 (gst_base_transform_change_state):
14513 Cleanups, separate normal flow from errors, add sensible
14515 Don't try to renegotiate when allocating an output buffer.
14516 Also copy DISCONT buffer flag when copying a buffer.
14517 Reset the transform after we finish streaming, not during.
14519 2006-03-08 Wim Taymans <wim@fluendo.com>
14521 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14522 Use last buffer timestamp in qos message.
14524 2006-03-07 Wim Taymans <wim@fluendo.com>
14526 Patch by: Christophe Fergeau
14528 * docs/pwg/advanced-tagging.xml:
14529 * docs/pwg/building-pads.xml:
14532 2006-03-07 Wim Taymans <wim@fluendo.com>
14534 * docs/libs/gstreamer-libs-sections.txt:
14535 Added basesink new methods.
14539 Docs updates. Flesh out the QoS docs.
14541 * libs/gst/base/gstadapter.c:
14542 Small doc clarification about ownership and flushing.
14544 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14545 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14546 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14547 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14548 * libs/gst/base/gstbasesink.h:
14550 Added new methods to allow subclass to control max-lateness
14552 Generate very basic QoS events based on last sync observation.
14553 Updated docs, fix typo, added some QoS blurb.
14555 * libs/gst/base/gstbasesrc.c:
14556 Remove obsolete _get_state() calls from docs.
14558 2006-03-07 Wim Taymans <wim@fluendo.com>
14560 * docs/libs/gstreamer-libs-sections.txt:
14561 * libs/gst/base/gstbasetransform.h:
14562 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14563 Fix docs for GstBaseSrc.
14565 2006-03-07 Wim Taymans <wim@fluendo.com>
14567 * docs/gst/gstreamer-sections.txt:
14570 * libs/gst/base/gstbasetransform.h:
14571 Small documentation fixes.
14573 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14576 Document thread-unsafety of gst_value_register_foo_func()
14577 when used at the same time as gst_value_foo() (#322628).
14579 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14581 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14582 (gst_push_src_check_get_range):
14583 Push sources don't support pull mode by default.
14585 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14587 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14588 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14589 (gst_base_src_default_check_get_range):
14590 * libs/gst/base/gstbasesrc.h:
14591 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14592 provide default implementation, and rename
14593 gst_base_src_check_get_range() to
14594 gst_base_src_pad_check_get_range() for clarity.
14596 2006-03-06 Wim Taymans <wim@fluendo.com>
14598 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14599 Make property overridable.
14601 2006-03-06 Wim Taymans <wim@fluendo.com>
14603 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14604 (gst_base_sink_init), (gst_base_sink_set_property),
14605 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14606 * libs/gst/base/gstbasesink.h:
14607 API addition: Make max-lateness a property.
14609 2006-03-06 Wim Taymans <wim@fluendo.com>
14611 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14612 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14613 Don't ever draw a frame that is >10ms late.
14615 2006-03-06 Michael Smith <msmith@fluendo.com>
14617 * gst/gstmessage.c: (_gst_message_copy):
14618 When copying a message, set the parent_refcount of the enclosed
14619 structure to point at the copy, not the original message.
14621 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14623 Patch by: Christophe Fergeau
14626 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14627 usable in c++ code (#333417)
14629 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14632 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14634 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14636 * libs/gst/base/gstbasetransform.c:
14637 (gst_base_transform_transform_caps):
14638 Make sure caps are writable before passing them to
14641 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14644 Fix some minor docs errors.
14646 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14648 Patch by: Ross Burton <ross at burtonini dot com>
14650 * gst/gsterror.c: (_gst_resource_errors_init):
14652 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14654 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14657 Add a check and output a g_warning when GStreamer is built
14658 against GLib 2.6 but running against 2.8 or higher, and vice
14659 versa. (Closes: #323542)
14661 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14663 * gst/parse/parse.l:
14664 Commit patch for parse_launch syntax from #331255. Removes
14665 support for quoted strings and mimetypes when writing filtered
14666 caps. See the bug report for more details - I'm pretty sure this
14667 obscure feature is not in use by _anyone_ anywhere.
14669 With this simple change, the size of the gstreamer.so here
14670 drops from 2193KB to 1565KB.
14672 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14674 * plugins/elements/gsttypefindelement.h:
14675 * plugins/elements/gsttypefindelement.c:
14676 (gst_type_find_element_src_event), (start_typefinding),
14677 (stop_typefinding), (gst_type_find_element_handle_event),
14678 (gst_type_find_element_chain),
14679 (gst_type_find_element_chain_do_typefinding):
14680 Use gst_type_find_helper_for_buffer() for chain-based
14683 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14685 * plugins/elements/gsttypefindelement.c:
14686 (gst_type_find_element_class_init),
14687 (gst_type_find_element_set_property),
14688 (gst_type_find_element_get_property):
14689 Deprecate "maximum" property (not only was it only taken into
14690 account for typefinding in push-mode anyway, it also was never
14691 actually possible to set it in the first place because the
14692 property was registered with the numeric property ID for the
14693 "minimum" property). Register "maximum" property correctly,
14694 for the sake of future copy'n'pasters. Remove some cruft
14695 from property get/set functions.
14697 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14699 * plugins/elements/gsttypefindelement.c:
14700 (gst_type_find_element_activate):
14701 Use gst_type_find_helper_get_range() here, so we
14702 can honour the "minimum" property and also emit
14703 the signal with the correct probability of the found caps.
14705 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14707 * docs/libs/gstreamer-libs-sections.txt:
14708 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14709 (helper_find_suggest), (gst_type_find_helper_get_range),
14710 (gst_type_find_helper):
14711 * libs/gst/base/gsttypefindhelper.h:
14712 New API: gst_type_find_helper_get_range() (#333042).
14714 2006-03-02 Michael Smith <msmith@fluendo.com>
14716 * gst/gstregistryxml.c: (load_feature):
14717 Asserting on a failure to read part of the registry is Not Cool.
14718 Just log a warning and return NULL (which is already handled)
14720 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14722 * win32/common/libgstbase.def:
14723 added export of gst_type_find_helper_for_buffer
14724 * win32/common/libgstbase.def:
14725 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14726 gst_ghost_pad_get_target
14728 2006-02-28 Wim Taymans <wim@fluendo.com>
14730 * docs/design/draft-klass.txt:
14732 Added Connector to mark elements that are only used to
14733 allow pipeline connections.
14734 Moved Debug to extra feature since most of them are
14735 functionally something else.
14737 2006-02-28 Wim Taymans <wim@fluendo.com>
14739 * docs/design/draft-klass.txt:
14740 Some updates and clarifications.
14742 2006-02-28 Wim Taymans <wim@fluendo.com>
14744 * docs/design/draft-klass.txt:
14745 Proposal for klass field values.
14747 * docs/design/part-streams.txt:
14748 Start of a doc describing stream anatomy.
14750 2006-02-28 Wim Taymans <wim@fluendo.com>
14752 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14753 Help the compiler a bit with type registration.
14754 Use existing forward cod path instead of duplicating it when
14755 handling a message.
14757 * gst/gstbus.c: (gst_bus_get_type):
14758 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14759 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14760 * gst/gstclock.c: (gst_clock_get_type):
14761 * gst/gstelement.c: (gst_element_get_type),
14762 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14763 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14764 * gst/gstminiobject.c: (gst_mini_object_get_type):
14765 * gst/gstpad.c: (gst_pad_get_type):
14766 * gst/gstsegment.c: (gst_segment_get_type):
14767 * gst/gststructure.c: (gst_structure_get_type):
14768 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14769 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14771 Help compiler with type registration.
14773 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14776 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14778 * plugins/elements/gsttypefindelement.c:
14779 (gst_type_find_element_handle_event):
14780 When we get an EOS event and have not found a type yet
14781 (most likely because we had not yet accumulated
14782 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14783 type given the data we have so far. Fixes typefinding
14784 for very short streams again, most notably quicktime
14785 redirections as used on Apple's trailer site (#331701).
14787 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14789 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14790 (gst_type_find_helper):
14791 Try typefinding factories with the highest rank first.
14793 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14795 * docs/libs/gstreamer-libs-docs.sgml:
14796 * docs/libs/gstreamer-libs-sections.txt:
14797 * libs/gst/base/gsttypefindhelper.c:
14798 Add section for typefind helper and add documentation
14799 for the old and the new function.
14801 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14803 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14804 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14805 (gst_type_find_helper_for_buffer):
14806 * libs/gst/base/gsttypefindhelper.h:
14807 New API: gst_type_find_helper_for_buffer() (#332723).
14809 2006-02-27 Michael Smith <msmith@fluendo.com>
14811 Patch by: Loïc Minier
14814 * docs/Makefile.am:
14815 * docs/slides/Makefile.am:
14816 prevent CVS directories getting disted.
14818 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14820 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14821 Use the REFCOUNTING category for caps refcounting.
14823 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14825 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14826 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14828 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14830 * plugins/elements/gsttypefindelement.c:
14831 (gst_type_find_element_activate):
14832 Use gst_pad_check_pull_range() before _activate_pull()
14833 to avoid unnecessary open/close (see #331690).
14835 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14838 Docs enhancement: make it crystal clear what the
14839 gst_pad_add_*_probe() callbacks should look like.
14841 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14843 * libs/gst/base/gstbasesrc.c:
14844 Document how applications can stop recording from
14845 live sources (see #330996).
14847 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14849 * tests/check/Makefile.am:
14850 * tests/check/libs/basesrc.c: (eos_event_counter),
14851 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14852 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14853 (gst_basesrc_suite), (main):
14854 ... and add some tests for the base source EOS stuff.
14856 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14858 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14859 Test case originally showed the problem fixed below,
14860 but was then amended. Add checks back at the place
14861 where they used to be.
14863 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14865 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14866 (gst_base_src_init), (gst_base_src_loop),
14867 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14868 (gst_base_src_change_state):
14869 * libs/gst/base/gstbasesrc.h:
14870 Don't unconditionally send EOS when going from PAUSED to
14871 READY state, esp. make sure we don't send two EOS events
14872 in some cases (e.g. one when reaching EOS and one when
14873 going from PAUSED to READY). Also, we don't want to send
14874 EOS events when operating in pull mode. However, we do
14875 want to send an EOS event when shutting down a live
14876 source explicitly, for example (fixes #330996).
14878 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14880 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14881 Update src->read_position after a seek when not using mmap.
14882 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14884 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14890 Make things work with --disable-parse as they do with
14891 --disable-load-save - the symbols involved disappear, but the
14892 header is still installed and GST_DISABLE_PARSE is included via
14895 2006-02-20 Julien MOUTTE <julien@moutte.net>
14897 * libs/gst/base/gstbasetransform.c:
14898 (gst_base_transform_change_state): Fix a stupid bug. I was
14899 sure I compiled that.
14901 2006-02-20 Julien MOUTTE <julien@moutte.net>
14903 * gst/gstpad.c: (gst_pad_set_blocked_async):
14904 * gst/gstutils.c: (gst_pad_add_data_probe),
14905 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14906 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14907 (gst_pad_remove_buffer_probe): Make those function act on the
14908 ghostpad target when it's a ghostpad. (Closes #331727)
14910 2006-02-20 Julien MOUTTE <julien@moutte.net>
14912 * libs/gst/base/gstbasetransform.c:
14913 (gst_base_transform_change_state): Make basetransform reusable.
14916 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14918 * docs/random/release:
14919 Move the current documentation of how to do a release to the top
14922 * gst/gstbin.c: (gst_bin_class_init),
14923 (gst_bin_handle_message_func):
14924 Allow multiple state-recalculation threads. (Closes #328873)
14926 2006-02-19 Julien MOUTTE <julien@moutte.net>
14928 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14929 * gst/gstpad.c: (gst_pad_set_event_function),
14930 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14931 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14932 2 strings. You can't use the STR_NULL macro on that.
14934 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14936 * gst/gstpad.c: (gst_pad_set_event_function),
14937 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14938 (gst_pad_set_getcaps_function)
14939 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14940 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14941 So now, we can use --gst-debug-level=5 on Windows
14942 * win32/common/libgstcontroller.def:
14943 Added export of gst_controller_init
14944 * win32/vs6/libgstcontroller.dsp:
14945 Fixed Release post build configuration
14947 2006-02-17 Wim Taymans <wim@fluendo.com>
14949 * tests/check/gst/gstquery.c: (GST_START_TEST):
14950 Added another check.
14952 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14954 * plugins/elements/gsttypefindelement.c: (find_peek):
14955 We can do peeks at non-zero offsets, as long as they
14956 fall within the buffer we have.
14958 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14960 * tests/check/Makefile.am:
14961 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14962 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14963 (parse_suite), (main):
14964 Add testsuite for parse launch syntax
14966 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14968 * plugins/elements/gsttypefindelement.c:
14969 (gst_type_find_element_chain):
14970 When typefinding is unsuccessful in the chain function, don't
14971 error out immediately. Only error out with NO_CAPS_FOUND if
14972 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14973 otherwise simply wait for more data so we can try typefinding
14974 again with more data later. Also, don't attempt to typefind
14975 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14976 this should improve typefinding from network sources where the
14977 size of the first buffer can be somewhat random.
14979 2006-02-14 Wim Taymans <wim@fluendo.com>
14981 * docs/gst/gstreamer-sections.txt:
14982 * gst/gstpadtemplate.c:
14983 * gst/gstpadtemplate.h:
14984 Fix padtemplate docs, fixes #328805.
14986 2006-02-14 Wim Taymans <wim@fluendo.com>
14988 * tools/gst-launch.c: (main):
14989 NO_PREROLL is not an ERROR so don't send confusing messages
14992 2006-02-14 Wim Taymans <wim@fluendo.com>
14994 Patch by: Torsten Schoenfeld
14996 * gst/gstregistry.c: (gst_registry_get_default),
14997 (_gst_registry_cleanup):
14998 Protect default registry with lock and ref/sink it.
15001 2006-02-14 Wim Taymans <wim@fluendo.com>
15004 * gst/gstquery.c: (gst_query_list_add_format),
15005 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15006 (gst_query_parse_formats_nth):
15007 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
15010 2006-02-14 Wim Taymans <wim@fluendo.com>
15012 * docs/gst/gstreamer-sections.txt:
15013 Reworked query docs.
15015 * gst/gstquery.c: (gst_query_new_formats),
15016 (gst_query_list_add_format), (gst_query_set_formats),
15017 (gst_query_set_formatsv), (gst_query_parse_formats_length),
15018 (gst_query_parse_formats_nth):
15020 Flesh out formats query, added some new methods.
15021 Fix part of #324398.
15023 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
15024 Added query creation tests.
15026 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
15028 * gst/gstpad.c: (fixate_value):
15029 Add a default fixation for fraction lists.
15031 2006-02-13 Wim Taymans <wim@fluendo.com>
15033 * gst/gsttask.c: (gst_task_init), (gst_task_func),
15034 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
15037 Detect and warn for obvious deadlocks. fixes #320340
15038 Fix error case where lock was not released.
15040 * tests/check/Makefile.am:
15041 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
15042 (task_func), (gst_element_suite), (main):
15045 2006-02-13 Wim Taymans <wim@fluendo.com>
15047 * docs/gst/gstreamer-sections.txt:
15049 Add new functions to docs.
15051 2006-02-13 Wim Taymans <wim@fluendo.com>
15053 * docs/design/part-TODO.txt:
15054 Updated TODO list, basesrc supports seeking to non-bytes
15057 * docs/design/part-element-sink.txt:
15060 * gst/gstbin.c: (bin_replace_message),
15061 (gst_bin_handle_message_func):
15062 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
15063 * gst/gstevent.c: (gst_event_finalize):
15064 * gst/gstpad.c: (gst_pad_event_default_dispatch),
15065 (gst_pad_send_event):
15066 Use shiny new _TYPE_NAME macros.
15068 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15069 Move debug statement up.
15071 * gst/gstelement.c: (gst_element_set_locked_state):
15072 Add some debugging.
15074 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
15076 * docs/gst/gstreamer-sections.txt:
15077 * gst/gstmessage.h:
15079 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
15080 macros (#330906). Also, document the already existing
15081 GST_QUERY_TYPE macro.
15083 2006-02-13 Wim Taymans <wim@fluendo.com>
15085 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
15086 (event_probe), (GST_START_TEST):
15087 Only events up to the pipeline EOS are counted, there are
15088 some more when going to NULL currently which we don't care
15091 2006-02-13 Wim Taymans <wim@fluendo.com>
15093 * gst/gstpad.c: (gst_pad_send_event):
15094 Correctly check flushing and emit probes. fixes #330125
15096 2006-02-10 Andy Wingo <wingo@pobox.com>
15098 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15100 (gst_bus_init): Cache the location of the private data in the
15101 instance structure.
15102 (gst_bus_enable_sync_message_emission)
15103 (gst_bus_disable_sync_message_emission): Implement new public
15105 (gst_bus_post): Emit the sync-message signal if the user asked for
15108 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15109 location of the bus-private structure.
15110 (gst_bus_enable_sync_message_emission)
15111 (gst_bus_disable_sync_message_emission): API addition
15113 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15115 Patch by: Vincent Torri
15117 * docs/pwg/building-boiler.xml:
15118 PWG patch from #326800
15120 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15123 * docs/Makefile.am:
15124 * docs/design/Makefile.am:
15127 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15132 === release 0.10.3 ===
15134 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15137 releasing 0.10.3, "Like a virgin"
15139 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15142 2nd prerelease of 0.10.3
15143 Bump libtool versioning.
15145 2006-02-07 Andy Wingo <wingo@pobox.com>
15147 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15148 update last_stop if we're in TIME format and the timestamp is
15151 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15152 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15153 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15154 If we get a new newsegment with a different format, adapt
15157 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15158 of 0. Not a problem, really.
15160 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15163 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15168 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15171 project files updated to the default vs7 configuration
15172 * win32/common/libgstbase.def:
15173 * win32/common/libgstreamer.def:
15175 removed empty lines,
15176 sorted all exported symbols alphabetically
15177 * win32/common/dirent.c:
15178 * win32/common/dirent.h:
15179 * win32/common/gchar.h:
15180 use windows line end.
15182 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15184 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15185 Send EOS event when stopping.
15187 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15190 Tell folks what to do if the plugin-foobar.xml file
15191 hasn't been generated for a newly-added plugin.
15193 2006-02-05 Julien MOUTTE <julien@moutte.net>
15195 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15196 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15197 (gst_collect_pads_start), (gst_collect_pads_stop),
15198 (gst_collect_pads_event): Collectpads now holds a reference
15199 to the GstPad that was added. Indeed we don't want to look
15200 at pads that might just go away with no warning...
15202 2006-02-05 Julien MOUTTE <julien@moutte.net>
15204 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15205 (gst_collect_pads_start), (gst_collect_pads_stop),
15206 (gst_collect_pads_event), (gst_collect_pads_chain):
15207 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15208 Mark Nauwelaerts's patch on bug #328491.
15210 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15212 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15214 Add some simple tests for gst_parse_bin_from_description() and
15215 gst_bin_find_unconnected_pad() (#329069).
15217 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15219 * tools/gst-launch.c: (event_loop), (main):
15220 Catch errors during preroll (#320084).
15222 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15224 * plugins/elements/gsttypefindelement.c:
15225 (gst_type_find_element_activate):
15226 Post TYPE_NOT_FOUND error message when typefinding
15227 is unsuccessful in the activate function as well.
15229 2006-02-02 Wim Taymans <wim@fluendo.com>
15231 * docs/design/part-element-sink.txt:
15234 2006-02-02 Wim Taymans <wim@fluendo.com>
15236 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15237 (gst_base_sink_render_object),
15238 (gst_base_sink_queue_object_unlocked):
15239 Only keep track of prerollable items when we are
15241 Before rendering after preroll, always check if we
15243 Added some more debugging.
15245 2006-02-02 Wim Taymans <wim@fluendo.com>
15247 * gst/gstelement.c: (gst_element_continue_state),
15248 (gst_element_set_state_func), (gst_element_change_state):
15249 Fixed #326576, been running this for quite some time with
15250 no regressions at all.
15252 2006-02-02 Wim Taymans <wim@fluendo.com>
15255 Added more suppressions
15257 2006-02-02 Wim Taymans <wim@fluendo.com>
15259 * docs/design/part-element-sink.txt:
15262 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15263 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15264 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15265 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15266 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15267 (gst_base_sink_preroll_object),
15268 (gst_base_sink_queue_object_unlocked),
15269 (gst_base_sink_queue_object), (gst_base_sink_event),
15270 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15271 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15272 (gst_base_sink_get_position), (gst_base_sink_change_state):
15273 * libs/gst/base/gstbasesink.h:
15274 Totally refactored matching the design doc.
15275 Use two segments, one to clip incomming buffers and another to
15277 Handle queueing correctly, bypass the queue when playing.
15278 Make EOS cancelable.
15279 Handle errors correctly when operating in pull based mode.
15281 * tests/check/elements/fakesink.c: (GST_START_TEST),
15283 Added new check for sinks.
15285 2006-02-02 Wim Taymans <wim@fluendo.com>
15287 * gst/gstsegment.c: (gst_segment_clip):
15288 No reason to refuse to clip when start == -1
15290 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15293 * docs/manual/intro-basics.xml:
15294 * docs/manual/intro-preface.xml:
15295 * docs/manual/manual.xml:
15296 * docs/pwg/advanced-dparams.xml:
15297 * docs/pwg/intro-basics.xml:
15298 * docs/pwg/intro-preface.xml:
15299 * docs/pwg/pwg.xml:
15300 describe dparams (controller) for plugins
15301 unify docs a little more
15303 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15305 * docs/gst/gstreamer-sections.txt:
15306 * gst/gstutils.c: (element_find_unconnected_pad),
15307 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15309 Add new API: gst_parse_bin_from_description() and
15310 gst_bin_find_unconnected_pad() (#329069).
15312 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15314 * docs/manual/README:
15315 uncover a nasty detail of the docs build
15317 2006-01-31 Wim Taymans <wim@fluendo.com>
15319 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15320 Don't cache duration messages if we're not going to use or
15323 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15325 * docs/manual/advanced-dparams.xml:
15326 * docs/pwg/advanced-dparams.xml:
15330 * libs/gst/controller/lib.c: (gst_controller_init):
15333 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15335 * gst/gstelement.c: (gst_element_message_full):
15336 also show file/line/func if no additional debug was given
15338 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15340 * win32/vs7/grammar.vcproj:
15341 activate copy of autogenerated files for Release mode
15343 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15345 * win32/common/libgstreamer.def:
15346 export gst_value_compare
15348 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15350 * plugins/elements/Makefile.am:
15351 * plugins/elements/gstelements.c:
15352 * plugins/elements/gstfdsink.c: (_do_init),
15353 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15354 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15355 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15356 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15357 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15358 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15359 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15360 * plugins/elements/gstfdsink.h:
15361 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15363 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15365 * docs/manual/advanced-dparams.xml:
15366 describe controller
15367 * docs/manual/advanced-position.xml:
15368 * docs/manual/basics-init.xml:
15369 * docs/manual/manual.xml:
15370 * docs/manual/titlepage.xml:
15371 * docs/pwg/pwg.xml:
15372 * docs/pwg/titlepage.xml:
15373 cleanup xml (more to come)
15374 * libs/gst/controller/gstcontroller.c:
15377 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15379 * win32/vs6/grammar.dsp:
15380 add autogen of gstmarshal.c,h for Release mode
15382 2006-01-30 Wim Taymans <wim@fluendo.com>
15384 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15385 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15386 (gst_base_sink_handle_object), (gst_base_sink_event),
15387 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15388 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15389 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15390 (gst_base_sink_deactivate), (gst_base_sink_activate),
15391 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15392 (gst_base_sink_query), (gst_base_sink_change_state):
15393 Basesink cleanups, remove some old code.
15394 Handle the case where a subclass can preroll in the render
15395 method (mostly audiosinks).
15396 Handle more events.
15397 Remove some locks around variables that are now protected
15398 with the PREROLL_LOCK (clock_id, flushing, ..).
15399 Optimize position query some more, do correct locking.
15400 Remove old code to push queue in state change, this is not
15401 needed anymore since preroll blocks on all prerollable items
15403 Almost implemented as described in design doc.
15405 2006-01-30 Wim Taymans <wim@fluendo.com>
15407 * tests/check/gst/gstbin.c: (GST_START_TEST):
15408 Wait for refcount to settle down before checking.
15410 2006-01-30 Wim Taymans <wim@fluendo.com>
15412 * docs/design/part-element-sink.txt:
15413 Pseudo code overview of desired sink behaviour regarding
15416 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15417 * win32/vs6/grammar.dsp:
15418 fix some bugs in Release mode for autogenerated files
15420 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15421 * win32/common/libgstbase.def:
15422 * win32/common/libgstreamer.def:
15423 export some new symbols: gst_base_src_set_format,
15424 gst_iterator_next, gst_structure_set_valist
15426 2006-01-29 Julien MOUTTE <julien@moutte.net>
15428 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15429 Set pad functions unconditionally. Fixes #329105.
15431 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15433 add vs8 project files created by Sergey Scobich
15435 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15437 * gst/gstutils.c: (gst_element_unlink_pads):
15438 Don't leak pad references.
15440 * tests/check/elements/fakesink.c: (GST_START_TEST):
15441 * tests/check/generic/sinks.c: (GST_START_TEST):
15442 * tests/check/generic/states.c: (GST_START_TEST):
15443 * tests/check/gst/gstbin.c: (GST_START_TEST):
15444 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15445 * tests/check/gst/gstelement.c: (GST_START_TEST):
15446 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15447 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15448 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15449 Fix a bunch of leaks. Make generic/sinks.c
15450 use a bit less cpu by slowing the buffer rate
15451 between fakesrc and fakesink.
15453 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15455 * gst/gstelement.c: (gst_element_send_event):
15458 * gst/gstiterator.c:
15459 * gst/gstiterator.h:
15460 * gst/gstpad.c: (gst_pad_send_event):
15461 * gst/gststructure.c:
15465 * libs/gst/base/gstadapter.c:
15466 doc fixes, to link to function, just write gst_cool_function(), don't
15469 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15471 * plugins/elements/gsttee.c: (gst_tee_do_push),
15472 (gst_tee_handle_buffer):
15473 Always prefer an actual return value from a src
15474 pad in place of NOT_LINKED. This means we return
15475 WRONG_STATE when all src pads are WRONG_STATE
15476 instead of NOT_LINKED.
15478 Lock when replacing the last message to prevent
15479 racing with the get_property method.
15483 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15485 * tests/check/Makefile.am:
15486 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15488 Add a very simple check that should have caught the memleak I fixed
15489 last night (if not for the slice allocator hiding it)
15491 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15493 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15494 (gst_bin_remove_func), (gst_bin_handle_message_func),
15495 (bin_query_duration_fold), (bin_query_generic_fold):
15496 Clean up references to the clock provider when disposed or when
15497 handling a clock-lost message from it.
15499 Unref sinks when performing a query via gst_iterator_fold, as the
15500 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15502 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15503 (gst_clock_set_master):
15504 Drop our reference to the master clock, if any, when we are disposed.
15506 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15507 Chain up in dispose.
15509 2006-01-26 Wim Taymans <wim@fluendo.com>
15511 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15512 Add some debugging.
15514 2006-01-26 Julien MOUTTE <julien@moutte.net>
15516 * plugins/elements/gsttee.c: (gst_tee_do_push),
15517 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15518 handles pad being NOT_LINKED or in WRONG_STATE.
15520 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15525 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15528 remove obsolete entry
15530 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15532 * docs/gst/gstreamer-sections.txt:
15533 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15534 (gst_bin_iterate_sources), (gst_bin_send_event):
15536 * gst/gstelement.c: (gst_element_send_event):
15538 * gst/gstpad.c: (gst_pad_send_event):
15539 added code for downstream events, reviewed docs in gstevent.c
15541 2006-01-25 Julien MOUTTE <julien@moutte.net>
15543 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15544 We only query position using the clock in the playing state.
15545 Query peer in the other cases.
15546 * win32/common/config.h: Updates.
15548 2006-01-24 Wim Taymans <wim@fluendo.com>
15550 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15551 A clock entry that is scheduled for the exact time of the
15552 clock is still in time.
15554 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15555 (gst_base_sink_do_sync):
15556 Add some more debug info.
15558 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15561 Add new vs7 project files and solution.
15563 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15566 all files removed as they were out-dated.
15568 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15570 * docs/random/release:
15572 * gst/gstbin.c: (gst_bin_init):
15573 * gst/gstbus.c: (gst_bus_new):
15575 * gst/gstpipeline.c: (gst_pipeline_init):
15576 use gst_bus_new(), improve logging, fix docs
15577 * win32/common/config.h:
15578 update for cvs build
15580 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15583 up required version of automake to 1.7
15585 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15587 * win32/common/libgstreamer.def:
15588 export gst_buffer_is_metadata_writable
15590 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15592 * docs/gst/gstreamer-sections.txt:
15594 Add gst_event_replace() (#327001)
15596 2006-01-20 Wim Taymans <wim@fluendo.com>
15598 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15599 Make it actually compile too..
15601 2006-01-20 Wim Taymans <wim@fluendo.com>
15604 Clarify behaviour of _is_equal() when passing NULL parameters.
15606 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15607 (gst_pad_set_caps):
15608 Cleanups. Don't unref NULL caps.
15609 When setting the same caps, protect caps of the pad with
15611 Use full functionality of _is_equal() when comparing caps.
15613 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15615 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15616 Don't loop infinitely if there are no buffers to present. Partially
15617 fixes #327197, but collectpads is just broken for reusing elements
15618 to do multiple encodes atm.
15620 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15622 * tools/gst-inspect.c: (print_element_features):
15623 * tools/gst-xmlinspect.c: (main):
15624 URL_HANDLER is not a plugin feature we can search for in
15627 2006-01-19 Edward Hervey <edward@fluendo.com>
15629 * gst/gstelement.c: (gst_element_pads_activate):
15630 When activating, do src pads first, then sink pads.
15631 When de-activating, do sink pads first, then src pads.
15633 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15635 * docs/gst/gstreamer-sections.txt:
15636 Add gst_index_add_associationv to the docs
15638 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15643 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15644 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15645 Do some refactoring. Doesn't actually change functionality,
15646 but makes landing the DRAIN event easier later.
15648 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15650 * docs/pwg/advanced-scheduling.xml:
15651 Update from 0.9.x to 0.10 API and make example a bit
15654 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15656 * docs/gst/gstreamer-sections.txt:
15657 Add gst_buffer_(is|make)_metadata_writable methods.
15659 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15661 * docs/design/part-sparsestreams.txt:
15662 Update sparse streams doc, hopefully for greater clarity
15664 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15666 * docs/design/part-events.txt:
15667 Remove mention of FILLER events.
15670 * docs/design/part-sparsestreams.txt:
15671 Write some things about using NEWSEGMENT to keep sparse streams
15674 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15676 * gst/gstbin.c: (gst_bin_dispose):
15677 Guard gst_object_unref call against a NULL object (dispose
15678 can theoretically be called multiple times).
15680 2006-01-18 Wim Taymans <wim@fluendo.com>
15682 * gst/gstbin.c: (gst_bin_element_set_state):
15683 * gst/gstclock.c: (gst_clock_id_wait):
15684 Added some more debug info.
15686 * libs/gst/base/gstadapter.c:
15689 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15690 (gst_base_sink_do_sync), (gst_base_sink_chain):
15691 Added some comments.
15693 2006-01-18 Wim Taymans <wim@fluendo.com>
15695 * tests/check/Makefile.am:
15696 * tests/check/elements/fakesink.c: (chain_async_buffer),
15697 (chain_async), (chain_async_return), (GST_START_TEST),
15698 (fakesink_suite), (main):
15699 Added fakesink test that checks prerolling and clipping
15702 * tests/check/gst/gstutils.c: (GST_START_TEST):
15703 Make check run faster so that buildbots don't timeout.
15705 2006-01-18 Wim Taymans <wim@fluendo.com>
15707 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15708 (gst_base_sink_do_sync):
15710 When the sink finishes blocking on the preroll buffer, it can
15711 immediatly render it instead of rendering when the next buffer
15714 2006-01-18 Wim Taymans <wim@fluendo.com>
15716 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15717 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15718 (gst_base_sink_chain):
15720 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15721 Don't store _last_stop if the buffer is dropped.
15723 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15725 * plugins/elements/gsttypefindelement.c:
15726 (gst_type_find_element_class_init):
15727 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15728 object method handler that sets the caps on the pad and we want
15729 that to happen before we emit the signal (fixes e.g. feeding a
15730 plain text file to decodebin).
15732 2006-01-18 Christian Schaller <Christian@fluendo.com>
15734 * gst/gstplugin.c: Add MPL and Proprietary as license options
15736 2006-01-18 Andy Wingo <wingo@pobox.com>
15738 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15739 symbol was exported before, it appears this was just an oversight.
15741 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15743 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15744 prototype to gint. OK since this prototype was not in the header.
15746 2006-01-17 Andy Wingo <wingo@pobox.com>
15748 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15749 registry while we remove plugins.
15751 * tools/gst-inspect.c (print_element_info): Don't unref the
15752 factory arg, that should be the responsibility of whatever code
15753 received the ref. Fixes a double-free when called from
15754 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15755 (main): Unref the factory if we have one.
15756 (print_element_list): No change -- relies on the
15757 plugin_feature_list_free to free the list of features.
15759 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15761 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15762 (gst_buffer_make_metadata_writable):
15764 * libs/gst/base/gstbasetransform.c:
15765 (gst_base_transform_prepare_output_buf):
15766 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15767 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15768 Replace gst_buffer_(make|is)_metadata_writable patch now
15769 that the release is out.
15771 2006-01-17 Andy Wingo <wingo@pobox.com>
15773 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15774 in the present tense without reference to versions.
15776 * gst/gstregistry.c (gst_registry_add_plugin)
15777 (gst_registry_remove_plugin, gst_registry_remove_feature)
15778 (gst_registry_find_feature, gst_registry_get_feature_list)
15779 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15780 (gst_registry_lookup, gst_registry_scan_path)
15781 (_gst_registry_remove_cache_plugins)
15782 (gst_registry_get_feature_list_by_plugin): Add argument
15785 === release 0.10.2 ===
15787 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15790 releasing 0.10.2, "If man is five"
15792 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15796 * libs/gst/base/gstbasetransform.c:
15797 (gst_base_transform_prepare_output_buf):
15798 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15799 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15800 Back out patch until after the release.
15802 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15804 * gst/gstminiobject.c:
15805 Spelling fix in docs.
15806 * ChangeLog - remove conflict indicator
15808 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15810 Reviewed By: Andy Wingo
15812 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15813 (gst_buffer_make_metadata_writable):
15815 Add gst_buffer_(is|make)_metadata_writable as analogues of
15816 gst_buffer_(is|make)_writable.
15818 * libs/gst/base/gstbasetransform.c:
15819 (gst_base_transform_prepare_output_buf):
15820 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15821 Use name gst_buffer_(is|make)_metadata_writable functions.
15823 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15824 Test gst_buffer_(is|make)_metadata_writable
15828 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15830 * docs/manual/Makefile.am:
15831 don't do parallel make
15834 * win32/common/config.h.in:
15835 add generations for HOST_CPU and GST_MAJORMINOR
15836 * win32/common/config.h:
15837 commit generated result
15839 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15841 * docs/manual/appendix-integration.xml:
15842 Update GNOME integration section to use gst_init_get_option_group()
15843 instead of the old popt stuff (#322911). Also, GNOME applications
15844 should now use gconf*sink and gconf*src instead of the old gconf
15847 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15850 * docs/gst/gstreamer-docs.sgml:
15851 * docs/gst/gstreamer-sections.txt:
15852 * docs/libs/gstreamer-libs-sections.txt:
15853 add new API entries to the docs
15854 * libs/gst/controller/Makefile.am:
15855 * libs/gst/controller/gstcontroller.c:
15856 * libs/gst/controller/gstcontroller.h:
15857 * libs/gst/controller/gstcontrollerprivate.h:
15858 * libs/gst/controller/gsthelper.c:
15859 * libs/gst/controller/gstinterpolation.c:
15860 move private structs to private header
15862 gstreamer-0.7 -> gstreamer-0.10
15863 * tests/check/libs/struct_i386.h:
15864 remove private structs
15866 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15868 * plugins/indexers/Makefile.am:
15869 Fixes as part of #317048
15871 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15873 * plugins/indexers/Makefile.am:
15874 fix #316086 - compilation when mmap is missing
15876 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15878 * libs/gst/base/gstbasesink.c:
15879 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15880 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15881 * win32/common/config.h:
15882 added some defines GST_MAJORMINOR and HOST_CPU
15883 * win32/common/libgstbase.def:
15884 * win32/common/libgstreamer.def:
15885 added some exported functions.
15887 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15889 * libs/gst/controller/gstcontroller.c:
15890 (gst_controlled_property_set_interpolation_mode),
15891 (gst_controlled_property_new):
15892 * libs/gst/controller/gstcontroller.h:
15893 * libs/gst/controller/gstinterpolation.c:
15894 (interpolate_none_get_string_value_array):
15895 make G_TYPE_STRING controlable
15897 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15900 * tools/gst-feedback.1.in:
15901 * tools/gst-inspect.1.in:
15902 * tools/gst-launch.1.in:
15903 * tools/gst-md5sum.1.in:
15904 * tools/gst-typefind.1.in:
15905 * tools/gst-xmlinspect.1.in:
15906 * tools/gst-xmllaunch.1.in:
15907 cleanup man-pages, remove reference to gst-register, document env-vars
15909 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15911 * gst/gstbuffer.c: (gst_buffer_span):
15912 gst_buffer_span should copy the timestamp of the first buffer
15913 if they were both originally overlapping subbuffers of the
15914 same parent, using the same logic as the 'slow copy' case.
15916 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15918 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15919 Need to awaken ALL the pads when we pop a buffer, otherwise
15920 collectpads only works when there is 2 input streams.
15922 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15924 * docs/random/ensonic/media-device-daemon.txt:
15927 fix doc example, add clarification
15928 * tools/gst-launch.1.in:
15929 add initial info about GST_PLUGIN_PATH, needs more work
15931 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15933 * docs/manual/basics-bins.xml:
15934 * docs/manual/basics-elements.xml:
15935 * docs/manual/intro-basics.xml:
15936 Some more minor docs additions and updates.
15938 2006-01-11 Wim Taymans <wim@fluendo.com>
15940 * docs/manual/basics-bins.xml:
15941 * docs/manual/basics-elements.xml:
15942 Some small fixes as pointed out by Ser-ver on IRC.
15944 2006-01-10 Edward Hervey <edward@fluendo.com>
15946 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15947 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15948 the single-segment mode.
15950 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15952 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15954 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15955 (gst_base_src_perform_seek), (gst_base_src_send_event),
15956 (gst_base_src_set_property), (gst_base_src_get_property),
15957 (gst_base_src_loop), (gst_base_src_start),
15958 (gst_base_src_activate_push):
15959 * libs/gst/base/gstbasesrc.h:
15960 Name (private) union; makes Sun's Forte compiler happy (#324900).
15962 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15965 gst-register is gone.
15967 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15969 * gst/gstvalue.c: (_gst_value_initialize):
15970 make the G_TYPE_DATE instantiation work if debug is disabled
15972 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
15974 * gst/gstmessage.c: (gst_message_parse_tag),
15975 (gst_message_parse_error), (gst_message_parse_warning):
15976 Don't crash when return location for error/warning debug
15977 string is NULL; add fact that return locations can be
15978 NULL to docs where appropriate.
15980 2006-01-05 Wim Taymans <wim@fluendo.com>
15982 * gst/gstplugin.c: (gst_plugin_load_file):
15983 Replace strdup by g_strdup.
15985 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15987 * docs/pwg/advanced-types.xml:
15990 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15992 submitted by: Abel Cheung
15996 Added Chinese (traditional) translation
15998 2006-01-04 Wim Taymans <wim@fluendo.com>
16000 * docs/manual/basics-pads.xml:
16001 * docs/plugins/Makefile.am:
16002 * docs/plugins/gstreamer-plugins-docs.sgml:
16003 * docs/plugins/gstreamer-plugins-sections.txt:
16004 * docs/pwg/advanced-clock.xml:
16005 * docs/pwg/advanced-scheduling.xml:
16006 * docs/pwg/advanced-types.xml:
16007 * plugins/elements/gstfdsink.c:
16008 * plugins/elements/gstfdsrc.c:
16009 * plugins/elements/gstfdsrc.h:
16010 * plugins/elements/gstidentity.c: (gst_identity_class_init):
16011 * plugins/elements/gstidentity.h:
16012 * plugins/elements/gstqueue.h:
16013 * plugins/elements/gsttee.c:
16014 * plugins/elements/gsttee.h:
16015 * plugins/elements/gsttypefindelement.c:
16016 (gst_type_find_element_class_init):
16017 * plugins/elements/gsttypefindelement.h:
16018 Small updates to various docs.
16019 Added core plugins to docs.
16021 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16024 add a suppression for liboil's uninitialized variable
16026 2006-01-02 James Livingston <jrl at ids dot org dot au>
16028 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
16031 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
16032 macro, so that gcc doesn't complain if the -Wmissing-prototypes
16033 compiler switch is being used (#325429).
16035 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
16037 * gst/gstbin.c: (gst_bin_query):
16038 Disable duration query caching in bins until it gets
16039 fixed (see #324807).
16041 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16043 * tools/gst-inspect.c: (print_element_properties_info):
16044 Handle properties of POINTER and BOXED type.
16046 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
16048 * gst/gst.c: (init_post):
16049 Init tags stuff and some other things before loading
16050 any static plugins (there may be other static plugins
16051 than just the GStreamer ones, and they may want to
16052 register their own tags or formats or whatever, and
16053 preferably without segfaulting).
16055 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
16056 Print at least a warning in the debug logs if we drop a
16057 query just because we don't know how to adjust the value
16058 in the particular format.
16060 2005-12-24 David Schleef <ds@schleef.org>
16062 * tools/gstreamer-completion:
16063 Replacement for gst-complete written in sh and sed. Only
16064 completes names of features, but that's 90% of what I want
16065 it for. Properties are not available in registry.xml. (Maybe
16068 === release 0.10.1 ===
16070 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
16073 releasing 0.10.1, "Nollaig chridheil"
16075 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
16077 * docs/faq/cvs.xml:
16078 Add missing quote, should be make ERROR_CFLAGS="".
16080 2005-12-20 Wim Taymans <wim@fluendo.com>
16082 * docs/design/part-trickmodes.txt:
16083 More documentation on trickmodes.
16085 2005-12-20 Edward Hervey <edward@fluendo.com>
16087 * gst/gstcaps.c: (gst_static_caps_get_type):
16089 API addition: GST_TYPE_STATIC_CAPS
16090 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16091 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16092 * gst/gstpadtemplate.h:
16093 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16094 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16097 2005-12-18 Wim Taymans <wim@fluendo.com>
16099 * libs/gst/base/gstadapter.c:
16100 * libs/gst/base/gstadapter.h:
16101 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16102 (gst_base_sink_get_position):
16103 * libs/gst/base/gstbasesink.h:
16104 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16105 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16106 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16107 (gst_base_src_send_event), (gst_base_src_update_length),
16108 (gst_base_src_get_range), (gst_base_src_loop),
16109 (gst_base_src_start):
16110 * libs/gst/base/gstbasesrc.h:
16111 * libs/gst/base/gstbasetransform.h:
16112 * libs/gst/base/gstcollectpads.h:
16113 * libs/gst/base/gstpushsrc.c:
16114 * libs/gst/base/gstpushsrc.h:
16115 * libs/gst/dataprotocol/dataprotocol.c:
16116 * libs/gst/dataprotocol/dataprotocol.h:
16117 * libs/gst/net/gstnetclientclock.h:
16118 * libs/gst/net/gstnettimeprovider.h:
16119 Documentation updates.
16121 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16123 * docs/manual/basics-helloworld.xml:
16124 Remove superfluous closing bracket in helloworld example.
16126 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16128 * tools/gst-launch.1.in:
16129 Update gst-launch man page; add a section with useful
16130 environment variables. Fixes #323882.
16132 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16135 * gst/gst_private.h:
16136 change some char* into char[]
16138 2005-12-16 Wim Taymans <wim@fluendo.com>
16140 * gst/gstregistryxml.c: (load_feature):
16142 Don't use g_object_unref on GstObjects so that we avoid
16143 leaks on unsafe glibs.
16145 2005-12-16 Wim Taymans <wim@fluendo.com>
16147 * gst/gstbin.c: (gst_bin_recalc_state):
16150 2005-12-16 Wim Taymans <wim@fluendo.com>
16152 * common/check.mak:
16153 Added make forever target for check.
16155 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16157 * gst/gst.c: (init_post):
16158 make the registry cache file HOST_CPU-dependent
16160 2005-12-16 Andy Wingo <wingo@pobox.com>
16162 * plugins/elements/gstbufferstore.c
16163 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16166 * tests/check/gst/gstobject.c
16167 (test_fake_object_name_threaded_unique): Pay attention to
16168 g_list_sort return value.
16170 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16172 * tools/gst-feedback-m.m:
16173 Update for 0.9/0.10 (fixes #323870).
16175 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16177 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16178 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16180 * tests/check/gst/gstminiobject.c: (my_foo_init),
16181 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16182 (test_value_collection), (gst_mini_object_suite):
16183 Add test to ensure refcounts end up as expected when passing
16184 GstMiniObjects through g_object_get() and g_object_set().
16186 2005-12-14 Julien MOUTTE <julien@moutte.net>
16188 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16189 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16190 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16191 of collectpads. This version removes a lot of races without
16192 touching API/ABI. Yay !
16194 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16196 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16197 Don't allow activation of a srcpad in pull_range if it has no
16199 Change some debug statements to be a little clearer
16201 * plugins/elements/gsttypefindelement.c:
16202 (gst_type_find_handle_src_query):
16203 Check that we have a peer before executing queries thereupon.
16205 * tests/examples/metadata/read-metadata.c: (message_loop):
16206 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16207 immediately return us any available message with 0 timeout.
16209 2005-12-12 Michael Smith <msmith@fluendo.com>
16211 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16212 Don't unref factories after calling them.
16213 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16214 * plugins/elements/gsttypefindelement.c:
16215 (gst_type_find_element_chain):
16216 Free lists of factories after using them. Fixing typefinding memory
16219 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16221 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16222 (gst_plugin_feature_load):
16223 more meaningful debug output
16225 * tests/Makefile.am:
16226 * tests/old/examples/Makefile.am:
16227 make make distcheck happy again
16229 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16231 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16232 Catch the special case where we are operating chain-based,
16233 but the downstream peer pad has no chain function. Emit a
16234 custom error message in this case instead of letting the
16235 core generate one implying that this is some sort of core
16236 bug. It's not, it just means that whatever got plugged
16237 into the pipeline downstream when we announced the type
16238 can only operate pull-based, while our source can only
16239 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16240 Error string has not been marked for translation yet, as
16241 it probably needs some more work first.
16243 (gst_type_find_element_get_best_possibility):
16244 Add helper function to find the best of all available
16245 found possibilities that qualify given the min. threshold.
16247 (gst_type_find_element_handle_event):
16248 Fix the case where we get an EOS while still in TYPEFIND
16249 mode (we want to chose the best of all possible types,
16250 not just the first type that happens to be in our unsorted
16251 list of possible types).
16253 (gst_type_find_element_chain):
16254 Make sure we return GST_FLOW_ERROR when we errored out
16255 in stop_typefinding(); also, don't just find the best of
16256 all found type entries and then use the last examined
16257 type entry, but actually use the best entry.
16259 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16261 * tests/examples/typefind/typefind.c: (type_found):
16262 * tests/examples/xml/runxml.c: (xml_loaded):
16263 More gcc4 fixes and a mem leak fix.
16265 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16267 * tests/examples/xml/createxml.c: (object_saved):
16270 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16272 * tests/Makefile.am:
16273 enable the examples even more
16275 2005-12-12 Andy Wingo <wingo@pobox.com>
16277 * libs/gst/net/gstnettimeprovider.c
16278 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16279 (gst_net_time_provider_set_property)
16280 (gst_net_time_provider_get_property):
16281 API addition: Export "active" as a GObject property.
16282 (gst_net_time_provider_thread): Only respond to time queries if
16283 the time provider is active.
16285 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16286 NetTimeProvider, preserving binary compat.
16288 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16290 * tests/examples/controller/audio-example.c: (main):
16291 * tests/examples/launch/Makefile.am:
16292 convert comments again
16294 2005-12-12 Wim Taymans <wim@fluendo.com>
16296 * libs/gst/base/gstpushsrc.c:
16299 2005-12-12 Wim Taymans <wim@fluendo.com>
16301 * docs/libs/gstreamer-libs-sections.txt:
16302 Added new symbol to docs.
16304 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16305 (gst_base_src_init), (gst_base_src_set_format),
16306 (gst_base_src_default_query), (gst_base_src_query),
16307 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16308 (gst_base_src_perform_seek), (gst_base_src_send_event),
16309 (gst_base_src_default_event), (gst_base_src_event_handler),
16310 (gst_base_src_set_property), (gst_base_src_get_property),
16311 (gst_base_src_wait), (gst_base_src_do_sync),
16312 (gst_base_src_update_length), (gst_base_src_get_range),
16313 (gst_base_src_check_get_range), (gst_base_src_loop),
16314 (gst_base_src_default_negotiate), (gst_base_src_start),
16315 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16316 (gst_base_src_change_state):
16317 * libs/gst/base/gstbasesrc.h:
16318 Implement seeking to other formats than _BYTES.
16319 Implement more seeking methods correctly.
16321 Added query vmethod.
16322 Added do_seek vmethod to make life easier for subclasses
16324 API addition: gst_base_src_set_format()
16326 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16328 * tests/examples/Makefile.am:
16331 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16334 * docs/random/ensonic/media-device-daemon.txt:
16335 * tests/examples/controller/.cvsignore:
16336 * tests/examples/controller/Makefile.am:
16337 * tests/examples/controller/audio-example.c: (main):
16338 * tests/examples/helloworld/.cvsignore:
16339 * tests/examples/helloworld/Makefile.am:
16340 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16341 * tests/examples/launch/.cvsignore:
16342 * tests/examples/launch/Makefile.am:
16343 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16344 * tests/examples/metadata/.cvsignore:
16345 * tests/examples/metadata/Makefile.am:
16346 * tests/examples/metadata/read-metadata.c: (message_loop),
16347 (make_pipeline), (print_tag), (main):
16348 * tests/examples/queue/.cvsignore:
16349 * tests/examples/queue/Makefile.am:
16350 * tests/examples/queue/queue.c: (event_loop), (main):
16351 * tests/examples/typefind/.cvsignore:
16352 * tests/examples/typefind/Makefile.am:
16353 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16355 * tests/examples/xml/.cvsignore:
16356 * tests/examples/xml/Makefile.am:
16357 * tests/examples/xml/createxml.c: (object_saved), (main):
16358 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16359 * tests/old/examples/Makefile.am:
16360 * tests/old/examples/TODO:
16361 * tests/old/examples/controller/.cvsignore:
16362 * tests/old/examples/controller/Makefile.am:
16363 * tests/old/examples/controller/audio-example.c:
16364 * tests/old/examples/helloworld/.cvsignore:
16365 * tests/old/examples/helloworld/Makefile.am:
16366 * tests/old/examples/helloworld/helloworld.c:
16367 * tests/old/examples/launch/.cvsignore:
16368 * tests/old/examples/launch/Makefile.am:
16369 * tests/old/examples/launch/mp3parselaunch.c:
16370 * tests/old/examples/launch/mp3play:
16371 * tests/old/examples/manual/Makefile.am:
16372 * tests/old/examples/metadata/Makefile.am:
16373 * tests/old/examples/metadata/read-metadata.c:
16374 * tests/old/examples/queue/.cvsignore:
16375 * tests/old/examples/queue/Makefile.am:
16376 * tests/old/examples/queue/queue.c:
16377 * tests/old/examples/typefind/.cvsignore:
16378 * tests/old/examples/typefind/Makefile.am:
16379 * tests/old/examples/typefind/typefind.c:
16380 * tests/old/examples/xml/.cvsignore:
16381 * tests/old/examples/xml/Makefile.am:
16382 * tests/old/examples/xml/createxml.c:
16383 * tests/old/examples/xml/runxml.c:
16384 applied some simple fixing to some examples
16385 re-enabled the working examples
16387 2005-12-12 Wim Taymans <wim@fluendo.com>
16389 * gst/gstsegment.c: (gst_segment_init),
16390 (gst_segment_set_last_stop), (gst_segment_set_seek),
16391 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16392 (gst_segment_to_running_time):
16393 Added more documentation.
16394 Make sure the last_pos value is updated properly.
16395 Make sure to_stream_time and to_running_time don't
16396 operate on wrong values.
16398 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16401 2005-12-12 Michael Smith <msmith@fluendo.com>
16403 * plugins/elements/gsttypefindelement.c: (free_entry),
16404 (gst_type_find_element_chain):
16405 Now that we're not leaking factories, make sure we keep references
16406 to them while we need them.
16408 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16410 * tests/check/gst/struct_i386.h:
16411 ifdef out the XML structs
16413 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16415 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16416 floor is not needed, F is always positive; this obviates the
16417 need for adding -lm when building without libxml
16419 2005-12-12 Wim Taymans <wim@fluendo.com>
16421 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16422 Take current playback rate into account when reporting
16425 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16427 * docs/manual/mime-world.fig:
16428 Let's try this again, this time with a file that is
16429 actually in XFig format.
16431 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16433 * docs/manual/mime-world.fig:
16434 Add audioconvert element to diagram so that it
16435 matches the text and the code (fixes #319526).
16437 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16439 * docs/pwg/building-chainfn.xml:
16440 * docs/pwg/building-pads.xml:
16441 * docs/pwg/building-state.xml:
16442 * docs/pwg/other-source.xml:
16443 Update state change stuff for 0.10 (fixes #322969).
16445 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16447 * docs/manual/advanced-dataaccess.xml:
16448 * docs/manual/appendix-checklist.xml:
16449 * docs/manual/appendix-programs.xml:
16450 * docs/manual/basics-pads.xml:
16451 * docs/manual/highlevel-components.xml:
16452 * docs/manual/manual.xml:
16453 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16454 add converters in front of pipelines; remove curly
16455 brackets for threads stuff, they no longer exist; use
16456 GST_TYPE_FRACTION for framerates; update some pieces of
16457 code to 0.10, but there's plenty more to do.
16459 * docs/manual/appendix-porting.xml:
16460 Expand on asynchroneous state changes; s/0.9/0.10/;
16461 mention disappearance of gst_init_get_popt_table()
16464 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16466 * docs/faq/using.xml:
16467 Spider no longer exists, and neither does gst-launch-ext.
16468 Update examples to use decodebin and playbin and put
16469 converters in front of sinks (fixes #323726).
16471 2005-12-09 Michael Smith <msmith@fluendo.com>
16473 * plugins/elements/gsttypefindelement.c: (find_peek),
16474 (gst_type_find_element_chain):
16475 Fix leaking element factories in typefinding.
16476 Fix problem where we forgot about a probable type on non-seekable
16477 files, and thus later mis-typefound it.
16479 2005-12-09 Michael Smith <msmith@fluendo.com>
16481 * common/m4/gst-makecontext.m4:
16482 * common/m4/gst-mcsc.m4:
16484 * win32/common/config.h:
16485 * win32/common/config.h.in:
16486 Remove makecontext stuff; not used in 0.10 and causes problems on
16487 HPUX according to bug #322441
16489 2005-12-07 Wim Taymans <wim@fluendo.com>
16491 * tests/check/Makefile.am:
16492 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16494 * tests/check/libs/struct_i386.h:
16495 Added ABI check for libs
16497 2005-12-07 Wim Taymans <wim@fluendo.com>
16499 * tests/check/Makefile.am:
16500 And add the struct_i386.h to dist.
16502 2005-12-07 Wim Taymans <wim@fluendo.com>
16504 * tests/check/Makefile.am:
16505 * tests/check/gst/.cvsignore:
16506 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16508 * tests/check/gst/struct_i386.h:
16509 Added check for ABI compatibility.
16511 2005-12-07 Wim Taymans <wim@fluendo.com>
16513 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16514 (gst_fake_src_get_times), (gst_fake_src_create):
16515 Fix broken sync option, fixes #323259
16517 2005-12-07 Wim Taymans <wim@fluendo.com>
16522 * gst/gstcaps.c: (gst_caps_is_equal):
16523 Don't assert on NULL <--> X. Fixes #323260
16525 * gst/gstminiobject.c: (gst_mini_object_replace):
16526 If we're doing atomic operations, we might just as well use
16527 the proper way to get an atomic pointer.
16529 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16530 Clean up debugging.
16532 2005-12-07 Michael Smith <msmith@fluendo.com>
16534 * gst/parse/grammar.y:
16535 Remove handling of { } for threads.
16537 2005-12-06 David Schleef <ds@schleef.org>
16539 * libs/gst/base/gstbasetransform.c: speling fix.
16541 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16543 * docs/libs/tmpl/gstdataprotocol.sgml:
16544 * docs/random/omega/testing/gstobject.c:
16547 * gst/gstelement.c:
16548 * gst/gstelementfactory.c:
16551 * gst/gstghostpad.c:
16553 * gst/gstpadtemplate.c:
16554 * gst/gstregistryxml.c:
16555 * gst/gsttaglist.c:
16556 * gst/gsttagsetter.c:
16557 * gst/gsttypefind.c:
16559 * libs/gst/base/gstbasesrc.c:
16560 * libs/gst/net/gstnetclientclock.c:
16561 * libs/gst/net/gstnettimeprovider.c:
16562 * plugins/elements/gstfakesrc.c:
16563 * plugins/elements/gstfdsrc.c:
16564 * plugins/elements/gstfilesrc.c:
16565 * plugins/elements/gstidentity.c:
16566 * plugins/elements/gstqueue.c:
16567 * plugins/elements/gsttypefindelement.c:
16568 * plugins/indexers/gstfileindex.c:
16569 * plugins/indexers/gstmemindex.c:
16570 * tests/check/gst/gsttag.c:
16571 * tests/old/examples/cutter/cutter.c:
16572 * tests/old/examples/mixer/mixer.c:
16573 * tests/old/examples/xml/runxml.c: (main):
16574 * tests/old/testsuite/caps/normalisation.c:
16575 * tests/old/testsuite/debug/global.c:
16576 * tests/old/testsuite/parse/parse1.c:
16577 * tools/gst-xmlinspect.c:
16578 * win32/common/dirent.c:
16581 === release 0.10.0 ===
16583 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16586 releasing 0.10.0, "Maroilles"
16588 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16590 submitted by: Funda Wang <fundawang@linux.net.cn>
16594 added Chinese (Traditional) translation
16596 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16598 * docs/gst/gstreamer-sections.txt:
16599 * docs/libs/tmpl/gstdataprotocol.sgml:
16600 * docs/random/thomasvs/TODO:
16605 2005-12-05 Andy Wingo <wingo@pobox.com>
16607 patch by: Wim Taymans <wim@fluendo.com>
16609 * libs/gst/base/gstbasetransform.c
16610 (gst_base_transform_prepare_output_buf)
16611 (gst_base_transform_buffer_alloc):
16612 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16613 alloc_buffer_and_set_caps.
16615 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16616 set_caps on the source pad.
16617 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16618 alloc_buffer used to do. Fixes #322874.
16620 * docs/gst/gstreamer-sections.txt:
16621 * docs/design/part-negotiation.txt:
16622 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16625 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16627 patch by: Sebastien Moutte
16630 * win32/common/config.h.in:
16631 * win32/vs6/libgstcontroller.dsp:
16634 2005-12-05 Wim Taymans <wim@fluendo.com>
16636 * gst/gstcaps.c: (gst_caps_is_equal):
16637 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16638 (gst_fake_src_create):
16639 Back out previous code changes, leave doc updates, file bugs
16642 2005-12-05 Wim Taymans <wim@fluendo.com>
16644 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16645 (gst_fake_src_get_times), (gst_fake_src_create):
16646 * plugins/elements/gstfakesrc.h:
16647 Fix broken sync code.
16649 2005-12-05 Wim Taymans <wim@fluendo.com>
16651 * gst/gstcaps.c: (gst_caps_is_equal):
16652 Comparing NULL against !NULL yields different caps, not a
16655 2005-12-05 Wim Taymans <wim@fluendo.com>
16657 * gst/gstpipeline.c:
16658 Fix small typo in docs.
16660 2005-12-05 Andy Wingo <wingo@pobox.com>
16662 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16664 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16665 registries/plugins with a MAJORMINOR one.
16666 (plugin_desc): Rename library from gstcoreleements to
16667 staticelements. Fixes #323222.
16669 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16671 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16672 Change debug category to 'collectpads' from 'collect_pads'
16675 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16677 patch by: Sebastien Moutte
16679 * libs/gst/controller/gstinterpolation.c:
16680 use convert function for uint64/double
16681 * win32/vs6/libgstcontroller.dsp:
16684 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16686 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16687 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16689 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16690 add tests that seem to show that the guint64/gdouble conversions
16693 2005-12-02 Wim Taymans <wim@fluendo.com>
16695 * gst/gstregistry.c: (gst_registry_add_path):
16696 * gst/gstregistry.h:
16697 * gst/gstregistryxml.c:
16700 2005-12-02 Wim Taymans <wim@fluendo.com>
16702 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16703 (gst_util_uint64_scale_int):
16706 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16707 Add debug log line.
16709 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16712 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16715 * win32/common/config.h:
16716 * win32/vs6/gstreamer.dsw:
16717 * win32/vs6/libgstcoreelements.dsp:
16718 * win32/vs6/libgstelements.dsp:
16719 renamed core elements plugin
16721 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16723 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16725 do piece-wise major/minor comparison so 0.9 < 0.10
16726 also allow .exe extensions for tools
16728 2005-12-02 Michael Smith <msmith@fluendo.com>
16731 Escape a % to make gtkdoc happier; bug 322958.
16733 === release 0.9.7 ===
16735 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16738 releasing 0.9.7, "My Dog Has No Nose"
16740 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16742 * common/gst-xmlinspect.py:
16744 * docs/libs/tmpl/gstdataprotocol.sgml:
16745 * docs/random/release:
16764 * win32/common/config.h:
16765 * win32/common/config.h.in:
16766 * win32/vs6/gst_inspect.dsp:
16767 * win32/vs6/gst_launch.dsp:
16768 * win32/vs6/libgstbase.dsp:
16769 * win32/vs6/libgstelements.dsp:
16770 * win32/vs6/libgstreamer.dsp:
16771 * win32/vs7/GStreamer.vcproj:
16772 * win32/vs7/gst-inspect.vcproj:
16773 * win32/vs7/gst-launch.vcproj:
16774 * win32/vs7/libgstbase.vcproj:
16775 bump GST_MAJORMINOR to 0.10
16776 reset libtool version
16778 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16782 Added Bulgarian translation by (Alexander Shopov)
16784 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16786 * tests/check/gst/gstplugin.c:
16789 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16791 * common/gst-xmlinspect.py:
16792 * common/gtk-doc-plugins.mak:
16794 * docs/Makefile.am:
16795 * docs/gst/Makefile.am:
16796 * docs/gst/gstreamer-docs.sgml:
16797 * docs/gst/gstreamer-sections.txt:
16798 * docs/gst/gstreamer.types:
16799 * docs/gst/gstreamer.types.in:
16800 * docs/plugins/Makefile.am:
16801 * docs/plugins/gstreamer-plugins-docs.sgml:
16802 * docs/plugins/gstreamer-plugins-sections.txt:
16803 * docs/plugins/gstreamer-plugins.types:
16804 * docs/plugins/inspect.stamp:
16805 * docs/plugins/inspect/plugin-coreelements.xml:
16806 * docs/plugins/inspect/plugin-coreindexers.xml:
16807 * docs/plugins/scanobj-build.stamp:
16808 * gstreamer.spec.in:
16809 * plugins/elements/Makefile.am:
16810 * plugins/elements/gstelements.c:
16811 * plugins/elements/gstfakesink.c:
16812 * plugins/elements/gstfakesrc.c:
16813 * plugins/elements/gstfilesink.c:
16814 * plugins/elements/gstfilesrc.c:
16815 * plugins/elements/gstqueue.c:
16816 * plugins/indexers/Makefile.am:
16817 * plugins/indexers/gstindexers.c:
16818 document core plugins in a separate document just like all the
16820 rename these plugins to something starting with core
16822 2005-12-01 Andy Wingo <wingo@pobox.com>
16824 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16825 padding here before, but it missed the commit.
16827 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16829 * libs/gst/controller/gstinterpolation.c:
16830 whitespace prices have crashed, we should feel free to use some now
16831 use gst_guint64_to_gdouble
16833 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16835 * libs/gst/controller/gstcontroller.c:
16836 * libs/gst/controller/gsthelper.c:
16837 * libs/gst/controller/gstinterpolation.c:
16838 * libs/gst/controller/lib.c:
16839 wrap config.h include
16841 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16843 * docs/gst/gstreamer-sections.txt:
16846 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16848 * plugins/elements/gstelements.c:
16849 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16850 (gst_fd_sink__class_init), (gst_fd_sink__init),
16851 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16852 (gst_fd_sink__get_property):
16853 * plugins/elements/gstfdsink.h:
16854 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16855 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16856 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16857 (gst_fd_src_unlock), (gst_fd_src_set_property),
16858 (gst_fd_src_get_property), (gst_fd_src_create),
16859 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16860 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16861 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16862 (gst_fd_src_uri_handler_init):
16863 * plugins/elements/gstfdsrc.h:
16864 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16867 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16869 * docs/gst/Makefile.am:
16870 * docs/gst/gstreamer.types.in:
16874 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16880 * gst/gstregistry.h:
16881 * tests/benchmarks/complexity.c:
16882 * tests/benchmarks/mass-elements.c:
16883 * tests/check/Makefile.am:
16884 * tools/Makefile.am:
16885 * tools/gst-inspect.c:
16886 * tools/gst-xmlinspect.c:
16887 various fixes to make
16888 --disable-nls --disable-registry --disable-loadsave
16889 --disable-parse --disable-gst-debug
16890 work and get the core .so down to 360444 bytes after stripping
16892 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16897 * docs/random/thomasvs/TODO:
16898 * tests/Makefile.am:
16902 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16904 * win32/GStreamer.vcproj:
16907 * win32/Makefile.inspect:
16908 * win32/Makefile.launch:
16909 * win32/Makefile.register:
16910 * win32/README.txt:
16911 * win32/gst-inspect.vcproj:
16912 * win32/gst-launch.vcproj:
16913 * win32/gst-register.vcproj:
16914 * win32/gstelements.vcproj:
16915 * win32/gstgetbits.def:
16916 * win32/gstgetbits.vcproj:
16917 * win32/gstreamer-dbg.def:
16918 * win32/gstreamer.def:
16919 * win32/libgstbase.def:
16920 * win32/libgstbase.vcproj:
16921 * win32/link_oldruntime.c:
16925 * win32/msvc71.sln:
16926 move even more stuff, win32/ is nice and clean now
16928 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16930 * libs/gst/control/.cvsignore:
16935 * win32/gstbytestream.def:
16936 * win32/gstbytestream.vcproj:
16937 * win32/gstconfig.h:
16938 * win32/gstenumtypes.c:
16939 * win32/gstenumtypes.h:
16940 * win32/gstoptimalscheduler.vcproj:
16941 * win32/gstversion.h:
16943 * win32/testsuite/bins.vcproj:
16944 * win32/testsuite/bytestream.vcproj:
16945 * win32/testsuite/caps.vcproj:
16946 * win32/testsuite/cleanup.vcproj:
16947 * win32/testsuite/clock.vcproj:
16948 * win32/testsuite/debug.vcproj:
16949 * win32/testsuite/dlopen.vcproj:
16950 * win32/testsuite/dynparams.vcproj:
16951 * win32/testsuite/elements.vcproj:
16952 * win32/testsuite/ghostpads.vcproj:
16953 * win32/testsuite/indexers.vcproj:
16954 * win32/testsuite/negotiation.vcproj:
16955 * win32/testsuite/parse.vcproj:
16956 * win32/testsuite/plugin.vcproj:
16957 * win32/testsuite/refcounting.vcproj:
16958 * win32/testsuite/schedulers.vcproj:
16959 * win32/testsuite/states.vcproj:
16960 * win32/testsuite/tags.vcproj:
16961 * win32/testsuite/threads.vcproj:
16962 remove old win32 stuff that isn't maintained and should be
16965 2005-11-30 Andy Wingo <wingo@pobox.com>
16967 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16968 loading the gst.interfaces python module bork.
16970 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16971 available since GLib 2.2. Fixes #318031.
16973 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16976 * check/.cvsignore:
16977 * check/Makefile.am:
16978 * check/elements/.cvsignore:
16979 * check/elements/fakesrc.c:
16980 * check/elements/fdsrc.c:
16981 * check/elements/identity.c:
16982 * check/generic/.cvsignore:
16983 * check/generic/states.c:
16984 * check/gst-libs/.cvsignore:
16985 * check/gst-libs/controller.c:
16986 * check/gst-libs/gdp.c:
16987 * check/gst/.cvsignore:
16988 * check/gst/capslist.h:
16990 * check/gst/gstbin.c:
16991 * check/gst/gstbuffer.c:
16992 * check/gst/gstbus.c:
16993 * check/gst/gstcaps.c:
16994 * check/gst/gstelement.c:
16995 * check/gst/gstevent.c:
16996 * check/gst/gstghostpad.c:
16997 * check/gst/gstiterator.c:
16998 * check/gst/gstmessage.c:
16999 * check/gst/gstminiobject.c:
17000 * check/gst/gstobject.c:
17001 * check/gst/gstpad.c:
17002 * check/gst/gstpipeline.c:
17003 * check/gst/gstplugin.c:
17004 * check/gst/gstsegment.c:
17005 * check/gst/gststructure.c:
17006 * check/gst/gstsystemclock.c:
17007 * check/gst/gsttag.c:
17008 * check/gst/gstutils.c:
17009 * check/gst/gstvalue.c:
17010 * check/net/.cvsignore:
17011 * check/net/gstnetclientclock.c:
17012 * check/net/gstnettimeprovider.c:
17013 * check/pipelines/.cvsignore:
17014 * check/pipelines/cleanup.c:
17015 * check/pipelines/simple_launch_lines.c:
17016 * check/pipelines/stress.c:
17017 * check/states/.cvsignore:
17018 * check/states/sinks.c:
17020 * examples/Makefile.am:
17021 * examples/appreader/.cvsignore:
17022 * examples/appreader/Makefile.am:
17023 * examples/appreader/appreader.c:
17024 * examples/controller/.cvsignore:
17025 * examples/controller/Makefile.am:
17026 * examples/controller/audio-example.c:
17027 * examples/cutter/.cvsignore:
17028 * examples/cutter/Makefile.am:
17029 * examples/cutter/cutter.c:
17030 * examples/cutter/cutter.h:
17031 * examples/events/Makefile.am:
17032 * examples/events/seek.c:
17033 * examples/helloworld/.cvsignore:
17034 * examples/helloworld/Makefile.am:
17035 * examples/helloworld/helloworld.c:
17036 * examples/helloworld2/.cvsignore:
17037 * examples/helloworld2/Makefile.am:
17038 * examples/helloworld2/helloworld2.c:
17039 * examples/launch/.cvsignore:
17040 * examples/launch/Makefile.am:
17041 * examples/launch/mp3parselaunch.c:
17042 * examples/launch/mp3play:
17043 * examples/manual/.cvsignore:
17044 * examples/manual/Makefile.am:
17045 * examples/manual/extract.pl:
17046 * examples/metadata/Makefile.am:
17047 * examples/metadata/read-metadata.c:
17048 * examples/mixer/.cvsignore:
17049 * examples/mixer/Makefile.am:
17050 * examples/mixer/mixer.c:
17051 * examples/mixer/mixer.h:
17052 * examples/pingpong/.cvsignore:
17053 * examples/pingpong/Makefile.am:
17054 * examples/pingpong/pingpong.c:
17055 * examples/plugins/.cvsignore:
17056 * examples/plugins/Makefile.am:
17057 * examples/plugins/example.c:
17058 * examples/plugins/example.h:
17059 * examples/pwg/.cvsignore:
17060 * examples/pwg/Makefile.am:
17061 * examples/pwg/extract.pl:
17062 * examples/queue/.cvsignore:
17063 * examples/queue/Makefile.am:
17064 * examples/queue/queue.c:
17065 * examples/queue2/.cvsignore:
17066 * examples/queue2/Makefile.am:
17067 * examples/queue2/queue2.c:
17068 * examples/queue3/.cvsignore:
17069 * examples/queue3/Makefile.am:
17070 * examples/queue3/queue3.c:
17071 * examples/queue4/.cvsignore:
17072 * examples/queue4/Makefile.am:
17073 * examples/queue4/queue4.c:
17074 * examples/retag/.cvsignore:
17075 * examples/retag/Makefile.am:
17076 * examples/retag/retag.c:
17077 * examples/retag/transcode.c:
17078 * examples/thread/.cvsignore:
17079 * examples/thread/Makefile.am:
17080 * examples/thread/thread.c:
17081 * examples/typefind/.cvsignore:
17082 * examples/typefind/Makefile.am:
17083 * examples/typefind/typefind.c:
17084 * examples/xml/.cvsignore:
17085 * examples/xml/Makefile.am:
17086 * examples/xml/createxml.c:
17087 * examples/xml/runxml.c:
17088 * tests/Makefile.am:
17089 * tests/check/Makefile.am:
17090 * testsuite/.cvsignore:
17091 * testsuite/Makefile.am:
17093 * testsuite/caps/.cvsignore:
17094 * testsuite/caps/Makefile.am:
17095 * testsuite/caps/app_fixate.c:
17096 * testsuite/caps/audioscale.c:
17097 * testsuite/caps/caps.c:
17098 * testsuite/caps/caps.h:
17099 * testsuite/caps/caps_strings:
17100 * testsuite/caps/compatibility.c:
17101 * testsuite/caps/deserialize.c:
17102 * testsuite/caps/enumcaps.c:
17103 * testsuite/caps/eratosthenes.c:
17104 * testsuite/caps/filtercaps.c:
17105 * testsuite/caps/fixed.c:
17106 * testsuite/caps/fraction-convert.c:
17107 * testsuite/caps/fraction-multiply-and-zero.c:
17108 * testsuite/caps/intersect2.c:
17109 * testsuite/caps/intersection.c:
17110 * testsuite/caps/normalisation.c:
17111 * testsuite/caps/random.c:
17112 * testsuite/caps/renegotiate.c:
17113 * testsuite/caps/sets.c:
17114 * testsuite/caps/simplify.c:
17115 * testsuite/caps/string-conversions.c:
17116 * testsuite/caps/structure.c:
17117 * testsuite/caps/subtract.c:
17118 * testsuite/caps/union.c:
17119 * testsuite/debug/.cvsignore:
17120 * testsuite/debug/Makefile.am:
17121 * testsuite/debug/category.c:
17122 * testsuite/debug/commandline.c:
17123 * testsuite/debug/global.c:
17124 * testsuite/debug/output.c:
17125 * testsuite/debug/printf_extension.c:
17126 * testsuite/dlopen/.cvsignore:
17127 * testsuite/dlopen/Makefile.am:
17128 * testsuite/dlopen/dlopen_gst.c:
17129 * testsuite/dlopen/loadgst.c:
17130 * testsuite/elements/.cvsignore:
17131 * testsuite/elements/Makefile.am:
17132 * testsuite/elements/gst-inspect-check.in:
17133 * testsuite/elements/struct_i386.h:
17134 * testsuite/elements/struct_size.c:
17135 * testsuite/indexers/.cvsignore:
17136 * testsuite/indexers/Makefile.am:
17137 * testsuite/indexers/cache1.c:
17138 * testsuite/indexers/indexdump.c:
17139 * testsuite/parse/.cvsignore:
17140 * testsuite/parse/Makefile.am:
17141 * testsuite/parse/parse1.c:
17142 * testsuite/parse/parse2.c:
17143 * testsuite/plugin/.cvsignore:
17144 * testsuite/plugin/Makefile.am:
17145 * testsuite/plugin/README:
17146 * testsuite/plugin/dynamic.c:
17147 * testsuite/plugin/linked.c:
17148 * testsuite/plugin/loading.c:
17149 * testsuite/plugin/registry.c:
17150 * testsuite/plugin/static.c:
17151 * testsuite/plugin/static2.c:
17152 * testsuite/plugin/testplugin.c:
17153 * testsuite/plugin/testplugin2.c:
17154 * testsuite/plugin/testplugin2_s.c:
17155 * testsuite/plugin/testplugin_s.c:
17156 * testsuite/refcounting/.cvsignore:
17157 * testsuite/refcounting/Makefile.am:
17158 * testsuite/refcounting/bin.c:
17159 * testsuite/refcounting/element.c:
17160 * testsuite/refcounting/element_pad.c:
17161 * testsuite/refcounting/mainloop.c:
17162 * testsuite/refcounting/mem.c:
17163 * testsuite/refcounting/mem.h:
17164 * testsuite/refcounting/object.c:
17165 * testsuite/refcounting/pad.c:
17166 * testsuite/refcounting/sched.c:
17167 * testsuite/refcounting/thread.c:
17168 * testsuite/states/.cvsignore:
17169 * testsuite/states/Makefile.am:
17170 * testsuite/states/bin.c:
17171 * testsuite/states/locked.c:
17172 * testsuite/states/parent.c:
17173 * testsuite/threads/.cvsignore:
17174 * testsuite/threads/159566.c:
17175 * testsuite/threads/159852.c:
17176 * testsuite/threads/Makefile.am:
17177 * testsuite/threads/queue.c:
17178 * testsuite/threads/signals.c:
17179 * testsuite/threads/staticrec.c:
17180 * testsuite/threads/thread.c:
17181 * testsuite/threads/threadb.c:
17182 * testsuite/threads/threadc.c:
17183 * testsuite/threads/threadd.c:
17184 * testsuite/threads/threade.c:
17185 * testsuite/threads/threadf.c:
17186 * testsuite/threads/threadg.c:
17187 * testsuite/threads/threadh.c:
17188 * testsuite/threads/threadi.c:
17189 move all of these under tests
17191 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17194 * tests/Makefile.am:
17197 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17199 * docs/gst/gstreamer-sections.txt:
17200 * tests/sched/.cvsignore:
17201 * tests/sched/Makefile.am:
17202 * tests/sched/cases/(fs-fs).xml:
17203 * tests/sched/cases/(fs-i-fs).xml:
17204 * tests/sched/cases/(fs-i-i-fs).xml:
17205 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17206 * tests/sched/dynamic-pipeline.c:
17207 * tests/sched/interrupt1.c:
17208 * tests/sched/interrupt2.c:
17209 * tests/sched/interrupt3.c:
17210 * tests/sched/runtestcases:
17211 * tests/sched/runxml.c:
17212 * tests/sched/sched-stress.c:
17213 * tests/sched/sort.c:
17214 * tests/sched/testcases:
17215 * tests/sched/testcases1.tc:
17216 * tests/seeking/.cvsignore:
17217 * tests/seeking/Makefile.am:
17218 * tests/seeking/seeking1.c:
17219 * tests/threadstate/.cvsignore:
17220 * tests/threadstate/Makefile.am:
17221 * tests/threadstate/test1.c:
17222 * tests/threadstate/test2.c:
17223 * tests/threadstate/threadstate1.c:
17224 * tests/threadstate/threadstate2.c:
17225 * tests/threadstate/threadstate3.c:
17226 * tests/threadstate/threadstate4.c:
17227 * tests/threadstate/threadstate5.c:
17228 remove obsolete tests
17230 * tests/bench-complexity.scm:
17231 * tests/bench-mass_elements.scm:
17232 * tests/complexity.c:
17233 * tests/complexity.gnuplot:
17234 * tests/instantiate/.cvsignore:
17235 * tests/instantiate/Makefile.am:
17236 * tests/instantiate/caps.c:
17237 * tests/mass_elements.c:
17238 * tests/network-clock-utils.scm:
17239 * tests/network-clock.scm:
17241 First pass at cleaning up tests/ dir before moving the rest
17242 Combined with CVS surgery
17244 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17247 queue has moved, update
17249 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17251 * docs/gst/gstreamer-sections.txt:
17252 remove double entries from the docs
17253 * gst/gst_private.h:
17254 * gst/gstinfo.c: (_gst_debug_init):
17255 remove the THREAD debug category
17259 * docs/gst/gstreamer.types:
17260 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17261 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17262 completely move queue and fix up debugging categories
17264 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17266 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17267 make initialization portable, using LL is not
17269 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17271 * win32/common/gstconfig.h:
17274 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17276 * win32/common/libgstreamer.def:
17277 rename symbols; sort base section
17279 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17281 * gst/gstclock.c: (do_linear_regression):
17282 remove crack non-portable handrolled DEBUG macro
17284 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17286 * docs/random/release:
17288 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17289 (gst_object_flags_get_type), (register_gst_bin_flags),
17290 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17291 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17292 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17293 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17294 (gst_caps_flags_get_type), (register_gst_clock_return),
17295 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17296 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17297 (gst_clock_flags_get_type), (register_gst_state),
17298 (gst_state_get_type), (register_gst_state_change_return),
17299 (gst_state_change_return_get_type), (register_gst_state_change),
17300 (gst_state_change_get_type), (register_gst_element_flags),
17301 (gst_element_flags_get_type), (register_gst_core_error),
17302 (gst_core_error_get_type), (register_gst_library_error),
17303 (gst_library_error_get_type), (register_gst_resource_error),
17304 (gst_resource_error_get_type), (register_gst_stream_error),
17305 (gst_stream_error_get_type), (register_gst_event_type_flags),
17306 (gst_event_type_flags_get_type), (register_gst_event_type),
17307 (gst_event_type_get_type), (register_gst_seek_type),
17308 (gst_seek_type_get_type), (register_gst_seek_flags),
17309 (gst_seek_flags_get_type), (register_gst_format),
17310 (gst_format_get_type), (register_gst_index_certainty),
17311 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17312 (gst_index_entry_type_get_type),
17313 (register_gst_index_lookup_method),
17314 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17315 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17316 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17317 (gst_index_flags_get_type), (register_gst_debug_level),
17318 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17319 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17320 (gst_iterator_result_get_type), (register_gst_iterator_item),
17321 (gst_iterator_item_get_type), (register_gst_message_type),
17322 (gst_message_type_get_type), (register_gst_mini_object_flags),
17323 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17324 (gst_pad_link_return_get_type), (register_gst_flow_return),
17325 (gst_flow_return_get_type), (register_gst_activate_mode),
17326 (gst_activate_mode_get_type), (register_gst_pad_direction),
17327 (gst_pad_direction_get_type), (register_gst_pad_flags),
17328 (gst_pad_flags_get_type), (register_gst_pad_presence),
17329 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17330 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17331 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17332 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17333 (gst_plugin_flags_get_type), (register_gst_rank),
17334 (gst_rank_get_type), (register_gst_query_type),
17335 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17336 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17337 (gst_tag_flag_get_type), (register_gst_task_state),
17338 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17339 (gst_alloc_trace_flags_get_type),
17340 (register_gst_type_find_probability),
17341 (gst_type_find_probability_get_type), (register_gst_uri_type),
17342 (gst_uri_type_get_type), (register_gst_parse_error),
17343 (gst_parse_error_get_type):
17344 * win32/common/gstenumtypes.h:
17345 * win32/common/gstversion.h:
17346 update visual studio generated files
17348 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17350 * win32/vs6/libgstbase.dsp:
17351 * win32/vs6/libgstelements.dsp:
17352 update project files for new locations
17354 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17359 reinstate and update
17364 * docs/random/LICENSE:
17367 2005-11-30 Edward Hervey <edward@fluendo.com>
17369 * gst/gsttypefind.c: (gst_type_find_register):
17370 * gst/gsttypefind.h:
17371 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17372 (gst_type_find_factory_dispose):
17373 * gst/gsttypefindfactory.h:
17374 Fix memory leak in GstTypeFindFactory.
17376 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17379 * plugins/elements/Makefile.am:
17380 * plugins/elements/gstelements.c:
17381 * plugins/elements/gstqueue.c:
17382 move queue from core to the elements plugin
17384 2005-11-29 Andy Wingo <wingo@pobox.com>
17386 * libs/gst/base/gstbasetransform.h:
17387 * libs/gst/base/gstbasesrc.h:
17388 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17390 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17391 of pointers by which to pad very extensible base classes (like the
17392 ones in libs/gst/base).
17394 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17396 * docs/gst/gstreamer-docs.sgml:
17397 * docs/gst/gstreamer-sections.txt:
17398 * docs/libs/gstreamer-libs-docs.sgml:
17399 * docs/libs/gstreamer-libs-sections.txt:
17400 moving documentation from core to lib
17402 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17404 * check/Makefile.am:
17406 * docs/gst/Makefile.am:
17408 * gst/base/.cvsignore:
17409 * gst/base/Makefile.am:
17411 * gst/base/gstadapter.c:
17412 * gst/base/gstadapter.h:
17413 * gst/base/gstbasesink.c:
17414 * gst/base/gstbasesink.h:
17415 * gst/base/gstbasesrc.c:
17416 * gst/base/gstbasesrc.h:
17417 * gst/base/gstbasetransform.c:
17418 * gst/base/gstbasetransform.h:
17419 * gst/base/gstcollectpads.c:
17420 * gst/base/gstcollectpads.h:
17421 * gst/base/gstpushsrc.c:
17422 * gst/base/gstpushsrc.h:
17423 * gst/base/gsttypefindhelper.c:
17424 * gst/base/gsttypefindhelper.h:
17425 * gst/check/Makefile.am:
17426 * gst/check/gstcheck.c:
17427 * gst/check/gstcheck.h:
17428 * gst/net/Makefile.am:
17429 * gst/net/gstnet.h:
17430 * gst/net/gstnetclientclock.c:
17431 * gst/net/gstnetclientclock.h:
17432 * gst/net/gstnettimepacket.c:
17433 * gst/net/gstnettimepacket.h:
17434 * gst/net/gstnettimeprovider.c:
17435 * gst/net/gstnettimeprovider.h:
17436 * libs/gst/Makefile.am:
17437 * libs/gst/base/Makefile.am:
17438 * libs/gst/base/gstbasetransform.c:
17439 * libs/gst/check/Makefile.am:
17440 * plugins/elements/Makefile.am:
17442 CVS surgery + support to move base, check, and net out of gst
17445 2005-11-29 Andy Wingo <wingo@pobox.com>
17447 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17449 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17452 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17454 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17456 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17458 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17459 padding; reduces object size by about 30%. We don't expect
17460 anything else to go into gstobject.
17462 * gst/gstminiobject.h (struct _GstMiniObject)
17463 (struct _GstMiniObjectClass): Only one pointer of padding; the
17464 payload is only a pointer and two ints anyway. For the class there
17465 are only two methods as well.
17467 * gst/gstelement.h (struct _GstElementClass): Removed
17468 the state_changed signal callback, it is not used.
17470 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17472 * docs/gst/gstreamer.types:
17473 fix includes, though they are a little dinky
17475 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17477 * check/Makefile.am:
17478 look in the right place for elements, a lot more chance of
17481 remove indexers and elements subdirs
17482 * plugins/Makefile.am:
17483 make indexers conditional
17485 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17489 * plugins/elements/Makefile.am:
17490 * plugins/elements/gstcapsfilter.c:
17491 * plugins/elements/gstfilesink.c:
17492 * plugins/elements/gstfilesrc.c:
17493 * plugins/elements/gstidentity.c:
17494 * plugins/indexers/Makefile.am:
17495 do CVS surgery and related build fixery to move elements
17496 and indexers in a new gstreamer/plugins directory, out of the
17499 2005-11-29 Andy Wingo <wingo@pobox.com>
17501 * check/Makefile.am:
17502 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17503 * pkgconfig/gstreamer-net.pc.in:
17504 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17507 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17509 * tools/Makefile.am:
17510 * tools/gst-complete.1.in:
17511 * tools/gst-complete.c:
17512 * tools/gst-compprep.1.in:
17513 * tools/gst-compprep.c:
17514 removing -compprep and -complete
17516 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17518 * gst/gstevent.c: (gst_event_new_new_segment),
17519 (gst_event_parse_new_segment):
17521 fix #320529 - clean up new_segment API and structure.
17522 Let's hope everyone was using the methods, and not the structure.
17524 2005-11-29 Edward Hervey <edward@fluendo.com>
17526 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17527 (gst_base_sink_event), (gst_base_sink_do_sync),
17528 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17529 Properly handle non GST_FORMAT_TIME segment
17530 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17531 Properly handle non GST_FORMAT_TIME segment
17532 * gst/gstsegment.c:
17533 This function is valid if the accumulator is 0 and the format
17534 is different from the requested format.
17536 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17538 * docs/gst/gstreamer-sections.txt:
17539 Add gst_query_new_seeking and gst_query_parse_seeking to the
17542 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17544 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17545 Treat a pad alloc with new caps the same as if we were not
17546 negotiated, in order to allow a changing upstream output
17547 to produce a new format of data.
17549 2005-11-29 Edward Hervey <edward@fluendo.com>
17551 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17552 (gst_base_transform_event), (gst_base_transform_eventfunc):
17553 The event virtual method is now properly implemented, with a default
17555 Sub classes should call the parent_class event method. They should
17556 return FALSE if they had a problem handling the given event, or don't
17557 want GstBaseTransform to send that even downstream
17558 * gst/elements/gstidentity.c: (gst_identity_class_init),
17559 (gst_identity_init), (gst_identity_event),
17560 (gst_identity_transform_ip), (gst_identity_set_property),
17561 (gst_identity_get_property):
17562 * gst/elements/gstidentity.h:
17563 Added the single-segment boolean property.
17564 If set to TRUE, it will output a single segment of data, starting from
17565 0, will eat up all incoming newsegment, and modify the timestamp of the
17566 buffers accordingly
17568 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17570 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17571 Don't ref NULL target pad (#322751). Improve docs.
17573 2005-11-29 Michael Smith <msmith@fluendo.com>
17575 * gst/gstregistryxml.c: (load_plugin):
17576 Don't crash if we failed to load a feature from a plugin.
17578 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17580 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17582 use more check API and less GLib API
17584 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17587 don't run checks if we don't have check
17588 * common/check.mak:
17589 remove the registry when running make torture
17590 * docs/gst/gstreamer-sections.txt:
17591 remove second multiply
17592 * gst/gstqueue.c: (gst_queue_loop):
17593 fix a compile warning when disabling debug
17595 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17598 Hey! Let's print the pad name if the pointer != NULL instead
17599 of when it == NULL :-)
17601 2005-11-28 Wim Taymans <wim@fluendo.com>
17603 * check/gst/gstutils.c: (GST_START_TEST):
17604 Updated check, add some scaling accuracy checking code.
17606 * gst/gstutils.c: (gst_util_div128_64),
17607 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17608 (gst_util_uint64_scale_int):
17609 Fix 6 times faster division code. Optimize for common
17610 1/1 and less common X/1 cases.
17612 2005-11-28 Wim Taymans <wim@fluendo.com>
17614 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17617 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17618 (do_linear_regression), (gst_clock_add_observation):
17620 Release lock when the clock cannot be slaved.
17621 Catch the case where the regression returned an invalid denominator.
17623 * gst/gstutils.c: (gst_util_div128_64_iterate),
17624 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17625 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17626 Add protentially more performant non-iterative 128/64 divide function
17627 that unfortunatly does not work yet.
17628 Shortcut the trivial 0/X = 0 case.
17629 Remove the warnings on overflow.
17631 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17633 * gst/gstplugin.c: (gst_plugin_register_func):
17634 everything causing a plugin not to load should be at least a WARNING
17636 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17638 * docs/random/ensonic/dparams.txt:
17639 some TODOs for the next dev cycle
17640 * libs/gst/controller/gstcontroller.c:
17641 (gst_controlled_property_set_interpolation_mode),
17642 (gst_controlled_property_new):
17643 * libs/gst/controller/gstcontroller.h:
17644 use base type to assign acccessor functions
17646 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17648 * check/Makefile.am:
17649 Oops, that should have been top_srcdir
17651 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17653 * check/Makefile.am:
17654 * check/elements/fdsrc.c: (GST_START_TEST):
17655 Use a cmdline define to specify the location of a file to use for
17656 testing, to avoid breaking distcheck.
17658 2005-11-28 Andy Wingo <wingo@pobox.com>
17660 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17662 2005-11-28 Edward Hervey <edward@fluendo.com>
17664 * tools/gst-launch.c: (main):
17665 Clarify the output strings, makes it easier to translate.
17668 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17671 don't try and build net if we don't even have <sys/socket.h>
17673 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17675 * check/Makefile.am:
17676 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17677 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17678 Add tests for fdsrc seekability
17680 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17681 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17682 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17683 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17684 * gst/elements/gstfdsrc.h:
17685 fdsrc should not be a 'live' source.
17686 Implement seeking on seekable fd's.
17688 * gst/gstquery.c: (gst_query_new_seeking),
17689 (gst_query_parse_seeking):
17691 Implement SEEKING query functions:
17692 *_new_seeking and *_parse_seeking
17694 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17696 * gst/gstelement.c: (gst_element_dispose):
17699 * gst/gstiterator.c:
17700 * gst/gststructure.c:
17703 * libs/gst/controller/gstcontroller.c:
17704 (gst_controlled_property_set_interpolation_mode):
17705 * libs/gst/controller/gstcontroller.h:
17706 * libs/gst/controller/gstinterpolation.c:
17707 (interpolate_none_get_enum_value_array):
17708 support controlling enums
17710 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17713 Improve documentation for gst_value_union().
17716 Change return value for union, intersect and subtract functions
17717 from gint to gboolean.
17719 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17721 * gst/gstvalue.c: (gst_value_serialize_any_list),
17722 (gst_value_transform_any_list_string),
17723 (gst_value_deserialize_list), (gst_value_deserialize_array),
17724 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17725 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17726 (gst_value_set_fraction_range_full),
17727 (gst_value_deserialize_fraction_range),
17728 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17729 (gst_value_deserialize_boolean),
17730 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17731 (gst_value_serialize_float), (gst_value_deserialize_float),
17732 (gst_string_wrap), (gst_value_deserialize_string),
17733 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17734 (gst_value_union_int_range_int_range),
17735 (gst_value_intersect_int_range_int_range),
17736 (gst_value_intersect_double_range_double_range),
17737 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17738 (gst_value_subtract_int_range_int_range),
17739 (gst_value_subtract_double_double_range),
17740 (gst_value_subtract_double_range_double_range),
17741 (gst_value_deserialize_fraction):
17743 Use gint, gdouble and gchar in our API instead of int, double and
17744 char (and make usage in gstvalue.c more consistent).
17746 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17748 * check/Makefile.am:
17749 * libs/gst/controller/Makefile.am:
17750 * libs/gst/dataprotocol/Makefile.am:
17751 fix up Makefile.am and remove GST_ENABLE_NEW
17753 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17757 * gst/base/Makefile.am:
17758 * gst/check/Makefile.am:
17759 * gst/elements/Makefile.am:
17760 * gst/net/Makefile.am:
17761 update LDFLAGS use some more
17763 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17765 * common/m4/gst-doc.m4:
17768 2005-11-26 Edward Hervey <edward@fluendo.com>
17770 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17771 This shouldn't issue a g_warning since it returns NULL if it
17772 couldn't find the plugin, and all functions using this behave
17773 properly on a NULL return. Switching to a GST_WARNING.
17775 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17777 * gst/gstbin.c: (gst_bin_handle_message_func):
17778 Don't leak clock messages.
17780 2005-11-25 Wim Taymans <wim@fluendo.com>
17782 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17783 (gst_util_uint64_scale_int):
17784 Optimisations, remove unneeded vars.
17786 2005-11-25 Wim Taymans <wim@fluendo.com>
17788 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17789 Added more checks for the high precision uint64 cases.
17791 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17792 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17793 Implement high precision (guint64 * guint64) / guint64.
17795 2005-11-24 Wim Taymans <wim@fluendo.com>
17797 * gst/base/gstbasesrc.c: (gst_base_src_query):
17798 Fix wrong percentage query.
17800 * gst/gstutils.c: (gst_util_uint64_scale),
17801 (gst_util_uint64_scale_int):
17802 Add some more common cases that can be handled
17803 efficiently to _scale.
17805 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17807 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17808 (gst_mini_object_suite):
17809 don't use check calls from threads; check probably isn't
17810 threadsafe and using a lock to make it threadsafe would
17811 defeat the purpose of this check
17812 * gst/check/gstcheck.c:
17813 * gst/check/gstcheck.h:
17814 use GST_DEBUG some more
17816 2005-11-24 Wim Taymans <wim@fluendo.com>
17818 * gst/gstutils.c: (gst_util_uint64_scale),
17819 (gst_util_uint64_scale_int):
17820 Chain trivial case to _scale_int.
17822 2005-11-24 Wim Taymans <wim@fluendo.com>
17824 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17825 Added test for scaling.
17830 * gst/gstutils.c: (gst_util_uint64_scale_int):
17831 Implemented high precision scaling code.
17833 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17836 do not crash on pad==NULL
17838 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17840 Patch by: Stefan Kost
17842 * common/gtk-doc.mak:
17843 * docs/gst/Makefile.am:
17844 * docs/libs/Makefile.am:
17845 Fix distcheck issues for the libraries docs build
17848 2005-11-24 Michael Smith <msmith@fluendo.com>
17850 * docs/manual/basics-helloworld.xml:
17851 Fix bug #315027: memory leak in example code in docs.
17853 2005-11-24 Michael Smith <msmith@fluendo.com>
17855 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17856 Unlock the PREROLL_LOCK in a failure case.
17858 2005-11-24 Wim Taymans <wim@fluendo.com>
17860 * docs/gst/gstreamer-sections.txt:
17861 * gst/base/gstadapter.h:
17862 * gst/base/gstbasesink.h:
17863 * gst/base/gstbasesrc.h:
17864 * gst/base/gstbasetransform.h:
17865 * gst/base/gstpushsrc.h:
17866 * gst/elements/gstfakesink.h:
17867 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17868 * gst/elements/gstfakesrc.h:
17869 * gst/elements/gstfilesink.h:
17870 * gst/elements/gstfilesrc.h:
17873 * gst/gstbuffer.c: (_gst_buffer_copy):
17876 * gst/gstchildproxy.c:
17878 * gst/gstelement.c:
17879 * gst/gstelementfactory.c:
17880 * gst/gstelementfactory.h:
17882 * gst/gstghostpad.h:
17884 * gst/gstinterface.h:
17885 * gst/gstminiobject.c:
17886 * gst/gstminiobject.h:
17889 * gst/gstpadtemplate.h:
17890 * gst/gstpipeline.h:
17891 * gst/gstpluginfeature.h:
17894 * gst/gsttaglist.c:
17895 * gst/gsttaglist.h:
17896 * gst/gsttagsetter.c:
17897 * gst/gsttagsetter.h:
17900 * gst/gsttypefind.h:
17903 * gst/net/gstnetclientclock.c:
17904 * gst/net/gstnetclientclock.h:
17905 * gst/net/gstnettimepacket.c:
17906 * gst/net/gstnettimeprovider.c:
17907 * gst/net/gstnettimeprovider.h:
17910 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17912 * configure.ac: back to HEAD
17914 === release 0.9.6 ===
17916 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17919 releasing 0.9.6, "Always On Time"
17921 2005-11-23 Wim Taymans <wim@fluendo.com>
17923 * docs/gst/gstreamer-sections.txt:
17924 * gst/glib-compat.c:
17925 * gst/gsttagsetter.c:
17927 * gst/net/gstnetclientclock.c:
17928 * gst/net/gstnettimepacket.h:
17931 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17933 * docs/faq/using.xml:
17934 * docs/libs/tmpl/gstcontrol.sgml:
17935 * docs/manual/advanced-dparams.xml:
17936 * docs/manual/appendix-checklist.xml:
17937 * docs/manual/basics-elements.xml:
17938 * docs/pwg/other-source.xml:
17939 * docs/random/moving-plugins:
17941 * tools/gst-launch.1.in:
17942 remove mentions of sinesrc
17944 2005-11-23 Michael Smith <msmith@fluendo.com>
17946 * docs/gst/gstreamer-sections.txt:
17947 Update for new API and API changes.
17949 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17951 Documentation typo fix.
17952 * gst/net/gstnettimepacket.c:
17953 Documentation fixes for arguments.
17955 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17957 * gst/gststructure.c: (gst_structure_get_fraction),
17958 (gst_structure_parse_value),
17959 (gst_structure_fixate_field_nearest_fraction):
17960 * gst/gststructure.h:
17961 * gst/gstutils.c: (gst_util_uint64_scale_int):
17963 * scripts/update-funcnames:
17965 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17966 Make gst_structure_fixate_field_nearest_fraction take a numerator
17967 and denominator argument instead of a GValue
17968 add gst_structure_get_fraction helper function.
17970 2005-11-23 Wim Taymans <wim@fluendo.com>
17972 * docs/design/part-TODO.txt:
17975 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17976 * gst/net/gstnetclientclock.h:
17977 Use parent fields for timeout and window_size.
17979 2005-11-23 Andy Wingo <wingo@pobox.com>
17981 * check/net/gstnetclientclock.c (test_functioning): Adjust to
17982 rate_num/rate_denom change.
17984 * gst/net/gstnetclientclock.c
17985 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17986 OBJECT_LOCK. Don't call add_observation with the lock.
17988 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17990 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17992 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17993 deal with rate as a fraction whose numerator and denominator are
17994 GstClockTime values.
17995 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17996 master; the other fields are protected by the SLAVE_LOCK.
17997 (do_linear_regression): Note that this must be called with the
17999 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
18000 OBJECT_LOCK. Call set_calibration instead of touching the
18001 variables directly.
18002 (gst_clock_set_property, gst_clock_get_property): Protect
18003 master/slave parameters with the SLAVE_LOCK.
18005 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
18006 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
18007 note that all of the instance variables that add_observation and
18008 the set_master functions use are protected by that lock and not
18010 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
18012 * gst/gstclock.c (gst_clock_add_observation): No longer requires
18013 the caller to take the object lock.
18015 2005-11-23 Wim Taymans <wim@fluendo.com>
18017 * gst/gsterror.c: (_gst_core_errors_init):
18019 Add error for clock stuff.
18021 * gst/gstpipeline.c: (gst_pipeline_change_state),
18022 (gst_pipeline_set_clock):
18023 Post clock error when clock cannot be used in a pipeline.
18025 2005-11-23 Stefan Kost <ensonic@users.sf.net>
18027 * docs/gst/gstreamer-sections.txt:
18028 make two symbols from gstinfo private for the docs
18029 * gst/base/gstcollectpads.h:
18031 fix doc typos, update docs
18033 2005-11-22 Wim Taymans <wim@fluendo.com>
18035 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
18036 (gst_base_sink_wait), (gst_base_sink_do_sync),
18037 (gst_base_sink_handle_event):
18038 * gst/base/gstbasesink.h:
18039 No need to store the clock, the parent element class already
18042 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
18043 Updates for clock_set returning a gboolean
18045 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
18046 (gst_clock_id_wait_async), (gst_clock_class_init),
18047 (gst_clock_init), (gst_clock_finalize),
18048 (gst_clock_get_internal_time), (gst_clock_get_time),
18049 (gst_clock_slave_callback), (gst_clock_set_master),
18050 (gst_clock_get_master), (do_linear_regression),
18051 (gst_clock_add_observation), (gst_clock_set_property),
18052 (gst_clock_get_property):
18054 Implement master/slave. When setting a clock as a slave, a
18055 periodic timeout is scheduled to sample master and slave times.
18056 Then the slave clock is recalibrated to match offset and rate
18057 of the master clock.
18058 Update logging a bit.
18059 Add flag so that a clock can state that is cannot be slaved to
18062 * gst/gstelement.c: (gst_element_set_clock):
18063 * gst/gstelement.h:
18064 The set clock returns a gboolean for when an element cannot
18065 deal with the selected clock in the pipeline.
18067 * gst/gstpipeline.c: (gst_pipeline_change_state),
18068 (gst_pipeline_set_clock):
18069 * gst/gstpipeline.h:
18070 Handle the case where the selected clock cannot be set on
18073 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
18074 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
18075 (gst_net_client_clock_set_property),
18076 (gst_net_client_clock_get_property),
18077 (gst_net_client_clock_observe_times):
18078 * gst/net/gstnetclientclock.h:
18079 Use regression code in GstClock parent, remove duplicated
18082 2005-11-22 Michael Smith <msmith@fluendo.com>
18084 * gst/gstutils.c: (gst_util_clock_time_scale):
18086 * docs/gst/gstreamer-sections.txt:
18087 Rename method to have extra underscore.
18089 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18091 * gst/elements/Makefile.am:
18092 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18093 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18094 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18095 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18096 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18097 * gst/elements/gstfakesrc.h:
18098 * gst/gstqueue.c: (queue_leaky_get_type):
18099 correctly fix GEnumValues so that nick is the short lowercase
18101 * tools/gst-inspect.c: (print_element_properties_info):
18102 also show the nick, since it's useful to use from parse_launch
18106 2005-11-22 Michael Smith <msmith@fluendo.com>
18108 * gst/gstutils.c: (gst_util_clocktime_scale):
18110 * docs/gst/gstreamer-sections.txt:
18111 Add util method for scaling a clocktime by a fraction. Useful
18112 implementation is left as an exercise for the reader.
18114 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18116 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18117 If needed, allocate storage in the destination value during
18120 2005-11-22 Edward Hervey <edward@fluendo.com>
18122 * docs/gst/gstreamer-sections.txt:
18125 * gst/gsturitype.c:
18126 * gst/gsturitype.h:
18127 * gst/gstutils.c: (gst_util_set_object_arg):
18128 * tools/gst-compprep.c: (main):
18129 * tools/gst-inspect.c: (print_element_properties_info):
18130 Removed GstURI, closes bug #321061
18132 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18134 * check/gst/gststructure.c: (GST_START_TEST):
18135 * gst/gststructure.c: (gst_structure_parse_value):
18136 Oops, broke automatic string type parsing.
18137 Add a test to catch it in future.
18139 2005-11-22 Andy Wingo <wingo@pobox.com>
18141 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18142 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18143 Actually rename the function implementations. Grr.
18145 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18147 * check/gst/capslist.h:
18149 * check/gst/gststructure.c: (GST_START_TEST),
18150 (gst_structure_suite):
18151 Test automatic value type detection in gst_structure_from_string.
18152 * gst/gststructure.c: (gst_structure_parse_value):
18153 Add fraction as a type we try and guess automatically in
18154 caps/structure strings.
18156 2005-11-22 Andy Wingo <wingo@pobox.com>
18158 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18160 * gst/gsttagsetter.h:
18161 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18162 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18163 (gst_tag_setter_add_tag_valist)
18164 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18165 _add_values, _add_valist, and _add_valist_values. Since this is an
18166 interface the function suffixes should be more explicit so
18167 language binding don't end up with element.add_valist ->
18168 gst_tag_setter_add_valist, for example. Fixes #322069.
18170 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18172 * check/gst/gstcaps.c: (GST_START_TEST):
18173 Extend caps string tests to check that a caps to string
18174 conversion is reversible and produces the same caps.
18176 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18177 Output "fraction" as the generic type fraction range, so caps
18178 serialisation and deserialisation works.
18179 * check/gst/capslist.h:
18180 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18181 Support 'MIN' and 'MAX' for deserialising fractions.
18183 2005-11-22 Andy Wingo <wingo@pobox.com>
18185 * gst/gstevent.h (gst_event_new_new_segment)
18186 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18187 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18188 Renamed from *_newsegment, *_buffersize, *_notarget.
18190 * scripts/update-funcnames: New script, performs the changes
18193 2005-11-22 Wim Taymans <wim@fluendo.com>
18195 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18196 Make sure the GstFlowReturn is returned.
18198 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18199 (gst_bus_add_signal_watch):
18201 add gst_bus_add_signal_watch_full.
18203 * gst/gstplugin.c: (gst_plugin_load_file):
18204 Small style cleanup.
18206 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18208 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18209 Block the fakesrc srcpad when we send an event, to avoid
18210 contention on the stream_lock causing random test failures.
18212 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18214 * check/gst/gstvalue.c: (GST_START_TEST):
18215 * gst/gstvalue.c: (gst_value_fraction_subtract):
18218 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18221 include "gstchildproxy.h"
18222 * gst/gstchildproxy.h:
18223 * libs/gst/controller/gstcontroller.h:
18224 use G_GNUC_NULL_TERMINATED
18226 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18228 * check/gst/capslist.h:
18229 * check/gst/gstcaps.c: (GST_START_TEST):
18230 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18231 * gst/gststructure.c: (gst_structure_parse_range),
18232 (gst_structure_fixate_field_nearest_fraction):
18233 * gst/gststructure.h:
18234 * gst/gstvalue.c: (gst_value_init_fraction_range),
18235 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18236 (gst_value_collect_fraction_range),
18237 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18238 (gst_value_set_fraction_range_full),
18239 (gst_value_get_fraction_range_min),
18240 (gst_value_get_fraction_range_max),
18241 (gst_value_serialize_fraction_range),
18242 (gst_value_transform_fraction_range_string),
18243 (gst_value_compare_fraction_range),
18244 (gst_value_deserialize_fraction_range),
18245 (gst_value_intersect_fraction_fraction_range),
18246 (gst_value_intersect_fraction_range_fraction_range),
18247 (gst_value_subtract_fraction_fraction_range),
18248 (gst_value_subtract_fraction_range_fraction),
18249 (gst_value_subtract_fraction_range_fraction_range),
18250 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18251 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18252 (gst_value_transform_string_fraction), (_gst_value_initialize):
18254 Implement fraction ranges and extend GstFraction to support
18255 arithmetic subtraction, as well as deserialization from integer
18256 strings such as "100"
18257 Add a testsuite as for int and double range set operations
18259 2005-11-21 Andy Wingo <wingo@pobox.com>
18261 * gst/gsttaglist.h:
18263 * gst/gststructure.h: Add glib-compat.h.
18265 2005-11-21 Wim Taymans <wim@fluendo.com>
18267 * gst/gstbin.c: (gst_bin_change_state_func):
18270 2005-11-21 Wim Taymans <wim@fluendo.com>
18272 * gst/gstsegment.h:
18273 And add a nice define too.
18275 2005-11-21 Wim Taymans <wim@fluendo.com>
18277 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18278 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18279 (gst_segment_set_duration), (gst_segment_set_last_stop),
18280 (gst_segment_set_seek), (gst_segment_set_newsegment),
18281 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18282 (gst_segment_clip):
18283 * gst/gstsegment.h:
18284 Make binding friendly.
18286 2005-11-21 Andy Wingo <wingo@pobox.com>
18288 * gst/gsttagsetter.h:
18289 * gst/gsttaglist.h:
18290 * gst/gststructure.h:
18292 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18295 * gst/gsterror.c (_gst_core_errors_init):
18296 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18299 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18300 (noinst_HEADERS): noinst the -private.
18302 2005-11-21 Michael Smith <msmith@fluendo.com>
18305 * gst/gstregistry.h:
18306 Remove unimplemented declarations for which we can see no sensible
18309 2005-11-21 Andy Wingo <wingo@pobox.com>
18311 * gst/gst.h: Include glib-compat.h.
18313 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18315 * gst/glib-compat.c: Include the public and the private header.
18317 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18321 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18323 * check/gst/gstevent.c (create_custom_events): Check that
18324 FLUSH_STOP is serialized.
18326 * check/elements/identity.c (event_func):
18327 * check/elements/fakesrc.c (event_func): No stream lock, the core
18330 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18331 stream lock taking, yay.
18333 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18334 ensure that core takes the stream lock.
18336 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18339 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18340 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18341 it already. For the flush start we do take it though so we get the
18342 right preroll state change messages.
18344 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18345 the stream lock here, the core does it for us.
18347 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18348 GST_STREAM_GET_LOCK.
18349 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18350 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18351 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18352 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18353 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18354 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18356 * gst/gstpad.c: Update for stream lock name change.
18358 * gst/base/gstbasesink.c: Update for preroll lock name change.
18360 2005-11-21 Wim Taymans <wim@fluendo.com>
18362 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18363 (gst_clock_get_master):
18365 * gst/gstsystemclock.c: (gst_system_clock_init):
18366 Convert Clock flags to object flags.
18367 Added methods to manage master/slave clocks.
18369 2005-11-21 Wim Taymans <wim@fluendo.com>
18371 * check/gst/gstsegment.c: (GST_START_TEST):
18372 * docs/design/part-TODO.txt:
18373 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18374 (gst_base_sink_event), (gst_base_sink_do_sync),
18375 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18376 (gst_base_sink_query), (gst_base_sink_change_state):
18377 * gst/base/gstbasesink.h:
18378 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18379 (gst_base_src_default_newsegment),
18380 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18381 (gst_base_src_get_range), (gst_base_src_loop),
18382 (gst_base_src_change_state):
18383 * gst/base/gstbasesrc.h:
18384 * gst/base/gstbasetransform.c:
18385 (gst_base_transform_prepare_output_buf),
18386 (gst_base_transform_event), (gst_base_transform_change_state):
18387 * gst/base/gstbasetransform.h:
18388 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18389 (gst_collect_pads_event):
18390 * gst/base/gstcollectpads.h:
18391 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18392 (gst_fake_src_create):
18393 * gst/elements/gstfakesrc.h:
18394 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18395 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18396 (gst_segment_set_last_stop), (gst_segment_set_seek),
18397 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18398 (gst_segment_to_running_time), (gst_segment_clip):
18399 * gst/gstsegment.h:
18400 More segment updates, replace code in plugins with segment
18403 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18405 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18406 Don't ignore sscanf results
18408 2005-11-21 Andy Wingo <wingo@pobox.com>
18410 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18413 * *.c: Ran scripts/update-macros. Oh yes.
18415 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18416 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18419 * scripts/update-macros: New script. Run it on your files to
18420 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18423 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18425 * docs/gst/Makefile.am:
18426 * docs/gst/gstreamer-docs.sgml:
18427 * docs/gst/gstreamer-sections.txt:
18428 * docs/gst/gstreamer.types:
18430 more docs fixes, add new api to the docs
18432 2005-11-21 Andy Wingo <wingo@pobox.com>
18434 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18435 state_broadcast call.
18437 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18439 2005-11-21 Julien MOUTTE <julien@moutte.net>
18441 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18442 function calls for arrays.
18444 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18446 * docs/random/ensonic/media-device-daemon.txt:
18447 wild idea, can this be done?
18448 * docs/gst/gstreamer-sections.txt:
18453 * gst/gstpluginfeature.c:
18457 doc fixes and additions
18459 2005-11-21 Andy Wingo <wingo@pobox.com>
18461 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18462 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18463 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18464 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18465 private to the basesrc implementation.
18467 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18468 behalf of event function if necessary. It should no longer be
18469 necessary to take the stream lock in pad's event functions. Fixes
18472 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18473 * docs/gst/gstreamer-sections.txt:
18474 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18475 (gst_structure_fixate_field_nearest_double),
18476 (gst_structure_fixate_field_boolean):
18477 * gst/gststructure.h:
18478 * win32/common/libgstreamer.def:
18479 * win32/gstreamer.def:
18481 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18484 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18486 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18487 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18488 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18489 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18490 (gst_fdsrc_uri_handler_init):
18491 * gst/elements/gstfdsrc.h:
18492 Port fd:// URI handler from 0.8 to fdsrc
18494 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18496 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18497 (gst_value_serialize_fourcc):
18499 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18500 consistent with our other format defines (#320324).
18502 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18504 * gst/gstvalue.c: (gst_value_is_fixed):
18505 Revert previous commit. Value lists are by definition
18506 not fixed, as they are a list of possible values.
18508 2005-11-21 Andy Wingo <wingo@pobox.com>
18510 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18511 during the stable series if we need it. Fixes #319178.
18513 * gst/gstevent.c (gst_event_new_filler): Removed.
18515 * check/gst/gstevent.c: Update comment about filler events.
18517 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18519 * gst/gstvalue.c: (gst_value_is_fixed):
18520 Should handle both value arrays and value lists.
18522 2005-11-21 Andy Wingo <wingo@pobox.com>
18524 patch by: Alessandro Dessina <alessandro nnva org>
18526 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18527 functions to access arrays. Fixes #321962.
18529 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18531 * docs/gst/gstreamer.types:
18532 gst_collectpads_get_type => gst_collect_pads_get_type.
18534 * gst/base/gstbasetransform.c:
18535 Remove unused SIGNAL_HANDOFF enum.
18537 2005-11-21 Andy Wingo <wingo@pobox.com>
18539 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18540 the event type (upstream, downstream, serialized). Renamed
18541 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18542 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18543 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18545 * gst/gstevent.c: Update for new CUSTOM event names.
18547 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18550 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18553 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18555 * docs/gst/gstreamer-sections.txt:
18556 * win32/common/libgstbase.def:
18557 * win32/libgstbase.def:
18558 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18559 (gst_collect_pads_class_init), (gst_collect_pads_init),
18560 (gst_collect_pads_finalize), (gst_collect_pads_new),
18561 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18562 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18563 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18564 (gst_collect_pads_start), (gst_collect_pads_stop),
18565 (gst_collect_pads_peek), (gst_collect_pads_pop),
18566 (gst_collect_pads_available), (gst_collect_pads_read),
18567 (gst_collect_pads_flush), (gst_collect_pads_event),
18568 (gst_collect_pads_chain):
18569 * gst/base/gstcollectpads.h:
18570 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18571 unimplemented functions as unimplemented. Add padding to
18572 GstCollectData. (#320766, #320423)
18574 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18576 * gst/gstmessage.c:
18577 Improve docs for DURATION message (usage of duration parameter)
18580 2005-11-20 Wim Taymans <wim@fluendo.com>
18582 * check/Makefile.am:
18583 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18587 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18588 (gst_segment_set_seek), (gst_segment_set_newsegment),
18589 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18590 (gst_segment_clip):
18591 * gst/gstsegment.h:
18592 Added segment helper structure and methods. Not fully implemented
18594 Added segment check.
18596 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18598 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18599 Add a deserialisation test for fractions
18600 * examples/metadata/read-metadata.c: (message_loop),
18601 (make_pipeline), (main):
18602 Fix up metadata reading sample.
18603 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18605 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18606 Don't try and fixate empty caps
18607 * gst/gst_private.h:
18608 Wrap in G_BEGIN_DECLS/G_END_DECLS
18609 * gst/gstvalue.c: (gst_value_collect_fraction),
18610 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18611 (gst_value_transform_string_fraction),
18612 (gst_value_compare_fraction):
18613 Add some extra guards to ensure that we don't end up
18614 with an invalid denominator of 0 in a gstfraction and
18615 that fractions always get reduced.
18617 2005-11-20 Wim Taymans <wim@fluendo.com>
18619 * docs/gst/gstreamer-sections.txt:
18621 * gst/gstelement.c:
18630 2005-11-20 Wim Taymans <wim@fluendo.com>
18632 * docs/design/part-TODO.txt:
18634 Make a proper enum of the flag.
18636 2005-11-19 Wim Taymans <wim@fluendo.com>
18638 * docs/design/part-TODO.txt:
18639 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18640 (gst_format_to_quark), (gst_format_register):
18642 * gst/gstquery.c: (_gst_query_initialize),
18643 (gst_query_type_get_name), (gst_query_type_to_quark),
18644 (gst_query_type_register):
18646 Add type to quark and type to string conversions.
18648 2005-11-19 Andy Wingo <wingo@pobox.com>
18650 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18653 2005-11-19 Wim Taymans <wim@fluendo.com>
18655 * docs/design/part-TODO.txt:
18656 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18657 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18658 (gst_bin_handle_message_func):
18660 Make message handling overridable.
18662 2005-11-19 Andy Wingo <wingo@pobox.com>
18664 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18667 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18669 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18670 is a GstClockTime. Fixes #321710.
18672 * gst/gstclock.h (GstClock): Remove offset property. Add
18673 internal_calibration and external_calibration. Fix padding. Pad
18674 also by GstClockTime so we don't run into problems.
18676 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18677 (gst_clock_get_rate_offset): Remove.
18678 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18681 * gst/gstutils.c (g_static_rec_cond_wait)
18682 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18684 * gst/gstbin.c: Remove terrible continue_state prototype.
18686 * gst/gstelement.h (gst_element_continue_state): Make public.
18688 * gst/gstelement.h:
18689 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18690 by continue_state. Fixes #319389.
18692 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18693 Really fixes #168438. However I don't see anywhere where the
18694 filter function is called... stupid GStreamer...
18696 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18697 don't have a dispose function, so it won't get called when the
18698 object is unreffed, but oh well!
18700 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18701 allows a destroy function to be set so user_data can be freed.
18703 (gst_index_set_filter): Call gst_index_set_filter_full.
18705 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18707 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18708 string should produce an error, given the lack of a way to
18709 represent NULL strings. Fixes #165650.
18712 * gst/gstvalue.c (gst_value_array_append_value)
18713 (gst_value_array_prepend_value, gst_value_array_get_size)
18714 (gst_value_array_get_value): New API, copied from
18715 gst_value_list_*, only operates on arrays.
18716 (gst_value_list_append_value, gst_value_list_prepend_value)
18717 (gst_value_list_concat, gst_value_list_get_size)
18718 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18720 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18721 init_list, because it works on both.
18722 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18723 (gst_value_copy_list_or_array): Renamed from copy_list.
18724 (gst_value_free_list_or_array): Renamed from free_list.
18725 (gst_value_collect_list_or_array): Renamed from collect_list.
18726 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18727 (gst_value_list_or_array_peek_pointer): Renamed from
18729 (_gst_value_array_value_table, _gst_value_list_value_table):
18730 Update value table functions.
18731 (gst_value_compare_list_or_array): Renamed from compare_list.
18733 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18736 * gst/gsttaglist.c:
18737 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18738 GstTagList*. Fixes #143472.
18740 * gst/gststructure.h: Clarify what the foreach/map functions can
18741 or can't do to their arguments.
18743 2005-11-18 Wim Taymans <wim@fluendo.com>
18745 * gst/gstclock.c: (gst_clock_set_calibration),
18746 (gst_clock_get_calibration):
18748 Calibration can be set with internal time equal to current
18751 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18757 2005-11-18 Andy Wingo <wingo@pobox.com>
18760 * pkgconfig/gstreamer-net.pc.in:
18761 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18762 * pkgconfig/Makefile.am: Add net pkgconfig files.
18764 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18767 * gst/gstghostpad.c:
18773 2005-11-18 Andy Wingo <wingo@pobox.com>
18775 * gst/net/gstnetclientclock.c: Turn off debugging.
18777 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18778 times connverge somewhat. Can't make a real test.
18780 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18781 integer arithmetic. Return the minimum of the domain, which can be
18782 set as "internal" for gst_clock_set_calibration.
18783 (gst_net_client_clock_observe_times): Call _set_calibration.
18784 (gst_net_client_clock_new): Call _set_calibration instead of
18787 * check/net/gstnetclientclock.c (test_functioning): Use the right
18791 * gst/gstclock.c (gst_clock_get_calibration)
18792 (gst_clock_set_calibration): New functions, obsolete the ones I
18793 added yesterday. Doh. Precision issues mean we have to extrapolate
18794 from a point in the more recent past than 1970.
18795 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18797 (gst_clock_adjust_unlocked): Use the right calibration data.
18799 2005-11-18 Edward Hervey <edward@fluendo.com>
18801 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18802 Also reset the ->current_* values in READY->PAUSED
18804 2005-11-18 Andy Wingo <wingo@pobox.com>
18806 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18807 Whoops, check the right fd. Also add some debugging.
18808 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18809 (do_linear_regression): Add a crapload of debugging. Subtract off
18810 the minimum values from the input series to discard unneeded bits.
18811 Use only int arithmetic. There is still double arithmetic when
18812 calculating the intercept that needs fixing. Return boolean to
18813 indicate success; FALSE would mean the domain or range is too
18814 great. Still needs fixes.
18816 2005-11-18 Wim Taymans <wim@fluendo.com>
18818 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18819 For the current position in stream time, we need to subtract
18822 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18823 Release lock before calling the callback function of async
18826 2005-11-18 Andy Wingo <wingo@pobox.com>
18828 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18829 Port goes all the way to MAXUINT16.
18831 * gst/net/gstnettimeprovider.c: Make the port range the same as
18832 for the kernel: 0 assigns, otherwise ports are less than
18835 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18838 * check/net/gstnetclientclock.c (test_functioning): Add the start
18841 2005-11-18 Wim Taymans <wim@fluendo.com>
18843 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18844 (gst_bin_remove_func), (bin_bus_handler):
18846 Removing a clock provider from a bin, triggers a clock lost message
18847 so that a new clock will be selected.
18848 Adding a clock to a bin triggers a clock provider message.
18849 Make sure we reselect a clock when we received a clock lost message.
18850 Keep a reference to the element that provided the clock.
18852 2005-11-18 Andy Wingo <wingo@pobox.com>
18854 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18855 the clock initially so it produces values around the base time.
18856 (gst_net_client_clock_class_init): Typo fix.
18857 (gst_net_client_clock_thread): Add note on when the socket gets
18860 2005-11-17 Wim Taymans <wim@fluendo.com>
18862 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18863 Free remote and local time arrays.
18865 2005-11-17 Wim Taymans <wim@fluendo.com>
18867 * gst/net/gstnetclientclock.c: (do_linear_regression),
18868 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18869 Fix compilation, uninitialized vars and a forgotten continue.
18871 2005-11-17 Andy Wingo <wingo@pobox.com>
18873 * check/Makefile.am (check_PROGRAMS):
18874 * check/net/gstnetclientclock.c: Add a most minimal test for the
18875 net client clock. More to come later.
18877 * gst/net/gstnet.h:
18878 * gst/net/Makefile.am: Add netclientclock.
18880 * gst/net/gstnetclientclock.h:
18881 * gst/net/gstnetclientclock.c: New files, implement an untested
18882 GstClock that takes its time from a network time provider.
18883 Implements the algorithm in network-clock.scm.
18885 * tests/network-clock.scm (*window-size*): Rename from
18887 * tests/network-clock.scm (network-time):
18888 * tests/network-clock-utils.scm (q-push): Update callers.
18890 2005-11-17 Wim Taymans <wim@fluendo.com>
18892 * gst/gstbin.c: (gst_bin_provide_clock_func),
18893 (gst_bin_sort_iterator_new):
18894 And unref the child too..
18896 2005-11-17 Wim Taymans <wim@fluendo.com>
18898 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18899 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18900 Refactor the sort iterator so it can be used while holding the
18902 Make clock selection select a clock closest to the source.
18904 2005-11-17 Michael Smith <msmith@fluendo.com>
18906 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18907 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18909 Anonymous structs are a gcc (and some other compilers) extension, so
18910 don't use them. Since this is only for ABI-compatibility, and our
18911 API/ABI freeze is over in a few days, this whole thing will only
18912 last a few days, so don't bother trying to think up a meaningful
18913 name for the struct.
18915 2005-11-17 Andy Wingo <wingo@pobox.com>
18917 * gst/gstclock.h (GstClock): Add rate and offset properties,
18918 preserving ABI stability. Add rate/offset accessors. Will file bug
18919 for the freeze break.
18921 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18922 and offset, trying to keep precision and avoiding
18923 underflow/overflow.
18924 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18925 functions. Make gst_clock_set_time_adjust obsolete.
18926 (gst_clock_set_time_adjust): Note that this function is obsolete.
18927 Will file bug soon.
18929 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18930 greppable by using GST_PADDING-1+1.
18932 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18934 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18936 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18937 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18939 * gst/gstpadtemplate.h:
18940 * gst/gstpluginfeature.h:
18941 Don't use c++ style comments in headers (#321638).
18943 2005-11-16 Andy Wingo <wingo@pobox.com>
18945 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18948 * check/net/gstnettimeprovider.c: Check to see that the time
18949 provider actually provides times. Works, yo!
18951 2005-11-16 Wim Taymans <wim@fluendo.com>
18953 * check/Makefile.am:
18956 * check/elements/fakesrc.c: (GST_START_TEST):
18957 Set element to NULL before disposing it.
18959 2005-11-16 Andy Wingo <wingo@pobox.com>
18961 * gst/net/Makefile.am:
18962 * gst/net/gstnet.h:
18963 * gst/net/gstnettimeprovider.c:
18964 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18965 provider, include it from gstnet.h, and add it to the build.
18967 * gst/net/gstnettimepacket.h:
18968 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18969 sending and receiving.
18971 2005-11-16 Wim Taymans <wim@fluendo.com>
18973 * check/Makefile.am:
18974 Enable valgrind check.
18976 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18977 (gst_fake_src_alloc_buffer):
18980 2005-11-16 Wim Taymans <wim@fluendo.com>
18982 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18983 Call parent finalize too.
18985 2005-11-16 Wim Taymans <wim@fluendo.com>
18987 * check/Makefile.am:
18988 Enable valgrind check that should work fine now.
18990 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18991 * gst/gstqueue.c: (gst_queue_init):
18992 Fix memleaks in pad allocation.
18994 2005-11-16 Andy Wingo <wingo@pobox.com>
18996 * gst/net/Makefile.am:
18997 * gst/net/gstnet.h: New part of core to hold network elements and
18998 objects. Put in core because it exposes API that applications want
18999 to use. The library is named libgstnet-tempname right now because
19000 of the existing libgstnet in gst-plugins-base. Solution is
19001 probably to rename the one in plugins-base; will file a bug for
19004 * gst/net/gstnettimeprovider.c:
19005 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
19006 get_time call over the network.
19009 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
19011 * check/Makefile.am:
19012 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
19013 get additions shortly.
19015 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19017 * gst/gstpad.c: (gst_pad_new_from_static_template):
19019 add gst_pad_new_from_static_template functions
19020 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
19021 (gst_check_setup_sink_pad):
19022 * gst/elements/gsttee.c: (gst_tee_init):
19025 2005-11-16 Wim Taymans <wim@fluendo.com>
19027 * gst/gstpad.c: (gst_pad_pause_task):
19028 Removed warning, it's not really an error either.
19030 2005-11-16 Wim Taymans <wim@fluendo.com>
19032 * gst/base/gstbasetransform.c:
19033 (gst_base_transform_prepare_output_buf),
19034 (gst_base_transform_event):
19035 Check if the caps are NULL, this can happen if the element
19036 is shutting down and the pad caps are set to NULL.
19038 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19040 * gst/elements/gsttee.c: (gst_tee_init):
19041 fix pad template leak in tee
19043 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19045 * gst/glib-compat.c: (g_value_dup_gst_object):
19046 * gst/glib-compat.h:
19047 * gst/gstpad.c: (gst_pad_set_property):
19048 use gst_object_ref when setting the pad template; this will
19049 trigger the pad template leaks on GLib 2.6 and the slaves
19051 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19053 * gst/glib-compat.c: (gst_flags_get_first_value):
19054 * gst/glib-compat.h:
19055 * gst/gstregistryxml.c:
19056 remove functions copied from GLib 2.6
19058 2005-11-16 Michael Smith <msmith@fluendo.com>
19061 Don't link against VALGRIND_LIBS. That was always the wrong thing to
19062 do, but only breaks with newer valgrind versions. We're not a
19063 valgrind tool, we have no link-time dependencies on libcoregrind.
19065 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19067 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
19069 * gst/gstmessage.h:
19072 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
19074 * gst/base/gstbasesrc.c: (gst_base_src_init):
19075 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19076 * gst/gstqueue.c: (gst_queue_init):
19077 * gst/gstregistryxml.c: (load_feature):
19078 Revert all these unrefs, they don't even pass make check !
19080 2005-11-15 Johan Dahlin <johan@gnome.org>
19082 * gst/base/gstbasesrc.c: (gst_base_src_init):
19083 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19084 * gst/gstqueue.c: (gst_queue_init):
19085 Free pad templates, fixes a couple of leaks.
19087 2005-11-15 Daniel Fischer <dan at f3c dot com>
19089 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19091 * gst/gstpad.c: (gst_pad_get_property):
19092 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19093 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19096 2005-11-15 Wim Taymans <wim@fluendo.com>
19101 2005-11-15 Andy Wingo <wingo@pobox.com>
19103 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19105 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19106 using GST_CLOCK_TIME_NONE to disable base time management.
19107 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19108 time if it was NONE before.
19109 (gst_pipeline_change_state): Only munge the base time if
19110 stream_time != GST_CLOCK_TIME_NONE.
19112 * check/gst/gstpipeline.c (test_base_time): Punt around the
19113 problem of the probe not being called, because that's not the
19114 issue I'm looking at. Add a check that setting stream_time to NONE
19115 disables base time management.
19117 2005-11-15 Wim Taymans <wim@fluendo.com>
19119 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19120 segment_stop == -1 at startup.
19122 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19123 (gst_base_transform_change_state):
19124 Init segment values at start.
19126 2005-11-15 Wim Taymans <wim@fluendo.com>
19128 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19129 0 segment values are 0 in any format.
19131 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19132 * gst/base/gstbasetransform.h:
19133 Parse newsegment correctly in basetransform
19135 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19136 Sync to clock using updated segment values.
19138 2005-11-15 Andy Wingo <wingo@pobox.com>
19140 * check/gst/gstpipeline.c (test_base_time): Add check that the
19141 base time and stream time are reset correctly.
19143 2005-11-15 Wim Taymans <wim@fluendo.com>
19145 * docs/design/part-TODO.txt:
19146 Some more TODO items.
19148 2005-11-15 Andy Wingo <wingo@pobox.com>
19150 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19151 error if the user selected "no clock" as the clocking method.
19153 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19154 timestamps with live capture.
19156 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19157 is 0 but we are a live source, timestamp the buffers using the
19160 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19162 * docs/gst/gstreamer-sections.txt:
19164 * gst/gstghostpad.c:
19169 2005-11-14 Wim Taymans <wim@fluendo.com>
19172 add suppressions from Wim's Debian machine
19174 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19177 add suppressions from Andy's AMD64 Ubuntu machine
19179 2005-11-14 Andy Wingo <wingo@pobox.com>
19181 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19182 STATE_LOCK not necessary. Fixes #311489.
19184 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19187 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19188 this function is not implemented.
19190 2005-11-14 Julien MOUTTE <julien@moutte.net>
19192 * gst/base/gstbasetransform.c:
19193 (gst_base_transform_prepare_output_buf):
19194 Ref the source pad caps while we need them.
19197 2005-11-11 Wim Taymans <wim@fluendo.com>
19199 * docs/gst/gstreamer-sections.txt:
19200 Added some docs for GstCollectData.
19202 * gst/base/gstadapter.c:
19203 Some small code example fix.
19205 * gst/base/gstcollectpads.c:
19206 * gst/base/gstcollectpads.h:
19207 Document some more.
19209 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19211 * configure.ac: back to HEAD
19213 === release 0.9.5 ===
19215 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19218 releasing 0.9.5, "Bike Lunch Day"
19220 2005-11-11 Wim Taymans <wim@fluendo.com>
19222 * gst/gstbuffer.c: (_gst_buffer_copy):
19225 * gst/gstcaps.c: (gst_caps_is_equal):
19227 Make _is_equal fast in the trivial cases.
19229 * gst/gstminiobject.c:
19230 * gst/gstminiobject.h:
19231 More docs. Spifify .h file.
19236 2005-11-11 Wim Taymans <wim@fluendo.com>
19238 * gst/base/gstbasetransform.c:
19239 (gst_base_transform_prepare_output_buf),
19240 (gst_base_transform_handle_buffer):
19242 If we're processing a buffer and need to allocate an output
19243 buffer, we cannot accept a format change. If we did get a
19244 format change, we have to alloc a buffer ourselves of the
19247 2005-11-11 Wim Taymans <wim@fluendo.com>
19249 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19250 While checking the flag for reentrancy in the gstcaps function
19251 is nice to detect recursive invocations, it also makes it
19252 impossible to call getcaps from multiple threads, which must be
19253 possible. So, checking for recursive calls has to go.
19255 2005-11-11 Michael Smith <msmith@fluendo.com>
19257 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19258 Don't sync on buffers that fall partially outside our current
19259 segment. Prevents an assertion failure/abort playing some files.
19261 2005-11-10 Andy Wingo <wingo@pobox.com>
19263 * check/gst/gstbin.c (test_message_state_changed_children): Style
19266 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19267 gst_bus_poll with the signal watch. Ensures that poll and a signal
19268 watch see the same messages.
19270 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19271 a poll and a watch at the same time get the same messages.
19273 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19275 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19276 * gst/gstcaps.c: (gst_caps_intersect):
19277 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19278 and it's not needed.
19280 2005-11-10 Wim Taymans <wim@fluendo.com>
19282 * docs/design/part-TODO.txt:
19285 2005-11-10 Wim Taymans <wim@fluendo.com>
19287 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19288 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19289 (gst_base_src_do_sync), (gst_base_src_get_range):
19290 Implement clock sync in base class.
19292 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19294 patch by: Tim-Philipp Müller <tim at centricular dot net>
19296 * gst/gststructure.c: (gst_structure_parse_field),
19297 (gst_structure_from_string):
19298 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19299 so that gst_parse_launch() can deal with spaces in filtered link
19300 caps (fixes #164479)
19301 * check/gst/capslist.h:
19302 * check/gst/gststructure.c: (GST_START_TEST):
19303 add unit tests for this change
19305 2005-11-10 Wim Taymans <wim@fluendo.com>
19307 * docs/gst/gstreamer-sections.txt:
19308 * gst/gstelement.c:
19309 * gst/gstelement.h:
19310 Fix docs, move some STATE macros to private.
19312 2005-11-10 Wim Taymans <wim@fluendo.com>
19314 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19315 Added check for bug #317341
19319 Some more spiffifying.
19321 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19322 Call peer linkfunction if we are a source pad. Totally fixes
19326 Update docs, source pads should call the peer linkfunction
19327 so they can atomically perform the pad link.
19329 2005-11-09 Wim Taymans <wim@fluendo.com>
19333 Uber-spiffy-spiffify some more.
19335 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19337 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19338 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19339 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19340 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19341 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19342 * gst/gstpad.c: (gst_pad_init):
19343 Use GST_DEBUG_FUNCPTR() more extensively.
19345 2005-11-09 Wim Taymans <wim@fluendo.com>
19347 * gst/gstobject.c: (gst_object_class_init):
19349 Documentation fixes.
19351 2005-11-09 Edward Hervey <edward@fluendo.com>
19353 * gst/gsttypefindfactory.c:
19356 2005-11-09 Edward Hervey <edward@fluendo.com>
19358 * gst/base/gsttypefindhelper.c:
19359 * gst/gsttypefind.c:
19360 * gst/gsttypefind.h:
19363 2005-11-09 Wim Taymans <wim@fluendo.com>
19365 * gst/gstiterator.c:
19372 2005-11-09 Wim Taymans <wim@fluendo.com>
19378 2005-11-09 Wim Taymans <wim@fluendo.com>
19380 * docs/gst/gstreamer-sections.txt:
19381 Moved the message async delivery private lock and cond
19382 to the private section.
19384 * gst/gstmessage.c:
19385 * gst/gstmessage.h:
19388 2005-11-09 Edward Hervey <edward@fluendo.com>
19390 * docs/gst/gstreamer-sections.txt:
19393 Document GstURIHandler
19395 2005-11-09 Wim Taymans <wim@fluendo.com>
19397 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19398 (gst_iterator_find_custom):
19399 * gst/gstiterator.h:
19402 2005-11-09 Wim Taymans <wim@fluendo.com>
19405 Document another field.
19407 * gst/gststructure.c:
19408 * gst/gststructure.h:
19411 2005-11-09 Wim Taymans <wim@fluendo.com>
19414 Documented structs.
19416 2005-11-09 Wim Taymans <wim@fluendo.com>
19418 * docs/gst/gstreamer-sections.txt:
19419 Added some new macros.
19426 2005-11-09 Wim Taymans <wim@fluendo.com>
19428 * docs/design/part-TODO.txt:
19429 Some more items for the TODO
19435 2005-11-09 Andy Wingo <wingo@pobox.com>
19437 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19438 to work on something else now tho...
19440 * gst/base/gstadapter.c: More adapter docs.
19442 * gst/elements/gstfilesink.c (gst_file_sink_start)
19443 (gst_file_sink_stop): New functions, replace the state change
19445 (gst_file_sink_class_init): Hook up the start and stop functions.
19446 (gst_file_sink_base_init): Don't set the state change handler any
19447 more. It was a bit ugly too, being set from here...
19448 (gst_file_sink_get_property, gst_file_sink_set_property):
19450 (gst_file_sink_set_location): More robust check that doesn't call
19451 GST_STATE. Ugggggg.
19453 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19455 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19456 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19458 2005-11-08 Wim Taymans <wim@fluendo.com>
19460 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19461 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19462 (gst_base_sink_chain), (gst_base_sink_change_state):
19463 * gst/base/gstbasesink.h:
19464 * gst/base/gstbasesrc.h:
19465 * gst/gstelement.h:
19467 Avoid excessive typechecking in macros.
19469 * gst/gstminiobject.c: (gst_mini_object_get_type),
19470 (gst_mini_object_init), (gst_mini_object_new),
19471 (gst_mini_object_free):
19472 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19473 (gst_object_finalize):
19474 Remove cruft code, optimize alloc_trace.
19476 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19478 * docs/faq/gst-uninstalled:
19479 fix up PS1 for systems that try to reset it
19481 2005-11-07 Wim Taymans <wim@fluendo.com>
19483 * gst/base/gstbasesrc.c: (gst_base_src_init),
19484 (gst_base_src_get_range):
19485 Set the segment_end to -1 initially. Fixed typefind.
19487 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19489 * gst/base/gstadapter.c:
19490 Debug category should be 'adapter', not 'GstAdapter'.
19492 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19493 (gst_collectpads_class_init), (gst_collectpads_init),
19494 (gst_collectpads_peek), (gst_collectpads_pop),
19495 (gst_collectpads_event), (gst_collectpads_chain):
19496 Add debug category and some debugging output. Use boilerplate
19497 macros. Remove some extraneous words from docs.
19499 2005-11-05 Andy Wingo <wingo@pobox.com>
19501 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19504 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19506 * docs/gst/gstreamer-sections.txt:
19509 * gst/gstminiobject.h:
19514 2005-11-04 Wim Taymans <wim@fluendo.com>
19516 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19517 Small update to stop at the configured segment_end
19520 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19522 * gst/gstregistry.c:
19523 * gst/gstregistry.h:
19526 2005-11-04 Edward Hervey <edward@fluendo.com>
19528 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19529 Check if we are doing a segment seek and have arrived at the
19530 end of that segment.
19532 2005-11-04 Wim Taymans <wim@fluendo.com>
19534 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19535 Don't leak a mutex unlock in case of an error.
19540 2005-11-04 Wim Taymans <wim@fluendo.com>
19542 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19544 Get the context to wake up only once.
19546 2005-11-03 Wim Taymans <wim@fluendo.com>
19548 * check/states/sinks.c: (GST_START_TEST):
19549 Uncomment fixed check.
19551 * docs/design/part-TODO.txt:
19554 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19555 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19556 (gst_base_sink_get_position):
19557 If we are going to PLAYING, post the right pending state
19558 when we post the intermediate paused message.
19560 * gst/gstelement.c: (gst_element_continue_state),
19561 (gst_element_set_state_func), (gst_element_change_state):
19562 Don't post state changes that were between the same state
19563 and were not ASYNC.
19565 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19567 * docs/gst/gstreamer-sections.txt:
19570 * gst/gstminiobject.h:
19573 more docs and doc style fixes
19575 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19577 * docs/gst/gstreamer-sections.txt:
19578 * gst/gstelement.c:
19579 * gst/gstminiobject.c:
19582 2005-11-03 Andy Wingo <wingo@pobox.com>
19584 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19585 state-changed messages actually have the right order and the right
19588 2005-11-03 Wim Taymans <wim@fluendo.com>
19590 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19591 Added some more checks. Specifically the case where NO_PREROLL
19592 elements are in the pipeline.
19594 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19595 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19596 (gst_base_sink_get_position):
19597 Post READY->PAUSED state change messages too.
19598 Fix bug where VOID was posted as pending state...
19600 * gst/gstbin.c: (gst_bin_recalc_state):
19601 use _element_continue_state() to continue the state change.
19603 * gst/gstelement.c: (gst_element_continue_state),
19604 (gst_element_commit_state), (gst_element_set_state_func),
19605 (gst_element_change_state), (gst_element_change_state_func):
19606 Lots of state change cleanups, assign the STATE_RETURN in
19607 a new continue_state() function that also propagates the
19608 last return value from a state change to the app.
19609 Update some debug statements with proper category.
19611 2005-11-03 Wim Taymans <wim@fluendo.com>
19613 * docs/design/part-events.txt:
19614 * docs/design/part-gstpipeline.txt:
19615 * docs/design/part-messages.txt:
19616 * docs/design/part-overview.txt:
19617 * docs/design/part-seeking.txt:
19618 * docs/design/part-states.txt:
19619 * docs/design/part-trickmodes.txt:
19620 * docs/manual/advanced-position.xml:
19621 Small docs updates.
19624 People think !! is ugly, this looks better.
19626 * gst/gstpad.c: (gst_pad_set_blocked_async):
19627 Remove !! since it's fixed elsewhere now.
19629 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19631 * gst/gstminiobject.h:
19633 Add !! to _FLAG_IS_SET macros to make the result boolean.
19635 2005-11-03 Edward Hervey <edward@fluendo.com>
19637 * gst/gstpad.c: (gst_pad_set_blocked_async):
19638 comparing a flag and a gboolean rarely returns coherent results...
19639 Added two characters (!!) to make that work correctly.
19641 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19643 * gst/gstbus.c: (gst_bus_class_init):
19646 * gst/gstqueue.c: (gst_queue_loop):
19647 Don't assume a miniobject that isn't a buffer is an
19648 event (it could be that there is a refcounting
19649 problem somewhere and the pointer is stale and
19650 refers to an already destroyed miniobject).
19652 2005-11-03 Julien MOUTTE <julien@moutte.net>
19654 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19656 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19658 * docs/manual/advanced-position.xml:
19659 Update seek example and explanations to current 0.9 API.
19661 * gst/elements/gsttypefindelement.c:
19662 (gst_type_find_element_activate):
19663 Remove FIXME comment now that the found caps
19666 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19668 * gst/gstregistryxml.c: (load_feature):
19669 Add another GST_STR_NULL instance
19671 2005-11-02 Edward Hervey <edward@fluendo.com>
19673 * gst/gstpad.c: (handle_pad_block):
19674 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19676 2005-11-02 Wim Taymans <wim@fluendo.com>
19681 * gst/gstelement.c: (gst_element_commit_state):
19682 Remove unused value.
19684 * gst/gstiterator.c:
19685 Mention that the returned element is reffed in the docs.
19687 2005-11-02 Wim Taymans <wim@fluendo.com>
19689 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19690 (gst_pad_push), (gst_pad_push_event):
19691 Unlock blocked pads when they are flushed.
19693 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19696 * docs/gst/gstreamer-sections.txt:
19699 * gst/gstregistry.c: (gst_registry_scan_path_level):
19700 fix for a nasty little missed situation where an installed plug-in
19701 which was in the cache did not get overridden by an uninstalled one
19702 which was earlier in the plugin path because the newly created plugin
19703 for the uninstalled one (not in the registry) didn't get its
19704 ->registered set to TRUE
19706 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19708 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19709 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19710 (gst_collectpads_is_active), (gst_collectpads_collect),
19711 (gst_collectpads_collect_range), (gst_collectpads_start),
19712 (gst_collectpads_stop), (gst_collectpads_peek),
19713 (gst_collectpads_pop), (gst_collectpads_available),
19714 (gst_collectpads_read), (gst_collectpads_flush):
19715 Guard public API with assertions.
19718 Fix docs for gst_pad_set_link_function().
19720 2005-11-02 Johan Dahlin <johan@gnome.org>
19722 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19723 Unref found_caps after we used it.
19725 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19727 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19728 Don't try to ref NULL.
19730 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19732 * win32/common/config.h.in:
19733 provide a GST_FUNCTION that just gives a string for now
19735 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19737 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19738 (gst_object_flags_get_type), (register_gst_bin_flags),
19739 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19740 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19741 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19742 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19743 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19744 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19745 (gst_clock_flags_get_type), (register_gst_state),
19746 (gst_state_get_type), (register_gst_state_change_return),
19747 (gst_state_change_return_get_type), (register_gst_state_change),
19748 (gst_state_change_get_type), (register_gst_element_flags),
19749 (gst_element_flags_get_type), (register_gst_core_error),
19750 (gst_core_error_get_type), (register_gst_library_error),
19751 (gst_library_error_get_type), (register_gst_resource_error),
19752 (gst_resource_error_get_type), (register_gst_stream_error),
19753 (gst_stream_error_get_type), (register_gst_event_type),
19754 (gst_event_type_get_type), (register_gst_seek_type),
19755 (gst_seek_type_get_type), (register_gst_seek_flags),
19756 (gst_seek_flags_get_type), (register_gst_format),
19757 (gst_format_get_type), (register_gst_index_certainty),
19758 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19759 (gst_index_entry_type_get_type),
19760 (register_gst_index_lookup_method),
19761 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19762 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19763 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19764 (gst_index_flags_get_type), (register_gst_debug_level),
19765 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19766 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19767 (gst_iterator_result_get_type), (register_gst_iterator_item),
19768 (gst_iterator_item_get_type), (register_gst_message_type),
19769 (gst_message_type_get_type), (register_gst_mini_object_flags),
19770 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19771 (gst_pad_link_return_get_type), (register_gst_flow_return),
19772 (gst_flow_return_get_type), (register_gst_activate_mode),
19773 (gst_activate_mode_get_type), (register_gst_pad_direction),
19774 (gst_pad_direction_get_type), (register_gst_pad_flags),
19775 (gst_pad_flags_get_type), (register_gst_pad_presence),
19776 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19777 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19778 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19779 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19780 (gst_plugin_flags_get_type), (register_gst_rank),
19781 (gst_rank_get_type), (register_gst_query_type),
19782 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19783 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19784 (gst_tag_flag_get_type), (register_gst_task_state),
19785 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19786 (gst_alloc_trace_flags_get_type),
19787 (register_gst_type_find_probability),
19788 (gst_type_find_probability_get_type), (register_gst_uri_type),
19789 (gst_uri_type_get_type), (register_gst_parse_error),
19790 (gst_parse_error_get_type):
19791 * win32/common/gstversion.h:
19792 update win32 copies
19794 2005-11-01 Luca Ognibene <luogni@tin.it>
19797 fix docs. popt is dead, long live GOption.
19799 2005-10-31 Wim Taymans <wim@fluendo.com>
19804 2005-10-31 Andy Wingo <wingo@pobox.com>
19808 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19810 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19811 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19812 the possibility of deadlocks here if code calling notify() or
19813 set() has a lock that can be taken in another notify handler (ABBA
19814 with class lock and e.g. python GIL state lock).
19816 2005-10-28 Julien MOUTTE <julien@moutte.net>
19818 * gst/gstbus.c: Doc updates.
19820 2005-10-28 Wim Taymans <wim@fluendo.com>
19822 * docs/design/part-TODO.txt:
19823 * gst/gstiterator.c:
19824 * gst/gstsystemclock.c:
19825 * gst/gstsystemclock.h:
19828 2005-10-28 Edward Hervey <edward@fluendo.com>
19830 * docs/gst/gstreamer-docs.sgml:
19831 * docs/gst/gstreamer-sections.txt:
19832 the GstURIType documentation page is private, it only defines GstURIType
19833 which should be defined in the GstURIHandler page
19835 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19837 * gst/gstbin.c: (gst_bin_class_init):
19840 Documentation updates.
19842 2005-10-28 Wim Taymans <wim@fluendo.com>
19844 * docs/gst/gstreamer-sections.txt:
19847 Documented the clocks.
19849 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19851 * docs/gst/gstreamer-sections.txt:
19852 move some macros to private sections
19853 * gst/gstminiobject.c:
19854 * gst/gstminiobject.h:
19855 add descriptions provided by ds and some more
19857 mark macro as to be removed
19859 2005-10-28 Wim Taymans <wim@fluendo.com>
19861 * docs/design/part-TODO.txt:
19862 Add an item to TODO.
19864 * gst/gstiterator.c: (gst_iterator_fold),
19865 (gst_iterator_find_custom):
19866 * gst/gstiterator.h:
19869 2005-10-28 Wim Taymans <wim@fluendo.com>
19871 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19872 (gst_base_transform_init):
19875 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19876 An EOS event marks the queue as completely filled.
19878 2005-10-27 Wim Taymans <wim@fluendo.com>
19880 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19881 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19882 Some more debugging.
19884 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19885 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19886 (gst_base_transform_event), (gst_base_transform_getrange),
19887 (gst_base_transform_chain):
19888 * gst/base/gstbasetransform.h:
19890 Protect transform and concurrent buffer alloc with a new lock.
19891 Try not to break ABI/API.
19893 2005-10-27 Wim Taymans <wim@fluendo.com>
19895 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19896 (gst_base_src_init), (gst_base_src_query),
19897 (gst_base_src_default_newsegment),
19898 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19899 (gst_base_src_send_event), (gst_base_src_event_handler),
19900 (gst_base_src_pad_get_range), (gst_base_src_loop),
19901 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19902 (gst_base_src_start), (gst_base_src_deactivate),
19903 (gst_base_src_activate_push), (gst_base_src_change_state):
19904 Move some stuff around and cleanup things.
19906 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19908 * gst/base/gstbasesrc.c: (gst_base_src_query):
19909 Add missing break statements.
19911 2005-10-27 Wim Taymans <wim@fluendo.com>
19913 * check/gst/gstbin.c: (GST_START_TEST):
19914 An extra refcount is taken in basesrc.
19916 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19917 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19918 (gst_base_src_loop):
19919 Small cleanups, check for flushing after being unlocked from the
19920 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19921 Don't send out EOS when going to READY.
19923 2005-10-27 Wim Taymans <wim@fluendo.com>
19925 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19926 (gst_base_sink_get_position):
19929 * gst/gstbin.c: (message_check), (bin_replace_message),
19930 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19931 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19932 (bin_query_duration_init), (bin_query_duration_fold),
19933 (bin_query_duration_done), (bin_query_generic_fold),
19935 * tools/gst-launch.c: (main):
19938 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19940 * examples/controller/audio-example.c: (main):
19941 * examples/queue/queue.c: (event_loop):
19942 * gst/base/gstbasetransform.h:
19943 * gst/gstelement.c: (gst_element_send_event):
19945 * gst/gstpad.c: (gst_pad_send_event):
19948 changing log priority in error situations
19950 2005-10-25 Wim Taymans <wim@fluendo.com>
19952 * gst/gstbin.c: (message_check), (bin_replace_message),
19953 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19954 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19955 (bin_query_duration_init), (bin_query_duration_fold),
19956 (bin_query_duration_done), (bin_query_generic_fold),
19958 Some doc and debug updates.
19959 Cache previously requested query DURATION for speed. invalidate
19960 cached duration if element posts a DURATION message.
19962 2005-10-25 Wim Taymans <wim@fluendo.com>
19964 * docs/design/part-TODO.txt:
19967 * gst/gstbin.c: (message_check), (bin_replace_message),
19968 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19969 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19970 (bin_query_duration_init), (bin_query_duration_fold),
19971 (bin_query_duration_done), (bin_query_generic_fold),
19973 Handle SEGMENT_START/DONE messages correctly.
19974 More evolved query algorithm that handles duration queries
19977 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19978 (gst_element_get_state_func), (gst_element_abort_state),
19979 (gst_element_commit_state), (gst_element_lost_state):
19980 Some more debugging.
19982 * gst/gstmessage.h:
19985 2005-10-25 Wim Taymans <wim@fluendo.com>
19987 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19988 Don't use invalid stream_time.
19990 * gst/gstevent.c: (gst_event_new_newsegment):
19991 stream_time in newsegment cannot be undefined.
19993 2005-10-24 Wim Taymans <wim@fluendo.com>
19998 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
20000 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
20002 2005-10-24 Stefan Kost <ensonic@users.sf.net>
20004 * docs/libs/tmpl/gstdparam.sgml:
20005 * docs/libs/tmpl/gstdplinint.sgml:
20006 * docs/libs/tmpl/gstdpman.sgml:
20007 * docs/libs/tmpl/gstdpsmooth.sgml:
20008 * docs/libs/tmpl/gstunitconvert.sgml:
20011 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
20016 === release 0.9.4 ===
20018 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20021 releasing 0.9.4, "Tyrannosaurus Rex"
20023 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
20025 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20026 (gst_file_sink_get_current_offset):
20027 Use fseeko() and ftello() if available. When falling back on
20028 lseek() to get the current offset, fflush() first to make sure
20029 everything is up-to-date and we get the right offset.
20031 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
20033 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20034 * gst/base/gstbasesrc.c: (gst_base_src_loop):
20035 * gst/gsterror.c: (_gst_stream_errors_init):
20037 * gst/gstqueue.c: (gst_queue_loop):
20039 remove prematurely added error category and clean up the instances
20041 2005-10-21 Wim Taymans <wim@fluendo.com>
20043 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20044 (gst_base_sink_get_position), (gst_base_sink_query),
20045 (gst_base_sink_change_state):
20046 Simply set the right flag when going to playing, that's all
20047 we need to do instead of calling a function inside the object
20048 lock (that could take the lock as well and deadlock)
20050 2005-10-21 Wim Taymans <wim@fluendo.com>
20052 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
20053 (gst_base_src_loop):
20054 Don't warn, the peer element knows what to do best when
20055 the seek failed, it might try something else.
20057 2005-10-21 Wim Taymans <wim@fluendo.com>
20059 * gst/base/gstbasesrc.c: (gst_base_src_init),
20060 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
20063 2005-10-21 Wim Taymans <wim@fluendo.com>
20065 * docs/design/part-segments.txt:
20068 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
20069 Correctly set caps, even on the subbufer.
20071 2005-10-21 Wim Taymans <wim@fluendo.com>
20073 * docs/gst/gstreamer-docs.sgml:
20074 * docs/gst/gstreamer-sections.txt:
20075 * gst/gstelement.h:
20078 * gst/gstmessage.h:
20081 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
20085 And 2% more doc coverage.
20087 2005-10-21 Andy Wingo <wingo@pobox.com>
20089 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
20090 position reporting.
20092 2005-10-20 Wim Taymans <wim@fluendo.com>
20094 * gst/gsterror.c: (gst_error_get_message):
20097 * gst/gststructure.c:
20102 2005-10-20 Wim Taymans <wim@fluendo.com>
20107 Another 1% more coverage.
20109 2005-10-20 Wim Taymans <wim@fluendo.com>
20111 * docs/gst/gstreamer-sections.txt:
20112 * gst/gstelement.c: (gst_element_get_state_func),
20113 (gst_element_abort_state), (gst_element_commit_state),
20114 (gst_element_lost_state):
20116 * gst/gstquery.c: (gst_query_set_position),
20117 (gst_query_parse_position), (gst_query_set_duration),
20118 (gst_query_parse_duration), (gst_query_new_convert):
20120 Yay! 1% more docs coverage.
20122 2005-10-20 Wim Taymans <wim@fluendo.com>
20125 * gst/gstquery.c: (gst_query_set_position),
20126 (gst_query_parse_position), (gst_query_set_duration),
20127 (gst_query_parse_duration), (gst_query_new_convert):
20129 * gst/gstutils.c: (gst_element_query_convert):
20131 Docs and consistency fixes.
20133 2005-10-20 Wim Taymans <wim@fluendo.com>
20139 2005-10-20 Wim Taymans <wim@fluendo.com>
20141 * gst/gstbin.c: (message_check), (bin_replace_message),
20142 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20143 (update_degree), (gst_bin_sort_iterator_next),
20144 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20145 Reworked the message handling a bit, cache the messages instead of
20146 only the senders. alows us to do more in the future.
20148 2005-10-20 Wim Taymans <wim@fluendo.com>
20150 * docs/design/part-TODO.txt:
20153 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20154 (gst_base_sink_query):
20155 Don't use clock time to report position when in EOS.
20157 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20159 * tools/gst-inspect.c: (print_interfaces),
20160 (print_element_properties_info), (print_element_info):
20161 Fix interface output with gst-inspect -a; don't print
20162 newlines after double/float properties.
20164 2005-10-20 Wim Taymans <wim@fluendo.com>
20166 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20167 (gst_base_sink_query):
20168 Speed up current position calculation.
20170 * gst/base/gstbasesrc.c: (gst_base_src_query),
20171 (gst_base_src_default_newsegment):
20172 Correctly set stream position in newsegment.
20174 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20175 (update_degree), (gst_bin_sort_iterator_next),
20176 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20177 * gst/gstmessage.c: (gst_message_new_custom):
20178 Clean up debugging info
20180 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20181 (gst_queue_loop), (gst_queue_handle_src_query):
20184 2005-10-19 Wim Taymans <wim@fluendo.com>
20186 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20187 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20188 Fix query handling again.
20190 2005-10-19 Wim Taymans <wim@fluendo.com>
20192 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20193 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20194 * gst/base/gstbasesrc.c: (gst_base_src_query):
20195 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20196 * gst/elements/gsttypefindelement.c:
20197 (gst_type_find_handle_src_query), (find_element_get_length),
20198 (gst_type_find_element_activate):
20201 * gst/gstquery.c: (gst_query_new_position),
20202 (gst_query_set_position), (gst_query_parse_position),
20203 (gst_query_new_duration), (gst_query_set_duration),
20204 (gst_query_parse_duration), (gst_query_set_segment),
20205 (gst_query_parse_segment):
20207 Bundling query position/duration is not a good idea since duration
20208 does not change much and we don't want to recalculate it for every
20209 position query, so they are separated again..
20210 Base value in segment query is not needed.
20212 * gst/gstqueue.c: (gst_queue_handle_src_query):
20213 * gst/gstutils.c: (gst_element_query_position),
20214 (gst_element_query_duration), (gst_pad_query_position),
20215 (gst_pad_query_duration):
20217 Updates for query API change.
20218 Added some docs here and there.
20220 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20222 * check/gst/gstbin.c: (GST_START_TEST):
20223 * check/gst/gstghostpad.c: (GST_START_TEST):
20224 * check/pipelines/cleanup.c: (GST_START_TEST):
20225 wait on thread to die so we can check refcount correctly
20227 2005-10-18 Wim Taymans <wim@fluendo.com>
20229 * check/pipelines/stress.c: (GST_START_TEST):
20230 Make check a little more time consuming.
20232 2005-10-18 Wim Taymans <wim@fluendo.com>
20234 * check/Makefile.am:
20235 * check/pipelines/stress.c: (GST_START_TEST),
20236 (simple_launch_lines_suite), (main):
20237 Small state change torture test.
20239 * docs/design/part-states.txt:
20240 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20241 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20242 (gst_base_sink_change_state):
20243 Never take state lock from streaming thread, clean up ugly
20244 hacks. Unfortunatly core does not yet support nice ways to
20245 async commit state.
20247 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20249 Start state recalc if a STATE_DIRTY message is posted, but only
20250 on the toplevel bin.
20252 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20253 (gst_element_get_state_func), (gst_element_abort_state),
20254 (gst_element_commit_state), (gst_element_lost_state),
20255 (gst_element_set_state_func), (gst_element_change_state):
20256 * gst/gstelement.h:
20257 State variables are now protected with the LOCK, the state
20258 lock is only used to serialize _set_state().
20260 2005-10-18 Wim Taymans <wim@fluendo.com>
20262 * check/gst/gstbin.c: (GST_START_TEST):
20263 * check/gst/gstmessage.c: (GST_START_TEST):
20264 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20265 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20267 * gst/gstelement.c: (gst_element_abort_state),
20268 (gst_element_commit_state), (gst_element_lost_state):
20269 * gst/gstmessage.c: (gst_message_new_state_changed),
20270 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20271 (gst_message_new_segment_done), (gst_message_new_duration),
20272 (gst_message_parse_state_changed),
20273 (gst_message_parse_segment_start),
20274 (gst_message_parse_segment_done), (gst_message_parse_duration):
20275 * gst/gstmessage.h:
20276 * tools/gst-launch.c: (event_loop):
20277 Seriously, this is better than a previous commit as we only need
20278 to notify the fact that an element changed state in a streaming
20279 thread, marking the state of the parents dirty, hence the
20280 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20283 2005-10-18 Wim Taymans <wim@fluendo.com>
20285 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20286 (gst_bin_recalc_func):
20287 * gst/gstelement.c: (gst_element_set_clock),
20288 (gst_element_abort_state), (gst_element_lost_state):
20289 Cleanups, prepare for state change fixes.
20291 2005-10-18 Wim Taymans <wim@fluendo.com>
20294 * gst/gstelement.c: (gst_element_class_init),
20295 (gst_element_set_state), (gst_element_set_state_func):
20296 * gst/gstelement.h:
20297 Pending ABI changes.
20298 GThreadPool in GstBinClass to monitor async state changes.
20299 state_cookie in GstElement to detect concurrent gst/set state.
20300 set_state is now virtual too in case a very complicated element
20301 has to be constructed.
20303 2005-10-18 Wim Taymans <wim@fluendo.com>
20305 * check/gst/gstbin.c: (GST_START_TEST):
20306 * check/gst/gstmessage.c: (GST_START_TEST):
20307 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20308 * gst/gstbin.c: (bin_bus_handler):
20309 * gst/gstelement.c: (gst_element_commit_state),
20310 (gst_element_lost_state):
20311 * gst/gstmessage.c: (gst_message_new_state_changed),
20312 (gst_message_new_segment_start), (gst_message_new_segment_done),
20313 (gst_message_new_duration), (gst_message_parse_state_changed),
20314 (gst_message_parse_segment_start),
20315 (gst_message_parse_segment_done), (gst_message_parse_duration):
20316 * gst/gstmessage.h:
20317 * tools/gst-launch.c: (event_loop):
20318 Make messages future proof.
20319 state-change gets a flag if it was a message comming from the
20321 segment-start/stop can also be specified in other formats.
20322 A message to notify an app that a pipeline changed playback
20324 Also fix a GstMessage leak in -launch
20326 2005-10-18 Andy Wingo <wingo@pobox.com>
20328 * gst/gstelement.c (gst_element_dispose): More helpful message.
20330 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20332 reviewed by: <delete if not using a buddy>
20334 * common/gtk-doc.mak:
20336 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20338 * gst/gstregistry.c: (gst_registry_scan_path_level):
20339 unref a plug-in we get that was already initialized
20341 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20343 * docs/gst/gstreamer-sections.txt:
20344 * docs/libs/gstreamer-libs-sections.txt:
20345 * gst/gstelement.h:
20346 add new api entries
20347 hide internal macro
20349 2005-10-17 Andy Wingo <wingo@pobox.com>
20351 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20354 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20356 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20358 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20359 (gst_element_get_state_func): Better debug message.
20360 (gst_element_commit_state): s/INFO/DEBUG/.
20361 (gst_element_lost_state, gst_element_change_state):
20363 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20364 (gst_message_new_custom): s/INFO/LOG/.
20366 2005-10-17 Michael Smith <msmith@fluendo.com>
20368 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20369 Check if end time is valid using end time, not start time.
20371 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20373 * check/gst-libs/controller.c: (GST_START_TEST),
20374 (gst_controller_suite):
20375 * libs/gst/controller/gstcontroller.c:
20376 (gst_controlled_property_set_interpolation_mode):
20377 * libs/gst/controller/gstcontroller.h:
20378 * libs/gst/controller/gstinterpolation.c:
20379 * testsuite/controller/.cvsignore:
20380 * testsuite/controller/Makefile.am:
20381 * testsuite/controller/interpolator.c:
20382 merge controller testsuites
20384 remove mem-chunk from docs
20386 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20388 * gst/gstmemchunk.c:
20389 * gst/gstmemchunk.h:
20390 * gst/gsttrashstack.c:
20391 * gst/gsttrashstack.h:
20392 out. get out. you're fired. to the Attic !
20394 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20396 * gst/gstcaps.c: (gst_caps_intersect):
20397 fix signedness issues in a (hopefully) correct way
20398 * gst/gstelement.c: (gst_element_pads_activate):
20400 * gst/gstobject.c: (gst_object_set_parent):
20403 2005-10-17 Julien MOUTTE <julien@moutte.net>
20405 * gst/gstvalue.h: Fix prototypes.
20407 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20409 * docs/gst/gstreamer-sections.txt:
20410 * gst/gst.c: (gst_version_string):
20412 * gst/gstversion.h.in:
20413 * win32/common/libgstreamer.def:
20414 add gst_version_string ()
20416 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20420 * gst/gst.c: (init_post):
20421 * win32/common/config.h.in:
20423 * gst/gstcaps.c: (gst_caps_intersect):
20424 use gint64, the range could be bigger than a guint
20426 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20429 document potential problem in 2038
20431 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20433 * gst/gstcaps.c: (gst_caps_intersect):
20434 Fix guint j diving under 0
20436 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20439 * win32/common/config.h:
20440 * win32/common/config.h.in:
20441 check for process.h, declares getpid() on Windows
20443 include process.h if we have it
20444 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20445 * gst/gstmemchunk.h:
20446 fix signedness issues
20447 * win32/common/libgstreamer.def:
20450 2005-10-16 Julien MOUTTE <julien@moutte.net>
20452 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20453 fix. Because of unsigned ints, caps intersection was going nuts and
20454 trying to access structures with G_MAXUINT index. That fixes
20455 videotestsrc ! ffmpegcolorspace ! fakesink
20456 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20459 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20462 use the gettext macro
20463 * gst/elements/gstelements.c:
20465 * gst/indexers/gstindexers.c:
20466 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20467 * win32/common/config.h:
20469 * win32/common/config.h.in:
20470 add the template to generate config.h
20471 * win32/common/gstenumtypes.c:
20472 * win32/common/gstversion.h:
20475 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20477 * gst/gst.c: (gst_version):
20478 * gst/gstversion.h.in:
20481 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20484 Oops, add missing closing bracket.
20486 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20489 use common m4's for argument checking
20491 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20493 * docs/gst/gstreamer-sections.txt:
20495 Add GST_EVENT_TYPE_NAME() macro.
20497 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20500 * gst/gstpluginfeature.c:
20502 privatize more symbols
20504 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20507 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20508 everything that uses GStreamer API should have the includes
20510 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20512 * docs/gst/gstreamer-sections.txt:
20513 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20515 give each value a _get_type, removes the DATA exports
20517 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20521 remove _gst_registry_auto_load, not used anymore
20522 * gst/gstbin.c: (gst_bin_get_type):
20524 * gst/gstelement.c: (gst_element_get_type):
20525 * gst/gstelement.h:
20526 * gst/gstobject.c: (gst_object_get_type):
20528 * gst/gstpad.c: (gst_pad_get_type):
20530 make _get_type functions similar, fixes data export from library
20532 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20535 correctly make conditionals
20536 * gst/elements/Makefile.am:
20537 * gst/elements/gstelements.c:
20538 fix typo causing fdsrc not to build
20540 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20542 * testsuite/Makefile.am:
20543 * testsuite/bytestream/.cvsignore:
20544 * testsuite/bytestream/Makefile.am:
20545 * testsuite/bytestream/filepadsink.c:
20546 * testsuite/bytestream/gstbstest.c:
20547 * testsuite/bytestream/test1.c:
20548 * testsuite/bytestream/testfile1:
20549 * testsuite/caps/normalisation.c:
20550 * testsuite/caps/random.c: (main):
20551 * testsuite/cleanup/.cvsignore:
20552 * testsuite/cleanup/Makefile.am:
20553 * testsuite/cleanup/cleanup1.c:
20554 * testsuite/cleanup/cleanup2.c:
20555 * testsuite/cleanup/cleanup3.c:
20556 * testsuite/cleanup/cleanup4.c:
20557 * testsuite/cleanup/cleanup5.c:
20558 * testsuite/controller/interpolator.c:
20559 * testsuite/debug/printf_extension.c: (main):
20560 * testsuite/elements/tee.c:
20561 * testsuite/negotiation/.cvsignore:
20562 * testsuite/negotiation/Makefile.am:
20563 * testsuite/negotiation/pad_link.c:
20564 * testsuite/pad/Makefile.am:
20565 * testsuite/pad/chainnopull.c:
20566 * testsuite/pad/getnopush.c:
20567 * testsuite/pad/link.c:
20568 * testsuite/refcounting/sched.c: (create_pipeline):
20569 * testsuite/registry/Makefile.am:
20570 * testsuite/registry/gst-print-formats.c:
20571 * testsuite/schedulers/.cvsignore:
20572 * testsuite/schedulers/142183-2.c:
20573 * testsuite/schedulers/142183.c:
20574 * testsuite/schedulers/143777-2.c:
20575 * testsuite/schedulers/143777.c:
20576 * testsuite/schedulers/147713.c:
20577 * testsuite/schedulers/147819.c:
20578 * testsuite/schedulers/147894-2.c:
20579 * testsuite/schedulers/147894.c:
20580 * testsuite/schedulers/Makefile.am:
20581 * testsuite/schedulers/group_link.c:
20582 * testsuite/schedulers/queue_link.c:
20583 * testsuite/schedulers/relink.c:
20584 * testsuite/schedulers/unlink.c:
20585 * testsuite/schedulers/unref.c:
20586 * testsuite/schedulers/useless_iteration.c:
20587 * testsuite/states/bin.c:
20588 clean out/remove some stuff from the testsuite directories
20590 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20593 check for some headers
20594 * gst/elements/Makefile.am:
20595 * gst/elements/gstelements.c:
20596 don't compile fdsrc without sys/socket.h
20597 * gst/indexers/Makefile.am:
20598 * gst/indexers/gstindexers.c: (plugin_init):
20599 don't compile fileindex without mmap
20601 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20608 * check/Makefile.am:
20609 * docs/gst/Makefile.am:
20610 * examples/helloworld/Makefile.am:
20612 * gst/base/Makefile.am:
20613 * gst/check/Makefile.am:
20614 * gst/elements/Makefile.am:
20615 * gst/indexers/Makefile.am:
20616 * gst/parse/Makefile.am:
20617 * libs/gst/controller/Makefile.am:
20618 * libs/gst/dataprotocol/Makefile.am:
20619 * examples/helloworld/helloworld.c: (event_loop):
20620 compile fixes, though it's not being compiled currently
20622 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20624 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20625 Add some simple tests for the new taglist date API.
20627 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20629 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20630 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20631 Beautify 'last-message' output: print 'none' for buffer timestamps
20632 and durations if none is set; improve alignment with next messages.
20634 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20636 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20637 * gst/gstpluginfeature.h:
20638 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20639 * gst/gstregistry.h:
20640 * docs/gst/gstreamer-sections.txt:
20641 Add new API to check plugin feature version requirements.
20643 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20644 Some basic tests for the above.
20646 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20648 * gst/gststructure.c: (gst_structure_to_string):
20649 guard against NULL printf - happens when for example
20650 a message structure with GstClock gets serialized
20652 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20654 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20655 Fix presumable copy'n'pasto.
20657 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20659 * gst/elements/gstfakesrc.h:
20660 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20661 * gst/elements/gsttypefindelement.c:
20662 fix some signedness
20663 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20664 I wonder if this could actually write +2GB files before
20666 2005-10-13 Andy Wingo <wingo@pobox.com>
20668 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20669 Fix Timmeke Waymans bug.
20670 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20671 string of the proper length to gst_caps_from_string. There's a
20672 potential for, before this fix, that this could cause someone
20673 connecting over the network to cause a segfault if the payload is
20674 not NUL-terminated.
20676 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20678 * docs/design/draft-push-pull.txt:
20679 * docs/design/part-overview.txt:
20680 * docs/random/TODO-pre-0.9:
20681 * docs/random/old/ChangeLog.gstreamer:
20682 * gst/base/gstpushsrc.c:
20686 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20688 * gst/glib-compat.c: (gst_flags_get_first_value):
20689 * gst/glib-compat.h:
20690 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20691 (gst_value_compare_double), (gst_value_serialize_flags):
20692 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20695 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20697 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20698 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20700 * tools/gst-launch.c: (event_loop):
20701 print out clock nicely
20703 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20705 * docs/gst/gstreamer-sections.txt:
20706 * gst/gsttaglist.h:
20707 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20708 (gst_tag_list_get_date_index):
20709 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20710 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20712 2005-10-13 Julien MOUTTE <julien@moutte.net>
20714 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20715 (gst_collectpads_chain):
20716 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20719 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20721 * docs/gst/gstreamer-sections.txt:
20724 * tools/gst-inspect.c: (main):
20725 * tools/gst-launch.c: (main):
20726 * tools/gst-run.c: (main):
20727 * tools/gst-xmlinspect.c: (main):
20728 fix GOption context leaks
20731 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20735 * win32/common/config.h:
20737 * win32/vs6/grammar.dsp:
20738 * win32/vs6/libgstelements.dsp:
20739 * win32/vs6/libgstreamer.dsp:
20742 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20744 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20745 * gst/base/gstbasesrc.c: (gst_base_src_query):
20746 fix more guint64<->gdouble conversions
20748 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20751 add win32-update target
20752 * win32/common/gstconfig.h:
20753 * win32/common/gstenumtypes.c:
20754 * win32/common/gstenumtypes.h:
20755 * win32/common/gstversion.h:
20756 add files that visual studio can't generate
20758 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20761 add a win32-update target
20764 2005-10-12 Wim Taymans <wim@fluendo.com>
20766 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20767 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20768 * gst/gstelement.c: (gst_element_commit_state),
20769 (gst_element_set_state):
20770 Protect flags with proper lock.
20771 unref provided cached clock in dispose.
20773 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20776 * gst/gstminiobject.h:
20778 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20779 removed unused flags from miniobject
20782 2005-10-12 Wim Taymans <wim@fluendo.com>
20784 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20785 (gst_file_sink_event), (gst_file_sink_render):
20786 Flush before seeking.
20788 2005-10-12 Andy Wingo <wingo@pobox.com>
20790 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20791 always been the case.
20793 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20795 * check/gst/gstbin.c: (GST_START_TEST):
20796 * docs/gst/gstreamer-sections.txt:
20797 * gst/base/gstbasesink.c: (gst_base_sink_init):
20798 * gst/base/gstbasesrc.c: (gst_base_src_init),
20799 (gst_base_src_get_range), (gst_base_src_check_get_range),
20800 (gst_base_src_start), (gst_base_src_stop):
20801 * gst/base/gstbasesrc.h:
20802 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20803 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20804 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20808 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20810 * gst/gstelement.c: (gst_element_is_locked_state),
20811 (gst_element_set_locked_state), (gst_element_commit_state),
20812 (gst_element_set_state):
20813 * gst/gstelement.h:
20814 * gst/gstindex.c: (gst_index_init):
20816 * gst/gstminiobject.h:
20817 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20818 (gst_object_set_parent):
20820 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20821 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20823 * gst/gstpadtemplate.h:
20824 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20825 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20826 * gst/gstpipeline.h:
20827 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20828 (gst_file_index_commit):
20829 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20830 * testsuite/pad/link.c: (gst_test_src_init),
20831 (gst_test_filter_init), (gst_test_sink_init):
20832 * testsuite/states/locked.c: (main):
20833 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20834 moved bitshift from macro to enum definition
20836 2005-10-12 Wim Taymans <wim@fluendo.com>
20838 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20839 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20840 (gst_file_sink_render):
20841 Some more debugging info.
20843 2005-10-12 Wim Taymans <wim@fluendo.com>
20845 * docs/design/part-states.txt:
20846 * tools/gst-launch.c: (main):
20848 Revert non-intentional change.
20850 2005-10-12 Wim Taymans <wim@fluendo.com>
20852 * check/gst/gstbin.c: (GST_START_TEST):
20853 * check/gst/gstelement.c: (GST_START_TEST):
20854 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20855 * check/gst/gstghostpad.c: (GST_START_TEST):
20856 * check/gst/gstpipeline.c: (GST_START_TEST):
20857 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20858 * check/states/sinks.c: (GST_START_TEST):
20859 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20860 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20861 (gst_bin_remove_func), (gst_bin_get_state_func),
20862 (gst_bin_recalc_state), (gst_bin_change_state_func),
20864 * gst/gstelement.c: (gst_element_get_state_func),
20865 (gst_element_get_state), (gst_element_abort_state),
20866 (gst_element_commit_state), (gst_element_set_state),
20867 (gst_element_change_state), (gst_element_change_state_func):
20868 * gst/gstelement.h:
20869 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20870 (gst_pipeline_provide_clock_func):
20871 * gst/gstutils.c: (gst_element_link_pads_filtered):
20872 * tools/gst-launch.c: (main):
20873 * tools/gst-typefind.c: (main):
20874 Use GstClockTime in _get_state() instead of GTimeVal.
20875 Remove old code in gstutils.c
20877 2005-10-12 Andy Wingo <wingo@pobox.com>
20879 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20882 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20883 there is no task. Shouldn't affect any code, as nothing in our
20884 plugins checks this return value.
20885 (gst_pad_stop_task): Also take the stream lock if the pad has no
20886 task. Docs updated.
20888 2005-10-12 Wim Taymans <wim@fluendo.com>
20890 * gst/gstpad.c: (pre_activate), (post_activate),
20891 (gst_pad_activate_pull), (gst_pad_activate_push):
20892 Cleanup activation code. Reset old state if
20895 2005-10-12 Wim Taymans <wim@fluendo.com>
20897 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20898 (gst_base_sink_change_state):
20899 No need to prerol after receiving EOS.
20901 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20902 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20903 * gst/elements/gstidentity.c: (gst_identity_event):
20904 Print events more verbosely.
20906 2005-10-12 Wim Taymans <wim@fluendo.com>
20908 * check/Makefile.am:
20909 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20910 * check/states/sinks2.c:
20911 Moved sinks2 testcode in sinks check.
20913 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20914 (gst_bin_remove_func), (gst_bin_recalc_state),
20915 (gst_bin_change_state_func), (bin_bus_handler):
20916 Fix potential race condition when _get_state() iterated over an
20917 ASYNC element right before it posted a state completion.
20920 Do proper cast here.
20922 * gst/gstevent.c: (gst_event_new_newsegment),
20923 (gst_event_parse_newsegment):
20924 A playback rate of 0.0 is not allowed.
20926 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20928 * win32/common/config.h:
20929 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20930 (_trewinddir), (_ttelldir), (_tseekdir):
20931 * win32/common/dirent.h:
20932 * win32/common/gtchar.h:
20933 * win32/common/libgstbase.def:
20934 * win32/common/libgstreamer.def:
20935 * win32/vs6/grammar.dsp:
20936 * win32/vs6/gst_inspect.dsp:
20937 * win32/vs6/gst_launch.dsp:
20938 * win32/vs6/gstreamer.dsw:
20939 * win32/vs6/libgstbase.dsp:
20940 * win32/vs6/libgstelements.dsp:
20941 * win32/vs6/libgstreamer.dsp:
20942 Visual Studio 6 project files, and a new common directory.
20945 2005-10-11 Wim Taymans <wim@fluendo.com>
20947 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20948 (gst_base_sink_do_sync), (gst_base_sink_query),
20949 (gst_base_sink_change_state):
20950 * gst/base/gstbasesink.h:
20951 Correctly parse newsegment info.
20953 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20955 * gst/gst.c: (init_post):
20956 split plugin paths correctly
20958 2005-10-11 Wim Taymans <wim@fluendo.com>
20960 * check/gst/gstevent.c: (GST_START_TEST):
20961 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20962 (gst_base_sink_change_state):
20963 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20964 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20965 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20966 * gst/gstevent.c: (gst_event_new_newsegment),
20967 (gst_event_parse_newsegment):
20969 Added extra flag to newsegment for future API freeze.
20970 Updated check and base elements.
20972 2005-10-11 Julien MOUTTE <julien@moutte.net>
20974 * gst/base/gstcollectpads.c: (gst_collectpads_init),
20975 (gst_collectpads_add_pad), (gst_collectpads_pop),
20976 (gst_collectpads_event), (gst_collectpads_chain):
20977 * gst/base/gstcollectpads.h: Handle EOS correctly.
20979 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20981 * tools/gst-launch.c: (main):
20982 more null protecting
20984 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20986 * gst/gst-i18n-lib.h:
20987 check for ENABLE_NLS, not GETTEXT_PACKAGE
20988 * gst/gstregistry.c: (gst_registry_add_plugin),
20989 (gst_registry_scan_path_level),
20990 (_gst_registry_remove_cache_plugins):
20991 protect possibly NULL strings
20992 * gst/parse/types.h:
20993 config.h already included before
20994 * tools/gst-inspect.c: (main):
20995 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20996 check for ENABLE_NLS, not GETTEXT_PACKAGE
20997 * tools/gst-launch.c: (main):
20998 check for ENABLE_NLS, not GETTEXT_PACKAGE
21000 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21003 if we don't have glib, fail before testing 2.8
21004 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
21005 fix a leak, should fix plugins-base testsuite
21007 2005-10-11 Andy Wingo <wingo@pobox.com>
21009 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
21010 take the mode we're going to as an arg. Go head and set the mode
21011 and flushing flags now, so that if the activate function starts a
21012 thread all the flags will be in the right state.
21013 (post_activate): Renamed also. Just handle making sure streaming
21014 finishes for the deactivation case, and setting the deactivated
21016 (gst_pad_set_active): Complain loudly if deactivation fails.
21017 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
21018 (gst_pad_activate_push): Adapt to pre/post_activate changes,
21019 remove the terrible hack.
21021 2005-10-11 Wim Taymans <wim@fluendo.com>
21023 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21024 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
21025 (gst_bin_recalc_state), (gst_bin_change_state_func),
21026 (gst_bin_dispose), (bin_bus_handler):
21028 Prepare to make current EOS message queue more generic.
21031 * gst/gstevent.c: (gst_event_new_newsegment),
21032 (gst_event_parse_newsegment):
21034 Rename base to stream_time.
21036 * gst/gstmessage.h:
21039 2005-10-11 Wim Taymans <wim@fluendo.com>
21041 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
21042 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
21043 (gst_bin_change_state_func), (bin_bus_handler):
21045 Work on proper clock selection.
21047 2005-10-11 Edward Hervey <edward@fluendo.com>
21049 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
21050 * libs/gst/controller/gstcontroller.h:
21051 Added GList* version of _remove_properties() in order to be able to wrap
21054 2005-10-11 Wim Taymans <wim@fluendo.com>
21056 * docs/design/part-states.txt:
21059 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
21060 (gst_bin_change_state_func), (bin_bus_handler):
21061 Doc updates. Don't distribute the same clock over and over again.
21067 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
21068 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
21069 (gst_pad_send_event):
21071 Make probe emission threadsafe again.
21072 Register quarks and move _get_name() from utils.
21075 * gst/gstpipeline.c: (gst_pipeline_class_init),
21076 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21077 Only redistribute the clock of it changed.
21079 * gst/gstsystemclock.h:
21084 Moved the _flow_get_name() to GstPad.
21086 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21088 * check/gst-libs/gdp.c: (GST_START_TEST):
21089 * check/gst/gstcaps.c: (GST_START_TEST):
21090 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21091 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21092 (gst_dp_packet_from_caps):
21093 fix more valgrind warnings before turning up the heat
21095 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21097 * gst/parse/grammar.y:
21098 some cleanup before the hacking
21100 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21102 * gst/base/gstbasesrc.c: (gst_base_src_query):
21104 * gst/gstutils.c: (gst_guint64_to_gdouble),
21105 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21107 externalize, basesrc uses it
21108 obviously the implementation needs testing
21110 2005-10-10 Wim Taymans <wim@fluendo.com>
21112 * tests/sched/Makefile.am:
21113 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21114 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21116 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21118 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21119 apparently converting from guint64 to double is not implemented
21122 2005-10-10 Wim Taymans <wim@fluendo.com>
21124 * check/Makefile.am:
21125 * check/generic/states.c: (GST_START_TEST):
21126 * check/gst/gstbin.c: (GST_START_TEST):
21127 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21128 * check/states/sinks.c: (GST_START_TEST):
21129 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21131 Check fixes, use API as stated in design docs, remove hacks.
21133 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21134 (gst_base_sink_change_state):
21135 Catch stopping our task while we're shutting down.
21137 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21138 (gst_bin_remove_func), (gst_bin_get_state_func),
21139 (gst_bin_recalc_state), (gst_bin_change_state_func),
21142 * gst/gstelement.c: (gst_element_init),
21143 (gst_element_get_state_func), (gst_element_abort_state),
21144 (gst_element_commit_state), (gst_element_lost_state),
21145 (gst_element_set_state), (gst_element_change_state),
21146 (gst_element_change_state_func):
21147 * gst/gstelement.h:
21148 New state change algorithm (see #318116)
21150 * gst/gstpipeline.c: (gst_pipeline_class_init),
21151 (gst_pipeline_init), (gst_pipeline_set_property),
21152 (gst_pipeline_get_property), (do_pipeline_seek),
21153 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21154 * gst/gstpipeline.h:
21155 Remove crude state change hacks.
21158 Remove crude hacks.
21160 * tools/gst-launch.c: (main):
21161 Fixes for state change. Needs some more work to fully use the
21164 2005-10-10 Andy Wingo <wingo@pobox.com>
21166 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21168 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21169 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21172 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21174 * gst/gstiterator.c: (gst_iterator_new):
21175 Fix my previous commit: GTypes passed to gst_iterator_new()
21176 can be fundamental types.
21178 2005-10-10 Wim Taymans <wim@fluendo.com>
21180 * gst/gstelement.c: (gst_element_iterate_pad_list),
21181 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21182 (gst_element_iterate_sink_pads):
21183 Use src/sink pads lists for the respective iterators instead
21186 2005-10-10 Andy Wingo <wingo@pobox.com>
21188 Merged in popt removal + GOption addition patch from Ronald, bug
21191 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21192 GstElement macros around, remove popt-related symbols, add goption
21195 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21197 * docs/gst/Makefile.am:
21198 * docs/libs/Makefile.am: No POPT_CFLAGS.
21200 * examples/manual/Makefile.am:
21201 * docs/manual/basics-init.xml: Doc updates with an example.
21203 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21204 (gst_init), (parse_one_option), (parse_goption_arg):
21205 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21206 bit of hand merging and debugging to get the GOption stuff working
21209 * tests/Makefile.am:
21210 * tools/Makefile.am:
21211 * tools/gst-inspect.c: (main):
21212 * tools/gst-launch.c: (main):
21213 * tools/gst-run.c: (main):
21214 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21216 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21218 * gst/gstiterator.c: (gst_iterator_new):
21219 Add assertions to make sure passed GType is likely to really
21220 be a GType (as the compiler won't catch it if the size and
21221 GType arguments get mixed up, see #318447).
21223 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21225 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21227 * gst/gstbin.c: (gst_bin_iterate_sorted):
21228 Pass GType and size arguments to gst_iterator_new() in the right
21229 order (maybe we should make _new() take the GType as first argument
21230 just like _new_list()?) (#318447).
21233 2005-10-10 Wim Taymans <wim@fluendo.com>
21235 * gst/gstelement.c: (gst_element_finalize):
21236 And free the GStaticRecMutex too
21238 2005-10-10 Andy Wingo <wingo@pobox.com>
21240 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21241 Allocate and free the mutex properly.
21243 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21245 (GstElement): The state_lock is now recursive. Rebuild your
21246 plugins, suckers. Old macros adapted.
21248 * docs/gst/gstreamer-sections.txt: Doc updates.
21251 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21252 (g_static_rec_cond_wait): Ported from state changes patch, while
21253 we wait on bug #317802 to be solved in a well-distributed GLib.
21255 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21256 gst_element_change_state, variable name changes.
21257 (gst_element_change_state): Split out of gst_element_set_state in
21258 preparation for the state change merge. Doesn't pay attention to
21259 the 'transition' argument.
21260 (gst_element_set_state): Updates, hopefully purely cosmetic.
21261 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21262 state change patch.
21263 (gst_element_get_state_func): Renamed from get_state, cosmetic
21266 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21268 * gst/elements/gstelements.c:
21269 * win32/GStreamer.vcproj:
21271 * win32/dirent.c: (_tseekdir):
21272 * win32/gst-inspect.vcproj:
21273 * win32/gst-launch.vcproj:
21274 * win32/gstconfig.h:
21275 * win32/gstelements.vcproj:
21276 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21277 * win32/gstreamer.def:
21278 * win32/msvc71.sln:
21279 updates for the win32 build (patch from Sebastien Moutte)
21281 2005-10-10 Andy Wingo <wingo@pobox.com>
21283 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21284 gst_bin_get_state, cleaned up (but no logic changes).
21285 (bin_element_is_sink): Comment updates.
21286 (sink_iterator_filter): Remove needless cast.
21287 (gst_bin_iterate_sinks): Doc update.
21288 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21289 cleaned up (but no logic changes).
21291 * check/states/sinks.c (test_src_sink): Cleanups from the state
21293 (test_livesrc_sink): Sync on the state.
21295 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21296 the state change patch.
21298 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21301 * check/gst/gstbin.c: Merge in some style fixes and additional
21302 checks from Wim's state change patch.
21304 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21306 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21307 (gst_type_find_helper):
21308 Check whether we have the requested data already in our list of
21309 cached buffers before pulling a new buffer; also make the buffer
21310 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21312 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21317 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21318 don't use long long, it's not portable. Replacing with
21319 gint64 seems to work; let's hope no skeletons fall out of the closet.
21321 2005-10-10 Andy Wingo <wingo@pobox.com>
21323 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21325 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21327 * docs/gst/gstreamer-sections.txt:
21332 * gst/gstmessage.c: (gst_message_parse_state_changed):
21335 more docs, fix compilation
21337 2005-10-09 Philippe Khalaf <burger@speedy.org>
21338 * gst/gstmessage.c:
21339 Fixed a few forgotten variables on previous commit
21341 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21343 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21344 Fix evil typefind crasher: getrange() might return a short
21345 buffer at the end of a file, but gst_type_find_peek() must
21346 either return the full data as requested or NULL, but
21347 never a short buffer.
21349 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21351 * gst/gstmessage.c: (gst_message_new_state_changed),
21352 (gst_message_parse_state_changed):
21353 * gst/gstmessage.h:
21354 don't use "new", it's a C++ keyword
21356 2005-10-08 Wim Taymans <wim@fluendo.com>
21358 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21359 * gst/gstelement.c: (gst_element_post_message):
21360 * gst/gstpipeline.c: (gst_pipeline_change_state):
21361 Small docs and debug updates.
21363 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21365 * docs/gst/gstreamer-sections.txt:
21366 * gst/gstelementfactory.c:
21368 * gst/gsttaglist.c:
21371 2005-10-08 Wim Taymans <wim@fluendo.com>
21373 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21374 (gst_bin_dispose), (bin_bus_handler):
21375 Fix typos, add comments.
21376 Clear EOS list when going to PAUSED from any direction and do it
21377 in a threadsafe way.
21378 Get base time in a threadsafe way too.
21379 Fix confusing debug in the change_state function.
21380 Various other small cleanups.
21382 * gst/gstelement.c: (gst_element_post_message):
21383 Fix very verbose bus posting code.
21385 * gst/gstpipeline.c: (gst_pipeline_class_init),
21386 (gst_pipeline_set_property), (gst_pipeline_get_property),
21387 (gst_pipeline_change_state):
21388 Small ARG_ -> PROP_ cleanup
21390 2005-10-08 Wim Taymans <wim@fluendo.com>
21392 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21393 Do a less CPU demanding EOS check because we can.
21395 2005-10-08 Wim Taymans <wim@fluendo.com>
21397 * libs/gst/dataprotocol/dataprotocol.c:
21398 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21399 (gst_dp_packet_from_event):
21400 * libs/gst/dataprotocol/dataprotocol.h:
21401 * libs/gst/dataprotocol/dp-private.h:
21402 It's about time we bump the version number.
21403 Since event types don't fit in the guint8 anymore describing
21404 the payload type, make payload type 16 bits wide.
21406 2005-10-08 Wim Taymans <wim@fluendo.com>
21408 * docs/design/part-TODO.txt:
21409 * docs/design/part-clocks.txt:
21410 * docs/design/part-events.txt:
21411 * docs/design/part-gstbin.txt:
21412 * docs/design/part-gstelement.txt:
21413 * docs/design/part-gstpipeline.txt:
21414 * docs/design/part-live-source.txt:
21415 * docs/design/part-messages.txt:
21416 * docs/design/part-overview.txt:
21417 * docs/design/part-states.txt:
21420 2005-10-08 Wim Taymans <wim@fluendo.com>
21424 Fix event quark registration.
21425 Add some space between events so we can insert them in the
21428 2005-10-08 Wim Taymans <wim@fluendo.com>
21430 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21431 (gst_base_sink_handle_buffer):
21432 Better log message.
21435 * gst/gstelement.h:
21438 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21439 (gst_queue_set_property), (gst_queue_get_property):
21441 Remove old unused properties.
21443 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21444 * docs/gst/gstreamer-sections.txt:
21445 * gst/gstmessage.c:
21446 * gst/gstmessage.h:
21447 * gst/gstminiobject.c:
21448 * gst/gstminiobject.h:
21452 lots of new docs and doc fixes
21454 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21456 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21458 * gst/gstregistry.c: (gst_registry_lookup_locked),
21459 (gst_registry_scan_path_level):
21460 * gst/gstregistryxml.c: (load_plugin):
21461 Only ever load one plugin for a given plugin basename.
21462 This ensures correct overriding of GST_PLUGIN_PATH over
21463 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21464 system installed plugins.
21466 2005-10-08 Wim Taymans <wim@fluendo.com>
21468 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21469 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21470 Prepare for doing QOS.
21472 2005-10-08 Wim Taymans <wim@fluendo.com>
21474 * check/gst/gstbin.c: (GST_START_TEST):
21475 * check/pipelines/cleanup.c: (GST_START_TEST):
21476 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21477 Allow new clock message too.
21479 2005-10-08 Wim Taymans <wim@fluendo.com>
21481 * gst/gstmessage.c: (gst_message_new_error),
21482 (gst_message_new_warning), (gst_message_new_tag),
21483 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21484 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21485 (gst_message_new_segment_start), (gst_message_new_segment_done),
21486 (gst_message_parse_state_changed),
21487 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21488 (gst_message_parse_new_clock):
21489 * gst/gstmessage.h:
21490 Also carry the clock in question.
21492 2005-10-08 Wim Taymans <wim@fluendo.com>
21494 * gst/gstmessage.c: (gst_message_new_custom),
21495 (gst_message_new_eos), (gst_message_new_error),
21496 (gst_message_new_warning), (gst_message_new_tag),
21497 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21498 (gst_message_new_new_clock), (gst_message_new_segment_start),
21499 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21500 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21501 * gst/gstmessage.h:
21503 Added clock related messages.
21505 * gst/gstpipeline.c: (gst_pipeline_change_state):
21506 Post message when the clock changed.
21508 * tools/gst-launch.c: (event_loop):
21511 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21513 * tools/gst-inspect.c: (print_element_properties_info):
21514 Can't pass NULL strings to g_print() on windows.
21516 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21518 * docs/Makefile.am:
21519 * docs/gst/Makefile.am:
21520 * docs/gst/gstreamer-docs.sgml:
21521 * docs/gst/running.xml:
21522 * docs/version.entities.in:
21523 add a chapter on running GStreamer.
21524 document GST_DEBUG and GST_PLUGIN* env vars
21526 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21531 remove PLUGINS_BUILDDIR stuff
21532 * gst/gst.c: (init_post):
21533 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21535 remove, it was condescending and not needed
21537 2005-10-08 Wim Taymans <wim@fluendo.com>
21539 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21540 (gst_base_sink_handle_object), (gst_base_sink_event),
21541 (gst_base_sink_wait), (gst_base_sink_handle_event),
21542 (gst_base_sink_change_state):
21543 * gst/base/gstbasesink.h:
21544 Repost EOS message while going to PLAYING if still EOS.
21545 Make sure that when receiving a FLUSH_START we don't attempt
21546 to sync on the clock anymore.
21548 2005-10-08 Wim Taymans <wim@fluendo.com>
21550 * tools/gst-launch.c: (event_loop):
21551 Better message printout.
21553 2005-10-08 Wim Taymans <wim@fluendo.com>
21555 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21556 (gst_bin_child_proxy_get_children_count):
21557 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21558 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21559 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21560 (gst_child_proxy_set_valist):
21561 * gst/parse/grammar.y:
21562 Make ChildProxy threadsafe and fix mem leaks.
21564 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21566 * gst/gst.c: (init_post):
21567 debug the GST_PLUGIN_ env vars
21569 2005-10-08 Wim Taymans <wim@fluendo.com>
21571 * check/gst/gstbin.c: (GST_START_TEST):
21572 * check/gst/gstmessage.c: (GST_START_TEST):
21573 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21574 * gst/gstelement.c: (gst_element_commit_state),
21575 (gst_element_lost_state):
21576 * gst/gstmessage.c: (gst_message_new_state_changed),
21577 (gst_message_parse_state_changed):
21578 * gst/gstmessage.h:
21579 * tools/gst-launch.c: (event_loop):
21580 Added extra field to STATE_CHANGE message with the pending
21581 state, which will be different from the new state soon.
21583 2005-10-08 Wim Taymans <wim@fluendo.com>
21585 * gst/gstbus.c: (gst_bus_pop):
21587 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21588 Small cleanups and doc updates.
21590 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21592 * gst/gst.c: (init_pre):
21593 * gst/gstbin.c: (gst_bin_add_func):
21594 log distributing clocks and base time
21595 * gst/gstregistry.c: (gst_registry_add_plugin),
21596 (gst_registry_scan_path_level), (gst_registry_scan_path):
21597 clean up the debugging output a little
21598 * gst/gstutils.c: (gst_element_state_get_name):
21599 warn about a memleak (I've actually seen this be used, though
21600 it was probably a bug)
21602 2005-10-07 Wim Taymans <wim@fluendo.com>
21604 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21605 (gst_base_src_init), (gst_base_src_default_newsegment),
21606 (gst_base_src_newsegment), (gst_base_src_do_seek),
21607 (gst_base_src_loop), (gst_base_src_start):
21608 * gst/base/gstbasesrc.h:
21609 Make the newsegment event customizable by subclasses.
21611 2005-10-07 Wim Taymans <wim@fluendo.com>
21613 * gst/gstevent.c: (gst_event_new_buffersize),
21614 (gst_event_parse_buffersize):
21616 New event for future idea.
21618 2005-10-07 Andy Wingo <wingo@pobox.com>
21620 * gst/gstelement.c (gst_element_post_message): Doc update.
21622 * docs/gst/gstreamer-sections.txt: Update.
21624 * gst/gstmessage.c (gst_message_new_application): Made into a
21625 function like honest API calls.
21626 (gst_message_new_element): New message type.
21628 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21630 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21631 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21634 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21635 NO_PREROLL from gst_element_change_state to fall through.
21637 2005-10-07 Wim Taymans <wim@fluendo.com>
21639 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21640 (gst_ghost_pad_do_activate_push):
21641 Activating a ghostpad with no internal pad in push mode
21644 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21647 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21648 Fixes compilation on Windows.
21650 2005-10-07 Michael Smith <msmith@fluendo.com>
21652 * tools/gst-inspect.c:
21653 Print out feature and plugin count at the end when printing out
21656 2005-10-04 Michael Smith <msmith@fluendo.com>
21658 * gst/gsterror.c: (_gst_stream_errors_init):
21659 Add another error string used in a few existing plugins.
21662 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21663 * tools/gst-inspect.c: (print_element_info):
21664 When a feature disappears from a plugin (and the feature exists in
21665 the cached registry file), things went horribly wrong. This isn't a
21666 complete fix, we should actually be removing the 'missing' features
21667 from the features list when we load the actual plugin. That's not
21670 2005-10-04 Johan Dahlin <johan@gnome.org>
21672 * check/gst/gstiterator.c: (GST_START_TEST):
21673 * gst/gstbin.c: (gst_bin_iterate_elements),
21674 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21675 * gst/gstelement.c: (gst_element_iterate_pads):
21676 * gst/gstformat.c: (gst_format_iterate_definitions):
21677 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21678 (gst_iterator_new_list), (gst_iterator_filter):
21679 * gst/gstiterator.h:
21680 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21681 Add a GType to GstIterator, update callsites and tests.
21683 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21685 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21686 give events a chance to be handled by event probes when the pad
21689 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21691 * gst/gstevent.c: (gst_event_type_get_name),
21692 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21694 add string representations for event types
21696 2005-10-06 Wim Taymans <wim@fluendo.com>
21698 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21699 Don't use NULL pointers.
21701 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21703 * gst/gst_private.h:
21705 * gst/gstelement.c:
21707 * gst/gstpluginfeature.c:
21708 widen the debug category in output to fit the biggest one we have
21709 add a bus category and use it
21710 play with the colors
21711 fix up some categories
21713 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21715 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21716 add push activation of sink ghost pads.
21717 Andye, please verify
21719 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21721 * gst/gstutils.c: (gst_element_link_pads):
21722 fix a bug in the case where neither element has a pad
21723 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21724 add a test for that case
21726 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21728 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21729 emit have-data before checking for peers. This allows
21730 for probe handlers to connect elements. This helps autopluggers.
21731 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21733 add six checks, linked/unlinked with no/true/false probe
21735 2005-10-04 Wim Taymans <wim@fluendo.com>
21737 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21738 (gst_fake_sink_event), (gst_fake_sink_preroll),
21739 (gst_fake_sink_render), (gst_fake_sink_change_state):
21740 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21741 (gst_fake_src_get_property), (gst_fake_src_create),
21742 (gst_fake_src_stop):
21743 * gst/elements/gstidentity.c: (gst_identity_stop):
21744 Protect last_message with lock.
21746 2005-10-04 Edward Hervey <edward@fluendo.com>
21749 Added precision in the comments for GST_FORMAT_DEFAULT
21751 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21753 * tools/gst-launch.c: (main):
21754 Don't try to run erroneous pipelines.
21756 2005-10-04 Julien MOUTTE <julien@moutte.net>
21758 * gst/gstbus.c: We don't need this header.
21760 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21763 back to development
21765 === release 0.9.3 ===
21767 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21771 Releasing 0.9.3, "Unregistered"
21773 2005-10-03 Andy Wingo <wingo@pobox.com>
21775 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21776 whereby calling a pad's activatepush() function can start a thread
21777 that starts to push or pull before the pad gets the FLUSHING flag
21778 unset. Hack around it by holding the stream lock until the flag is
21779 set. Need to replace this with a proper solution. Together with
21780 the ghost pad fixes, this fixes mp3 playing/tagreading.
21782 * docs/design/part-gstghostpad.txt: Add a note about activation of
21783 proxy pads outside of ghost pads.
21785 * gst/gstghostpad.c: Implement the ghost pad activation design.
21787 2005-10-02 Andy Wingo <wingo@pobox.com>
21789 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21790 It is volatile, after all.
21792 * docs/design/part-gstghostpad.txt: Flesh out activation with
21795 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21798 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21801 Fix (unused) AM_CONDITIONAL tests.
21803 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21805 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21807 * gst/gstutils.c: (gst_pad_query_convert):
21808 Add assertion that makes sure src_val is >=0, just like
21809 gst_query_new_convert() has. (#315895)
21811 2005-09-30 Edward Hervey <edward@fluendo.com>
21813 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21814 Let's not iterate pads we're not interested in, it avoids getting
21815 sky-high refcounts on sinkpad.
21817 2005-09-30 Wim Taymans <wim@fluendo.com>
21819 * gst/gstelement.c: (gst_element_set_state),
21820 (gst_element_change_state):
21821 Small tweak, element in ASYNC remains ASYNC.
21823 2005-09-30 Wim Taymans <wim@fluendo.com>
21825 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21826 Only error is an error.
21828 * gst/gstbin.c: (gst_bin_change_state):
21831 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21832 Also call pad_block in pad alloc.
21834 * gst/gstutils.c: (gst_flow_get_name):
21837 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21839 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21840 (gst_base_src_get_range):
21841 Fix documentation typos. Add some more debug info.
21843 2005-09-29 David Schleef <ds@schleef.org>
21845 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21846 more end-user friendly.
21847 * tools/gst-inspect.c: (main): Check if command-line argument is
21848 a file and attempt to load that file as a plugin.
21850 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21852 * check/gst/gstbin.c:
21853 * check/states/sinks.c:
21854 fix tests for the new warning
21855 * check/gst/gstpipeline.c:
21856 add a test for pipeline and bus interaction
21857 * gst/gstelement.c:
21858 elements should be NULL if they get disposed; add a warning if not
21860 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21863 for 2.6 refcounting, make debug log more correct by printing
21864 the actual refcounts at the time of swap (Wim)
21866 2005-09-29 Andy Wingo <wingo@pobox.com>
21868 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21869 removes signal watches previously added via
21870 gst_bus_add_signal_watch.
21871 (gst_bus_add_signal_watch): Don't return the source id, just store
21872 it on the bus if there wasn't an id already.
21874 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21875 add_signal_watch and remove_signal_watch.
21877 2005-09-29 Edward Hervey <edward@fluendo.com>
21879 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21880 Better if we actually iterate the list :)
21882 2005-09-29 Wim Taymans <wim@fluendo.com>
21884 * check/gst/gstbin.c: (GST_START_TEST):
21885 Change for new bus API.
21887 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21888 (send_messages), (GST_START_TEST), (gstbus_suite):
21889 Change for new bus signal API.
21891 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21892 (gst_bus_source_prepare), (gst_bus_source_check),
21893 (gst_bus_create_watch), (gst_bus_add_watch_full),
21894 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21895 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21897 Remove support for multiple GSources operating on different
21898 message types as it is too complex and unneeded when using
21900 Added support for receiving signals from the bus.
21902 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21904 * docs/libs/tmpl/gstdataprotocol.sgml:
21905 * docs/manual/advanced-dataaccess.xml:
21906 * gst/elements/gstcapsfilter.c:
21908 rename filter-caps to caps property
21910 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21912 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21913 More robust fraction string parsing.
21915 * docs/pwg/appendix-porting.xml:
21916 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21918 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21920 * gst/gstcaps.c: (gst_caps_do_simplify):
21921 Thou shalt not free a structure and then continue using it
21922 in the next loop iteration.
21924 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21926 Add test case for caps simplification.
21928 2005-09-29 Wim Taymans <wim@fluendo.com>
21930 * check/gst/gstbin.c: (GST_START_TEST):
21933 2005-09-29 Wim Taymans <wim@fluendo.com>
21935 * check/gst/gstbin.c: (GST_START_TEST):
21938 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21939 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21940 (find_element), (gst_bin_sort_iterator_next),
21941 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21942 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21943 (gst_bin_change_state), (gst_bin_dispose):
21944 A bin does not have a bus, it gets the bus from the parent.
21946 * gst/gstelement.c: (gst_element_requires_clock),
21947 (gst_element_provides_clock), (gst_element_is_indexable),
21948 (gst_element_is_locked_state), (gst_element_change_state),
21949 (gst_element_set_bus_func):
21952 * gst/gstpipeline.c: (gst_pipeline_class_init),
21953 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21954 The pipeline provides a bus.
21956 2005-09-28 Johan Dahlin <johan@gnome.org>
21958 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21959 gst_structure_get_enum instead of gst_structure_get_int
21961 * gst/gststructure.c (gst_structure_get_enum): Impl.
21963 * gst/gststructure.h (gst_structure_get_enum): Add
21965 * docs/gst/gstreamer-sections.txt: Ditto
21967 * gst/gstmessage.c (gst_message_new_state_changed): Use
21968 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21969 which does introspection.
21970 Reviewed by Christian Schaller
21972 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21974 * gst/gstinfo.c: (gst_debug_log_default):
21975 don't do dummy g_strdup()s
21976 * libs/gst/controller/gstcontroller.c:
21977 (on_object_controlled_property_changed),
21978 (gst_controlled_property_new), (gst_controller_new_valist),
21979 (gst_controller_new_list),
21980 (gst_controller_remove_properties_valist), (gst_controller_set),
21981 (gst_controller_get), (gst_controller_sync_values),
21982 (gst_controller_get_value_array), (_gst_controller_class_init),
21983 (gst_controller_get_type):
21984 * libs/gst/controller/gstcontroller.h:
21985 * libs/gst/controller/gstinterpolation.c:
21986 (gst_controlled_property_find_timed_value_node):
21987 convert // to /**/ comments
21989 2005-09-28 Wim Taymans <wim@fluendo.com>
21991 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21992 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21993 (gst_bus_sync_signal_handler):
21995 Added async-message and sync-message signals to the bus.
21996 Added helper BusFunc to emit signals for all posted messages.
21998 * gst/gstmessage.c: (gst_message_type_get_name),
21999 (gst_message_type_to_quark), (gst_message_get_type):
22000 * gst/gstmessage.h:
22001 Register quarks for message names.
22003 2005-09-28 Stefan Kost <ensonic@users.sf.net>
22005 * docs/libs/gstreamer-libs-sections.txt:
22006 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
22007 (gst_controller_new_list):
22008 * libs/gst/controller/gstcontroller.h:
22009 added another constructor for language bindings
22011 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
22013 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
22017 * gst/gstinfo.c: (_gst_debug_init):
22018 slightly more readable color for refcount debugging
22020 2005-09-28 Wim Taymans <wim@fluendo.com>
22022 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
22023 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
22024 (find_element), (gst_bin_sort_iterator_next),
22025 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22026 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22027 (gst_bin_change_state), (gst_bin_dispose):
22028 Small doc fixes. get_clock -> provide_clock.
22030 * gst/gstelement.c: (gst_element_class_init),
22031 (gst_element_provides_clock), (gst_element_provide_clock),
22032 (gst_element_get_clock), (gst_element_commit_state),
22033 (gst_element_lost_state):
22034 * gst/gstelement.h:
22035 Make get/set_clock() symetric. Add provide_clock vmethod since
22036 that is actually what this function does.
22038 * gst/gstpipeline.c: (gst_pipeline_class_init),
22039 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
22040 (gst_pipeline_get_clock):
22041 get_clock -> provide_clock.
22043 2005-09-28 Andy Wingo <wingo@pobox.com>
22045 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
22046 lieu of real docs...
22048 * gst/elements/gstfdsrc.c: Cleaned up a bit.
22050 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
22052 * gst/elements/gstcapsfilter.c:
22053 * gst/elements/gstfakesink.c:
22054 * gst/elements/gstfakesrc.c:
22055 * gst/elements/gstfdsink.c:
22056 * gst/elements/gstfdsrc.c:
22057 * gst/elements/gstfilesink.c:
22058 * gst/elements/gstfilesrc.c:
22059 * gst/elements/gstidentity.c:
22060 * gst/elements/gsttee.c:
22061 * gst/elements/gsttypefindelement.c:
22062 Make element details static.
22064 2005-09-28 Wim Taymans <wim@fluendo.com>
22066 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22067 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22068 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22069 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22070 (gst_bin_change_state), (gst_bin_dispose):
22071 Some documentation updates.
22072 Clean up dispose handlers.
22074 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
22075 * gst/gstpad.c: (gst_pad_dispose):
22076 Clean up dispose handler.
22078 * gst/gstpipeline.c: (gst_pipeline_change_state):
22079 Removed spurious UNLOCK.
22081 2005-09-27 Stefan Kost <ensonic@users.sf.net>
22083 * docs/gst/gstreamer-sections.txt:
22084 * gst/base/gstbasesrc.h:
22085 * gst/gstelement.h:
22089 * gst/gstpipeline.c:
22090 * gst/gstpipeline.h:
22093 added two new functions to the docs
22094 documents all undocumented GstXXXFlags
22095 completed some incomplete docs
22097 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22099 * gst/gstbin.c: (gst_bin_dispose):
22100 * gst/gstelement.c: (gst_element_dispose):
22101 remove now useless and leaky resurrection code in dispose
22102 * gst/base/gstbasesrc.c: (gst_base_src_init):
22103 * gst/gstelementfactory.c: (gst_element_factory_create):
22104 * gst/gstobject.c: (gst_object_set_parent):
22107 2005-09-27 Wim Taymans <wim@fluendo.com>
22109 * docs/design/part-TODO.txt:
22112 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22113 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22114 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22115 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22116 (gst_bin_change_state):
22117 * gst/gstelement.h:
22118 Remove element variable, we keep element info in the iterator now.
22120 2005-09-27 Andy Wingo <wingo@pobox.com>
22122 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22125 2005-09-27 Wim Taymans <wim@fluendo.com>
22127 * check/gst/gstbin.c: (GST_START_TEST):
22128 Enable check that works now.
22130 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22131 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22132 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22133 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22134 (gst_bin_change_state):
22136 Redid the state change algorithm using a topological sort algo.
22137 Handles all cases correctly.
22138 Exposed iterator for state change order.
22140 * gst/gstelement.h:
22141 Temp storage for state changes. Need to get rid of this soon.
22143 2005-09-27 Wim Taymans <wim@fluendo.com>
22145 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22146 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22147 (link_fold_func), (gst_pad_proxy_setcaps):
22148 Leak fixes, the fold functions need to unref the passed object and
22149 _get_parent_*() returns ref to parent.
22151 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22153 * check/gst/gstbuffer.c: (test_make_writable):
22154 Plug leak in test case and fix 'make check-valgrind'
22156 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22158 * gst/gstbuffer.c: (gst_subbuffer_init):
22159 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22160 works correctly in all circumstances (we could have just copied
22161 the parent buffer's readonly flag, but conceptually it seems
22162 cleaner to mark all subbuffers as read-only). (based on patch
22163 by Alessandro Decina, #314710).
22165 * check/gst/gstbuffer.c: (create_read_only_buffer),
22166 (test_make_writable), (test_subbuffer_make_writable),
22168 Add some tests for gst_buffer_make_writable().
22170 2005-09-27 Wim Taymans <wim@fluendo.com>
22172 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22173 use gst_object_has_ancestor().
22175 * gst/gstobject.c: (gst_object_has_ancestor):
22177 gst_object_has_ancestor() copied from gstbin.c as it is a
22180 * tests/instantiate/create.c: (create_all_elements):
22181 * tests/lat.c: (handoff_src), (handoff_sink):
22182 * tests/sched/runxml.c: (main):
22183 * tests/seeking/seeking1.c: (main):
22184 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22186 Fix compilation of some tests.
22188 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22191 Remove comment. GST_TYPE_G_ERROR is here to stay,
22192 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22193 (#316961, #300610).
22195 2005-09-26 Wim Taymans <wim@fluendo.com>
22197 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22198 Added check that shows error in state change order.
22200 2005-09-26 Wim Taymans <wim@fluendo.com>
22202 * gst/gstbin.c: (gst_bin_change_state):
22203 Make state change function use 3 queues again, we were
22204 adding elements in the wrong order.
22206 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22209 * gst/gstpad.c: (gst_pad_dispose):
22210 Added some debug info first.
22212 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22214 * docs/design/draft-push-pull.txt:
22215 * docs/design/part-events.txt:
22216 * docs/design/part-overview.txt:
22217 * docs/design/part-scheduling.txt:
22218 Replace all _pull_region() with _pull_range()
22220 2005-09-26 Andy Wingo <wingo@pobox.com>
22222 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22224 * check/gst-libs/controller.c: Update for controller api change.
22227 * tests/Makefile.am:
22228 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22229 over by GLib bug 118439.
22231 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22232 routines to a function.
22234 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22236 * libs/gst/controller/gsthelper.c:
22237 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22238 (gst_object_sync_values): Renamed from sink_values. Ugh.
22240 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22242 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22243 Renamed from controller_key, as it is exported.
22245 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22247 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22252 * gst/gstpadtemplate.h:
22255 * gst/gstqueryutils.c:
22256 * gst/gstqueryutils.h:
22257 remove queryutils headers after moving the two used functions
22258 to gstquery. also fixes build problem for gstsiddec
22260 2005-09-26 Michael Smith <msmith@fluendo.com>
22262 * tools/gst-launch.1.in:
22263 Correct documentation in manpage of debug syntax
22265 2005-09-26 Wim Taymans <wim@fluendo.com>
22267 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22268 (gst_base_src_is_seekable), (gst_base_src_change_state):
22269 Some more debugging info.
22271 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22273 * docs/gst/gstreamer-sections.txt:
22274 * gst/base/gstbasetransform.h:
22278 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22280 * docs/gst/.cvsignore:
22281 * docs/gst/tmpl/.cvsignore:
22282 * docs/gst/tmpl/gstpipeline.sgml:
22283 * docs/gst/tmpl/gstplugin.sgml:
22284 * gst/gstpipeline.c:
22287 inlined the last two docs files
22288 removed the tmpl directory from cvs (no more conflicts here!)
22290 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22292 * docs/gst/gstreamer-sections.txt:
22293 * docs/gst/tmpl/.cvsignore:
22294 * docs/gst/tmpl/gstpad.sgml:
22295 * docs/gst/tmpl/gstpadtemplate.sgml:
22297 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22298 (gst_pad_finalize), (gst_pad_set_pad_template):
22300 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22301 (gst_pad_template_class_init), (gst_pad_template_init),
22302 (gst_pad_template_dispose), (name_is_valid),
22303 (gst_static_pad_template_get), (gst_pad_template_new),
22304 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22305 (gst_pad_template_pad_created):
22306 * gst/gstpadtemplate.h:
22307 inlined two more docs
22308 factored gstpadtemplate out of gstpad
22310 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22312 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22313 (test_children_state_change_order_semi_sink):
22314 Fix test case: we can't rely on a fixed state change order when
22315 going from READY => PAUSED because the sink might commit its
22316 new state first when the first buffer created by the source
22317 reaches the sink before the source has finished its change state.
22318 (Test case still fails at times, see #316856, comment 5 onwards)
22320 2005-09-24 Wim Taymans <wim@fluendo.com>
22322 * docs/design/part-events.txt:
22323 * docs/design/part-gstbus.txt:
22324 * docs/design/part-gstpipeline.txt:
22325 * docs/design/part-messages.txt:
22326 * docs/design/part-overview.txt:
22327 * docs/design/part-segments.txt:
22331 * gst/gstelement.c:
22334 * gst/gstiterator.c:
22335 Various documentation updates.
22337 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22340 Well, that's embarassing. Luckily we weren't using
22341 GST_CLOCK_DIFF anywhere.
22343 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22345 * common/gtk-doc.mak:
22346 don't fail on building XML, FC4 slave shows a bunch of doc
22347 missing bits that I don't get
22349 * gst/gstpipeline.c:
22350 * gst/gststructure.c:
22353 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22355 * docs/design/part-gstbin.txt:
22356 * docs/design/part-gstbus.txt:
22358 Add blurb about how the bus goes into flushing mode and
22359 drops all messages when its bin goes from READY into NULL
22362 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22364 * docs/gst/gstreamer-sections.txt:
22365 * gst/gststructure.c: (gst_structure_get_clock_time):
22366 * gst/gststructure.h:
22367 add a method to get a GstClockTime out of a structure
22369 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22371 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22372 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22373 Added test to check state change order in bins (can still be made
22374 to fail here under heavy disk load; bails out with 'Push on pad
22375 fakesink:sink0, but it was not activated in push mode').
22377 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22378 Fix state change order when there is only a semi sink (#316856)
22380 * gst/gstbus.c: (gst_bus_class_init):
22381 Use _class_peek_parent(), not _class_ref(); fix docs to say
22382 'default main context' instead of 'mainloop' where that is
22385 * gst/gstelement.c: (gst_element_commit_state),
22386 (gst_element_set_state):
22387 Fix typos in debug messages
22389 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22392 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22393 * gst/gstpluginfeature.c:
22395 various doc updates
22396 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22397 change an assert into an error until it gets fixed properly
22399 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22401 * docs/gst/gstreamer-sections.txt:
22402 * docs/gst/tmpl/.cvsignore:
22403 * docs/gst/tmpl/gstelement.sgml:
22404 * docs/gst/tmpl/gstinfo.sgml:
22405 * docs/gst/tmpl/gstobject.sgml:
22406 * gst/gstelement.c:
22407 * gst/gstelement.h:
22410 * gst/gstobject.c: (gst_object_class_init):
22412 inlined 3 more biiiig doc files and added some missing docs on the fly
22414 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22416 * check/gst/.cvsignore:
22417 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22418 * gst/gstregistryxml.c: (load_plugin),
22419 (gst_registry_xml_save_plugin):
22420 put back source in registry. add checks for find_plugin.
22421 * testsuite/states/bin.c: (assert_state), (empty_bin),
22422 (test_adding_one_element), (main):
22423 * testsuite/states/locked.c: (main):
22424 some compile/run fixes
22426 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22428 * check/gst/gstvalue.c: (GST_START_TEST):
22429 fix leaks in the test itself
22431 2005-09-22 Wim Taymans <wim@fluendo.com>
22433 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22434 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22435 (gst_base_sink_query):
22436 Prepare for more accurate position reporting and query
22439 * gst/gstelement.c: (gst_element_send_event),
22440 (gst_element_set_state):
22443 2005-09-22 Wim Taymans <wim@fluendo.com>
22445 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22446 (gst_query_parse_segment):
22448 More documentation.
22449 Add segment query for future use.
22451 2005-09-22 Wim Taymans <wim@fluendo.com>
22453 * gst/gstbin.c: (gst_bin_add_func):
22454 Some more debug info.
22456 * gst/gstelement.c: (gst_element_send_event):
22457 Simplify send_event
22459 * gst/gstelement.h:
22460 Don't know how flags got broken.
22465 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22467 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22468 Add simplistic test suite for GST_TYPE_DATE serialisation and
22471 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22473 * docs/gst/gstreamer-sections.txt:
22474 * gst/gststructure.c: (gst_structure_set_valist),
22475 (gst_structure_get_date):
22476 * gst/gststructure.h:
22477 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22478 (gst_date_copy), (gst_value_compare_date),
22479 (gst_value_serialize_date), (gst_value_deserialize_date),
22480 (gst_value_transform_date_string),
22481 (gst_value_transform_string_date), (_gst_value_initialize):
22483 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22484 bunch of utility functions along with a hack that checks that
22485 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22486 is required. Part of the grand scheme in #170777.
22488 2005-09-22 Andy Wingo <wingo@pobox.com>
22490 * gst/gstconfig.h.in: Psych out gtk-doc.
22492 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22494 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22496 * tools/gst-inspect.c (print_element_list): Plug some
22497 inconsequential leaks.
22499 * gst/gstregistry.c (gst_registry_get_default): Doc.
22501 * check/gst/gstplugin.c:
22502 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22503 * gst/gstelementfactory.c (gst_element_factory_create):
22504 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22507 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22508 (gst_plugin_feature_load): Doc, don't eat refs.
22510 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22511 (gst_plugin_list_free): Doc.
22512 (gst_plugin_load_file): Doc updates.
22514 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22515 accessors returning refcounted objects, return a ref.
22517 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22518 accessor for caps. IDEMPOTENCE. Oh yes.
22520 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22522 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22524 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22525 (_gst_debug_register_funcptr):
22526 Add mutex to serialise access to the hash table with
22527 the function pointer => function name string mapping;
22528 make that hash table static scope (#316809).
22530 * gst/registries/.cvsignore:
22531 Remove left-over file.
22533 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22535 * docs/pwg/appendix-porting.xml:
22536 And something about newsegment events and caps-on-buffers to
22537 the porting guide (feel free to improve).
22539 2005-09-21 Andy Wingo <wingo@pobox.com>
22541 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22542 data and event probes on the same pad.
22543 (test_buffer_probe_once): Test that removing probes from within
22544 the probe functions works.
22546 2005-09-21 Andy Wingo <wingo@pobox.com>
22548 * check/gst/gstutils.c: New file.
22549 (test_buffer_probe_n_times): A simple buffer probe test. More to
22552 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22553 have-data::buffer, not have-data.
22554 (gst_pad_add_event_probe): Likewise for have-data::event.
22555 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22556 peer' isn't quite right yet though.
22557 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22558 (gst_pad_remove_data_probe): Change to take the guint handler_id
22559 as their arg, not the function+data, which is more glib-like.
22561 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22562 the signal emission to indicate if the data is a buffer or an
22564 (gst_pad_get_type): Initialize buffer and event quarks.
22565 (gst_pad_class_init): have-data is now a detailed signal, yes it
22568 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22570 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22571 * gst/gstutils.c: (gst_util_set_value_from_string),
22572 (gst_util_set_object_arg):
22573 Don't put functional code in g_return_if_fail() or
22574 g_return_val_if_fail() statements, otherwise things will
22575 break when G_DISABLE_CHECKS is defined during compilation.
22577 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22579 * docs/gst/tmpl/.cvsignore:
22580 * docs/gst/tmpl/gstvalue.sgml:
22583 inlied another one and added some obvious docs
22585 2005-09-21 Wim Taymans <wim@fluendo.com>
22587 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22588 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22589 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22590 (gst_fdsrc_get_property), (gst_fdsrc_create):
22591 * gst/elements/gstfdsrc.h:
22592 Properly implement fdsrc. Removed signal and timeout,
22593 better implemented somewhere else.
22595 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22597 * docs/gst/tmpl/.cvsignore:
22598 * docs/gst/tmpl/gstimplementsinterface.sgml:
22599 * gst/gstinterface.c:
22602 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22604 * docs/gst/gstreamer-sections.txt:
22605 * docs/gst/tmpl/.cvsignore:
22606 * docs/gst/tmpl/gstenumtypes.sgml:
22607 remove obsolete doc file
22609 2005-09-21 David Schleef <ds@schleef.org>
22611 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22612 little beer, fix a little leak.
22614 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22616 * docs/gst/gstreamer-docs.sgml:
22617 * docs/gst/gstreamer-sections.txt:
22618 * docs/gst/tmpl/.cvsignore:
22622 * gst/gstelement.h:
22623 * gst/gstindex.c: (gst_index_class_init):
22625 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22626 (gst_index_factory_class_init), (gst_index_factory_init),
22627 (gst_index_factory_finalize), (gst_index_factory_new),
22628 (gst_index_factory_destroy), (gst_index_factory_find),
22629 (gst_index_factory_create), (gst_index_factory_make):
22630 * gst/gstindexfactory.h:
22631 * gst/gstpluginfeature.c:
22632 * gst/gstpluginfeature.h:
22633 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22634 more docs inlined, splitted gstindex.{c,h}
22636 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22638 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22641 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22643 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22644 Set sync to FALSE by default.
22646 2005-09-20 Wim Taymans <wim@fluendo.com>
22648 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22649 (gst_base_sink_init):
22650 Make sync property settable from subclass.
22652 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22653 (gst_fake_sink_change_state):
22654 Set sync to FALSE by default.
22656 2005-09-20 Wim Taymans <wim@fluendo.com>
22658 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22659 * tools/gst-launch.c: (main):
22660 The timeout handler should have lower priority than the source
22661 so we don't timeout before popping a message with 0 timeout.
22662 Dump error messages after failed state change.
22664 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22666 * tools/gst-inspect.c: (print_element_properties_info):
22669 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22671 * check/gst/gstevent.c:
22672 * gst/elements/gstfakesink.c:
22673 * gst/elements/gstfakesink.h:
22674 remove the sync property from fakesink.
22675 has the side effect of setting sync TRUE
22676 for fakesink, which is a change. Anyone who knows how
22677 to fix this nicely in a GObject-y way, feel free.
22679 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22681 * docs/gst/gstreamer-docs.sgml:
22682 remove probe refsection
22684 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22686 * check/Makefile.am:
22687 disable valgrinding the controller test again
22688 * docs/gst/gstreamer-sections.txt:
22689 update for api-changes
22691 2005-09-20 Wim Taymans <wim@fluendo.com>
22693 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22694 (gst_base_sink_set_property), (gst_base_sink_get_property),
22695 (gst_base_sink_do_sync):
22696 * gst/base/gstbasesink.h:
22697 Added sync property to basesink to disable clock sync.
22699 2005-09-20 Andy Wingo <wingo@pobox.com>
22701 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22702 eating the caller's refcount.
22704 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22705 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22708 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22709 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22710 of GLib 2.8 public, so we can know which refcount to check in
22713 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22714 (gst_object_init): Only set the gst refcount if we're going ahead
22715 with the refcount hack.
22717 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22719 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22720 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22721 more leaks plumbed, added more debug-logging
22725 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22727 * gst/gstmessage.c:
22728 remove include of gstmemchunk.h
22730 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22732 * gst/gstclock.c: (_gst_clock_id_free):
22733 Commit from the Political Party For More Atomic CVS Commits,
22734 so that people don't waste too much of their day fishing
22735 out obvious leaks out of massive commits.
22736 Oh, and fix a pretty damn obvious leak in the memchunk
22739 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22741 * check/Makefile.am:
22742 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22743 plug mem-leak, re-add to valgrindable tests
22745 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22748 unbreak the build for those who have chronic arthritis
22749 and typing "make check" is just too taxing on the hands
22751 2005-09-20 Andy Wingo <wingo@pobox.com>
22753 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22754 really want it out, you should fix plugins at the same time.
22756 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22759 * docs/gst/gstreamer-sections.txt:
22761 added missing symbols to api docs
22762 disable ref-count hack if we have glib >= 2.8
22764 2005-09-19 David Schleef <ds@schleef.org>
22766 * docs/gst/Makefile.am: Ignore a few more internal headers
22767 * docs/gst/gstreamer-docs.sgml: Remove old sections
22768 * docs/gst/gstreamer-sections.txt: Remove old sections
22769 * docs/gst/tmpl/gstobject.sgml: update
22770 * docs/gst/tmpl/gstplugin.sgml: update
22771 * docs/gst/tmpl/gstpluginfeature.sgml: update
22772 * docs/random/ds/0.9-suggested-changes: update.
22773 * gst/Makefile.am: remove memchunk and trashstack, since they're
22775 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22776 * gst/gst.h: don't include some headers
22777 * gst/gstchildproxy.c: add gstmarshal.h
22778 * gst/gstclock.c: Don't use memchunks
22779 * gst/gstminiobject.c: Add some docs
22780 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22781 * gst/gstobject.h: same
22782 * gst/gstplugin.c: include gstmacros.h
22783 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22784 * gst/gstquery.c: don't use memchunks
22785 * gst/gstregistry.c: rename gst_registry_deinit()
22786 * gst/gstregistry.h: same
22788 2005-09-19 David Schleef <ds@schleef.org>
22790 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22791 * docs/libs/gstreamer-libs-sections.txt:
22792 * docs/libs/tmpl/gstgetbits.sgml:
22793 * docs/libs/tmpl/gstputbits.sgml:
22795 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22797 * win32/gstenumtypes.c:
22798 * win32/gstenumtypes.h:
22801 2005-09-19 Wim Taymans <wim@fluendo.com>
22803 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22804 Automatically PAUSE and RESUME a pipeline when a flushing seek
22807 2005-09-19 Andy Wingo <wingo@pobox.com>
22809 * gst/gstregistry.h: Spacing fixen.
22811 2005-09-19 Wim Taymans <wim@fluendo.com>
22813 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22814 Handle state change failure more correctly.
22816 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22818 * check/Makefile.am:
22819 * check/pipelines/cleanup.c: (run_pipeline):
22820 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22822 enable cleanup again after fixing the leak
22824 some more info on docs
22826 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22828 * check/Makefile.am:
22829 re-enable tests now that leaks are plugged
22831 * check/gst/gstbin.c:
22832 * check/gst/gstpipeline.c:
22833 add some more tests while fixing leaks
22834 * common/check.mak:
22835 make sure binaries are uptodate when valgrinding/gdbing
22837 * gst/gstelementfactory.c:
22838 remove a ref too many, and add a FIXME for when we get
22839 round to disposing of classes
22841 fix the refcounting when loading a plugin from a file and
22842 the code pretends that the pointer is the same even though
22843 of course it can change
22844 * gst/gstpluginfeature.c:
22845 unref plugins marked cached (a bit confusing as a name)
22846 as the docs state should be done
22847 various doc additions to explain refcounting
22848 * gst/gstregistry.c:
22849 * gst/gstregistryxml.c:
22852 2005-09-19 Wim Taymans <wim@fluendo.com>
22854 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22855 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22856 (send_messages), (GST_START_TEST), (gstbus_suite):
22857 * check/gst/gstpipeline.c: (GST_START_TEST):
22858 * check/pipelines/cleanup.c: (run_pipeline):
22859 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22861 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22862 (gst_bus_source_check), (gst_bus_source_dispatch),
22863 (gst_bus_create_watch), (gst_bus_add_watch_full),
22864 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22866 * tools/gst-launch.c: (event_loop):
22867 * tools/gst-md5sum.c: (event_loop):
22868 GstBusHandler -> GstBusFunc, return value has the same meaning as
22869 any other GSource (FALSE == remove source).
22870 _add_watch() and _add_watch_full() now take a MessageType mask to
22871 only handle specific types of messages.
22872 _poll() returns the GstMessage instead of the message type to avoid
22874 _have_pending() takes a MessageType mask now too.
22875 Added testsuite for multiple bus watches.
22876 Fix testsuites and applications for new bus API.
22878 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22880 * check/Makefile.am:
22881 mark a bunch of the tests as to fix until we fix them
22883 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22885 * common/check.mak:
22886 use GST_PLUGIN settings for valgrind tests as well, so we're
22887 valgrinding the correct thing
22888 * gst/gst.c: (init_post):
22891 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22893 * gst/gst.c: (init_post), (gst_deinit):
22894 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22895 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22896 * gst/gstindex.c: (gst_index_factory_class_init),
22897 (gst_index_factory_finalize):
22898 * gst/gstobject.c: (gst_object_dispose):
22899 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22900 (gst_plugin_load_file), (gst_plugin_desc_free):
22901 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22902 (gst_plugin_feature_finalize):
22903 * gst/gstregistry.c: (gst_registry_class_init),
22904 (gst_registry_init), (gst_registry_finalize),
22905 (gst_registry_get_default), (gst_registry_deinit):
22906 * gst/gstregistry.h:
22907 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22908 various cleanups and memleak plugging. make valgrind is happy now.
22910 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22912 * common/check.mak:
22913 add a check-valgrind target
22915 2005-09-18 David Schleef <ds@schleef.org>
22917 * tools/gst-inspect.c: Revert the GOption code.
22919 2005-09-17 David Schleef <ds@schleef.org>
22921 * check/Makefile.am: Fix environment variables.
22922 * check/gst/gstplugin.c: Fix for API changes.
22923 * tools/gst-inspect.c: Fix for API changes.
22924 * tools/gst-xmlinspect.c: Fix for API changes.
22925 * gst/gstelementfactory.c:
22928 * gst/gstpluginfeature.c:
22929 * gst/gstpluginfeature.h:
22930 * gst/gstregistry.c:
22931 * gst/gstregistry.h:
22932 * gst/gstregistryxml.c:
22933 * gst/gsttypefind.c:
22934 * gst/gsttypefindfactory.c:
22935 * gst/indexers/gstfileindex.c:
22936 * gst/indexers/gstmemindex.c:
22937 * gst/schedulers/Makefile.am:
22938 Change registry to keep track of both plugins and features,
22939 removing the feature tracking from plugins themselves.
22941 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22943 * check/Makefile.am:
22944 * tools/gst-register.1.in:
22945 remove gst-register
22947 2005-09-15 David Schleef <ds@schleef.org>
22949 * check/gst/gstplugin.c:
22950 * gst/gstelementfactory.c:
22952 * gst/gstpluginfeature.c:
22953 * gst/gstregistry.c:
22954 Getting tired of debugging. Disabled all the unreffing of
22955 plugins and features, which fixes the segfaults, but of
22956 course leaks like crazy. At least playbin works.
22958 2005-09-15 David Schleef <ds@schleef.org>
22960 * check/gst/gstplugin.c: (register_check_elements),
22961 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22963 * gst/elements/gsttypefindelement.c: Fix refcounting.
22964 * gst/gsttypefind.c:
22965 * gst/gsttypefindfactory.c:
22966 * gst/gsttypefindfactory.h:
22968 2005-09-15 David Schleef <ds@schleef.org>
22970 * gst/gstindex.c: get refcounting correct.
22971 * gst/gstregistry.c: Handle the case where a feature/plugin is
22974 2005-09-15 David Schleef <ds@schleef.org>
22976 * check/Makefile.am:
22977 * check/gst/gstplugin.c: Add test
22978 * gst/gstplugin.c: Fix problems noticed by testsuite
22980 * gst/gstregistry.c:
22981 * gst/gstregistry.h:
22983 2005-09-15 David Schleef <ds@schleef.org>
22985 * gst/gstplugin.c: Implement semi-decent recounting and locking
22986 in plugins and plugin features.
22988 * gst/gstpluginfeature.c:
22989 * gst/gstpluginfeature.h:
22990 * gst/gstregistry.c:
22992 2005-09-15 Michael Smith <msmith@fluendo.com>
22994 * gst/gstregistry.c: (gst_registry_get_feature_list):
22995 Implement this. Makes oggdemux work; decodebin still broken.
22997 2005-09-14 David Schleef <ds@schleef.org>
22999 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
23001 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
23002 * gst/check/Makefile.am:
23003 * libs/gst/controller/Makefile.am:
23004 * libs/gst/dataprotocol/Makefile.am:
23006 2005-09-14 David Schleef <ds@schleef.org>
23008 * configure.ac: Remove getbits library. Nothing uses it, and
23009 it should be in something like liboil if someone did want
23011 * libs/gst/Makefile.am:
23012 * libs/gst/getbits/Makefile.am:
23013 * libs/gst/getbits/gbtest.c:
23014 * libs/gst/getbits/getbits.c:
23015 * libs/gst/getbits/getbits.h:
23016 * libs/gst/getbits/gstgetbits_generic.c:
23017 * libs/gst/getbits/gstgetbits_i386.s:
23018 * libs/gst/getbits/gstgetbits_inl.h:
23020 2005-09-14 David Schleef <ds@schleef.org>
23022 * gst/Makefile.am: Dist glib-compat.h
23024 2005-09-14 David Schleef <ds@schleef.org>
23026 * configure.ac: Remove gst/registries, since it's no longer used.
23027 * gst/registries/Makefile.am:
23028 * gst/registries/gstlibxmlregistry.c:
23029 * gst/registries/gstlibxmlregistry.h:
23030 * gst/registries/gstxmlregistry.c:
23031 * gst/registries/gstxmlregistry.h:
23032 * gst/registries/registrytest.c:
23034 2005-09-14 David Schleef <ds@schleef.org>
23036 * gst/glib-compat.h:
23037 * gst/gstregistryxml.c:
23038 Convergence is near. Seriously.
23040 2005-09-14 David Schleef <ds@schleef.org>
23042 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23043 * gst/glib-compat.h:
23044 Attempt #4 to appease the buildbots.
23046 2005-09-14 David Schleef <ds@schleef.org>
23048 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23051 2005-09-14 David Schleef <ds@schleef.org>
23053 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23056 2005-09-14 David Schleef <ds@schleef.org>
23058 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
23061 2005-09-14 David Schleef <ds@schleef.org>
23063 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
23064 * gst/glib-compat.h: Add some functions that are in newer versions
23065 of glib than we care to require.
23066 * gst/gstregistryxml.c: Use them.
23068 2005-09-14 David Schleef <ds@schleef.org>
23070 * po/POTFILES.in: remove gst-register.c
23072 2005-09-14 David Schleef <ds@schleef.org>
23074 * docs/gst/gstreamer-docs.sgml:
23075 * docs/gst/gstreamer-sections.txt:
23076 * docs/gst/gstreamer.types:
23077 * docs/gst/tmpl/gstelement.sgml:
23078 * docs/gst/tmpl/gstplugin.sgml:
23079 * docs/gst/tmpl/gstpluginfeature.sgml:
23080 Documentation updates for registry changes.
23082 2005-09-14 David Schleef <ds@schleef.org>
23084 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
23085 because we don't require glib-2.8.
23087 2005-09-14 David Schleef <ds@schleef.org>
23089 * gst/gstregistryxml.c: Added. Essentially moved out of the
23090 registries directory.
23092 2005-09-14 David Schleef <ds@schleef.org>
23094 * check/Makefile.am:
23095 * check/generic/states.c:
23099 * gst/gst_private.h:
23100 * gst/gstelementfactory.c:
23105 * gst/gstpluginfeature.c:
23106 * gst/gstpluginfeature.h:
23107 * gst/gstregistry.c:
23108 * gst/gstregistry.h:
23109 * gst/gstregistrypool.c: remove
23110 * gst/gstregistrypool.h: remove
23111 * gst/gsttypefind.c:
23112 * gst/gsttypefindfactory.c:
23114 * tools/Makefile.am:
23115 * tools/gst-compprep.c:
23116 * tools/gst-inspect.c:
23117 * tools/gst-register.c: remove
23118 * tools/gst-xmlinspect.c:
23119 Registry rewrite. Changes registry from being a file created
23120 by a tool into a simple cache file created automatically by
23121 libgstreamer. Removed gst-register (because it's no longer
23122 needed). Remove registry pools, because we only have one
23123 registry implementation (XML). Fix up other subsystems as
23126 2005-09-13 Michael Smith <msmith@fluendo.com>
23128 * gst/gstconfig.h.in:
23129 Don't Use windows linking attributes for MinGW. Fixes #316157
23131 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23133 * gst/gstutils.c: (set_state_async_thread_func),
23134 (gst_element_set_state_async):
23135 Apparently people think it's better if this function doesn't
23136 try to set the state to whatever state was asked for on the first
23137 call to this function for any object. Seriously.
23139 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23141 * check/gst/gstpipeline.c: (GST_START_TEST):
23142 * docs/gst/gstreamer-sections.txt:
23143 * gst/gstutils.c: (set_state_async_thread_func),
23144 (gst_element_set_state_async):
23146 add a "gst_element_set_state_async" method that
23147 sets the state and starts a thread to make sure the state
23148 change completes as best as it can
23150 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23152 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23153 codify design+behaviour in testsuite after discussion
23155 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23157 * docs/gst/tmpl/gstelement.sgml:
23158 * docs/manual/appendix-quotes.xml:
23160 * gst/gstelement.c: (gst_element_set_state):
23163 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23165 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23166 (gst_base_transform_prepare_output_buf),
23167 (gst_base_transform_handle_buffer):
23168 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23169 (gst_capsfilter_prepare_buf):
23170 Remove the requirement for sub-classes to call the parent
23171 implementation of prepare_output_buffer with a wrapper function.
23173 * gst/gsttaglist.h:
23174 * gst/gsttagsetter.h:
23175 Fix #define wrapper
23177 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23179 * docs/gst/gstreamer-sections.txt:
23182 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23184 * docs/gst/gstreamer-sections.txt:
23185 * docs/gst/tmpl/gstelement.sgml:
23186 * docs/gst/tmpl/gstplugin.sgml:
23187 * gst/gstminiobject.c:
23189 docs now stop throwing warnings
23191 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23193 * docs/gst/gstreamer-sections.txt:
23194 * docs/gst/gstreamer.types:
23195 * docs/gst/tmpl/gstpad.sgml:
23196 * docs/gst/tmpl/gsttypes.sgml:
23197 * gst/base/gstadapter.h:
23198 * gst/base/gstbasesink.h:
23199 * gst/base/gstbasesrc.h:
23205 * gst/gstelement.h:
23207 * gst/gstmessage.h:
23209 * gst/gststructure.c:
23210 * gst/registries/gstlibxmlregistry.h:
23211 various documentation fixes
23213 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23215 * docs/gst/gstreamer-sections.txt:
23216 * docs/gst/tmpl/gstvalue.sgml:
23217 rearrange gstvalue section
23218 * gst/gstutils.c: (gst_element_state_get_name):
23220 * gst/gstvalue.c: (_gst_value_initialize):
23224 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23226 * check/gst-libs/controller.c:
23227 Header include fix.
23228 * gst/base/gstbasetransform.c:
23229 (gst_base_transform_default_prepare_buf),
23230 (gst_base_transform_handle_buffer):
23231 * gst/base/gstbasetransform.h:
23232 Some more basetransform changes and fixes to enable sub-classes
23233 that modify buffer metadata only.
23234 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23235 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23236 (gst_capsfilter_prepare_buf):
23237 If the output pad has fixed allowed caps and input buffers
23238 don't have any, set the fixed caps on outgoing buffers.
23240 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23241 * check/elements/identity.c: (GST_START_TEST):
23242 Make the error a little clearer when the test fails because
23243 identity made a copy of the buffer.
23244 * docs/gst/gstreamer-sections.txt:
23245 New symbols in gstbasetransform.h
23246 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23247 (gst_base_transform_init), (gst_base_transform_transform_size),
23248 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23249 (gst_base_transform_default_prepare_buf),
23250 (gst_base_transform_get_unit_size),
23251 (gst_base_transform_buffer_alloc),
23252 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23253 (gst_base_transform_change_state),
23254 (gst_base_transform_set_passthrough),
23255 (gst_base_transform_set_in_place),
23256 (gst_base_transform_is_in_place):
23257 * gst/base/gstbasetransform.h:
23258 Change BaseTransform to separate in_place operate from same_caps
23259 output. in_place implies that the element can perform the transform
23260 on incoming buffers in-place, even if the caps on the output are
23262 Sub-class elements can now implement special buffer allocation
23263 methods for outgoing buffers if they wish to.
23264 Big documentation addition.
23265 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23266 * gst/elements/gstelements.c:
23267 Changes for basetransform modifications.
23268 * gst/elements/Makefile.am:
23269 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23270 Compile fix. Extra debug output.
23272 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23274 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23276 add tests for valid pad naming
23277 * gst/check/gstcheck.c: (gst_check_log_message_func),
23278 (gst_check_log_critical_func):
23280 remove printing of code, it is fragile when the code contains
23281 % and the line number is enough info
23282 * gst/check/gstcheck.h:
23283 * gst/gstpad.c: (gst_pad_template_new):
23286 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23289 say what CHECK flags we use
23290 * docs/libs/gstreamer-libs.types:
23291 * libs/gst/controller/Makefile.am:
23292 * libs/gst/controller/gst-controller.c:
23293 * libs/gst/controller/gst-controller.h:
23294 * libs/gst/controller/gst-helper.c:
23295 * libs/gst/controller/gst-interpolation.c:
23296 * libs/gst/controller/gstcontroller.c:
23297 * libs/gst/controller/gsthelper.c:
23298 * libs/gst/controller/gstinterpolation.c:
23299 * tools/gst-inspect.c: (print_plugin_info):
23300 we don't use dashes in header names
23302 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23304 * check/Makefile.am:
23305 * check/gst/.cvsignore:
23306 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23307 (gst_pipeline_suite), (main):
23308 adding a test for pipelines and state changes
23309 * gst/gstutils.c: (get_state_func):
23311 * gstreamer.spec.in:
23314 2005-09-08 Michael Smith <msmith@fluendo.com>
23316 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23317 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23318 (gst_file_src_is_seekable), (gst_file_src_get_size),
23319 (gst_file_src_start):
23320 * gst/elements/gstfilesrc.h:
23321 Various fixes for unseekable, unmmapable, and non-normal files, so
23322 that fallback to read() rather than mmap() works.
23323 * gst/gstevent.c: (gst_event_new_newsegment):
23324 Allow newsegment events with segment_start == segment_end, as will
23325 correctly happen if you use filesrc on a zero-size file, for
23328 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23330 * gst/gstplugin.c: (gst_plugin_load_file):
23331 Call g_module_close when we don't load the module
23333 * gst/registries/gstlibxmlregistry.c:
23334 (gst_xml_registry_get_property):
23335 Port leak fix from 0.8
23337 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23339 * docs/gst/gstreamer-docs.sgml:
23340 * docs/gst/tmpl/.cvsignore:
23341 * docs/gst/tmpl/gsttrace.sgml:
23342 * docs/gst/tmpl/gsttrashstack.sgml:
23345 * gst/gstelement.h:
23347 * gst/gstmessage.c:
23348 * gst/gstmessage.h:
23351 * gst/gsttaginterface.c:
23352 * gst/gsttaginterface.h:
23353 * gst/gsttaglist.c:
23354 * gst/gsttaglist.h:
23355 * gst/gsttagsetter.c:
23356 * gst/gsttagsetter.h:
23359 * gst/gsttrashstack.c:
23360 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23361 inlined docs for gsttrace, gsttrashstack
23363 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23366 * gst/elements/gstbufferstore.h:
23367 * gst/elements/gsttypefindelement.c:
23368 * gst/elements/gsttypefindelement.h:
23370 * gst/gsttypefind.c:
23371 * gst/gsttypefind.h:
23372 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23373 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23374 (gst_type_find_factory_dispose),
23375 (gst_type_find_factory_unload_thyself),
23376 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23377 (gst_type_find_factory_get_caps),
23378 (gst_type_find_factory_get_extensions),
23379 (gst_type_find_factory_call_function):
23380 * gst/gsttypefindfactory.h:
23381 * gst/registries/gstlibxmlregistry.c:
23382 * gst/registries/gstxmlregistry.c:
23383 splitted gsttypefind into gsttypefind, gsttypefindfactory
23385 2005-09-07 Andy Wingo <wingo@pobox.com>
23387 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23388 condition whereby the pad's task function is entered before the
23389 pad_mode variable was set.
23391 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23393 * gst/gstpad.c: (gst_pad_alloc_buffer):
23394 Catch misbehaving pad_alloc functions that don't
23395 set up caps and do it for them.
23397 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23399 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23400 test for pipe!=NULL
23401 * docs/gst/tmpl/.cvsignore:
23402 * docs/gst/tmpl/gstmemchunk.sgml:
23403 * docs/gst/tmpl/gstparse.sgml:
23404 * docs/gst/tmpl/gsttaglist.sgml:
23405 * docs/gst/tmpl/gsttagsetter.sgml:
23406 * docs/gst/tmpl/gsttypefind.sgml:
23407 * docs/gst/tmpl/gsttypefindfactory.sgml:
23408 * gst/gstmemchunk.c:
23411 * gst/gsttaginterface.c:
23412 * gst/gsttypefind.c:
23413 * gst/gsttypefind.h:
23416 === release 0.9.2 ===
23418 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23423 releasing 0.9.2, "South"
23425 2005-09-05 Andy Wingo <wingo@pobox.com>
23427 * gst/registries/gstxmlregistry.h:
23428 * gst/registries/gstxmlregistry.c: Um... resurrect...
23430 * gst/registries/gstxmlregistry.h:
23431 * gst/registries/gstxmlregistry.c: and update to newer API.
23432 Incidentally they should be a bit faster now that they don't have
23435 2005-09-05 Andy Wingo <wingo@pobox.com>
23437 * gst/registries/gstxmlregistry.h:
23438 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23439 replaced by the libxml registry a while back
23441 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23443 * docs/gst/tmpl/gstplugin.sgml:
23444 * gst/elements/gstelements.c:
23446 * gst/gstplugin.c: (gst_plugin_register_func),
23447 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23448 (gst_plugin_get_source):
23450 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23451 (gst_xml_registry_save_plugin):
23452 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23453 (gst_xml_registry_save_plugin):
23454 * tools/gst-inspect.c: (print_plugin_info):
23455 add a "source" plugin description field, to represent the source
23456 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23457 will set it to PACKAGE, which is automake's idea of the name of
23458 the source project.
23460 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23465 * docs/Makefile.am:
23466 * docs/faq/Makefile.am:
23467 * docs/gst/tmpl/gstelement.sgml:
23468 * docs/gst/tmpl/gsttypes.sgml:
23469 * docs/htmlinstall.mak:
23470 * docs/manual/Makefile.am:
23471 * docs/pwg/Makefile.am:
23472 reorganize doc build a little
23473 split out docbook and gtk-doc stuff
23474 have two separate --enable's and enable them through autogen
23475 but disable by default in configure (to be similar to other
23477 * gstreamer.spec.in:
23478 clean up docs install
23496 translation updates
23498 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23500 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23503 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23504 (gst_fake_sink_change_state):
23505 Make state change function thread-safe.
23507 * gst/gstpad.c: (gst_pad_alloc_buffer):
23508 Set offset on generic buffer allocated by fallback.
23510 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23512 * docs/gst/gstreamer-sections.txt:
23513 * docs/gst/tmpl/gstelement.sgml:
23515 * libs/gst/controller/gst-controller.c:
23516 (gst_controlled_property_set_interpolation_mode),
23517 (gst_controlled_property_new),
23518 (gst_controller_find_controlled_property):
23519 run the wingo-magic script against the docs
23521 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23523 * docs/gst/gstreamer-docs.sgml:
23524 * docs/gst/gstreamer-sections.txt:
23525 * docs/gst/tmpl/.cvsignore:
23526 * docs/gst/tmpl/gstelementdetails.sgml:
23527 * docs/gst/tmpl/gstelementfactory.sgml:
23530 * gst/gstelementfactory.c:
23531 * gst/gstelementfactory.h:
23532 merged elementdetails docs into elementfactory docs
23535 2005-09-02 Andy Wingo <wingo@pobox.com>
23537 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23538 consider this enum an enum and not a flags.
23540 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23542 * docs/gst/gstreamer-docs.sgml:
23543 * docs/gst/tmpl/.cvsignore:
23544 * docs/gst/tmpl/gstghostpad.sgml:
23545 * docs/gst/tmpl/gstiterator.sgml:
23546 * docs/gst/tmpl/gstmacros.sgml:
23547 * docs/gst/tmpl/gstrealpad.sgml:
23548 * docs/gst/tmpl/gstregistry.sgml:
23549 * docs/gst/tmpl/gstregistrypool.sgml:
23550 * docs/gst/tmpl/gststructure.sgml:
23551 * docs/gst/tmpl/gstsystemclock.sgml:
23552 * docs/gst/tmpl/gsttrace.sgml:
23553 * gst/gstghostpad.c:
23555 * gst/gstmemchunk.c:
23556 * gst/gstmemchunk.h:
23558 * gst/gstregistry.c:
23559 * gst/gstregistrypool.c:
23560 * gst/gststructure.c:
23561 * gst/gstsystemclock.c:
23564 2005-09-02 Andy Wingo <wingo@pobox.com>
23566 * gst/gstelement.h (GstState): Renamed from GstElementState,
23567 changed to be a normal enum instead of flags.
23568 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23569 munged to be GST_STATE_CHANGE_*.
23570 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23571 work with the new state representation.
23572 (GstStateChange): New enumeration of possible state transitions.
23573 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23574 (GstElementClass::change_state): Pass the GstStateChange along as
23575 an argument. Helps language bindings, so they don't have to use
23576 tricky lock-needing macros like GST_STATE_CHANGE ().
23578 * scripts/update-states (file): New script. Run it on a file to
23579 update it for state naming and API changes. Updates files in
23582 * All files updated for the new API.
23584 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23586 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23587 * gst/gstutils.c: (gst_util_set_value_from_string),
23588 (gst_util_set_object_arg):
23589 fix a bunch of unchecked return values
23590 * tools/gst-complete.c: (main):
23591 * gstreamer.spec.in:
23594 2005-09-01 Wim Taymans <wim@fluendo.com>
23596 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23597 (gst_base_sink_event), (gst_base_sink_do_sync),
23598 (gst_base_sink_handle_event):
23599 * gst/base/gstbasesink.h:
23600 Handle newsegments more correctly.
23605 * gst/gstevent.c: (gst_event_new_newsegment):
23606 A newsegment cannot have a start_time of -1
23608 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23610 * win32/gstenumtypes.c:
23611 * win32/gstenumtypes.h:
23614 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23616 * libs/gst/controller/gst-controller.c:
23617 (gst_controlled_property_set_interpolation_mode),
23618 (gst_controlled_property_new):
23619 fixed boolean again
23621 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23623 * docs/faq/gst-uninstalled:
23628 * gst/gstutils.c: (gst_element_link_filtered):
23630 add gst_element_link_filtered
23632 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23634 * docs/gst/gstreamer-docs.sgml:
23635 * docs/gst/gstreamer-sections.txt:
23636 * docs/gst/tmpl/.cvsignore:
23637 * docs/gst/tmpl/gsterror.sgml:
23638 * docs/gst/tmpl/gstfilter.sgml:
23639 * docs/gst/tmpl/gsturihandler.sgml:
23640 * docs/gst/tmpl/gsturitype.sgml:
23641 * docs/gst/tmpl/gstutils.sgml:
23642 * docs/gst/tmpl/gstxml.sgml:
23647 * gst/gsturitype.c:
23650 inlined more docs, fixed double id-ref
23652 2005-08-31 Wim Taymans <wim@fluendo.com>
23654 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23655 (gst_base_transform_handle_buffer):
23656 Passthrough elements don't need the caps as they don't care.
23658 2005-08-31 Wim Taymans <wim@fluendo.com>
23660 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23661 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23662 Don't leak refcounts on buffers.
23664 2005-08-31 Wim Taymans <wim@fluendo.com>
23666 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23667 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23668 (gst_base_transform_chain), (gst_base_transform_change_state):
23669 * gst/base/gstbasetransform.h:
23670 Handle the case where we are not negotiated more gracefully.
23672 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23674 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23675 (gst_file_src_map_region):
23676 Set READONLY flag on mmap'ed buffers, otherwise
23677 gst_buffer_make_writable() won't work properly (#314708).
23679 2005-08-31 Wim Taymans <wim@fluendo.com>
23681 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23682 passthrough elements can even do inplace on non writable
23683 buffers (as they don't touch them).
23685 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23687 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23688 (gst_test_mono_source_set_property),
23689 (gst_test_mono_source_class_init), (GST_START_TEST),
23690 (gst_controller_suite):
23691 more tests (hehe I have the most)
23693 describe popping messages whenusing mulltiple sources
23694 * libs/gst/controller/gst-controller.c:
23695 (gst_controlled_property_set_interpolation_mode),
23696 (gst_controlled_property_new):
23697 * libs/gst/controller/gst-controller.h:
23698 * libs/gst/controller/gst-interpolation.c:
23699 implement boolean properties
23701 2005-08-31 Wim Taymans <wim@fluendo.com>
23703 * gst/gstminiobject.c: (gst_mini_object_ref):
23704 Cannot assert that the refcount has to be positive
23705 since a disposed object can be resurrected.
23707 2005-08-31 Wim Taymans <wim@fluendo.com>
23709 * gst/gstpad.c: (gst_pad_init):
23710 Revert change, need to first fix badly behaving
23713 2005-08-30 Wim Taymans <wim@fluendo.com>
23715 * check/elements/fakesrc.c: (setup_fakesrc):
23716 * check/elements/identity.c: (setup_identity):
23717 Activate pads before using them.
23719 2005-08-30 Wim Taymans <wim@fluendo.com>
23721 * gst/base/gstadapter.c: (gst_adapter_flush):
23722 Flushing out 0 bytes is ok for this function.
23724 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23725 no newsegment gives a warning and sets the start/stop to
23728 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23729 (gst_base_transform_set_passthrough):
23732 * gst/gstminiobject.c: (gst_mini_object_ref):
23733 Check refcount here too.
23735 * gst/gstpad.c: (gst_pad_init):
23736 Pads are initially flushing and refusing data.
23738 * gst/gstutils.c: (gst_element_link_pads_filtered):
23739 When adding a capsfilter element make sure it has the
23740 same state as the parent bin.
23742 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23744 * docs/gst/tmpl/.cvsignore:
23745 * docs/gst/tmpl/gstformat.sgml:
23746 * docs/gst/tmpl/gstversion.sgml:
23750 * gst/gstversion.h.in:
23751 more docs and two more inlined
23753 2005-08-30 Wim Taymans <wim@fluendo.com>
23755 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23756 Don't sync to clock.
23758 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23760 * docs/gst/gstreamer-sections.txt:
23761 ultral33t func10ns deserve to appear in the docs actually
23762 * docs/gst/tmpl/.cvsignore:
23763 * docs/gst/tmpl/gstcompat.sgml:
23764 * docs/gst/tmpl/gstconfig.sgml:
23765 * gst/check/gstcheck.c:
23767 * gst/gstconfig.h.in:
23770 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23772 * docs/gst/tmpl/.cvsignore:
23773 * docs/gst/tmpl/gstquery.sgml:
23774 * docs/gst/tmpl/gstutils.sgml:
23777 inlined and extended docs
23779 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23781 * check/gst-libs/controller.c: (GST_START_TEST),
23782 (gst_controller_suite):
23784 * docs/gst/tmpl/gstutils.sgml:
23785 * docs/libs/gstreamer-libs-sections.txt:
23786 * docs/libs/tmpl/gstdataprotocol.sgml:
23788 * examples/controller/audio-example.c: (main):
23789 controller example works now
23792 * tools/gst-inspect.c: (print_element_properties_info):
23793 show param spec flags
23795 2005-08-29 Andy Wingo <wingo@pobox.com>
23797 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23799 2005-08-28 Andy Wingo <wingo@pobox.com>
23801 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23802 as having two arguments instead of just one. Allows superclasses
23803 to access information on subclasses -- see the terrible for() loop
23804 in gtype.c:g_type_create_instance for the reason why. All callers
23807 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23809 * docs/design/part-messages.txt:
23811 * docs/gst/tmpl/.cvsignore:
23812 * docs/gst/tmpl/gstcaps.sgml:
23813 * docs/gst/tmpl/gstclock.sgml:
23819 * gst/gstmessage.c:
23820 added descriptions for bus and message
23821 inline caps and clock docs
23823 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23825 * gst/gstmessage.c:
23826 * gst/gstmessage.h:
23829 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23831 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23834 2005-08-26 Andy Wingo <wingo@pobox.com>
23836 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23837 element_set_state's return val.
23838 (test_2_elements): Add test that's been disabled for months.
23840 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23841 can-activate-pull properties.
23843 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23844 can-activate-pull properties. Implement is_seekable so fakesrc can
23845 operate in pull mode.
23847 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23849 (gst_base_sink_activate, gst_base_sink_activate_pull)
23850 (gst_base_sink_activate_push): Make activation mode choosing work.
23852 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23853 is right. Make pull mode work. Post an eos before pausing in pull
23855 (gst_base_sink_change_state): Pay attention to the core's
23856 change_state() return val.
23858 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23859 has-getrange properties. Cleanups.
23861 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23862 has_getrange and replace with can_activate_pull and
23865 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23866 locking comments. Remove has_loop, has_chain and replace with
23867 can_activate_pull and can_activate_push.
23869 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23872 * examples/Makefile.am:
23873 * examples/metadata/Makefile.am:
23874 * examples/metadata/read-metadata.c: (message_loop),
23875 (have_pad_handler), (make_pipeline), (print_tag), (main):
23876 Add metadata reading example that loops over a list of filenames,
23877 dumping any tags found.
23879 * gst/gstbus.c: (gst_bus_dispose):
23880 * gst/gstelement.c: (gst_element_dispose):
23881 Release a few potentially-held references in dispose.
23883 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23885 * docs/gst/tmpl/gstminiobject.sgml:
23886 do *not* add tmpl/*.sgml files to CVS!
23888 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23890 * libs/gst/bytestream/.cvsignore:
23891 * libs/gst/bytestream/Makefile.am:
23892 * libs/gst/bytestream/adapter.c:
23893 * libs/gst/bytestream/adapter.h:
23894 * libs/gst/bytestream/bytestream.c:
23895 * libs/gst/bytestream/bytestream.h:
23896 * libs/gst/bytestream/filepad.c:
23897 * libs/gst/bytestream/filepad.h:
23898 removing obsolete files
23900 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23902 * docs/gst/gstreamer-docs.sgml:
23903 * docs/libs/gstreamer-libs-docs.sgml:
23904 disabed additional index entries again, as this makes docs-gen just
23905 slow and they aren't useful yet
23906 * docs/libs/gstreamer-libs-sections.txt:
23907 little -section.txt cleanup for libs
23909 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23911 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23912 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23913 fix up some debugging
23914 (gst_base_transform_get_unit_size),
23915 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23916 (gst_base_transform_handle_buffer):
23917 * gst/base/gstbasetransform.h:
23918 handle and store timed NEWSEGMENT events so that subclasses that
23919 calculate time by counting samples have a segment_start time they
23920 need to add to their timestamps - see audioresample
23922 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23925 removed ';' from the end of macro defs
23926 * docs/gst/gstreamer-docs.sgml:
23927 * docs/gst/gstreamer-sections.txt:
23928 * docs/gst/tmpl/.cvsignore:
23930 * gst/gstelement.c: (gst_element_class_init),
23931 (gst_element_set_state), (activate_pads),
23932 (gst_element_save_thyself):
23933 * gst/gstevent.c: (gst_event_new_newsegment):
23935 * gst/gstiterator.c:
23936 * gst/gstiterator.h:
23939 * gst/gstutils.c: (gst_pad_query_convert):
23941 fixed parameter name mismatches between source, header and docs
23942 added some more docs, resolved the last batch of unused elements in
23943 docs (now someone needs to doc them)
23945 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23947 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23948 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23949 don't walk through the plugins backwards. Where is all this
23950 reversed logic coming from ?
23952 2005-08-25 Wim Taymans <wim@fluendo.com>
23954 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23955 (gst_base_transform_transform_size),
23956 (gst_base_transform_configure_caps),
23957 (gst_base_transform_get_unit_size),
23958 (gst_base_transform_buffer_alloc),
23959 (gst_base_transform_change_state):
23960 * gst/base/gstbasetransform.h:
23961 Cache caps unit_size.
23962 Make sure we cannot negotiate up and downstream at the
23965 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23967 * gst/gst.c: (init_pre), (init_post):
23968 register the installed plugin path after the env var
23969 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23970 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23971 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23972 directories, so the tests can prefer uninstalled over installed
23974 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23976 * gst/base/gstbasetransform.h:
23981 2005-08-25 Wim Taymans <wim@fluendo.com>
23983 * gst/gstbin.c: (bin_bus_handler):
23984 Be a bit more conservative about the posted message.
23986 * gst/gstbus.c: (gst_bus_post):
23987 Some cleanups, warn wrong return values.
23989 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
23991 * check/gst/gstbin.c: (GST_START_TEST):
23992 * gst/gstbin.c: (bin_bus_handler):
23993 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23994 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23995 (gst_message_new_warning), (gst_message_new_tag),
23996 (gst_message_new_state_changed), (gst_message_new_segment_start),
23997 (gst_message_new_segment_done), (gst_message_new_custom):
23998 * gst/gstmessage.h:
23999 * tools/gst-launch.c: (event_loop):
24000 * tools/gst-md5sum.c: (event_loop):
24001 Revert unpopular change for GST_MESSAGE_SRC to GObject.
24003 2005-08-25 Wim Taymans <wim@fluendo.com>
24005 * check/generic/states.c: (GST_START_TEST):
24006 Cleanup can be done at the end.
24008 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
24009 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24010 (gst_task_get_state), (gst_task_start), (gst_task_pause):
24011 Oh boy.. Thanks for finding this, Thomas.
24013 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24015 * docs/gst/gstreamer.types:
24016 added missing types
24018 2005-08-25 Stefan Kost <ensonic@users.sf.net>
24020 * docs/gst/gstreamer-docs.sgml:
24021 * docs/gst/gstreamer-sections.txt:
24022 * docs/gst/tmpl/.cvsignore:
24024 * gst/gstiterator.c:
24026 * gst/registries/gstxmlregistry.h:
24027 added missing classes and symbols (123 more to go)
24028 removed removed symbols from section file
24029 fixed many doc-comments
24031 2005-08-24 Wim Taymans <wim@fluendo.com>
24033 * check/generic/states.c: (GST_START_TEST):
24034 Make sure all tasks are stopped.
24036 * check/gst/gstbin.c: (GST_START_TEST):
24037 Unref after usage for proper valgrinding.
24039 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
24040 Really wait for the task to stop before destroying the
24043 * gst/gstqueue.c: (gst_queue_sink_activate_push),
24044 (gst_queue_src_activate_push):
24045 Small cleanups. Don't stop the task when we did not start
24048 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
24049 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
24050 (gst_task_get_state), (gst_task_start), (gst_task_pause),
24053 Protect the stream lock with the object lock.
24054 Disallow setting the stream lock when running.
24055 Add cleanup_all to wait for the threadpool to finish.
24056 Remove code to autoallocate a mutex if none was provided.
24057 Add _join() to wait for a task to stop.
24058 Protect the thread pool with a global lock.
24060 2005-08-24 Wim Taymans <wim@fluendo.com>
24062 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
24063 (gst_base_sink_get_times), (gst_base_sink_do_sync),
24064 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
24065 * gst/base/gstbasesink.h:
24066 Handle newsegment events correctly.
24067 Drop buffers out of the segment range.
24069 2005-08-22 Andy Wingo <wingo@pobox.com>
24071 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
24072 macro, implements an interface and gstimplementsinterface for a
24075 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24077 * check/Makefile.am:
24078 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
24079 add a test that does a bunch of state changes on elements
24080 needs some fixing for valgrind
24081 * check/states/sinks.c: (gst_object_suite):
24084 add prototype for gst_caps_is_equal_fixed
24086 * gst/gstregistrypool.c:
24089 2005-08-24 Andy Wingo <wingo@pobox.com>
24091 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24092 convert a negative value. Doesn't make much sense. Mostly this is
24093 here to force callers to ensure -1 maps to -1.
24095 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24097 * docs/pwg/advanced-types.xml:
24098 Well done to Michael for catching my deliberate introduction
24099 of this spelling mistake.
24100 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24101 * gst/gstelement.h:
24102 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24103 unlink pads before removing the element from the bin.
24105 2005-08-24 Andy Wingo <wingo@pobox.com>
24107 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24108 the same thing as GST_DEBUG=*:4.
24109 (parse_debug_level, parse_debug_category): New helper parsers.
24111 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24113 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24114 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24115 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24116 (gst_base_transform_buffer_alloc),
24117 (gst_base_transform_handle_buffer):
24118 use gboolean return values and pointers to size so we can use the
24119 full GST_BUFFER_SIZE range (guint) for buffer sizes
24120 use GstPadDirection for transform_caps
24121 * gst/base/gstbasetransform.h:
24122 rename get_size to get_unit_size since that's what it is
24123 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24124 use GstPadDirection for transform_caps
24125 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24127 cleanup and debugging
24129 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24131 * gst/gstelement.c: (gst_element_class_init),
24132 (gst_element_set_state), (activate_pads),
24133 (gst_element_save_thyself):
24134 * tools/gst-compprep.c: (main):
24135 * tools/gst-inspect.c: (print_element_properties_info):
24136 * tools/gst-xmlinspect.c: (print_element_properties):
24137 Fixed long standing mem-leak
24139 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24141 * check/gst/gstbin.c: (GST_START_TEST):
24142 * gst/gstbin.c: (bin_bus_handler):
24143 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24144 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24145 (gst_message_new_warning), (gst_message_new_tag),
24146 (gst_message_new_state_changed), (gst_message_new_segment_start),
24147 (gst_message_new_segment_done), (gst_message_new_custom):
24148 * gst/gstmessage.h:
24149 * tools/gst-launch.c: (event_loop):
24150 * tools/gst-md5sum.c: (event_loop):
24151 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24152 that applications can sensibly post custom messages with references
24153 to their own objects.
24155 2005-08-24 Andy Wingo <wingo@pobox.com>
24157 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24160 2005-08-24 Wim Taymans <wim@fluendo.com>
24162 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24163 (gst_base_transform_transform_caps),
24164 (gst_base_transform_transform_size),
24165 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24166 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24167 (gst_base_transform_handle_buffer):
24168 * gst/base/gstbasetransform.h:
24169 Many fixes and new features added by Thomas. Can now also do
24170 transforms with variable sizes and a custom fixate_caps function.
24172 2005-08-24 Wim Taymans <wim@fluendo.com>
24174 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24178 Cast to ClockTime before formatting to time.
24183 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24185 * check/gst-libs/controller.c: (GST_START_TEST),
24186 (gst_controller_suite):
24187 * docs/gst/tmpl/gstcaps.sgml:
24188 * docs/gst/tmpl/gstghostpad.sgml:
24189 * docs/gst/tmpl/gstquery.sgml:
24190 * docs/gst/tmpl/gstutils.sgml:
24191 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24192 (gst_object_sink_values), (gst_object_get_value_arrays),
24193 (gst_object_get_value_array):
24194 gracefully handle helper method calls to objects that are not beeing
24195 controlled, added test case for that
24197 2005-08-23 Wim Taymans <wim@fluendo.com>
24199 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24200 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24201 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24202 (gst_event_parse_qos), (gst_event_new_seek),
24203 (gst_event_parse_seek):
24205 Some more debugging output and doc cleanups.
24207 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24208 Fix possible deadlock.
24210 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24212 * docs/gst/gstreamer-docs.sgml:
24213 * docs/gst/gstreamer-sections.txt:
24214 * docs/gst/gstreamer.types:
24215 * docs/gst/tmpl/.cvsignore:
24218 * gst/gstelement.c:
24220 added 100 symbols from gstreamer-unused.txt to the right sections
24221 fixed more broken comments
24222 added GstBus to docs
24224 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24226 * docs/gst/gstreamer-sections.txt:
24227 * docs/gst/tmpl/.cvsignore:
24228 * docs/gst/tmpl/gstbin.sgml:
24229 * docs/gst/tmpl/gstbuffer.sgml:
24230 * gst/base/gstbasesrc.c:
24231 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24234 * tools/gst-launch.1.in:
24235 inlined more doc comments, added missing comments and fixed comments
24238 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24240 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24244 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24246 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24247 * gst/gststructure.h:
24248 add a fixate function for booleans; add a FIXME that these func
24249 names should probably be gst_structure_fixate_*
24251 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24253 * docs/gst/gstreamer-docs.sgml:
24254 * docs/gst/gstreamer-sections.txt:
24256 * gst/gstbin.c: (gst_bin_get_type),
24257 (gst_bin_child_proxy_get_child_by_index),
24258 (gst_bin_child_proxy_get_children_count),
24259 (gst_bin_child_proxy_init):
24260 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24261 (gst_child_proxy_get_child_by_index),
24262 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24263 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24264 (gst_child_proxy_get), (gst_child_proxy_set_property),
24265 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24266 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24267 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24268 * gst/gstchildproxy.h:
24269 * gst/parse/grammar.y:
24270 * tools/gst-inspect.c: (print_interfaces),
24271 (print_element_properties_info), (print_element_info):
24272 ported gstchildproxy over from 0.8
24273 ported gst-inspect fixes and enhancements over from 0.8
24275 2005-08-22 Wim Taymans <wim@fluendo.com>
24277 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24278 (gst_base_transform_handle_buffer):
24279 Also call the transform function if we have ANY caps.
24281 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24284 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24286 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24287 Don't pretend to handle seek events if the source is not seekable
24289 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24291 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24292 Remove extra parameter to debug output
24294 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24295 (gst_base_src_do_seek), (gst_base_src_activate_push):
24296 Fix seek event handling.
24298 * gst/gstpipeline.c: (gst_pipeline_change_state):
24299 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24300 (gst_queue_src_activate_push):
24301 Don't start the src pad task on FLUSH_STOP if the pad
24305 2005-08-22 Wim Taymans <wim@fluendo.com>
24307 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24308 Added check for gst_static_caps_get() refcounting.
24310 2005-08-22 Wim Taymans <wim@fluendo.com>
24312 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24313 Make _static_caps_get() refcounting sane.
24315 * gst/gstelement.c: (gst_element_set_state):
24316 Add g_return_val_if_fail() to protect against segfaults.
24318 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24320 * docs/gst/tmpl/gstevent.sgml:
24323 inlined remaining docs, added missing doc comments
24325 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24327 * check/gst/gstbin.c: (GST_START_TEST):
24328 since we don't know when preroll is done, use refcount range
24330 * gst/check/gstcheck.h:
24331 add macro for checking refcount range
24333 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24335 * check/Makefile.am:
24336 clean up environment for when registry gets built versus
24337 when actual tests are run; valgrind seems to not report
24338 leaks if GST_PLUGIN_PATH is set to some specific values
24339 * check/gst/gstbin.c: (GST_START_TEST):
24340 add more refcounting checks; maybe this exposes a
24342 * common/check.mak:
24343 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24344 * gst/check/gstcheck.h:
24345 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24346 (gst_bin_change_state):
24347 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24348 add/fix debugging/whitespace
24350 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24352 * check/gst/gstevent.c: (event_probe), (test_event),
24354 Er, don't call gst_bin_watch_for_state_change you idiot.
24356 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24358 * check/Makefile.am:
24359 Use CHECK_CFLAGS and CHECK_LIBS
24360 * check/gst/gstevent.c: (event_probe), (test_event),
24363 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24364 (gst_base_src_start), (gst_base_src_stop),
24365 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24366 (gst_base_src_change_state):
24367 Sprinkle gst_base_src_stop liberally around error paths to fix
24368 problems reusing a source after failed state changes.
24369 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24370 (helper_find_suggest), (gst_type_find_helper):
24371 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24373 * docs/gst/tmpl/gstevent.sgml:
24374 Migrate part of the docs from the SGML file. Wait for ensonic to
24375 tell me how I did it wrong ;)
24376 * tools/gst-typefind.c: (main):
24377 Extra robustness to state changes between files.
24379 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24381 * check/Makefile.am:
24382 don't valgrind the controller test - it's leaking - Stefan, HELP
24383 * gst/check/gstcheck.c: (gst_check_message_error),
24384 (gst_check_chain_func), (gst_check_setup_element),
24385 (gst_check_teardown_element), (gst_check_setup_src_pad),
24386 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24387 (gst_check_teardown_sink_pad):
24388 * gst/check/gstcheck.h:
24389 add a bunch of methods to set up elements, and src and sink pads
24390 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24391 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24394 * gst/gstmessage.c:
24396 whitespace/doc fixes
24398 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24400 * gst/gstelement.h:
24401 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24402 be handled by the application and not always printed as well
24404 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24406 * check/Makefile.am:
24408 * gst/check/gstcheck.c: (gst_check_message_error):
24409 * gst/check/gstcheck.h:
24410 add a fail_unless_equals_int
24411 add fail_unless for error messages
24413 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24415 * check/Makefile.am:
24417 * common/Makefile.am:
24418 * common/check.mak:
24420 factor out some of the common stuff so we can use it
24422 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24424 * check/Makefile.am:
24425 * check/gst/gstiterator.c: (GST_START_TEST):
24426 * check/gst/gstsystemclock.c: (GST_START_TEST),
24427 (gst_systemclock_suite):
24428 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24430 valgrind more tests
24432 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24434 * check/elements/.cvsignore:
24435 * check/elements/gstfakesrc.c:
24436 rename to name of element
24437 * check/elements/identity.c: (chain_func), (event_func),
24438 (setup_identity), (cleanup_identity), (GST_START_TEST),
24439 (identity_suite), (main):
24440 add a test for identity
24441 * check/Makefile.am:
24442 * pkgconfig/Makefile.am:
24443 * pkgconfig/gstreamer-check.pc.in:
24444 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24448 move the check stuff to a library that gets installed
24449 * check/gst-libs/controller.c: (GST_START_TEST):
24450 * check/gst-libs/gdp.c:
24451 * check/gst/gst.c: (GST_START_TEST):
24452 * check/gst/gstbin.c:
24453 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24454 * check/gst/gstbus.c:
24455 * check/gst/gstcaps.c: (GST_START_TEST):
24456 * check/gst/gstelement.c:
24457 * check/gst/gstghostpad.c:
24458 * check/gst/gstiterator.c:
24459 * check/gst/gstmessage.c:
24460 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24461 * check/gst/gstobject.c:
24462 * check/gst/gstpad.c: (GST_START_TEST):
24463 * check/gst/gststructure.c: (GST_START_TEST):
24464 * check/gst/gstsystemclock.c: (GST_START_TEST),
24465 (gst_systemclock_suite):
24466 * check/gst/gsttag.c: (gst_tag_suite):
24467 * check/gst/gstvalue.c:
24468 * check/pipelines/cleanup.c:
24469 * check/pipelines/simple_launch_lines.c:
24470 * check/states/sinks.c:
24471 change include statement
24473 * docs/gst/gstreamer-sections.txt:
24474 * docs/gst/tmpl/gstpad.sgml:
24475 document more pad stuff
24476 * gst/gstminiobject.c: (gst_mini_object_ref),
24477 (gst_mini_object_unref):
24480 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24482 * docs/gst/tmpl/gst.sgml:
24484 eliminate another tmpl file, fix spelling in the long-description
24486 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24488 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24489 (test_event), (timediff), (gstevents_suite):
24490 Should fix build on 64-bit arch's
24492 2005-08-18 Andy Wingo <wingo@pobox.com>
24494 Make sure that when a pipeline goes to PLAYING, that data has
24495 actually hit the sink.
24497 * check/states/sinks.c (test_sink): A sink that doesn't get any
24498 data shouldn't return SUCCESS for going to either PLAYING or
24499 PAUSED. Test also the return values on the way back down.
24501 * gst/gstelement.c (gst_element_set_state): When changing the
24502 state of an element currently changing state asynchronously, go to
24503 lost-state after commiting the pending state. Makes future calls
24504 to get_state continue to return ASYNC.
24506 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24507 ASYNC when going to PLAYING if we still don't have preroll, as can
24508 happen with live sources.
24510 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24512 * docs/pwg/advanced-types.xml:
24513 Hack long paragraph into 2 chunks as a workaround for buggy
24514 jadetex version in sid and breezy that loops infinitely and
24517 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24519 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24520 (test_event), (timediff), (gstevents_suite):
24521 Provide more error margin in clock measurements to allow for
24522 g_get_current_time inaccuracies.
24524 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24526 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24527 (test_event), (timediff), (gstevents_suite):
24528 Fix error message output so I might be able to tell why the
24529 test works here but fails on the build farm.
24531 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24533 * check/Makefile.am:
24534 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24535 (test_event), (timediff), (gstevents_suite), (main):
24538 * docs/design/part-seeking.txt:
24539 Spelling correction
24541 * docs/gst/tmpl/gstevent.sgml:
24542 * docs/gst/tmpl/gstfakesrc.sgml:
24545 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24546 Treat a buffer-without-newsegment the same as a receiving
24547 a newsegment not in time format, and disable syncing to the clock
24550 * gst/gstbus.c: (gst_bus_set_sync_handler):
24551 Assert if anyone tries to replace the existing sync_handler for bus,
24552 as only the owner should be setting it.
24555 Have a fixed set of custom event enums with events identified by
24556 their structure name (as in 0.8), rather than a free-for-all
24557 allowing collisions between enum values from different plugins.
24559 * gst/gstpad.c: (gst_pad_class_init):
24562 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24563 Handle out-of-band downstream events from the sending thread.
24565 2005-08-17 Andy Wingo <wingo@pobox.com>
24567 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24568 play-timeout==0 to mean no timeout at all. In that case, don't
24569 bother with a get_state or a warning, just return directly, even
24572 * gst/base/gstbasetransform.c: Debug changes.
24575 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24576 ensure bins post state change messages. A bit of a hack but I can't
24577 think of a way to avoid it.
24579 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24581 2005-08-16 Andy Wingo <wingo@pobox.com>
24583 * gst/base/gstadapter.h:
24584 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24585 peek() but you own the data. Not terribly efficient atm.
24587 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24589 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24590 (gst_element_found_tags):
24592 Add two utility functions for tag handling.
24594 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24596 * docs/manual/advanced-dataaccess.xml:
24597 * docs/manual/basics-helloworld.xml:
24598 Fix docs to use _bin_add() before _link(), which fixes the examples
24599 with recent core versions (reported by Madhan Raj M
24600 <raj_madan@rediffmail.com>, #313199).
24602 2005-08-16 Wim Taymans <wim@fluendo.com>
24604 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24605 Added subtract checks.
24607 * docs/design/part-events.txt:
24608 Some more docs about newsegment
24610 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24613 * gst/gstcaps.c: (gst_caps_to_string):
24614 Add comments, cleanups.
24616 * gst/gstelement.c: (gst_element_save_thyself):
24619 * gst/gstvalue.c: (gst_value_collect_int_range),
24620 (gst_string_unwrap), (gst_value_union_int_int_range),
24621 (gst_value_union_int_range_int_range),
24622 (gst_value_intersect_int_int_range),
24623 (gst_value_intersect_int_range_int_range),
24624 (gst_value_intersect_double_double_range),
24625 (gst_value_intersect_double_range_double_range),
24626 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24627 (gst_value_subtract_int_range_int),
24628 (gst_value_subtract_double_range_double),
24629 (gst_value_subtract_double_range_double_range),
24630 (gst_value_subtract_from_list), (gst_value_subtract_list),
24631 (gst_value_can_compare), (gst_value_compare_fraction):
24632 Cleanups, add comments, remove unneeded asserts.
24634 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24636 * tools/gst-launch.c: (event_loop):
24637 don't convert NULL structures to strings
24639 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24641 * docs/gst/gstreamer-sections.txt:
24642 made some defines private
24643 * docs/gst/tmpl/gstconfig.sgml:
24644 * docs/gst/tmpl/gstqueue.sgml:
24645 * docs/gst/tmpl/gsttaglist.sgml:
24646 * docs/gst/tmpl/gsttypes.sgml:
24647 * docs/gst/tmpl/gstutils.sgml:
24648 * docs/pwg/appendix-porting.xml:
24649 * gst/base/gstbasesink.h:
24650 * gst/base/gstbasesrc.c:
24651 * gst/base/gstbasesrc.h:
24652 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24653 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24654 * gst/gstelement.c: (gst_element_class_init):
24655 * gst/gstpad.c: (gst_pad_class_init):
24656 * gst/gstqueue.c: (gst_queue_class_init):
24657 * gst/gstxml.c: (gst_xml_class_init):
24658 documented all undocumented signal inline
24659 * libs/gst/controller/gst-controller.h:
24662 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24664 * docs/pwg/appendix-porting.xml:
24665 Document _set_link_function -> _set_setcaps_function.
24667 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24669 * check/Makefile.am:
24670 add a .check target for running the check
24671 * check/gst-libs/controller.c: (GST_START_TEST):
24673 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24674 complete checks for gstbuffer; would be nice if I could get the
24675 gcov stuff to work so I can see if I actually completed gstbuffer.c
24676 * check/gstcheck.h:
24677 add ASSERT_BUFFER_REFCOUNT
24679 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24681 * docs/gst/gstreamer-sections.txt:
24682 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24684 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24685 spew out a warning if a tag that is already registered
24686 is re-registered, unless it is re-registered with a
24687 different type (#308438).
24689 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24691 * docs/pwg/appendix-porting.xml:
24692 * docs/pwg/building-state.xml:
24693 Add some paragraphs about state changes in 0.9 to the PWG
24694 and the porting guide, in particular about the new meaning
24695 of GST_STATE_PAUSED and how to write state change functions
24696 with concurrent access by multiple threads in mind.
24698 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24700 * docs/gst/gstreamer-docs.sgml:
24701 * docs/libs/gstreamer-libs-docs.sgml:
24702 added deprecation and since indexes
24703 * libs/gst/controller/gst-controller.c:
24704 * libs/gst/controller/gst-helper.c:
24708 2005-08-11 Wim Taymans <wim@fluendo.com>
24710 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24711 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24712 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24713 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24714 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24715 (gst_ghost_pad_set_target):
24716 Actually implement (re)setting the target on a ghostpad
24717 as described in the docs.
24719 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24721 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24722 Check whether GST_DEBUG_NO_COLOR environment variable is
24723 set and disable coloured debug output if that is the case.
24725 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24727 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24728 (gst_type_find_helper):
24729 The memory returned by gst_type_find_peek() needs to
24730 stay valid until the end of a typefind function, and
24731 typefind functions may keep results from different
24732 offsets around, so we can't just unref the buffer from
24733 the previous _peek(), but have to save all buffers
24734 returned by _peek() until typefinding is done and only
24737 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24739 * docs/gst/gstreamer-sections.txt:
24741 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24743 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24745 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24746 Fix a pretty good memleak.
24748 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24750 * gst/gstiterator.h:
24751 Fix wrong include and 'make distcheck'.
24753 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24755 * gst/gstbin.c: (bin_bus_handler):
24756 Use gst_element_post_message() instead.
24758 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24760 * gst/base/gstadapter.h:
24761 * gst/base/gstbasesink.h:
24762 * gst/base/gstbasesrc.h:
24763 * gst/base/gstbasetransform.h:
24764 * gst/base/gstcollectpads.h:
24765 * gst/base/gstpushsrc.h:
24766 * gst/gstiterator.h:
24767 Add padding to our base elements' class and instance structs and
24768 to GstIterator (you will need to rebuild all plugins and apps!)
24770 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24772 * gst/gstbin.c: (bin_bus_handler):
24773 Make default message forwarding from child->bus to bin->bus
24774 threadsafe and make it not emit warnings if the parent has no bus.
24776 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24778 * gst/gstelement.c: (activate_pads):
24779 On paused->ready, set pad->caps to NULL, as is the documented
24780 behaviour in this state change. Fixes playback of series of
24781 media files when visualization is enabled in Totem.
24783 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24785 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24786 Allow NULL as filter-caps (which means "any").
24788 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24790 * docs/libs/gstreamer-libs-sections.txt:
24791 * libs/gst/controller/gst-controller.c:
24792 * libs/gst/controller/gst-controller.h:
24793 * libs/gst/controller/gst-helper.c:
24794 adding more entries to the docs and fix small doc-bugs
24796 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24798 * docs/gst/gstreamer-docs.sgml:
24799 * docs/gst/gstreamer-sections.txt:
24800 * docs/gst/gstreamer.types:
24801 * docs/gst/tmpl/gstbasesink.sgml:
24802 * docs/gst/tmpl/gstbasesrc.sgml:
24803 * docs/gst/tmpl/gstbasetransform.sgml:
24804 * docs/gst/tmpl/gstfakesrc.sgml:
24805 * gst/base/gstcollectpads.c:
24806 * gst/base/gstcollectpads.h:
24807 * libs/gst/controller/gst-controller.c:
24808 * libs/gst/controller/gst-controller.h:
24809 * libs/gst/controller/gst-helper.c:
24810 * libs/gst/controller/gst-interpolation.c:
24811 * libs/gst/controller/lib.c:
24812 added long/short desc for controller docs
24813 added collectpads base class docs
24814 added correct includes to base-class docs
24816 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24818 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24819 (gst_test_mono_source_set_property),
24820 (gst_test_mono_source_class_init), (GST_START_TEST),
24821 (gst_controller_suite):
24822 * docs/gst/gstreamer-docs.sgml:
24823 * docs/gst/gstreamer-sections.txt:
24824 * docs/gst/gstreamer.types:
24825 * docs/libs/gstreamer-libs-docs.sgml:
24826 * docs/libs/gstreamer-libs-sections.txt:
24827 * gst/base/gstadapter.c:
24828 * libs/gst/controller/gst-controller.c:
24829 (gst_controlled_property_new), (gst_controlled_property_free),
24830 (gst_controller_new_valist),
24831 (gst_controller_remove_properties_valist),
24832 (gst_controller_sink_values), (_gst_controller_finalize):
24833 * libs/gst/controller/gst-controller.h:
24834 * libs/gst/controller/gst-helper.c:
24835 (gst_object_control_properties), (gst_object_uncontrol_properties),
24836 (gst_object_get_controller), (gst_object_set_controller),
24837 (gst_object_sink_values), (gst_object_get_value_arrays),
24838 (gst_object_get_value_array):
24839 more tests (and fixes) for the controller
24840 more docs for the controller
24841 integrated companies docs for the adapter
24843 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24845 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24846 (GST_START_TEST), (fakesrc_suite):
24847 add tests for sizetype
24849 2005-08-04 Andy Wingo <wingo@pobox.com>
24851 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24852 fixes buffer_alloc proxying among other things.
24854 * gst/base/gstbasetransform.c:
24855 * gst/base/gstbasetransform.h:
24856 Revert patch to gstbasetransform from 7-28 removing
24859 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24860 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24861 Semantics changed, should return not the size of the output buffer
24862 but the byte size of a buffer with a given caps.
24864 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24866 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24867 out) are not the pad caps until setcaps finishes.
24868 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24869 not-in-place case as well. Deal with changing from in-place to
24870 not-in-place within calling pad_alloc_buffer. Still a bit
24871 concerned about the overhead here...
24873 2005-08-03 Andy Wingo <wingo@pobox.com>
24875 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24876 fixating is an error.
24878 2005-08-04 Edward Hervey <edward@fluendo.com>
24880 * gst/base/gstadapter.h:
24881 Added gst_adapter_get_type() to the header
24883 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24885 * check/Makefile.am:
24886 * check/gst-libs/controller.c:
24887 * libs/gst/controller/gst-controller.c:
24888 (gst_controller_new_valist):
24889 added check test suite for the controller
24890 * gst/base/gstpushsrc.c:
24893 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24895 * docs/gst/Makefile.am:
24896 * docs/gst/gstreamer-docs.sgml:
24897 * docs/gst/gstreamer-sections.txt:
24898 * docs/gst/gstreamer.types:
24899 * docs/gst/tmpl/gstfakesrc.sgml:
24901 * gst/base/gstbasesink.c:
24902 * gst/base/gstbasesink.h:
24903 * gst/base/gstbasesrc.c:
24904 * gst/base/gstbasesrc.h:
24905 * gst/base/gstbasetransform.c:
24906 * gst/base/gstpushsrc.c:
24907 * gst/base/gstpushsrc.h:
24908 add short/long description docs to base classes
24909 add pushsrc to the docs
24910 remove consolidated doc fragments
24912 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24915 * docs/libs/Makefile.am:
24916 * docs/libs/gstreamer-libs-docs.sgml:
24917 * docs/libs/gstreamer-libs-sections.txt:
24918 * docs/libs/gstreamer-libs.types:
24919 * examples/Makefile.am:
24920 * examples/controller/.cvsignore:
24921 * examples/controller/Makefile.am:
24922 * examples/controller/audio-example.c: (main):
24923 * libs/gst/Makefile.am:
24924 * libs/gst/controller/.cvsignore:
24925 * libs/gst/controller/Makefile.am:
24926 * libs/gst/controller/gst-controller.c:
24927 (on_object_controlled_property_changed), (gst_timed_value_compare),
24928 (gst_timed_value_find),
24929 (gst_controlled_property_set_interpolation_mode),
24930 (gst_controlled_property_new), (gst_controlled_property_free),
24931 (gst_controller_find_controlled_property),
24932 (gst_controller_new_valist), (gst_controller_new),
24933 (gst_controller_remove_properties_valist),
24934 (gst_controller_remove_properties), (gst_controller_set),
24935 (gst_controller_set_from_list), (gst_controller_unset),
24936 (gst_controller_get), (gst_controller_get_all),
24937 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24938 (gst_controller_get_value_array),
24939 (gst_controller_set_interpolation_mode),
24940 (_gst_controller_finalize), (_gst_controller_init),
24941 (_gst_controller_class_init), (gst_controller_get_type):
24942 * libs/gst/controller/gst-controller.h:
24943 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24944 (g_object_uncontrol_properties), (g_object_get_controller),
24945 (g_object_set_controller), (g_object_sink_values),
24946 (g_object_get_value_arrays), (g_object_get_value_array):
24947 * libs/gst/controller/gst-interpolation.c:
24948 (gst_controlled_property_find_timed_value_node),
24949 (interpolate_none_get), (interpolate_trigger_get),
24950 (interpolate_trigger_get_value_array):
24951 * libs/gst/controller/lib.c: (gst_controller_init):
24952 * pkgconfig/Makefile.am:
24953 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24954 * pkgconfig/gstreamer-control.pc.in:
24955 * testsuite/Makefile.am:
24956 * testsuite/controller/.cvsignore:
24957 * testsuite/controller/Makefile.am:
24958 * testsuite/controller/interpolator.c: (main):
24959 added controller code
24960 removed dparam pc files
24962 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24963 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24964 (gst_collectpads_stop):
24965 Broadcast the condition when shutting down, to make sure we wake all
24966 threads up. Shut down pads on finalize, for safety.
24968 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24969 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24970 (gst_base_transform_handle_buffer),
24971 (gst_base_transform_change_state):
24972 Handle PAUSED->READY->PAUSED transition after negotiation
24974 * gst/gstmessage.c: (gst_message_init):
24975 Extra piece of debug for new messages.
24977 2005-08-01 Stefan Kost <ensonic@users.sf.net>
24980 * docs/gst/tmpl/gstbasesrc.sgml:
24981 * docs/gst/tmpl/gstelement.sgml:
24982 * docs/gst/tmpl/gstevent.sgml:
24983 * docs/gst/tmpl/gstfakesrc.sgml:
24984 * docs/gst/tmpl/gstformat.sgml:
24985 * docs/gst/tmpl/gstghostpad.sgml:
24986 * docs/gst/tmpl/gstpad.sgml:
24987 * docs/gst/tmpl/gstquery.sgml:
24988 * docs/gst/tmpl/gststructure.sgml:
24989 * docs/gst/tmpl/gsttaglist.sgml:
24990 * docs/gst/tmpl/gstvalue.sgml:
24991 * docs/libs/gstreamer-libs-docs.sgml:
24992 * docs/libs/gstreamer-libs-sections.txt:
24993 * docs/libs/gstreamer-libs.types:
24994 * libs/gst/Makefile.am:
24995 * libs/gst/control/.cvsignore:
24996 * libs/gst/control/Makefile.am:
24997 * libs/gst/control/control.c:
24998 * libs/gst/control/control.h:
24999 * libs/gst/control/dparam.c:
25000 * libs/gst/control/dparam.h:
25001 * libs/gst/control/dparam_smooth.c:
25002 * libs/gst/control/dparam_smooth.h:
25003 * libs/gst/control/dparamcommon.h:
25004 * libs/gst/control/dparammanager.c:
25005 * libs/gst/control/dparammanager.h:
25006 * libs/gst/control/dplinearinterp.c:
25007 * libs/gst/control/dplinearinterp.h:
25008 * libs/gst/control/unitconvert.c:
25009 * libs/gst/control/unitconvert.h:
25010 * testsuite/Makefile.am:
25011 * testsuite/dynparams/.cvsignore:
25012 * testsuite/dynparams/Makefile.am:
25013 * testsuite/dynparams/dparamstest.c:
25014 * tools/Makefile.am:
25015 * tools/gst-inspect.c: (print_element_info), (main):
25016 * tools/gst-xmlinspect.c: (print_element_info), (main):
25017 deactivate and remove dparams (libgstcontrol)
25019 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25021 * gst/elements/gsttypefindelement.c:
25022 (gst_type_find_element_have_type), (gst_type_find_element_init),
25023 (stop_typefinding), (gst_type_find_element_handle_event),
25024 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25025 * gst/elements/gsttypefindelement.h:
25026 Set caps on all outgoing buffers, not just the first one.
25028 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25030 * gst/elements/gsttypefindelement.c:
25031 (gst_type_find_element_have_type),
25032 (gst_type_find_element_check_set_buffer_caps),
25033 (gst_type_find_element_init), (stop_typefinding),
25034 (gst_type_find_element_handle_event),
25035 (gst_type_find_element_chain), (gst_type_find_element_getrange):
25036 * gst/elements/gsttypefindelement.h:
25037 Set caps on first outgoing buffer when we've found the type.
25039 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
25041 * docs/gst/gstreamer-docs.sgml:
25042 * docs/gst/gstreamer-sections.txt:
25043 * docs/gst/tmpl/gstscheduler.sgml:
25044 * docs/gst/tmpl/gstschedulerfactory.sgml:
25045 Remove some old cruft from docs.
25047 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
25050 Fix inline docs for GstPadLinkReturn.
25052 * gst/gststructure.c: (gst_structure_has_name):
25053 * gst/gststructure.h:
25054 * docs/gst/gstreamer-sections.txt:
25055 New API: gst_structure_has_name().
25057 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
25060 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
25061 and _LARGEFILE_SOURCE in config.h as required. Do not
25062 export those flags in our .pc files any longer (#142209).
25064 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
25066 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
25067 (gst_file_sink_do_seek), (gst_file_sink_event),
25068 (gst_file_sink_get_current_offset), (gst_file_sink_render):
25069 Redo seek/tell calls with large file support in mind; add some
25070 debugging messages; add log message that tells us when large
25071 file support is unavailable or not enabled for some reason.
25073 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
25074 Add log message that tells us when large file support
25075 is unavailable or not enabled for some reason.
25077 2005-07-29 Wim Taymans <wim@fluendo.com>
25079 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25080 Added test for removing an element with ghostpad from a bin.
25081 Fixed test as current implementation does the right thing.
25083 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
25084 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
25085 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
25086 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
25087 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
25088 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
25089 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
25090 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25091 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25092 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25093 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25094 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25095 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25096 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25097 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25098 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25099 * gst/gstghostpad.h:
25100 Clean up ghostpads, remove properties for internal stuff.
25103 Prepare for switching targets, not all use cases work yet.
25105 2005-07-29 Wim Taymans <wim@fluendo.com>
25107 * docs/design/part-gstghostpad.txt:
25110 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25111 (gst_bin_remove_func):
25112 Unlinking pads while holding the bin LOCK is not a good
25115 * gst/gstpad.c: (gst_pad_class_init),
25116 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25117 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25118 No prob setting template after creating the pad.
25120 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25122 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25123 (gst_bus_peek), (gst_bus_source_dispatch),
25124 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25125 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25126 gst_bus_poll may be called from other threads. Handle
25127 this nicely by not making poll_data disappear off the
25128 stack once gst_bus_poll returns.
25129 gst_bus_peek now increments the refcount on the returned
25132 2005-07-29 Wim Taymans <wim@fluendo.com>
25134 * docs/design/part-gstghostpad.txt:
25135 Overview of current GhostPad datastructures and use
25136 cases for changing the target.
25138 2005-07-28 Wim Taymans <wim@fluendo.com>
25140 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25141 Added checks for hierarchy consistency whan adding linked
25144 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25145 Added check to test element scheduling without bin/pipeline.
25147 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25148 First add elements to bin, then link.
25150 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25151 (gst_bin_remove_func):
25152 Unlink pads from elements added/removed from bin to maintain
25153 hierarchy consistency.
25155 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25157 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25158 (gst_base_transform_handle_buffer):
25159 * gst/base/gstbasetransform.h:
25160 Remove broken delay_configure (fixes renegotiation of software
25161 scaling pipelines); remove some leftover printf()s.
25163 2005-07-28 Wim Taymans <wim@fluendo.com>
25165 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25166 Added some more tests for wrong hierarchy
25168 * docs/design/part-overview.txt:
25171 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25174 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25175 (gst_element_dispose):
25176 Some more cleanups.
25178 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25179 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25180 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25181 (gst_pad_set_caps), (gst_pad_send_event):
25182 Check for correct hierarchy when linking pads. Moving to
25183 strict requirement for ghostpads when linking elements in
25187 Clean ups. Added WRONG_HIERARCHY return value.
25189 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25191 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25192 Better debug if no transform is possible.
25194 2005-07-27 Wim Taymans <wim@fluendo.com>
25196 * docs/random/wtay/network-transp:
25197 Some old doc I had.
25199 2005-07-27 Wim Taymans <wim@fluendo.com>
25201 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25202 (gst_dp_event_from_packet):
25203 Fix serialization of seek events.
25205 2005-07-27 Wim Taymans <wim@fluendo.com>
25207 * check/gst-libs/gdp.c: (GST_START_TEST):
25208 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25209 Fix compilation and fix event serialization.
25211 2005-07-27 Wim Taymans <wim@fluendo.com>
25214 * docs/design/part-TODO.txt:
25215 * docs/design/part-events.txt:
25218 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25219 (gst_base_sink_event), (gst_base_sink_do_sync),
25220 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25221 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25222 (gst_base_src_do_seek), (gst_base_src_event_handler),
25223 (gst_base_src_loop):
25224 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25225 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25226 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25227 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25228 (gst_base_transform_set_passthrough),
25229 (gst_base_transform_is_passthrough):
25230 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25231 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25237 * gst/gstelement.c: (gst_element_seek):
25238 * gst/gstelement.h:
25239 Update gst_element_seek.
25241 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25242 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25243 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25244 (gst_event_new_eos), (gst_event_new_newsegment),
25245 (gst_event_parse_newsegment), (gst_event_new_tag),
25246 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25247 (gst_event_parse_qos), (gst_event_new_seek),
25248 (gst_event_parse_seek), (gst_event_new_navigation):
25250 Make GstEvent use GstStructure. Add parsing code, make sure the
25251 API is sufficiently generic.
25252 Mark possible directions of events and serialization.
25254 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25255 (_gst_message_copy), (gst_message_new_segment_start),
25256 (gst_message_new_segment_done), (gst_message_new_custom),
25257 (gst_message_parse_segment_start),
25258 (gst_message_parse_segment_done):
25261 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25262 (gst_pad_set_caps), (gst_pad_send_event):
25263 Update for new events.
25264 Catch events sent in wrong directions.
25266 * gst/gstqueue.c: (gst_queue_link_src),
25267 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25268 (gst_queue_handle_src_query):
25273 Remove event code from this file.
25275 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25276 (gst_dp_event_from_packet):
25279 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25281 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25282 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25283 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25284 Make debugging actually useful.
25286 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25288 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25289 (gst_pad_fixate_caps):
25290 Implement default fixation once again, so that gst_pad_fixate()
25291 actually does anything at all. This probably needs to be some
25292 sort of a last resort, and use profile-based fixation first, but
25293 since that doesn't exist yet, this is the best we have. Fixes
25294 visualization in Totem.
25296 2005-07-22 Wim Taymans <wim@fluendo.com>
25298 * docs/design/part-events.txt:
25301 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25302 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25303 (gst_base_sink_activate_pull):
25304 Some more comments.
25306 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25307 (gst_fake_src_create):
25308 Fix handoff marshall.
25310 * gst/elements/gstidentity.c: (gst_identity_class_init),
25311 (gst_identity_transform_ip):
25312 We're a real inplace element.
25314 * gst/gstbus.c: (gst_bus_post):
25315 Added some comments.
25317 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25318 * tests/muxing/case1.c: (main):
25319 * tests/sched/dynamic-pipeline.c: (main):
25320 * tests/sched/interrupt1.c: (main):
25321 * tests/sched/interrupt2.c: (main):
25322 * tests/sched/interrupt3.c: (main):
25323 * tests/sched/runxml.c: (main):
25324 * tests/sched/sched-stress.c: (main):
25325 * tests/seeking/seeking1.c: (event_received), (main):
25326 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25328 * tests/threadstate/threadstate3.c: (main):
25329 * tests/threadstate/threadstate4.c: (main):
25330 * tests/threadstate/threadstate5.c: (main):
25333 2005-07-21 Wim Taymans <wim@fluendo.com>
25335 * docs/design/part-seeking.txt:
25336 Some small additions.
25338 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25339 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25340 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25341 * gst/base/gstbasesink.h:
25342 discont values are gint64, handle the math correctly.
25344 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25345 Make the basesrc report error if the source pad is not linked.
25347 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25348 (gst_queue_loop), (gst_queue_handle_src_query),
25349 (gst_queue_src_activate_push):
25350 Make queue collect data even if the srcpad is not linked.
25351 Start pushing out data as soon as it is linked.
25353 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25355 Added gst_flow_get_name() to ease error reporting.
25357 2005-07-20 Wim Taymans <wim@fluendo.com>
25359 * gst/gstmessage.c: (gst_message_new_segment_start),
25360 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25361 (gst_message_parse_segment_done):
25362 * gst/gstmessage.h:
25363 Added a bunch of messages for advanced seeking.
25365 * gst/parse/grammar.y:
25366 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25367 (gst_dpman_state_changed):
25368 Fix some new-pad -> pad-added signals
25370 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25372 * docs/manual/appendix-porting.xml:
25373 * docs/pwg/appendix-porting.xml:
25374 Document new-pad/state-change signal renames and the FixedList
25377 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25379 * docs/manual/advanced-autoplugging.xml:
25380 * docs/manual/basics-helloworld.xml:
25381 * docs/manual/basics-pads.xml:
25382 * docs/random/ds/0.9-suggested-changes:
25383 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25384 * gst/gstelement.h:
25388 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25389 (gst_structure_parse_array), (gst_structure_parse_value):
25390 * gst/gstvalue.c: (gst_type_is_fixed),
25391 (gst_value_list_prepend_value), (gst_value_list_append_value),
25392 (gst_value_list_get_size), (gst_value_list_get_value),
25393 (gst_value_transform_array_string), (gst_value_serialize_array),
25394 (gst_value_deserialize_array), (gst_value_intersect_array),
25395 (gst_value_is_fixed), (_gst_value_initialize):
25397 GstElement::new-pad -> pad-added, GstElement::state-change ->
25398 state-changed, GstValueFixedList -> GstValueArray, add format and
25399 flags as their own arguments in gst_element_seek() (should improve
25400 "bindeability"), remove function generators since they don't work
25401 under a whole bunch of compilers (they were deprecated already
25404 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25406 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25407 (_gst_debug_register_funcptr):
25409 Fix illegal cast on some platforms (#309253).
25411 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25413 * gst/gstmessage.c: (gst_message_new_custom):
25414 * gst/gstmessage.h:
25415 Add _new_custom, make _new_application a macro to _new_custom.
25417 2005-07-20 Wim Taymans <wim@fluendo.com>
25419 * gst/base/gstbasesrc.c: (gst_base_src_init),
25420 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25421 * gst/base/gstbasesrc.h:
25422 Add a gboolean to decide when to push out a discont.
25424 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25425 (gst_queue_loop), (gst_queue_handle_src_query),
25426 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25427 (gst_queue_set_property), (gst_queue_get_property):
25430 * tests/threadstate/threadstate1.c: (main):
25431 Make a thread test compile and run... very silly..
25434 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25436 * docs/manual/appendix-porting.xml:
25437 Mention removal of libgstgconf-0.9.la and existence of gconf
25440 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25442 * docs/pwg/advanced-clock.xml:
25443 * docs/pwg/appendix-porting.xml:
25444 * docs/pwg/intro-preface.xml:
25445 * docs/pwg/other-base.xml:
25446 * docs/pwg/other-manager.xml:
25447 * docs/pwg/other-nton.xml:
25448 * docs/pwg/other-ntoone.xml:
25449 * docs/pwg/other-oneton.xml:
25450 * docs/pwg/pwg.xml:
25451 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25452 demuxer), remove n-to-n (was never written), fix some code examples
25453 and links and update the porting section to include all this.
25455 2005-07-19 Wim Taymans <wim@fluendo.com>
25457 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25458 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25459 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25460 (gst_queue_src_activate_push), (gst_queue_change_state),
25461 (gst_queue_get_property):
25463 Propagate GstFlowReturn more intelligently upstream and output
25464 an ERROR/EOS when streaming stopped due to fatal error.
25466 2005-07-19 Wim Taymans <wim@fluendo.com>
25468 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25469 Don't block forever for the state change to complete, the
25470 pipeline already did with a sensible timeout.
25472 2005-07-19 Wim Taymans <wim@fluendo.com>
25474 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25475 Make sure we never call the create function is we
25478 2005-07-19 Andy Wingo <wingo@pobox.com>
25480 * gst/parse/parse.l: Attempt to solve bug #172815.
25482 2005-07-19 Wim Taymans <wim@fluendo.com>
25484 * docs/design/part-clocks.txt:
25485 * docs/design/part-events.txt:
25486 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25487 Small docs updates.
25488 Only update the seeking values when we are not
25491 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25493 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25494 Oops, ignore the result of gst_pad_push_event here.
25496 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25498 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25499 (gst_base_src_activate_push):
25500 Send discont event from the loop function, as pads
25501 aren't activated yet in the activate_push handler.
25503 * gst/gstbin.c: (bin_bus_handler):
25504 Don't leak element name.
25506 2005-07-18 Andy Wingo <wingo@pobox.com>
25508 * configure.ac: Use AS_LIBTOOL_TAGS.
25510 2005-07-18 Wim Taymans <wim@fluendo.com>
25512 * docs/gst/gstreamer.types:
25513 Remove deleted types.
25515 2005-07-18 Wim Taymans <wim@fluendo.com>
25517 * check/elements/gstfakesrc.c: (GST_START_TEST):
25520 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25521 (init_popt_callback):
25523 * gst/gst_private.h:
25524 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25525 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25528 * gst/gstconfig.h.in:
25529 * gst/gstelement.c: (gst_element_class_init),
25530 (gst_element_set_base_time), (gst_element_get_base_time),
25531 (iterator_fold_with_resync), (gst_element_change_state),
25532 (gst_element_dispose), (gst_element_get_bus):
25533 * gst/gstelement.h:
25534 * gst/gstelementfactory.h:
25535 * gst/gsterror.c: (_gst_core_errors_init):
25538 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25540 * gst/gstinfo.c: (_gst_debug_init):
25541 * gst/gstmessage.c: (_gst_message_copy):
25542 * gst/gstmessage.h:
25543 * gst/gstminiobject.h:
25546 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25547 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25550 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25551 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25552 (gst_pipeline_get_last_stream_time):
25553 * gst/gstpipeline.h:
25554 * gst/gstpluginfeature.h:
25556 * gst/gstscheduler.c:
25557 * gst/gstscheduler.h:
25558 * gst/gststructure.h:
25559 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25560 (gst_task_finalize), (gst_task_func), (gst_task_create),
25561 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25562 (gst_task_stop), (gst_task_pause):
25564 * gst/gsttypefind.h:
25566 * gst/registries/gstlibxmlregistry.c: (load_feature),
25567 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25568 * gst/registries/gstxmlregistry.c:
25569 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25570 * gst/schedulers/threadscheduler.c:
25571 * libs/gst/control/dparammanager.h:
25572 * tools/gst-inspect.c: (print_element_list),
25573 (print_plugin_features), (print_element_features):
25574 * tools/gst-xmlinspect.c: (print_element_list),
25575 (print_plugin_info), (main):
25576 Removed plugable schedulers.
25577 Removed Scheduler/Manager from elements.
25578 Removed gsttypes.h, rearranged includes.
25579 Removed dependency pad<->element, element<>pipeline, and
25580 various others, fix includes.
25581 implement gst_pad_get_parent() with gst_object_get_parent()
25582 Make GstTask sefcontained.
25583 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25585 Fix endless loop in iterator_fold_with_resync.
25588 2005-07-18 Wim Taymans <wim@fluendo.com>
25594 2005-07-18 Wim Taymans <wim@fluendo.com>
25597 No more cothreads.h
25599 2005-07-18 Wim Taymans <wim@fluendo.com>
25603 Let's remove these.
25605 2005-07-18 Wim Taymans <wim@fluendo.com>
25607 * docs/design/part-dynamic.txt:
25608 * docs/design/part-events.txt:
25609 * docs/design/part-seeking.txt:
25610 Some more docs in the works.
25612 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25613 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25614 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25615 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25616 (gst_base_transform_handle_buffer),
25617 (gst_base_transform_sink_activate_push),
25618 (gst_base_transform_src_activate_pull),
25619 (gst_base_transform_set_passthrough),
25620 (gst_base_transform_is_passthrough):
25623 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25626 * gst/gstevent.c: (gst_event_finalize):
25629 * gst/gstutils.c: (gst_element_unlink),
25630 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25631 (gst_pad_proxy_setcaps):
25633 Add _get_parent_element() to get a pads parent as an element.
25635 2005-07-18 Wim Taymans <wim@fluendo.com>
25637 * check/gst/gstbin.c: (GST_START_TEST):
25640 2005-07-18 Wim Taymans <wim@fluendo.com>
25642 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25643 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25644 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25645 (gst_base_sink_event), (gst_base_sink_do_sync),
25646 (gst_base_sink_chain), (gst_base_sink_loop),
25647 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25648 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25650 Fix logic for returning ASYNC when not prerolled.
25652 2005-07-18 Wim Taymans <wim@fluendo.com>
25654 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25655 Fix nasty refcount bug.
25657 2005-07-16 Philippe Khalaf <burger@speedy.org>
25659 * gst/elements/gstfdsrc.c:
25660 * gst/elements/gstfdsrc.h:
25661 * gst/elements/gstelements.c:
25662 * gst/elements/Makefile.am:
25663 Ported fdsrc to 0.9.
25665 2005-07-16 Wim Taymans <wim@fluendo.com>
25667 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25668 (gst_base_sink_do_sync):
25671 2005-07-16 Wim Taymans <wim@fluendo.com>
25673 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25674 (gst_base_sink_event), (gst_base_sink_get_times),
25675 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25676 * gst/base/gstbasesink.h:
25677 Store and use discont values when syncing buffers as described
25680 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25681 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25682 (gst_base_src_activate_push):
25683 Push discont event when starting.
25685 * gst/elements/gstidentity.c: (gst_identity_transform):
25688 * gst/gstbin.c: (gst_bin_change_state):
25689 Small cleanups in base_time distribution.
25691 * gst/gstelement.c: (gst_element_set_base_time),
25692 (gst_element_get_base_time), (gst_element_change_state):
25693 * gst/gstelement.h:
25694 Added methods for the base_time of the element.
25697 * gst/gstpipeline.c: (gst_pipeline_send_event),
25698 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25699 (gst_pipeline_get_last_stream_time):
25700 * gst/gstpipeline.h:
25702 Handle seeking as described in design doc, remove stream_time
25704 Cleanups clock and stream_time selection code. Added accessors
25705 for the stream_time.
25708 2005-07-16 Andy Wingo <wingo@pobox.com>
25710 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25713 2005-07-16 Wim Taymans <wim@fluendo.com>
25715 * check/gst/gstbin.c: (GST_START_TEST):
25716 Make elements silent as the deep_notify refs the
25717 parent, which might make the test fail.
25719 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25720 Don't hold the lock for too long.
25722 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25724 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25725 Don't unref the caps we passed to gst_caps_make_writable() after
25726 passing them. gst_caps_make_writable() will do that for us.
25728 2005-07-15 Andy Wingo <wingo@pobox.com>
25730 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25733 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25734 own marshalling function for the handoff signal. Properly type the
25735 buffer as a buffer. Fixes some warnings. Should do a more general
25737 (gst_identity_class_init): Plug into the right marshaller.
25739 2005-07-15 Wim Taymans <wim@fluendo.com>
25741 * docs/design/part-TODO.txt:
25742 * docs/design/part-clocks.txt:
25743 * docs/design/part-element-sink.txt:
25744 * docs/design/part-events.txt:
25745 * docs/design/part-gstpipeline.txt:
25746 Updated docs, mostly DISCONT related.
25748 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25750 * docs/pwg/building-pads.xml:
25751 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25753 2005-07-15 Andy Wingo <wingo@pobox.com>
25755 * tools/gst-typefind.c: Update, add copyright block.
25757 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25758 Normalize and truncate caps before fixation.
25761 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25762 discards all but the first structure from its argument.
25764 2005-07-15 Wim Taymans <wim@fluendo.com>
25766 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25767 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25768 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25769 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25770 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25771 (gst_base_transform_chain), (gst_base_transform_change_state),
25772 (gst_base_transform_set_passthrough),
25773 (gst_base_transform_is_passthrough):
25774 * gst/base/gstbasetransform.h:
25775 Make passthrough work using the bufferpools.
25776 Changed API a bit, subclasses have to write into a buffer
25777 provided by the base class.
25778 More debug info in nego functions.
25780 * gst/elements/gstidentity.c: (gst_identity_init),
25781 (gst_identity_transform):
25782 Port to new base class.
25784 2005-07-15 Wim Taymans <wim@fluendo.com>
25786 * gst/gstmessage.c: (gst_message_new_state_changed):
25787 * tools/gst-launch.c: (event_loop), (main):
25788 Totally dump messages in -launch with the -m option.
25789 Fix message name for State messages,
25791 2005-07-14 Wim Taymans <wim@fluendo.com>
25793 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25794 Post error messages on errors.
25796 2005-07-14 Wim Taymans <wim@fluendo.com>
25798 * gst/gstcaps.c: (gst_caps_do_simplify):
25802 Define error for stream stopped.
25804 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25805 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25806 Do proper return values.
25808 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25809 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25810 (gst_pad_get_range):
25811 Better return values.
25814 Reorganise return values, add macro to check for fatal errors.
25816 * gst/gstqueue.c: (gst_queue_chain):
25817 Return proper GstFlowReturn values,
25819 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25821 * docs/gst/gstreamer-sections.txt:
25822 * docs/gst/gstreamer.types:
25823 * docs/gst/tmpl/gst.sgml:
25824 * docs/gst/tmpl/gstbasesink.sgml:
25825 * docs/gst/tmpl/gstbasesrc.sgml:
25826 * docs/gst/tmpl/gstbasetransform.sgml:
25827 * docs/gst/tmpl/gstbin.sgml:
25828 * docs/gst/tmpl/gstbuffer.sgml:
25829 * docs/gst/tmpl/gstcaps.sgml:
25830 * docs/gst/tmpl/gstclock.sgml:
25831 * docs/gst/tmpl/gstcompat.sgml:
25832 * docs/gst/tmpl/gstconfig.sgml:
25833 * docs/gst/tmpl/gstelement.sgml:
25834 * docs/gst/tmpl/gstelementdetails.sgml:
25835 * docs/gst/tmpl/gstelementfactory.sgml:
25836 * docs/gst/tmpl/gstenumtypes.sgml:
25837 * docs/gst/tmpl/gsterror.sgml:
25838 * docs/gst/tmpl/gstevent.sgml:
25839 * docs/gst/tmpl/gstfakesink.sgml:
25840 * docs/gst/tmpl/gstfakesrc.sgml:
25841 * docs/gst/tmpl/gstfilesink.sgml:
25842 * docs/gst/tmpl/gstfilesrc.sgml:
25843 * docs/gst/tmpl/gstfilter.sgml:
25844 * docs/gst/tmpl/gstformat.sgml:
25845 * docs/gst/tmpl/gstghostpad.sgml:
25846 * docs/gst/tmpl/gstimplementsinterface.sgml:
25847 * docs/gst/tmpl/gstindex.sgml:
25848 * docs/gst/tmpl/gstindexfactory.sgml:
25849 * docs/gst/tmpl/gstinfo.sgml:
25850 * docs/gst/tmpl/gstiterator.sgml:
25851 * docs/gst/tmpl/gstmacros.sgml:
25852 * docs/gst/tmpl/gstmemchunk.sgml:
25853 * docs/gst/tmpl/gstminiobject.sgml:
25854 * docs/gst/tmpl/gstobject.sgml:
25855 * docs/gst/tmpl/gstpad.sgml:
25856 * docs/gst/tmpl/gstpadtemplate.sgml:
25857 * docs/gst/tmpl/gstparse.sgml:
25858 * docs/gst/tmpl/gstpipeline.sgml:
25859 * docs/gst/tmpl/gstplugin.sgml:
25860 * docs/gst/tmpl/gstpluginfeature.sgml:
25861 * docs/gst/tmpl/gstquery.sgml:
25862 * docs/gst/tmpl/gstqueue.sgml:
25863 * docs/gst/tmpl/gstregistry.sgml:
25864 * docs/gst/tmpl/gstregistrypool.sgml:
25865 * docs/gst/tmpl/gstscheduler.sgml:
25866 * docs/gst/tmpl/gstschedulerfactory.sgml:
25867 * docs/gst/tmpl/gststructure.sgml:
25868 * docs/gst/tmpl/gstsystemclock.sgml:
25869 * docs/gst/tmpl/gsttaglist.sgml:
25870 * docs/gst/tmpl/gsttagsetter.sgml:
25871 * docs/gst/tmpl/gsttrace.sgml:
25872 * docs/gst/tmpl/gsttrashstack.sgml:
25873 * docs/gst/tmpl/gsttypefind.sgml:
25874 * docs/gst/tmpl/gsttypefindfactory.sgml:
25875 * docs/gst/tmpl/gsttypes.sgml:
25876 * docs/gst/tmpl/gsturihandler.sgml:
25877 * docs/gst/tmpl/gsturitype.sgml:
25878 * docs/gst/tmpl/gstutils.sgml:
25879 * docs/gst/tmpl/gstvalue.sgml:
25880 * docs/gst/tmpl/gstversion.sgml:
25881 * docs/gst/tmpl/gstxml.sgml:
25882 * docs/libs/tmpl/gstcontrol.sgml:
25883 * docs/libs/tmpl/gstdataprotocol.sgml:
25884 * docs/libs/tmpl/gstdparam.sgml:
25885 * docs/libs/tmpl/gstdplinint.sgml:
25886 * docs/libs/tmpl/gstdpman.sgml:
25887 * docs/libs/tmpl/gstdpsmooth.sgml:
25888 * docs/libs/tmpl/gstgetbits.sgml:
25889 * docs/libs/tmpl/gstunitconvert.sgml:
25890 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25891 (gst_push_src_base_init), (gst_push_src_class_init),
25892 (gst_push_src_init), (gst_push_src_create):
25893 * gst/base/gstpushsrc.h:
25894 * gst/elements/gstelements.c:
25895 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25896 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25897 (gst_fake_sink_init), (gst_fake_sink_set_property),
25898 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25899 (gst_fake_sink_event), (gst_fake_sink_preroll),
25900 (gst_fake_sink_render), (gst_fake_sink_change_state):
25901 * gst/elements/gstfakesink.h:
25902 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25903 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25904 (gst_fake_src_base_init), (gst_fake_src_class_init),
25905 (gst_fake_src_init), (gst_fake_src_event_handler),
25906 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25907 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25908 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25909 (gst_fake_src_create_buffer), (gst_fake_src_create),
25910 (gst_fake_src_start), (gst_fake_src_stop):
25911 * gst/elements/gstfakesrc.h:
25912 * gst/elements/gstfilesink.c: (_do_init),
25913 (gst_file_sink_base_init), (gst_file_sink_class_init),
25914 (gst_file_sink_init), (gst_file_sink_dispose),
25915 (gst_file_sink_set_location), (gst_file_sink_set_property),
25916 (gst_file_sink_get_property), (gst_file_sink_open_file),
25917 (gst_file_sink_close_file), (gst_file_sink_query),
25918 (gst_file_sink_event), (gst_file_sink_render),
25919 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25920 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25921 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25922 * gst/elements/gstfilesink.h:
25923 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25924 (gst_file_src_class_init), (gst_file_src_init),
25925 (gst_file_src_finalize), (gst_file_src_set_location),
25926 (gst_file_src_set_property), (gst_file_src_get_property),
25927 (gst_file_src_map_region), (gst_file_src_map_small_region),
25928 (gst_file_src_create_mmap), (gst_file_src_create_read),
25929 (gst_file_src_create), (gst_file_src_is_seekable),
25930 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25931 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25932 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25933 (gst_file_src_uri_handler_init):
25934 * gst/elements/gstfilesrc.h:
25935 more autistic cleanliness in functions/names/defines
25937 2005-07-13 Andy Wingo <wingo@pobox.com>
25939 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25940 source couldn't negotiate.
25942 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25946 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25947 function. I am channeling Hades. Put your boots on suckers!!!
25949 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25951 * testsuite/caps/Makefile.am:
25952 * testsuite/caps/value_compare.c:
25953 * testsuite/caps/value_intersect.c:
25954 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25955 move two testsuite apps over to the check dir
25957 2005-07-12 Wim Taymans <wim@fluendo.com>
25959 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25960 Added more debug info in the negotiate process.
25962 * gst/gstmessage.h:
25963 Prepare for segment playback.
25965 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25971 * tools/gst-launch.c: (main):
25972 NULL pipeline on errors.
25974 2005-07-12 Andy Wingo <wingo@pobox.com>
25976 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25977 not it comes from a malloc region. Make sure our copy gets freed.
25979 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25981 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25982 * check/gst/gstmessage.c: (GST_START_TEST):
25983 * check/gst/gststructure.c: (GST_START_TEST),
25984 (gst_structure_suite), (main):
25986 * gst/gstelement.c: (gst_element_message_full):
25987 clean up GError and debug string now that they get copied
25988 * gst/gstmessage.c: (gst_message_new_error),
25989 (gst_message_new_warning), (gst_message_parse_error),
25990 (gst_message_parse_warning):
25991 use GST_TYPE_G_ERROR for structure_new, and take copies of
25992 arguments, so that we don't mess up refcounting
25994 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25996 * check/Makefile.am:
25997 add per-test valgrind targets
25998 * check/gst-libs/gdp.c: (GST_START_TEST),
25999 (gst_data_protocol_suite), (main):
26002 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
26004 * check/Makefile.am:
26005 instate more valgrindable tests
26006 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26007 (GST_START_TEST), (fakesrc_suite):
26008 * check/gst/gstpad.c: (GST_START_TEST):
26009 * check/gst/gststructure.c: (GST_START_TEST):
26011 * docs/gst/tmpl/gstminiobject.sgml:
26012 * gst/gstpad.c: (gst_pad_finalize):
26013 fix the static mutex leak
26015 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26017 * check/Makefile.am:
26018 add two more tests for valgrinding
26019 * check/gst/gstvalue.c: (GST_START_TEST):
26020 test refcount of deserialized buffer, found a leak
26021 * docs/gst/gstreamer-docs.sgml:
26022 * docs/gst/gstreamer-sections.txt:
26023 * docs/gst/gstreamer.types:
26024 * docs/gst/tmpl/gstminiobject.sgml:
26025 add miniobject to docs
26026 * gst/gstminiobject.c:
26028 * gst/gstvalue.c: (gst_value_deserialize_buffer),
26029 (gst_string_unwrap):
26030 fix a hard-to-find invalid write for one of the tests
26031 fix a leak for deserialized buffers
26033 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26035 * docs/pwg/advanced-events.xml:
26036 * docs/pwg/advanced-request.xml:
26037 * docs/pwg/advanced-scheduling.xml:
26038 * docs/pwg/appendix-porting.xml:
26039 * docs/pwg/building-boiler.xml:
26040 * docs/pwg/intro-preface.xml:
26041 * docs/pwg/other-ntoone.xml:
26042 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
26043 of example code and explanation for pad activation, loop() and
26044 getrange() functions and a bit more. Remove old comments pointing
26046 * examples/pwg/Makefile.am:
26047 Add loop/getrange examples.
26049 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26052 check for valgrind binary + some fixes
26054 valgrind suppressions for the tests
26055 * check/Makefile.am:
26056 add a valgrind: target that valgrinds the unit tests
26057 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
26058 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
26059 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26060 * check/gst/gstghostpad.c:
26062 * check/gst/gstdata.c:
26064 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
26065 (thread_unref), (gst_mini_object_suite), (main):
26067 * gst/gst.c: (gst_deinit):
26069 add a method to clean up.
26070 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26071 (gst_system_clock_obtain):
26072 allow for disposing the system clock.
26073 * tools/gst-launch.c: (main):
26076 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
26078 * docs/gst/tmpl/gstbasesrc.sgml:
26079 * docs/gst/tmpl/gstfakesrc.sgml:
26080 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26081 (gst_base_src_init), (gst_base_src_set_property),
26082 (gst_base_src_get_property), (gst_base_src_get_range),
26083 (gst_base_src_start):
26084 * gst/base/gstbasesrc.h:
26085 add num-buffers property
26086 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26087 (gst_fakesrc_init), (gst_fakesrc_set_property),
26088 (gst_fakesrc_get_property), (gst_fakesrc_create),
26089 (gst_fakesrc_start):
26090 remove num-buffers property
26092 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26094 * docs/gst/gstreamer-sections.txt:
26095 * docs/gst/tmpl/gstbasesink.sgml:
26096 * docs/gst/tmpl/gstbasesrc.sgml:
26097 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26098 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26099 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26100 (gst_base_sink_set_property), (gst_base_sink_get_property),
26101 (gst_base_sink_handle_object), (gst_base_sink_event),
26102 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26103 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26104 (gst_base_sink_loop), (gst_base_sink_deactivate),
26105 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26106 (gst_base_sink_change_state):
26107 * gst/base/gstbasesink.h:
26108 * gst/base/gstbasesrc.h:
26109 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26110 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26111 (gst_filesink_init):
26112 more macro splitting
26114 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26116 * gst/gstelement.c: (gst_element_get_bus):
26118 * tools/gst-launch.c: (check_intr), (event_loop):
26121 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26123 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26126 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26128 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26129 (gst_base_src_finalize):
26130 add finalize method and clean up properly
26131 * gst/gstpipeline.c: (gst_pipeline_dispose):
26134 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26136 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26138 add more things to check
26139 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26140 * gst/gstelement.c:
26143 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26145 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26146 (GST_START_TEST), (fakesrc_suite):
26147 * check/gst-libs/gdp.c: (GST_START_TEST):
26148 * check/gst/gst.c: (GST_START_TEST):
26149 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26150 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26151 * check/gst/gstbus.c: (GST_START_TEST):
26152 * check/gst/gstcaps.c: (GST_START_TEST):
26153 * check/gst/gstdata.c: (GST_START_TEST):
26154 * check/gst/gstelement.c: (GST_START_TEST):
26155 * check/gst/gstghostpad.c: (GST_START_TEST):
26156 * check/gst/gstiterator.c: (GST_START_TEST):
26157 * check/gst/gstmessage.c: (GST_START_TEST):
26158 * check/gst/gstobject.c: (GST_START_TEST):
26159 * check/gst/gstpad.c: (GST_START_TEST):
26160 * check/gst/gststructure.c: (GST_START_TEST):
26161 * check/gst/gstsystemclock.c: (GST_START_TEST),
26162 (gst_systemclock_suite):
26163 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26164 * check/gst/gstvalue.c: (GST_START_TEST):
26165 * check/pipelines/cleanup.c: (GST_START_TEST):
26166 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26167 * check/states/sinks.c: (GST_START_TEST):
26168 * check/gstcheck.c: (gst_check_init):
26169 * check/gstcheck.h:
26170 add debugging category
26171 use GST_START_TEST now, so we add a debug line
26173 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26175 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26176 add test for state change message on a bin
26177 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26179 * gst/gstbin.c: (gst_bin_init):
26180 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26181 * gst/gstelement.c: (gst_element_post_message),
26182 (gst_element_set_state):
26183 * gst/gstelementfactory.c: (gst_element_factory_create):
26184 * gst/gstmessage.c: (gst_message_new):
26185 * gst/gstscheduler.c:
26186 various debugging additions and cleanups
26188 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26190 * check/Makefile.am:
26191 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26193 adding tests for elements
26194 * gst/gstelement.c: (gst_element_dispose):
26196 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26198 * gst/registries/gstlibxmlregistry.c: (load_feature):
26199 plug more leaks. A simple gst_init() now is leakfree, yay.
26201 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26203 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26204 (gst_xml_registry_load):
26205 plug another memleak
26207 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26210 use GST_SET_ERROR_CFLAGS
26211 * docs/faq/cvs.xml:
26212 change to ERROR_CFLAGS
26214 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26217 make GST_ERROR_CFLAGS overridable and re-enable Werror
26218 * docs/faq/cvs.xml:
26219 add a note about error CFLAGS
26220 * docs/gst/tmpl/gstfakesrc.sgml:
26221 * gst/elements/gstfakesrc.c:
26222 comment out some unused code
26223 * gst/gst.c: (split_and_iterate):
26224 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26228 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26230 * common/Makefile.am:
26231 * common/gtk-doc.mak:
26232 * docs/gst/Makefile.am:
26233 factor out gtk-doc.mak
26235 2005-07-07 Wim Taymans <wim@fluendo.com>
26237 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26238 (gst_thread_scheduler_dispose):
26239 Unlock the STREAM_LOCK completely.
26241 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26243 * check/Makefile.am:
26244 * check/elements/.cvsignore:
26245 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26246 (START_TEST), (fakesrc_suite), (main):
26247 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26248 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26249 (gst_fakesrc_create), (gst_fakesrc_start):
26250 * gst/elements/gstfakesrc.h:
26251 adding a first element test
26253 2005-07-07 Andy Wingo <wingo@pobox.com>
26255 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26258 2005-07-07 Wim Taymans <wim@fluendo.com>
26264 2005-07-07 Wim Taymans <wim@fluendo.com>
26266 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26267 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26268 Allow subclasses to implement their own negotiation.
26270 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26272 * docs/design/part-gstbin.txt:
26273 * docs/design/part-gstpipeline.txt:
26274 Update design notes to reflect the movement of
26275 responsibility for bus handling from GstPipeline to
26278 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26281 Remove unnecessary queue2/3/4 examples.
26283 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26285 * examples/Makefile.am:
26286 * examples/helloworld/helloworld.c: (event_loop), (main):
26287 * examples/queue/queue.c: (event_loop), (main):
26288 * examples/queue2/queue2.c: (main):
26289 Update a couple of the examples to work again.
26291 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26292 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26293 Spelling corrections and extra debug.
26295 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26296 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26297 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26299 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26300 (gst_pipeline_change_state):
26301 * gst/gstpipeline.h:
26302 Move the bus handler for children to the GstBin, and create a
26303 separate bus for receiving messages from children to the one the
26304 bus sends 'upwards' on.
26306 2005-07-06 Wim Taymans <wim@fluendo.com>
26309 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26310 (gst_base_sink_handle_object), (gst_base_sink_loop),
26311 (gst_base_sink_change_state):
26312 * gst/base/gstbasesink.h:
26313 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26314 (gst_base_src_init), (gst_base_src_setcaps),
26315 (gst_base_src_getcaps), (gst_base_src_loop),
26316 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26317 (gst_base_src_start), (gst_base_src_change_state):
26318 * gst/base/gstbasesrc.h:
26319 Make basesrc negotiate.
26320 Handle the case where preroll fails in basesink.
26323 2005-07-06 Wim Taymans <wim@fluendo.com>
26325 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26326 Implement the fixate function.
26327 Clean up acceptcaps.
26329 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26331 * docs/pwg/building-filterfactory.xml:
26332 * docs/pwg/pwg.xml:
26333 Remove never-written filter-factory chapter; I'll add the various
26334 base classes to part 4 ("other element types") later on.
26336 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26338 * docs/pwg/advanced-negotiation.xml:
26339 * docs/pwg/building-boiler.xml:
26340 * docs/pwg/building-pads.xml:
26341 * docs/pwg/pwg.xml:
26342 * examples/pwg/Makefile.am:
26343 Add a chapter on caps negotiation, simplify the original code
26344 samples a bit w.r.t. caps negotiation, add link to the advanced
26345 section. Add a bunch of examples showing different use cases of
26346 different types of caps negotiation. Upstream renegotiation isn't
26347 fully documented yet since nobody knows how that works.
26349 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26351 * check/gst/gstpad.c:
26352 * check/gstcheck.c:
26353 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26354 if pad has no parent, return NULL as list of internal links
26356 2005-07-05 Andy Wingo <wingo@pobox.com>
26358 * gst/elements/gstfilesrc.c:
26359 * gst/elements/gstfakesrc.c:
26360 * gst/base/gstpushsrc.c:
26361 * gst/base/gstbasesrc.h:
26362 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26364 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26367 better report generation target (lcov needs a patch)
26369 2005-07-05 Andy Wingo <wingo@pobox.com>
26371 * gst/elements, testsuite: Null if we got it...
26373 2005-07-05 Wim Taymans <wim@fluendo.com>
26376 * libs/gst/dataprotocol/Makefile.am:
26377 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26378 * libs/gst/dataprotocol/dataprotocol.h:
26379 * pkgconfig/Makefile.am:
26380 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26381 * pkgconfig/gstreamer-dataprotocol.pc.in:
26382 Ported dataprotol to 0.9.
26383 Added pkgconfig files.
26385 2005-07-05 Andy Wingo <wingo@pobox.com>
26387 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26388 Default to returning TRUE for the case when tranform_caps returns
26389 a fixed caps, like for identity or volume.
26391 * check/gst/gstbus.c (pound_bus_with_messages):
26392 * check/gst/gstmessage.c (START_TEST):
26393 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26394 message API change.
26396 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26397 logic weaks here: always run transform_caps, trying passthrough
26398 operation only if the original caps intersects with the transform.
26400 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26401 source and sink caps.
26403 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26404 Intersect the peer caps with the pad template before going into
26406 (gst_base_transform_transform_caps): More debugging.
26408 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26411 2005-07-04 Edward Hervey <edward@fluendo.com>
26415 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26418 2005-07-04 Andy Wingo <wingo@pobox.com>
26420 * check/gst/gstpad.c: Only set explicit caps on pads.
26422 2005-07-01 Andy Wingo <wingo@pobox.com>
26424 * tests/network-clock.scm: Commentary update.
26426 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26427 Didn't really make sense, not implementable with basetransform,
26429 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26430 attempt at implementing the sync property, needs an unlock method.
26432 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26433 New func, by default returns the same caps (the identity
26435 (gst_base_transform_getcaps): Uses transform_caps to return
26436 something sensible.
26437 (gst_base_transform_setcaps): Complicated logic to get caps on
26438 both pads, even if they are different, and to call set_caps once
26439 for every time both pads get their caps set.
26440 (gst_base_transform_handle_buffer): Give the ref to the transform
26441 function. Allows in-place modification of the buffer.
26443 * gst/base/gstbasetransform.h (transform_caps): New class method.
26444 Given caps on one side, what can I do on the other.
26445 (set_caps): Take two caps, one for each side of the element.
26448 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26449 caps in place. This is safe because we can check the mutability of
26450 the caps, and a good idea because fixate functions are just called
26451 as a matter of last resort. (Not actually implemented.)
26452 (gst_pad_set_caps): If the caps we're setting is actually the same
26453 as the existing pad caps, just update the pointer without calling
26454 setcaps. Assert that caps is either NULL or fixed, as per the
26457 * gst/gstghostpad.c: Update for fixate changes.
26459 2005-07-02 Andy Wingo <wingo@pobox.com>
26462 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26463 two refcounts makes it immutable, which is enough. Doc more.
26465 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26467 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26468 Put the mini_object into GValue as a mini_object,
26469 not a gpointer, since that's how we declared
26472 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26474 * examples/pwg/Makefile.am:
26475 Fix buildbot again.
26477 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26479 * docs/pwg/building-testapp.xml:
26481 * examples/pwg/Makefile.am:
26484 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26487 * examples/Makefile.am:
26488 * examples/pwg/Makefile.am:
26489 * examples/pwg/extract.pl:
26490 Enable building the PWG examples.
26491 * docs/pwg/advanced-interfaces.xml:
26492 Add URI interface stub.
26493 * docs/pwg/advanced-types.xml:
26494 * docs/pwg/other-autoplugger.xml:
26495 * docs/pwg/appendix-porting.xml:
26496 * docs/pwg/pwg.xml:
26497 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26498 * docs/pwg/building-boiler.xml:
26499 * docs/pwg/building-chainfn.xml:
26500 * docs/pwg/building-pads.xml:
26501 * docs/pwg/building-props.xml:
26502 * docs/pwg/building-state.xml:
26503 * docs/pwg/building-testapp.xml:
26504 Update the building-*.xml parts for 0.9 changes. All examples
26505 code blocks compile in examples/pwg/*.
26507 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26509 * docs/manual/advanced-autoplugging.xml:
26510 * docs/manual/appendix-checklist.xml:
26511 * docs/manual/appendix-integration.xml:
26512 * docs/manual/highlevel-components.xml:
26513 Fix playbin/decodebin examples, update docs a bit, mention bus
26514 instead of signals in various places, mention kmplayer and
26515 kaffeine since they have a working GStreamer backend in the KDE
26518 2005-06-30 Wim Taymans <wim@fluendo.com>
26521 * docs/design/draft-ghostpads.txt:
26522 * docs/design/draft-push-pull.txt:
26523 * docs/design/draft-query.txt:
26524 * docs/design/part-TODO.txt:
26525 * docs/design/part-query.txt:
26526 Added CHANGES-0.9 doc, updated status of other docs.
26531 2005-06-30 Wim Taymans <wim@fluendo.com>
26533 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26534 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26535 (gst_base_sink_change_state):
26536 * gst/base/gstbasesink.h:
26537 Some tweaks, only EOS and a buffer complete a preroll.
26539 2005-06-30 Andy Wingo <wingo@pobox.com>
26541 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26542 activate_push down to the internal pad as well.
26544 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26546 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26548 * gst/gsttaginterface.c:
26549 Some documentation fixes (#307394 and #307397).
26551 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26553 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26555 * gst/gstvalue.c: (gst_value_intersect_list):
26556 Fix memleak (#309125).
26558 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26560 * docs/manual/advanced-dataaccess.xml:
26561 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26562 * docs/manual/basics-pads.xml:
26563 Add reference for filtered caps to above chapter.
26565 2005-06-30 Wim Taymans <wim@fluendo.com>
26567 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26568 (gst_bin_change_state):
26570 Lame attempt at making the state change function a bit
26573 2005-06-30 Wim Taymans <wim@fluendo.com>
26575 * docs/design/part-clocks.txt:
26576 * docs/design/part-element-sink.txt:
26577 * docs/design/part-events.txt:
26578 * docs/design/part-preroll.txt:
26579 * docs/design/part-states.txt:
26580 Some more tweeks and additions to the docs.
26582 2005-06-30 Wim Taymans <wim@fluendo.com>
26584 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26585 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26586 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26587 (gst_pad_check_pull_range), (gst_pad_get_range),
26588 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26590 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26591 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26592 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26593 (gst_pad_remove_buffer_probe):
26594 Removed atomic operations, use existing LOCK.
26595 Move exception handling out of main code path.
26597 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26599 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26600 (silly_return_true_function), (gst_pad_class_init),
26601 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26602 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26603 (gst_pad_send_event):
26604 Fix accumulator, add default value by using _emitv() instead
26605 of _emit() for signal emission.
26607 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26609 * docs/manual/advanced-dataaccess.xml:
26610 * examples/manual/Makefile.am:
26612 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26615 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26617 * gst/elements/gstfilesink.c: (gst_filesink_render):
26618 Simplify code so that we don't have to handle short
26619 writes and return GST_FLOW_ERROR if an error occured.
26621 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26623 * docs/gst/gstreamer-docs.sgml:
26624 Remove probes more.
26626 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26628 * docs/gst/gstreamer-sections.txt:
26629 * docs/gst/tmpl/gstpad.sgml:
26630 * docs/gst/tmpl/gstprobe.sgml:
26632 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26633 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26634 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26635 (gst_pad_push_event), (gst_pad_send_event):
26637 * gst/gstutils.c: (gst_pad_add_data_probe),
26638 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26639 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26640 (gst_pad_remove_buffer_probe):
26642 Remove old probes, add new g-signal-based probes and some utility
26645 2005-06-29 Edward Hervey <edward@fluendo.com>
26647 * gst/gstelementfactory.c:
26650 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26651 the definition to the header file.
26653 2005-06-29 Andy Wingo <wingo@pobox.com>
26655 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26656 plugins from the source directory.
26658 2005-06-29 Wim Taymans <wim@fluendo.com>
26660 * docs/gst/tmpl/gstbuffer.sgml:
26661 * docs/gst/tmpl/gstclock.sgml:
26662 Some fixings for blantently wrong text.
26664 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26666 * check/Makefile.am:
26667 * gst/gst.c: (add_path_func), (init_pre):
26668 * gst/gstregistry.c: (gst_registry_add_path):
26669 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26670 only scan the GST_PLUGIN_PATH locations, and not add
26673 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26675 * docs/gst/gstreamer-sections.txt:
26676 * docs/gst/tmpl/gstbasesrc.sgml:
26677 * gst/gstelement.c:
26678 * gst/gstelement.h:
26683 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26685 * docs/manual/advanced-autoplugging.xml:
26686 Fix autoplugging example.
26688 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26690 * docs/manual/advanced-autoplugging.xml:
26691 * docs/manual/mime-world.fig:
26692 Try to get autoplugging working, fix type detection. Fix text
26693 in hello-world image.
26695 2005-06-29 Wim Taymans <wim@fluendo.com>
26697 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26698 (gst_base_sink_change_state):
26702 map SIGNAL and BROADCAST to the right function.
26705 Remove redundant braces.
26707 * gst/gstpad.c: (gst_pad_set_caps):
26708 Don't call setcaps function when reseting caps to NULL.
26710 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26711 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26712 (gst_system_clock_id_unschedule):
26713 Use BROADCAST as this is what we do.
26715 2005-06-29 Wim Taymans <wim@fluendo.com>
26717 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26718 We are actually prerolling before commiting the state
26721 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26723 * docs/manual/advanced-clocks.xml:
26724 * docs/manual/advanced-interfaces.xml:
26725 * docs/manual/advanced-metadata.xml:
26726 * docs/manual/advanced-position.xml:
26727 * docs/manual/advanced-schedulers.xml:
26728 * docs/manual/advanced-threads.xml:
26729 * docs/manual/appendix-porting.xml:
26730 * docs/manual/basics-bins.xml:
26731 * docs/manual/basics-bus.xml:
26732 * docs/manual/basics-elements.xml:
26733 * docs/manual/basics-helloworld.xml:
26734 * docs/manual/basics-pads.xml:
26735 * docs/manual/highlevel-components.xml:
26736 * docs/manual/manual.xml:
26737 * docs/manual/thread.fig:
26738 Update (until threads/scheduling) Application Development Manual;
26739 remove GstThread, add GstBus, add simple porting checklist, add
26740 documentation for tag writing, clocks, make all examples until this
26741 part compile and run.
26742 * examples/manual/Makefile.am:
26743 Update from changes to Application Development Manual; add bus
26744 example, remove thread example.
26746 2005-06-28 Wim Taymans <wim@fluendo.com>
26748 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26749 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26750 (gst_bus_source_dispatch):
26751 Add debugging messages.
26752 Make internal methods static.
26753 Handle the case where the bus is flushed in the handler.
26755 * gst/gstelement.c: (gst_element_get_bus):
26756 Fix refcount in _get_bus();
26758 * gst/gstpipeline.c: (gst_pipeline_change_state),
26759 (gst_pipeline_get_clock_func):
26760 Clock refcounting fixes.
26761 Handle the case where preroll timed out more gracefully.
26763 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26764 Clean up the internal thread in dispose. This is needed
26765 for subclasses that actually get disposed.
26767 * gst/schedulers/threadscheduler.c:
26768 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26769 (gst_thread_scheduler_dispose):
26770 Free thread pool in dispose.
26772 2005-06-28 Andy Wingo <wingo@pobox.com>
26774 * tests/network-clock-utils.scm (debug, print-event): New utils.
26776 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26777 (*packet-loss*): Unified loss probability.
26778 (network-time): Report out-of-band events.
26780 * tests/plot-data: Add support for out-of-band events. Hack it
26781 into this script instead of passing it down the pipe; should fix
26784 2005-06-28 Wim Taymans <wim@fluendo.com>
26786 * docs/gst/gstreamer.types:
26787 * docs/gst/tmpl/gstbasesrc.sgml:
26788 * docs/gst/tmpl/gstpad.sgml:
26791 2005-06-28 Wim Taymans <wim@fluendo.com>
26793 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26794 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26795 (gst_proxy_pad_do_fixatecaps):
26796 Correctly proxy the check_pull_range function.
26798 2005-06-28 Andy Wingo <wingo@pobox.com>
26800 * tests/network-clock.scm: Removed need for slib.
26802 2005-06-28 Wim Taymans <wim@fluendo.com>
26804 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26805 (gst_basesink_preroll_queue_flush):
26806 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26807 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26808 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26809 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26810 (gst_proxy_pad_set_property):
26813 * gst/gstqueue.c: (gst_queue_init):
26814 The deprecated pad loop function is removed now.
26816 2005-06-28 Andy Wingo <wingo@pobox.com>
26818 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26819 New parameters, simulate network packet loss.
26821 * tests/network-clock-utils.scm: Initialize the RNG.
26823 2005-06-28 Wim Taymans <wim@fluendo.com>
26825 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26826 (gst_basesink_event), (gst_basesink_deactivate):
26827 Flushing the preroll queue always needs to unlock the waiters.
26829 2005-06-28 Edward Hervey <edward@fluendo.com>
26831 * gst/gstpipeline.c: (gst_pipeline_send_event):
26832 Wheen a seek was successful on a pipeline, set the stream_time to the
26833 seek offset in order to have a synchronized stream_time.
26835 2005-06-28 Wim Taymans <wim@fluendo.com>
26837 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26838 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26839 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26840 (gst_proxy_pad_do_fixatecaps):
26841 Call wrapper function instead of just calling the function
26842 pointers. This takes care of any locking and whatmore.
26844 2005-06-28 Wim Taymans <wim@fluendo.com>
26846 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26847 (gst_pad_pull_range):
26849 CONNECTED -> LINKED.
26851 2005-06-28 Andy Wingo <wingo@pobox.com>
26853 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26854 source-munging commit!!!
26856 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26857 (gst_object_sink): Take gpointer arguments, not GstObject --
26858 avoids casts. Like GLib.
26860 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26863 2005-06-27 Andy Wingo <wingo@pobox.com>
26865 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26868 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26869 returns a sorted copy of the trace list.
26870 (gst_alloc_trace_print_live): New API, only prints traces with
26871 live objects. Sort the list.
26872 (gst_alloc_trace_print_all): Sort the list.
26873 (gst_alloc_trace_print): Align columns.
26875 * gst/elements/gstttypefindelement.c:
26876 * gst/elements/gsttee.c:
26877 * gst/base/gstbasesrc.c:
26878 * gst/base/gstbasesink.c:
26879 * gst/base/gstbasetransform.c:
26880 * gst/gstqueue.c: Adapt for pad activation changes.
26882 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26884 (gst_pipeline_dispose): Drop ref on sched.
26886 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26887 (gst_pad_activate_default): Push mode by default.
26888 (pre_activate_switch, post_activate_switch): New stubs, things to
26889 do before and after switching activation modes on pads.
26890 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26891 the pad's activate function to choose which mode to activate.
26892 Shortcut on deactivation and call the right function directly.
26893 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26895 (gst_pad_activate_push): New API, same for push mode.
26896 (gst_pad_set_activate_function)
26897 (gst_pad_set_activatepull_function)
26898 (gst_pad_set_activatepush_function): Setters for new API.
26900 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26901 Trace all miniobjects.
26902 (gst_mini_object_make_writable): Unref the arg if we copy, like
26903 gst_caps_make_writable.
26905 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26907 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26908 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26909 Adapt for new pad API.
26911 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26913 * gst/gstelement.h:
26914 * gst/gstelement.c (gst_element_iterate_src_pads)
26915 (gst_element_iterate_sink_pads): New API functions.
26917 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26918 should fold into gstiterator.c in some form.
26919 (gst_element_pads_activate): Simplified via use of fold and
26920 delegation of decisions to gstpad->activate.
26922 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26925 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26926 class once in init, like gstmessage. Didn't run into this issue
26927 but it seems correct. Don't initialize a trace, gstminiobject does
26930 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26931 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26933 (assert_live_count): New util function, uses alloc traces to check
26936 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26937 To be modified when unlink drops the internal pad.
26939 2005-06-27 Wim Taymans <wim@fluendo.com>
26941 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26942 (gst_bin_change_state):
26943 Cleanup the get_state() function a little, make sure it
26944 iterates the same set of elements.
26945 Added stub iterate_state_order().
26947 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26949 * docs/gst/gstreamer-docs.sgml:
26950 * docs/gst/gstreamer-sections.txt:
26951 * docs/gst/gstreamer.types:
26952 * docs/gst/tmpl/gstbasesink.sgml:
26953 * docs/gst/tmpl/gstbasesrc.sgml:
26954 * docs/gst/tmpl/gstbasetransform.sgml:
26955 * docs/gst/tmpl/gstelement.sgml:
26956 * docs/gst/tmpl/gstiterator.sgml:
26957 * gst/base/gstbasesrc.c:
26958 * gst/base/gstbasesrc.h:
26959 * gst/base/gstbasetransform.h:
26960 * gst/gstelement.c:
26961 * gst/gstiterator.h:
26962 adding basetransform and iterator docs
26964 2005-06-27 Andy Wingo <wingo@pobox.com>
26966 * docs/design/part-activation.txt: Notes on how activation should
26967 work -- not quite implemented yet.
26969 2005-06-25 Wim Taymans <wim@fluendo.com>
26971 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26972 At least get the chain function correct, needs more
26975 2005-06-25 Wim Taymans <wim@fluendo.com>
26977 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26978 (gst_basesink_handle_object), (gst_basesink_event),
26979 (gst_basesink_do_sync), (gst_basesink_handle_event),
26980 (gst_basesink_change_state):
26982 Right, two problems here: ghostpads don't take locks and
26983 glib _rec_mutex_lock_full() with depth==0 still locks.
26984 Catch illegal locking and g_warn them.
26986 2005-06-25 Wim Taymans <wim@fluendo.com>
26988 * check/states/sinks.c: (START_TEST), (gst_object_suite):
26989 Have to check for completion now...
26991 2005-06-25 Wim Taymans <wim@fluendo.com>
26993 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26994 (gst_basesink_handle_object), (gst_basesink_event),
26995 (gst_basesink_do_sync), (gst_basesink_handle_event),
26996 (gst_basesink_change_state):
26998 Unlock STREAM_LOCK whatever the recursion was.
27000 2005-06-25 Wim Taymans <wim@fluendo.com>
27002 * gst/base/gstbasesink.c: (gst_basesink_set_property),
27003 (gst_basesink_preroll_queue_empty),
27004 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
27005 (gst_basesink_event), (gst_basesink_do_sync),
27006 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
27007 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
27008 (gst_basesink_change_state):
27009 Reworked the base sink, handle event and buffer serialisation
27010 correctly and removed possible deadlock.
27011 Handle EOS correctly.
27013 2005-06-25 Wim Taymans <wim@fluendo.com>
27015 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
27016 (gst_pipeline_change_state):
27017 * tools/gst-launch.c: (check_intr), (event_loop), (main):
27018 Allow elements to post EOS in the state change function.
27019 Fix up -launch, make it exit the poll loop when the
27020 pipeline actually changed state.
27021 Fix up warning parsing in -launch.
27023 2005-06-25 Wim Taymans <wim@fluendo.com>
27025 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
27026 (gst_tee_sink_activate):
27027 Core takes STREAM_LOCK for us now.
27029 2005-06-25 Wim Taymans <wim@fluendo.com>
27031 * gst/gstelement.c: (gst_element_get_state_func),
27032 (gst_element_set_state):
27033 * gst/gstelement.h:
27034 * gst/gstmessage.c: (gst_message_parse_error),
27035 (gst_message_parse_warning):
27036 Keep track of current target state while performing a state
27037 change so that subclasses can do something interesting.
27038 Fix parsing of warning/error messages when GError is NULL.
27040 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
27042 * docs/gst/Makefile.am:
27043 * docs/gst/gstreamer-docs.sgml:
27044 * docs/gst/gstreamer-sections.txt:
27045 * docs/gst/gstreamer.types:
27046 * docs/gst/tmpl/gstbasesink.sgml:
27047 * docs/gst/tmpl/gstbasesrc.sgml:
27048 * docs/gst/tmpl/gstbin.sgml:
27049 * docs/gst/tmpl/gstcompat.sgml:
27050 * docs/gst/tmpl/gstfakesink.sgml:
27051 * docs/gst/tmpl/gstfakesrc.sgml:
27052 * docs/gst/tmpl/gstfilesink.sgml:
27053 * docs/gst/tmpl/gstfilesrc.sgml:
27054 * docs/gst/tmpl/gstindex.sgml:
27055 * docs/manual/appendix-quotes.xml:
27056 * gst/base/gstbasesrc.h:
27057 * gst/elements/gstfakesrc.h:
27058 * gst/gstmessage.h:
27059 start pulling in base classes and elements in our docs
27061 2005-06-24 Stefan Kost <ensonic@users.sf.net>
27063 * docs/gst/Makefile.am:
27064 * docs/libs/Makefile.am:
27065 fixed make distcheck with gtk-doc 1.3
27067 2005-06-23 Wim Taymans <wim@fluendo.com>
27069 * gst/gstelement.c: (gst_element_get_state_func),
27070 (gst_element_set_state), (gst_element_change_state):
27071 When the state did not change, also report NO_PREROLL
27074 2005-06-23 Wim Taymans <wim@fluendo.com>
27076 * gst/gstpad.c: (gst_pad_event_default):
27077 * gst/gstqueue.c: (gst_queue_loop):
27078 No unsafe task pausing please.
27080 2005-06-23 Wim Taymans <wim@fluendo.com>
27082 * gst/schedulers/threadscheduler.c:
27083 (gst_thread_scheduler_task_start),
27084 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
27085 Ref the task before pushing it on the threadpool. This
27086 makes sure that we have a ref when the threadfunction is
27089 2005-06-23 Andy Wingo <wingo@pobox.com>
27091 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27092 offset is greater than the file's size.
27094 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27095 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27096 * gst/gstobject.c (gst_object_class_init): Make the class lock
27097 recursive. Wim won't let me drop deep_notify. Decodebin works
27098 again, whoopdy doo.
27100 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27101 internal pad, and hacks accordingly. Doesn't do it on the target
27102 pad because we change its caps. Probably catches all cases of
27104 (gst_ghost_pad_set_property): Connect to notify::caps as
27107 * tests/network-clock.scm (plot-simulation): Pipe data to the
27108 elite python skript.
27110 * tests/network-clock-utils.scm (define-parameter): New macro,
27111 defines a parameter that can be set via the command line.
27112 (set-parameter!, parse-parameter-arguments): Command line args
27115 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27118 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27120 * gst/elements/gsttypefindelement.c:
27121 (gst_type_find_element_handle_event):
27122 Don't restart typefinding on a discont.
27123 * gst/gstelement.c: (gst_element_set_state):
27124 Debug spelling fix.
27125 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27126 Allow changing mode of an active pad.
27127 Debug output fixes.
27128 * gst/registries/gstlibxmlregistry.c: (load_feature):
27129 Don't cast a static pad template to a normal pad template.
27131 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27133 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27134 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27135 remove gst_strtoll completely, since it didn't actually do
27136 anything more than what g_ascii_strtoull already does.
27137 check for range errors when deserializing
27138 do a cast for the unsigned cases; but further fixing needs
27139 a decision on what the interpretation of "(int)" and
27140 deserialization should be for values that fall outside the
27141 type's boundaries (ie, refuse, or interpret as casting)
27143 2005-06-23 Wim Taymans <wim@fluendo.com>
27145 * check/Makefile.am:
27146 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27147 * docs/design/part-live-source.txt:
27148 * docs/design/part-states.txt:
27149 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27150 (gst_basesrc_set_live), (gst_basesrc_is_live),
27151 (gst_basesrc_get_range), (gst_basesrc_activate),
27152 (gst_basesrc_change_state):
27153 * gst/base/gstbasesrc.h:
27154 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27155 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27156 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27157 * gst/gstelement.c: (gst_element_get_state_func),
27158 (gst_element_set_state):
27159 * gst/gstelement.h:
27161 * tools/gst-launch.c: (event_loop), (main):
27162 Added support for live sources and other elements that
27164 Updated design docs, added live-source design doc.
27165 Implemented live source functionality in basesrc
27166 Fix error condition in _bin_get_state()
27167 Implement live source handling in -launch.
27168 Added check for live sources.
27169 Fixed case in GstBin where elements were changed state
27173 2005-06-23 Andy Wingo <wingo@pobox.com>
27175 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27176 borken refcounting.
27178 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27179 gst_caps_replace takes care of this for us.
27181 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27182 gst_pad_set_caps on the target, not just its setcaps() function.
27184 * tests/network-clock.scm:
27185 * tests/network-clock-utils.scm: A network clock simulator.
27186 Something of an algorithmic testbed before doing something in C.
27188 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27190 * check/Makefile.am:
27191 * check/gst/capslist.h:
27192 copy over from 0.8, and add two with bitmasks specified with
27194 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27195 add test to parse everything from capslist.h
27196 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27198 add test for structure deserialization
27199 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27200 add tests for deserialization of strings to int types
27201 * gst/gststructure.c: (gst_structure_nth_field_name):
27202 * gst/gststructure.h:
27203 add a way to get the name of a field referenced by index
27204 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27205 instead of checking if the resulting long long lies between
27206 min and max, we check if the long long would fit into
27207 a number of bytes for the final type.
27208 This fixes cases where a string represents 2^32 - 1, which
27209 when cast to int would be the (valid) -1, but is bigger than
27212 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27214 * gst/parse/grammar.y:
27215 add a log line for type deserialization
27217 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27219 * check/gst/gstvalue.c: (START_TEST):
27220 * gst/gstvalue.c: (gst_value_deserialize):
27221 return long long, not int, so gint64 deserialization actually
27222 works. Is there any flag that makes the compiler check this ?
27225 2005-06-22 Wim Taymans <wim@fluendo.com>
27228 Added convenience macros for setting buffers in GValue.
27230 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27232 * check/gst/.cvsignore:
27233 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27234 add a test deserializing int64, and comment part out because
27237 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27239 * check/Makefile.am:
27240 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27241 * testsuite/Makefile.am:
27242 * testsuite/caps/Makefile.am:
27243 * testsuite/caps/value_serialize.c:
27244 * testsuite/test_gst_init.c:
27245 move a value_serialize test over
27247 2005-06-20 Wim Taymans <wim@fluendo.com>
27252 * gst/gstvalue.c: (gst_value_compare_buffer),
27253 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27254 (gst_value_compare_flags), (gst_value_serialize_flags),
27255 (gst_value_deserialize_flags), (_gst_value_initialize):
27256 Fix serialisation of buffers, they are not boxed types anymore
27258 2005-06-20 Wim Taymans <wim@fluendo.com>
27260 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27261 Testcase to show error in buffer-on-caps serialisation.
27263 2005-06-20 Andy Wingo <wingo@pobox.com>
27265 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27266 will be adding to later.
27268 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27269 if its socks fill with rocks.
27270 (gst_system_clock_obtain): Set the name on object construction.
27271 Avoid double-checked locking.
27273 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27275 * gst/gsturi.c: (gst_element_make_from_uri):
27276 Fix potential endless loop.
27278 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27280 * check/Makefile.am:
27282 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27284 move over from testsuite dir and clean up
27287 * testsuite/Makefile.am:
27288 * testsuite/tags/.cvsignore:
27289 * testsuite/tags/Makefile.am:
27290 * testsuite/tags/merge.c:
27291 remove testsuite/tags
27293 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27295 * docs/gst/gstreamer-sections.txt:
27296 * docs/gst/tmpl/gstenumtypes.sgml:
27297 * win32/gstenumtypes.c:
27298 clean up documentation build a little
27300 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27302 * check/gstcheck.h:
27303 add macros for checking refcounts on objects and caps
27304 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27305 add some more unit tests
27306 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27307 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27308 fix leaked refcounts (I hope :)) so unittest works
27312 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27314 * configure.ac: back to HEAD
27316 === release 0.9.1 ===
27318 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27324 2005-06-17 Andy Wingo <wingo@pobox.com>
27326 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27327 assert; it's always possible that the pad gets deactivated in
27328 between the checks in gstpad.c and the implementation. Rely on
27329 finish_preroll() to return a FLUSHING or similar instead of on the
27332 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27333 clock and post an EOS message if we come out of finish_preroll in
27336 2005-06-16 David Schleef <ds@schleef.org>
27338 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27339 (gst_capsfilter_set_property): Allow NULL as possible value
27340 for filter_caps property, indicating GST_CAPS_ANY.
27342 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27344 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27346 * gst/schedulers/Makefile.am:
27348 * gstreamer.spec.in:
27351 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27353 * gstreamer.spec.in:
27356 2005-06-08 Andy Wingo <wingo@pobox.com>
27358 * gst/gstutils.c: RPAD fixes all around.
27359 (gst_element_link_pads): Refcounting fixes.
27361 * tools/gst-inspect.c:
27362 * tools/gst-xmlinspect.c:
27364 * gst/base/gsttypefindhelper.c:
27365 * gst/base/gstbasesink.c:
27366 * gst/gstqueue.c: RPAD fixes.
27368 * gst/gstghostpad.h:
27369 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27370 pads. The tricky thing is they provide both source and sink
27371 interfaces, since they proxy the internal pad for the external
27372 pad, and vice versa. Implement with lower-level ProxyPad objects,
27373 with the interior proxy pad as a child of the exterior ghost pad.
27374 Should write a doc on this.
27376 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27377 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27380 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27381 pads are real pads. No ghost pads in this file. Not documenting
27382 the myriad s/RPAD/PAD/ and REALIZE fixes.
27383 (gst_pad_class_init): Add properties for "direction" and
27384 "template". Both are construct-only, so they can't change during
27385 the life of the pad. Fixes properly deriving from GstPad.
27386 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27387 derived objects, just set properties when creating the objects via
27389 (gst_pad_get_parent): Implement as a function, return NULL if the
27390 parent is not an element.
27391 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27392 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27394 * gst/gstobject.c (gst_object_class_init): Make name a construct
27395 property. Don't set it in the object init.
27397 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27398 with UNKNOWN direction.
27399 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27400 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27401 (gst_element_remove_pad): Remove ghost-pad special cases.
27402 (gst_element_pads_activate): Remove rpad cruft.
27404 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27405 catch the pad's-parent-not-an-element case.
27407 * gst/gst.h: Include gstghostpad.h.
27409 * gst/gst.c (init_post): No more real, ghost pads.
27411 * gst/Makefile.am: Add gstghostpad.[ch].
27413 * check/Makefile.am:
27414 * check/gst/gstbin.c:
27415 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27416 into a bin creates ghost pads, and that the refcounts are right.
27417 Partly moved from gstbin.c.
27419 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27421 * check/gst-libs/.cvsignore:
27422 * check/gst/.cvsignore:
27423 * check/pipelines/.cvsignore:
27425 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27426 (START_TEST), (cleanup_suite), (main):
27427 add some tests related to cleanup after running pipelines
27429 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27431 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27432 add a testsuite for GstBuffer
27434 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27436 * gst/gstminiobject.h:
27437 add defines for accessing the refcount
27439 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27441 * Makefile.am: added support for html unit test coverage reports
27443 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27445 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27446 Free existing caps if the capsfilter changes. Add a FIXME about
27447 setting those caps on the pads.
27449 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27450 Before adding a ghost pad to a parent bin, check that there isn't
27451 already one for the element on the bin. Prevents infinite recursion
27452 when using decodebin in parse pipelines. Andy says he'll rewrite the
27453 way this works anyway, so ignore the hack.
27455 2005-06-02 Andy Wingo <wingo@pobox.com>
27457 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27458 file size, pass it on to the type find helper.
27460 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27461 segment_start and segment_end properly according to the seek
27462 method. Segment_end is still a bit flaky because offset can be
27463 negative for CUR and END cases, but it takes -1 as an "unset"
27466 2005-06-02 Wim Taymans <wim@fluendo.com>
27468 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27469 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27470 (gst_basesink_activate):
27471 * gst/base/gstbasesink.h:
27472 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27473 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27474 (gst_pad_query), (gst_pad_start_task):
27476 * gst/gstqueue.c: (gst_queue_bufferalloc),
27477 (gst_queue_handle_sink_event), (gst_queue_chain):
27478 Bufferalloc: return GstFlowReturn to more accuratly report
27479 why allocation failed.
27481 2005-06-02 Wim Taymans <wim@fluendo.com>
27483 * gst/gstpipeline.c: (gst_pipeline_send_event):
27484 Take snapshot of state without blocking.
27486 2005-06-02 Wim Taymans <wim@fluendo.com>
27488 * docs/design/part-TODO.txt:
27489 * docs/design/part-caps.txt:
27490 * docs/design/part-clocks.txt:
27491 * docs/design/part-negotiation.txt:
27492 * docs/design/part-preroll.txt:
27495 2005-05-30 Wim Taymans <wim@fluendo.com>
27497 * gst/elements/gstidentity.c: (gst_identity_event),
27498 (gst_identity_transform), (gst_identity_get_property):
27499 Protect last_message property as it is accessed from
27502 2005-05-30 Wim Taymans <wim@fluendo.com>
27504 * gst/gstelement.c: (gst_element_init),
27505 (gst_element_pads_activate), (gst_element_change_state):
27506 Slicker pad activation code.
27508 2005-05-30 Wim Taymans <wim@fluendo.com>
27511 * gst/gstelement.h:
27512 * gst/gstelementfactory.h:
27514 Move elementfactory methods to separate .h file.
27516 2005-05-30 Wim Taymans <wim@fluendo.com>
27518 * docs/design/part-overview.txt:
27519 * gst/gstsystemclock.h:
27520 Small typo fixes, doc updates.
27522 2005-05-30 Wim Taymans <wim@fluendo.com>
27524 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27525 (init_popt_callback):
27526 Remove cpu-opt flag.
27528 2005-05-30 Wim Taymans <wim@fluendo.com>
27530 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27531 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27533 Avoid typechecking in places where not needed.
27534 Added accessor for malloc_data.
27536 2005-05-30 Wim Taymans <wim@fluendo.com>
27538 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27539 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27540 (gst_pad_configure_sink), (gst_pad_configure_src),
27541 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27542 (gst_pad_start_task):
27543 Propagate errors from _set_caps() in configure_src/sink
27544 functions instead of returning TRUE.
27545 FLUSH events can travel up and downstream
27548 2005-05-30 Wim Taymans <wim@fluendo.com>
27550 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27551 (gst_basesink_activate):
27552 Handle EOS in preroll.
27554 2005-05-30 Wim Taymans <wim@fluendo.com>
27556 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27557 (gst_queue_loop), (gst_queue_handle_src_event):
27558 Remove old pieces of code
27559 Flushing the queue in an upstream event is a very bad idea.
27561 2005-05-26 Andy Wingo <wingo@pobox.com>
27563 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27564 gst_value_set_mini_object so as to add a ref on the object (which
27565 will be removed when the value is unset).
27567 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27568 arg type in ::handoff.
27570 * gst/gstelement.c (gst_element_change_state): Also deactivate
27571 pads in READY->NULL, just in case the element didn't make it to
27572 PAUSED. Wingo tested, Wim approved.
27574 2005-05-26 Wim Taymans <wim@fluendo.com>
27576 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27577 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27578 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27579 A flushing pad cannot be used to alloc_buffer from.
27581 2005-05-26 Wim Taymans <wim@fluendo.com>
27583 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27584 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27585 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27586 (gst_bus_create_watch), (gst_bus_add_watch_full):
27588 Implement a real GSource and use g_main_context_wakeup() to
27589 signal new messages instead of the socketpair.
27591 2005-05-25 Wim Taymans <wim@fluendo.com>
27593 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27594 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27595 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27596 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27597 (gst_pad_send_event), (gst_pad_start_task):
27598 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27599 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27600 (gst_queue_sink_activate), (gst_queue_src_activate),
27601 (gst_queue_change_state):
27603 Fix state changes for non sinks. We now change sinks, then elements
27604 with unconnected srcpads, then the rest.
27605 More efficient queue unlocking in flush and state changes.
27606 Set the pad activate mode even if it does not have an activate
27609 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27611 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27612 Don't go in pull mode for non-seekable sources.
27613 * gst/elements/gsttypefindelement.h:
27614 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27615 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27616 (free_entry), (stop_typefinding),
27617 (gst_type_find_element_handle_event), (find_peek),
27618 (gst_type_find_element_chain), (do_pull_typefind),
27619 (gst_type_find_element_change_state):
27620 Allow typefinding (w/o seeking) in push-mode, simplified version
27621 of what was in 0.8.
27622 * gst/gstutils.c: (gst_buffer_join):
27624 gst_buffer_join() from 0.8.
27626 2005-05-25 Wim Taymans <wim@fluendo.com>
27628 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27629 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27630 (gst_pad_send_event), (gst_pad_start_task):
27631 Disable attempt at mode switching until it is figured out.
27633 2005-05-25 Wim Taymans <wim@fluendo.com>
27635 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27636 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27637 (gst_basesink_finish_preroll), (gst_basesink_chain),
27638 (gst_basesink_loop), (gst_basesink_activate),
27639 (gst_basesink_change_state):
27640 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27641 (gst_basesrc_get_range), (gst_basesrc_loop),
27642 (gst_basesrc_activate):
27643 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27644 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27645 (gst_real_pad_init), (gst_real_pad_set_property),
27646 (gst_real_pad_get_property), (gst_pad_set_active),
27647 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27648 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27649 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27650 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27651 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27652 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27653 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27654 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27655 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27656 (gst_pad_stop_task):
27658 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27659 (gst_queue_loop), (gst_queue_src_activate):
27660 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27661 (gst_task_get_state):
27663 * gst/schedulers/threadscheduler.c:
27664 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27665 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27667 Remove ACTIVE pad flag, use FLUSHING everywhere
27668 Added _pad_chain(), _pad_get_range() to call chain/getrange
27670 Add locks around IS_FLUSHING when reading.
27671 Take STREAM lock in chain(), get_range() functions so plugins
27672 don't need to take it anymore.
27676 2005-05-25 Wim Taymans <wim@fluendo.com>
27678 * tools/gst-launch.c: (event_loop):
27679 Unref message after using its contents instead of
27682 2005-05-24 Wim Taymans <wim@fluendo.com>
27684 * docs/design/draft-ghostpads.txt:
27685 * docs/design/draft-push-pull.txt:
27686 * docs/design/draft-query.txt:
27687 * docs/design/part-overview.txt:
27688 Docs updates, added general overview doc.
27690 2005-05-21 David Schleef <ds@schleef.org>
27692 * docs/gst/tmpl/old/GstBin.sgml:
27693 * docs/gst/tmpl/old/GstBuffer.sgml:
27694 * docs/gst/tmpl/old/GstCaps.sgml:
27695 * docs/gst/tmpl/old/GstClock.sgml:
27696 * docs/gst/tmpl/old/GstCompat.sgml:
27697 * docs/gst/tmpl/old/GstData.sgml:
27698 * docs/gst/tmpl/old/GstElement.sgml:
27699 * docs/gst/tmpl/old/GstEvent.sgml:
27700 * docs/gst/tmpl/old/GstIndex.sgml:
27701 * docs/gst/tmpl/old/GstStructure.sgml:
27702 * docs/gst/tmpl/old/GstTag.sgml:
27703 * docs/gst/tmpl/old/cothreads.sgml:
27704 * docs/gst/tmpl/old/cothreads_compat.sgml:
27705 * docs/gst/tmpl/old/gettext.sgml:
27706 * docs/gst/tmpl/old/gobject2gtk.sgml:
27707 * docs/gst/tmpl/old/grammar.tab.sgml:
27708 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27709 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27710 * docs/gst/tmpl/old/gst_private.sgml:
27711 * docs/gst/tmpl/old/gstaggregator.sgml:
27712 * docs/gst/tmpl/old/gstarch.sgml:
27713 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27714 * docs/gst/tmpl/old/gstbufferstore.sgml:
27715 * docs/gst/tmpl/old/gstdata_private.sgml:
27716 * docs/gst/tmpl/old/gstdisksink.sgml:
27717 * docs/gst/tmpl/old/gstdisksrc.sgml:
27718 * docs/gst/tmpl/old/gstelementfactory.sgml:
27719 * docs/gst/tmpl/old/gstextratypes.sgml:
27720 * docs/gst/tmpl/old/gstfakesink.sgml:
27721 * docs/gst/tmpl/old/gstfakesrc.sgml:
27722 * docs/gst/tmpl/old/gstfdsink.sgml:
27723 * docs/gst/tmpl/old/gstfdsrc.sgml:
27724 * docs/gst/tmpl/old/gstfilesink.sgml:
27725 * docs/gst/tmpl/old/gstfilesrc.sgml:
27726 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27727 * docs/gst/tmpl/old/gstidentity.sgml:
27728 * docs/gst/tmpl/old/gstindexfactory.sgml:
27729 * docs/gst/tmpl/old/gstmarshal.sgml:
27730 * docs/gst/tmpl/old/gstmd5sink.sgml:
27731 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27732 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27733 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27734 * docs/gst/tmpl/old/gstpipefilter.sgml:
27735 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27736 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27737 * docs/gst/tmpl/old/gstshaper.sgml:
27738 * docs/gst/tmpl/old/gstspider.sgml:
27739 * docs/gst/tmpl/old/gstspideridentity.sgml:
27740 * docs/gst/tmpl/old/gststatistics.sgml:
27741 * docs/gst/tmpl/old/gsttee.sgml:
27742 * docs/gst/tmpl/old/gsttimecache.sgml:
27743 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27744 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27745 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27746 * docs/gst/tmpl/old/types.sgml:
27747 I didn't intend to add these or check them in.
27749 2005-05-19 David Schleef <ds@schleef.org>
27751 * configure.ac: Use -no-common everywhere. In a sane world, it
27752 would be the default in libtool, because without it, you can't
27753 build DLLs on Windows.
27754 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27755 * docs/gst/gstreamer-sections.txt:
27756 * docs/gst/tmpl/gstcpu.sgml:
27757 * docs/gst/tmpl/gstdata.sgml:
27758 * docs/gst/tmpl/gstthread.sgml:
27760 2005-05-19 David Schleef <ds@schleef.org>
27762 * gst/gstminiobject.c: (gst_value_set_mini_object),
27763 (gst_value_take_mini_object), (gst_value_get_mini_object):
27764 * gst/gstminiobject.h: Add GValue set/get functions.
27766 2005-05-19 Wim Taymans <wim@fluendo.com>
27768 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27769 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27770 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27772 * gst/gstbus.c: (gst_bus_post):
27773 * gst/gstelement.c: (gst_element_get_random_pad):
27774 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27775 Make subbufer unref the parent in finalize.
27776 some more debugging info.
27779 2005-05-19 Wim Taymans <wim@fluendo.com>
27781 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27782 (gst_basesink_init), (gst_basesink_finalize),
27783 (gst_basesink_activate), (gst_basesink_change_state):
27784 Don't free preroll queue too early.
27786 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27790 Hi, I'm outdated. Please shoot me.
27792 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27794 * gst/gstpipeline.c: (gst_pipeline_send_event):
27795 Do not access variables after they have been deleted.
27797 2005-05-19 Wim Taymans <wim@fluendo.com>
27799 * tools/gst-inspect.c: (print_plugin_features):
27800 A plugin feature does unfortunatly not use the
27803 2005-05-18 Wim Taymans <wim@fluendo.com>
27805 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27806 Port _span() functions to new subbuffers.
27808 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27810 * gst/gstbin.c: (gst_bin_add_func):
27811 Fix clock settery in bins when adding kids after the clock has
27814 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27816 * gst/elements/gstidentity.c: (gst_identity_class_init):
27817 Workaround until signals support GstMiniObject.
27819 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27822 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27824 2005-05-18 Wim Taymans <wim@fluendo.com>
27826 * gst/base/Makefile.am:
27827 * gst/base/gstadapter.c: (gst_adapter_base_init),
27828 (gst_adapter_class_init), (gst_adapter_init),
27829 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27830 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27831 (gst_adapter_flush), (gst_adapter_available),
27832 (gst_adapter_available_fast):
27833 * gst/base/gstadapter.h:
27834 Ported and added adapter to the base classes.
27836 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27839 * gst/gstmessage.c:
27840 Make sure the class is reffed/unreffed once before threads can be
27841 used. Fixes #304551.
27843 2005-05-17 Wim Taymans <wim@fluendo.com>
27845 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27846 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27847 * gst/gstminiobject.c: (gst_mini_object_get_type),
27848 (gst_mini_object_free):
27849 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27850 (gst_pad_push), (gst_pad_push_event):
27851 * gst/gstqueue.c: (gst_queue_change_state):
27852 Don't queue buffers in basesink when we are flushing.
27853 Unref buffer when flushing in basesink.
27854 Flush queue when going to READY
27855 Unref buffer when _push() returns an error.
27856 Don't free MiniObject instance when refcount is incremented
27857 in _finalize() so that we can recover objects.
27859 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27861 * docs/manual/advanced-schedulers.xml:
27862 * docs/manual/appendix-checklist.xml:
27863 * docs/pwg/advanced-clock.xml:
27864 * docs/pwg/advanced-interfaces.xml:
27865 * docs/pwg/advanced-request.xml:
27866 * docs/pwg/advanced-types.xml:
27867 * docs/pwg/intro-preface.xml:
27868 * examples/plugins/example.c: (gst_example_get_type),
27869 (gst_example_class_init), (gst_example_chain),
27870 (gst_example_set_property), (gst_example_get_property),
27871 (gst_example_change_state), (plugin_init):
27872 * examples/plugins/example.h:
27875 2005-05-17 Wim Taymans <wim@fluendo.com>
27877 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27878 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27879 * gst/gstqueue.c: (gst_queue_change_state):
27880 Clear queue when going to READY.
27881 Remove IN_SETCAPS flag too.
27883 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27885 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27886 Remove implicit cast from gboolean to GstElementStateReturn;
27887 make sure we still return failure in paused => ready case if
27888 the parent class fails to change state and our own stop
27891 2005-05-17 Wim Taymans <wim@fluendo.com>
27893 * tools/gst-launch.c: (event_loop):
27894 Message was unreffed too soon.
27896 2005-05-16 Andy Wingo <wingo@pobox.com>
27898 * gst/gstbin.c (sink_iterator_filter): Err... um...
27900 * check/gst/gstbin.c (test_ghost_pads): New test for the
27901 ghosting-if-elements-not-in-same-bin behavior.
27903 2005-05-16 David Schleef <ds@schleef.org>
27905 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27906 accessing refcount directly.
27908 2005-05-15 David Schleef <ds@schleef.org>
27910 * check/Makefile.am: remove GstData checks
27911 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27912 * gst/Makefile.am: add miniobject, remove data
27913 * gst/gst.h: add miniobject, remove data
27914 * gst/gstdata.c: remove
27915 * gst/gstdata.h: remove
27916 * gst/gstdata_private.h: remove
27917 * gst/gsttypes.h: remove GstEvent and GstMessage
27918 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27919 * gst/gstmarshal.list: change BOXED -> OBJECT
27921 Implement GstMiniObject.
27922 * gst/gstminiobject.c:
27923 * gst/gstminiobject.h:
27925 Modify to be subclasses of GstMiniObject.
27926 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27927 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27928 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27929 (gst_subbuffer_get_type), (gst_subbuffer_init),
27930 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27933 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27934 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27935 (_gst_event_copy), (gst_event_new):
27937 * gst/gstmessage.c: (_gst_message_initialize),
27938 (gst_message_get_type), (gst_message_class_init),
27939 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27940 (gst_message_new), (gst_message_new_error),
27941 (gst_message_new_warning), (gst_message_new_tag),
27942 (gst_message_new_state_changed), (gst_message_new_application):
27943 * gst/gstmessage.h:
27944 * gst/gstprobe.c: (gst_probe_perform),
27945 (gst_probe_dispatcher_dispatch):
27947 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27948 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27949 (_gst_query_copy), (gst_query_new):
27951 Update elements for GstData -> GstMiniObject changes
27953 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27954 (gst_queue_chain), (gst_queue_loop):
27955 * gst/elements/gstbufferstore.c:
27956 (gst_buffer_store_add_buffer_func),
27957 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27958 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27959 (gst_fakesink_render):
27960 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27961 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27962 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27963 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27964 (gst_filesrc_create_read):
27965 * gst/elements/gstidentity.c: (gst_identity_class_init):
27966 * gst/elements/gsttypefindelement.c:
27967 (gst_type_find_element_src_event), (free_entry_buffers),
27968 (gst_type_find_element_handle_event):
27969 * libs/gst/dataprotocol/dataprotocol.c:
27970 (gst_dp_header_from_buffer):
27971 * libs/gst/dataprotocol/dataprotocol.h:
27972 * libs/gst/dataprotocol/dp-private.h:
27974 2005-05-15 David Schleef <ds@schleef.org>
27976 * gst/elements/gstelements.c: Don't include headers that were
27979 2005-05-15 David Schleef <ds@schleef.org>
27981 * gst/elements/Makefile.am: Remove some elements that don't
27982 need to be in the core (or even exist at all).
27983 * gst/elements/gstaggregator.c:
27984 * gst/elements/gstaggregator.h:
27985 * gst/elements/gstmd5sink.c:
27986 * gst/elements/gstmd5sink.h:
27987 * gst/elements/gstmultifilesrc.c:
27988 * gst/elements/gstmultifilesrc.h:
27989 * gst/elements/gstpipefilter.c:
27990 * gst/elements/gstpipefilter.h:
27991 * gst/elements/gstshaper.c:
27992 * gst/elements/gstshaper.h:
27993 * gst/elements/gststatistics.c:
27994 * gst/elements/gststatistics.h:
27995 * po/POTFILES.in: Remove above files.
27997 2005-05-14 Andy Wingo <wingo@pobox.com>
27999 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
28000 so as to get the refs right.
28001 (sink_iterator_filter): New function, wraps bin_element_is_sink,
28002 unreffing objects that don't pass the filter.
28004 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
28005 gst_element_set_bus.
28006 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
28007 normal cases, this will destroy the bus.
28009 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
28012 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
28015 2005-05-13 Andy Wingo <wingo@pobox.com>
28017 * gst/gstutils.c (gst_element_link_pads): Instead of calling
28018 gst_pad_link, call pad_link_maybe_ghosting,
28019 (pad_link_maybe_ghosting): Links pads, making sure that the
28020 elements being linked are in the same bin.
28021 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
28022 Helpers for pad_link_maybe_ghosting.
28024 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28027 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
28029 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
28031 * docs/design/part-element-source.txt:
28034 2005-05-12 Wim Taymans <wim@fluendo.com>
28036 * gst/base/gstbasesink.c: (gst_basesink_init),
28037 (gst_basesink_activate):
28038 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
28039 (gst_basesrc_is_seekable):
28040 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
28041 (bin_element_is_sink), (gst_bin_change_state):
28042 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28043 * gst/gstelement.h:
28044 Identify sinks by their flag to avoid overly complicated
28046 Do state changes even for elements not reachable from the
28048 BaseSink is a sink now :)
28049 Some more debugging info in the basesrc.
28052 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28054 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
28055 Implement _query on a bin, similar to _send_event.
28057 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
28059 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
28060 Discont event offset format should be GST_FORMAT_BYTES,
28061 not GST_FORMAT_TIME.
28063 2005-05-12 Wim Taymans <wim@fluendo.com>
28065 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
28066 Same fix as Ronald's but without the signal.
28068 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28070 * gst/gstutils.c: (gst_element_query_position):
28071 No, an element is not a pad.
28073 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28075 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
28076 (gst_bin_get_state):
28077 If a child is removed from a bin while we remove the child from
28078 the bin and while we're retrieving its state, signal this to the
28079 get_state function so we abort the wait (instead of waiting for
28080 a timeout) and can immediately re-iterate over all other elements.
28082 2005-05-12 Wim Taymans <wim@fluendo.com>
28084 * gst/base/Makefile.am:
28085 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
28086 (gst_basesrc_start):
28087 * gst/base/gstbasesrc.h:
28088 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
28089 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
28090 (gst_pushsrc_init), (gst_pushsrc_create):
28091 * gst/base/gstpushsrc.h:
28092 Added is_seekable to BaseSrc
28093 Added simple PushSrc.
28095 2005-05-11 Wim Taymans <wim@fluendo.com>
28097 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28098 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28099 (gst_element_link_pads), (gst_element_query_position),
28100 (gst_element_query_convert), (intersect_caps_func),
28101 (gst_pad_query_position), (gst_pad_query_convert):
28102 Fix refcounting in utils function.
28103 No point in trying to activate a pad when it's added, it could
28104 be added from the state change function and then we deadlock, the
28105 element has to decide what to do.
28107 2005-05-10 Andy Wingo <wingo@pobox.com>
28109 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28110 *all* the arguments.
28112 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28113 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28114 lock (according to the docs -- if this is wrong change the docs).
28116 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28117 flush messages in the NULL state.
28119 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28120 message immediately and return.
28121 (gst_bus_set_flushing): New function. If a bus is flushing, it
28122 flushes out any queued messages and immediately unrefs new
28123 messages. This is so when an element goes to NULL, all of the
28124 unhandled messages coming from it can be freed, and their
28125 references to the element dropped. In other words: message source
28126 ref considered harmful :P
28128 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28129 we're finished with it.
28131 * gst/gstmessage.c (gst_message_new_state_changed):
28133 2005-05-10 Wim Taymans <wim@fluendo.com>
28135 * gst/gstvalue.c: (gst_value_compare_flags),
28136 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28137 (_gst_value_initialize):
28138 Added flags serialize/deserialize/compare code.
28140 2005-05-09 Andy Wingo <wingo@pobox.com>
28142 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28143 Intersect the peer's caps with our caps.
28145 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28147 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28148 * gst/elements/gsttypefindelement.c: (find_peek):
28149 Handle negative offsets better. Fixes decodebin.
28151 2005-05-09 Wim Taymans <wim@fluendo.com>
28153 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28154 (gst_base_transform_event):
28155 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28156 Implement accept_caps.
28157 Fix silly lock/unlock mismatch in base class.
28159 2005-05-09 Wim Taymans <wim@fluendo.com>
28161 * docs/design/draft-push-pull.txt:
28162 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28163 * gst/elements/gstfilesink.c: (gst_filesink_init),
28164 (gst_filesink_query):
28165 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28166 (gst_type_find_handle_src_query), (find_element_get_length):
28167 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28168 * gst/gstelement.h:
28169 * gst/gstmessage.c:
28170 * gst/gstmessage.h:
28171 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28172 (gst_real_pad_get_caps_unlocked),
28173 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28174 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28175 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28176 (gst_real_pad_dispose), (gst_real_pad_finalize),
28177 (gst_pad_load_and_link), (gst_pad_save_thyself),
28178 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28179 (gst_pad_check_pull_range), (gst_pad_pull_range),
28180 (gst_pad_template_get_type), (gst_pad_template_class_init),
28181 (gst_pad_template_init), (gst_pad_template_dispose),
28182 (name_is_valid), (gst_static_pad_template_get),
28183 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28184 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28185 (gst_pad_get_element_private), (gst_pad_start_task),
28186 (gst_pad_pause_task), (gst_pad_stop_task),
28187 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28188 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28189 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28190 (gst_ghost_pad_new):
28192 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28193 (gst_query_new_position), (gst_query_set_position),
28194 (gst_query_parse_position), (gst_query_new_convert),
28195 (gst_query_set_convert), (gst_query_parse_convert):
28197 * gst/gstqueryutils.c:
28198 * gst/gstqueryutils.h:
28199 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28200 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28201 (gst_queue_handle_src_query):
28202 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28203 (gst_element_query_position), (gst_element_query_convert),
28204 (intersect_caps_func), (gst_pad_query_position),
28205 (gst_pad_query_convert):
28207 * tools/gst-inspect.c: (print_pad_info):
28208 * tools/gst-xmlinspect.c: (print_element_info):
28209 Remove old query functions. Ported old code.
28210 Added position/convert helper functions to gstutils.
28211 Reordered gstpad.c code, grouping relevant things.
28212 Remove gst_message_new(), always need to speficy a specific
28216 2005-05-09 Andy Wingo <wingo@pobox.com>
28218 * gst/gstiterator.h: Add some includes.
28220 * gst/gstqueryutils.h: Include more headers.
28223 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28224 some uses of gst_pad_query.
28226 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28227 NULL out parameters.
28228 (gst_query_new_position): New proc, allocates a new position
28231 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28232 gstqueryutils.c to the build.
28234 * gst/gststructure.c (gst_structure_set_valist): Implement with
28235 the generic G_VALUE_COLLECT.
28237 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28239 * gst/Makefile.am: (gst_headers):
28240 Added gstqueryutils.h to the list of headers to install, that was
28241 a 'nachty' move wingo :)
28243 2005-05-06 Andy Wingo <wingo@pobox.com>
28246 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28247 GstData, init a memchunk.
28248 (standard_definitions): Add a few query types, deprecate a few.
28249 (gst_query_get_type): New proc.
28250 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28252 (gst_query_new_application, gst_query_get_structure): New public
28255 * docs/design/draft-query.txt: Removed LINKS from the query types,
28256 because all the rest can be dispatched to other pads -- seemed
28257 ugly to have a query that couldn't be dispatched. internal_links
28258 is fine as a pad method.
28260 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28261 in gstpad.c, but maintain binary compatibility for the moment.
28262 Will fix before 0.9 is out.
28264 * gst/gstqueryutils.c:
28265 * gst/gstqueryutils.h: New files, implement 3 methods for each
28266 query type: parse_query, parse_response, and set. Probably need an
28269 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28271 * gst/elements/gstfilesink.c (gst_filesink_query2):
28272 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28273 query_types, and formats methods.
28275 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28276 (gst_pad_set_query2_function): New functions.
28277 (gst_real_pad_init): Set query2_default as the default query2
28278 function. Basically just dispatches to internally linked pads.
28282 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28283 without using the atomic operations. Only one thread can possibly
28284 be accessing the data at this point. Changed so as to avoid
28285 gst_atomic operations.
28287 2005-05-06 Wim Taymans <wim@fluendo.com>
28289 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28290 Also set caps if we use the fallback buffer alloc.
28292 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28294 * docs/gst/Makefile.am:
28295 * docs/gst/gstreamer-docs.sgml:
28296 * docs/gst/gstreamer-sections.txt:
28297 * docs/gst/tmpl/gstatomic.sgml:
28298 * docs/gst/tmpl/gstmemchunk.sgml:
28299 * testsuite/elements/struct_i386.h:
28300 * win32/GStreamer.vcproj:
28302 Purge GstAtomic stuff from docs and win32 makefiles as well
28304 2005-05-06 Wim Taymans <wim@fluendo.com>
28306 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28307 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28308 * gst/gstpad.c: (gst_pad_peer_get_caps):
28309 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28310 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28311 (gst_queue_src_activate), (gst_queue_change_state):
28313 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28314 (intersect_caps_func):
28315 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28316 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28317 Some fixes for the peer_get_caps() change.
28319 2005-05-06 Wim Taymans <wim@fluendo.com>
28321 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28322 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28323 (gst_basesink_activate):
28324 Actually do something with error codes returned from the push
28327 2005-05-06 Wim Taymans <wim@fluendo.com>
28329 * docs/design/part-element-sink.txt:
28330 * docs/design/part-element-source.txt:
28331 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28332 (gst_basesink_event), (gst_basesink_activate):
28333 * gst/base/gstbasesink.h:
28334 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28335 (gst_basesrc_activate):
28336 * gst/base/gstbasesrc.h:
28337 * gst/gstelement.c: (gst_element_pads_activate):
28338 Some more documentation.
28339 Fixed scheduling decision in _pads_activate().
28341 2005-05-05 Andy Wingo <wingo@pobox.com>
28343 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28346 2005-05-05 Wim Taymans <wim@fluendo.com>
28348 * gst/base/Makefile.am:
28349 * gst/base/gstbasesink.h:
28350 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28351 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28352 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28353 (gst_collectpads_class_init), (gst_collectpads_init),
28354 (gst_collectpads_finalize), (gst_collectpads_new),
28355 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28356 (find_pad), (gst_collectpads_remove_pad),
28357 (gst_collectpads_is_active), (gst_collectpads_collect),
28358 (gst_collectpads_collect_range), (gst_collectpads_start),
28359 (gst_collectpads_stop), (gst_collectpads_peek),
28360 (gst_collectpads_pop), (gst_collectpads_available),
28361 (gst_collectpads_read), (gst_collectpads_flush),
28362 (gst_collectpads_chain):
28363 * gst/base/gstcollectpads.h:
28364 * gst/elements/Makefile.am:
28365 * gst/elements/gstelements.c:
28366 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28367 (gst_fakesink_get_times), (gst_fakesink_event),
28368 (gst_fakesink_preroll), (gst_fakesink_render):
28369 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28370 (gst_filesink_init), (gst_filesink_set_location),
28371 (gst_filesink_open_file), (gst_filesink_close_file),
28372 (gst_filesink_pad_query), (gst_filesink_event),
28373 (gst_filesink_render), (gst_filesink_change_state):
28374 * gst/elements/gstfilesink.h:
28375 Added object to help in making collect pad based elements.
28377 Make event function in sink baseclass return gboolean.
28379 2005-05-05 Wim Taymans <wim@fluendo.com>
28381 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28382 (gst_bin_get_by_name):
28384 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28385 (gst_clock_finalize):
28386 * gst/gstdata.c: (gst_data_replace):
28388 * gst/gstelement.c: (gst_element_request_pad),
28389 (gst_element_pads_activate):
28390 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28391 (gst_object_unref):
28392 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28393 (gst_pad_set_checkgetrange_function),
28394 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28395 (gst_pad_check_pull_range), (gst_pad_pull_range),
28396 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28397 (gst_pad_pause_task), (gst_pad_stop_task):
28398 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28399 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28400 Fix name lookup in GstBin.
28401 Added _data_replace() function and _buffer_replace()
28402 Use finalize method to clean up clock.
28403 Fix refcounting on request pads.
28404 Fix pad schedule mode error.
28405 Some more object refcounting debug info,
28408 2005-05-04 Andy Wingo <wingo@pobox.com>
28410 * check/Makefile.am:
28411 * docs/gst/tmpl/gstatomic.sgml:
28412 * docs/gst/tmpl/gstplugin.sgml:
28413 * gst/base/gstbasesink.c: (gst_basesink_activate):
28414 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28415 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28416 (gst_basesrc_query), (gst_basesrc_set_property),
28417 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28418 (gst_basesrc_activate):
28419 * gst/base/gstbasesrc.h:
28420 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28421 (gst_base_transform_src_activate):
28422 * gst/elements/gstelements.c:
28423 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28424 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28425 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28426 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28427 (gst_type_find_element_checkgetrange),
28428 (gst_type_find_element_activate):
28429 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28430 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28431 (gst_caps_load_thyself):
28432 * gst/gstelement.c: (gst_element_pads_activate),
28433 (gst_element_save_thyself), (gst_element_restore_thyself):
28434 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28435 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28437 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28438 (gst_xml_parse_file), (gst_xml_parse_memory),
28439 (gst_xml_get_element), (gst_xml_make_element):
28440 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28441 (_file_index_id_save_xml), (gst_file_index_commit):
28442 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28443 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28445 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28446 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28447 * tools/gst-complete.c: (main):
28448 * tools/gst-compprep.c: (main):
28449 * tools/gst-inspect.c: (print_element_properties_info):
28450 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28451 * tools/gst-xmlinspect.c: (print_element_properties):
28454 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28456 * gst/gstplugin.c: (gst_plugin_check_module),
28457 (gst_plugin_check_file), (gst_plugin_load_file):
28458 apply patch from #172526 to make register work on MacOSX
28460 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28462 * docs/gst/tmpl/gstconfig.sgml:
28463 * gst/gstconfig.h.in:
28464 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28465 * testsuite/debug/printf_extension.c: (main):
28466 Do not use GST_PTR_FORMAT on pointers to types with
28467 sizeof < sizeof(gpointer). Fixes test on 64-bit
28468 * testsuite/elements/property.h:
28469 use correct printf format
28471 2005-05-02 Wim Taymans <wim@fluendo.com>
28473 * docs/design/draft-push-pull.txt:
28474 * docs/design/draft-query.txt:
28475 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28476 (gst_basesrc_start):
28477 Added draft for new query API.
28478 Added draft for better selecting scheduling methods.
28479 Make basesrc ignore length if the subclass does not support
28482 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28485 possible fixes for automake-1.5 - _LIBADD is reserved
28487 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28489 * docs/faq/Makefile.am:
28490 * docs/manual/Makefile.am:
28491 * docs/manuals.mak:
28492 * docs/pwg/Makefile.am:
28494 possible fixes for automake-1.5
28496 2005-04-28 Wim Taymans <wim@fluendo.com>
28498 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28499 (gst_basesink_pad_getcaps), (gst_basesink_init),
28500 (gst_basesink_do_sync):
28501 * gst/gstclock.c: (gst_clock_entry_new):
28502 * gst/gstevent.c: (gst_event_discont_get_value):
28503 * gst/gstpipeline.c: (pipeline_bus_handler),
28504 (gst_pipeline_change_state):
28505 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28506 Better debugging of clocking info.
28507 Allow NULL values when getting discont values.
28509 2005-04-27 Wim Taymans <wim@fluendo.com>
28511 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28512 * check/gst/gstpad.c: (gst_pad_suite):
28513 Increase timeout for checks.
28515 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28517 * check/Makefile.am:
28518 fix the broken rule for cleanup. Apparently this rule is
28519 only needed on FC2, so maybe this warrants further autotool
28522 2005-04-26 Wim Taymans <wim@fluendo.com>
28524 * gst/gsttrashstack.h:
28525 Ooohh. a nasty one! After having a failed pop() from the stack,
28526 it's possible that the stack is empty. In that case, don't
28527 follow the NULL pointer.
28529 2005-04-25 Wim Taymans <wim@fluendo.com>
28531 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28532 (gst_pad_set_checkgetrange_function),
28533 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28534 (gst_pad_check_pull_range), (gst_pad_pull_range),
28535 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28536 (gst_pad_pause_task), (gst_pad_stop_task):
28537 * gst/gstplugin.c: (gst_plugin_load):
28539 Remove gst_library_load as it does more harm than good with
28540 the new g_module flags.
28541 Revert bogus caps template check in pad linking, pad caps
28542 are important when linking not the template, which is more
28543 general than the current caps.
28545 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28547 * gst/autoplug/.cvsignore:
28548 * gst/autoplug/Makefile.am:
28549 * gst/autoplug/gstsearchfuncs.c:
28550 * gst/autoplug/gstsearchfuncs.h:
28551 * gst/autoplug/gstspider.c:
28552 * gst/autoplug/gstspider.h:
28553 * gst/autoplug/gstspideridentity.c:
28554 * gst/autoplug/gstspideridentity.h:
28555 * gst/autoplug/spidertest.c:
28558 2005-04-25 Wim Taymans <wim@fluendo.com>
28560 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28561 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28562 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28563 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28565 Added stubs for unimplemented functions.
28567 2005-04-24 David Schleef <ds@schleef.org>
28569 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28572 2005-04-24 David Schleef <ds@schleef.org>
28574 Convert everything from GstAtomicInt to g_atomic_int_*, and
28579 * gst/gstatomic_impl.h:
28587 * gst/gstdata_private.h:
28591 * gst/gstmessage.c:
28594 * gst/gststructure.c:
28595 * gst/gststructure.h:
28596 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28599 2005-04-24 David Schleef <ds@schleef.org>
28601 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28602 make the regressions tests work. Remove some code that is no
28604 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28605 Disable warning for pads without templates.
28607 2005-04-24 David Schleef <ds@schleef.org>
28609 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28610 functions that handle filtered links.
28611 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28613 * gst/gstutils.c: Fix/remove utility functions that handle
28616 * gst/gstvalue.c: Add serialization/deserialization of caps
28617 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28618 requires fixing so that the filter caps notation creates
28619 a capsfilter element and sets the filter_caps property. I
28620 think everyone probably wants to keep the shorthand notation.
28621 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28622 * docs/gst/tmpl/gstpad.sgml:
28624 * gst/elements/gstelements.c: Register capsfilter element.
28625 * gst/Makefile.am: fix spacing
28626 * docs/random/ds/0.9-suggested-changes: random
28628 2005-04-23 David Schleef <ds@schleef.org>
28630 * gst/elements/Makefile.am:
28631 * gst/elements/gstcapsfilter.c: New element that acts like an
28632 identity, but filters caps. Will eventually replace filtered
28633 caps in pad linking.
28634 * gst/gstutils.c: (gst_element_create_all_pads): New function
28635 to create all the ALWAYS pads that are registered with an
28636 element class. This functionality should eventually be
28637 merged in with GstElement initialization.
28639 * testsuite/trigger/README: part of trigger test code that should
28640 have been checked in a long time ago.
28642 2005-04-23 David Schleef <ds@schleef.org>
28644 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28645 needed with new versions of libtool (nobody will confirm this),
28646 and hard to carry around.
28647 * gst/autoplug/Makefile.am:
28648 * gst/base/Makefile.am:
28649 * gst/elements/Makefile.am:
28650 * gst/indexers/Makefile.am:
28651 * gst/schedulers/Makefile.am:
28652 * libs/gst/bytestream/Makefile.am:
28653 * libs/gst/control/Makefile.am:
28654 * libs/gst/dataprotocol/Makefile.am:
28655 * libs/gst/getbits/Makefile.am:
28657 2005-04-21 Wim Taymans <wim@fluendo.com>
28659 * docs/design/draft-push-pull.txt:
28660 * docs/design/part-MT-refcounting.txt:
28661 * docs/design/part-TODO.txt:
28662 * docs/design/part-caps.txt:
28663 * docs/design/part-events.txt:
28664 * docs/design/part-gstbus.txt:
28665 * docs/design/part-gstpipeline.txt:
28666 * docs/design/part-messages.txt:
28667 * docs/design/part-push-pull.txt:
28668 * docs/design/part-query.txt:
28671 2005-04-21 Wim Taymans <wim@fluendo.com>
28673 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28674 (gst_message_new), (gst_message_new_error),
28675 (gst_message_new_warning), (gst_message_new_tag),
28676 (gst_message_new_state_changed), (gst_message_new_application),
28677 (gst_message_get_structure):
28678 * gst/gstmessage.h:
28679 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28680 (gst_structure_copy_conditional):
28681 Use parent refcount in GstMessage to ensure GstStructure
28683 Cleaned up headers a bit.
28686 2005-04-20 Wim Taymans <wim@fluendo.com>
28688 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28689 (gst_basesink_pad_getcaps), (gst_basesink_init),
28690 (gst_basesink_chain_unlocked):
28691 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28692 (gst_type_find_helper):
28693 * gst/elements/gsttypefindelement.c:
28694 (gst_type_find_element_have_type), (gst_type_find_element_init),
28695 (stop_typefinding), (gst_type_find_element_handle_event),
28696 (find_suggest), (gst_type_find_element_chain),
28697 (gst_type_find_element_checkgetrange),
28698 (gst_type_find_element_getrange), (do_typefind),
28699 (gst_type_find_element_activate):
28700 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28701 (gst_buffer_default_free), (gst_buffer_default_copy),
28702 (gst_buffer_set_caps):
28703 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28704 (gst_caps_replace):
28705 * gst/gstmessage.c: (gst_message_new),
28706 (gst_message_new_state_changed):
28707 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28708 (gst_pad_set_checkgetrange_function),
28709 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28710 (gst_pad_set_caps), (gst_pad_check_pull_range),
28711 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28713 * gst/gsttypefind.c: (gst_type_find_register):
28714 Make gst_caps_replace() work like other _replace() functions.
28715 Use _caps_replace() where possible.
28716 Make sure _message_new() initialises its field.
28717 Add gst_static_pad_template_get_caps()
28720 2005-04-18 Andy Wingo <wingo@pobox.com>
28722 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28723 on the peer, not the pad. I think that was a typo. Pass an extra
28724 arg to see if random access is possible. Activate the pads as
28725 PULL_RANGE if possible.
28727 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28729 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28730 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28733 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28735 * docs/faq/using.xml:
28736 Add note on gstreamer-properties (#154996).
28738 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28740 * docs/random/bbb/optional-properties:
28741 Some analysis on optional properties.
28743 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28745 * docs/gst/tmpl/gstelementfactory.sgml:
28746 * gst/gstelement.h:
28747 * gst/gstelementfactory.c: (gst_element_factory_init),
28748 (gst_element_factory_cleanup), (gst_element_register),
28749 (__gst_element_factory_add_static_pad_template),
28750 (gst_element_factory_get_static_pad_templates),
28751 (gst_element_factory_can_src_caps),
28752 (gst_element_factory_can_sink_caps):
28753 * gst/registries/Makefile.am:
28754 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28755 (gst_xml_registry_class_init), (gst_xml_registry_init),
28756 (gst_xml_registry_new), (gst_xml_registry_set_property),
28757 (gst_xml_registry_get_property), (get_time), (make_dir),
28758 (gst_xml_registry_get_perms_func),
28759 (plugin_times_older_than_recurse), (plugin_times_older_than),
28760 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28761 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28762 (add_to_char_array), (read_string), (read_uint), (read_enum),
28763 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28764 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28765 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28766 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28767 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28768 (gst_xml_registry_rebuild):
28769 * gst/registries/gstlibxmlregistry.h:
28770 * tools/gst-compprep.c: (main):
28771 * tools/gst-inspect.c: (print_pad_templates_info):
28772 * tools/gst-xmlinspect.c: (print_element_info):
28773 Use libxml2 for registry parsing, use staticpadtemplates in
28774 elementfactories. Makes gst_init() +/- 10x faster.
28776 2005-04-12 Wim Taymans <wim@fluendo.com>
28778 * gst/base/Makefile.am:
28779 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28780 (gst_basesink_pad_getcaps), (gst_basesink_init),
28781 (gst_basesink_event), (gst_basesink_change_state):
28782 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28783 (gst_basesrc_init), (gst_basesrc_query),
28784 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28785 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28786 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28787 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28788 (gst_basesrc_stop), (gst_basesrc_activate),
28789 (gst_basesrc_change_state):
28790 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28791 (helper_find_suggest), (gst_type_find_helper):
28792 * gst/base/gsttypefindhelper.h:
28793 * gst/elements/Makefile.am:
28794 * gst/elements/gstelements.c:
28795 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28796 (gst_fakesink_get_times), (gst_fakesink_event),
28797 (gst_fakesink_preroll), (gst_fakesink_render):
28798 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28799 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28800 (gst_fakesrc_get_property), (gst_fakesrc_create),
28801 (gst_fakesrc_start), (gst_fakesrc_stop):
28802 * gst/elements/gstfakesrc.h:
28803 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28804 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28805 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28806 (gst_filesrc_create_read), (gst_filesrc_create),
28807 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28808 (gst_filesrc_start):
28809 * gst/elements/gsttypefindelement.c:
28810 (gst_type_find_element_have_type), (gst_type_find_element_init),
28811 (start_typefinding), (stop_typefinding), (push_buffer_store),
28812 (gst_type_find_element_handle_event),
28813 (gst_type_find_element_chain),
28814 (gst_type_find_element_checkgetrange),
28815 (gst_type_find_element_getrange), (do_typefind),
28816 (gst_type_find_element_activate),
28817 (gst_type_find_element_change_state):
28818 * gst/elements/gsttypefindelement.h:
28819 * gst/gstpipeline.c: (pipeline_bus_handler):
28820 Added typefind helper.
28821 Small preroll fix in the base sink.
28822 Disable typefind code in basesrc.
28823 Crude port of typefindelement.
28827 2005-04-11 Wim Taymans <wim@fluendo.com>
28829 * check/gst/gstbus.c: (gstbus_suite):
28830 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28831 * check/gstcheck.h:
28832 Fix up the timeout so that the test does not fail.
28834 2005-04-06 Wim Taymans <wim@fluendo.com>
28837 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28838 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28839 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28840 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28841 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28842 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28843 (gst_basesrc_stop), (gst_basesrc_activate),
28844 (gst_basesrc_change_state), (basesrc_find_peek),
28845 (basesrc_find_suggest), (gst_basesrc_type_find):
28846 * gst/base/gstbasesrc.h:
28847 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28848 (gst_filesrc_class_init), (gst_filesrc_init),
28849 (gst_filesrc_finalize), (gst_filesrc_set_location),
28850 (gst_filesrc_set_property), (gst_filesrc_get_property),
28851 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28852 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28853 (gst_filesrc_create_read), (gst_filesrc_create),
28854 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28855 * gst/elements/gstfilesrc.h:
28856 * gst/gstelement.c: (gst_element_get_state_func),
28857 (gst_element_lost_state), (gst_element_pads_activate):
28858 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28859 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28860 (gst_pad_pull_range):
28862 More work on the generic source base class, implement seeking,
28864 Make filesrc extend the base source class.
28865 Added gst_pad_set_checkgetrange_function to GstPad.
28867 2005-04-06 Andy Wingo <wingo@pobox.com>
28869 * pkgconfig/gstreamer-base.pc.in:
28870 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28872 * pkgconfig/Makefile.am:
28873 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28875 2005-04-04 Wim Taymans <wim@fluendo.com>
28877 * gst/base/Makefile.am:
28879 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28880 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28881 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28882 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28883 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28884 (gst_basesrc_base_init), (gst_basesrc_class_init),
28885 (gst_basesrc_init), (gst_basesrc_get_formats),
28886 (gst_basesrc_get_query_types), (gst_basesrc_query),
28887 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28888 (gst_basesrc_set_property), (gst_basesrc_get_property),
28889 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28890 (gst_basesrc_loop), (gst_basesrc_activate),
28891 (gst_basesrc_change_state):
28892 * gst/base/gstbasesrc.h:
28893 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28894 (gst_fakesrc_class_init), (gst_fakesrc_init),
28895 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28896 (gst_fakesrc_get_property), (gst_fakesrc_create):
28897 * gst/elements/gstfakesrc.h:
28898 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28899 (gst_filesrc_open_file), (gst_filesrc_loop),
28900 (gst_filesrc_activate), (filesrc_find_peek),
28901 (gst_filesrc_type_find):
28902 Made base source class, make fakesrc extend it.
28903 Add comments to basesink class.
28904 Some filesrc cleanup.
28906 2005-03-31 David Schleef <ds@schleef.org>
28908 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28909 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28910 expected to link against libgstreamer.
28911 * gst/base/Makefile.am: link against libgstreamer
28912 * gst/elements/Makefile.am: same
28914 2005-03-31 Andy Wingo <wingo@pobox.com>
28916 * tests/instantiate/Makefile.am:
28917 * tests/instantiate/caps.c: Add test to test speed of caps copy
28920 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28921 GMemChunk to be fair.
28923 * gst/gsttrashstack.h: Remove warning about using the fallback
28924 trash stack implementation, it's still faster than malloc.
28926 2005-03-30 Andy Wingo <wingo@pobox.com>
28928 * tests/complexity.c: Add a copyright.
28930 2005-03-31 Wim Taymans <wim@fluendo.com>
28932 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28933 (gst_base_transform_class_init), (gst_base_transform_init),
28934 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28935 (gst_base_transform_get_property),
28936 (gst_base_transform_sink_activate),
28937 (gst_base_transform_src_activate),
28938 (gst_base_transform_change_state):
28939 * gst/base/gstbasetransform.h:
28940 * gst/elements/gstidentity.c: (gst_identity_class_init),
28941 (gst_identity_event), (gst_identity_check_perfect),
28942 (gst_identity_transform), (gst_identity_start),
28943 (gst_identity_stop):
28944 Added start/stop methods to transform base class so subclasses
28945 don't need to deal with state changes even.
28947 2005-03-31 Wim Taymans <wim@fluendo.com>
28949 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28950 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28952 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28953 (gst_pad_pull_range):
28954 Added rate to the discont event to prepare for variable speed
28955 and reverse playback.
28957 2005-03-29 David Schleef <ds@schleef.org>
28960 * testsuite/trigger/Makefile.am:
28961 * testsuite/trigger/trigger.c: A little example program to show
28962 how trigger-based elements can work.
28964 2005-03-29 Wim Taymans <wim@fluendo.com>
28966 * gst/base/Makefile.am:
28968 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28969 (gst_basesink_base_init), (gst_basesink_class_init),
28970 (gst_basesink_pad_getcaps), (gst_basesink_init),
28971 (gst_basesink_activate), (gst_basesink_change_state):
28972 * gst/base/gstbasesink.h:
28973 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28974 (gst_base_transform_base_init), (gst_base_transform_finalize),
28975 (gst_base_transform_class_init), (gst_base_transform_init),
28976 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28977 (gst_base_transform_event), (gst_base_transform_getrange),
28978 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28979 (gst_base_transform_set_property),
28980 (gst_base_transform_get_property),
28981 (gst_base_transform_sink_activate),
28982 (gst_base_transform_src_activate),
28983 (gst_base_transform_change_state):
28984 * gst/base/gstbasetransform.h:
28985 * gst/elements/gstidentity.c: (gst_identity_finalize),
28986 (gst_identity_class_init), (gst_identity_init),
28987 (gst_identity_event), (gst_identity_check_perfect),
28988 (gst_identity_transform), (gst_identity_set_property),
28989 (gst_identity_get_property), (gst_identity_change_state):
28990 * gst/elements/gstidentity.h:
28991 * gst/gstelement.c: (gst_element_get_state_func),
28992 (gst_element_lost_state), (gst_element_pads_activate):
28993 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28994 (gst_pad_check_pull_range), (gst_pad_pull_range):
28996 Simplify pad activation.
28997 Added function to check if pull_range can be performed.
28998 Error out when pulling inactive or flushing pads.
28999 Removed const from refcounted types as it does not make sense.
29000 Simplify pad templates in basesink
29001 Added base class for simple 1-to-1 transforms.
29002 Make identity subclass the base transform.
29004 2005-03-29 Andy Wingo <wingo@pobox.com>
29006 * docs/libs/gstreamer-libs-overrides.txt:
29007 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
29008 really don't understand what's going on, but like whatever. I want
29011 * docs/gst/Makefile.am:
29012 * docs/libs/Makefile.am: Dist the overrides files.
29014 * check/Makefile.am (clean-local): Remove .libs directories.
29016 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
29017 elements to EXTRA_DIST, so po/ files are happy.
29019 * po/POTFILES.in: Er, remove it here.
29021 * po/POTFILES: Remove gstspider.c.
29023 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
29025 * docs/libs/gstreamer-libs-docs.sgml:
29026 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
29029 * tests/complexity.c (main): Set the length of the preroll queue
29030 on the sinks to prevent a lockup.
29032 * libs/gst/dataprotocol/Makefile.am:
29033 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
29034 the same as the one in check/gst-libs/gdp.c.
29036 * po/, docs/gst/: Commit automatic changes to docs and po files.
29038 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
29039 the versioned libgstbase.
29041 * check/Makefile.am: Depend on an unversioned gst-register, seems
29042 to make autoconf happier.
29044 * gst/base/Makefile.am: Make libgstbase a versioned lib.
29046 2005-03-28 Wim Taymans <wim@fluendo.com>
29049 * docs/design/part-gstelement.txt:
29050 * docs/design/part-negotiation.txt:
29051 * docs/design/part-preroll.txt:
29052 * docs/design/part-scheduling.txt:
29053 * docs/design/part-states.txt:
29055 * gst/base/Makefile.am:
29057 * gst/base/gstbasesink.c: (gst_basesink_get_template),
29058 (gst_basesink_base_init), (gst_basesink_class_init),
29059 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
29060 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
29061 (gst_basesink_set_pad_functions),
29062 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
29063 (gst_basesink_set_property), (gst_basesink_get_property),
29064 (gst_base_sink_get_template), (gst_base_sink_get_caps),
29065 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
29066 (gst_basesink_preroll_queue_push),
29067 (gst_basesink_preroll_queue_empty),
29068 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
29069 (gst_basesink_event), (gst_basesink_get_times),
29070 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
29071 (gst_basesink_chain_unlocked), (gst_basesink_chain),
29072 (gst_basesink_loop), (gst_basesink_activate),
29073 (gst_basesink_change_state):
29074 * gst/base/gstbasesink.h:
29075 * gst/elements/Makefile.am:
29076 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
29077 (gst_fakesink_class_init), (gst_fakesink_init),
29078 (gst_fakesink_set_property), (gst_fakesink_get_property),
29079 (gst_fakesink_get_times), (gst_fakesink_event),
29080 (gst_fakesink_preroll), (gst_fakesink_render),
29081 (gst_fakesink_change_state):
29082 * gst/elements/gstfakesink.h:
29083 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29084 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
29085 * gst/gstelement.c: (gst_element_add_pad),
29086 (gst_element_get_state_func), (gst_element_abort_state),
29087 (gst_element_commit_state), (gst_element_lost_state),
29088 (gst_element_set_state), (gst_element_pads_activate):
29089 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
29090 * gst/gstpipeline.c: (gst_pipeline_send_event),
29091 (gst_pipeline_change_state):
29092 Added state change code.
29093 Added/updated docs.
29094 Added sink base class, make fakesink extend the base class.
29095 Small cleanups in GstPipeline.
29097 2005-03-26 David Schleef <ds@schleef.org>
29099 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29100 is broken and should be implemented in a different library.
29101 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29102 * gst/gst.h: remove gstcpu.h
29103 * gst/gstcpu.c: remove
29104 * gst/gstcpu.h: remove
29105 * gst/Makefile.am.future: Remove this file. It's ancient.
29107 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29109 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29110 (gst_bin_send_event):
29111 Add default event/set_manager handlers. The set_manager handler
29112 takes care that the manager is distributed over kids that were
29113 already in the bin before the manager was set. The event handler
29114 is a utility virtual function that sends the event over all sinks,
29115 so that gst_element_send_event (bin, event); has the expected
29117 * gst/gstpad.c: (gst_pad_event_default):
29118 Re-install default event handling for discontinuities, so that
29119 seeking works without requiring hacks in applications or extra
29121 * gst/gstpipeline.c: (gst_pipeline_class_init),
29122 (gst_pipeline_send_event):
29123 Half hack, half utility: set a pipeline to PAUSED for seek events,
29124 since that is the only way we can guarantee a/v sync. Means that
29125 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29126 and it "just works".
29128 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29130 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29131 Lock/unlock mismatch.
29133 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29135 * docs/faq/gst-uninstalled:
29136 add gst-plugins-base
29137 * docs/gst/Makefile.am:
29138 don't error out until docs are fixed
29139 * docs/gst/gstreamer.types:
29142 2005-03-22 Wim Taymans <wim@fluendo.com>
29144 * check/Makefile.am:
29145 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29146 * gst/gststructure.c: (gst_structure_set_valist),
29147 (gst_structure_copy_conditional):
29148 Activated more tests.
29149 Added message test.
29150 Added G_TYPE_POINTER to GstStructure.
29153 2005-03-22 Wim Taymans <wim@fluendo.com>
29155 * docs/design/part-TODO.txt:
29156 * docs/design/part-events.txt:
29157 * docs/design/part-gstbin.txt:
29158 * docs/design/part-gstbus.txt:
29159 * docs/design/part-gstpipeline.txt:
29160 * docs/design/part-messages.txt:
29162 * gst/gstmessage.c:
29165 2005-03-21 Wim Taymans <wim@fluendo.com>
29167 * gst/gstbus.c: (gst_bus_post):
29168 Fix copy-and-paste error.
29170 2005-03-21 Wim Taymans <wim@fluendo.com>
29172 * check/Makefile.am:
29174 * gst/elements/Makefile.am:
29175 * gst/elements/gstelements.c:
29176 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29177 (gst_fakesink_event), (gst_fakesink_chain):
29178 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29179 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29180 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29181 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29182 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29183 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29184 (gst_fakesrc_loop), (gst_fakesrc_activate),
29185 (gst_fakesrc_change_state):
29186 * gst/elements/gstfakesrc.h:
29187 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29188 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29189 (gst_filesrc_open_file), (gst_filesrc_loop),
29190 (gst_filesrc_activate), (gst_filesrc_change_state),
29191 (filesrc_find_peek), (filesrc_find_suggest),
29192 (gst_filesrc_type_find):
29193 * gst/elements/gstidentity.c: (gst_identity_finalize),
29194 (gst_identity_class_init), (gst_identity_init),
29195 (gst_identity_proxy_getcaps), (identity_queue_push),
29196 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29197 (gst_identity_getrange), (gst_identity_chain),
29198 (gst_identity_sink_loop), (gst_identity_src_loop),
29199 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29200 (gst_identity_set_property), (gst_identity_get_property),
29201 (gst_identity_change_state):
29202 * gst/elements/gstidentity.h:
29203 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29204 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29205 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29206 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29207 (gst_tee_sink_activate):
29208 * gst/elements/gsttee.h:
29209 * gst/gst.c: (gst_register_core_elements), (init_post):
29211 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29212 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29213 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29214 (gst_bin_change_state):
29216 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29217 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29218 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29219 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29220 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29221 (bus_watch_callback), (bus_watch_destroy),
29222 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29223 (poll_timeout), (gst_bus_poll):
29227 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29228 (gst_element_post_message), (gst_element_message_full),
29229 (gst_element_get_state_func), (gst_element_get_state),
29230 (gst_element_abort_state), (gst_element_commit_state),
29231 (gst_element_lost_state), (gst_element_set_state),
29232 (gst_element_pads_activate), (gst_element_change_state),
29233 (gst_element_dispose), (gst_element_set_manager_func),
29234 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29235 (gst_element_set_manager), (gst_element_get_manager),
29236 (gst_element_set_bus), (gst_element_get_bus),
29237 (gst_element_set_scheduler), (gst_element_get_scheduler):
29238 * gst/gstelement.h:
29239 * gst/gstevent.c: (gst_event_new_segment_seek),
29240 (gst_event_new_flush):
29242 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29243 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29244 (gst_message_new_eos), (gst_message_new_error),
29245 (gst_message_new_warning), (gst_message_new_tag),
29246 (gst_message_new_state_changed), (gst_message_new_application),
29247 (gst_message_get_structure), (gst_message_parse_tag),
29248 (gst_message_parse_state_changed), (gst_message_parse_error),
29249 (gst_message_parse_warning):
29250 * gst/gstmessage.h:
29251 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29252 (gst_real_pad_set_property), (gst_pad_set_active),
29253 (gst_pad_is_active), (gst_pad_set_blocked_async),
29254 (gst_pad_set_blocked), (gst_pad_is_blocked),
29255 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29256 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29257 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29258 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29259 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29260 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29261 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29262 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29263 (gst_pad_set_caps), (gst_pad_configure_sink),
29264 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29265 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29266 (gst_real_pad_dispose), (gst_real_pad_finalize),
29267 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29268 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29269 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29271 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29272 (pipeline_bus_handler), (gst_pipeline_change_state),
29273 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29274 * gst/gstpipeline.h:
29276 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29277 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29278 (gst_queue_link_src), (gst_queue_bufferalloc),
29279 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29280 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29281 (gst_queue_loop), (gst_queue_handle_src_event),
29282 (gst_queue_handle_src_query), (gst_queue_src_activate),
29283 (gst_queue_change_state):
29285 * gst/gstscheduler.c: (gst_scheduler_init),
29286 (gst_scheduler_dispose), (gst_scheduler_create_task),
29287 (gst_scheduler_factory_create):
29288 * gst/gstscheduler.h:
29289 * gst/gststructure.c: (gst_structure_get_type),
29290 (gst_structure_copy_conditional):
29291 * gst/gststructure.h:
29292 * gst/gsttaginterface.h:
29293 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29294 (gst_task_init), (gst_task_dispose), (gst_task_create),
29295 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29301 * gst/schedulers/Makefile.am:
29302 * gst/schedulers/cothreads_compat.h:
29303 * gst/schedulers/entryscheduler.c:
29304 * gst/schedulers/faircothreads.c:
29305 * gst/schedulers/faircothreads.h:
29306 * gst/schedulers/fairscheduler.c:
29307 * gst/schedulers/gstbasicscheduler.c:
29308 * gst/schedulers/gstoptimalscheduler.c:
29309 * gst/schedulers/gthread-cothreads.h:
29310 * gst/schedulers/threadscheduler.c:
29311 (gst_thread_scheduler_task_get_type),
29312 (gst_thread_scheduler_task_class_init),
29313 (gst_thread_scheduler_task_init),
29314 (gst_thread_scheduler_task_start),
29315 (gst_thread_scheduler_task_stop),
29316 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29317 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29318 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29319 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29321 * libs/gst/Makefile.am:
29322 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29323 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29324 (gst_file_pad_parent_set):
29325 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29326 (gst_dp_event_from_packet):
29327 * tests/complexity.c: (main):
29328 * tests/mass_elements.c: (main):
29329 * testsuite/states/locked.c: (message_received), (main):
29330 * testsuite/states/parent.c: (main):
29331 * tools/gst-inspect.c: (print_element_flag_info),
29332 (print_implementation_info), (print_pad_info):
29333 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29335 * tools/gst-md5sum.c: (event_loop), (main):
29336 * tools/gst-typefind.c: (main):
29337 * tools/gst-xmlinspect.c: (print_element_info):
29339 Added GstBus for mainloop integration.
29340 Added GstMessage for sending notifications on the bus.
29341 Added GstTask as an abstraction for pipeline entry points.
29343 Removed Schedulers.
29344 Simplified GstQueue for multithreaded core.
29345 Made _link threadsafe, removed old capsnego.
29346 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29347 Added pad blocking functions.
29348 Reworked scheduling functions in GstPad to prepare for
29349 scheduling updates soon.
29350 Moved events out of data stream.
29351 Simplified GstEvent types.
29352 Added return values to push/pull.
29353 Removed clocking from GstElement.
29354 Added prototypes for state change function for next merge.
29355 Removed iterate from bins and state change management.
29356 Fixed some elements, disabled others for now.
29357 Fixed -inspect and -launch.
29358 Added check for GstBus.
29360 2005-03-10 Wim Taymans <wim@fluendo.com>
29362 * docs/design/part-MT-refcounting.txt:
29363 * docs/design/part-clocks.txt:
29364 * docs/design/part-gstelement.txt:
29365 * docs/design/part-gstobject.txt:
29366 * docs/design/part-standards.txt:
29367 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29368 (gst_bin_remove_func), (gst_bin_remove):
29372 * testsuite/clock/clock1.c: (main):
29373 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29375 * testsuite/dlopen/loadgst.c: (do_test):
29376 * testsuite/refcounting/bin.c: (add_remove_test1),
29377 (add_remove_test2), (main):
29378 * testsuite/refcounting/element.c: (main):
29379 * testsuite/refcounting/element_pad.c: (main):
29380 * testsuite/refcounting/pad.c: (main):
29381 * tools/gst-launch.c: (sigint_handler_sighandler):
29382 * tools/gst-typefind.c: (main):
29384 Added doc about clock.
29385 removed gst_bin_iterate_recurse_up(), marked methods
29387 Fix more testsuites.
29389 2005-03-09 Wim Taymans <wim@fluendo.com>
29391 * gst/gstpad.c: (gst_pad_get_direction),
29392 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29393 (gst_pad_collect_valist):
29394 * testsuite/bins/interface.c: (main):
29395 * testsuite/caps/audioscale.c: (test_caps):
29396 * testsuite/caps/caps.c: (test1), (test2), (test3):
29397 * testsuite/caps/deserialize.c: (main):
29398 * testsuite/caps/enumcaps.c: (main):
29399 * testsuite/caps/filtercaps.c: (main):
29400 * testsuite/caps/intersect2.c: (main):
29401 * testsuite/caps/random.c: (main):
29402 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29403 * testsuite/caps/sets.c: (check_caps):
29404 * testsuite/caps/simplify.c: (check_caps), (main):
29405 * testsuite/caps/subtract.c: (check_caps):
29406 Fix _pad_get_direction wrt ghostpads.
29407 Fix caps testsuite.
29409 2005-03-09 Wim Taymans <wim@fluendo.com>
29411 * check/Makefile.am:
29412 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29413 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29414 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29415 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29416 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29417 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29418 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29419 (bin_element_is_sink), (gst_bin_iterate_sinks),
29420 (gst_bin_iterate_all_by_interface):
29422 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29423 (gst_element_change_state), (gst_element_dispose),
29424 (gst_element_finalize), (gst_element_set_loop_function):
29425 * gst/gstelement.h:
29426 * gst/gstiterator.c: (find_custom_fold_func):
29427 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29428 (gst_pad_collectv), (gst_pad_collect_valist),
29429 (gst_pad_template_new):
29430 * gst/gstpipeline.c: (gst_pipeline_class_init),
29431 (gst_pipeline_dispose), (gst_pipeline_set_property),
29432 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29433 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29434 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29436 * gst/schedulers/entryscheduler.c:
29437 * gst/schedulers/gstbasicscheduler.c:
29438 (gst_basic_scheduler_cothreaded_chain),
29439 (gst_basic_scheduler_chain_add_element):
29440 * testsuite/bins/interface.c: (main):
29442 Added GstSystemClock test.
29443 Implemented clock distribution code in GstBin.
29444 Implemented iterate sinks method for future use.
29445 Rearranged gstelement.h
29446 Fix GstIterator comparison bug.
29447 Moved some code to GstPipeline, mostly clocking related.
29449 2005-03-09 Wim Taymans <wim@fluendo.com>
29452 * gst/gst_private.h:
29453 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29454 (gst_bin_remove_func), (gst_bin_remove),
29455 (gst_bin_get_by_name_recurse_up):
29456 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29457 (gst_clock_id_compare_func), (gst_clock_id_wait),
29458 (gst_clock_id_wait_async), (gst_clock_init),
29459 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29460 * gst/gstelement.h:
29461 * gst/gstinfo.c: (_gst_debug_init):
29463 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29464 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29466 Bump version number, we're now 0.9.0
29467 Add future debugging category.
29468 Fix NULL _unref() in _get_by_name_recurse_up
29469 Rearrange gstpad.h.
29472 2005-03-08 Wim Taymans <wim@fluendo.com>
29474 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29475 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29476 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29477 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29478 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29479 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29480 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29481 * gst/elements/gstidentity.c: (gst_identity_class_init):
29482 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29483 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29484 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29485 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29486 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29488 * gst/gstelement.c: (gst_element_class_init),
29489 (gst_element_base_class_init), (gst_element_init),
29490 (gst_element_get_random_pad), (gst_element_wait_state_change),
29491 (gst_element_change_state), (gst_element_dispose),
29492 (gst_element_finalize), (gst_element_set_loop_function):
29493 * gst/gstelement.h:
29494 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29495 * gst/gstthread.c: (gst_thread_class_init),
29496 (gst_thread_release_children_locks), (gst_thread_change_state):
29497 * gst/schedulers/gstbasicscheduler.c:
29498 (gst_basic_scheduler_loopfunc_wrapper),
29499 (gst_basic_scheduler_chain_wrapper),
29500 (gst_basic_scheduler_src_wrapper),
29501 (gst_basic_scheduler_remove_element):
29502 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29503 Remove threadsafe properties. Fix elements because GObject
29504 complains when installing a property before declaring a
29505 set/get_property handler.
29506 Rearrange gstelement.h file, use STATE macros for state locks.
29507 Free mutexes in the finalize method instead of dispose.
29509 2005-03-08 Wim Taymans <wim@fluendo.com>
29511 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29512 * gst/gstthread.c: (gst_thread_release_children_locks):
29513 Added parentage check.
29514 Fix build og GstThread again.
29516 2005-03-08 Wim Taymans <wim@fluendo.com>
29518 * docs/design/part-MT-refcounting.txt:
29519 * docs/design/part-conventions.txt:
29520 * docs/design/part-gstobject.txt:
29521 * docs/design/part-relations.txt:
29522 * docs/design/part-standards.txt:
29523 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29524 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29525 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29526 (gst_bin_iterate_all_by_interface):
29529 * gst/gstelement.c: (gst_element_class_init),
29530 (gst_element_change_state), (gst_element_set_loop_function):
29531 * gst/gstelement.h:
29532 * gst/gstiterator.c:
29533 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29534 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29535 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29536 (gst_object_set_parent), (gst_object_unparent),
29537 (gst_object_check_uniqueness):
29539 Docs updates, clean up some headers.
29541 2005-03-07 Wim Taymans <wim@fluendo.com>
29543 * check/.cvsignore:
29544 * check/Makefile.am:
29545 * check/gst-libs/.cvsignore:
29546 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29547 * check/gst/.cvsignore:
29548 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29549 (START_TEST), (gstbus_suite), (main):
29550 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29551 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29552 (gst_data_suite), (main):
29553 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29554 (add_fold_func), (gstiterator_suite), (main):
29555 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29556 (thread_name_object), (thread_name_object_default),
29557 (gst_object_name_compare), (gst_object_suite), (main):
29558 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29559 (gst_pad_suite), (main):
29560 * check/gstcheck.c: (gst_check_log_message_func),
29561 (gst_check_log_critical_func), (gst_check_init):
29562 * check/gstcheck.h:
29563 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29564 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29567 2005-03-07 Wim Taymans <wim@fluendo.com>
29569 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29570 (gst_list_iterator_next), (gst_list_iterator_resync),
29571 (gst_list_iterator_free), (gst_iterator_new_list),
29572 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29573 (gst_iterator_free), (gst_iterator_push), (filter_next),
29574 (filter_resync), (filter_uninit), (filter_free),
29575 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29576 (gst_iterator_foreach), (find_custom_fold_func),
29577 (gst_iterator_find_custom):
29578 * gst/gstiterator.h:
29579 Added missing files.
29581 2005-03-07 Wim Taymans <wim@fluendo.com>
29585 * docs/design/part-MT-refcounting.txt:
29586 * docs/design/part-conventions.txt:
29587 * docs/design/part-gstobject.txt:
29588 * docs/design/part-relations.txt:
29589 * examples/mixer/mixer.c: (main):
29590 * examples/thread/thread.c: (eos), (main):
29592 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29593 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29594 (gst_spider_plug_from_srcpad):
29595 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29596 (gst_spider_identity_change_state),
29597 (gst_spider_identity_sink_loop_type_finding):
29598 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29599 * gst/elements/gstidentity.c: (gst_identity_init):
29600 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29601 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29602 * gst/elements/gsttypefindelement.c: (free_entry):
29605 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29606 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29607 (gst_bin_set_index), (gst_bin_set_element_sched),
29608 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29609 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29610 (gst_bin_iterate_elements), (iterate_child_recurse),
29611 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29612 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29613 (compare_interface), (gst_bin_get_by_interface),
29614 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29616 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29617 (gst_buffer_default_free), (gst_buffer_default_copy),
29618 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29619 (gst_buffer_create_sub):
29621 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29622 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29623 (gst_caps_unref), (gst_static_caps_get),
29624 (gst_caps_remove_and_get_structure), (gst_caps_append),
29625 (gst_caps_append_structure), (gst_caps_remove_structure),
29626 (gst_caps_copy_nth), (gst_caps_set_simple),
29627 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29628 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29629 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29630 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29631 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29632 (gst_caps_structure_figure_out_union),
29633 (gst_caps_switch_structures), (gst_caps_do_simplify),
29634 (gst_caps_replace), (gst_caps_from_string),
29635 (gst_caps_copy_conditional):
29637 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29638 (_gst_clock_id_free), (gst_clock_id_unref),
29639 (gst_clock_id_compare_func), (gst_clock_id_wait),
29640 (gst_clock_id_wait_async), (gst_clock_class_init),
29641 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29642 (gst_clock_get_time), (gst_clock_set_time_adjust),
29643 (gst_clock_set_property), (gst_clock_get_property):
29646 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29647 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29649 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29650 (gst_element_requires_clock), (gst_element_provides_clock),
29651 (gst_element_set_clock), (gst_element_clock_wait),
29652 (gst_element_wait), (gst_element_set_time_delay),
29653 (gst_element_is_indexable), (gst_element_add_pad),
29654 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29655 (pad_compare_name), (gst_element_get_static_pad),
29656 (gst_element_request_pad), (gst_element_get_request_pad),
29657 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29658 (gst_element_class_get_pad_template_list),
29659 (gst_element_class_get_pad_template), (gst_element_error_func),
29660 (gst_element_get_random_pad), (gst_element_get_event_masks),
29661 (gst_element_send_event), (gst_element_seek),
29662 (gst_element_get_query_types), (gst_element_query),
29663 (gst_element_get_formats), (gst_element_convert),
29664 (gst_element_is_locked_state), (gst_element_set_locked_state),
29665 (gst_element_sync_state_with_parent), (gst_element_change_state),
29666 (gst_element_finalize), (gst_element_yield),
29667 (gst_element_interrupt), (gst_element_set_scheduler),
29668 (gst_element_get_scheduler), (gst_element_set_loop_function):
29669 * gst/gstelement.h:
29671 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29672 (gst_format_get_by_nick), (gst_format_get_details),
29673 (gst_format_iterate_definitions):
29675 * gst/gstindex.c: (gst_index_gtype_resolver):
29678 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29679 (gst_mem_chunk_free):
29680 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29681 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29682 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29683 (gst_object_dispatch_properties_changed),
29684 (gst_object_set_name_default), (gst_object_set_name),
29685 (gst_object_get_name), (gst_object_set_name_prefix),
29686 (gst_object_get_name_prefix), (gst_object_set_parent),
29687 (gst_object_get_parent), (gst_object_unparent),
29688 (gst_object_check_uniqueness), (gst_object_save_thyself),
29689 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29690 (gst_object_set_property), (gst_object_get_property),
29691 (gst_object_get_path_string):
29693 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29694 (gst_real_pad_init), (gst_real_pad_get_property),
29695 (gst_pad_custom_new), (gst_pad_get_direction),
29696 (gst_pad_set_active), (gst_pad_is_active),
29697 (gst_pad_set_event_function), (gst_pad_is_linked),
29698 (gst_pad_link_free), (gst_pad_link_intersect),
29699 (gst_pad_link_fixate), (gst_pad_set_caps),
29700 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29701 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29702 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29703 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29704 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29705 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29706 (gst_pad_realize), (gst_pad_get_allowed_caps),
29707 (gst_real_pad_dispose), (gst_real_pad_finalize),
29708 (gst_pad_collectv), (gst_pad_collect_valist),
29709 (gst_pad_template_dispose), (gst_pad_template_new),
29710 (gst_pad_get_internal_links):
29712 * gst/gstpipeline.c: (gst_pipeline_dispose),
29713 (gst_pipeline_change_state):
29714 * gst/gstpipeline.h:
29716 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29717 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29718 * gst/gstpluginfeature.h:
29719 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29720 * gst/gstquery.c: (_gst_query_type_initialize),
29721 (gst_query_type_register), (gst_query_type_get_by_nick),
29722 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29724 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29725 * gst/gstscheduler.c: (gst_scheduler_add_element),
29726 (gst_scheduler_factory_create):
29727 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29728 (gst_structure_free), (gst_structure_set_name),
29729 (gst_structure_id_set_value), (gst_structure_set_value),
29730 (gst_structure_set_valist), (gst_structure_remove_field),
29731 (gst_structure_remove_fields),
29732 (gst_structure_remove_fields_valist),
29733 (gst_structure_remove_all_fields), (gst_structure_foreach),
29734 (gst_structure_map_in_place),
29735 (gst_caps_structure_fixate_field_nearest_int),
29736 (gst_caps_structure_fixate_field_nearest_double):
29737 * gst/gststructure.h:
29738 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29739 (gst_system_clock_init), (gst_system_clock_dispose),
29740 (gst_system_clock_async_thread),
29741 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29742 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29743 * gst/gstsystemclock.h:
29744 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29745 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29746 * gst/gsttaginterface.c:
29747 * gst/gstthread.c: (gst_thread_dispose),
29748 (gst_thread_release_children_locks), (gst_thread_change_state),
29749 (gst_thread_main_loop):
29750 * gst/gsttrashstack.h:
29751 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29753 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29754 (gst_element_request_pad), (gst_element_get_pad_from_template),
29755 (gst_element_request_compatible_pad),
29756 (gst_element_get_compatible_pad_filtered),
29757 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29758 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29759 (gst_element_link_many), (gst_element_link),
29760 (gst_element_link_pads), (gst_element_unlink_pads),
29761 (gst_element_unlink_many), (gst_element_unlink),
29762 (gst_pad_can_link_filtered), (gst_pad_can_link),
29763 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29764 (gst_object_default_error), (gst_bin_add_many),
29765 (gst_bin_remove_many), (gst_element_populate_std_props),
29766 (gst_element_class_install_std_props), (gst_buffer_merge),
29767 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29768 (link_fold_func), (gst_pad_proxy_setcaps):
29770 * gst/gstvalue.c: (gst_value_deserialize_string):
29771 * gst/parse/grammar.y:
29772 * gst/schedulers/gstbasicscheduler.c:
29773 (gst_basic_scheduler_cothreaded_chain),
29774 (gst_basic_scheduler_chain_recursive_add),
29775 (gst_basic_scheduler_pad_link):
29776 * gst/schedulers/gstoptimalscheduler.c:
29777 (get_group_schedule_function),
29778 (gst_opt_scheduler_state_transition),
29779 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29780 * libs/gst/bytestream/bytestream.c:
29781 * libs/gst/dataprotocol/dataprotocol.c:
29782 (gst_dp_header_from_buffer):
29785 * tests/threadstate/threadstate2.c: (eos):
29786 * tools/gst-compprep.c: (main):
29787 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29788 (print_pad_info), (print_children_info):
29789 * tools/gst-launch.c: (idle_func), (main):
29790 * tools/gst-md5sum.c: (idle_func), (main):
29791 * tools/gst-xmlinspect.c: (print_element_info):
29792 First THREADED backport attempt, focusing on adding locks and
29793 making sure the API is threadsafe. Needs more work. More docs
29796 2005-02-24 Andy Wingo <wingo@pobox.com>
29798 * tests/bench-complexity.scm:
29799 * tests/complexity.gnuplot: New files, good for running complexity
29802 * tests/Makefile.am:
29803 * tests/complexity.c: New test, sets up N elements, at each level
29804 teeing into M streams per element. Eeeenteresting.
29806 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29807 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29808 running bench-mass_elements.scm.
29810 * tests/bench-mass_elements.scm: New script, runs mass_elements
29811 for various numbers of identities, outputting the results to a
29812 file. Requires guile 1.6. Just for testing.
29814 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29816 * gst/schedulers/fairscheduler.c:
29817 compile with debug disabled
29819 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29822 hunting season on 0.9 is now OPEN