1 2008-06-20 Stefan Kost <ensonic@users.sf.net>
3 * libs/gst/controller/gstcontroller.c:
4 Revert one change, that make ret value possible uninitialized.
6 2008-06-20 Stefan Kost <ensonic@users.sf.net>
8 * libs/gst/controller/gstcontroller.c:
9 Use freeze/thaw notify to sync notify emission a bit (its also more
10 efficient). Move debug output to LOG (is called a lot in a loop).
11 Always unset g_values if the have been initialized.
13 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
15 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
16 (gst_base_sink_wait_eos), (gst_base_sink_event):
17 If we have not seen a buffer before EOS, use the segment values to
18 report the current position instead of invalid positions.
20 2008-06-20 Stefan Kost <ensonic@users.sf.net>
22 * docs/plugins/tmpl/.cvsignore:
23 * tests/check/gst/.cvsignore:
26 2008-06-20 Stefan Kost <ensonic@users.sf.net>
28 * libs/gst/controller/gstinterpolation.c:
29 * libs/gst/controller/gstinterpolationcontrolsource.c:
30 * tests/check/libs/controller.c:
31 Rewrite handling of default values. Fix overflow with unsigned types
32 in linear interpolation. Remove now obsolete _first_value() function.
33 Add more tests. Fixes #538201.
35 2008-06-20 Wim Taymans <wim.taymans@collabora.co.uk>
37 * libs/gst/base/gstbasetransform.c:
38 (gst_base_transform_class_init), (gst_base_transform_init),
39 (gst_base_transform_transform_caps),
40 (gst_base_transform_prepare_output_buffer):
42 When a buffer is writable, its metadata is also writable so we don't
43 need to subbuffer (which then makes the buffer not-writable anymore).
45 === release 0.10.20 ===
47 2008-06-18 Jan Schmidt <jan.schmidt@sun.com>
50 releasing 0.10.20, "You Crazy Diamond"
52 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
57 2008-06-11 Jan Schmidt <jan.schmidt@sun.com>
61 Rename DATADIR to GST_DATADIR to avoid build problems
62 on win32. Patch By: David Schleef <ds@schleef.org>
65 2008-06-05 Sebastian Dröge <slomo@circular-chaos.org>
68 Explicitely link with -ldl if dladdr() is found there. Before it was
69 implicitely linked by the gmodule pkgconfig file but in glib 2.17.0
70 -ldl has moved from Libs to Libs.private. Fixes bug #536744.
72 2008-06-05 Tim-Philipp Müller <tim.muller at collabora co uk>
74 * gst/gsterror.c: (_gst_stream_errors_init):
75 Fix typo (spotted by Fabricio Godoy, #536723).
77 2008-06-05 Jan Schmidt <jan.schmidt@sun.com>
82 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
84 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_async_enabled),
85 (gst_base_sink_set_ts_offset), (gst_base_sink_perform_qos):
87 Make sure we don't generate invalid QoS messages.
89 2008-06-04 Wim Taymans <wim.taymans@collabora.co.uk>
91 * gst/gstevent.c: (gst_event_new_qos):
92 Add some assert and docs for invalid input to the qos function.
94 2008-05-30 Wim Taymans <wim.taymans@collabora.co.uk>
96 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
97 (gst_base_sink_get_position):
98 The reported position must always be smaller than the last seen
99 timestamps (or timestamp + duration for reverse).
101 2008-05-30 Sebastian Dröge <slomo@circular-chaos.org>
103 Patch by: Rob Bradford <rob at robster dot org dot uk>
105 * gst/gstregistry.c: (gst_registry_scan_path_level):
106 Don't recurse into .debug directories as some distros install
107 the debugging symbols next to the plugins in .debug directories
108 and dlopen() crashes on them sometimes. Fixes bug #508070.
110 Add FIXME for 0.11 to not recurse into directories at all because
111 it's very inconsistent to the behaviour of other PATH environment
114 2008-05-29 Wim Taymans <wim.taymans@collabora.co.uk>
116 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
117 (gst_base_sink_get_position_last), (gst_base_sink_get_position):
118 Fix position query range checks in reverse playback.
120 2008-05-29 Sebastian Dröge <slomo@circular-chaos.org>
124 Deprecated gst_element_get_pad() as it can't be used sanely. It's not
125 clear of the reference to the resulting pad must be released later
126 or not, resulting in possible leaks. Fixes bug #533865.
128 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
130 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
132 * gst/gstelementfactory.c:
133 Small doc fix. Fixes #535285.
135 2008-05-28 Wim Taymans <wim.taymans@collabora.co.uk>
137 Based on patch by: Bjarne Rosengren <bjarne at axis dot com>
139 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
140 (gst_base_src_get_range), (gst_base_src_pad_get_range),
141 (gst_base_src_loop), (gst_base_src_set_flushing),
142 (gst_base_src_change_state):
143 Make sending an EOS event to the basesrc non-blocking even if the
144 implementation does blocking waits in the create function. This is done
145 by unlocking the create function when EOS is sent.
148 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
150 * tools/gst-inspect.c: (print_element_properties_info):
151 If possible print the element type of GValueArray properties.
153 2008-05-28 Sebastian Dröge <slomo@circular-chaos.org>
156 Remove an unused field from the private GstListIterator struct.
158 2008-05-27 Stefan Kost <ensonic@users.sf.net>
160 * libs/gst/controller/gstcontroller.c:
161 Add parameter guards.
163 2008-05-27 Stefan Kost <ensonic@users.sf.net>
165 * tests/check/gst/gstpipeline.c:
166 Revert test change and add comment why it should not work.
168 2008-05-27 Stefan Kost <ensonic@users.sf.net>
170 * tests/check/gst/gstpipeline.c:
171 Extending the test a little to verify that we also get the NULL state-
174 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
176 * gst/gstpreset.c: (gst_preset_default_get_meta),
177 (gst_preset_get_preset_names), (gst_preset_get_property_names),
178 (gst_preset_load_preset), (gst_preset_save_preset),
179 (gst_preset_rename_preset), (gst_preset_delete_preset),
180 (gst_preset_set_meta):
181 Add Since: markers to docs blurbs.
183 * win32/common/libgstreamer.def:
184 Add recently-added API.
186 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
188 Patch by: Stefan Kost <ensonic@users.sf.net>
191 Add DATADIR for storing presets.
193 * docs/gst/gstreamer-docs.sgml:
194 * docs/gst/gstreamer-sections.txt:
195 * docs/gst/gstreamer.types.in:
196 Add GstPreset to docs.
200 * gst/gstpreset.c: (preset_get_paths), (preset_skip_property),
201 (preset_open_and_parse_header), (preset_parse_version),
202 (preset_merge), (preset_get_keyfile),
203 (gst_preset_default_get_preset_names),
204 (gst_preset_default_get_property_names),
205 (gst_preset_default_load_preset),
206 (gst_preset_default_save_presets_file),
207 (gst_preset_default_save_preset),
208 (gst_preset_default_rename_preset),
209 (gst_preset_default_delete_preset), (gst_preset_default_set_meta),
210 (gst_preset_default_get_meta), (gst_preset_default_randomize),
211 (gst_preset_default_reset), (gst_preset_get_preset_names),
212 (gst_preset_get_property_names), (gst_preset_load_preset),
213 (gst_preset_save_preset), (gst_preset_rename_preset),
214 (gst_preset_delete_preset), (gst_preset_set_meta),
215 (gst_preset_get_meta), (gst_preset_class_init),
216 (gst_preset_base_init), (gst_preset_get_type):
218 Add GstPreset to core. Fixes #396779
220 * tests/check/Makefile.am:
221 * tests/check/gst/gstpreset.c: (gst_preset_test_get_property),
222 (gst_preset_test_set_property), (gst_preset_test_class_init),
223 (gst_preset_test_base_init), (gst_preset_test_get_type),
224 (gst_preset_test_plugin_init), (GST_START_TEST),
225 (remove_preset_file), (test_setup), (test_teardown),
227 Add GstPreset unit tests.
229 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
231 * gst/gstpad.c: (gst_pad_event_default_dispatch):
232 The default event function on a sinkpad should return TRUE when
233 there are no internal links but should collect the return values from
234 the internal links otherwise.
236 2008-05-27 Wim Taymans <wim.taymans@collabora.co.uk>
238 * plugins/elements/gsttypefindelement.c:
239 (gst_type_find_element_src_event),
240 (gst_type_find_element_handle_event):
241 Use faster and safer _pad_push_event().
243 2008-05-27 Tim-Philipp Müller <tim.muller at collabora co uk>
245 * docs/gst/gstreamer-sections.txt:
246 * gst/gstutils.c: (element_find_unlinked_pad),
247 (gst_bin_find_unlinked_pad), (gst_bin_find_unconnected_pad),
249 API: add gst_bin_find_unlinked_pad()
250 API: deprecate gst_bin_find_unconnected_pad() (#401456)
252 2008-05-26 Peter Kjellerstedt <pkj@axis.com>
258 Fixed a bunch of typos.
260 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
263 * gst/gstutils.c: (gst_element_unlink), (element_find_unlinked_pad),
264 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description),
265 (gst_parse_bin_from_description_full):
267 'unconnected pad' -> 'unlinked pad' for consistency (#401456).
269 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
271 * docs/pwg/advanced-tagging.xml:
272 Small docs update, can't be bothered to rewrite the nonsensical
275 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
278 Clarify docs for GST_SEEK_TYPE_CUR (#534505).
280 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
282 * gst/parse/grammar.y:
283 Remove unneeded casts.
285 2008-05-25 Tim-Philipp Müller <tim.muller at collabora co uk>
287 * gst/parse/grammar.y:
288 * tests/check/pipelines/parse-launch.c:
289 Get all missing elements from a parse launch string if possible
290 (ie. if the FATAL_ERRORS flag has been specified). Fixes #528178.
292 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
294 * tests/check/Makefile.am:
295 * tests/check/pipelines/parse-launch.c:
296 Add some unit tests for the new gst_parse_launch*_full() API.
297 (Exposes a previously-existing memory leak in the error code
298 path, so adding to VALGRIND_TO_FIX for now).
300 2008-05-24 Tim-Philipp Müller <tim.muller at collabora co uk>
302 * docs/gst/gstreamer-sections.txt:
303 * gst/gst.c: (init_post):
304 * gst/gst_private.h: (_GstParseContext):
305 * gst/gstparse.c: (gst_parse_error_quark), (gst_parse_context_new),
306 (gst_parse_context_free), (gst_parse_context_get_missing_elements),
307 (gst_parse_launchv), (gst_parse_launchv_full), (gst_parse_launch),
308 (gst_parse_launch_full):
309 * gst/gstparse.h: (GST_PARSE_FLAG_NONE), (GST_PARSE_FLAG_FATAL_ERRORS),
310 (GstParseFlags), (GstParseContext):
311 * gst/gstutils.c: (gst_parse_bin_from_description),
312 (gst_parse_bin_from_description_full):
314 * gst/parse/grammar.y:
316 * win32/common/libgstreamer.def:
317 Add new gst_parse_*_full API (#528178):
318 API: gst_parse_launch_full()
319 API: gst_parse_launchv_full()
320 API: gst_parse_bin_from_description_full()
321 API: gst_parse_context_new()
322 API: gst_parse_context_free()
323 API: gst_parse_context_get_missing_elements()
325 2008-05-23 Stefan Kost <ensonic@users.sf.net>
327 patch by: Suresh Kumar P <sureshkumar.pp@gmail.com>
329 * docs/faq/gst-uninstalled:
330 Also support ffmpeg in gst-uninstalled.
332 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
335 After discussion on IRC use the binary registry as default
336 but allow to disable it with --disable-binary-registry.
338 * win32/common/libgstreamer.def:
339 Add the two new symbols for the binary registry.
341 2008-05-22 Tim-Philipp Müller <tim.muller at collabora co uk>
343 * gst/gstparse.c: (_gst_parse_escape), (gst_parse_launchv):
344 * gst/gstutils.c: (gst_parse_bin_from_description):
345 * gst/parse/grammar.y: (graph):
346 More guards against bad input; typo fix; some minor clean-ups.
348 2008-05-22 Sebastian Dröge <slomo@circular-chaos.org>
350 Patch by: Sjoerd Simons <sjoerd at luon dot net>
352 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
353 If nothing else can be used, use the last buffer's start time as
354 the segment's last stop. Fixes bug #534258.
356 2008-05-21 Tim-Philipp Müller <tim.muller at collabora co uk>
358 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
359 Move size sanity check to the right place: downstream may return
360 a buffer with a smaller size if the buffer caps are different than
361 the requested ones, as may happen when doing reverse negotiation.
363 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
365 * plugins/elements/gstfilesink.c: (gst_file_sink_set_location),
366 (gst_file_sink_render):
367 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location),
368 (gst_file_src_start):
369 Small cleanups. Add note adbout g_fopen() on windows and why we don't
372 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
374 * gst/gstpad.c: (gst_pad_load_and_link):
375 * gst/gstutils.c: (gst_element_link_pads),
376 (gst_element_unlink_pads):
377 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
378 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
379 (gst_check_teardown_sink_pad),
380 (gst_check_element_push_buffer_list):
381 * tests/check/elements/fakesink.c: (GST_START_TEST):
382 * tests/check/elements/filesink.c:
383 * tests/check/elements/filesrc.c: (GST_START_TEST):
384 * tests/check/elements/multiqueue.c: (setup_multiqueue),
385 (mq_sinkpad_to_srcpad):
386 * tests/check/elements/tee.c: (GST_START_TEST):
387 * tests/check/generic/sinks.c: (GST_START_TEST):
388 * tests/check/gst/gstbin.c: (GST_START_TEST):
389 * tests/check/gst/gstevent.c: (GST_START_TEST):
390 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
391 * tests/check/gst/gstpipeline.c: (GST_START_TEST):
392 * tests/check/gst/gstquery.c: (GST_START_TEST):
393 * tests/check/gst/gstutils.c: (GST_START_TEST):
394 * tests/check/libs/basesrc.c: (GST_START_TEST):
395 * tests/check/pipelines/parse-launch.c: (run_delayed_test),
396 (gst_parse_test_element_change_state):
397 Don't use gst_element_get_pad().
399 2008-05-21 Felipe Contreras <felipe.contreras@gmail.com>
402 Fix installing plugin documentation when gtk-doc is disabled.
404 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
406 * docs/manual/advanced-autoplugging.xml:
407 * docs/manual/basics-helloworld.xml:
408 * docs/manual/basics-pads.xml:
409 * docs/manual/highlevel-components.xml:
410 Avoid using a bad function in the example code.
412 2008-05-21 Wim Taymans <wim.taymans@collabora.co.uk>
414 * gst/gstclock.c: (gst_clock_set_calibration):
415 Fix debug of the new clock rate.
417 2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
419 * win32/common/libgstbase.def:
420 Add gst_base_sink_wait_clock() to the exported symbols.
422 2008-05-20 Sebastian Dröge <slomo@circular-chaos.org>
424 Patch by: Tim-Philipp Müller <tim.muller at collabora co uk>
426 * libs/gst/base/gstbasetransform.c:
427 (gst_base_transform_sink_event):
428 Unref events that the GstBaseTransform::event vfunc didn't want to
429 have forwarded by the base class. Closes a leak in identity.
432 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
434 * docs/libs/gstreamer-libs-sections.txt:
435 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock):
436 * libs/gst/base/gstbasesink.h:
437 Expose a method that was previously used internally to synchronize
438 against the clock because it can be useful for subclasses too.
439 API: GstBaseSink::gst_base_sink_wait_clock()
441 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
443 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
444 Add sanity check to make sure we don't get smaller buffers
445 than requested (and fallback to normal buffer alloc if we do).
447 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
449 * libs/gst/base/gstbasesink.c: (gst_base_sink_adjust_time),
450 (gst_base_sink_wait_clock), (gst_base_sink_wait_eos),
451 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked):
452 Refactor adjusting the running_time with latency and offset into a
454 When doing clipping, we still want to use the subclass get_times method,
455 just in case the DURATION or TIMESTAMP are not set.
457 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
459 * docs/gst/gstreamer-sections.txt:
460 * gst/gsttypefind.c: (gst_type_find_suggest_simple):
462 * win32/common/libgstreamer.def:
463 API: add gst_type_find_suggest_simple(), #533740.
465 2008-05-19 Tim-Philipp Müller <tim.muller at collabora co uk>
467 * libs/gst/base/gstbasesrc.c: (gst_base_src_start):
468 Use right error code when typefinding fails, so we can use
469 the default (translated) error messages.
471 2008-05-19 Wim Taymans <wim.taymans@collabora.co.uk>
473 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
474 (gst_base_src_start):
475 When the subclass did not set caps on outgoing buffers, configure the
476 caps we negotiated on the source pad.
477 When the typefind helper does not find caps, error out properly instead
478 of doing things with NULL caps.
480 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
483 Tabs to spaces, oh yes!
485 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
487 * tests/check/gst/gstcaps.c: (test_intersect2), (gst_caps_suite):
488 Add David's and Benjamin's tests for array intersection to the
489 unit test suite (#147931).
491 2008-05-18 Tim-Philipp Müller <tim.muller at collabora co uk>
494 Document that gst_event_new_tag() and gst_event_new_navigation()
495 take ownership of the taglist/structure passed to them. (#533635).
497 2008-05-17 Jan Schmidt <jan.schmidt@sun.com>
500 Don't descend into the plugins dir if plugin docs building
504 Add a note about the new type:GTypeName syntax for the plugin
505 documentation .types file.
507 2008-05-17 Sebastian Dröge <slomo@circular-chaos.org>
509 * gst/gstmessage.c: (gst_message_new_error),
510 (gst_message_new_warning), (gst_message_new_info):
512 Mark the debug string parameters as const. Fixes bug #533490.
514 2008-05-16 Sebastian Dröge <slomo@circular-chaos.org>
516 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek):
517 Sort buffer cache list by end offsets. This makes sure that we don't
518 stop to search for a cached buffer that contains the requested data
520 Also read a minimum of 4k bytes instead of 512 bytes as this is a bit
521 more efficient. Fixes bug #459862.
523 2008-05-14 Stefan Kost <ensonic@users.sf.net>
526 Explain why we copy the list.
532 Add one debug-log statement to help tracing probelms with linking pads.
534 2008-05-12 Stefan Kost <ensonic@users.sf.net>
536 * tests/check/gst/gstinfo.c:
537 Add a test for removing the default log handler. Seems to fail under
540 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
542 * gst/gstpad.c: (gst_pad_peer_accept_caps):
543 Release pad lock before calling out to avoid a possible deadlock.
545 2008-05-14 Wim Taymans <wim.taymans@collabora.co.uk>
547 * gst/parse/grammar.y:
548 Remove unneeded value unset.
550 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
551 Add unit test for de/serialization of caps.
553 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
555 * plugins/elements/gstfakesink.c:
556 (marshal_VOID__MINIOBJECT_OBJECT), (gst_fake_sink_class_init):
557 * plugins/elements/gstfakesrc.c: (marshal_VOID__MINIOBJECT_OBJECT),
558 (gst_fake_src_class_init):
559 Use custom marshalers that take GstMiniObject as first parameter.
560 Using OBJECT as parameter while a GstMiniObject is given will lead
561 to assertions if built with G_ENABLE_DEBUG. Fixes bug #525532.
563 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
565 * plugins/elements/gsttypefindelement.c:
566 (gst_type_find_element_handle_event),
567 (gst_type_find_element_send_cached_events),
568 (gst_type_find_element_change_state):
569 Clean up on FLUSH_STOP and not FLUSH_START. Forward both events
572 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
574 * plugins/elements/gsttypefindelement.c:
575 (gst_type_find_handle_src_query), (stop_typefinding),
576 (gst_type_find_element_handle_event),
577 (gst_type_find_element_send_cached_events),
578 (gst_type_find_element_change_state):
579 Forward FLUSH_START events immediately and clean up instead of
582 2008-05-13 Sebastian Dröge <slomo@circular-chaos.org>
584 Patch by: Sjoerd Simons <sjoerd at luon dot net>
586 * libs/gst/base/gstbasetransform.c:
587 (gst_base_transform_buffer_alloc):
588 Check the caps of the buffer returned by gst_pad_alloc_buffer() and
589 fall back to default negotiation in the chain function if the caps
590 are different from what was requested. Fixes bug #526768.
592 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
595 * tests/check/gst/gstsegment.c:
596 No, let's not use g_slice_{dup|copy} here, since they only exist
597 since GLib 2.14 and we still depend only on >= 2.12. Also add
598 unit test for gst_segment_copy().
600 2008-05-09 Tim-Philipp Müller <tim.muller at collabora co uk>
602 * gst/gstutils.h: (GST_BOILERPLATE_FULL):
603 Try to fix 'dereferencing type-punned pointer will break strict
604 aliasing rules' warnings with C++ compilers and GLib >= 2.14.0: GLib
605 changed the default GType typedef from gulong to gsize at some point,
606 but kept GType typedef'ed to gulong for C++ for ABI reasons; the
607 g_once_* functions all take a gsize * though, so work around the type
608 mismatch for C++ by doing everything in gsize and casting to GType
611 2008-05-09 Jan Schmidt <jan.schmidt@sun.com>
613 * plugins/elements/gstmultiqueue.c:
614 Add documentation for the signals to push our core plugin docs
615 coverage back up to 100%.
617 2008-05-08 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
619 * gst/gstinfo.h (GST_FUNCTION):
620 Reverted GST_FUNCTION to the old version as we don't want the
621 full signature in C++ code. Also added support for MSVC.
623 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
626 Intern the type name string, similar to what G_DEFINE_TYPE does.
628 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
631 Make GST_BOILERPLATE thread-safe if building with GLib 2.14 or newer.
633 2008-05-08 Sebastian Dröge <slomo@circular-chaos.org>
635 Based on a patch by: Sjoerd Simons <sjoerd at luon dot net>
637 * libs/gst/base/gstbasetransform.c:
638 (gst_base_transform_buffer_alloc):
639 Don't passthrough buffer allocation too easily if the caps change.
640 This breaks when working in passthrough mode and upstream changes
641 it's caps. Fixes bug #526768.
643 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
645 * gst/gstinfo.c (gst_debug_log_valist):
646 Improved the __FILE__ part of debug output for MSVC.
648 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
650 * libs/gst/base/gstbasesrc.c (gst_base_src_default_query):
651 Declaration after statement fix for compilers like MSVC.
653 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
655 * win32/common/config.h.in:
656 Don't define GST_FUNCTION, if GLib supports MSVC we'd much rather
657 use the real thing than having "???" unconditionally.
659 2008-05-07 Ole André Vadla Ravnås <ole.andre.ravnas at tandberg com>
661 * gst/gstinfo.h (GST_FUNCTION):
662 Made GST_FUNCTION an alias for G_STRFUNC to avoid duplication.
664 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
666 * libs/gst/base/gstadapter.c: (gst_adapter_available_fast):
669 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
670 (gst_base_sink_set_flushing):
671 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
674 2008-05-07 Wim Taymans <wim.taymans@collabora.co.uk>
676 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
677 (gst_fake_src_init), (gst_fake_src_set_property),
678 (gst_fake_src_get_property), (gst_fake_src_start):
679 * plugins/elements/gstfakesrc.h:
680 Added format property to control the format of the newsegment events.
681 API: GstFakeSrc:format
683 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
685 * win32/common/libgstreamer.def:
686 Add gst_pad_has_name() to the exported symbols.
688 2008-05-06 Sebastian Dröge <slomo@circular-chaos.org>
690 * gst/gstpad.c: (gst_pad_alloc_buffer_full):
691 * libs/gst/base/gstbasetransform.c:
692 (gst_base_transform_prepare_output_buffer):
693 Don't allow negative sizes when allocating new buffers.
696 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
698 Patch by: Sjoerd Simons <sjoerd at luon net>
700 * gst/gstbus.c: (gst_bus_source_dispatch):
701 Don't print a warning if the queue is empty when we try to pop
702 here. That could happen if another thread or callback set the
703 bus to flushing between the source's check/prepare and the
704 dispatch being called (#531538).
706 2008-05-05 Tim-Philipp Müller <tim.muller at collabora co uk>
708 * plugins/elements/gstmultiqueue.c:
711 2008-05-05 Sebastian Dröge <slomo@circular-chaos.org>
713 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
714 Add unit test for deserializing uint64s and check some really large
715 numbers in the int64 test.
717 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
719 * tools/gst-inspect.c: (n_print), (print_hierarchy),
720 (print_interfaces), (print_element_properties_info),
722 Use "%s" as format string instead of printing strings directly.
724 2008-05-04 Sebastian Dröge <slomo@circular-chaos.org>
726 * gst/gstclock.c: (gst_clock_set_calibration):
727 Make some checks actually useful.
729 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
730 Remove some unused code. Unsigned integers tend to be >= 0.
732 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
734 * gst/gstminiobject.c: (gst_value_get_mini_object):
735 Fix 'Since:' version in gst_value_dup_mini_object() docs blurb: this
736 function was not in the unscheduled 0.10.19 release.
738 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
740 * gst/gstregistry.c: (gst_registry_scan_path_level):
741 Only print one log message per non-plugin file.
743 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
745 * gst/gstinfo.c: (gst_debug_log_default):
746 Fix alignment of debug log columns on 64-bit.
748 2008-05-03 Tim-Philipp Müller <tim.muller at collabora co uk>
750 * docs/libs/Makefile.am:
751 * docs/libs/gstreamer-libs-sections.txt:
752 Ignore private controller headers for docs.
754 2008-05-03 Sebastian Dröge <slomo@circular-chaos.org>
756 * libs/gst/controller/gstcontrollerprivate.h:
757 * libs/gst/controller/gsthelper.c:
758 * libs/gst/controller/gstinterpolation.c:
759 * libs/gst/controller/gstinterpolationcontrolsource.c:
760 (gst_interpolation_control_source_set_interpolation_mode):
761 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
762 * libs/gst/controller/lib.c:
763 Move some private declarations into private headers.
765 2008-05-02 Sebastian Dröge <slomo@circular-chaos.org>
767 * gst/gstdebugutils.c: (debug_dump_element_pad):
768 Remove some code that is unused after Stefan's refactoring and uses
769 uninitialized variables now, resulting in a compiler warning.
771 2008-05-01 Tim-Philipp Müller <tim.muller at collabora co uk>
773 * gst/gstregistry.c: (gst_registry_scan_path_level):
774 Run g_str_has_suffix() only on the file name, not the
777 2008-04-30 Tim-Philipp Müller <tim.muller at collabora co uk>
779 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream):
780 Since we're not called only from the chain function any longer,
781 we can't assume that there's always data in the queue, so move
782 the is_full check to the beginning of the loop (otherwise we'd
783 hit the assert when changing the limit properties while the
784 queue is empty or not running yet).
785 Also, only set a discont if items were actually removed from
788 * tests/check/elements/queue.c: (test_leaky_downstream):
789 Test case for the above.
791 2008-04-30 Wim Taymans <wim.taymans@collabora.co.uk>
793 Patch by: Jonas Holmberg <jonas dot holmberg at axis dot com>
795 * plugins/elements/gstqueue.c: (gst_queue_leak_downstream),
796 (gst_queue_chain), (queue_capacity_change),
797 (gst_queue_set_property):
798 When changing thr max capacity of a leaky queue, immediatly drop buffers
799 instead of waiting for a push on the sinkpad. Fixes #530637.
801 2008-04-30 Stefan Kost <ensonic@users.sf.net>
803 * gst/gstdebugutils.c:
804 Refactor code and fix handling of ghostpads and their proxypads.
806 2008-04-29 Wim Taymans <wim.taymans@collabora.co.uk>
808 * docs/gst/gstreamer-sections.txt:
809 * gst/gstevent.c: (gst_event_has_name):
811 * tests/check/gst/gstevent.c: (GST_START_TEST):
812 Add method to conveniently check the name of a custom event with
813 gst_event_has_name().
814 Reformat the event docs so that related methods are put together instead
815 of the default alphabetical sort.
816 Update unit test with new method.
817 API: GstEvent::gst_event_has_name()
819 2008-04-28 Michael Smith <msmith@songbirdnest.com>
821 * libs/gst/check/Makefile.am:
822 Don't add an explicit link to libgstreamer-0.10.la; it's already
823 included in GST_OBJ_LIBS.
825 2008-04-28 Sebastian Dröge <slomo@circular-chaos.org>
828 Register GstClock type from a type-safe context. Fixes bug #530317.
830 2008-04-25 Michael Smith <msmith@songbirdnest.com>
832 Patch by Edward Hervey <edward.hervey@collabora.co.uk>
834 Include <unistd.h> conditionally on HAVE_UNISTD_H as elsewhere.
836 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
838 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
840 Use the GLib stuff to create a private structure.
841 Add some locking around some dispose methods to make them a little
842 safer, see #529723. Patch by: Antoine Tremblay <hexa00 at gmail dot com>
844 2008-04-25 Stefan Kost <ensonic@users.sf.net>
846 * libs/gst/base/gstbasesink.h:
847 * libs/gst/base/gstbasesrc.h:
848 * libs/gst/base/gstbasetransform.h:
849 * libs/gst/base/gstcollectpads.h:
850 Fix doc typos and unify caps a bit.
852 2008-04-25 Stefan Kost <ensonic@users.sf.net>
854 * tools/gst-launch.1.in:
855 Forgot to also add the envvar docs here.
857 2008-04-25 Tim-Philipp Müller <tim at centricular dot net>
859 * gst/gst.c: (init_post), (gst_deinit):
860 * tests/check/gst/gstpipeline.c: (GST_START_TEST), (pipeline_thread),
861 (test_concurrent_create), (gst_pipeline_suite):
862 Ref some more classes in gst_init() to work around thread-safety
863 issues in pre-2.16 GLibs, and add basic unit test.
865 2008-04-25 Wim Taymans <wim.taymans@collabora.co.uk>
867 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
868 (gst_base_sink_send_event):
869 Rearrange the latency query code. We always want to do the upstream
870 query, even if we are not live so that the upstream elements can get the
871 latency results too. If we fail doing the query and we are live, we
872 return TRUE afterwards.
874 2008-04-24 Stefan Kost <ensonic@users.sf.net>
876 patch by: Jason Zhao <e3423c@motorola.com>
878 * docs/gst/running.xml:
880 Enable/disable scan_and_update_registry() based on commandline switch
881 or environment variable. Fixes #520468.
884 Fix typo in my previous commit.
886 2008-04-24 Stefan Kost <ensonic@users.sf.net>
888 * gst/gstregistrybinary.c:
889 Add a warning if we hit unhandled factories when saving.
890 More debug logging detail, but move to LOG category.
892 2008-04-24 Stefan Kost <ensonic@users.sf.net>
895 Tell the *truth* when improving the documentation.
897 2008-04-23 Sebastian Dröge <slomo@circular-chaos.org>
899 * gst/gstelementfactory.c: (gst_element_factory_make):
900 Unref the factory after it was used the last time, not before.
902 * gst/gstindexfactory.c: (gst_index_factory_make):
903 Improve debugging a bit and don't leak a ref to the index factory with
906 2008-04-23 Stefan Kost <ensonic@users.sf.net>
909 Improve the documentation.
911 2008-04-23 Stefan Kost <ensonic@users.sf.net>
914 The glib macro seems to be borked. Use g_slice_copy directly and cast
915 in the hope that this fixes the warning on 64bit.
917 2008-04-23 Stefan Kost <ensonic@users.sf.net>
920 Document the new function. Use g_slice_dup() (no need for
923 2008-04-23 Stefan Kost <ensonic@users.sf.net>
925 * docs/gst/gstreamer-sections.txt:
926 Move GParamSepc macros to standart section.
929 Dn't document _get_type - its in private section in docs anyway and
930 this doc-blob was incomplete.
933 Fix wrong symbol names in docs.
936 Add once doc sentence.
938 * tests/check/gst/.cvsignore:
941 2008-04-21 Stefan Kost <ensonic@users.sf.net>
943 * docs/gst/Makefile.am:
944 And remove those libs here.
946 2008-04-21 Tim-Philipp Müller <tim at centricular dot net>
948 * docs/libs/Makefile.am:
949 Fix docs build again by adding libgstnet-0.10.so to SCANOBJ_DEPS.
951 2008-04-21 Wim Taymans <wim.taymans@collabora.co.uk>
953 Patch by: Olivier Crete <tester at tester dot ca>
955 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
956 Add the min-threshold to the min latency if possible. Fixes #529148.
958 2008-04-21 Stefan Kost <ensonic@users.sf.net>
960 * docs/gst/gstreamer.types.in:
961 Stupid editor, I removed that line as it should go in yet.
963 2008-04-21 Stefan Kost <ensonic@users.sf.net>
965 * docs/gst/gstreamer.types.in:
966 * docs/libs/gstreamer-libs.types:
967 Remove library types fro core docs and have them in libs docs.
968 Reformat and cleanup. Add comment for miniobject types.
970 2008-04-20 Tim-Philipp Müller <tim at centricular dot net>
972 * gst/gsturi.c: (gst_uri_get_protocol):
973 Fix leak: g_strdown operates on the string in place, while
974 g_ascii_strdown() returns a newly-allocated string.
976 2008-04-20 Sebastian Dröge <slomo@circular-chaos.org>
978 * tools/gst-inspect.c: (print_uri_handler_info),
979 (print_element_info):
980 Print the URI protocols and the URI type supported by the element.
982 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
984 * gst/gsttaglist.c: (gst_tag_merge_strings_with_comma):
985 Use g_value_take_string() instead of the deprecated
986 g_value_set_string_take_ownership().
988 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
990 * gst/gstregistrybinary.c: (_gst_crc32):
991 Return the old CRC instead of 0 if we give a NULL buffer
992 or a buffer with a length of 0.
994 2008-04-19 Sebastian Dröge <slomo@circular-chaos.org>
996 * gst/gsturi.c: (gst_uri_protocol_check_internal),
997 (gst_uri_get_protocol), (gst_uri_has_protocol),
998 (gst_uri_construct), (gst_uri_handler_set_uri):
999 A valid URI scheme can also include '+', '-' and '.' additional
1000 to alphanumeric characters as per RFC 3986 Section 3.1.
1002 Handle URI schemes case insensitive in all places and convert
1003 to lower-case when constructing an URI or setting an URI with
1004 the GstURIHandler interface. Fixes bug #528868.
1005 All elements can still assume (as before) that they will
1006 get passed URIs with a lower-case URI scheme by the GstURIHandler
1009 2008-04-17 Tim-Philipp Müller <tim at centricular dot net>
1011 * gst/gstcaps.c: (gst_static_caps_get):
1012 * gst/gstclock.c: (gst_clock_entry_new):
1013 Don't use g_atomic_set_int where it's not needed.
1015 2008-04-17 Wim Taymans <wim.taymans@collabora.co.uk>
1017 * gst/gstvalue.c: (gst_value_deserialize_caps):
1018 * gst/parse/grammar.y:
1021 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1023 * gst/gstutils.c: (gst_atomic_int_set):
1024 Use g_atomic_int_set() here too instead of assignment +
1027 2008-04-17 Sebastian Dröge <slomo@circular-chaos.org>
1031 API: Deprecate gst_atomic_int_set(), g_atomic_int_set() should be used
1032 now that we depend on new enough GLib.
1034 * gst/gstcaps.c: (gst_static_caps_get):
1035 * gst/gstclock.c: (gst_clock_entry_new):
1036 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_set_colored),
1037 (gst_debug_set_default_threshold), (_gst_debug_category_new),
1038 (gst_debug_category_set_threshold):
1039 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
1040 (gst_base_sink_set_qos_enabled):
1041 * libs/gst/net/gstnettimeprovider.c:
1042 (gst_net_time_provider_set_property):
1043 Use g_atomic_int_set() instead of gst_atomic_int_set().
1045 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1048 Also use G_GINT64_CONSTANT for the queries.
1050 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1053 Use G_GINT64_CONSTANT in varargs function.
1055 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1057 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic):
1058 Initialize the registry magic with zeroes.
1060 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1062 * gst/gstregistrybinary.c: (_gst_crc32),
1063 (gst_registry_binary_write),
1064 (gst_registry_binary_initialize_magic),
1065 (gst_registry_binary_write_cache),
1066 (gst_registry_binary_check_magic),
1067 (gst_registry_binary_read_cache):
1068 * gst/gstregistrybinary.h:
1069 Add crc32 checksum to the binary registry file and check this before
1070 accepting a registry file.
1072 Also free the data list when writing to the registry file fails.
1074 2008-04-16 Sebastian Dröge <slomo@circular-chaos.org>
1076 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
1077 (gst_registry_binary_load_feature),
1078 (gst_registry_binary_load_plugin):
1079 If an element supports the Uri interface, returns a valid pointer
1080 to the supported URI protocols but this pointer contains nothing
1081 don't try to save that as it will corrupt the registry.
1083 Don't unref the plugin if we added it to the registry already but
1084 fail to load a feature as gst_registry_add_plugin() takes ownership
1087 Improve debugging a bit.
1089 2008-04-16 Stefan Kost <ensonic@users.sf.net>
1092 Clarify some tag item docs after discussion on irc.
1094 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1096 * docs/gst/gstreamer-docs.sgml:
1097 Remove commented out plugins (they have their own docs). Update
1100 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1102 * docs/gst/gstreamer-docs.sgml:
1103 * docs/gst/gstreamer-sections.txt:
1104 * gst/gstparamspecs.c:
1105 * gst/gstparamspecs.h:
1106 Add GST_PARAM_CONTROLLABLE and GST_PARAM_USER_SHIFT. Move paramspec
1107 docs to own section.
1110 This now only documents GValue.
1112 * docs/libs/gstreamer-libs-sections.txt:
1113 * libs/gst/controller/gstcontroller.h:
1114 Remove GST_PARAM_CONTROLLABLE.
1116 2008-04-15 Stefan Kost <ensonic@users.sf.net>
1119 Correct file path. Tell about how to use -overrides.txt.
1120 * docs/design/draft-tagreading.txt:
1121 Small design update.
1123 2008-04-14 Sebastian Dröge <slomo@circular-chaos.org>
1125 * gst/gstregistrybinary.c: (gst_registry_binary_load_feature),
1126 (gst_registry_binary_load_plugin):
1127 Fix a typo in a debug message and revert change from yesterday as
1128 gst_registry_add_plugin() will only fail if something is really wrong
1129 already and we can't survive it anyway.
1131 2008-04-14 Tim-Philipp Müller <tim at centricular dot net>
1133 * gst/gst.c: (init_post), (gst_deinit):
1134 Pre-register GstGError GType from a thread-safe context
1135 (fixes #527967); unref enum type classes in deinit.
1137 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1139 Patch by: Rene Stadler <mail at renestadler de>
1141 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
1142 Merging an empty list with another list in KEEP_ALL mode should
1143 yield an empty list as result and not the second list (#512578).
1145 * tests/check/gst/gsttagsetter.c:
1146 Add unit test for tag merge modes and the aforementioned bug.
1148 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1150 Patch by: Rene Stadler <mail at renestadler de>
1153 Fix description to match the order in the table (#512577).
1155 2008-04-13 Tim-Philipp Müller <tim at centricular dot net>
1157 Patch by: Kwang Yul Seo <kwangyul.seo gmail com>
1159 * libs/gst/net/gstnettimepacket.h:
1160 * docs/libs/gstreamer-libs-sections.txt:
1161 Define socklen_t as int if it's not defined yet. Fixes compilation
1162 with MSVC6 and other versions where socklen_t is not defined in
1163 the windows headers (#518022).
1165 2008-04-13 Sebastian Dröge <slomo@circular-chaos.org>
1167 * gst/gstregistrybinary.c: (gst_registry_binary_load_plugin):
1168 If gst_registry_add_plugin() fails our reference to the plugin is
1169 invalid so don't try to use it anymore and instead error out.
1171 2008-04-12 Tim-Philipp Müller <tim at centricular dot net>
1173 * tools/gst-xmlinspect.c: (print_element_info), (main):
1174 De-cruft a bit. If no argument is specified, print all elements in
1175 XML syntax rather than a freestyle list of elements like gst-inspect.
1176 Also, don't print XML header chunk unless we actually have something
1177 to print (ie. don't print it before an error message); print error
1178 message to stderr not stdout. Remove support for printing plugin
1179 info (it would just output something freestyle along the lines of
1180 gst-inspect so far), which fixes #514507. Also add license header.
1182 2008-04-11 Julien Moutte <julien@fluendo.com>
1185 * configure.ac: Merge platform specific defines, introduce a new
1186 define on OS X to remember that forking when updating registry is
1188 * docs/faq/gst-uninstalled: Updated to include gst-libs in the bad
1190 * gst/gst.c: Don't fork when updating registry if GST_HAVE_UNSAFE_FORK
1192 * gst/gstregistry.c: (gst_registry_scan_path_level): Fixed a bogus
1193 condition that leads to absolutely no plugins being registered on
1196 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1198 Based on patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1200 * gst/gstutils.c: (gst_pad_add_data_probe),
1201 (gst_pad_add_data_probe_full), (gst_pad_add_event_probe),
1202 (gst_pad_add_event_probe_full), (gst_pad_add_buffer_probe),
1203 (gst_pad_add_buffer_probe_full):
1205 * docs/gst/gstreamer-sections.txt:
1206 * win32/common/libgstreamer.def:
1207 Add gst_pad_add_*_probe_full() functions with a notify callback that
1208 lets the caller free the data it passes to the probe functions. This
1209 is useful for bindings such as gst-python or gstreamermm (#526814).
1210 API: gst_pad_add_data_probe_full
1211 API: gst_pad_add_buffer_probe_full
1212 API: gst_pad_add_event_probe_full
1214 * tests/check/gst/gstutils.c:
1215 Add minimal unit test to make sure freeing the data actually works
1218 * tests/benchmarks/.cvsignore:
1219 Random cvsignore addendum.
1221 2008-04-10 Tim-Philipp Müller <tim at centricular dot net>
1223 * gst/gstdebugutils.h: (GST_DEBUG_BIN_TO_DOT_FILE_WITH_TS),
1224 (GST_DEBUG_BIN_TO_DOT_FILE):
1225 Mention GstDebugGraphDetails enum type in doc blurb so we get a link
1226 to it in the docs (since these are macros the types of the arguments
1227 won't be shown in the docs otherwise).
1229 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1232 Do not abort on out of memory for pad_alloc_buffer.
1234 2008-04-10 Stefan Kost <ensonic@users.sf.net>
1236 * libs/gst/check/gstcheck.c:
1237 Remove blank line between symbol name ad parameters to fix gtkdoc
1240 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1242 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1244 * docs/gst/gstreamer-sections.txt:
1247 * win32/common/libgstreamer.def:
1248 Expose gst_segment_copy() to make things easier for the c++ bindings.
1250 API: gst_segment_copy()
1252 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1254 * gst/gst.c: (gst_init_get_option_group), (init_post):
1255 Fix const position; ref GType classes for enum types to work
1256 around thread-safety issues in GLib versions < 2.16.
1258 2008-04-09 Wim Taymans <wim.taymans@collabora.co.uk>
1260 * docs/design/part-buffering.txt:
1261 Fix some typos and set the estimated total for push mode to -1.
1263 * gst/gstquery.c: (gst_query_new_buffering):
1264 Set buffering-left to 0 as we're not buffering by default.
1266 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
1267 Implement BUFFERING query.
1269 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1271 Based on patch by: Milosz Derezynski <internalerror gmail com>
1273 * gst/gsterror.c: (_gst_stream_errors_init):
1275 Add two new error codes for encrypted content. Fixes #524659.
1276 API: GST_STREAM_ERROR_DECRYPT
1277 API: GST_STREAM_ERROR_DECRYPT_NOKEY
1279 2008-04-09 Tim-Philipp Müller <tim at centricular dot net>
1284 * win32/common/libgstreamer.def:
1287 2008-04-09 Sebastian Dröge <slomo@circular-chaos.org>
1289 * plugins/elements/gstidentity.c: (gst_identity_event),
1290 (gst_identity_start):
1291 Fix imperfect timestamp/offset checks when we get another NEWSEGMENT
1292 event after processing some data. Fixes bug #526042.
1294 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1296 * docs/gst/gstreamer-sections.txt:
1297 * gst/gstquery.c: (gst_query_parse_latency),
1298 (gst_query_set_buffering_percent),
1299 (gst_query_parse_buffering_percent),
1300 (gst_query_set_buffering_range), (gst_query_parse_buffering_range):
1302 Rename _avail -> _range
1303 API: gst_query_set_buffering_range
1304 API: gst_query_parse_buffering_range
1306 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1308 * docs/design/part-buffering.txt:
1311 * gst/gstquery.c: (gst_query_parse_latency),
1312 (gst_query_new_buffering), (gst_query_set_buffering_percent),
1313 (gst_query_parse_buffering_percent):
1315 Add busy field and quark for the buffering query so that the app can
1316 only use the query to see if buffering is in progress.
1318 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1320 * docs/gst/gstreamer-sections.txt:
1321 * gst/gstmessage.c: (gst_message_set_buffering_stats),
1322 (gst_message_parse_buffering_stats):
1324 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
1325 (gst_query_parse_latency), (gst_query_new_buffering),
1326 (gst_query_set_buffering_percent),
1327 (gst_query_parse_buffering_percent),
1328 (gst_query_set_buffering_stats), (gst_query_parse_buffering_stats),
1329 (gst_query_set_buffering_avail), (gst_query_parse_buffering_avail):
1331 Reorder the message docs and headers for clarity.
1332 Add aditional buffering stats API for messages.
1333 Add buffering query.
1334 Convert some leftover queries to use GstQuark.
1335 API: gst_message_set_buffering_stats
1336 API: gst_message_parse_buffering_stats
1337 API: GST_QUERY_BUFFERING
1338 API: GstBufferingMode
1339 API: gst_query_new_buffering
1340 API: gst_query_set_buffering_percent
1341 API: gst_query_parse_buffering_percent
1342 API: gst_query_set_buffering_stats
1343 API: gst_query_parse_buffering_stats
1345 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1347 * gst/gstmessage.c: (gst_message_new_error),
1348 (gst_message_new_warning), (gst_message_new_info),
1349 (gst_message_new_buffering), (gst_message_new_state_changed),
1350 (gst_message_new_clock_provide), (gst_message_new_clock_lost),
1351 (gst_message_new_new_clock), (gst_message_new_segment_start),
1352 (gst_message_new_segment_done), (gst_message_new_duration),
1353 (gst_message_new_async_start), (gst_message_parse_buffering),
1354 (gst_message_parse_state_changed),
1355 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
1356 (gst_message_parse_new_clock), (gst_message_parse_error),
1357 (gst_message_parse_warning), (gst_message_parse_info),
1358 (gst_message_parse_segment_start),
1359 (gst_message_parse_segment_done), (gst_message_parse_duration),
1360 (gst_message_parse_async_start):
1361 Use GstQuark for messages.
1363 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1365 * gst/gstquark.c: (_priv_gst_quarks_initialize):
1367 Add some more quarks needed for messages and queries.
1369 2008-04-08 Wim Taymans <wim.taymans@collabora.co.uk>
1371 * docs/design/part-buffering.txt:
1372 Remove the "none" buffering mode, STREAM is a good default.
1373 Move estimated-time to the avail query, that's when it will be needed.
1374 Other small typo fixes and updates.
1376 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1378 * gst/gstindex.c: (gst_index_resolver_get_type):
1379 Don't put descriptions into the nick field of a GEnumValue: it's not
1380 meant for that and some language bindings rely on the nick field to
1381 construct constants and the like. Fixes #526705.
1383 2008-04-07 Tim-Philipp Müller <tim at centricular dot net>
1388 Merge other changes from 0.10.19 release branch.
1390 2008-04-06 Sebastian Dröge <slomo@circular-chaos.org>
1392 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1395 Actually build dlls when cross-compiling with mingw32.
1398 2008-04-05 Sebastian Dröge <slomo@circular-chaos.org>
1400 Patch by: Damien Lespiau <damien dot lespiau at gmail dot com>
1403 Fix compilation of GstPoll with mingw32. Fixes bug #526236.
1405 2008-04-04 Wim Taymans <wim.taymans@collabora.co.uk>
1407 * docs/design/draft-latency.txt:
1410 * docs/design/part-buffering.txt:
1411 Update design docs with more buffering ideas.
1413 2008-04-03 Tim-Philipp Müller <tim at centricular dot net>
1416 Bump version to 0.10.19.1 after the unscheduled 0.10.19 release.
1418 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1421 Revert part that belongs to the preset patch.
1423 2008-04-03 Stefan Kost <ensonic@users.sf.net>
1426 Add qoutes to the define. Fixes # 525961.
1428 2008-04-03 Sebastian Dröge <slomo@circular-chaos.org>
1430 * plugins/indexers/gstfileindex.c: (_file_index_id_free),
1431 (gst_file_index_load), (gst_file_index_add_id),
1432 (gst_file_index_get_assoc_entry):
1433 * plugins/indexers/gstmemindex.c: (gst_mem_index_free_format),
1434 (gst_mem_index_free_id), (gst_mem_index_add_id),
1435 (gst_mem_index_index_format):
1436 Use GSlice when possible.
1438 2008-04-02 Sebastian Dröge <slomo@circular-chaos.org>
1440 * libs/gst/controller/gstinterpolationcontrolsource.c:
1441 (gst_control_point_free),
1442 (gst_interpolation_control_source_set_internal):
1443 Use GSlice for allocating the control points.
1445 2008-04-02 Wim Taymans <wim.taymans@collabora.co.uk>
1447 * plugins/elements/gsttypefindelement.c:
1448 (gst_type_find_element_class_init),
1449 (gst_type_find_element_set_property),
1450 (gst_type_find_element_get_property),
1451 (gst_type_find_element_activate):
1452 * plugins/elements/gsttypefindelement.h:
1454 Fix pad leak when peer query fails.
1455 We can still typefind when the peer returns -1.
1456 Add property to force caps and bypass typefinding. This will be used in
1460 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1465 * gst/glib-compat-private.h:
1466 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free):
1467 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
1468 Unconditionally use GSlice for allocation.
1470 * gst/gstpoll.c: (gst_poll_new), (gst_poll_free):
1471 * gst/gstsegment.c: (gst_segment_new), (gst_segment_free):
1472 * gst/gststructure.c: (gst_structure_id_empty_new_with_size),
1473 (gst_structure_free):
1474 Use GSlice for allocation.
1476 2008-04-01 Sebastian Dröge <slomo@circular-chaos.org>
1478 * gst/parse/Makefile.am:
1479 * gst/parse/grammar.tab.pre.c:
1480 * gst/parse/grammar.tab.pre.h:
1481 * gst/parse/lex._gst_parse_yy.pre.c:
1482 Require a new enough flex and bison and remove the parser hacks to use
1483 a pre-regenerated version.
1485 2008-04-01 Julien Moutte <julien@fluendo.com>
1487 patch by: Jason Zhao <E3423C@motorola.com>
1489 * configure.ac: Add a configure switch to disable option parsing
1493 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1496 * gst/gstregistry.c:
1497 MacOS has plugins under .so or under .dylib. Add detection for MacOS
1498 and handle this case.
1501 Add a comment here describing, why we stat each plugin and not try to
1504 2008-03-31 Sebastian Dröge <slomo@circular-chaos.org>
1506 * libs/gst/base/gstbasetransform.c:
1507 (gst_base_transform_prepare_output_buffer):
1508 Also unset the GAP flag on buffers if we're working inplace but
1509 the element is not GAP-aware.
1511 Mark a comment as FIXME 0.11.
1513 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1516 Fix type in log message and add one to ease seeing how long registry
1517 cache verification takes.
1519 * gst/gstregistry.c:
1520 Only test plugin filenames against G_MODULE_SUFFIX.
1522 2008-03-31 Stefan Kost <ensonic@users.sf.net>
1524 * gst/gstdebugutils.c:
1525 Improve handling ghost/proxy pads.
1527 2008-03-27 Stefan Kost <ensonic@users.sf.net>
1529 * docs/gst/gstreamer-sections.txt:
1532 Expose macro to docs and fix link to it.
1534 2008-03-27 Michael Smith <msmith@fluendo.com>
1536 * libs/gst/dataprotocol/dataprotocol.c:
1537 (gst_dp_packet_from_event_1_0):
1538 When calculating GDP body CRC, use the correct pointer.
1539 Fixes part of #522401.
1541 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1543 Patch by: Mark Nauwelaerts <manauw at skynet be>
1545 * plugins/elements/gstidentity.c: (gst_identity_class_init),
1546 (gst_identity_init), (gst_identity_prepare_output_buffer):
1547 Identity is not always a passthrough element, it can modify the buffer
1548 timestamps when it has a datarate and operates in single-segment mode.
1549 We therefore make it an in_place filter with a custom buffer prepare
1550 function that conditionally makes the input buffer metadata writable
1551 when needed. Fixes #523985.
1553 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1555 Patch by: Mark Nauwelaerts <manauw at skynet be>
1558 * libs/gst/base/gstbasesrc.h:
1559 * libs/gst/base/gstbasetransform.c:
1560 * libs/gst/check/gstcheck.c:
1561 Small documentation fixes. Fixes #523978.
1563 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1565 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
1566 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
1567 Also retry our poll_wait when we get EAGAIN. Fixes #524041.
1569 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1571 * plugins/elements/gstmultiqueue.c: (single_queue_overrun_cb),
1572 (single_queue_underrun_cb):
1573 When trying to make room in the queue, bump the max allowed buffers
1574 bigger than the current amount of buffers in the queue. this fixes some
1575 nasty deadlocks in multiqueue when dynamically changing the limits of
1578 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1580 Patch by: José Alburquerque <jaalburqu at svn dot gnome dot org>
1582 * gst/gstcaps.c: (gst_caps_set_simple),
1583 (gst_caps_set_simple_valist), (gst_caps_intersect):
1585 Constify the field gchar * params in set_simple and friends.
1588 2008-03-24 Wim Taymans <wim.taymans@collabora.co.uk>
1590 * gst/gstvalue.c: (gst_value_transform_object_string):
1591 Transform a GstObject to a more meaningfull string that includes the
1592 object type in addition to its name.
1594 2008-03-23 Stefan Kost <ensonic@users.sf.net>
1597 ChangeLog surgery to add bugnumber to commit.
1599 2008-03-23 Rene Stadler <mail@renestadler.de>
1601 * libs/gst/base/gstbasetransform.c:
1602 (gst_base_transform_set_gap_aware): Fix confusing documentation.
1604 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1606 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1607 Rename constant everywhere and don't forget one occurence.
1609 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1611 * gst/gstregistrybinary.c: (gst_registry_binary_write):
1612 Align memory to the pointer size even if the architecture allows
1613 unaligned memory access. Unaligned memory access usually comes with
1614 performance penality.
1616 2008-03-23 Sebastian Dröge <slomo@circular-chaos.org>
1618 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1619 (gst_registry_binary_check_magic),
1620 (gst_registry_binary_load_pad_template),
1621 (gst_registry_binary_load_feature),
1622 (gst_registry_binary_load_plugin):
1623 Align memory to the pointer size instead of always 32 bit. Fixes
1624 unaligned memory accesses on ia64 and friends.
1626 * gst/gstregistrybinary.h:
1627 Bump binary registry format version for this as it changes the
1628 format on those architectures that don't have unaligned access
1629 and 64 bit pointers.
1631 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1633 * docs/pwg/advanced-dparams.xml:
1634 * docs/pwg/building-props.xml:
1635 * docs/pwg/other-source.xml:
1636 * gst/glib-compat.h:
1637 * gst/gstbin.c: (gst_bin_class_init):
1638 * gst/gstclock.c: (gst_clock_class_init):
1639 * gst/gstindex.c: (gst_index_class_init):
1640 * gst/gstobject.c: (gst_object_class_init):
1641 * gst/gstpad.c: (gst_pad_class_init):
1642 * gst/gstpipeline.c: (gst_pipeline_class_init):
1643 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1644 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
1645 * libs/gst/base/gstbasetransform.c:
1646 (gst_base_transform_class_init):
1647 * libs/gst/base/gstdataqueue.c: (gst_data_queue_class_init):
1648 * libs/gst/check/gstcheck.c: (_gst_check_fault_handler_restore),
1649 (_gst_check_fault_handler_sighandler),
1650 (_gst_check_fault_handler_setup), (gst_check_init):
1651 * libs/gst/controller/gstcontroller.c:
1652 (_gst_controller_class_init):
1653 * libs/gst/controller/gstlfocontrolsource.c:
1654 (gst_lfo_control_source_class_init):
1655 * libs/gst/net/gstnetclientclock.c:
1656 (gst_net_client_clock_class_init):
1657 * libs/gst/net/gstnettimeprovider.c:
1658 (gst_net_time_provider_class_init):
1659 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
1660 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
1661 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
1662 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
1663 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
1664 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
1665 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
1666 * plugins/elements/gstidentity.c: (gst_identity_class_init):
1667 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_class_init):
1668 * plugins/elements/gstqueue.c: (gst_queue_class_init):
1669 * plugins/elements/gsttee.c: (gst_tee_class_init):
1670 * plugins/elements/gsttypefindelement.c:
1671 (gst_type_find_element_class_init):
1672 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
1673 Define G_PARAM_STATIC_STRINGS if it's undefined (GLib < 2.13.0) and
1674 use it everywhere for GParamSpecs that use static strings (i.e. all).
1675 This gives us less memory usage, fewer allocations and thus less
1676 memory defragmentation. Fixes bug #523806.
1678 2008-03-22 Sebastian Dröge <slomo@circular-chaos.org>
1680 * gst/gstminiobject.c: (gst_value_dup_mini_object),
1681 (gst_param_spec_mini_object):
1682 * gst/gstminiobject.h:
1683 * win32/common/libgstreamer.def:
1684 * docs/gst/gstreamer-sections.txt:
1685 API: Add GST_IS_PARAM_SPEC_MINI_OBJECT, GST_PARAM_SPEC_MINI_OBJECT
1686 GST_TYPE_PARAM_MINI_OBJECT and gst_value_dup_mini_object. Also move
1687 GstParamSpecMiniObject into a public header for this.
1689 This make GstMiniObject a bit more consistent with GObject and makes
1690 it possible to extend the param specs.
1692 gst_value_dup_mini_object is mainly useful for set_property methods.
1696 * tools/gst-inspect.c: (print_element_properties_info):
1697 Print something useful for GstMiniObject properties and not just
1700 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1702 * docs/gst/gstreamer-sections.txt:
1703 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1704 (gst_registry_binary_check_magic):
1705 * gst/gstregistrybinary.h:
1706 Call the version GST_MAGIC_BINARY_VERSION_STR to be more consistent
1707 and add it to the (private part) of the docs to fix the build.
1709 2008-03-21 Sebastian Dröge <slomo@circular-chaos.org>
1711 * gst/gstregistrybinary.c: (gst_registry_binary_initialize_magic),
1712 (gst_registry_binary_check_magic),
1713 (gst_registry_binary_read_cache):
1714 * gst/gstregistrybinary.h:
1715 Don't use GST_MAJORMINOR for the binary registry version. Instead
1716 hardcode a value that must be changed whenever the format changes
1717 in an incompatible way.
1718 Also don't GST_ERROR when there is a version mismatch, just
1719 regenerate the registry silently.
1721 2008-03-21 Jan Schmidt <jan.schmidt@sun.com>
1724 Back to development - 0.10.18.1
1726 === release 0.10.18 ===
1728 2008-03-20 Jan Schmidt <jan.schmidt@sun.com>
1731 releasing 0.10.18, "So far away"
1733 2008-03-18 Jan Schmidt <jan.schmidt@sun.com>
1736 * win32/common/config.h:
1737 0.10.17.4 pre-release
1739 2008-03-18 Wim Taymans <wim.taymans@collabora.co.uk>
1741 Patch by: Ole André Vadla Ravnås
1742 <ole dot andre dot ravnas at tandberg dot com>
1744 * docs/gst/gstreamer-sections.txt:
1745 * gst/gstpoll.c: (gst_poll_winsock_error_to_errno),
1746 (gst_poll_update_winsock_event_mask),
1747 (gst_poll_prepare_winsock_active_sets),
1748 (gst_poll_collect_winsock_events), (gst_poll_new), (gst_poll_free),
1749 (gst_poll_add_fd_unlocked), (gst_poll_fd_ctl_write),
1750 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ignored),
1751 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1752 (gst_poll_check_ctrl_commands), (gst_poll_wait):
1754 * win32/common/libgstreamer.def:
1755 Add new function gst_poll_fd_ignored() for improved Windows
1757 Various minor fixes and cleanups. See #520808.
1759 2008-03-17 Tim-Philipp Müller <tim at centricular dot net>
1761 * gst/gstindex.c: (gst_index_entry_free):
1763 Don't free key strings which we don't own. Fixes crash in
1764 gst_index_entry_free() (#522741).
1766 * tests/check/Makefile.am:
1767 * tests/check/gst/.cvsignore:
1768 * tests/check/gst/gstindex.c: (test_index_entries),
1769 (gst_index_suite), (gst_index):
1770 Add unit test for the above.
1772 2008-03-11 Sebastian Dröge <slomo@circular-chaos.org>
1774 * win32/common/libgstreamer.def:
1775 Remove symbols that were removed recently. Fixes bug #521740.
1777 2008-03-11 Jan Schmidt <jan.schmidt@sun.com>
1780 * win32/common/config.h:
1781 0.10.17.3 pre-release
1783 2008-03-07 Wim Taymans <wim.taymans@collabora.co.uk>
1785 Patch by: Ole André Vadla Ravnås
1786 <ole dot andre dot ravnas at tandberg dot com>
1788 * docs/gst/gstreamer-sections.txt:
1789 * gst/gstpoll.c: (find_index), (gst_poll_free_winsock_event),
1790 (gst_poll_update_winsock_event_mask), (gst_poll_new),
1791 (gst_poll_free), (gst_poll_fd_init), (gst_poll_add_fd_unlocked),
1792 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
1793 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_has_closed),
1794 (gst_poll_fd_has_error), (gst_poll_fd_can_read_unlocked),
1795 (gst_poll_fd_can_write), (gst_poll_wait),
1796 (gst_poll_set_controllable), (gst_poll_restart),
1797 (gst_poll_set_flushing):
1799 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
1800 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_start),
1801 (gst_net_time_provider_new):
1802 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
1803 * plugins/elements/gstfdsrc.c: (gst_fd_src_start):
1804 * tests/benchmarks/gstpollstress.c: (main):
1805 * tests/check/gst/gstpoll.c: (GST_START_TEST), (gst_poll_suite):
1806 Remove GstPollMode from the API, it does not make sense to let the
1807 application control this.
1808 Add support for Win32.
1809 Fix the testsuite. Fixes #520671.
1811 2008-03-07 Sebastian Dröge <slomo@circular-chaos.org>
1813 Patch by: Ole André Vadla Ravnås
1814 <ole dot andre dot ravnas at tandberg dot com>
1816 * gst/gstregistrybinary.c:
1817 Include io.h for write() and close() when building with MSVC. Fixes
1820 2008-03-07 Stefan Kost <ensonic@users.sf.net>
1823 * gst/gst_private.h:
1824 * gst/gstconfig.h.in:
1825 * gst/gstregistry.h:
1826 * gst/gstregistrybinary.c:
1827 * win32/common/gstconfig.h:
1828 Move registry backend API to private headers where we can. Add
1829 fixme-0.11 comments for the others. Add stubs for the xml backend when
1830 using the binary to ensure they functions exists (they should not be
1831 used though). Fixes #520756.
1833 2008-03-04 Jan Schmidt <jan.schmidt@sun.com>
1836 * win32/common/config.h:
1839 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1841 * gst/gstregistrybinary.c: (gst_registry_binary_write),
1842 (gst_registry_binary_read_cache):
1843 * gst/gstregistryxml.c: (gst_registry_save):
1844 * gst/gsturi.c: (unescape_string), (gst_uri_has_protocol):
1845 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file):
1846 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
1847 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
1848 Switch to using portabl gsize/gssize instead of size_t/ssize_t
1851 2008-03-03 Edward Hervey <edward.hervey@collabora.co.uk>
1853 * gst/gstminiobject.c:
1854 Import gst_private.h before any other header that might include other
1855 glib headers. This fixes the build on windows using native compilers.
1857 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1859 * win32/common/gstconfig.h:
1860 Add here too, just for completeness.
1862 2008-03-03 Tim-Philipp Müller <tim at centricular dot net>
1865 * gst/gstconfig.h.in:
1866 * gst/gstregistry.h:
1867 Fix broken use of config.h-defined preprocessor directive in a public
1868 header file. Add a corresponding define to gstconfig.h, since we can't
1869 really remove those function declarations from the header file now
1870 (or can we? and why are they there in the first place?).
1872 2008-03-03 Andy Wingo <wingo@pobox.com>
1874 * tests/check/gst/gststructure.c (GST_START_TEST): Add a check for
1877 * gst/gststructure.c (gst_structure_from_string): Warn if
1878 structure_from_string didn't consume the whole string, but the
1879 caller did not provide an end pointer.
1881 2008-03-01 Tim-Philipp Müller <tim at centricular dot net>
1883 Patch by: Fabrizio Gennari <fabrizio.ge at tiscali it>
1885 * gst/gstregistryxml.c: (read_string), (load_feature):
1886 Strings allocated by libxml2 should be freed with xmlFree(), not
1887 with g_free(). Fixes issues on windows in certain contexts (#519698).
1889 2008-02-29 Tim-Philipp Müller <tim at centricular dot net>
1891 * gst/gstinterface.c: (gst_element_implements_interface):
1892 Don't crash if the element supports the interface queried, but does
1893 not implement GstImplementsInterface. Fixes #519584.
1895 * tests/check/Makefile.am:
1896 * tests/check/gst/.cvsignore:
1897 * tests/check/gst/gstinterface.c:
1898 Add unit test for the above.
1900 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1902 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
1905 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
1907 * gst/gstsegment.c: (gst_segment_set_seek),
1908 (gst_segment_to_stream_time):
1909 Improve some comment.
1910 Update variables where it makes more sense.
1912 2008-02-29 Rene Stadler <mail@renestadler.de>
1914 * gst/gsturi.c: (gst_uri_handler_get_protocols):
1915 Use the get_protocols_full vfunc if get_protocols is NULL. Fixes
1916 URIHandlers implemented using language bindings.
1918 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1920 * gst/gstelementfactory.h:
1921 * tests/check/elements/fakesink.c:
1922 * tests/check/elements/fakesrc.c: (setup_fakesrc):
1923 * tests/check/elements/fdsrc.c: (setup_fdsrc):
1924 * tests/check/elements/filesink.c: (setup_filesink):
1925 * tests/check/elements/filesrc.c: (setup_filesrc):
1926 * tests/check/elements/identity.c: (setup_identity):
1927 * tests/check/elements/tee.c:
1928 * tests/check/generic/sinks.c:
1929 * tests/check/generic/states.c: (setup), (teardown):
1930 * tests/check/gst/gst.c:
1931 * tests/check/gst/gstabi.c:
1932 * tests/check/gst/gstbin.c:
1933 * tests/check/gst/gstbus.c: (pull_messages):
1934 * tests/check/gst/gstcaps.c:
1935 * tests/check/gst/gstelement.c:
1936 * tests/check/gst/gstevent.c:
1937 * tests/check/gst/gstghostpad.c:
1938 * tests/check/gst/gstiterator.c:
1939 * tests/check/gst/gstmessage.c:
1940 * tests/check/gst/gstminiobject.c: (my_foo_init):
1941 * tests/check/gst/gstobject.c: (thread_name_object),
1943 * tests/check/gst/gstpad.c:
1944 * tests/check/gst/gstplugin.c:
1945 * tests/check/gst/gstpoll.c:
1946 * tests/check/gst/gstquery.c:
1947 * tests/check/gst/gstsegment.c:
1948 * tests/check/gst/gststructure.c:
1949 * tests/check/gst/gstsystemclock.c:
1950 * tests/check/gst/gsttask.c:
1951 * tests/check/gst/gstutils.c:
1952 * tests/check/gst/gstvalue.c:
1953 * tests/check/gst/struct_hppa.h:
1954 * tests/check/gst/struct_i386.h:
1955 * tests/check/gst/struct_ppc32.h:
1956 * tests/check/gst/struct_ppc64.h:
1957 * tests/check/gst/struct_x86_64.h:
1958 * tests/check/libs/adapter.c: (create_and_fill_adapter):
1959 * tests/check/libs/basesrc.c:
1960 * tests/check/libs/controller.c: (GST_START_TEST):
1961 * tests/check/libs/gdp.c:
1962 * tests/check/libs/gstnetclientclock.c:
1963 * tests/check/libs/gstnettimeprovider.c:
1964 * tests/check/libs/libsabi.c:
1965 * tests/check/libs/struct_hppa.h:
1966 * tests/check/libs/struct_i386.h:
1967 * tests/check/libs/struct_ppc32.h:
1968 * tests/check/libs/struct_ppc64.h:
1969 * tests/check/libs/struct_x86_64.h:
1970 * tests/check/pipelines/cleanup.c:
1971 * tests/check/pipelines/simple-launch-lines.c:
1972 * tests/check/pipelines/stress.c:
1973 And correct even more valid sparse warnings.
1975 * win32/common/libgstreamer.def:
1976 Add gst_poll_fd_init to the list of symbols.
1978 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
1980 * gst/gstconfig.h.in:
1981 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_read_buffer):
1982 * libs/gst/check/gstcheck.c: (gst_check_log_message_func),
1983 (gst_check_log_critical_func), (gst_check_drop_buffers),
1984 (gst_check_element_push_buffer_list):
1985 * libs/gst/controller/gstcontroller.c: (gst_controller_get),
1986 (gst_controller_get_type):
1987 * libs/gst/controller/gsthelper.c: (gst_object_control_properties),
1988 (gst_object_get_controller), (gst_object_get_control_source):
1989 * libs/gst/controller/gstinterpolationcontrolsource.c:
1990 (gst_interpolation_control_source_new):
1991 * libs/gst/controller/gstlfocontrolsource.c:
1992 (gst_lfo_control_source_new):
1993 * libs/gst/dataprotocol/dataprotocol.c:
1994 (gst_dp_event_from_packet_0_2):
1995 * plugins/elements/gstfdsrc.c:
1996 * plugins/elements/gstmultiqueue.c:
1997 * plugins/elements/gsttee.c:
1998 * plugins/elements/gsttypefindelement.c:
1999 * plugins/indexers/gstfileindex.c: (_file_index_id_save_xml),
2000 (gst_file_index_add_association):
2001 * plugins/indexers/gstmemindex.c:
2002 * tests/benchmarks/gstpollstress.c: (mess_some_more):
2003 * tests/check/elements/queue.c: (setup_queue):
2004 * tests/check/gst/gstpipeline.c:
2005 * tests/check/libs/collectpads.c: (setup), (teardown),
2006 (gst_collect_pads_suite):
2007 * tests/examples/adapter/adapter_test.c:
2008 * tests/examples/metadata/read-metadata.c: (make_pipeline):
2009 * tests/examples/xml/createxml.c:
2010 * tests/examples/xml/runxml.c:
2011 * tools/gst-inspect.c:
2013 Correct all relevant warnings found by the sparse semantic code
2014 analyzer. This include marking several symbols static, using
2015 NULL instead of 0 for pointers, not using variable sized arrays
2016 on the stack, moving variable declarations to the beginning of
2017 a block and using "foo (void)" instead of "foo ()" for declarations.
2019 2008-02-29 Sebastian Dröge <slomo@circular-chaos.org>
2021 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2022 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2023 Don't reset GstPollFDs, this is not necessary at all.
2025 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2026 (delayed_restart), (delayed_control):
2027 Use GST_POLL_FD_INIT.
2029 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2031 * gst/gstpoll.c: (gst_poll_fd_init):
2035 * plugins/elements/gstfdsink.c: (gst_fd_sink_update_fd):
2036 Use some more init macros.
2038 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2040 * plugins/elements/gstfdsink.c: (gst_fd_sink_start):
2041 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2042 Use init macros and functions.
2044 2008-02-29 Wim Taymans <wim.taymans@collabora.co.uk>
2046 * docs/gst/gstreamer-sections.txt:
2047 * gst/gstpoll.c: (gst_poll_fd_init):
2049 Add INIT macro and _init method for initializing the GstPollFD.
2051 2008-02-28 Sebastian Dröge <slomo@circular-chaos.org>
2053 * plugins/elements/gstfdsink.c: (gst_fd_sink_start),
2054 (gst_fd_sink_update_fd):
2055 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
2056 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2057 (delayed_restart), (delayed_control):
2058 Initialize some uninitialized variables as spotted by valgrind.
2060 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2062 * tests/benchmarks/Makefile.am:
2063 * tests/benchmarks/gstpollstress.c: (mess_some_more), (run_test),
2065 Add poll stress test.
2067 2008-02-28 Wim Taymans <wim.taymans@collabora.co.uk>
2069 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2071 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
2072 (gst_fd_sink_start), (gst_fd_sink_stop), (gst_fd_sink_unlock),
2073 (gst_fd_sink_unlock_stop), (gst_fd_sink_update_fd):
2074 * plugins/elements/gstfdsink.h:
2075 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
2076 (gst_fd_src_start), (gst_fd_src_stop), (gst_fd_src_unlock),
2077 (gst_fd_src_unlock_stop), (gst_fd_src_create),
2078 (gst_fd_src_uri_set_uri):
2079 * plugins/elements/gstfdsrc.h:
2080 Port to GstPoll. See #505417.
2082 2008-02-27 Jan Schmidt <jan.schmidt@sun.com>
2084 * win32/common/libgstreamer.def:
2085 Add new gst_poll_ symbols to win32 defs.
2087 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2089 * docs/libs/gstreamer-libs-sections.txt:
2090 * libs/gst/net/gstnetclientclock.c:
2091 (gst_net_client_clock_class_init), (gst_net_client_clock_init),
2092 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2093 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2094 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2095 * libs/gst/net/gstnetclientclock.h:
2096 * libs/gst/net/gstnettimeprovider.c:
2097 (gst_net_time_provider_class_init), (gst_net_time_provider_init),
2098 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2099 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2100 (gst_net_time_provider_new):
2101 * libs/gst/net/gstnettimeprovider.h:
2102 Use a private stuct to not break ABI.
2104 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2106 Patch by: Peter Kjellerstedt <pkj at axis dot com>
2108 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_init),
2109 (gst_net_client_clock_finalize), (gst_net_client_clock_do_select),
2110 (gst_net_client_clock_thread), (gst_net_client_clock_start),
2111 (gst_net_client_clock_stop), (gst_net_client_clock_new):
2112 * libs/gst/net/gstnetclientclock.h:
2113 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_init),
2114 (gst_net_time_provider_finalize), (gst_net_time_provider_thread),
2115 (gst_net_time_provider_start), (gst_net_time_provider_stop),
2116 (gst_net_time_provider_new):
2117 * libs/gst/net/gstnettimeprovider.h:
2118 Massive code removal and cleanups because of GstPoll.
2121 2008-02-27 Wim Taymans <wim.taymans@collabora.co.uk>
2124 Add checks for poll, ppoll and pselect.
2126 * docs/gst/gstreamer-docs.sgml:
2127 * docs/gst/gstreamer-sections.txt:
2128 Add docs for GstPoll.
2132 * gst/gstpoll.c: (find_index), (selectable_fds),
2133 (pollable_timeout), (choose_mode), (pollfd_to_fd_set),
2134 (fd_set_to_pollfd), (gst_poll_new), (gst_poll_free),
2135 (gst_poll_set_mode), (gst_poll_get_mode),
2136 (gst_poll_add_fd_unlocked), (gst_poll_add_fd),
2137 (gst_poll_remove_fd), (gst_poll_fd_ctl_write),
2138 (gst_poll_fd_ctl_read_unlocked), (gst_poll_fd_ctl_read),
2139 (gst_poll_fd_has_closed), (gst_poll_fd_has_error),
2140 (gst_poll_fd_can_read_unlocked), (gst_poll_fd_can_read),
2141 (gst_poll_fd_can_write), (gst_poll_wait),
2142 (gst_poll_set_controllable), (gst_poll_restart),
2143 (gst_poll_set_flushing):
2145 Add generic poll abstraction. We ideally don't want to have this in core
2146 here but in glib intead...
2147 This code will be used in various network elements and ultimately for
2148 the nanosecond precision monotonic clock (that's why it's here in core).
2149 It'll allow us to implement cancelable socket operations for windows too.
2151 * tests/check/Makefile.am:
2152 * tests/check/gst/gstpoll.c: (test_poll_wait), (GST_START_TEST),
2153 (delayed_stop), (delayed_restart), (delayed_flush),
2154 (delayed_control), (gst_poll_suite):
2155 Add GstPoll unit test.
2157 2008-02-25 Tim-Philipp Müller <tim at centricular dot net>
2160 Improve documentation of gst_filter_run(). Fixes #518627.
2162 2008-02-23 Tim-Philipp Müller <tim at centricular dot net>
2165 Add a few lines about the new 'check-inspected-versions' target.
2167 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2169 * tests/check/gst/gstevent.c:
2170 Add qos to the event test. Rename tcase/tsuite; is not only about
2173 2008-02-21 Stefan Kost <ensonic@users.sf.net>
2175 * plugins/elements/gstqueue.c:
2176 Ensure that buffer metadata is writeable, before modifying. Spotted by
2179 2008-02-20 Stefan Kost <ensonic@users.sf.net>
2181 * plugins/elements/gstqueue.c:
2182 * plugins/elements/gstqueue.h:
2183 When dropping buffers in leaky modes, mark next buffers we sent as
2186 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2188 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region):
2189 Also, if mmap() fails that would be a READ error, not OPEN_READ.
2191 2008-02-20 Tim-Philipp Müller <tim at centricular dot net>
2193 * plugins/elements/Makefile.am:
2194 * plugins/elements/gstbufferstore.c:
2195 * plugins/elements/gstbufferstore.h:
2196 * plugins/elements/gsttypefindelement.h:
2197 Remove GstBufferStore, no idea why we were still building it.
2198 It's not used anywhere and superseded by GstAdapter.
2200 * plugins/elements/gstfilesrc.c: (gst_file_src_map_region),
2201 (gst_file_src_create_mmap):
2202 * plugins/indexers/gstfileindex.c: (gst_file_index_add_association):
2203 Printf format fixes for 64-bit integers.
2205 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2208 Don't set GST_CACHE_DIR and allow to set it by a configure parameter.
2209 We're not in 0.8 times anymore.
2211 2008-02-19 Jan Schmidt <Jan.Schmidt@sun.com>
2213 * libs/gst/check/gstcheck.c: (gst_check_drop_buffers),
2214 (gst_check_element_push_buffer_list):
2215 * libs/gst/check/gstcheck.h:
2216 Make the declaration in the header for
2217 gst_check_element_push_buffer_list match the implementation.
2219 Fix up spelling, grammar and wording of the documentation in a few
2220 places, and add the Since keyword to new API functions.
2221 Use g_list_delete_link instead of g_list_remove in
2222 gst_check_drop_buffers, since it's immeasurably more efficient.
2224 * tests/check/elements/fakesrc.c: (GST_START_TEST):
2225 Use new gst_check_drop_buffers function where appropriate.
2227 * win32/common/libgstbase.def:
2228 * win32/common/libgstreamer.def:
2229 Add new symbols gst_collect_pads_take_buffer,
2230 gst_collect_pads_read_buffer, gst_index_set_resolver_full to the
2233 Changelog surgery to add API keyword to new gst_check API.
2235 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2237 * gst/parse/lex._gst_parse_yy.pre.c: (yy_get_next_buffer),
2238 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yylex_init_extra):
2239 Update pre-generated flex files with flex 2.3.34.
2241 2008-02-19 Sebastian Dröge <slomo@circular-chaos.org>
2243 * gst/gstminiobject.c:
2244 Add FIXME for 0.11 to make GstMiniObjectClass::copy() a bit more
2245 friendly to subclasses and not require them to know all internals
2246 of their parent class.
2248 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2250 * docs/libs/gstreamer-libs-sections.txt:
2251 * libs/gst/base/gstcollectpads.c:
2252 * libs/gst/base/gstcollectpads.h:
2253 Add sub-buffer functions to collectpads. Fixes #516187.
2254 API: gst_collect_pads_take_buffer(), gst_collect_pads_read_buffer()
2256 2008-02-15 Stefan Kost <ensonic@users.sf.net>
2259 Copy selected buffer-flags when creating subbuffers.
2262 2008-02-12 Sebastian Dröge <slomo@circular-chaos.org>
2264 * gst/gstbuffer.c: (gst_buffer_class_init), (gst_buffer_finalize):
2265 * gst/gstevent.c: (gst_event_class_init), (gst_event_finalize):
2266 * gst/gstmessage.c: (gst_message_class_init),
2267 (gst_message_finalize):
2268 * gst/gstquery.c: (gst_query_class_init), (gst_query_finalize):
2269 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_class_init),
2270 (gst_mmap_buffer_finalize):
2271 Properly chain up finalize functions to the parent class.
2273 2008-02-11 Wim Taymans <wim.taymans@collabora.co.uk>
2275 Patch by: Siavash Safi <siavash dot safi at gmail dot com>
2277 * gst/gstindex.c: (gst_index_finalize), (gst_index_set_resolver),
2278 (gst_index_set_resolver_full):
2280 Add new function with option to dispose of user_data in resolver.
2281 Actually call the dispose function when finalizing the object and not
2282 just when changing the resolver/filter.
2283 API: GstIndex::gst_index_set_resolver_full()
2285 * docs/gst/gstreamer-sections.txt:
2286 Add new function to docs. Fixes #515469.
2288 2008-02-11 Sebastian Dröge <slomo@circular-chaos.org>
2290 * gst/gstindex.c: (gst_index_finalize):
2291 Chain up finalize to the parent class. Fixes leaking the GstObject
2292 name and other things.
2294 2008-02-08 Jan Schmidt <jan.schmidt@sun.com>
2297 Make DISABLE_DEPRECATED defined *only* during CVS, not during
2298 pre-releases or releases.
2300 * docs/faq/gst-uninstalled:
2303 * docs/random/release:
2304 Change one of the steps - we only upload core & base to Gnome FTP
2306 2008-02-06 Stefan Kost <ensonic@users.sf.net>
2308 * gst/gstconfig.h.in:
2309 Add 'id' for example.
2313 * plugins/elements/gstfdsink.c:
2314 Link to signals. Doc and comment fixes.
2316 2008-02-05 Tim-Philipp Müller <tim at centricular dot net>
2318 * gst/gstpad.h: (GST_PAD_LINK_SUCCESSFUL):
2319 * gst/gstpluginfeature.h: (GstPluginFeatureClass):
2320 Some minor docs fixes: fix typo, mention that GST_FLOW_RESEND is
2321 unused and unimplemented; finally, it is plugin features, not
2322 plugins, that have ranks.
2324 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2326 * gst/gstpluginfeature.h:
2327 Clarify GstRank range docs.
2329 2008-02-05 David Schleef <ds@schleef.org>
2331 * gst/gst.c: Add a separate gst_deinitialized that prevents
2332 gst_init() from being called after gst_deinit(). Fixes #509559
2334 2008-02-05 Sebastian Dröge <slomo@circular-chaos.org>
2336 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_base_init),
2337 (gst_bin_class_init):
2338 * gst/gstelement.c: (gst_element_base_class_init),
2339 (gst_element_class_add_pad_template):
2340 * gst/gstpadtemplate.c: (gst_pad_template_init):
2341 * gst/gstpipeline.c: (gst_pipeline_get_type),
2342 (gst_pipeline_base_init), (gst_pipeline_class_init):
2343 * libs/gst/base/gstbasesink.c:
2344 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2345 (gst_base_src_base_init), (gst_base_src_class_init):
2346 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2347 (gst_capsfilter_class_init):
2348 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2349 (gst_fake_sink_class_init):
2350 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2351 (gst_fake_src_class_init):
2352 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2353 (gst_fd_sink_class_init):
2354 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2355 (gst_fd_src_class_init):
2356 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2357 (gst_file_sink_class_init):
2358 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2359 (gst_file_src_class_init):
2360 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2361 (gst_identity_class_init):
2362 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2363 (gst_multi_queue_class_init):
2364 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2365 (gst_queue_class_init):
2366 * plugins/elements/gsttee.c: (gst_tee_base_init),
2367 (gst_tee_class_init):
2368 * plugins/elements/gsttypefindelement.c:
2369 (gst_type_find_element_base_init),
2370 (gst_type_find_element_class_init):
2371 * tests/check/gst/gstelement.c: (gst_element_suite):
2372 Revert previous changes to the behaviour of GstPadTemplates, etc
2373 and the possiblity to call them in class_init as it breaks too
2374 many elements. Reopens bug #491501.
2376 Should be applied again for 0.11, thus added a few FIXME 0.11 at
2379 2008-02-05 Stefan Kost <ensonic@users.sf.net>
2381 * tools/gst-launch.c:
2382 Dump one graph per pipeline state-change and state change name
2383 (if GST_DEBUG_DUMP_DOT_DIR is set).
2385 2008-02-04 Thijs Vermeir <thijsvermeir@gmail.com>
2388 * tests/check/gst/gstpad.c:
2389 Be sure that we have a new copy of the caps and not
2390 reffed caps from a template
2392 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2394 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
2395 * gst/gstpipeline.c: (gst_pipeline_get_type),
2396 (gst_pipeline_class_init):
2397 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
2398 (gst_base_sink_class_init):
2399 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type),
2400 (gst_base_src_class_init):
2401 * libs/gst/base/gstbasetransform.c: (gst_base_transform_get_type),
2402 (gst_base_transform_class_init):
2403 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
2404 (gst_collect_pads_class_init):
2405 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type):
2406 * libs/gst/net/gstnettimeprovider.c:
2407 (gst_net_time_provider_base_init),
2408 (gst_net_time_provider_class_init):
2409 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init),
2410 (gst_capsfilter_class_init):
2411 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init),
2412 (gst_fake_sink_class_init):
2413 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init),
2414 (gst_fake_src_class_init):
2415 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init),
2416 (gst_fd_sink_class_init):
2417 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init),
2418 (gst_fd_src_class_init):
2419 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init),
2420 (gst_file_sink_class_init):
2421 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init),
2422 (gst_file_src_class_init):
2423 * plugins/elements/gstidentity.c: (gst_identity_base_init),
2424 (gst_identity_class_init):
2425 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
2426 (gst_multi_queue_class_init):
2427 * plugins/elements/gstqueue.c: (gst_queue_base_init),
2428 (gst_queue_class_init):
2429 * plugins/elements/gsttee.c: (gst_tee_base_init),
2430 (gst_tee_class_init):
2431 * plugins/elements/gsttypefindelement.c:
2432 (gst_type_find_element_base_init),
2433 (gst_type_find_element_class_init):
2434 Don't use base_init where not absolutely necessary. For example it's
2435 not necessary anymore for adding pad templates or setting element
2438 Leave empty base_init functions in several places as GST_BOILERPLATE
2439 still defines and uses them.
2441 2008-02-03 Sebastian Dröge <slomo@circular-chaos.org>
2443 * gst/gstelement.c: (gst_element_base_class_init),
2444 (gst_element_class_add_pad_template):
2445 * gst/gstpadtemplate.c:
2446 Make it possible (and recommended) to set element details and add
2447 pad templates in the class_init functions by copying the details/pad
2448 templates in GstElement's base_init.
2450 Also make it possible to replace existing pad templates by adding
2451 a new one with the same name. This was done in a hackish fashion
2452 in same elements before already.
2454 Don't reference pad templates that are added a second time. A
2455 new pad template has a refcount of one and is not floating anymore
2456 and to be owned by the element's class. Make this more explicit by
2457 mentioning it in the docs of gst_element_class_add_pad_template().
2459 These changes are backwards compatible. Fixes bug #491501.
2461 * tests/check/gst/gstelement.c:
2462 Add unit test for setting element details, adding pad templates and
2463 replacing them in a subclass.
2465 2008-02-02 Sebastian Dröge <slomo@circular-chaos.org>
2467 * tools/gst-inspect.c: (print_interfaces),
2468 (print_element_properties_info), (print_pad_info),
2469 (print_signal_info), (print_element_info):
2470 Fix a few memory leaks.
2472 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2474 * docs/libs/gstreamer-libs-sections.txt:
2475 * libs/gst/check/gstcheck.c:
2476 * libs/gst/check/gstcheck.h:
2477 Add more functions for unit testing: gst_check_drop_buffers,
2478 gst_check_caps_equal, gst_check_element_push_buffer_list,
2479 gst_check_element_push_buffer
2480 API: gst_check_drop_buffers
2481 API: gst_check_caps_equal
2482 API: gst_check_element_push_buffer_list
2483 API: gst_check_element_push_buffer
2485 2008-02-01 Julien Moutte <julien@fluendo.com>
2487 * docs/gst/gstreamer-sections.txt: Add GST_CHECK_VERSION to the docs
2488 * gst/gstindex.c: (gst_index_class_init), (gst_index_free_writer),
2489 (gst_index_finalize), (gst_index_entry_free),
2490 (gst_index_add_association): Fix memory leaks.
2491 * gst/gstversion.h.in: Add GST_CHECK_VERSION macro.
2492 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init),
2493 (gst_mem_index_free_format), (gst_mem_index_free_id),
2494 (gst_mem_index_finalize): Fix memory leaks.
2495 * win32/common/config.h: Updated to CVS HEAD.
2497 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2500 Some more details about how the plugin docs works.
2502 * docs/plugins/gstreamer-plugins-sections.txt:
2505 2008-02-01 Stefan Kost <ensonic@users.sf.net>
2507 * gst/parse/grammar.tab.pre.c:
2508 * gst/parse/grammar.tab.pre.h:
2509 * gst/parse/grammar.y:
2510 * gst/parse/lex._gst_parse_yy.pre.c:
2511 Add delayed set-property. This allows to set properties on dynamicaly
2512 created objects (pads in videomxer). Fixes #509391.
2514 2008-02-01 Thijs Vermeir <thijsvermeir@gmail.com>
2517 Check if caps are not NULL (fix bug #510194)
2519 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2521 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop),
2522 (gst_base_sink_get_position_paused):
2523 Add fixme regarding EOS in pull mode.
2524 Fix position reporting in PAUSED for negative rates.
2526 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2528 * gst/gstminiobject.c: (gst_mini_object_replace):
2529 When replacing a miniobject, do a quick equality check first so that we
2530 can avoid a ref/unref pair.
2532 2008-02-01 Wim Taymans <wim.taymans@collabora.co.uk>
2534 * docs/design/part-synchronisation.txt:
2537 * docs/plugins/Makefile.am:
2538 * docs/plugins/gstreamer-plugins-docs.sgml:
2539 * docs/plugins/gstreamer-plugins-sections.txt:
2540 * plugins/elements/gstmultiqueue.c:
2541 Add multiqueue to the docs.
2543 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2548 === release 0.10.17 ===
2550 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2553 releasing 0.10.17, "Due Negligence"
2555 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2558 Revert caps != NULL check temporarily for 0.10.17 release.
2560 2008-01-30 Thijs Vermeir <thijsvermeir@gmail.com>
2563 Check if caps are not NULL (fix bug #510194)
2565 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2568 Fix compilation on systems that have posix timers but no
2571 Patch By: Cygwin Ports maintainer <yselkowitz at users dot sourceforge
2574 2008-01-30 Jan Schmidt <jan.schmidt@sun.com>
2576 * tools/gst-inspect.c:
2577 Revert previous commit in preparation for an impromptu 0.10.17 release
2579 2008-01-29 Sebastian Dröge <slomo@circular-chaos.org>
2581 * tools/gst-inspect.c: (print_interfaces),
2582 (print_element_properties_info), (print_pad_info),
2583 (print_signal_info), (print_element_info):
2584 Fix a few memory leaks.
2586 2008-01-28 Jan Schmidt <jan.schmidt@sun.com>
2591 === release 0.10.16 ===
2593 2008-01-28 Jan Schmidt <thaytan@noraisin.net>
2596 releasing 0.10.16, "Special Dispensation"
2598 2008-01-24 Tim-Philipp Müller <tim at centricular dot net>
2601 Use AC_TRY_COMPILE instead of AC_TRY_RUN to check for
2602 _POSIX_TIMER, _POSIX_MONOTONIC_CLOCK, etc. Makes configure
2603 not fail when trying to crosscompile on OpenEmbedded (#511750).
2605 2008-01-20 Sebastian Dröge <slomo@circular-chaos.org>
2608 Use $(MAKE) instead of make to fix the build if GNU make is
2609 called different. Fixes bug #510747.
2611 2008-01-20 Tim-Philipp Müller <tim at centricular dot net>
2613 * gst/gstplugin.c: (_gst_plugin_initialize):
2614 Fix old-style static plugins via GST_PLUGIN_DEFINE_STATIC
2615 again, which I broke two commits ago when changing the API
2616 of gst_plugin_register_static(): the g_list_foreach() in
2617 _gst_plugin_register_static still assumed the old function
2618 signature and would therefore fail (re-fixes #510187).
2620 * gst/gstplugin.c: (_num_static_plugins), (_static_plugins),
2621 (_gst_plugin_register_static), (gst_plugin_register_static):
2622 Revert the (technically correct) change to call g_thread_init() from
2623 the pre-main() constructor. This will break programs which call
2624 g_thread_init() without an if (!g_thread_supported()) guard in their
2625 main function. We could just blame it on GLib or the application, but
2626 it's probably best to just avoid this altogether and simply not use
2627 any GLib functions here and use plain old malloc() with a simple
2628 array to store the plugins to register later when gst_init() is
2629 finally called (re-fixes #510187).
2631 * tests/check/gst/gstplugin.c: (GST_GNUC_CONSTRUCTOR_DEFINED),
2632 (GST_GNUC_CONSTRUCTOR_DEFINED), (plugin_init_counter),
2633 (plugin1_init), (plugin2_init), (plugin3_init), (GST_START_TEST),
2634 (GST_START_TEST), (gst_plugin_suite):
2635 Dumb unit test to make sure the old GST_PLUGIN_DEFINE_STATIC still
2638 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2640 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2641 Remove deprecation guards around GST_PLUGIN_DEFINE_STATIC.
2642 This makes gtk-doc complain, but results in slightly better
2643 compiler errors. The old _gst_plugin_register_static() is
2644 still guarded, so there'll be a compiler warning about that
2645 instead. Fixes #510187 too.
2647 2008-01-17 Tim-Philipp Müller <tim at centricular dot net>
2649 * gst/gst.c: (init_post):
2650 * gst/gstplugin.c: (_gst_plugin_register_static),
2651 (gst_plugin_register_static), (_gst_plugin_initialize):
2652 * gst/gstplugin.h: (GstPluginFilter):
2653 Change API of gst_plugin_register_static() to not take
2654 a GstPluginDesc, but rather just take all the arguments
2655 in a GstPluginDesc directly. This is more intuitive and
2656 avoids certain mistakes when porting code from
2657 GST_PLUGIN_DEFINE_STATIC to gst_plugin_register_static().
2660 * tests/check/gst/gstplugin.c:
2661 Fix up for changed API.
2663 2008-01-17 Thomas Vander Stichele <thomas at apestaart dot org>
2665 * docs/faq/legal.xml:
2666 Update FAQ, Totem actually has an exception these days.
2668 2008-01-14 Jan Schmidt <jan.schmidt@sun.com>
2670 * win32/common/libgstreamer.def:
2671 Add new API declarations
2673 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2675 * gst/gstminiobject.c:
2676 Spelling fixes for the API docs.
2678 2008-01-14 Stefan Kost <ensonic@users.sf.net>
2680 * libs/gst/base/gstbasetransform.c:
2681 Fix long property description for QoS.
2683 2008-01-12 Jan Schmidt <Jan.Schmidt@sun.com>
2686 _gst_trace_on is already provided by gsttrace.h, no need to declare
2689 * docs/libs/gstreamer-libs-sections.txt:
2690 Add 'buffers', 'check_cond' and 'check_mutex' from libgstcheck
2691 and remove strange tcase_add_test which is outputting a warning.
2693 * libs/gst/check/gstcheck.c:
2694 * libs/gst/check/gstcheck.h:
2695 Properly declare 'buffers', 'check_cond', 'check_mutex' extern
2696 and define them in gstcheck.c instead of having every .c file whcih
2697 includes gstcheck.h be defining its own copy and relying on symbol
2698 interposing to marry them all, which doesn't work on Solaris.
2700 * tests/check/elements/identity.c: (GST_START_TEST):
2701 Don't define 'buffers' locally, it comes from libgstcheck.
2703 * tests/check/generic/sinks.c: (send_buffer):
2704 Fix type of variable (GstFlowReturn, not GstStateChangeReturn)
2706 * tests/check/gst/gststructure.c: (GST_START_TEST):
2707 * tests/check/gst/gstsystemclock.c: (GST_START_TEST):
2708 * tests/check/gst/gstutils.c: (GST_START_TEST):
2709 * tests/check/gst/gstvalue.c: (GST_START_TEST):
2710 Add a bunch of casts to make various constants fit the types
2711 they're being assigned to.
2713 2008-01-10 Stefan Kost <ensonic@users.sf.net>
2715 * gst/gstchildproxy.c:
2716 Improve docs and add some ideas for making this more general-purpose.
2718 2008-01-10 Tim-Philipp Müller <tim at centricular dot net>
2720 * gst/gst_private.h: (GST_CAT_TYPES):
2721 Add GST_CAT_TYPES, for consistency, and so that the other
2722 debug categories don't make fun of it. Spotted by Saur on IRC.
2724 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2726 * gst/parse/Makefile.am:
2727 Move types.h from EXTRA_DIST to noinst_HEADERS.
2729 2008-01-10 Sebastian Dröge <slomo@circular-chaos.org>
2732 Add -Wno-portability to the automake parameters to stop warnings
2733 about GNU make extensions being used. We require GNU make in almost
2734 every Makefile anyway.
2737 Use AM_PROG_CC_C_O as a compiler that accepts both -c and -o
2738 at the same time is required for per target flags.
2740 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2743 Include glib/gmacros.h for G_BEGIN_DECLS. Check if
2744 __GNUC__ is defined before using it.
2746 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2748 * docs/gst/gstreamer-sections.txt:
2749 * gst/gst.c: (init_post):
2750 * gst/gstplugin.c: (_gst_plugin_register_static),
2751 (gst_plugin_register_static), (_gst_plugin_initialize),
2752 (gst_plugin_register_func):
2753 * gst/gstplugin.h: (GST_PLUGIN_DEFINE_STATIC):
2754 API: add gst_plugin_register_static() and deprecate
2755 GST_PLUGIN_DEFINE_STATIC, since it's not portable
2757 Also, in _gst_plugin_register_static(), make sure to call
2758 g_thread_init() before calling GLib functions such as
2759 g_list_append() if we're not initialised yet, since that
2760 may lead to random crashes with older GSlice/GLib versions.
2762 * tests/check/gst/gstplugin.c:
2763 Adapt unit test to above changes.
2765 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2767 * gst/gst_private.h: (STRUCTURE_ESTIMATED_STRING_LEN):
2768 * gst/gstcaps.c: (gst_caps_to_string):
2769 * gst/gststructure.c: (GST_ASCII_IS_STRING),
2770 (priv_gst_structure_append_to_gstring), (gst_structure_to_string):
2771 Yet another gratuitous GString micro-optimisation: add a (private)
2772 function that serialises a structure appending to an existing
2773 GString, so that when we serialise caps we don't need to alloc+free
2774 a throwaway GString for each structure (each of which also entailing
2775 multiple reallocs on the way); also use g_string_sized_new() in
2776 various places with an approximate string length to avoid reallocs
2777 within GString. See #500143.
2779 2008-01-09 Tim-Philipp Müller <tim at centricular dot net>
2781 * gst/gststructure.c: (gst_structure_id_set_value):
2782 Always check UTF-8 conformance of structure strings and not only
2783 if the debugging system is enabled; reasoning: the behaviour of
2784 the actual code shouldn't really change depending on whether the
2785 debugging system is enabled or not (#508291).
2787 2008-01-09 Stefan Kost <ensonic@users.sf.net>
2790 Remove old coverage target in favour of "make lcov".
2792 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2794 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
2795 (gst_base_src_loop):
2796 The start segment for reverse playback goes from start to last_stop.
2798 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2800 Patch by: Peter Kjellerstedt <pkj axis com>
2803 Cast the results from the timeval/spec_to_time macros to what the
2804 docs say it casts to, a GstClockTime. fixes #508175.
2806 2008-01-09 Wim Taymans <wim.taymans@collabora.co.uk>
2809 Update some comments.
2811 * tools/gst-inspect.c: (print_element_properties_info):
2812 Improve printing of flags.
2814 2008-01-08 Tim-Philipp Müller <tim at centricular dot net>
2816 * libs/gst/base/gstbasetransform.c:
2817 (gst_base_transform_transform_size):
2818 Print element name with g_warning() if there's a problem
2821 2008-01-07 David Schleef <ds@schleef.org>
2823 Patch by: Damien Lespiau <damien.lespiau@gmail.com>
2825 * libs/gst/controller/gstcontroller.h:
2826 * libs/gst/controller/gstcontrolsource.h:
2827 * libs/gst/controller/gstinterpolationcontrolsource.h:
2828 * libs/gst/controller/gstlfocontrolsource.h:
2829 * libs/gst/dataprotocol/dataprotocol.h:
2830 Fix empty prototypes. Fixes bug #507957.
2832 2008-01-07 David Schleef <ds@schleef.org>
2834 * docs/faq/dependencies.xml: Fix typo.
2836 2008-01-07 Wim Taymans <wim.taymans@collabora.co.uk>
2838 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_do_seek),
2839 (gst_base_src_loop):
2840 Don't update the last_stop position in do_seek, that's the position we
2842 Read backwards when we have a negative rate.
2844 * tests/check/elements/filesrc.c: (event_func), (wait_eos),
2845 (setup_filesrc), (cleanup_filesrc), (GST_START_TEST),
2847 Add check for reverse reading.
2849 2008-01-07 Tim-Philipp Müller <tim at centricular dot net>
2851 Patch by: Alexis Ballier <aballier at gentoo org>
2853 * tests/check/gst/gstabi.c:
2854 * tests/check/gst/struct_ppc64.h:
2855 * tests/check/libs/libsabi.c:
2856 * tests/check/libs/struct_ppc64.h:
2857 Decide which header to include based on the userland ABI target
2858 and not the kernel/cpu. Fix up structure sizes of ppc64 header
2859 for 64-bit userland (#503590). Might need something similar for
2862 2008-01-05 Tim-Philipp Müller <tim at centricular dot net>
2864 * gst/gstdebugutils.c: (_gst_debug_bin_to_dot_file):
2865 Log the reason why fopen fails in addition to the fact that it failed.
2867 2008-01-04 Sebastian Dröge <slomo@circular-chaos.org>
2869 * gst/parse/parse.l:
2870 Use "%option never-interactive" to prevent useless calls to isatty()
2871 on every input when parsing. Also use "%option noinput" to not define
2872 the static input/yyinput functions which we don't use anyway. This
2873 removes a compiler warning with gcc 4.3 and saves some bytes in the
2876 * gst/parse/lex._gst_parse_yy.pre.c:
2877 Regenerated for the above change.
2879 2008-01-04 Wim Taymans <wim.taymans@collabora.co.uk>
2881 * gst/gstpad.c: (fixate_value):
2882 Don't crash when trying to fixate and empty list.
2885 2008-01-03 Sebastian Dröge <slomo@circular-chaos.org>
2887 * docs/faq/gst-uninstalled:
2888 Clarify the comments to make the usage of this script and what it
2889 does easier to understand.
2891 2008-01-01 Thijs Vermeir <thijsvermeir@gmail.com>
2893 * tools/gst-plot-timeline.py:
2894 Add more options to gst-plot-timeline
2896 2007-12-31 Wim Taymans <wim.taymans@collabora.co.uk>
2898 * docs/design/part-synchronisation.txt:
2899 Some more info on how the stream_time in GstBaseSink is done.
2901 2007-12-30 Tim-Philipp Müller <tim at centricular dot net>
2903 * tests/check/generic/sinks.c: (gst_sinks_suite):
2904 Put back the tcase_set_timeout(), apparently it's needed after
2905 all; fix it up in a way that makes things work with valgrind too.
2907 2007-12-30 Thijs Vermeir <thijsvermeir@gmail.com>
2909 * gst/gstdebugutils.c:
2910 Add warning when failed to open file for writing.
2912 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2914 Based on patch by: Laurent Glayal <spglegle yahoo fr>
2916 * gst/gstvalue.c: (gst_value_is_fixed):
2917 Optimisation: bail out of the loop as early as possible (#500143).
2919 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2921 * gst/gstcaps.c: (gst_caps_to_string):
2922 * gst/gstinfo.c: (gst_debug_construct_term_color):
2923 * gst/gstparse.c: (gst_parse_launchv):
2924 * gst/gstutils.c: (gst_util_dump_mem):
2925 * gst/gstvalue.c: (gst_value_serialize_any_list),
2926 (gst_value_transform_any_list_string):
2927 Bunch of gratuitous nano-optimisations.
2929 2007-12-28 Tim-Philipp Müller <tim at centricular dot net>
2931 * tests/check/generic/sinks.c: (async_done_func),
2932 (async_done_eos_func):
2933 Fix leak in unit test (bus sync handler must unref the message
2934 if it returns GST_BUS_DROP). Don't fiddle with the default test
2935 timeout, this is smaller than the current preconfigured value
2936 via CK_DEFAULT_TIMEOUT, and also breaks things with valgrind
2937 because it overrides the value specified in CK_DEFAULT_TIMEOUT.
2939 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
2941 Based on Patch by: Laurent Glayal <spglegle at yahoo dot fr>
2944 Check for stdio_ext.h for the filesink changes.
2946 * plugins/elements/gstfilesink.c: (buffer_mode_get_type),
2947 (gst_file_sink_class_init), (gst_file_sink_init),
2948 (gst_file_sink_dispose), (gst_file_sink_set_property),
2949 (gst_file_sink_get_property), (gst_file_sink_open_file),
2950 (gst_file_sink_close_file):
2951 * plugins/elements/gstfilesink.h:
2952 Add two properties to control the buffering mode and size.
2953 API: GstFileSink::buffer-mode
2954 API: GstFileSink::buffer-size
2957 2007-12-24 Wim Taymans <wim.taymans@collabora.co.uk>
2959 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked):
2960 Add some more docs to explain why a FIXME was wrongly added.
2962 2007-12-22 Sebastian Dröge <slomo@circular-chaos.org>
2965 Fix typo in the gst_object_{ref,unref} documentation.
2967 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
2969 * tests/check/libs/controller.c:
2970 * tests/check/libs/typefindhelper.c:
2971 * tests/check/pipelines/parse-launch.c:
2972 Don't use GST_PLUGIN_DEFINE_STATIC, it is not portable and is
2973 going to be deprecated (see #498924).
2975 2007-12-21 Tim-Philipp Müller <tim at centricular dot net>
2977 * gst/gsttypefind.c: (gst_type_find_register):
2978 Make gst_type_find_register work for static typefind functions,
2979 ie. allow passing plugin == NULL (prerequisite for #498924).
2981 * gst/gstelementfactory.c: (gst_element_register):
2982 Small docs addition.
2984 2007-12-21 Wim Taymans <wim.taymans@collabora.co.uk>
2986 * gst/gstpad.c: (gst_pad_dispose):
2987 Really unlink the peer pad instead of setting the peer pointer to NULL
2988 when we dispose the pad.
2989 This correctly calls the unlink functions and makes sure that the peer
2990 does not have a handle to invalid memory. See #504671.
2992 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
2993 Add testsuite for above case.
2995 2007-12-20 Tim-Philipp Müller <tim at centricular dot net>
2997 Patch by: Peter Kjellerstedt <pkj axis com>
2999 * libs/gst/check/gstcheck.h:
3000 Fix detection of the check version we're compiling against (would
3001 otherwise break if check goes v0.10.0); correctly report the
3002 name of the failed test again in case of failure, instead of
3003 just 'tf' (fixes #504499).
3005 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3007 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event),
3008 (gst_base_src_get_range), (gst_base_src_pad_get_range),
3009 (gst_base_src_loop), (gst_base_src_set_flushing),
3010 (gst_base_src_change_state):
3011 Allow sending EOS to the source to make it send out an EOS event from
3012 the streaming thread.
3013 Update docs and deprecate the old NULL/READY shutdown method.
3015 * tests/check/libs/basesrc.c: (GST_START_TEST),
3016 (gst_basesrc_suite):
3017 Add unit test for controlled shutdown.
3019 2007-12-19 Wim Taymans <wim.taymans@collabora.co.uk>
3021 * docs/design/part-synchronisation.txt:
3024 * gst/gstsegment.c: (gst_segment_set_seek),
3025 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
3026 (gst_segment_to_running_time):
3027 The seek format can be different from the segment format when the start
3028 and stop values are not to be updated, when we only do a rate change for
3031 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3032 (gst_segment_suite):
3033 Add a testcase for the rate-only seeks, checking that the format is
3034 correctly ignored when start and stop are not updated.
3036 2007-12-18 Sebastian Dröge <slomo@circular-chaos.org>
3038 Patch by: Matthias Bolte <photon at mail dot upb dot de>
3040 * win32/vs8/grammar.vcproj:
3041 * win32/vs8/libgstcontroller.vcproj:
3042 * win32/vs8/libgstreamer.vcproj:
3043 Fix compilation with VS8 and include some missing files.
3045 2007-12-18 Tim-Philipp Müller <tim at centricular dot net>
3048 Small docs addition: mention that the strings returned by
3049 gst_tag_list_get_string*() are in UTF-8 encoding.
3051 2007-12-17 Tim-Philipp Müller <tim at centricular dot net>
3054 The check-exports stuff moved to common/win32.mak, so include that.
3056 2007-12-17 Wim Taymans <wim.taymans@collabora.co.uk>
3058 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
3059 (gst_base_src_perform_seek), (gst_base_src_get_range),
3060 (gst_base_src_set_playing), (gst_base_src_change_state):
3061 Make _wait_playing() not check any variables so that we can call this
3062 function from subclasses. Move the checks elsewhere similar to
3063 _wait_preroll() in basesink.
3065 Only signal the LIVE cond when we are going back to PLAYING.
3067 2007-12-16 Tim-Philipp Müller <tim at centricular dot net>
3069 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache):
3070 Use g_remove() and g_rename(). Check result of g_rename(), and
3071 don't leak the open file descriptor if we error out when writing.
3073 * gst/gstregistryxml.c: (load_plugin), (gst_registry_xml_write_cache):
3074 Must check the return value of close() after writing out the new
3075 registry file. Sometimes write problems such as out-of-diskspace
3076 are only reported when the file is closed and not already during
3077 the write. This may have caused partial/broken registry files in
3078 some rare circumstances. Should fix #503675.
3080 2007-12-16 Edward Hervey <edward.hervey@collabora.co.uk>
3082 * docs/gst/.cvsignore:
3083 * docs/libs/.cvsignore:
3084 * docs/plugins/.cvsignore:
3085 Ignore files generated by new common/* modifications
3087 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3089 * win32/common/libgstbase.def:
3090 Yes, you can also have a <TAB> if you want.
3092 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3094 * win32/common/libgstbase.def:
3095 Add new basetransform API to win export file.
3097 2007-12-15 Stefan Kost <ensonic@users.sf.net>
3099 * tests/check/gst/gstbin.c:
3100 Adjust the test to the refcount change two days ago.
3102 2007-12-14 David Schleef <ds@schleef.org>
3104 * docs/faq/getting.xml: Fix typo.
3106 2007-12-14 Sebastian Dröge <slomo@circular-chaos.org>
3108 * docs/libs/gstreamer-libs-sections.txt:
3109 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
3110 (gst_base_transform_prepare_output_buffer),
3111 (gst_base_transform_set_gap_aware):
3112 * libs/gst/base/gstbasetransform.h:
3113 API: Add gst_base_transform_set_gap_aware() to control whether
3114 the element correctly handles GST_BUFFER_FLAG_GAP or shouldn't
3115 get buffers with this flag at all. Fixes #503231.
3117 2007-12-13 Stefan Kost <ensonic@users.sf.net>
3119 * libs/gst/base/gstbasesink.c:
3120 * libs/gst/base/gstbasesrc.c:
3121 * libs/gst/base/gstbasetransform.c:
3122 Replace gst_pad_get_parent by GST_OBJECT_PARENT inside streaming
3123 thread. Correct log message in gstbasesrc.c.
3125 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3127 * gst/gstutils.c: (element_find_unconnected_pad):
3128 Fix possible compiler warning (#503417).
3130 2007-12-13 Tim-Philipp Müller <tim at centricular dot net>
3132 * gst/gstobject.c: (gst_object_dispatch_properties_changed):
3133 Don't use GST_CAT_EVENT here for logging, it makes no sense.
3135 2007-12-13 Sebastian Dröge <slomo@circular-chaos.org>
3137 * tools/gst-inspect.c: (print_element_properties_info):
3138 Add support for GstFraction properties.
3140 2007-12-12 Tim-Philipp Müller <tim at centricular dot net>
3143 Add check-exports target and run it as part of 'make check'
3144 (see #499140 and #493983).
3146 * gst/gst_private.h:
3147 * gst/gstelementfactory.h:
3148 * gst/gstghostpad.c: (gst_proxy_pad_class_init):
3149 * gst/gstinfo.c: (_priv_gst_in_valgrind), (_gst_debug_init),
3150 (_priv_gst_in_valgrind):
3151 * gst/gstinfo.h: (GstLogFunction):
3152 * gst/gsttypefind.c: (type_find_debug), (GST_CAT_DEFAULT),
3153 (gst_type_find_register):
3154 * gst/gsttypefindfactory.c: (type_find_debug), (GST_CAT_DEFAULT),
3155 (gst_type_find_factory_get_type):
3156 * libs/gst/controller/gstcontroller.c: (GST_CAT_DEFAULT),
3157 (GST_CAT_DEFAULT), (parent_class), (priv_gst_controller_key),
3158 (gst_controller_new_valist), (gst_controller_new_list),
3159 (_gst_controller_dispose), (_gst_controller_class_init):
3160 * libs/gst/controller/gstcontrolsource.c: (GST_CAT_DEFAULT):
3161 * libs/gst/controller/gsthelper.c: (GST_CAT_DEFAULT),
3162 (GST_CAT_DEFAULT), (gst_object_uncontrol_properties),
3163 (gst_object_get_controller), (gst_object_set_controller),
3164 (gst_object_suggest_next_sync), (gst_object_sync_values),
3165 (gst_object_set_control_source), (gst_object_get_control_source),
3166 (gst_object_get_value_arrays), (gst_object_get_value_array),
3167 (gst_object_get_control_rate), (gst_object_set_control_rate):
3168 * libs/gst/controller/gstinterpolation.c: (GST_CAT_DEFAULT):
3169 * libs/gst/controller/lib.c: (GST_CAT_DEFAULT):
3170 Make some functions that should be static static; rename some
3171 private symbols so that they don't get exported; add some FIXME
3172 comments so we can move accidentally exported functions into
3173 our private section in 0.11.
3175 * win32/common/libgstreamer.def:
3176 Add gst_utils_get_timestamp().
3178 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3182 Add more missing "Since:" tags to docs.
3184 2007-12-12 Stefan Kost <ensonic@users.sf.net>
3187 Add mising "Since:" to docs.
3189 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3192 Include "glib-compat-private.h" to fix the build on system with
3193 glib < 2.10. Fixes #503131.
3195 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3199 Actually its not PURE as it gets the time from elsewhere.
3201 2007-12-11 Stefan Kost <ensonic@users.sf.net>
3203 * docs/gst/gstreamer-sections.txt:
3205 * gst/gstdebugutils.c:
3209 * libs/gst/base/gstbasesink.c:
3210 * tools/gst-launch.c:
3211 Change GST_GET_TIMESTAMP into gst_util_get_timestamp and replace all
3212 uses as we don't have HAVE_POSIX_TIMERS in public headers.
3213 Thanks Tim for spotting.
3214 API: gst_util_get_timestamp
3216 2007-12-09 Sebastian Dröge <slomo@circular-chaos.org>
3219 Don't define GST_DISABLE_DEPRECATED for releases. Fixes #498181.
3221 2007-12-08 Tim-Philipp Müller <tim at centricular dot net>
3223 * gst/gststructure.c: (gst_structure_validate_name),
3224 (gst_structure_new_valist), (gst_structure_parse_value),
3225 (gst_structure_from_string):
3226 Don't crash in _from_string() if the structure name is not valid
3227 (fixes #501560). Allow structure names to start with a number
3228 again (this apparently broke the ubuntu codec installer).
3230 * tests/check/gst/gststructure.c: (GST_START_TEST), (GST_START_TEST),
3232 Add unit test for the crash; update unit tests for new behaviour.
3234 2007-12-03 Wim Taymans <wim.taymans@gmail.com>
3237 Clarify gst_element_get_compatible_pad() documentation.
3240 2007-12-02 Sebastian Dröge <slomo@circular-chaos.org>
3242 * tests/check/Makefile.am:
3243 Don't forget to dist {gst,libs}/struct_hppa.h.
3245 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3247 * libs/gst/base/gstbasesink.c:
3248 Use new API to get elapsed time.
3250 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3252 * gst/gstdebugutils.c:
3254 Fix wrong order of args in GST_CLOCK_DIFF() usage.
3256 * tools/gst-launch.c:
3257 Use new API to get elapsed time.
3259 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3261 * docs/gst/gstreamer-sections.txt:
3263 * gst/gstdebugutils.c:
3265 Rename new API + ChangeLog surgery to remove old name from last entry..
3267 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3269 * docs/gst/gstreamer-sections.txt:
3271 * gst/gstdebugutils.c:
3273 Now hide the different clock stuff behind a macro.
3275 2007-11-28 Stefan Kost <ensonic@users.sf.net>
3278 * gst/gstdebugutils.c:
3280 Apply the posix-timer check from #361155. Conditionally use the posix
3281 timer for logging. This gives better timestamp precission, less
3282 overhead and no ntp jitter.
3284 2007-11-28 Sebastian Dröge <slomo@circular-chaos.org>
3286 * gst/gstminiobject.c: (gst_mini_object_get_type),
3287 (gst_mini_object_class_init), (gst_mini_object_copy_default),
3288 (gst_mini_object_finalize), (gst_mini_object_copy),
3289 (gst_mini_object_is_writable), (gst_mini_object_make_writable),
3290 (gst_mini_object_replace), (param_mini_object_validate),
3291 (gst_param_spec_mini_object_get_type):
3292 Some cleanup and checking against invalid function parameters.
3294 2007-11-28 Wim Taymans <wim.taymans@gmail.com>
3296 * docs/gst/gstreamer-sections.txt:
3298 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
3299 (gst_systemclock_suite):
3300 Start merging in the easy bits of #361155, the monotonic clock patch.
3301 This one adds a few handy macros with docs and a testsuite.
3303 2007-11-27 Wim Taymans <wim.taymans@gmail.com>
3305 * plugins/elements/gstfilesink.c: (gst_file_sink_event):
3306 Be a bit smarter when seeking, like, don't try to do a seek when it's
3307 not needed. This avoids errors when the file is not seekable.
3310 2007-11-26 Stefan Kost <ensonic@users.sf.net>
3312 * docs/gst/gstreamer-docs.sgml:
3313 * docs/gst/gstreamer-sections.txt:
3314 * docs/gst/gstreamer.types.in:
3319 * plugins/elements/gstqueue.c:
3320 Due to popular request remove preset interface again. :-(.
3322 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3324 * tools/gst-inspect.c:
3325 Print 'default value' for enums and flags too.
3327 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3329 * docs/random/ensonic/profiling.txt:
3333 Fix typo and give better log output.
3335 * gst/gstdebugutils.c:
3336 * gst/gstdebugutils.h:
3337 More ideas, make graphs a bit smaller and fix param name in macro.
3339 2007-11-22 Stefan Kost <ensonic@users.sf.net>
3342 Try harder to use the return value from fgets().
3344 2007-11-21 Stefan Kost <ensonic@users.sf.net>
3347 For theses two fgets we handle the error below.
3349 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3351 * libs/gst/base/gstbasesink.c: (gst_base_sink_send_event):
3352 Only send upstream events upstream. Fixes #498746.
3354 2007-11-21 Wim Taymans <wim.taymans@gmail.com>
3356 Patch by: Laurent Glayal <spglegle at yahoo dot fr>
3358 * plugins/elements/gstidentity.c: (gst_identity_class_init),
3359 (gst_identity_init), (gst_identity_transform_ip),
3360 (gst_identity_set_property), (gst_identity_get_property):
3361 * plugins/elements/gstidentity.h:
3362 Add property to disable handoff signal emission. Fixes #498694.
3363 API: GstIdentity::signal-handoffs
3365 2007-11-21 Julien Moutte <julien@fluendo.com>
3367 * docs/faq/gst-uninstalled: Yet another missing library for the
3368 uninstalled script (fft)
3370 2007-11-21 Jan Schmidt <jan.schmidt@sun.com>
3372 * docs/faq/developing.xml:
3373 Add a question about how to submit new translations.
3375 * docs/random/release:
3376 Update the contact email address for the Translation Project
3378 * plugins/elements/gstfdsrc.c:
3379 The parent_class for fdsrc is pushsrc, not GstElement.
3381 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3384 Plug a leak and fix saving.
3386 2007-11-20 Sebastian Dröge <slomo@circular-chaos.org>
3388 * docs/gst/gstreamer-sections.txt:
3389 Add new gst_preset__get_property_names() function to the docs
3392 2007-11-20 Stefan Kost <ensonic@users.sf.net>
3396 Change _get_preset_names API to return a strv with copies. Add
3397 _get_property_names to allow implementations to filter and provide
3398 good default implementation.
3400 2007-11-20 Julien MOUTTE <julien@moutte.net>
3402 * docs/faq/gst-uninstalled: Add another library to the uninstalled
3405 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3408 More cleanups, docs, and TODOs from comments that now slowly come in.
3410 2007-11-19 Julien MOUTTE <julien@moutte.net>
3412 * docs/faq/gst-uninstalled: Add new base libraries in the LD
3415 2007-11-19 Stefan Kost <ensonic@users.sf.net>
3418 Fix bogus warning and make the property type specific code more
3421 2007-11-19 Julien MOUTTE <julien@moutte.net>
3423 * gst/gstpreset.c: (gst_preset_default_create_preset): Make
3426 2007-11-19 Wim Taymans <wim.taymans@gmail.com>
3428 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
3429 (gst_bin_add_func), (gst_bin_remove_func),
3430 (gst_bin_change_state_func), (gst_bin_continue_func):
3431 Change email, cleanups add some more debug and comments.
3432 Also set bus and clock on new elements when the pipeline was in error.
3434 2007-11-18 Stefan Kost <ensonic@users.sf.net>
3437 * gst/gstdebugutils.c:
3438 Fix build with --disable-gst-debug. Fixes #497859.
3439 Spotted by Sameer Naik.
3441 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3444 Little documentation improvment.
3447 More TODO cleanups. Remove c++ comments.
3449 * libs/gst/controller/gstcontroller.c:
3450 Add TODO and use quark from static string.
3452 * tests/check/gst/gstmessage.c:
3453 * tests/check/gst/gststructure.c:
3454 Use quark from static string.
3456 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3459 Add some comments and TODOs.
3462 Add padding for future changes.
3464 * plugins/elements/gstqueue.c:
3465 Implement the iface.
3467 2007-11-17 Stefan Kost <ensonic@users.sf.net>
3469 * docs/gst/gstreamer-docs.sgml:
3470 * docs/gst/gstreamer-sections.txt:
3471 * docs/gst/gstreamer.types.in:
3476 Add the preset interface (Fixes #396779). Do some doc cleanups along.
3478 2007-11-16 Jan Schmidt <jan.schmidt@sun.com>
3484 === release 0.10.15 ===
3486 2007-11-15 Jan Schmidt <jan.schmidt@sun.com>
3489 releasing 0.10.15, "October"
3491 2007-11-14 Jan Schmidt <jan.schmidt@sun.com>
3493 * win32/vs6/libgstreamer.dsp:
3494 Convert line endings back to DOS.
3496 2007-11-13 Stefan Kost <ensonic@users.sf.net>
3498 * docs/design/draft-tagreading.txt:
3499 * docs/random/ensonic/profiling.txt:
3500 Update fast tagreading draft and performance profiling ideas.
3502 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3504 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_last_buffer):
3505 Don't hold the object lock when unreffing a buffer because it could
3506 cause a deadlock when the finalize function wants to grab the object
3507 lock too. Fixes #495133.
3509 2007-11-09 Wim Taymans <wim.taymans@gmail.com>
3511 * gst/gstsegment.c: (gst_segment_set_newsegment_full),
3512 (gst_segment_to_stream_time), (gst_segment_to_running_time):
3513 Also accumulate time correctly when doing reverse playback. Fixes
3515 When converting to running and stream time, use default values for
3516 start/stop/time/accum when comparing different formats. Fixes #494245.
3518 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
3519 Do running/stream time in TIME format.
3521 * tests/check/gst/gstsegment.c: (GST_START_TEST),
3522 (gst_segment_suite):
3523 2 new unit tests for segment accumulation.
3525 2007-11-07 Tim-Philipp Müller <tim at centricular dot net>
3527 * gst/gst.c: (init_pre):
3528 * gst/gstdebugutils.c: (priv_gst_dump_dot_dir), (debug_dump_element),
3529 (_gst_debug_bin_to_dot_file):
3530 Move getenv() back into gst_init, so everyone can live happily
3531 ever after. Make sure the symbol isn't exported though.
3533 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3535 Patch by: Sebastien Moutte <sebastien moutte net>
3537 * win32/common/gstenumtypes.c:
3538 * win32/common/gstenumtypes.h:
3541 * win32/vs6/libgstreamer.dsp:
3542 Update vs6 project files (#494343).
3544 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3546 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query),
3547 (gst_base_src_perform_seek), (gst_base_src_default_event),
3548 (gst_base_src_set_flushing), (gst_base_src_activate_push),
3549 (gst_base_src_activate_pull):
3550 Unify flushing code, remove some old unlock code that is no longer used.
3551 Take the streaming lock when seeking to avoid races. Fixes #492729.
3552 Added some more comments.
3554 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3556 * gst/gst.c: (_gst_disable_segtrap):
3557 Make _gst_disable_segtrap static, it's only used in gstplugin.c and
3558 we can use gst_segtrap_is_enabled() there now that we have that API.
3559 Move _gst_debug_dump_dot_dir into gstdebugutils.c, there's no reason
3560 to do the getenv here (and export the variable).
3562 * gst/gstdebugutils.c: (debug_dump_element),
3563 (_gst_debug_bin_to_dot_file), (_gst_debug_bin_to_dot_file_with_ts):
3564 Don't use VLAs which is a C99ism and throws off MSVC (#493983).
3566 * gst/gstinfo.c: (_priv_gst_info_start_time), (_gst_debug_init),
3567 (gst_debug_log_default):
3568 Rename _gst_info_start_time to priv_gst_info_start_time so it
3569 doesn't get exported (was never in any header).
3571 * gst/gstplugin.c: (_gst_plugin_fault_handler_setup),
3572 (gst_plugin_loading_mutex):
3573 Make static mutex gst_plugin_loading_mutex really static (was never
3574 in any header), and use gst_segtrap_is_enabled() instead of
3575 _gst_disable_segtrap.
3577 * gst/gsttrace.c: (_gst_trace_default):
3578 Make local _gst_trace_default static (was never in any header).
3580 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3582 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3584 * win32/common/libgstbase.def:
3585 * win32/common/libgstcontroller.def:
3586 * win32/common/libgstdataprotocol.def:
3587 * win32/common/libgstnet.def:
3588 * win32/common/libgstreamer.def:
3589 Add more missing symbols, remove some duplicates, and sort
3590 as the 'sort' command sorts it (partially fixes #493983).
3592 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3594 * gst/gstelement.c: (gst_element_set_state_func):
3595 Only change the state cookie if a different state was set on the
3596 element. See #492729.
3598 2007-11-06 Tim-Philipp Müller <tim at centricular dot net>
3601 Remove unused and uninitialised type variables that were still
3602 exported for some reason (they were never in any header files
3605 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3607 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
3608 (gst_base_sink_do_sync), (gst_base_sink_preroll_object),
3609 (gst_base_sink_event), (gst_base_sink_get_position_last),
3610 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
3611 (gst_base_sink_change_state):
3612 Don't try to report a 0 position when we don't know, return -1 and FALSE
3613 instead. This mostly happens when we are prerolling.
3614 Make sure we can report the right position before we post the ASYNC_DONE
3615 message so that a message handler can query position without races.
3617 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
3618 (async_done_handoff), (async_done_func), (send_buffer),
3619 (async_done_eos_func), (gst_sinks_suite):
3620 Add two tests for the above.
3622 2007-11-06 Wim Taymans <wim.taymans@gmail.com>
3625 Update with new email address.
3627 * docs/design/part-TODO.txt:
3628 Add some more info about future pad-block and negotiation changes.
3630 * docs/design/part-buffering.txt:
3631 Add some ideas about buffering reporting.
3633 2007-11-06 Jan Schmidt <jan.schmidt@sun.com>
3635 * tests/check/gst/gstobject.c:
3636 Disable silly racy test that always fails on this combination of CPU
3639 2007-11-03 Tim-Philipp Müller <tim at centricular dot net>
3641 Patch by: Murray Cumming <murrayc@murrayc.com>
3644 Corrected the registration of the parent-set and parent-unset
3645 signals: The parameter is a GstObject, not a GObject (#493134).
3647 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3649 * gst/gst_private.h:
3658 Move declaration of private _gst_foo_initialize() functions into
3659 our private header file where they should have been all along.
3661 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3663 * docs/plugins/gstreamer-plugins-sections.txt:
3664 * gst/gstdebugutils.h:
3666 * plugins/elements/gstqueue.c:
3667 gtk-doc fixes; trailing-comma-in-enum fix.
3669 2007-11-02 Tim-Philipp Müller <tim at centricular dot net>
3671 * gst/gst.c: (gst_deinit):
3672 Clean up on deinit (not the external ones though, doesn't seem to be
3673 needed for some reason).
3675 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3677 * gst/gstinfo.h: (GST_DEBUG_CATEGORY_EXTERN):
3678 Remove __declspec(dllimport) for MSVC that was copied over into core
3679 from a plugin, obviously without ever having been tested (note the
3680 single underscore in _declspec in the initial commit), and that doesn't
3681 really make sense. See #492077.
3683 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3685 * gst/gst.c: (init_post):
3686 * gst/gstevent.c: (_gst_event_initialize):
3687 * gst/gstquery.c: (_gst_query_initialize):
3688 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_init):
3689 g_type_class_ref() other types as well, see #349410 and #64764.
3691 * gst/gstbuffer.c: (_gst_buffer_initialize):
3692 * gst/gstmessage.c: (_gst_message_initialize):
3693 Simplify existing g_type_class_ref().
3695 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3697 * gst/gstformat.c: (_gst_format_initialize):
3698 g_type_class_ref() our GstFormat type to make sure we avoid the
3699 thread-unsafe bits of the GObject/GType system, ie. bug #349410 and
3700 bug #64764. Should fix intermittent tee unit test failures (#474823).
3702 2007-11-01 Tim-Philipp Müller <tim at centricular dot net>
3704 * tests/check/elements/tee.c: (test_num_buffers):
3705 Simplify, simplify, simplify - or not. Rewrite unit test
3706 not to use gst_parse_launch(); allow N sub-streams. Increasing
3707 the number of sub-streams seems to reproduce #474823 more easily.
3709 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3711 Patch by: Ole André Vadla Ravnås <ole.andre.ravnas@tandberg.com>
3714 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_new):
3715 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
3716 * libs/gst/net/gstnettimeprovider.c: (gst_net_time_provider_new):
3717 Fix a couple of missing includes for MSVC2005 and a C99 issue. Also,
3718 starting with 2.14.0, GLib won't provide a pipe() macro any longer,
3719 so use _pipe() directly (#492077).
3721 * win32/common/dirent.c: (_treaddir):
3722 Add a couple of casts to make it build without warnings with MSVC.
3724 * win32/common/libgstreamer.def:
3725 Add some more symbols that need to be exported.
3727 2007-10-31 Tim-Philipp Müller <tim at centricular dot net>
3729 * tests/examples/metadata/read-metadata.c: (message_loop):
3730 Use _KEEP as merge mode rather than _KEEP_ALL, so tags
3731 arriving in a second or third tag message are added to
3732 the tag list as well.
3734 2007-10-31 Stefan Kost <ensonic@users.sf.net>
3736 * libs/gst/base/gstbasesrc.c:
3737 Its "Since:" and not "@Since:". And remove an superflous cast.
3739 2007-10-30 Wim Taymans <wim.taymans@gmail.com>
3741 * docs/libs/gstreamer-libs-sections.txt:
3742 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
3743 (gst_base_sink_get_last_buffer), (gst_base_sink_set_last_buffer),
3744 (gst_base_sink_get_property), (gst_base_sink_render_object),
3745 (gst_base_sink_preroll_object),
3746 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
3747 (gst_base_sink_change_state):
3748 * libs/gst/base/gstbasesink.h:
3749 Add a new last-buffer property that contains the last buffer used in
3750 basesink for preroll or rendering. useful for making snapshots.
3751 API: gst_base_sink_get_last_buffer()
3752 API: GstBaseSink::last-buffer
3754 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3756 * docs/gst/running.xml:
3758 * gst/gstdebugutils.c:
3759 * gst/gstdebugutils.h:
3760 * tools/gst-launch.c:
3761 Improve bin graph dumping, by using the envvar to specify a path.
3762 Rename the envvar to GST_DEBUG_DUMP_DOT_DIR.
3764 2007-10-29 Tim-Philipp Müller <tim at centricular dot net>
3766 * plugins/elements/gsttypefindelement.c:
3767 (gst_type_find_element_handle_event),
3768 (gst_type_find_element_activate):
3769 Post special error message if we can't determine the type of a stream
3772 2007-10-29 Stefan Kost <ensonic@users.sf.net>
3774 * docs/gst/running.xml:
3775 * gst/gstdebugutils.c:
3776 Document new env-var. Add one log-line after dumpng a graph.
3778 2007-10-26 Tim-Philipp Müller <tim at centricular dot net>
3781 Ugly hack to put the (recently removed and non-portable, apparently)
3782 -Wl,--export-dynamic back into libgstcheck's LDFLAGS when we're using
3783 GNU ld, because without that 'make check' fails miserably on my debian
3784 stable box. Someone with more knowledge of linker intricacies and
3785 portability issues than me fix this properly please.
3787 2007-10-25 Wim Taymans <wim.taymans@gmail.com>
3789 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
3790 Reset last seen position after flushing so that we don't report the old
3793 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3795 * gst/gstelementfactory.c: (gst_element_register):
3797 Patch from Alessandro Decina adding get_type_full and
3798 get_protocols_full private vfuncs to the URIHandler interface
3799 to allow bindings to support creating URI handlers.
3800 Partially fixes: #339279
3801 API: GstURIHandlerInterface::get_type_full
3802 API: GstURIHandlerInterface::get_protocols_full
3804 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3806 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
3807 (gst_multi_queue_request_new_pad), (gst_single_queue_flush),
3808 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push):
3809 Make it so that pads are considered linked until a buffer is pushed
3810 and discovered otherwise. This avoids problems with decodebin2 hanging
3811 after a seek in the filesrc ! decodebin2 name=d ! fakesink d. ! fakesink
3814 Make sure we lock the multiqueue when updating the max-size properties.
3816 Fix a crash on Solaris in a debug statement in get_request_pad that
3817 passes a NULL string to GST_DEBUG.
3819 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
3820 (run_output_order_test):
3821 Fix the test to allow the first buffer on not-linked pads to come out
3822 of sequence while multiqueue discovers that they are not-linked.
3824 2007-10-25 Jan Schmidt <Jan.Schmidt@sun.com>
3827 * libs/gst/check/Makefile.am:
3828 Use a custom export symbol regex for libgstcheck, as it needs
3829 to export symbols that don't match the standard GStreamer gst_*
3830 pattern, and --export-dynamic is not portable (only works on
3833 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
3834 (gst_check_setup_sink_pad):
3835 Make sure to pass a message parameter to the fail_* macros.
3837 * tests/check/gst/gstinfo.c: (GST_START_TEST):
3838 Fix some compiler warnings.
3840 2007-10-25 Tim-Philipp Müller <tim at centricular dot net>
3842 * tests/check/gst/gststructure.c: (test_to_string):
3843 Disable test that checks that white spaces are not allowed
3844 in structure names or field names, since we need to
3845 support that for now for backwards compatibility reasons.
3847 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3849 * docs/gst/gstreamer-sections.txt:
3852 API: add GST_TAG_ARTIST_SORTNAME
3853 API: add GST_TAG_ALBUM_SORTNAME
3854 API: add GST_TAG_TITLE_SORTNAME
3855 Add tag variants for sorting (#414539).
3857 2007-10-24 Tim-Philipp Müller <tim at centricular dot net>
3859 * gst/gststructure.c:
3860 Also allow white space for names so we don't break
3861 backwards compatibility.
3863 2007-10-22 Wim Taymans <wim.taymans@gmail.com>
3865 * docs/design/part-TODO.txt:
3866 * docs/design/part-segments.txt:
3867 * docs/design/part-streams.txt:
3870 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3872 * docs/gst/gstreamer-sections.txt:
3873 Fixed documentation from my previous commit (added new API add
3874 gst_value_set_structure(), add gst_value_get_structure() and
3875 GST_VALUE_HOLDS_STRUCTURE).
3877 2007-10-22 Stefan Kost <ensonic@users.sf.net>
3879 * gst/gstdebugutils.c:
3880 Reflow code to fix uninitialized variable warning.
3882 2007-10-22 Edgard Lima <edgard.lima@indt.org.br>
3884 * gst/gstcaps.c: (gst_caps_to_string),
3885 (gst_caps_from_string_inplace):
3886 * gst/gststructure.c: (gst_structure_get_abbrs),
3887 (gst_structure_to_string), (gst_structure_from_string):
3888 * gst/gstvalue.c: (gst_value_set_structure),
3889 (gst_value_get_structure), (gst_value_serialize_structure),
3890 (gst_value_deserialize_structure), (_gst_value_initialize):
3892 * tests/check/gst/gststructure.c: (GST_START_TEST),
3893 (gst_structure_suite):
3894 * tests/check/gst/gstvalue.c: (GST_START_TEST):
3895 Added GstStructure to gst_value_table and its related functions.
3896 Changed gst_structure_to_string to print ';' in the end.
3897 Changed gst_caps_to_string to not print ';' beteween its
3898 fields (structures) anymore and remove the lastes ';' from latest
3899 structure. Now it is possible to have nested structures.
3900 In addition, backward compatibilty is assured by accepting '\0' as
3901 end delimiter. Fixes: #487969.
3902 API: add gst_value_set_structure()
3903 API: add gst_value_get_structure()
3904 API: add GST_VALUE_HOLDS_STRUCTURE
3906 2007-10-19 Tim-Philipp Müller <tim at centricular dot net>
3909 When no GSource callback has been set up, tell developer
3910 to use a function that actually exists.
3912 2007-10-17 Stefan Kost <ensonic@users.sf.net>
3914 * docs/gst/gstreamer-sections.txt:
3918 * gst/gstdebugutils.c:
3919 * gst/gstdebugutils.h:
3922 * tools/gst-launch.c:
3923 Allow dumping pipelines as dot graphs. Fixes #456573.
3925 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3927 * gst/gststructure.c:
3928 Allow '+' as well, it can be part of media or mime types
3929 such as image/svg+xml.
3931 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3933 * docs/gst/gstreamer-sections.txt:
3936 API: add gst_bus_pop_filtered
3937 API: add gst_bus_timed_pop_filtered
3938 Two new functions for waiting for specific message types on the
3939 bus for a specified amount of time without iterating any main
3940 loops or main contexts.
3942 * tests/check/gst/gstbus.c:
3943 Some tests for the new functions.
3945 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3947 * docs/libs/gstreamer-libs-sections.txt:
3948 Make gtk-doc ignore stuff it should ignore.
3950 2007-10-16 Tim-Philipp Müller <tim at centricular dot net>
3952 * libs/gst/check/gstcheck.c:
3953 * libs/gst/check/gstcheck.h:
3954 Allow runtime selection of unit tests to run via the GST_CHECKS
3955 environment variable (test case function names, comma-separated).
3957 2007-10-16 Stefan Kost <ensonic@users.sf.net>
3959 * gst/gststructure.c:
3960 * tests/check/gst/gststructure.c:
3961 Revert serialisation change and constrain structure-names after
3962 consensus on irc. Update api documentation to reflect the change.
3964 2007-10-16 Stefan Kost <ensonic@users.sf.net>
3966 * gst/gststructure.c:
3967 Improve serialization and fix tests.
3969 * tests/check/gst/gststructure.c:
3970 Add another test that covers why I actually did the previous structure
3973 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3975 * tools/gst-inspect.c: (print_element_info):
3976 Don't crash when inspecting an element.
3978 2007-10-15 Tim-Philipp Müller <tim at centricular dot net>
3980 * tests/check/gst/gststructure.c:
3981 Add unit test for escaping of structure name when serialising
3982 and deserialising to/from strings.
3984 2007-10-15 Wim Taymans <wim.taymans@gmail.com>
3986 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
3987 (gst_single_queue_new):
3988 * plugins/elements/gstqueue.c: (gst_queue_init),
3989 (gst_queue_push_one):
3990 Fix queue negotiation. If acceptcaps unconditionally returns TRUE,
3991 upstream is tricked into thinking it can suggest a format downstream
3992 while downstream does not support that format. The real problem is that
3993 core calls acceptcaps when pushing a buffer with new caps, for which we
3994 do a little workaround by setting the caps on the srcpad ourselves
3995 before pushing the buffer (until this is figured out). Fixes #486758.
3997 2007-10-15 Stefan Kost <ensonic@users.sf.net>
3999 * gst/gststructure.c:
4001 Add some more comments and debug output. Quote structure name to fix
4002 deserialisation of some strings.
4004 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4007 Define GST_BUFFER_FLAG_GAP more strictly to enable optimizations based
4008 on it. Fix docs for GST_BUFFER_MALLOCDATA and GstBuffer.malloc_data.
4010 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4012 * tools/gst-inspect.c:
4013 Save approx. 400 1 byte allocs when printing. Use API to acces element
4019 * tools/gst-xmlinspect.c:
4020 Use API to acces element details.
4022 2007-10-15 Stefan Kost <ensonic@users.sf.net>
4025 Fix some spelling errors.
4027 2007-10-14 Wim Taymans <wim.taymans@gmail.com>
4029 * gst/gstbin.c: (bin_handle_async_done):
4030 Correctly set the next state if all of our async children commited their
4031 state. This makes sure we can actually cancel the state change in
4032 progress. Fixes a regression in Rhythmbox when seeking.
4034 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4037 Don't shadow local variable.
4040 Don't shadow global function name.
4042 2007-10-13 Tim-Philipp Müller <tim at centricular dot net>
4044 * gst/gstelementfactory.c:
4045 * gst/gstpluginfeature.c:
4046 * gst/gstpluginfeature.h:
4047 * gst/gstregistrybinary.c:
4048 * gst/gstregistryxml.c:
4049 * gst/gsttypefind.c:
4050 Use already-interned string for the private GstPluginFeature
4053 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4055 * docs/libs/gstreamer-libs-sections.txt:
4056 Add new API to docs; fixes the build.
4058 2007-10-10 Wim Taymans <wim.taymans@gmail.com>
4060 Patch inspired by: Benoit Fouet <benoit dot fouet at purplelabs dot com>
4062 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_eos),
4063 (gst_base_sink_event):
4064 * libs/gst/base/gstbasesink.h:
4065 Add function to wait for EOS, subclasses can use this to correctly wait
4066 for devices to drain before performing the EOS logic. Fixes #485343.
4067 API: gst_base_sink_wait_eos()
4069 2007-10-10 Tim-Philipp Müller <tim at centricular dot net>
4072 Cast description string constants in GST_PLUGIN_DEFINE macros
4073 to a (gchar*) to make C++ code using these macros compile
4074 without warning with g++-4.2 (see #462737). Even if slightly
4075 ugly, this seems preferable to putting the description strings
4076 into the GLib quark table or making the structure member a
4077 const gchar * and doing casts in core code that allocs and
4078 frees these strings, or requiring a cast in the C++ code.
4080 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4083 Use __FUNCTION__ instead of __PRETTY_FUNCTION__, it's silly
4084 to print the entire class/function signature into the log
4085 file for C++ code. This only affects C++ code, for C code
4086 everything remains the same.
4088 2007-10-09 Wim Taymans <wim.taymans@gmail.com>
4090 * gst/gstbin.c: (remove_from_queue):
4091 Work around a problem with pipelines containing (semi)loops until a
4092 proper, more complicated solution is ready. See #475455.
4094 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4098 * gst/gstregistrybinary.c:
4099 * gst/gstregistryxml.c:
4100 Put more strings into the GLib quark table. No need to keep
4101 a hundred-something copies of identical version strings,
4102 license strings, package name strings and package origin
4105 2007-10-09 Tim-Philipp Müller <tim at centricular dot net>
4107 * docs/manual/advanced-dataaccess.xml:
4108 Don't imply that it's okay to unconditionally change
4109 buffer data or buffer metadata in a pad probe callback,
4110 and a bunch of other comments. Fixes #430031.
4112 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4114 * win32/common/gstenumtypes.c:
4115 * win32/common/gstenumtypes.h:
4116 * win32/common/gstversion.h:
4117 Update generated files.
4119 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4121 * docs/manual/advanced-autoplugging.xml:
4122 Prefix section with broken code with a warning (see #342432).
4124 2007-10-08 Tim-Philipp Müller <tim at centricular dot net>
4126 * docs/manual/appendix-integration.xml:
4127 * docs/manual/basics-init.xml:
4128 Call g_thread_init() before g_option_context_new() to
4129 avoid warnings. Spotted by Ritesh Khadgaray. Fixes #484225.
4131 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4133 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4134 (gst_base_sink_queue_object_unlocked),
4135 (gst_base_sink_queue_object), (gst_base_sink_event),
4136 (gst_base_sink_needs_preroll), (gst_base_sink_chain_unlocked):
4137 When we received EOS and are waiting for when to post the EOS message,
4138 our state is prerolled and we should not return ASYNC.
4139 Reorganize some code paths to implement this behavior.
4141 * tests/check/generic/sinks.c: (send_eos), (GST_START_TEST),
4143 Add unit test to verify above EOS fix.
4145 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4147 * plugins/elements/gsttypefindelement.c:
4148 (gst_type_find_element_have_type), (gst_type_find_element_init),
4149 (gst_type_find_element_setcaps), (gst_type_find_element_chain):
4150 Move detecting the input caps of the sinkpad to the setcaps function.
4151 This allows us to update the output caps when we receive new input caps
4152 instead of always using the first detected caps.
4154 2007-10-08 Wim Taymans <wim.taymans@gmail.com>
4156 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
4157 (gst_base_sink_get_position):
4158 Don't try to preroll non-async elements after a flush.
4159 Subtract latency form clock times when reporting position.
4161 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4163 * gst/gstpad.c: (gst_pad_pause_task):
4165 Small comment and documentation update.
4167 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4169 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
4170 (gst_base_src_set_live), (gst_base_src_is_live),
4171 (gst_base_src_query_latency), (gst_base_src_perform_seek),
4172 (gst_base_src_default_event), (gst_base_src_wait),
4173 (gst_base_src_do_sync), (gst_base_src_get_range),
4174 (gst_base_src_pad_get_range), (gst_base_src_loop),
4175 (gst_base_src_unlock), (gst_base_src_unlock_stop),
4176 (gst_base_src_set_flushing), (gst_base_src_set_playing),
4177 (gst_base_src_activate_push), (gst_base_src_activate_pull),
4178 (gst_base_src_change_state):
4179 Rework the locking of basesrc in a similar fashion to basesink. We
4180 basically have one lock (LIVE_LOCK) protecting the dataflow. This allows
4181 us to handle live sources and semi live ones much better.
4183 Fix unlocking when seeking, shutting down and pausing in live sources.
4185 2007-10-05 Wim Taymans <wim.taymans@gmail.com>
4187 * tests/check/pipelines/simple-launch-lines.c: (run_pipeline):
4188 Fix compilation again.
4190 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4193 Use meaningful categories for the logs to clean the default one.
4195 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4197 * tests/check/pipelines/cleanup.c:
4198 Print message name and not just number.
4200 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4202 * docs/design/draft-tagreading.txt:
4203 Add some more thoughts.
4205 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4207 * tests/check/pipelines/simple-launch-lines.c:
4208 Print message name and not just number.
4210 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4212 * libs/gst/base/gsttypefindhelper.c:
4213 Speedup typefinding. This is work in progress (see #459862).
4215 2007-10-03 Stefan Kost <ensonic@users.sf.net>
4218 Fix docs that mention 'plugin_desc' instead of 'gst_plugin_desc'.
4219 Spotted by Josep Torra Valles <josep@fluendo.com>.
4221 2007-10-03 Tim-Philipp Müller <tim at centricular dot net>
4224 Fix up broken GST_CLOCK_FLAGS macro and GstClock docs. The flags
4225 field has moved to GstObject.
4227 2007-10-02 Wim Taymans <wim.taymans@gmail.com>
4229 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync),
4230 (gst_base_src_get_range), (gst_base_src_change_state):
4231 Call unlock for live sources so that they can't get stuck in _create and
4232 produce a buffer before they are set back to PLAYING.
4234 2007-10-02 Edward Hervey <bilboed@bilboed.com>
4236 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4237 (gst_queue_locked_dequeue):
4238 Comment the segment-related code... in the PROPER function.
4239 See #482147 and my commit from yesterday.
4241 2007-10-01 Wim Taymans <wim.taymans@gmail.com>
4243 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
4244 Also initialize the counter that calculates the first timestamp on a
4245 buffer correctly for non-live sources.
4247 2007-10-01 Edward Hervey <bilboed@bilboed.com>
4249 * plugins/elements/gstqueue.c: (gst_queue_locked_dequeue):
4250 Disable code that's breaking the current-time-level reporting.
4253 2007-09-30 Sebastian Dröge <slomo@circular-chaos.org>
4255 * docs/gst/gstreamer-sections.txt:
4256 Add M_PI and IMPORT_SYMBOL to the private part of the GstInfo section
4257 as they shouldn't show up. Fixes the docs build.
4259 2007-09-29 Sebastien Moutte <sebastien@moutte.net>
4262 Add an explicit variable importation needed on VS6 (only for MSC_VER)
4263 Define M_PI which is used in files which are including gstinfo.h.
4264 VS6 includes doesn't define it.
4265 * win32/common/libgstbase.def:
4266 * win32/common/libgstcontroller.def:
4267 * win32/common/libgstreamer.def:
4268 Add new exported functions and variables.
4269 * win32/vs6/libgstcontroller.dsp:
4270 * win32/vs6/libgstreamer.dsp:
4271 Update the list of files to build.
4273 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4275 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4277 * plugins/elements/gstqueue.c: (update_time_level), (apply_buffer),
4278 (gst_queue_locked_dequeue), (gst_queue_handle_sink_event),
4279 (gst_queue_chain), (gst_queue_loop), (gst_queue_src_activate_push):
4280 Improve debugging. Fixes #480858.
4282 2007-09-28 Wim Taymans <wim.taymans@gmail.com>
4284 Patch by: Felipe Contreras <felipe dot contreras at gmail dot com>
4286 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
4287 First patch of code cleanups, use the macros and right arguments in the
4288 macros to signal and lock the queue. See #480858.
4290 2007-09-26 Wim Taymans <wim.taymans@gmail.com>
4292 * gst/gstbus.c: (poll_func):
4293 Improve debugging when dealing with _poll().
4295 2007-09-26 Tim-Philipp Müller <tim at centricular dot net>
4297 * gst/gstregistryxml.c:
4298 Fix memory leak I introduced a few days ago.
4300 2007-09-26 Michael Smith <msmith@fluendo.com>
4302 * gst/gstbuffer.c: (gst_buffer_finalize):
4303 Make it once again possible to free GstBuffers in the default
4305 The poisoning scribbles on parts of the miniobject we need in
4309 2007-09-25 Tim-Philipp Müller <tim at centricular dot net>
4311 * docs/gst/gstreamer-sections.txt:
4314 API: add GST_TAG_COMPOSER, fixes #459809.
4316 2007-09-24 Sebastian Dröge <slomo@circular-chaos.org>
4320 Add the 3-clause BSD license and the MIT/X11 license to the license
4321 list. Fixes #479784.
4323 2007-09-24 Tim-Philipp Müller <tim at centricular dot net>
4325 * docs/faq/getting.xml:
4326 Add Q+A about different GStreamer versions (#364056).
4328 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4330 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4331 (gst_base_sink_event), (gst_base_sink_change_state):
4332 Return correct gboolean from query function.
4334 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4336 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
4337 (gst_base_sink_event), (gst_base_sink_query),
4338 (gst_base_sink_change_state):
4339 Simplify latency query.
4340 When not synchronizing, we can report latency without querying the peer
4343 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4347 Fix small typos in the docs.
4349 2007-09-24 Wim Taymans <wim.taymans@gmail.com>
4351 * docs/design/draft-latency.txt:
4352 * docs/design/draft-push-pull.txt:
4353 * docs/design/draft-tagreading.txt:
4354 * docs/design/part-MT-refcounting.txt:
4355 * docs/design/part-activation.txt:
4356 * docs/design/part-block.txt:
4357 * docs/design/part-element-source.txt:
4358 * docs/design/part-events.txt:
4359 * docs/design/part-gstbin.txt:
4360 * docs/design/part-gstelement.txt:
4361 * docs/design/part-gstobject.txt:
4362 * docs/design/part-gstpipeline.txt:
4363 * docs/design/part-messages.txt:
4364 * docs/design/part-preroll.txt:
4365 * docs/design/part-push-pull.txt:
4366 * docs/design/part-qos.txt:
4367 * docs/design/part-query.txt:
4368 * docs/design/part-scheduling.txt:
4369 * docs/design/part-seeking.txt:
4370 * docs/design/part-segments.txt:
4371 * docs/design/part-states.txt:
4372 Documentation updates and typo fixes.
4374 2007-09-23 Tim-Philipp Müller <tim at centricular dot net>
4376 * plugins/elements/gstfakesink.c:
4377 Add some debug text to error message to indicate that
4378 we errored out on request.
4380 * tools/gst-launch.c:
4381 When the state change to PLAYING fails, check for an
4382 error message on the bus and print it.
4384 2007-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
4386 translated by: Jorge González González <aloriel@gmail.com>
4390 Added Spanish translation.
4392 2007-09-21 Wim Taymans <wim.taymans@gmail.com>
4394 * plugins/elements/gstqueue.c: (gst_queue_push_one):
4395 Fix printf arguments.
4397 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4399 * tests/check/generic/states.c:
4400 Improved state change unit test.
4402 2007-09-20 Stefan Kost <ensonic@users.sf.net>
4405 Move priv to the right place.
4407 * gst/gstsystemclock.c:
4408 Add FIXME: and improve log.
4410 * tests/check/Makefile.am:
4411 * tests/examples/manual/Makefile.am:
4412 Work with all types of registries.
4414 2007-09-19 Wim Taymans <wim.taymans@gmail.com>
4416 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4417 Don't unref the event after pushing it. Fixes #478401.
4419 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4422 * tests/examples/manual/.cvsignore:
4423 Ignore registries in any format.
4425 2007-09-19 Tim-Philipp Müller <tim at centricular dot net>
4427 * gst/glib-compat-private.h:
4428 Add compatibility macro for g_intern_string() for
4429 GLib-2.8 (any reason we can't just bump the
4430 requirement to at least 2.10?)
4432 * gst/gstpadtemplate.h:
4433 * gst/gstelementfactory.c:
4434 * gst/gstregistryxml.c:
4435 * gst/gstregistrybinary.c:
4436 Make GstStaticPadTemplate's templ_name field a const gchar * and fix
4437 up the internal code accordingly. This shouldn't be a problem, since
4438 there is no reason external code could ever assume the string in such
4439 a structure is dynamically allocated unless it did that itself; the
4440 use of g_strdup() is private to element factories. The new code also
4441 saves some memory by putting pad template name strings into the GLib
4442 quark table instead of allocating them dynamically.
4443 Declaring this field constant fixes warnings with g++-4.2 when using
4444 the GST_STATIC_PAD_TEMPLATE macro in c++ code (#478092).
4446 2007-09-19 Stefan Kost <ensonic@users.sf.net>
4448 * gst/gstelementfactory.c:
4449 Release static caps. Fixes #475723.
4451 2007-09-18 Tim-Philipp Müller <tim at centricular dot net>
4455 Make some internal API take const gchar * instead of just
4456 gchar * to avoid compiler warnings with g++-4.2.2 when
4457 passing string constants (partially fixes #478092).
4459 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4461 * gst/gstbin.c: (bin_query_latency_fold), (gst_bin_query):
4462 A latency query fails when one of the sinks fail.
4464 * gst/gstelement.c: (gst_element_set_base_time):
4467 2007-09-17 Jan Schmidt - Sun Microsystems <jan.schmidt@sun.com>
4469 * gst/gstbin.c: (gst_bin_continue_func):
4470 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4471 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad_full):
4472 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_loop):
4474 Fix minor compilation warnings shown with Forte.
4476 2007-09-17 Wim Taymans <wim.taymans@gmail.com>
4478 * plugins/elements/gstqueue.c: (apply_buffer),
4479 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue):
4480 Measure queue level based on the diff between head and tail timestamps
4481 even when pushing the first buffer.
4483 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4485 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4486 (gst_base_sink_event), (gst_base_sink_change_state):
4487 Sinks that don't preroll can always be queried for the latency.
4488 Don't post ASYNC start when we are not async.
4490 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4492 * plugins/elements/gstqueue.c: (gst_queue_locked_enqueue),
4493 (gst_queue_handle_sink_event), (gst_queue_chain),
4494 (gst_queue_push_one), (gst_queue_handle_src_query),
4495 (gst_queue_sink_activate_push), (gst_queue_src_activate_push):
4496 * plugins/elements/gstqueue.h:
4497 When downstream returns UNEXPECTED from pushing a buffer, don't try to
4498 push more buffers but allow pushing of EOS and NEWSEGMENT.
4499 Add some more debug info here and there. Fixes #476514.
4501 2007-09-14 Wim Taymans <wim.taymans@gmail.com>
4503 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
4504 (gst_base_sink_preroll_queue_flush), (gst_base_sink_commit_state),
4505 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4506 (gst_base_sink_set_flushing), (gst_base_sink_query),
4507 (gst_base_sink_change_state):
4508 Latency query is allowed after we are prerolled. Introduce a new flag
4509 for this and stop abusing other variables.
4511 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4513 * libs/gst/base/gstbasesrc.c: (gst_base_src_send_event):
4514 Push OOB events downstream when we get them in send_event. This allows
4515 the application to insert events in the pipeline.
4516 Add some more comments.
4518 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4520 * gst/gstbin.c: (gst_bin_class_init), (clear_queue),
4521 (do_bin_latency), (gst_bin_change_state_func):
4522 * gst/gstpipeline.c: (gst_pipeline_change_state):
4523 Move latency query from GstPipeline to GstBin so that we can also
4524 use it when async-handling is enabled on bins.
4526 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4528 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4529 (gst_base_src_do_sync), (gst_base_src_change_state):
4531 Clean up the timestamping and syncing code for pseudo live sources.
4533 2007-09-13 Tim-Philipp Müller <tim at centricular dot net>
4535 Patch by: Steve Fink <sphink gmail com>
4537 * docs/manual/appendix-checklist.xml:
4538 Mention less -R switch in the section about debug output (#474055).
4540 2007-09-13 Wim Taymans <wim.taymans@gmail.com>
4542 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
4543 Queue can latency to the pipeline up to the configured max size in time.
4544 Report this fact in the latency query.
4546 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4548 Patch by: Sebastien Moutte <sebastien at moutte dot net>
4550 * libs/gst/controller/gstinterpolation.c:
4551 * libs/gst/controller/gstlfocontrolsource.c:
4552 Use gst_guint64_to_gdouble() when converting from a uint64 or
4553 GstClockTime to double to fix the build on win32. Fixes #474371.
4555 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4557 * gst/gstbuffer.c: (gst_buffer_finalize):
4558 Implement poisoning for GstBuffer if --enable-poisoning is specified.
4559 When finalizing a buffer the complete struct is filled with 0xff,
4560 thus making a use of the buffer after the final unref impossible.
4562 2007-09-13 Sebastian Dröge <slomo@circular-chaos.org>
4564 * tests/check/libs/controller.c: (GST_START_TEST):
4565 Use fail_unless_equals_int(a, b) instead of
4566 fail_unless_equals (a == b) to get better output on failures.
4568 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4570 * tests/check/gst/gsturi.c:
4571 Also check for the other file URI variant on win32.
4573 2007-09-12 Tim-Philipp Müller <tim at centricular dot net>
4575 * gst/gsturi.c: (gst_uri_get_location):
4576 If there's no hostname, we want to return 'c:/foo/bar.txt'
4577 and not '/c:/foo/bar.txt' on Windows. Fixes #469402.
4579 * tests/check/gst/gsturi.c:
4580 Unit test for the above and a few more things.
4582 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4584 * docs/design/part-live-source.txt:
4585 Add docs on how live sources should timestamp.
4587 * libs/gst/base/gstbasesrc.c: (gst_base_src_do_sync):
4588 Add some more debug info.
4589 For subclasses that are live and like to sync, add aditional startup
4590 latency to sync time and timestamps so that we timstamp according to the
4593 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4596 Also do a g_type_class_ref() for the subbuffer type in
4599 2007-09-11 Wim Taymans <wim.taymans@gmail.com>
4601 * docs/gst/gstreamer-sections.txt:
4602 * gst/gstpad.c: (gst_pad_peer_query):
4604 Add function to perform a query on the peer of a pad.
4605 API: gst_pad_peer_query()
4607 2007-09-11 Stefan Kost <ensonic@users.sf.net>
4609 * tests/check/gst/gstsystemclock.c:
4610 Cleanup the test a little (use gst-logging and not g_message). Improve
4611 test to check if a wait reached the target.
4613 2007-09-11 Tim-Philipp Müller <tim at centricular dot net>
4615 * docs/libs/gstreamer-libs-sections.txt:
4616 Add new API to docs and fix the build.
4618 2007-09-10 Wim Taymans <wim.taymans@gmail.com>
4620 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
4621 (gst_base_src_init), (gst_base_src_set_do_timestamp),
4622 (gst_base_src_get_do_timestamp), (gst_base_src_set_property),
4623 (gst_base_src_get_property), (gst_base_src_do_sync):
4624 * libs/gst/base/gstbasesrc.h:
4625 Add property to make the basesrc timestamp buffers based on the current
4627 API: GstBaseSrc::do-timestamp
4628 API: gst_base_src_set_do_timestamp()
4629 API: gst_base_src_get_do_timestamp()
4631 2007-09-08 Tim-Philipp Müller <tim at centricular dot net>
4633 * docs/random/release:
4634 Really make sure translations are up-to-date before
4635 a release (#465010).
4637 2007-09-07 Sebastian Dröge <slomo@circular-chaos.org>
4639 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
4640 Always destroy the timer, also in error cases.
4642 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4644 * docs/manual/highlevel-xml.xml:
4645 Fix XML example code. Fixes #472714.
4647 2007-09-05 Wim Taymans <wim.taymans@gmail.com>
4649 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
4650 (gst_base_sink_wait_preroll), (gst_base_sink_needs_preroll),
4651 (gst_base_sink_query):
4652 Protect eos and have_preroll with the OBJECT lock so we don't need to
4653 take the PREROLL lock when querying the latency. Fixes #473846.
4655 2007-09-05 Stefan Kost <ensonic@users.sf.net>
4658 Give some log-messages a category.
4660 2007-09-04 Wim Taymans <wim.taymans@gmail.com>
4662 * gst/gststructure.c:
4663 (gst_structure_fixate_field_nearest_fraction):
4664 Fix fraction list fixation code. Take the fraction with the smallest
4665 difference with the target instead of the first one in the list.
4667 * tests/check/gst/gststructure.c: (GST_START_TEST),
4668 (gst_structure_suite):
4669 Added test to verify correct fraction list fixation behaviour.
4671 2007-09-02 Tim-Philipp Müller <tim at centricular dot net>
4673 * win32/common/libgstreamer.def:
4674 Export gst_bus_add_signal_watch too.
4676 2007-08-30 Wim Taymans <wim.taymans@gmail.com>
4678 * docs/libs/gstreamer-libs-sections.txt:
4679 Add new methods to docs.
4681 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4682 (gst_base_sink_init), (gst_base_sink_set_ts_offset),
4683 (gst_base_sink_get_ts_offset), (gst_base_sink_set_property),
4684 (gst_base_sink_get_property), (gst_base_sink_wait_clock):
4685 * libs/gst/base/gstbasesink.h:
4686 Add ts-offset property to fine-tune the synchronisation.
4687 API: GstBaseSink::ts-offset property
4688 API: gst_base_sink_set_ts_offset()
4689 API: gst_base_sink_get_ts_offset()
4691 2007-08-29 Wim Taymans <wim.taymans@gmail.com>
4693 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
4694 (gst_base_sink_init), (gst_base_sink_set_sync),
4695 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
4696 (gst_base_sink_get_max_lateness), (gst_base_sink_set_qos_enabled),
4697 (gst_base_sink_is_qos_enabled), (gst_base_sink_set_async_enabled),
4698 (gst_base_sink_is_async_enabled), (gst_base_sink_set_property),
4699 (gst_base_sink_get_property), (gst_base_sink_change_state):
4700 * libs/gst/base/gstbasesink.h:
4701 Add async property to instruct the sink never to inform the parent about
4702 ASYNC state changes, update docs.
4703 Check argument with g_return_* for the public functions.
4704 API: GstBaseSink::async property
4705 API: gst_base_sink_set_async_enabled()
4706 API: gst_base_sink_is_async_enabled()
4708 2007-08-28 Wim Taymans <wim.taymans@gmail.com>
4710 * libs/gst/base/gstbasesink.c: (gst_base_sink_loop):
4713 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
4714 (gst_base_src_default_query), (gst_base_src_wait),
4715 (gst_base_src_do_sync), (gst_base_src_change_state):
4716 Rearrange some code so that we can add support for measuring the
4719 2007-08-27 Stefan Kost <ensonic@users.sf.net>
4721 * docs/random/ensonic/dynlink.txt:
4722 More thoughs on this.
4724 * plugins/elements/gstcapsfilter.c:
4725 Add bugzilla ticket number to FIXME comment.
4727 2007-08-24 Wim Taymans <wim.taymans@gmail.com>
4729 * docs/design/part-TODO.txt:
4730 * docs/design/part-block.txt:
4733 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4736 Revert patch which uses $(gst_headers) instead of $^ because it
4739 2007-08-24 Jan Schmidt <thaytan@mad.scientist.com>
4741 * tests/check/gst/gstbin.c: (GST_START_TEST):
4742 Fix leaks in the new unit test.
4744 2007-08-23 Tim-Philipp Müller <tim at centricular dot net>
4747 Don't use GST_INFO before the debug system is actually initialised
4748 (shouldn't do any harm, but won't print anything either, so we can
4749 just as well remove it).
4752 GST_CAT_LEVEL_LOG_valist(), which is our inline helper function for
4753 compilers that don't support variadic macros (such as MSVC), should
4754 check for debug_level <= __gst_debug_min as well, since that's the
4755 function called from all the level-specific GST_CAT_*_LOG_OBJECT()
4756 inline helper functions. Should improve performance a bit, but also
4757 makes sure uses of GST_INFO et.al are ignored if the debugging
4758 system isn't initialised yet (instead of printing an assertion
4761 2007-08-23 Stefan Kost <ensonic@users.sf.net>
4763 patch by: David Nečas <yeti@physics.muni.cz>
4766 Replace some non portable makefile constructs.
4768 2007-08-21 Stefan Kost <ensonic@users.sf.net>
4770 * common/gtk-doc-plugins.mak:
4771 Grrrrr. Don't remove the types file on make clean.
4773 2007-08-20 Wim Taymans <wim.taymans@gmail.com>
4775 * tools/gst-launch.1.in:
4776 Add colorspace to example pipeline. Fixes #458274.
4778 2007-08-20 Tim-Philipp Müller <tim at centricular dot net>
4780 * docs/random/release:
4781 The release manager should run 'make download-po' before making a
4782 release to make sure translations are up-to-date.
4788 Add some new translations.
4790 2007-08-17 Wim Taymans <wim.taymans@gmail.com>
4792 * tools/gst-launch.c: (event_loop), (main):
4793 Don´t try to do any state management when a live pipeline posts
4795 Also make the buffering string translatable.
4797 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4799 * gst/gstbin.c: (is_eos), (gst_bin_add_func),
4800 (bin_handle_async_start), (gst_bin_handle_message_func):
4802 When adding elements, insert messages into the bus of the newly added
4803 element and make sure the element is the source of the message. This
4804 allows the parent bin to intercept the message and do the
4805 right thing. It also avoids us posting ASYNC_START and CLOCK_PROVIDE
4806 messages to the app (which is not allowed).
4809 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
4810 Fix testsuite so that is does not work around messages that should not
4811 have been posted in the first place.
4813 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4815 * gst/gstbin.c: (add_to_queue), (remove_from_queue), (clear_queue),
4816 (update_degree), (gst_bin_sort_iterator_next):
4817 Fix annoying bug in the sorted iterator where a sink that is not really
4818 a sink (when it has downstream links) screwed up the iterator.
4820 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
4821 Unit test to verify the fix.
4823 2007-08-16 Wim Taymans <wim.taymans@gmail.com>
4826 Add some more docs for the messages.
4828 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
4829 (gst_base_sink_query):
4830 Add some more debugging.
4832 * tools/gst-launch.c: (event_loop):
4833 When interrupting, don't try to set pipeline to PAUSED twice.
4835 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4838 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_element_set_state),
4839 (bin_handle_async_start), (gst_bin_handle_message_func):
4840 Move ASYNC_START message posting to where it belongs, similar to
4842 Don't post ASYNC_START when we are in error.
4843 Post ASYNC_START when we added an async element to a bin.
4845 2007-08-14 Julien MOUTTE <julien@moutte.net>
4847 * gst/gstindex.c: (gst_index_add_association): Fix index entry
4848 generation from vargs. Fixes #466595.
4850 2007-08-14 Wim Taymans <wim.taymans@gmail.com>
4852 * gst/gstbin.c: (gst_bin_element_set_state):
4853 Always change the state of a NO_PREROLL element even if it has ASYNC
4854 elements inside (in case of a bin).
4856 * tests/check/generic/sinks.c: (GST_START_TEST), (gst_sinks_suite):
4857 Unit test for this case.
4859 2007-08-13 Stefan Kost <ensonic@users.sf.net>
4861 * libs/gst/check/gstbufferstraw.c:
4862 * libs/gst/check/gstcheck.h:
4863 * libs/gst/controller/gstcontroller.c:
4864 * libs/gst/controller/gstcontrolsource.h:
4865 * libs/gst/controller/gstlfocontrolsource.h:
4866 * plugins/elements/gstcapsfilter.h:
4867 * plugins/elements/gstfdsink.h:
4868 * plugins/elements/gstfdsrc.h:
4869 Add more missing docs.
4871 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4873 * gst/gststructure.c:
4874 Add Since tag to docs.
4876 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4878 * docs/gst/gstreamer-sections.txt:
4879 * gst/gststructure.c: (gst_structure_get_uint):
4880 * gst/gststructure.h:
4881 Add function to get uint from a structure.
4882 API: gst_structure_get_uint()
4884 2007-08-12 Wim Taymans <wim.taymans@gmail.com>
4886 * gst/gstcaps.c: (gst_caps_set_simple_valist),
4887 (gst_caps_intersect):
4888 Fix proper check for simple caps.
4890 2007-08-10 Stefan Kost <ensonic@users.sf.net>
4892 * docs/gst/Makefile.am:
4893 * docs/libs/Makefile.am:
4894 Remove cruft and do some cleanups.
4896 * docs/gst/gstreamer-docs.sgml:
4897 * docs/libs/gstreamer-libs-docs.sgml:
4898 Prepare for comming gtkdoc features (rebase against online docs).
4900 2007-08-10 Michael Smith <msmith@fluendo.com>
4902 * docs/gst/gstreamer-sections.txt:
4903 Add gst_registry_add_path to docs.
4905 2007-08-10 Michael Smith <msmith@fluendo.com>
4907 * gst/gstregistry.h:
4908 Add gst_registry_add_path, which was missing from this header.
4910 2007-08-10 Tim-Philipp Müller <tim at centricular dot net>
4912 * libs/gst/controller/gstlfocontrolsource.c:
4915 2007-08-09 Philippe Kalaf <philippe.kalaf@collabora.co.uk>
4917 * libs/gst/base/gstbasesink.c:
4918 Don't send an async_start message during downwards state change if
4919 target state is less than READY
4921 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4923 translated by: Gabor Kelemen <kelemeng@gnome.hu>
4927 Added Hungarian translation.
4929 2007-08-09 Thomas Vander Stichele <thomas at apestaart dot org>
4936 Updated translations.
4938 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
4940 * libs/gst/controller/Makefile.am:
4941 Dist gstlfocontrolsourceprivate.h
4943 2007-08-07 Jan Schmidt <thaytan@mad.scientist.com>
4945 * docs/libs/gstreamer-libs.types:
4946 Don't register the enum type gst_lfo_waveform_get_type() in the
4947 .types file - only GObject derived types belong.
4949 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
4951 Patch by: <arenevier at fdn dot fr>
4954 Remove comma from last element in enum to avoid compile errors when
4955 using -pendantic. Fixes #464366.
4957 2007-08-07 Wim Taymans <wim.taymans@gmail.com>
4959 * docs/design/part-TODO.txt:
4960 Add some more TODO items
4962 * gst/gstbin.c: (find_message), (gst_bin_change_state_func):
4965 * gst/gstcaps.c: (gst_caps_intersect):
4966 Optimize trivial intersection case between identical caps pointers.
4968 * gst/gstelement.c: (gst_element_continue_state),
4969 (gst_element_set_state_func):
4971 Fix spelling and grammar mistakes.
4973 2007-08-05 Stefan Kost <ensonic@users.sf.net>
4977 Update POTFILES. Fixes #461599.
4979 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
4982 Fix confusing typo in debug output.
4984 2007-08-03 Sebastian Dröge <slomo@circular-chaos.org>
4986 reviewed by: Stefan Kost <ensonic@users.sf.net>
4988 * libs/gst/controller/Makefile.am:
4989 * libs/gst/controller/gstlfocontrolsource.c: (_calculate_pos),
4990 (gst_lfo_waveform_get_type), (gst_lfo_control_source_reset),
4991 (gst_lfo_control_source_new),
4992 (gst_lfo_control_source_set_waveform),
4993 (gst_lfo_control_source_bind), (gst_lfo_control_source_init),
4994 (gst_lfo_control_source_finalize),
4995 (gst_lfo_control_source_dispose),
4996 (gst_lfo_control_source_set_property),
4997 (gst_lfo_control_source_get_property),
4998 (gst_lfo_control_source_class_init):
4999 * libs/gst/controller/gstlfocontrolsource.h:
5000 * libs/gst/controller/gstlfocontrolsourceprivate.h:
5001 API: Add GstLFOControlSource, a control source that gives values
5002 for specific timestamps based on several periodic waveforms.
5005 * tests/check/libs/controller.c: (GST_START_TEST),
5006 (gst_controller_suite):
5007 * docs/libs/gstreamer-libs-docs.sgml:
5008 * docs/libs/gstreamer-libs-sections.txt:
5009 * docs/libs/gstreamer-libs.types:
5010 Add documentation and unit tests for GstLFOControlSource.
5012 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5017 === release 0.10.14 ===
5019 2007-08-03 Jan Schmidt <thaytan@mad.scientist.com>
5022 releasing 0.10.14, "Breathing Vacuum"
5024 2007-08-02 Tim-Philipp Müller <tim at centricular dot net>
5026 * gst/gstelement.c: (gst_element_class_set_details_simple):
5028 Make strings passed to gst_element_class_set_details_simple()
5029 constant, as they should be (#462752).
5031 2007-08-02 Wim Taymans <wim.taymans@gmail.com>
5033 * gst/gstbin.c: (gst_bin_change_state_func),
5034 (bin_handle_async_done), (gst_bin_handle_message_func):
5035 Don't forget about the fact that some element went ASYNC even after a
5036 resync. This makes us post the ASYNC_DONE message correctly.
5039 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5041 * gst/gstregistry.c: (gst_registry_add_feature):
5042 When replacing an existing feature in the registry, make sure to
5043 continue holding a reference until we've replaced the name string
5044 within our feature hash table. Make sure to use g_hash_table_replace
5045 instead of g_hash_table_insert to ensure the new name string is used
5046 as a key instead of the old one that we're about to free.
5049 2007-07-31 Jan Schmidt <thaytan@mad.scientist.com>
5051 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5052 (gst_plugin_feature_set_name):
5053 Revert patch from #459466 until after the release and we can work
5054 out exactly what the problem is (if any).
5056 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5058 * docs/gst/gstreamer-sections.txt:
5061 API: add GST_TAG_LICENSE_URI and GST_TAG_COPYRIGHT_URI (#451939).
5063 2007-07-26 Jan Schmidt <thaytan@mad.scientist.com>
5065 * docs/libs/Makefile.am:
5066 Include our build-prefix libs and includes before the generic ones to
5067 avoid linking against the installed libs when we want the build-tree
5070 2007-07-26 Tim-Philipp Müller <tim at centricular dot net>
5072 Patch by: Steve Fink <sphink gmail com>
5074 * docs/pwg/building-testapp.xml:
5075 Mention that GST_PLUGIN_PATH or --gst-plugin-path might be needed
5076 if people try to build or install the example from the plugin
5077 template against a GStreamer from package using the configure
5080 2007-07-25 Tim-Philipp Müller <tim at centricular dot net>
5082 Patch by: Steve Fink <sphink gmail com>
5084 * tools/gst-inspect.1.in:
5085 Document --print-all and --print-plugin-auto-install-info command
5086 line options in man page.
5088 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5090 * docs/gst/gstreamer-sections.txt:
5091 Add docs for new api function.
5093 2007-07-25 Wim Taymans <wim.taymans@gmail.com>
5095 * gst/gstelementfactory.c: (gst_element_factory_has_interface):
5096 * gst/gstelementfactory.h:
5097 API: gst_element_factory_has_interface()
5098 Added method to check if an element factory implements a named
5101 2007-07-25 Stefan Kost <ensonic@users.sf.net>
5104 * docs/gst/gstreamer.types.in:
5105 Another conditional doc check.
5108 * gst/gstparamspecs.h:
5109 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
5114 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5116 * gst/gstregistrybinary.c: (gst_registry_binary_check_magic),
5117 (gst_registry_binary_load_feature),
5118 (gst_registry_binary_load_plugin),
5119 (gst_registry_binary_read_cache):
5120 Print error just once and with additional info.
5122 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5124 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
5125 (helper_find_suggest), (helper_find_get_length),
5126 (gst_type_find_helper_get_range), (buf_helper_find_suggest),
5127 (gst_type_find_helper_for_buffer):
5128 Cleanup the typefindhelper code and add private doc comments.
5130 2007-07-24 Edward Hervey <bilboed@bilboed.com>
5132 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5133 (gst_capsfilter_transform_size), (gst_capsfilter_prepare_buf):
5134 Fix capsfilter for cases where the caps set on capsfilter will provide
5135 additional information.
5138 2007-07-24 Stefan Kost <ensonic@users.sf.net>
5140 * gst/gsttypefindfactory.c:
5141 Fix docs that recommened wrong function to use.
5143 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5145 * tools/gst-inspect.c: (print_plugin_features):
5146 Also give media-type for typefinders in element output.
5148 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5150 * gst/gstregistry.c: (gst_registry_init), (gst_registry_finalize),
5151 (gst_registry_remove_features_for_plugin_unlocked),
5152 (gst_registry_add_feature), (gst_registry_remove_feature),
5153 (gst_registry_lookup_feature_locked):
5154 * gst/gstregistry.h:
5155 Speed up gst_registry_lookup_feature_locked() by using a hashmap.
5158 2007-07-23 Stefan Kost <ensonic@users.sf.net>
5160 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
5161 (gst_plugin_feature_set_name):
5162 Avoid double memory usage for pluginfeature names. Fixes #459466.
5164 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5167 Small addition to GST_FLOW_IS_FATAL() docs: mention that elements
5168 driving the pipeline may need to explicitly check for NOT_LINKED as
5169 well, since IS_FATAL doesn't cover that.
5171 2007-07-22 Tim-Philipp Müller <tim at centricular dot net>
5173 * docs/pwg/advanced-types.xml:
5174 Fix typo and duplicate entry in video formats list.
5176 2007-07-22 Sebastian Dröge <slomo@circular-chaos.org>
5178 * libs/gst/controller/gstinterpolation.c:
5179 Also round to the nearest int when using cubic interpolation.
5181 2007-07-19 Jan Schmidt <thaytan@noraisin.net>
5183 * libs/gst/controller/gstinterpolation.c:
5184 When linearly interpolating integer types, round to the nearest int
5185 by adding 0.5. Don't do it for float/double types.
5186 Fixes the failing controller test on my machine, which is somehow
5187 rounding differently than on the buildbots.
5189 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5191 * tools/gst-plot-timeline.py:
5192 Better log parsing (categories can have -). Adjust text vs. lines, so
5193 that they span the same y-range.
5195 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5197 * docs/random/ensonic/audiobaseclasses.txt:
5198 * docs/random/ensonic/dynlink.txt:
5199 * docs/random/ensonic/profiling.txt:
5202 * docs/random/moving-plugins:
5203 Add note to use g_assert type macros.
5205 2007-07-20 Stefan Kost <ensonic@users.sf.net>
5208 * libs/gst/check/Makefile.am:
5209 Add libm check as we use in for plugins.
5211 2007-07-18 Jan Schmidt <thaytan@noraisin.net>
5213 * gst/gstbin.c: (gst_bin_continue_func):
5214 Check that the state_cookie hasn't changed since the continue_func
5215 was scheduled. Avoids problems where the state changes back to
5216 something it shouldn't be because it was changed in the meantime.
5218 2007-07-17 Stefan Kost <ensonic@users.sf.net>
5220 * gst/gstregistrybinary.c: (gst_registry_binary_save_const_string),
5221 (gst_registry_binary_save_string),
5222 (gst_registry_binary_save_pad_template),
5223 (gst_registry_binary_save_feature),
5224 (gst_registry_binary_save_plugin),
5225 (gst_registry_binary_load_feature),
5226 (gst_registry_binary_load_plugin),
5227 (gst_registry_binary_read_cache):
5228 Fix memory leak. Be less verbose in the log.
5230 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5232 * tests/check/elements/.cvsignore:
5233 Add file to cvsignore as commanded.
5235 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5237 * tests/check/elements/multiqueue.c: (mq_dummypad_chain),
5238 (mq_dummypad_event), (run_output_order_test):
5239 Use a GStaticMutex to protect all cases where libcheck
5240 fail_if/fail_unless macros might be called from multiple threads
5241 simultaneously to avoid errors like:
5242 "check_pack.c:107: :-1081725400:Bad message type arg"
5244 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5246 * tests/check/pipelines/stress.c: (GST_START_TEST):
5247 Make sure we set the pipeline back to the NULL state before
5248 dropping our final reference.
5250 2007-07-16 Jan Schmidt <thaytan@mad.scientist.com>
5252 * tests/check/elements/tee.c: (GST_START_TEST):
5253 Make the tee stress-test a little less stressful so it doesn't just
5254 time out on slow-machines, and remove a small race when it's starting
5255 up by adding a get_state() call.
5257 2007-07-16 Stefan Kost <ensonic@users.sf.net>
5260 Avoid reading registry twice on startup. Fixes #457322.
5262 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5264 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5265 * pkgconfig/gstreamer-check.pc.in:
5266 Substitute the CFLAGS for libcheck into our .pc file too so that
5267 dependent modules will pick it up properly if libcheck is installed
5268 into some other prefix.
5270 2007-07-13 Jan Schmidt <thaytan@mad.scientist.com>
5273 Revert the pkg-config check for libcheck, since it pulls in the
5274 wrong non-PIC libcheck.a on Ubuntu and probably Fedora too. We need
5275 a proper solution, either from the check project, or something else.
5277 2007-07-12 Stefan Kost <ensonic@users.sf.net>
5280 Use pkg-config to locate check.
5282 2007-07-10 Stefan Kost <ensonic@users.sf.net>
5289 Add deprecation guards.
5291 * libs/gst/base/gstcollectpads.h:
5292 Don't document object (this is implicitly private).
5294 2007-07-08 Tim-Philipp Müller <tim at centricular dot net>
5296 * gst/gststructure.c: (gst_structure_parse_value):
5297 When deserialising foo=bar without a type cast, check if it's a
5298 boolean before falling back to a string type, otherwise things like
5299 audiotestsrc ! audio/x-raw-int,signed=true ! fakesink won't work,
5300 because the filtercaps end up having a signed=(string)true field,
5301 which causes problems later when intersection caps.
5303 * tests/check/gst/gststructure.c: (GST_START_TEST):
5304 Add a unit test for this.
5306 2007-07-06 Sebastian Dröge <slomo@circular-chaos.org>
5308 Reviewed by: Stefan Kost <ensonic@users.sf.net>
5310 * libs/gst/controller/Makefile.am:
5311 * libs/gst/controller/gstcontroller.c:
5312 (gst_controlled_property_add_interpolation_control_source),
5313 (gst_controlled_property_new), (gst_controlled_property_free),
5314 (gst_controller_find_controlled_property),
5315 (gst_controller_new_valist), (gst_controller_new_list),
5316 (gst_controller_new), (gst_controller_remove_properties_valist),
5317 (gst_controller_remove_properties_list),
5318 (gst_controller_remove_properties),
5319 (gst_controller_set_property_disabled),
5320 (gst_controller_set_disabled), (gst_controller_set_control_source),
5321 (gst_controller_get_control_source), (gst_controller_get),
5322 (gst_controller_sync_values), (gst_controller_get_value_array),
5323 (_gst_controller_dispose), (gst_controller_get_type),
5324 (gst_controlled_property_set_interpolation_mode),
5325 (gst_controller_set), (gst_controller_set_from_list),
5326 (gst_controller_unset), (gst_controller_unset_all),
5327 (gst_controller_get_all), (gst_controller_set_interpolation_mode):
5328 * libs/gst/controller/gstcontroller.h:
5329 * libs/gst/controller/gstcontrollerprivate.h:
5330 * libs/gst/controller/gstcontrolsource.c:
5331 (gst_control_source_class_init), (gst_control_source_init),
5332 (gst_control_source_get_value),
5333 (gst_control_source_get_value_array), (gst_control_source_bind):
5334 * libs/gst/controller/gstcontrolsource.h:
5335 * libs/gst/controller/gsthelper.c: (gst_object_set_control_source),
5336 (gst_object_get_control_source):
5337 * libs/gst/controller/gstinterpolation.c:
5338 (gst_interpolation_control_source_find_control_point_node),
5339 (gst_interpolation_control_source_get_first_value),
5340 (_interpolate_none_get), (interpolate_none_get),
5341 (interpolate_none_get_boolean_value_array),
5342 (interpolate_none_get_enum_value_array),
5343 (interpolate_none_get_string_value_array),
5344 (_interpolate_trigger_get), (interpolate_trigger_get),
5345 (interpolate_trigger_get_boolean_value_array),
5346 (interpolate_trigger_get_enum_value_array),
5347 (interpolate_trigger_get_string_value_array):
5348 * libs/gst/controller/gstinterpolationcontrolsource.c:
5349 (gst_control_point_free), (gst_interpolation_control_source_reset),
5350 (gst_interpolation_control_source_new),
5351 (gst_interpolation_control_source_set_interpolation_mode),
5352 (gst_interpolation_control_source_bind),
5353 (gst_control_point_compare), (gst_control_point_find),
5354 (gst_interpolation_control_source_set_internal),
5355 (gst_interpolation_control_source_set),
5356 (gst_interpolation_control_source_set_from_list),
5357 (gst_interpolation_control_source_unset),
5358 (gst_interpolation_control_source_unset_all),
5359 (gst_interpolation_control_source_get_all),
5360 (gst_interpolation_control_source_get_count),
5361 (gst_interpolation_control_source_init),
5362 (gst_interpolation_control_source_finalize),
5363 (gst_interpolation_control_source_dispose),
5364 (gst_interpolation_control_source_class_init):
5365 * libs/gst/controller/gstinterpolationcontrolsource.h:
5366 * libs/gst/controller/gstinterpolationcontrolsourceprivate.h:
5367 API: Refactor GstController into the core controller which can take
5368 a GstControlSource for providing actual values for timestamps.
5369 Implement a interpolation control source and use this for backward
5370 compatibility, deprecate a bunch of functions that are now handled
5371 by GstControlSource or GstInterpolationControlSource.
5372 Make it possible to disable the controller completely or only for
5373 specific properties. Fixes #450711.
5374 * docs/libs/gstreamer-libs-docs.sgml:
5375 * docs/libs/gstreamer-libs-sections.txt:
5376 * docs/libs/gstreamer-libs.types:
5377 Add new functions and classes to the docs.
5378 * tests/check/libs/controller.c: (GST_START_TEST),
5379 (gst_controller_suite):
5380 * tests/examples/controller/audio-example.c: (main):
5381 Port unit test and example to the new API and add some new
5384 2007-07-05 Wim Taymans <wim.taymans@gmail.com>
5386 Patch by: Mark Nauwelaerts <manauw at skynet be>
5388 * plugins/elements/gstmultiqueue.c:
5389 (gst_multi_queue_get_internal_links), (apply_buffer),
5390 (single_queue_overrun_cb), (gst_single_queue_new):
5391 Implement non-default GstPadIntLinkFunction for multiqueue pads so that
5392 the pipeline layout can be tracked correctly. Fixes #453732.
5394 2007-07-05 Stefan Kost <ensonic@users.sf.net>
5396 * docs/gst/Makefile.am:
5397 * docs/libs/Makefile.am:
5398 * docs/plugins/Makefile.am:
5399 Simplify --extra-dir as gtkdoc scans recursively.
5401 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5403 * tools/gst-launch.c: (main):
5404 When we got an error, there is no point in waiting for preroll when
5407 2007-07-03 Wim Taymans <wim.taymans@gmail.com>
5409 * plugins/elements/gsttee.c: (gst_tee_base_init),
5410 (gst_tee_request_new_pad), (gst_tee_release_pad),
5411 (gst_tee_find_buffer_alloc), (gst_tee_buffer_alloc),
5412 (gst_tee_do_push), (clear_pads), (gst_tee_handle_buffer),
5414 Be a lot smarter when deciding what srcpad to use for proxying
5415 the buffer_alloc. Also handle pad added/removed when doing so.
5417 Keep track of what pads we already pushed on in case we have pads
5418 added/removed while pushing. Fixes #374639
5420 * tests/check/Makefile.am:
5421 * tests/check/elements/tee.c: (handoff), (GST_START_TEST),
5423 Added unit test for pad resync.
5425 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5429 Updated translations.
5431 2007-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
5433 translation by: Tommi Vainikainen <Tommi.Vainikainen@iki.fi>
5437 Added new Finnish translation.
5439 2007-06-28 Wim Taymans <wim@fluendo.com>
5441 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5442 (single_queue_overrun_cb):
5443 When figuring out when a queue is filled, use our internal time estimate
5444 based on segments, just like check_full does.
5446 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5448 * gst/gstminiobject.c: (gst_mini_object_get_type):
5449 Remove 3 do-nothing methods.
5451 2007-06-27 Wim Taymans <wim@fluendo.com>
5453 Patch by: Tim Angus <tim at ngus dot net>
5455 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
5456 (gst_capsfilter_set_property):
5457 Take a reference instead of a copy when setting "caps".
5458 Fix documentation to clarify this behaviour. Fixes #449414.
5460 2007-06-27 Stefan Kost <ensonic@users.sf.net>
5462 * gst/gstindexfactory.c: (gst_index_factory_get_type):
5463 * gst/gstplugin.c: (gst_plugin_init):
5464 * gst/gstpluginfeature.c: (gst_plugin_feature_init):
5465 * gst/gstquery.c: (gst_query_get_type):
5466 * gst/gstregistry.c: (gst_registry_init):
5467 * gst/gsturi.c: (gst_uri_handler_base_init):
5468 Remove empty instance_init() functions to save relocs and lessen the
5469 noise. Remove some of the function prototypes that are doubled by
5472 2007-06-27 Wim Taymans <wim@fluendo.com>
5474 Patch by: Étienne Noreau-Hébert <etienne at deepunder dot org>
5476 * gst/gstghostpad.c: (gst_proxy_pad_save_thyself):
5477 Add peer and direction in the XML serialisation of ghostpads.
5480 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5483 Preserve useful information, thanks Tim.
5485 2007-06-26 Jan Schmidt <thaytan@noraisin.net>
5487 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5488 (gst_single_queue_flush), (apply_segment), (apply_buffer),
5489 (gst_single_queue_push_one), (gst_multi_queue_loop),
5490 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5491 (gst_multi_queue_src_activate_push), (wake_up_next_non_linked),
5492 (compute_high_id), (gst_single_queue_new):
5493 * plugins/elements/gstmultiqueue.h:
5494 Take the multiqueue lock when updating the fill level so we don't get
5497 After applying a buffer or event on the src pad segment, make sure to
5498 call gst_data_queue_limits_changed() to get the data queue to unblock
5499 and check the filled state again.
5501 Rework the not-linked pad handling so the logic is that not-linked
5502 pads can push as fast as they like, but only so they never get
5503 ahead of any linked pads.
5505 * tests/check/elements/multiqueue.c: (mq_sinkpad_to_srcpad),
5506 (mq_dummypad_getcaps), (mq_dummypad_chain), (mq_dummypad_event),
5507 (run_output_order_test), (GST_START_TEST), (multiqueue_suite):
5509 Add a test to check that not-linked pads always stay behind
5514 2007-06-26 Jan Schmidt <thaytan@mad.scientist.com>
5516 * docs/random/release:
5517 Some updates to the release procedure.
5519 2007-06-26 Stefan Kost <ensonic@users.sf.net>
5521 * gst/gstelementfactory.c: (__gst_element_details_clear):
5522 Microoptimization that saves stunning 80 bytes.
5524 2007-06-25 Stefan Kost <ensonic@users.sf.net>
5526 * docs/plugins/gstreamer-plugins.args:
5527 * docs/plugins/inspect/plugin-coreelements.xml:
5528 * docs/plugins/inspect/plugin-coreindexers.xml:
5529 Update docs with caps info.
5531 2007-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
5534 Updated Italian translation.
5536 2007-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
5540 Update Vietnamese translations.
5542 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5544 * libs/gst/base/gstbasesink.c:
5545 Remove unused signal enum.
5547 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5549 * docs/gst/gstreamer-sections.txt:
5551 * gst/gstutils.c: (gst_type_register_static_full):
5552 Beef up and include the docs for gst_type_register_static_full and
5553 gst_element_class_set_details_simple and add the API keyword
5556 2007-06-21 Jan Schmidt <thaytan@mad.scientist.com>
5558 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_set_property),
5559 (update_time_level), (gst_single_queue_push_one),
5560 (gst_multi_queue_chain), (gst_multi_queue_sink_event),
5561 (single_queue_overrun_cb), (single_queue_underrun_cb),
5562 (single_queue_check_full):
5563 Fix setting max-* properties after adding queues.
5564 Use IS_FILLED for checking visible items.
5565 Signal overrun if multiple queues overrun.
5566 Add extra debug output.
5567 Patch by: Wim Taymans <wim@fluendo.com>
5569 2007-06-21 Stefan Kost <ensonic@users.sf.net>
5571 * gst/gstelement.c: (gst_element_class_set_details_simple):
5573 * gst/gstutils.c: (gst_type_register_static_full):
5575 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_base_init):
5576 * plugins/elements/gstfakesink.c: (gst_fake_sink_base_init):
5577 * plugins/elements/gstfakesrc.c: (gst_fake_src_base_init):
5578 * plugins/elements/gstfdsink.c: (gst_fd_sink_base_init):
5579 * plugins/elements/gstfdsrc.c: (gst_fd_src_base_init):
5580 * plugins/elements/gstfilesink.c: (gst_file_sink_base_init):
5581 * plugins/elements/gstfilesrc.c: (gst_file_src_base_init):
5582 * plugins/elements/gstidentity.c: (gst_identity_base_init):
5583 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init):
5584 * plugins/elements/gstqueue.c: (gst_queue_base_init),
5585 (apply_buffer), (gst_queue_chain):
5586 * plugins/elements/gsttee.c: (gst_tee_base_init):
5587 * plugins/elements/gsttypefindelement.c:
5588 (gst_type_find_element_base_init),
5589 (gst_type_find_element_class_init):
5590 Saving relocations for GTypeInfo and GstElementDetails. Fixes #437457.
5591 API: add gst_type_register_static_full
5592 API: add gst_element_class_set_details_simple
5594 2007-06-21 Tim-Philipp Müller <tim at centricular dot net>
5596 * docs/pwg/advanced-types.xml:
5597 Fix typo in iana.org URI.
5599 2007-06-19 Andy Wingo <wingo@pobox.com>
5601 * tests/check/pipelines/simple-launch-lines.c
5602 (test_state_change_returns): Enable pull-mode tests now that
5603 basesink has been fixed.
5605 * libs/gst/base/gstbasesink.c (gst_base_sink_needs_preroll):
5606 Changed from gst_base_sink_is_prerolled, reversing the sense of
5607 the return value. Returns FALSE also if the sink is in pull mode,
5608 in which case it needs no preroll.
5609 (gst_base_sink_query, gst_base_sink_change_state): Update for
5610 needs_preroll change.
5611 (gst_base_sink_change_state): Add a case for READY_TO_PAUSED after
5612 chaining up, in which we return SUCCESS directly if we activated
5613 in pull mode instead of ASYNC. Involves countering an async_start
5614 message sent before chaining up; not sure if this is correct, in
5615 an ideal world we only send async-start when activating in push
5618 * tests/check/pipelines/simple-launch-lines.c
5619 (test_state_change_returns): New test, partially disabled until
5622 2007-06-19 Wim Taymans <wim@fluendo.com>
5624 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5625 (gst_multi_queue_sink_event):
5628 2007-06-19 Wim Taymans <wim@fluendo.com>
5630 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
5631 (gst_bin_change_state_func), (bin_push_state_continue),
5632 (bin_handle_async_start), (bin_handle_async_done),
5633 (gst_bin_handle_message_func):
5634 Move the common code for posting state-change messages into
5636 Broadcast the state signal after we posted the messages.
5637 Mark the bin as busy when it's doing a state-change.
5638 Make sure async-start/done messages don't interfere with the bin's
5639 state when it's busy.
5640 After the state change, let the bin check which elements completed the
5641 state change while it was busy so that it can update its state.
5643 2007-06-19 Jan Schmidt <thaytan@mad.scientist.com>
5645 * docs/random/release:
5646 Add a note about updating the doap file to the release checklist
5648 2007-06-18 Wim Taymans <wim@fluendo.com>
5650 * plugins/elements/gstmultiqueue.c: (apply_buffer),
5651 (gst_single_queue_push_one), (gst_multi_queue_chain),
5652 (gst_multi_queue_sink_event):
5653 Make sure we don't reference the buffer/event after we have given away
5654 ownership in the queue.
5656 2007-06-18 Wim Taymans <wim@fluendo.com>
5658 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5659 (gst_multi_queue_chain), (gst_multi_queue_sink_event):
5660 Update queue state _after_ adding the item in the queue because else we
5661 could end up being full without the element added yet.
5663 2007-06-18 Wim Taymans <wim@fluendo.com>
5665 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
5666 (gst_bin_remove_func), (gst_bin_get_state_func),
5667 (gst_bin_element_set_state), (gst_bin_continue_func),
5668 (bin_push_state_continue), (bin_handle_async_start),
5669 (bin_handle_async_done), (gst_bin_handle_message_func):
5671 Immediatly commit the toplevel bin state when receiving an async-done
5672 message. This enables us to avoid spawning a thread to commit the state
5673 in some common cases and it also avoids some races.
5674 Avoid spawning a state thread when adding/removing async elements to a
5675 toplevel bin. Instead we immediatly update the bin state.
5676 Get rid of iterating all the children when getting the state in the bin
5677 because it is now always up-to-date.
5678 Fix bug where locked elements would always return _SUCCESS even it they
5679 returned NO_PREROLL before being locked.
5680 Fix the order of the state_change, async-start/done messages that was
5681 sometimes incorrect.
5682 Mark the state_dirty field as deprecated, we don't need it anymore as we
5683 are always up-to-date.
5685 * gst/gstelement.c: (gst_element_get_state_func),
5686 (gst_element_continue_state):
5687 Small debug inprovements.
5688 Return the previous element state return when nothing is pending instead
5689 of blindly returning SUCCESS.
5691 * tests/check/generic/sinks.c: (GST_START_TEST), (pad_blocked_cb),
5693 Add a whole bunch of new testcases.
5695 2007-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
5699 Update translations.
5701 2007-06-15 Jan Schmidt <thaytan@mad.scientist.com>
5704 Fix typo in the docs.
5706 2007-06-15 Wim Taymans <wim@fluendo.com>
5708 * docs/libs/gstreamer-libs-sections.txt:
5709 Add docs for new methods.
5711 2007-06-15 Wim Taymans <wim@fluendo.com>
5713 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_item_destroy),
5714 (gst_multi_queue_item_new):
5715 Don't use GSlice because we don't depend on >= 2.10 yet.
5717 2007-06-15 Wim Taymans <wim@fluendo.com>
5719 * plugins/elements/gstmultiqueue.c: (gst_single_queue_flush),
5720 (update_time_level), (apply_segment), (apply_buffer),
5721 (gst_single_queue_push_one), (gst_multi_queue_item_new),
5722 (gst_multi_queue_loop), (gst_multi_queue_sink_activate_push),
5723 (gst_multi_queue_sink_event), (single_queue_overrun_cb),
5724 (single_queue_underrun_cb), (single_queue_check_full):
5725 Remove debug printf.
5727 2007-06-15 Wim Taymans <wim@fluendo.com>
5729 * libs/gst/base/gstdataqueue.c: (gst_data_queue_cleanup),
5730 (gst_data_queue_finalize), (gst_data_queue_locked_is_empty),
5731 (gst_data_queue_set_flushing), (gst_data_queue_push),
5732 (gst_data_queue_pop), (gst_data_queue_drop_head),
5733 (gst_data_queue_limits_changed), (gst_data_queue_get_level):
5734 * libs/gst/base/gstdataqueue.h:
5736 Added methods to get the current levels and to inform the queue that the
5737 'full' limits changed.
5739 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_init),
5740 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
5741 (gst_single_queue_flush), (update_time_level), (apply_segment),
5742 (apply_buffer), (gst_single_queue_push_one),
5743 (gst_multi_queue_item_steal_object),
5744 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
5745 (gst_multi_queue_loop), (gst_multi_queue_chain),
5746 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
5747 (gst_multi_queue_getcaps), (gst_multi_queue_src_activate_push),
5748 (gst_multi_queue_src_query), (single_queue_overrun_cb),
5749 (single_queue_underrun_cb), (single_queue_check_full),
5750 (gst_single_queue_new):
5751 Keep track of time in the queue by measuring the difference between
5752 running_time on input and output. This gives more accurate results and
5753 can compensate for segments correctly.
5754 Make a queue by default only 5 buffers deep. We will now increase the
5755 buffer size depending on the filledness of the other queues.
5756 Factor out commong flush code.
5757 Make sure we don't add additional refcounts to buffers when we can avoid
5759 Propagate GstFlowReturn differently.
5760 Use GSlice for intermediate GstMultiQueueItems.
5762 Resize queues on over and underruns based on filled level of other
5764 When checking if the queue is filled, prefer to measure in time if we
5765 can and fall back to bytes when no time is known.
5767 * plugins/elements/gstqueue.c:
5770 2007-06-15 Wim Taymans <wim@fluendo.com>
5772 * libs/gst/base/gstbasetransform.c:
5773 (gst_base_transform_sink_event):
5774 Work around the brokenness of the event vmethod in basetransform. Prefer
5775 to return TRUE when the subclass returned FALSE (meaning don't forward
5778 * libs/gst/base/gstbasetransform.h:
5781 2007-06-15 Wim Taymans <wim@fluendo.com>
5783 * gst/gstpad.c: (gst_pad_push_event), (gst_pad_send_event):
5784 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
5785 (gst_base_src_default_query), (gst_base_src_get_range),
5786 (gst_base_src_start):
5787 * tests/check/pipelines/parse-launch.c: (setup_pipeline):
5790 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5792 * docs/pwg/advanced-types.xml:
5793 Added more formats to caps table.
5795 2007-06-15 Stefan Kost <ensonic@users.sf.net>
5797 * tools/gst-launch.c: (main):
5798 Remove crufy code. GOption does not need this workaround.
5800 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5802 * libs/gst/controller/gstcontroller.c:
5803 (gst_controlled_property_set_interpolation_mode):
5804 Fix wrong getter for enums in controller.
5806 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5808 * libs/gst/check/gstcheck.c: (gst_check_init):
5809 Intercept criticals and warnings in the Gst-Phonon log domain, so
5810 ASSERT_CRITICAL() etc. can be used in gst-phonon's unit tests as
5813 2007-06-14 Edward Hervey <edward@fluendo.com>
5815 * gst/gstparamspecs.c: (_gst_param_fraction_validate):
5816 Since this file doesn't include "gst.h" it will not go through the
5817 macros that disable GST_LOG if debugging was disabled.
5819 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5821 * libs/gst/check/Makefile.am:
5822 * libs/gst/check/gstcheck.h:
5823 * pkgconfig/gstreamer-check-uninstalled.pc.in:
5824 * pkgconfig/gstreamer-check.pc.in:
5825 Ugly 'fix' for the controller unit test on the p5 bot: in
5826 fail_unless_equals_float() check whether the values are 'almost
5827 equal' by allowing a small absolute error, which should be good
5828 enough for our use cases (normal numbers and values close to 0).
5829 Proper fixage left to floating point arithmetic aficionados.
5831 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5833 * libs/gst/base/gstbasesink.c: (gst_base_sink_reset_qos),
5834 (gst_base_sink_render_object), (gst_base_sink_get_position):
5835 Add two breaks thats where missing.
5837 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5839 * docs/libs/gstreamer-libs-sections.txt:
5840 * libs/gst/check/gstcheck.h:
5841 API: add fail_unless_equals_float() and assert_equals_float().
5842 Add documentation for some of the macros.
5844 * tests/check/libs/controller.c: (GST_START_TEST):
5845 Use newly-added asserts.
5847 2007-06-14 Stefan Kost <ensonic@users.sf.net>
5849 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_push):
5850 Show the caps change in the log to help spotting the case of not
5851 exactly matching caps.
5853 2007-06-14 Tim-Philipp Müller <tim at centricular dot net>
5855 * docs/pwg/building-boiler.xml:
5856 Fix typos, spotted by Thijs Vermeir (#447190).
5858 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5860 * docs/plugins/tmpl/.cvsignore:
5861 Ignore file to keep the buildbots happy
5863 2007-06-13 Jan Schmidt <thaytan@mad.scientist.com>
5865 * docs/plugins/Makefile.am:
5866 * docs/plugins/gstreamer-plugins-docs.sgml:
5867 * docs/plugins/gstreamer-plugins-sections.txt:
5868 Pull fdsink into the docs too.
5870 2007-06-11 Sebastian Dröge <slomo@circular-chaos.org>
5872 * libs/gst/controller/gstinterpolation.c:
5873 Actually use the new functions with min/max checks for the trigger and
5874 none interpolation modes for get() and get_value_array() instead of
5877 2007-06-10 Sebastian Dröge <slomo@circular-chaos.org>
5879 * libs/gst/controller/gstcontroller.c:
5880 (gst_controlled_property_free):
5881 Unset the minimum and maximum GValues when freeing the corresponding
5882 GstControllerProperty struct.
5884 2007-06-09 Sebastian Dröge <slomo@circular-chaos.org>
5886 * libs/gst/controller/gstcontroller.c:
5887 (gst_controlled_property_new):
5888 * libs/gst/controller/gstcontrollerprivate.h:
5889 * libs/gst/controller/gstinterpolation.c:
5890 (gst_controlled_property_find_control_point_node),
5891 (interpolate_none_get), (interpolate_none_get_enum_value_array),
5892 (interpolate_none_get_string_value_array),
5893 (interpolate_trigger_get),
5894 (interpolate_trigger_get_enum_value_array),
5895 (interpolate_trigger_get_string_value_array):
5896 Protect against values larger or smaller than the minimum or maximum
5897 allowed value for the property when using values that can be compared.
5899 Optimize trigger interpolator a bit by taking the last requested value
5900 into account instead of always looping through the complete list.
5902 Fix coding style a bit, everywhere else we use "return foo" instead
5905 * tests/check/libs/controller.c: (GST_START_TEST),
5906 (gst_controller_suite):
5907 Add unit test for the protection against too large or too small
5910 2007-06-08 Sebastian Dröge <slomo@circular-chaos.org>
5912 * docs/random/slomo/controller.txt:
5913 Add some thoughts about the future of the controller.
5915 2007-06-08 Wim Taymans <wim@fluendo.com>
5917 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
5918 Don't overflow in retimestamping code.
5920 2007-06-07 Sebastien Moutte <sebastien@moutte.net>
5922 * libs/gst/controller/gstinterpolation.c: (DEFINE_CUBIC_GET):
5923 Use gst_util_guint64_to_gdouble for conversions.
5924 * win32/common/libgstreamer.def:
5925 Add new exported functions.
5927 2007-06-07 Tim-Philipp Müller <tim at centricular dot net>
5930 Small docs addition.
5932 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5935 Remove that test line again.
5937 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5940 Test commit mail sending.
5942 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5945 Fix typo and test commit mail sending.
5947 2007-06-07 Stefan Kost <ensonic@users.sf.net>
5949 * tests/examples/controller/audio-example.c:
5950 Improve comment and test commit mail sending.
5952 2007-06-07 Wim Taymans <wim@fluendo.com>
5954 * gst/gstbin.c: (find_message), (bin_replace_message), (is_eos),
5955 (gst_bin_remove_func), (gst_bin_element_set_state),
5956 (bin_handle_async_start), (bin_handle_async_done),
5957 (gst_bin_handle_message_func):
5958 Add helper function to find messages.
5959 Generate the async-done messages together with the state change
5961 Small cleanups in handling toplevel bins.
5963 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
5965 * libs/gst/base/gstdataqueue.c:
5966 * libs/gst/base/gstdataqueue.h:
5967 * plugins/elements/gstmultiqueue.c: (gst_single_queue_push_one),
5968 (gst_multi_queue_item_new), (gst_multi_queue_chain),
5969 (gst_multi_queue_sink_event):
5970 * tests/check/elements/multiqueue.c: (multiqueue_suite):
5971 Fix multiqueue leaking buffers and events when downstream or the
5972 queue are flushing. Make refcounting assumptions explicit and
5973 document them (shouldn't break existing code that uses it other than
5974 maybe leak miniobjects, but that already happens anyway). Add unit
5975 test for the most common flushing case. Fixes #423700.
5977 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
5979 * libs/gst/controller/gstcontroller.c:
5980 Clarify docs: The get_all, get_value_array(s) functions
5981 don't modify the GObject properties.
5983 2007-06-06 Sebastian Dröge <slomo@circular-chaos.org>
5985 * libs/gst/controller/gstcontroller.c:
5986 (gst_controlled_property_set_interpolation_mode),
5987 (gst_controlled_property_prepend_default),
5988 (gst_controlled_property_new), (gst_controller_set_unlocked),
5989 (gst_controller_set), (gst_controller_set_from_list),
5990 (gst_controller_unset), (gst_controller_unset_all):
5991 * libs/gst/controller/gstcontrollerprivate.h:
5992 * libs/gst/controller/gstinterpolation.c:
5993 Factor out the 'set' logic into gst_controller_set_unlocked for the
5994 gst_controller_set and gst_controller_set_from_list functions.
5996 To make life of the interpolators easier always add a control point
5997 at timestamp zero with the default value.
5999 In the linear interpolator make things more obvious by better variable
6002 Implement cubic interpolation mode (by using a natural cubic spline)
6003 and map the quadratic interpolation mode to this too (as quadratic
6004 doesn't make much sense, see discussion on the list).
6006 * tests/check/libs/controller.c: (GST_START_TEST),
6007 (gst_controller_suite):
6008 Add unit test for the cubic interpolation mode and check everywhere
6009 if the interpolation mode could be set as expected.
6011 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6013 * gst/gstparamspecs.c: (gst_param_spec_fraction_get_type):
6014 Don't use GLib-2.10 functions, we still depend on
6015 GLib-how-old-is-it-again-2.8.
6017 2007-06-06 Tim-Philipp Müller <tim at centricular dot net>
6019 * docs/gst/gstreamer-sections.txt:
6023 * gst/gstparamspecs.c: (_gst_param_fraction_init),
6024 (_gst_param_fraction_set_default), (_gst_param_fraction_validate),
6025 (_gst_param_fraction_values_cmp),
6026 (gst_param_spec_fraction_get_type), (gst_param_spec_fraction):
6027 * gst/gstparamspecs.h:
6029 * tests/check/Makefile.am:
6030 * tests/check/gst/.cvsignore:
6031 * tests/check/gst/gstparamspecs.c: (gst_dummy_obj_base_init),
6032 (gst_dummy_obj_class_init), (gst_dummy_obj_init),
6033 (gst_dummy_obj_set_property), (gst_dummy_obj_get_property),
6034 (GST_START_TEST), (gst_param_spec_suite):
6035 API: add GstParamSpecFraction, so elements can have fraction
6036 properties without lots of painful string parsing (#444648).
6038 2007-06-05 Wim Taymans <wim@fluendo.com>
6040 * gst/gstobject.c: (gst_object_class_init):
6041 Fix signal signature.
6044 Add small clarification in the api docs.
6046 * plugins/elements/gstfilesrc.c: (gst_file_src_set_location):
6047 States are protected with object lock.
6049 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6052 I should probably be listed as an author by now.
6054 * docs/random/release:
6055 Update the release doc
6057 2007-06-05 Tim-Philipp Müller <tim at centricular dot net>
6060 Make docs for gst_value_compare() mention return enums that
6063 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6068 === release 0.10.13 ===
6070 2007-06-05 Jan Schmidt <thaytan@mad.scientist.com>
6073 releasing 0.10.13, "With or without you"
6075 2007-05-25 Wim Taymans <wim@fluendo.com>
6077 * gst/gstbin.c: (bin_handle_async_done):
6078 Make sure that the child bin stops after completing the async state
6079 change so that the parent can continue the state change to PLAYING.
6082 2007-05-25 Wim Taymans <wim@fluendo.com>
6084 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
6085 (unref_data), (gst_collect_pads_remove_pad),
6086 (gst_collect_pads_check_pads):
6087 Use additional refcounting to avoid crashes when dynamically adding and
6088 removing pads. Fixes #420206.
6090 2007-05-24 Wim Taymans <wim@fluendo.com>
6092 * tools/gst-launch.c: (event_loop):
6093 When buffering goes from a two digit to a single digit number, make sure
6094 to remove the old second digit by writing a blank over it.
6096 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6098 * libs/gst/base/gstdataqueue.c:
6099 Eliminate tabs and trailing comma in enum list; fix some typos.
6101 2007-05-24 Wim Taymans <wim@fluendo.com>
6103 * tests/check/gst/gstbin.c: (GST_START_TEST):
6104 Allow refcount of 3 and 4 because some state thread might still be busy
6107 2007-05-24 Tim-Philipp Müller <tim at centricular dot net>
6109 * plugins/elements/Makefile.am:
6110 * plugins/elements/gstmultiqueue.h:
6111 * plugins/elements/gstqueue.h:
6112 These are not installed headers, no need for padding.
6114 2007-05-24 Wim Taymans <wim@fluendo.com>
6116 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
6117 (gst_bin_continue_func):
6118 Enable latency for next release.
6119 Restore STATE_LOCK around recalc_state that was left out during the
6120 rewrite and could result in racy behaviour when _get_state and
6121 recalc_state are run concurrently. See #440463.
6123 2007-05-23 Wim Taymans <wim@fluendo.com>
6125 * tests/check/gst/gstsystemclock.c: (store_callback),
6127 Improve test_async_order to also work when both timers are already
6128 expired when we get scheduled to check it.
6130 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6132 * gst/gstbin.c: (gst_bin_init), (gst_bin_dispose),
6133 (gst_bin_set_property), (gst_bin_get_property),
6134 (gst_bin_remove_func), (gst_bin_handle_message_func):
6136 'private' is a c++ keyword, let's not use that in header files,
6137 otherwise c++ compilers will throw a tantrum.
6139 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6141 * plugins/elements/gstelements.c:
6142 * plugins/elements/gstfilesink.c: (gst_file_sink_do_seek),
6143 (gst_file_sink_get_current_offset):
6144 * plugins/indexers/gstindexers.c: (plugin_init):
6145 Use #ifdef for HAVE_XYZ for consistency.
6147 * tests/check/Makefile.am:
6148 * tests/check/elements/.cvsignore:
6149 * tests/check/elements/filesink.c: (setup_filesink),
6150 (cleanup_filesink), (GST_START_TEST), (filesink_suite):
6151 Add some unit tests for filesink.
6153 2007-05-22 Tim-Philipp Müller <tim at centricular dot net>
6155 Patch by: Mark Nauwelaerts <manauw at skynet be>
6157 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
6158 (gst_file_sink_query), (gst_file_sink_do_seek),
6159 (gst_file_sink_get_current_offset), (gst_file_sink_render):
6160 * plugins/elements/gstfilesink.h:
6161 Fix position reporting; rename data_written member to current_pos to
6162 reflect its real meaning (fixes #412648).
6164 2007-05-22 Edward Hervey <edward@fluendo.com>
6166 * docs/gst/gstreamer-sections.txt:
6167 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
6168 (gst_bin_dispose), (gst_bin_set_property), (gst_bin_get_property),
6169 (gst_bin_remove_func), (gst_bin_handle_message_func):
6171 Add a property for bins that handle the state change of their childs.
6174 2007-05-22 Sebastian Dröge <slomo@circular-chaos.org>
6176 * libs/gst/controller/gstinterpolation.c:
6177 Use an array of the correct type when using _get_value_array with
6178 linear interpolation.
6180 2007-05-22 Stefan Kost <ensonic@users.sf.net>
6182 * gst/gstelement.c (gst_element_requires_clock,
6183 gst_element_provides_clock, gst_element_request_pad,
6184 gst_element_class_set_details, gst_element_class_set_details_simple,
6185 gst_element_default_send_event, gst_element_abort_state,
6186 gst_element_continue_state, gst_element_set_state,
6187 gst_element_set_state_func, iterator_activate_fold_with_resync):
6188 * gst/gstpad.c (gst_pad_activate_pull, gst_pad_set_getcaps_function,
6189 gst_pad_fixate_caps, gst_pad_configure_sink, gst_pad_configure_src,
6190 gst_pad_query, gst_pad_save_thyself, handle_pad_block, gst_pad_push,
6191 gst_pad_get_range, gst_pad_pull_range):
6192 * gst/gstpad.h (GST_PAD_LINK_SUCCESSFUL, GST_FLOW_CUSTOM_SUCCESS,
6193 GST_FLOW_NOT_SUPPORTED, GST_FLOW_IS_FATAL, GstPadActivateFunction,
6194 GstPadActivateModeFunction, GstPadChainFunction,
6195 GstPadGetCapsFunction, GstPadAcceptCapsFunction,
6196 GstPadFixateCapsFunction, GstPadTemplate):
6197 * gst/gstpipeline.c (gst_pipeline_change_state,
6198 gst_pipeline_set_new_stream_time, gst_pipeline_use_clock,
6199 gst_pipeline_set_clock, gst_pipeline_auto_clock,
6200 gst_pipeline_get_delay):
6201 Whitespace and docs fixes.
6203 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6205 * libs/gst/controller/gstinterpolation.c:
6206 (interpolate_trigger_get_enum_value_array),
6207 (interpolate_trigger_get_string_value_array):
6208 Add support for retrieving value arrays when using the trigger
6211 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6213 * libs/gst/controller/gstcontroller.c:
6214 (gst_controller_get_value_array):
6215 * libs/gst/controller/gstcontroller.h:
6216 Clarify the docs of gst_controller_get_value_array(): The array where
6217 the values should be written to must be allocated as there seems to be
6218 no way to get the size of a random GType. This doesn't change any
6219 behaviour. Also fix some typos all over the place and remove an unused,
6220 commented function that is not necessary as g_object_set() could be
6222 * tests/check/libs/controller.c: (GST_START_TEST),
6223 (gst_controller_suite):
6224 Add unit test for gst_controller_get_value_array().
6226 2007-05-21 Jan Schmidt <thaytan@mad.scientist.com>
6228 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
6230 Disable part of the gst_buffer_try_new_and_alloc test, because
6231 it can happily succeed on 64-bit systems where there's more address
6234 2007-05-21 Sebastian Dröge <slomo@circular-chaos.org>
6236 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
6237 Add unit test for the improved caps checking from bug #421543.
6239 2007-05-21 Wim Taymans <wim@fluendo.com>
6241 * docs/design/part-synchronisation.txt:
6244 * gst/gstbin.c: (gst_bin_query):
6245 * plugins/elements/gstqueue.c: (apply_segment):
6251 2007-05-21 Wim Taymans <wim@fluendo.com>
6253 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
6254 (gst_pad_acceptcaps_default), (gst_pad_configure_sink),
6255 (gst_pad_configure_src):
6256 Added simple version of improved caps checking. It was previously
6257 assumed that a setcaps function would check the validity of the caps but
6258 people prefer us to check caps against the template automatically.
6261 2007-05-21 Wim Taymans <wim@fluendo.com>
6263 * libs/gst/base/gstbasetransform.h:
6264 Fix macro for locking/unlocking the transform lock.
6266 2007-05-19 Tim-Philipp Müller <tim at centricular dot net>
6268 * docs/plugins/tmpl/.cvsignore:
6271 2007-05-18 Edward Hervey <edward@fluendo.com>
6273 * plugins/elements/gstqueue.c: (gst_queue_loop):
6274 Hello, I am Mr Taymans' personal debugger. Today I will introduce a fix
6275 for the subtle art of warning a potentially blocking thread that it
6276 should check the source pad return value, and relay the information
6279 2007-05-18 Edward Hervey <edward@fluendo.com>
6281 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
6282 Release the queue lock !
6284 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6286 * docs/libs/gstreamer-libs-sections.txt:
6287 Add the two new controller functions to the appropiate places.
6289 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6291 reviewed by: Stefan Kost <ensonic@users.sf.net>
6293 * libs/gst/controller/gstcontroller.c:
6294 (gst_controller_suggest_next_sync), (gst_controller_sync_values),
6295 (_gst_controller_get_property), (_gst_controller_set_property),
6296 (_gst_controller_init), (_gst_controller_class_init):
6297 * libs/gst/controller/gstcontroller.h:
6298 * libs/gst/controller/gsthelper.c: (gst_object_suggest_next_sync),
6299 (gst_object_get_control_rate), (gst_object_set_control_rate):
6300 API: gst_controller_suggest_next_sync(), gst_object_suggest_next_sync()
6301 Add API that provides sync suggestion timestamps for elements that
6302 call gst_object_sync_values() from which those elements can subdivide
6303 their processing loop to get the best results for the controlled
6304 properties. For now it just suggests last_sync + control_rate as
6305 new timestamp but this will be improved in the future.
6307 While doing that change the control-rate property to a GstClockTime
6308 from guint and change it's meaning from samples to nanoseconds as
6309 the GstController doesn't know anything about sampling rate. Strictly
6310 speaking this breaks ABI but as the control-rate property didn't do
6311 anything in the past and as such couldn't be used this should be no
6314 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6316 reviewed by: Stefan Kost <ensonic@users.sf.net>
6318 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
6319 (gst_controller_unset_all):
6320 * libs/gst/controller/gstcontrollerprivate.h:
6321 * libs/gst/controller/gstinterpolation.c:
6322 (gst_controlled_property_find_control_point_node):
6323 Save last synced value from the list to continue searching from there
6324 in future syncs. This speeds everything up a bit.
6326 2007-05-17 Sebastian Dröge <slomo@circular-chaos.org>
6328 reviewed by: Stefan Kost <ensonic@users.sf.net>
6330 * libs/gst/controller/gstcontroller.c: (gst_control_point_compare),
6331 (gst_control_point_find), (gst_controlled_property_new),
6332 (gst_control_point_free), (gst_controlled_property_free),
6333 (gst_controller_set), (gst_controller_set_from_list),
6334 (gst_controller_unset), (gst_controller_unset_all),
6335 (gst_controller_sync_values):
6336 * libs/gst/controller/gstcontroller.h:
6337 * libs/gst/controller/gstcontrollerprivate.h:
6338 * libs/gst/controller/gstinterpolation.c:
6339 (gst_controlled_property_find_control_point_node),
6340 (interpolate_none_get), (interpolate_trigger_get):
6341 Add a new private GstControlPoint struct which "inherits" from
6342 GstTimedValue to allow different interpolators to store internal
6343 values next to each control point. From the outside everything is
6344 still a GstControlPoint so we don't loose binary compatibility.
6345 Also fixup all the GValue handling to not leak GValues or list nodes.
6346 * tests/check/libs/controller.c: (GST_START_TEST):
6347 Free the list nodes and GValues in the controller_misc test.
6349 2007-05-17 Edward Hervey <edward@fluendo.com>
6354 2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
6356 * gst/gstplugin.c: (gst_plugin_load_file):
6357 If we fail to load a plugin because of unresolved symbols or missing
6358 libraries and spew a warning to stderr, we may just as well mention
6359 which plugin it was that failed to load.
6361 2007-05-13 David Schleef <ds@schleef.org>
6363 * docs/Makefile.am: the gtk-doc makefile snippet correctly
6364 handles the case when ENABLE_GTK_DOC is false, and installs
6365 the prebuilt documentation. So gtk-doc subdirs are
6366 unconditionally enabled. Fixes: #349099.
6368 2007-05-13 David Schleef <ds@schleef.org>
6370 * gst/gstutils.h: Reword some documentation.
6372 2007-05-12 David Schleef <ds@schleef.org>
6374 * gst/gstplugin.c: gst_plugin_register_func() doesn't actually
6375 do anything with the passed "module" parameter, so remove it.
6376 Allows removal of additional vestigal code.
6378 2007-05-12 David Schleef <ds@schleef.org>
6381 Using sigaction should depend on HAVE_SIGACTION, not HAVE_WIN32.
6382 Switch to using g_stat() because it's more portable.
6384 2007-05-12 David Schleef <ds@schleef.org>
6387 Add GST_DISABLE_OPTION_PARSING, in order to disable option
6388 parsing for embedded systems.
6389 * gst/gstelementfactory.c:
6390 Allow gst_element_register() to be called with plugin==NULL.
6391 Did nobody notice that static elements were broken?
6393 2007-05-12 Wim Taymans <wim@fluendo.com>
6395 * tools/gst-launch.c: (event_loop):
6396 Give more interesting info when buffering starts and stops.
6397 Fix case where buffering starts but we fail to update the buffering flag
6398 because the target state is not PLAYING.
6400 2007-05-12 Wim Taymans <wim@fluendo.com>
6402 * plugins/elements/gstqueue.c: (gst_queue_init),
6403 (gst_queue_finalize), (update_time_level), (apply_segment),
6404 (apply_buffer), (gst_queue_locked_flush),
6405 (gst_queue_locked_enqueue), (gst_queue_locked_dequeue),
6406 (gst_queue_handle_sink_event), (gst_queue_chain),
6407 (gst_queue_push_one), (gst_queue_loop):
6408 * plugins/elements/gstqueue.h:
6409 Refactor an cleanup queue a bit.
6410 Do better time level calculations that also work when the srcpad is not
6412 Remove some unneeded debug lines.
6414 * tests/check/elements/queue.c: (GST_START_TEST), (queue_suite):
6415 Added testcase for time level measurement.
6416 Try to make some stuff more racefree.
6418 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6420 * gst/gsturi.c: (gst_element_make_from_uri):
6421 Don't leak plugin feature.
6423 * tests/check/Makefile.am:
6424 * tests/check/gst/.cvsignore:
6425 * tests/check/gst/gsturi.c: (GST_START_TEST), (gst_uri_suite):
6426 Add brain-dead unit test.
6428 2007-05-11 Tim-Philipp Müller <tim at centricular dot net>
6430 Patch by: Jeroen Wouters <woutersj at gmail com>
6432 * gst/gsturi.c: (gst_uri_get_protocol), (search_by_entry):
6433 Treat protocol strings in a case-insensitive way (#437563).
6435 2007-05-11 Michael Smith <msmith@fluendo.com>
6437 * gst/gstplugin.c: (gst_plugin_load_file):
6438 * gst/gstregistry.c: (gst_registry_scan_path_level):
6439 Don't print a g_warning for any failure to load a shared object.
6440 Instead, push this down into gstplugin.c, and warn _only_ if we
6441 failed to open the module (i.e. failure to link).
6442 Avoids warnings on normal, working, non-plugin .so files.
6444 2007-05-11 Stefan Kost <ensonic@users.sf.net>
6446 * gst/gstplugin.c (gst_plugin_load_file):
6447 * gst/gstregistry.c (GST_CAT_DEFAULT,
6448 gst_registry_lookup_feature_locked, gst_registry_scan_path_level):
6449 Print a g_warning if there was an error when loading a plugins during
6450 registry scan. The shuld help beginners starting with gst-plugin
6453 2007-05-10 Wim Taymans <wim@fluendo.com>
6455 * plugins/elements/gstqueue.c: (gst_queue_class_init),
6456 (update_time_level), (gst_queue_locked_flush),
6457 (gst_queue_handle_sink_event), (gst_queue_chain),
6458 (gst_queue_push_one), (gst_queue_loop):
6459 * plugins/elements/gstqueue.h:
6460 Be smarter when calculating the current amount of data in the queue by
6461 measuring the difference between start and end timestamps (in running
6462 time) inside the queue. Fixes #432876.
6463 API: GstQueue::pushing to notify elements that we are pushing data again
6464 since the running signal is rather broken for this purpose.
6466 2007-05-10 Stefan Kost <ensonic@users.sf.net>
6468 * plugins/elements/gstqueue.c (_do_init, gst_queue_signals,
6469 gst_queue_base_init, gst_queue_init):
6472 2007-05-09 Sebastien Moutte <sebastien@moutte.net>
6474 * win32/common/libgstreamer.def:
6475 Add new exported functions.
6476 * win32/vs6/grammar.dsp:
6477 Use grammar pre-generated files.
6479 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6481 Based on patch by: Peter Kjellerstedt <pkj at axis com>
6484 * gst/gstparse.c: (gst_parse_launchv), (gst_parse_launch):
6486 * gst/gstutils.c: (gst_parse_bin_from_description):
6488 Maintain API and ABI when --disable-parse is used. Now that
6489 we have an appropriate error code, we can just return NULL and the
6490 appropriate error when gst_parse_launch() is used despite it having
6491 been disabled (#342564).
6493 * tests/check/Makefile.am:
6494 * tests/check/pipelines/.cvsignore:
6495 * tests/check/pipelines/parse-disabled.c:
6496 Make sure these functions exist and return NULL plus a GError when
6497 --disable-parse is used.
6499 2007-05-09 Tim-Philipp Müller <tim at centricular dot net>
6501 * tests/benchmarks/complexity.c: (main):
6502 * tests/benchmarks/mass-elements.c: (main):
6503 Set a good example and don't leak messages.
6505 2007-05-06 Stefan Kost <ensonic@users.sf.net>
6507 * docs/gst/Makefile.am:
6508 * docs/libs/Makefile.am:
6509 Correct fixxrefs options.
6511 * docs/plugins/Makefile.am:
6512 * docs/plugins/gstreamer-plugins-docs.sgml:
6513 * docs/plugins/gstreamer-plugins-sections.txt:
6514 * plugins/elements/Makefile.am:
6515 * plugins/elements/gstcapsfilter.c (gst_capsfilter_details):
6516 * plugins/elements/gstcapsfilter.h (__GST_CAPSFILTER_H__,
6517 GST_TYPE_CAPSFILTER, GST_CAPSFILTER, GST_CAPSFILTER_CLASS,
6518 GST_IS_CAPSFILTER, GST_IS_CAPSFILTER_CLASS, GstCapsFilter,
6519 GstCapsFilterClass, _GstCapsFilter, trans, filter_caps,
6520 _GstCapsFilterClass, trans_class):
6521 * plugins/elements/gstelements.c (name, rank, type, _elements):
6522 * plugins/elements/gstidentity.c
6523 (gst_identity_check_imperfect_timestamp,
6524 gst_identity_check_imperfect_offset):
6525 Document capsfilter and add doc-blurb to identity.
6527 2007-05-04 Tim-Philipp Müller <tim at centricular dot net>
6529 * libs/gst/controller/gstcontroller.c:
6530 (gst_controlled_property_set_interpolation_mode):
6531 * libs/gst/controller/gstinterpolation.c:
6532 Don't crash if someone tries to set an interpolation mode that
6533 is invalid or that isn't supported yet. Fixes #422295.
6535 * tests/check/libs/controller.c: (GST_START_TEST),
6536 (gst_controller_suite):
6537 Add a test case for the above.
6539 2007-05-03 Edward Hervey <edward@fluendo.com>
6541 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
6542 Properly set the last_stop position on GstSegment. This will only happen
6543 if there is a buffer to push out.
6545 2007-05-03 Wim Taymans <wim@fluendo.com>
6547 * libs/gst/base/gstbasetransform.c:
6548 (gst_base_transform_buffer_alloc):
6549 always_in_place does not mean that the sink and source caps are the
6550 same! Make sure we don't blindly proxy the buffer_alloc in this case.
6552 2007-05-03 Wim Taymans <wim@fluendo.com>
6554 * docs/libs/gstreamer-libs-sections.txt:
6555 * libs/gst/base/gstbasesrc.c: (gst_base_src_query_latency),
6556 (gst_base_src_default_query), (gst_base_src_get_range):
6557 * libs/gst/base/gstbasesrc.h:
6558 API: gst_base_src_query_latency(). Added method so that subclasses can
6559 easily get the latency values of the base source class.
6561 2007-05-02 Zaheer Abbas Merali <<zaheerabbas at merali dot org>>
6563 * tools/gst-inspect.c (print_implementation_info):
6566 2007-05-02 Tim-Philipp Müller <tim at centricular dot net>
6568 * tools/Makefile.am:
6569 * tools/gst-launch.1.in:
6570 Don't create a customised man page based on the host architecture,
6571 describe the default registry path generically. That way the man
6572 page is the same for all architectures and packagers have one
6573 multilib issue less to deal with. Fixes #434926.
6575 2007-05-02 Wim Taymans <wim@fluendo.com>
6578 Fix documentation as spotted by rg on IRC.
6580 2007-04-29 Stefan Kost <ensonic@users.sf.net>
6583 Improve docs for gst_element_{link,unlink}.
6585 2007-04-28 Tim-Philipp Müller <tim at centricular dot net>
6587 * docs/design/part-events.txt:
6588 * docs/design/part-overview.txt:
6592 * libs/gst/base/gstbasesink.c:
6593 Typo fixes; minor docs addition.
6595 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6597 * docs/gst/gstreamer-sections.txt:
6598 * gst/gsturi.c: (get_element_factories_from_uri_protocol),
6599 (gst_uri_protocol_is_supported), (gst_element_make_from_uri):
6601 API: Add gst_uri_protocol_is_supported(), which checks if a sink
6602 or src that supports a given URI protocol exists.
6604 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6606 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6607 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6608 Set the location to NULL if "file://" is set as URI. Otherwise
6609 some random previous URI would still be set if "file://" is
6610 set on an already used filesink/filesrc.
6612 2007-04-27 Sebastian Dröge <slomo@circular-chaos.org>
6614 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
6615 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
6616 Special case the "file://" URI as as this is used by some
6617 applications to test with gst_element_make_from_uri if there's
6618 an element that supports the URI protocol.
6619 Also move the g_path_is_absolute() check for the location part
6620 of the URI to also check this for "file://localhost/bla" URIs.
6622 2007-04-26 Tim-Philipp Müller <tim at centricular dot net>
6624 * docs/gst/gstreamer-sections.txt:
6625 * gst/gstbuffer.c: (gst_buffer_try_new_and_alloc):
6627 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
6629 API: add gst_buffer_try_new_and_alloc() plus unit test (#431940).
6631 2007-04-26 Stefan Kost <ensonic@users.sf.net>
6633 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6634 (gst_registry_binary_load_pad_template),
6635 (gst_registry_binary_load_plugin),
6636 (gst_registry_binary_read_cache):
6637 * gst/gstregistrybinary.h:
6638 Implement no-mmap alternative for registry reading. Do code cleanups.
6639 Add more comments about avoiding strdups for all text data. Comments
6642 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6644 * gst/gstregistrybinary.h (GstBinaryPluginElement,
6645 GstBinaryPluginFeature, _GstBinaryElementFactory, plugin_feature,
6646 GstBinaryElementFactory, _GstBinaryTypeFindFactory, plugin_feature):
6647 Comment structs and reformat to fix the build (that stuff should go
6648 into a priv. header).
6650 2007-04-25 Stefan Kost <ensonic@users.sf.net>
6652 * gst/gstregistrybinary.c: (gst_registry_binary_save_feature),
6653 (gst_registry_binary_load_feature):
6654 * gst/gstregistrybinary.h:
6655 Refactor so that we can implement multiple features. Add support for
6656 TypeFindFactory features.
6658 2007-04-24 Stefan Kost <ensonic@users.sf.net>
6660 Patch by: Peter Kjellerstedt <Peter.Kjellerstedt@axis.com>
6663 Fix AM_CONDITIONAL(GST_DISABLE_GST_DEBUG,...) and update comment.
6665 2007-04-23 Stefan Kost <ensonic@users.sf.net>
6667 * gst/gstbin.c: (gst_bin_element_set_state),
6668 (iterator_activate_fold_with_resync), (gst_bin_continue_func),
6669 (bin_handle_async_done), (gst_bin_handle_message_func):
6670 Fix build with --gst-disable-gst-debug
6672 2007-04-21 Tim-Philipp Müller <tim at centricular dot net>
6674 * libs/gst/base/gstbasetransform.c: (gst_base_transform_activate):
6675 Make sure streaming has finished before calling the ::stop() vfunc,
6676 since that vfunc might clear state which is being used in the
6677 streaming thread. This fixes a race that caused crashes in
6678 audioresample when shutting down a pipeline (#420106).
6680 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6682 * docs/gst/gstreamer-sections.txt:
6683 That was one byte missing.
6685 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6688 * docs/gst/gstreamer-sections.txt:
6690 * gst/gstconfig.h.in:
6691 * gst/gstobject.c: (gst_object_class_init),
6692 (gst_signal_object_class_init):
6694 2nd attempt to have a xml-less build as a joined effort of #413123
6697 2007-04-20 Stefan Kost <ensonic@users.sf.net>
6699 * docs/design/draft-tagreading.txt:
6700 Added open issues/thoughts to draft.
6702 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6704 * gst/parse/grammar.tab.pre.c:
6705 * gst/parse/grammar.tab.pre.h:
6706 * gst/parse/lex._gst_parse_yy.pre.c:
6707 Update the prebuild parser sources.
6709 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6711 * gst/parse/Makefile.am:
6712 And now fix the building of the flex sources. Now everything should
6715 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6717 * gst/parse/Makefile.am:
6718 Now hopefully fix the build failures by setting proper rule
6719 dependencies and moving instead of copying.
6721 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6723 * tests/benchmarks/complexity.gnuplot:
6724 * tests/benchmarks/complexity.scm:
6725 * tests/benchmarks/mass-elements.gnuplot:
6726 * tests/benchmarks/mass-elements.scm:
6727 Total licensification.
6729 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6731 * gst/parse/Makefile.am:
6732 Fix the build by correcting the rule that gave wrong files to flex.
6734 2007-04-19 Stefan Kost <ensonic@users.sf.net>
6736 * tests/benchmarks/complexity.c:
6737 * tests/benchmarks/mass-elements.c:
6738 Change licence to LGPL as granted by Benjamin and Andy.
6740 2007-04-19 Sebastian Dröge <slomo@circular-chaos.org>
6742 * gst/parse/Makefile.am:
6743 Add correct grammar.tab.h dependency if compiling without new enough
6744 flex. Fixes #431150.
6746 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6748 * gst/parse/Makefile.am:
6749 Fix typo and use outdated sources if the flex/bison sources are newer
6750 than the pregenerated ones but flex is too old. Print a warning in
6751 that case. This should fix the build on the build bot.
6753 2007-04-18 Sebastian Dröge <slomo@circular-chaos.org>
6755 Patch by: Marc-Andre Lureau <marcandre dot lureau at gmail dot com>
6756 * gst/parse/Makefile.am:
6757 * gst/parse/grammar.y:
6758 * gst/parse/parse.l:
6759 Make the parser reentrant and recursively callable. This requires flex
6760 >= 2.5.31, for older versions pregenerated sources are used as we
6761 can't bump the build dependency. Finally fixes #349180.
6763 * gst/gstparse.c: (gst_parse_launch):
6764 Drop the HAVE_MT_SAVE_FLEX #ifdefs as we always use a new enough flex
6767 * docs/gst/Makefile.am:
6768 * docs/gst/Makefile.am:
6769 * gst/parse/grammar.tab.pre.c: (__gst_parse_strdup),
6770 (__gst_parse_strfree), (__gst_parse_link_new),
6771 (__gst_parse_link_free), (__gst_parse_chain_new),
6772 (__gst_parse_chain_free), (SET_ERROR), (YYPRINTF),
6773 (gst_parse_element_set), (gst_parse_free_link),
6774 (gst_parse_found_pad), (gst_parse_perform_delayed_link),
6775 (gst_parse_perform_link), (yytnamerr), (yysyntax_error), (yyerror),
6776 (_gst_parse_launch):
6777 * gst/parse/grammar.tab.pre.h:
6778 * gst/parse/lex._gst_parse_yy.pre.c: (PRINT), (yy_get_next_buffer),
6779 (yy_get_previous_state), (yy_try_NUL_trans), (input),
6780 (_gst_parse_yyrestart), (_gst_parse_yy_switch_to_buffer),
6781 (_gst_parse_yy_load_buffer_state), (_gst_parse_yy_create_buffer),
6782 (_gst_parse_yy_delete_buffer), (_gst_parse_yy_init_buffer),
6783 (_gst_parse_yy_flush_buffer), (_gst_parse_yypush_buffer_state),
6784 (_gst_parse_yypop_buffer_state),
6785 (_gst_parse_yyensure_buffer_stack), (_gst_parse_yy_scan_buffer),
6786 (_gst_parse_yy_scan_string), (_gst_parse_yy_scan_bytes),
6787 (yy_fatal_error), (_gst_parse_yyget_extra),
6788 (_gst_parse_yyget_lineno), (_gst_parse_yyget_column),
6789 (_gst_parse_yyget_in), (_gst_parse_yyget_out),
6790 (_gst_parse_yyget_leng), (_gst_parse_yyget_text),
6791 (_gst_parse_yyset_extra), (_gst_parse_yyset_lineno),
6792 (_gst_parse_yyset_column), (_gst_parse_yyset_in),
6793 (_gst_parse_yyset_out), (_gst_parse_yyget_debug),
6794 (_gst_parse_yyset_debug), (_gst_parse_yyget_lval),
6795 (_gst_parse_yyset_lval), (_gst_parse_yylex_init),
6796 (yy_init_globals), (_gst_parse_yylex_destroy), (yy_flex_strncpy),
6797 (yy_flex_strlen), (_gst_parse_yyalloc), (_gst_parse_yyrealloc),
6798 (_gst_parse_yyfree):
6799 If the installed flex version is too old use pre-generated parser
6800 sources. These pre-generated parser sources are always updated when
6801 the actual flex/bison sources change but require everybody who wants
6802 to change something in the parser to have flex >= 2.5.31 installed.
6804 2007-04-18 Stefan Kost <ensonic@users.sf.net>
6806 * common/m4/gst-gettext.m4:
6807 * gst/gst-i18n-lib.h:
6808 Make --disable-nls to work
6810 2007-04-17 Wim Taymans <wim@fluendo.com>
6812 * gst/gstconfig.h.in:
6813 Revert previous change that broke the build.
6815 2007-04-17 Stefan Kost <ensonic@users.sf.net>
6819 * gst/gstconfig.h.in:
6820 Drop libxml2 dependency when building with
6821 --enable-binary-registry --disable-loadsave
6823 2007-04-16 Tim-Philipp Müller <tim at centricular dot net>
6825 * gst/gstregistrybinary.c: (gst_registry_binary_write_cache),
6826 (gst_registry_binary_read_cache):
6827 * gst/gstregistrybinary.h:
6828 Remove unnecessary <sys/mman.h> include which broke the win32 build
6829 with MingW; move includes from header file to .c file, even if the
6830 header file isn't installed; use g_strerror() where UTF-8 strings
6831 are expected, such as in GST_DEBUG messages.
6833 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6835 * docs/libs/gstreamer-libs-sections.txt:
6836 Remove bogus addition for API I didn't end up keeping.
6838 * libs/gst/base/gstbasesrc.h:
6839 Mention Since: 0.10.13 in the documentation.
6841 Add the API keyword to the previous ChangeLog entry.
6843 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6845 * docs/libs/gstreamer-libs-sections.txt:
6846 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
6847 (gst_base_src_default_prepare_seek_segment),
6848 (gst_base_src_prepare_seek_segment), (gst_base_src_perform_seek):
6849 * libs/gst/base/gstbasesrc.h:
6850 Allow basesrc derived classes to execute seeks in other formats
6851 by providing a prepare_seek_segment vmethod. Sub-classes can choose
6852 to prepare the GstSegment in any format that their perform_seek method
6853 will be able to understand. The default implementation provides the
6854 old behaviour of attempting to convert the seek offsets to the
6855 configured native format.
6857 API: basesrc::prepare_seek_segment vmethod.
6859 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6861 * gst/gstelement.c: (gst_element_get_state_func):
6862 Don't output the same debug statement twice.
6864 * libs/gst/base/gstadapter.c: (gst_adapter_try_to_merge_up),
6865 (gst_adapter_peek), (gst_adapter_take_buffer):
6866 Optimise the case where we have buffers at the head of the queue that
6867 can be joined quickly (because they're contiguous sub-buffers) by
6868 merging them together rather than copying data out into new memory.
6870 * gst/parse/grammar.y:
6871 * tests/check/pipelines/parse-launch.c:
6872 Fix a leak in an error path for parse_launch, and add a check
6873 for it to the testsuite.
6875 2007-04-13 Jan Schmidt <thaytan@mad.scientist.com>
6877 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6878 Don't deadlock when releasing a pad - gst_pad_set_active may try
6879 and take the multiqueue lock too.
6881 2007-04-12 Tim-Philipp Müller <tim at centricular dot net>
6883 * gst/gsterror.c: (_gst_core_errors_init):
6885 API: add GST_CORE_ERROR_DISABLED (#392804).
6887 2007-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
6889 * docs/faq/gst-uninstalled:
6890 don't get empty paths on the PATH variables
6891 * gst/gstpad.c (gst_pad_is_active, gst_pad_set_blocked_async):
6892 Don't format for the uncommon terminal width of 84 characters.
6894 2007-04-06 Wim Taymans <wim@fluendo.com>
6896 * gst/gstpipeline.c: (reset_stream_time),
6897 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time):
6898 Only try to select a different pipeline clock when we went back to
6899 PAUSED and not when we merely got flushed.
6901 2007-04-05 Michael Smith <msmith@fluendo.com>
6903 * tools/gst-launch.1.in:
6904 fractions are better supported in gstreamer than ractions, so
6905 suggest using those.
6907 2007-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
6909 Submitted by: Mogens Jaeger <mogens@jaeger.tf>
6913 Added Danish translation.
6915 2007-04-05 Wim Taymans <wim@fluendo.com>
6917 * libs/gst/base/gstbasesink.c:
6918 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event):
6919 Fix leak caused when refusing newsegment after EOS.
6921 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
6922 (gst_fake_sink_init), (gst_fake_sink_set_property),
6923 (gst_fake_sink_get_property), (gst_fake_sink_preroll),
6924 (gst_fake_sink_render), (gst_fake_sink_change_state):
6925 * plugins/elements/gstfakesink.h:
6926 Add num-buffers property to make the element generate EOS after a
6927 configurable amount of buffers.
6928 API: fakesink::num-buffers property.
6930 * tests/check/elements/fakesink.c: (GST_START_TEST),
6932 Fix GstBus leak in test.
6933 Test for fakesink num-buffers.
6935 2007-04-05 Wim Taymans <wim@fluendo.com>
6937 * libs/gst/base/gstbasesink.c:
6938 (gst_base_sink_queue_object_unlocked), (gst_base_sink_event),
6939 (gst_base_sink_change_state):
6940 Don't accept anything after an EOS, return UNEXPECTED instead.
6942 * tests/check/elements/fakesink.c: (GST_START_TEST),
6944 Unit test for new EOS behaviour.
6946 2007-04-05 Wim Taymans <wim@fluendo.com>
6948 * gst/gstelement.c: (gst_element_get_request_pad):
6949 Make padtemplates also work when they don't contain %s or %d.
6951 2007-04-05 Wim Taymans <wim@fluendo.com>
6953 * docs/gst/gstreamer-sections.txt:
6954 * gst/gstclock.c: (gst_clock_adjust_unlocked),
6955 (gst_clock_unadjust_unlocked), (gst_clock_set_calibration):
6957 Improve _adjust_unlocked() so that it overflows less.
6958 Add gst_clock_unadjust_unlocked to convert from external time to
6959 internal time based on calibration.
6960 Add some more debug.
6961 API: GstClock::gst_clock_unadjust_unlocked()
6963 2007-04-03 Wim Taymans <wim@fluendo.com>
6965 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
6967 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_release_pad):
6968 Deactivate pads and free GstSingleQueue with gst_single_queue_free()
6969 when releasing sink pad. Fixes #425400.
6971 2007-04-02 Stefan Kost <ensonic@users.sf.net>
6973 * docs/random/ensonic/dynlink.txt:
6974 More work on proposal for new core api.
6976 * docs/libs/gstreamer-libs-sections.txt:
6977 * libs/gst/base/gstbasetransform.h:
6978 API: GST_BASE_TRANSFORM_LOCK/UNLOCK added
6980 * libs/gst/controller/gstcontroller.c:
6981 (on_object_controlled_property_changed),
6982 (gst_controller_sync_values),
6983 (gst_controller_set_interpolation_mode):
6984 * libs/gst/controller/gstcontroller.h:
6985 Less verbose logging add docs for unimplemented parts and correctly
6986 return when using unavailable parts.
6988 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
6990 * gst/gstclock.c: (gst_clock_set_master), (do_linear_regression):
6991 Move all the debug to the CLOCK category, and associate it with
6994 2007-03-29 Jan Schmidt <thaytan@mad.scientist.com>
6996 * libs/gst/base/gstadapter.c: (gst_adapter_take_buffer):
6997 Make take_buffer a bit quicker by removing redundant checks
6998 caused by calling gst_adapter_take.
7000 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7002 * plugins/elements/gstmultiqueue.c: (gst_single_queue_free):
7005 * tests/check/Makefile.am:
7006 * tests/check/elements/.cvsignore:
7007 * tests/check/elements/multiqueue.c: (setup_multiqueue),
7008 (GST_START_TEST), (multiqueue_suite):
7009 Add some dead simple unit tests for the 'multiqueue' element
7010 (some bits don't work yet and are disabled for now).
7012 2007-03-28 Tim-Philipp Müller <tim at centricular dot net>
7014 * gst/gstelement.c: (gst_element_get_request_pad),
7015 (gst_element_class_get_request_pad_template):
7016 Make gst_element_get_request_pad() create request pads only for
7017 request pad templates and not for, say, sometimes pad templates.
7019 2007-03-28 Stefan Kost <ensonic@users.sf.net>
7021 * docs/design/draft-klass.txt:
7022 Add example that needs more thinking.
7024 * docs/design/draft-missing-plugins.txt:
7025 More thoughts about wrapper plugins.
7027 * docs/random/ensonic/embedded.txt:
7028 * docs/random/ensonic/profiling.txt:
7031 2007-03-25 Wim Taymans <wim@fluendo.com>
7033 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range),
7034 (gst_base_src_loop):
7035 Only push the segment events in the PLAYING state for live sources.
7037 2007-03-23 Jan Schmidt <thaytan@mad.scientist.com>
7039 * gst/gstpipeline.c: (gst_pipeline_change_state):
7040 Modify the clock distribution path in PAUSED->PLAYING so that we
7041 never attempt to choose a new clock unless we're actually leaving
7042 the PAUSED state for the first time. This prevents choosing a
7043 different clock when the state_change gets called for a 2nd time due
7044 to some element doing an async state change.
7046 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7048 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_configure_sink),
7049 (gst_pad_configure_src), (gst_pad_alloc_buffer_full),
7050 (gst_pad_chain_unchecked), (gst_pad_push):
7051 Revert last commit. This needs some more thoughts.
7053 2007-03-22 Sebastian Dröge <slomo@circular-chaos.org>
7055 * gst/gstpad.c: (gst_pad_set_caps), (gst_pad_alloc_buffer_full),
7056 (gst_pad_chain_unchecked), (gst_pad_push):
7057 Check in set_caps if the caps are compatible with the pad and remove
7058 two functions that are redundant now. Fixes #421543.
7060 2007-03-22 Wim Taymans <wim@fluendo.com>
7062 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
7063 (mixed_thread), (mixed_async_cb), (gst_systemclock_suite):
7064 Unref some more to make valgrind happy.
7066 2007-03-22 Wim Taymans <wim@fluendo.com>
7068 * gst/gstsystemclock.c: (gst_system_clock_id_wait_jitter_unlocked),
7069 (gst_system_clock_id_wait_jitter),
7070 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
7071 Fix anoying regression that survived a few releases. When adding an
7072 async entry while blocking on a sync entry, the sync entry will unblock
7073 but still be busy, so it should continue to wait instead of returning
7075 Add some comments here and there.
7077 * tests/check/gst/gstsystemclock.c: (mixed_thread),
7078 (mixed_async_cb), (GST_START_TEST), (gst_systemclock_suite):
7079 Add testcase for this.
7081 2007-03-22 Wim Taymans <wim@fluendo.com>
7083 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
7084 Handle errors from the clock sync better, only UNSCHEDULED indicates a
7085 WRONG_STATE and can silently pause the task. All other cases should
7088 2007-03-22 Wim Taymans <wim@fluendo.com>
7090 Patch by: Ville Syrjala <syrjala at sci dot fi>
7092 * gst/gstpad.c: (gst_pad_alloc_buffer_full), (gst_pad_send_event):
7093 Fix possible deadlock if pad eventfunc is not specified. Fixes #421177.
7096 2007-03-21 Michael Smith <msmith@fluendo.com>
7098 * docs/pwg/advanced-types.xml:
7099 Fix some errors in the typefinding docs pointed out on irc.
7101 2007-03-21 Jan Schmidt <thaytan@mad.scientist.com>
7103 * libs/gst/base/gstbasesrc.c:
7104 Clarify FIXME comment in the face of having added unlock_stop()
7106 2007-03-21 Wim Taymans <wim@fluendo.com>
7108 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_element_set_state):
7109 Prepare for release where we warn against possible app breakage in the
7110 case of live pipelines along with an env var to enable/disable live
7111 preroll mode (GST_COMPAT=[no-]live-preroll).
7113 2007-03-20 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7115 * plugins/elements/gstidentity.c (gst_identity_check_imperfect_offset):
7116 So we should use correct constants for checking for None offset.
7118 2007-03-20 Wim Taymans <wim@fluendo.com>
7120 * docs/design/part-block.txt:
7121 Mention the fact that the newly switched element should be set to at
7124 2007-03-20 Wim Taymans <wim@fluendo.com>
7127 Fix compilation with registry disabled as spotted by Saur.
7129 2007-03-20 Wim Taymans <wim@fluendo.com>
7131 Patch by: Olivier Crete <tester at tester dot ca>
7133 * gst/gstelement.c: (gst_element_sync_state_with_parent):
7134 Look at the pending state too when syncing the element state to the
7135 parent. Fixes #420133.
7137 2007-03-19 Jan Schmidt <thaytan@mad.scientist.com>
7139 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
7140 (gst_base_sink_change_state):
7141 * libs/gst/base/gstbasesink.h:
7142 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
7143 (gst_base_src_default_event), (gst_base_src_unlock_stop),
7144 (gst_base_src_deactivate):
7145 * libs/gst/base/gstbasesrc.h:
7146 Add ::unlock_stop to basesrc and basesink. This allows an opportunity
7147 for sub-classes to correctly clear any state they set trying to
7148 unlock, such as clearing out unlock commands from a command fd.
7149 API: basesrc::unlock_stop
7150 API: basesink::unlock_stop
7152 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init),
7153 (gst_fd_sink_render), (gst_fd_sink_unlock),
7154 (gst_fd_sink_unlock_stop):
7155 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init),
7156 (gst_fd_src_init), (gst_fd_src_unlock), (gst_fd_src_unlock_stop),
7157 (gst_fd_src_create), (gst_fd_src_get_size), (gst_fd_src_do_seek):
7159 Implement unlock_stop in fdsrc and fdsink.
7160 Implement seeking in fdsrc when a seekable fd is passed, as in
7161 gst-launch-0.10 fdsrc ! ... ! xvimagesink < /path/to/file
7163 2007-03-19 Wim Taymans <wim@fluendo.com>
7165 Patch by: Evan Nemerson <evan at coeus dash group dot com>
7167 * gst/gstelement.c: (gst_element_class_init):
7168 Fix pad-added and pad-removed signal signatures so that the pad type is
7169 stated as GST_TYPE_PAD instead of G_TYPE_OBJECT. Fixes #419851.
7171 2007-03-19 Wim Taymans <wim@fluendo.com>
7173 * docs/gst/gstreamer-sections.txt:
7174 Add new element field and method.
7176 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
7177 (bin_remove_messages), (gst_bin_add_func), (gst_bin_remove_func),
7178 (gst_bin_recalc_state), (gst_bin_get_state_func),
7179 (gst_bin_element_set_state), (gst_bin_change_state_func),
7180 (gst_bin_continue_func), (bin_bus_handler),
7181 (bin_push_state_continue), (bin_handle_async_start),
7182 (bin_handle_async_done), (gst_bin_handle_message_func):
7183 Make async state changes a bit smarter by using new ASYNC_START and
7184 ASYNC_DONE messages. This reduces the number of times we run the state
7185 recalculation thread.
7186 Don't change state of element with a pending ASYNC_START message.
7187 Deprecate STATE_DIRTY messages.
7189 * gst/gstelement.c: (gst_element_init), (gst_element_send_event),
7190 (gst_element_get_state_func), (gst_element_continue_state),
7191 (gst_element_lost_state), (gst_element_set_state_func),
7192 (gst_element_change_state):
7194 Keep the state that was last set by the app in a new element field.
7195 Don't allow state changes when handling an element event.
7196 Post ASYNC_START and ASYNC_DONE messages.
7197 Change lost_state so that we go to PAUSED and wait for the parent to set
7198 us to PLAYING again (so latency calculation can be performed)
7199 Export gst_element_change_state() method so that subclasses can use it.
7200 API: gst_element_change_state()
7201 API: GST_STATE_TARGET
7203 * gst/gstpipeline.c: (gst_pipeline_class_init),
7204 (reset_stream_time), (gst_pipeline_change_state),
7205 (gst_pipeline_handle_message), (gst_pipeline_set_new_stream_time):
7206 Using the new ASYNC_START message we can reset the base_time when
7207 needed. This can then be used to implement base_time redistribution in
7208 flushing seeks so that we can remove the explicit seek handling.
7209 Perform latency query and configuration when going to PLAYING.
7211 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
7212 (gst_base_sink_query), (gst_base_sink_change_state):
7213 Post new ASYNC_START/ASYNC_DONE messages.
7215 * tests/check/generic/sinks.c: (GST_START_TEST):
7216 Fix test because the bin will not set the async element to PLAYING right
7219 * tests/check/gst/gstbin.c: (pop_async_done), (GST_START_TEST):
7220 Make the message check a little stronger.
7221 Handle ASYNC messages.
7223 * tests/check/pipelines/cleanup.c: (GST_START_TEST):
7224 * tests/check/pipelines/simple-launch-lines.c: (GST_START_TEST):
7225 Expect ASYNC_DONE messages.
7227 2007-03-19 Wim Taymans <wim@fluendo.com>
7229 * docs/gst/gstreamer-sections.txt:
7230 * gst/gstmessage.c: (gst_message_new_async_start),
7231 (gst_message_new_async_done), (gst_message_parse_info),
7232 (gst_message_parse_async_start):
7234 Add ASYNC_START and ASYNC_DONE messages to prepare for latency
7237 2007-03-15 Tim-Philipp Müller <tim at centricular dot net>
7239 * tools/gst-inspect.c:
7240 (print_plugin_automatic_install_info_codecs):
7241 Now that we don't check for the 'Codec' keyword any longer in the
7242 klass, we shouldn't spew a warning if the klass isn't a decoder or
7243 encoder (since it might be a Source/Network, for example).
7245 2007-03-14 Tim-Philipp Müller <tim at centricular dot net>
7247 * tools/gst-inspect.c:
7248 (print_plugin_automatic_install_info_codecs):
7249 Don't require decoder/demuxer/depayloader elements or
7250 encoder/muxer/paylader elements to have 'Codec' as part of their
7251 factory class string when introspecting a plugin's capabilities.
7252 draft-klass.txt mentions that it might be removed in future, and
7253 flump3dec doesn't have it as part of its class string, so chances
7254 are others might also not have it.
7256 2007-03-14 Thomas Vander Stichele <thomas at apestaart dot org>
7278 Update translations from translation project
7280 2007-03-14 Stefan Kost <ensonic@users.sf.net>
7282 * gst/gstchildproxy.c: (gst_child_proxy_get_property),
7283 (gst_child_proxy_set_property):
7284 Invert precondition check to be alike the ones in the mimiced gobject
7287 2007-03-13 Stefan Kost <ensonic@users.sf.net>
7289 * docs/design/draft-tagreading.txt:
7290 * docs/random/ensonic/audiobaseclasses.txt:
7291 Do some Architect work.
7293 * gst/gstobject.c: (gst_object_set_name):
7297 Add docs that point from gst_pad_get_range to gst_pad_pull_range
7299 2007-03-12 Jan Schmidt <thaytan@mad.scientist.com>
7301 * gst/gstsystemclock.c: (gst_system_clock_init),
7302 (gst_system_clock_start_async), (gst_system_clock_id_wait_async):
7303 Defer starting the async system clock thread until the first async
7304 wait is scheduled. Fixes #414986.
7306 2007-03-12 Tim-Philipp Müller <tim at centricular dot net>
7308 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_finalize),
7309 (gst_single_queue_free):
7310 Fix small leak (free GstSingleQueue structure too, not only contents).
7312 2007-03-10 Sebastien Moutte <sebastien@moutte.net>
7314 * gst/gstbin.c:(gst_bin_add):
7315 Use GST_STR_NULL to prevent NULL pointer to be passed to GST_CAT_DEBUG.
7316 * win32/common/libgstbase.def:
7317 * win32/common/libgstreamer.def:
7318 Add new exported functions.
7320 2007-03-09 Wim Taymans <wim@fluendo.com>
7322 * docs/plugins/gstreamer-plugins-sections.txt:
7325 2007-03-09 Wim Taymans <wim@fluendo.com>
7327 * docs/gst/gstreamer-sections.txt:
7328 * gst/gstbuffer.c: (gst_buffer_copy_metadata), (_gst_buffer_copy):
7330 Add metadata copy functions. Fixes #393099.
7331 API: gst_buffer_copy_metadata()
7333 * gst/gstutils.c: (gst_buffer_stamp):
7334 * libs/gst/base/gstbasetransform.c:
7335 (gst_base_transform_prepare_output_buffer):
7336 Use new metadata copy functions.
7338 2007-03-09 Thomas Vander Stichele <thomas at apestaart dot org>
7340 * plugins/elements/gstidentity.c: (gst_identity_class_init),
7341 (gst_identity_init), (gst_identity_check_perfect),
7342 (gst_identity_check_imperfect_timestamp),
7343 (gst_identity_check_imperfect_offset), (gst_identity_transform_ip),
7344 (gst_identity_set_property), (gst_identity_get_property):
7345 * plugins/elements/gstidentity.h:
7346 Separate out check-imperfect-timestamp and check-imperfect-offset.
7347 Put back check-perfect as it was to keep compatibility.
7349 2007-03-09 Jan Schmidt <thaytan@mad.scientist.com>
7351 * gst/gstelement.c: (gst_element_dispose):
7352 There's no need to warn if VOID_PENDING is not NONE here, as
7353 long as the state is NULL it's ok, and that's checked immediately
7356 2007-03-08 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7358 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7359 Fix check for perfect stream to ignore buffers with -1
7360 offsets/offset ends when checking data contiguity.
7362 2007-03-08 Wim Taymans <wim@fluendo.com>
7364 * tools/gst-launch.c: (event_loop):
7365 Print INFO messages.
7367 2007-03-08 Wim Taymans <wim@fluendo.com>
7369 * libs/gst/base/gstbasetransform.c:
7370 (gst_base_transform_sink_eventfunc),
7371 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
7372 (gst_base_transform_activate):
7373 * libs/gst/base/gstbasetransform.h:
7374 Add support for dropping buffers with custom GstFlowReturn.
7375 Set DISCONT flags on outgoing buffers based on QoS, incomming DISCONT
7376 buffers or dropped buffers.
7378 * docs/libs/gstreamer-libs-sections.txt:
7379 docs for new custom return code.
7381 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
7382 Use drop support in base class to implement drop-probability.
7384 2007-03-07 Tim-Philipp Müller <tim at centricular dot net>
7386 * gst/gst.c: (load_plugin_func):
7387 * gst/gstplugin.c: (gst_plugin_load_by_name), (gst_plugin_load):
7388 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
7389 * gst/gsttrace.c: (gst_trace_new), (gst_alloc_trace_set_flags_all):
7390 Remove newlines at end of debug log strings.
7392 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7394 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7395 Only post bus message at max, once per buffer received.
7397 2007-03-07 Wim Taymans <wim@fluendo.com>
7399 * docs/design/Makefile.am:
7400 * docs/design/part-synchronisation.txt:
7401 Add doc about synchronisation
7403 * docs/design/draft-latency.txt:
7404 * docs/design/part-TODO.txt:
7405 * docs/design/part-clocks.txt:
7406 * docs/design/part-events.txt:
7407 * docs/design/part-gstbus.txt:
7408 * docs/design/part-gstpipeline.txt:
7409 * docs/design/part-live-source.txt:
7410 * docs/design/part-messages.txt:
7411 * docs/design/part-overview.txt:
7412 * docs/design/part-streams.txt:
7413 * docs/design/part-trickmodes.txt:
7414 Documentation updates.
7416 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7419 Update the doap file.
7421 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7423 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
7424 Rename non-perfect to imperfect for Mike and for the sanctity of the
7426 Also make sure bus message gets emitted for data-incontiguities.
7428 2007-03-07 Zaheer Abbas Merali <zaheerabbas at merali dot org>
7430 * plugins/elements/gstidentity.c: (gst_identity_check_perfect),
7431 (gst_identity_start):
7432 * plugins/elements/gstidentity.h:
7433 Emit bus message if check-perfect is true and we encounter a
7434 non-perfect stream between 2 consecutive buffers.
7437 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7442 === release 0.10.12 ===
7444 2007-03-07 Jan Schmidt <thaytan@mad.scientist.com>
7447 releasing 0.10.12, "Inevitable Demise"
7449 2007-03-01 Jan Schmidt <thaytan@mad.scientist.com>
7452 Version 0.10.11.2 (0.10.12 pre-release)
7453 Bump libtool versioning.
7455 2007-03-01 Stefan Kost <ensonic@users.sf.net>
7457 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
7458 Log flow-names and not numbers.
7460 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7463 Convert to new AG_GST style.
7465 2007-02-28 Wim Taymans <wim@fluendo.com>
7467 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency):
7468 Don't unref query twice.
7470 2007-02-28 Wim Taymans <wim@fluendo.com>
7472 * gst/gstvalue.c: (gst_value_transform_object_string),
7473 (_gst_value_initialize):
7474 Implement GstObject -> string transform so we print object names
7475 when serializing GValues containing GstObjects.
7477 2007-02-28 Wim Taymans <wim@fluendo.com>
7479 * docs/gst/gstreamer-sections.txt:
7480 Add new stuff to docs.
7482 2007-02-28 Wim Taymans <wim@fluendo.com>
7484 * libs/gst/base/gstbasesink.c: (gst_base_sink_query_latency),
7485 (gst_base_sink_queue_object_unlocked), (gst_base_sink_send_event),
7486 (gst_base_sink_change_state):
7487 Improve latency query code.
7488 Don't leak latency events.
7490 * tests/check/gst/gstbin.c: (GST_START_TEST):
7493 2007-02-28 Wim Taymans <wim@fluendo.com>
7495 * gst/gstelement.c: (gst_element_message_full),
7496 (gst_element_get_state_func):
7498 Improve docs a little. Added Since: for new macro.
7500 * gst/gstobject.c: (gst_object_sink):
7501 * gst/gstpipeline.c: (gst_pipeline_change_state),
7502 (gst_pipeline_set_new_stream_time):
7503 * gst/gstpipeline.h:
7504 Improve debugging and docs.
7506 * gst/gstutils.c: (gst_element_state_change_return_get_name):
7509 2007-02-28 Wim Taymans <wim@fluendo.com>
7511 * gst/gstelement.c: (gst_element_message_full),
7512 (gst_element_set_locked_state), (gst_element_get_state_func),
7513 (gst_element_change_state):
7514 Handle INFO messages from the GST_ELEMENT_INFO macro as well.
7515 Documentation updates.
7516 Small code cleanups.
7518 * gst/gstmessage.c: (gst_message_new_info),
7519 (gst_message_parse_info):
7521 API: gst_message_new_info()
7522 API: gst_message_parse_info()
7523 Add INFO message create and parse code.
7525 2007-02-28 Wim Taymans <wim@fluendo.com>
7527 * gst/gstbin.c: (bin_query_min_max_init), (bin_query_latency_fold),
7528 (bin_query_latency_done):
7529 Also report the live parameter of a latency query.
7531 2007-02-28 Thomas Vander Stichele <thomas at apestaart dot org>
7533 * tests/check/generic/states.c: (GST_START_TEST), (states_suite):
7534 Copy the current generic/states example from -base and adapt so
7535 we can use the exact same code everywhere.
7536 Check a STATES_IGNORE_ELEMENTS env var which can be used
7537 to ignore certain element factories for this test, which is
7538 what is being done in -base
7539 * tests/check/Makefile.am:
7540 Mention this environment variable.
7542 2007-02-27 Wim Taymans <wim@fluendo.com>
7544 * docs/gst/gstreamer-sections.txt:
7545 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
7546 (gst_bus_timed_pop), (gst_bus_pop):
7548 API: gst_bus_timed_pop()
7549 Implement gst_bus_timed_pop() to do a blocking timed wait for a
7550 message to arrive on the bus.
7552 * tests/check/gst/gstbus.c: (GST_START_TEST), (pop_thread),
7554 Two unit tests for new _timed_pop() function.
7556 2007-02-23 Wim Taymans <wim@fluendo.com>
7558 * gst/gstpipeline.c: (gst_pipeline_change_state),
7559 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay):
7560 Don't ref a NULL clock in _provide_clock_func().
7561 Don't allow an INVALID delay.
7562 Don't try to calculate base_time with an invalid start_time.
7563 Also distribute and notify a NULL clock when it was selected.
7565 * tools/gst-launch.c: (event_loop):
7566 Don't crash when a NULL clock was selected in the pipeline.
7568 2007-02-23 Tim-Philipp Müller <tim at centricular dot net>
7570 * docs/design/Makefile.am:
7571 * docs/design/draft-missing-plugins.txt:
7572 * docs/random/draft-missing-plugins.txt:
7573 Some small updates: update plugin system identifier prefix
7574 ('gstreamer.net' to 'gstreamer'), mention our new install
7575 API in libgstbaseutils rather than libgimme-codec, add
7576 reference to the online docs.
7578 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7580 * win32/common/config.h:
7581 Pretty sure Bill never made a powerpc version. Powerpc hackers,
7582 use moap cl ci to only check in what is mentioned in the ChangeLog.
7584 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7586 * docs/gst/gstreamer-sections.txt:
7588 Fix up documentation to link to the correct GstGError section.
7589 Add GST_ELEMENT_INFO macro since someone else added a Info message.
7591 2007-02-21 Thomas Vander Stichele <thomas at apestaart dot org>
7593 * tools/gst-launch.c: (event_loop):
7594 Make sure that we actually show the important message part of a
7596 No need to check if the gerror is not NULL to free; first of all
7597 g_free accepts NULL; and second the default error handler would
7598 segfault if gerror was NULL.
7600 2007-02-21 Wim Taymans <wim@fluendo.com>
7602 * docs/gst/gstreamer-sections.txt:
7603 Removed docs as well.
7605 2007-02-21 Wim Taymans <wim@fluendo.com>
7607 * gst/gstmessage.c: (gst_message_parse_duration):
7609 Remove new messages for release.
7611 2007-02-20 Wim Taymans <wim@fluendo.com>
7613 * docs/design/part-gstghostpad.txt:
7614 * gst/gstghostpad.c: (gst_ghost_pad_dispose),
7615 (gst_ghost_pad_new_full):
7616 Make the ghostpad a parent of the internal pad again for better backward
7617 compatibility. Don't write code that relies on this however.
7619 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
7620 (gst_pad_link_check_hierarchy):
7621 Require that parents should be GstElements in the hierarchy check.
7623 2007-02-20 Wim Taymans <wim@fluendo.com>
7625 * gst/gstbin.c: (bin_replace_message), (gst_bin_add_func),
7626 (gst_bin_change_state_func), (bin_query_min_max_init),
7627 (bin_query_latency_fold), (bin_query_latency_done),
7630 Implement latency query.
7632 2007-02-20 Wim Taymans <wim@fluendo.com>
7634 * docs/design/part-gstghostpad.txt:
7635 * gst/gstghostpad.c: (gst_ghost_pad_class_init),
7636 (gst_ghost_pad_internal_do_activate_push),
7637 (gst_ghost_pad_internal_do_activate_pull),
7638 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
7639 (gst_ghost_pad_do_link), (gst_ghost_pad_dispose),
7640 (gst_ghost_pad_new_full), (gst_ghost_pad_set_target):
7641 Do not set the internal pad as a parent anymore so we can avoid
7642 hierarchy linking errors when the ghostpad has no parent yet. This also
7643 fixes failed activation because of unlinked internal pads, which in
7644 turn fixes the impossible case where you have to activate a pad before
7645 you can add it to a running element.
7648 * gst/gstpad.c: (pre_activate), (post_activate),
7649 (gst_pad_set_active), (gst_pad_activate_pull),
7650 (gst_pad_activate_push), (gst_pad_check_pull_range):
7651 Add some more debug info.
7652 Mark activation mode in pre_activate so that we don't try to activate in
7653 endless loops. Fixes #385084.
7655 2007-02-19 Wim Taymans <wim@fluendo.com>
7657 * libs/gst/base/gstbasetransform.c: (gst_base_transform_init),
7658 (gst_base_transform_check_get_range):
7659 Implement a checkgetrange function instead of relying on the default
7660 core behaviour that assumes we can operate in pull mode if we have a
7661 getrange function. First step at fixing #385084.
7663 2007-02-15 Stefan Kost <ensonic@users.sf.net>
7665 * gst/gstchildproxy.h:
7666 * libs/gst/base/gstbasesink.h:
7667 * libs/gst/base/gstbasesrc.h:
7668 * libs/gst/base/gstbasetransform.h:
7669 More docs coverage and some ChangeLog surgery (add missing names)
7671 2007-02-15 Wim Taymans <wim@fluendo.com>
7673 * docs/design/part-TODO.txt:
7674 * docs/design/part-activation.txt:
7675 * docs/design/part-block.txt:
7676 * docs/design/part-buffering.txt:
7677 * docs/design/part-clocks.txt:
7678 * docs/design/part-element-source.txt:
7679 * docs/design/part-events.txt:
7680 * docs/design/part-gstbin.txt:
7681 * docs/design/part-gstbus.txt:
7682 * docs/design/part-gstpipeline.txt:
7683 * docs/design/part-live-source.txt:
7684 * docs/design/part-messages.txt:
7685 * docs/design/part-overview.txt:
7686 * docs/design/part-qos.txt:
7687 * docs/design/part-query.txt:
7688 * docs/design/part-states.txt:
7689 * docs/design/part-trickmodes.txt:
7690 Some doc updates. Start renaming from stream_time to running_time where
7691 it was used wrongly.
7693 2007-02-15 Wim Taymans <wim@fluendo.com>
7695 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
7696 Answer LATENCY query.
7698 2007-02-15 Wim Taymans <wim@fluendo.com>
7700 * tests/check/gst/gstevent.c: (event_probe), (test_event),
7704 2007-02-15 Wim Taymans <wim@fluendo.com>
7706 * gst/gstpad.c: (gst_pad_get_internal_links_default),
7707 (gst_pad_dispatcher):
7708 Improve debugging of default pad dispatcher and query functions.
7710 2007-02-15 Wim Taymans <wim@fluendo.com>
7712 * docs/gst/gstreamer-sections.txt:
7713 Remove old unused method.
7715 2007-02-13 Wim Taymans <wim@fluendo.com>
7717 * tests/check/gst/gstsegment.c: (GST_START_TEST):
7720 2007-02-13 Wim Taymans <wim@fluendo.com>
7722 * docs/design/part-seeking.txt:
7725 * gst/gstsegment.c: (gst_segment_set_seek):
7726 Revert old bogus change that should make seeking work again.
7728 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7730 * docs/random/ensonic/dynlink.txt:
7731 * docs/random/ensonic/interfaces.txt:
7732 * docs/random/ensonic/receipies.txt:
7733 Possible dynamic reconnection api, plus some type fixes the other two
7736 2007-02-13 Sebastian Dröge <slomo@circular-chaos.org>
7738 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7739 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7740 Also check for an absolute path following file:// in the filesrc
7741 element. Remove redundant check and call g_path_is_absolute() on the
7744 2007-02-13 Stefan Kost <ensonic@users.sf.net>
7746 * docs/design/draft-klass.txt:
7747 Add existing category analysis.
7750 Fix doc example, framerate is a fraction.
7752 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7755 * docs/gst/Makefile.am:
7756 * docs/gst/gstreamer-sections.txt:
7757 * docs/libs/Makefile.am:
7758 Erm, forgot a bunch of --extra-dir.
7760 2007-02-12 Stefan Kost <ensonic@users.sf.net>
7763 * docs/gst/Makefile.am:
7764 * docs/libs/Makefile.am:
7765 * docs/plugins/Makefile.am:
7766 Add crossreferences to glib/gobject docs.
7768 2007-02-12 Wim Taymans <wim@fluendo.com>
7770 * docs/design/draft-latency.txt:
7773 * docs/libs/gstreamer-libs-sections.txt:
7774 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
7775 (gst_base_sink_get_latency), (gst_base_sink_query_latency),
7776 (gst_base_sink_wait_clock), (gst_base_sink_send_qos),
7777 (gst_base_sink_perform_qos), (gst_base_sink_queue_object_unlocked),
7778 (gst_base_sink_chain_unlocked), (gst_base_sink_send_event),
7779 (gst_base_sink_get_position), (gst_base_sink_query),
7780 (gst_base_sink_change_state):
7781 * libs/gst/base/gstbasesink.h:
7782 API: gst_base_sink_query_latency() to let subclasses query the upstream
7784 API: gst_base_sink_get_latency() to let subclasses query the configured
7785 latency in the sink.
7786 Implement query and set latency.
7788 As spotted by Will Newton <will dot newton at gmail dot com>: Make sure we
7789 don't continue preroll when we are flushing. Fixes #405284.
7791 * tests/check/pipelines/stress.c: (change_state_timeout),
7792 (quit_timeout), (GST_START_TEST), (stress_suite):
7795 2007-02-09 Tim-Philipp Müller <tim at centricular dot net>
7797 Patch by: René Stadler <mail at renestadler de>
7799 * docs/gst/gstreamer-sections.txt:
7800 * gst/gsttaglist.c: (_gst_tag_initialize):
7802 API: add GST_TAG_REFERENCE_LEVEL (#403597).
7804 2007-02-11 Stefan Kost <ensonic@users.sf.net>
7806 * docs/libs/Makefile.am:
7807 Fix path to core docs.
7809 * gst/gstbin.c: (gst_bin_get_by_interface),
7810 (gst_bin_iterate_all_by_interface):
7811 Refix docs by also renaming 'interface' to 'iface' in implementation.
7813 * docs/gst/gstreamer-sections.txt:
7815 * gst/gstchildproxy.c: (gst_child_proxy_base_init):
7816 * gst/gstchildproxy.h:
7817 * gst/gstelementfactory.c:
7818 * gst/gstpadtemplate.h:
7819 * libs/gst/controller/gstcontroller.c:
7820 (gst_controlled_property_new):
7823 2007-02-10 Sébastien Moutte <sebastien@moutte.net>
7825 * gst/gstbin.h:(gst_bin_get_by_interface),
7826 (gst_bin_iterate_all_by_interface):
7827 Replace interface parameter name by iface as interface is
7828 a reserved keyword in Visual Studio for C++ projects so it removes
7829 a build error for application developpers using VS.
7830 * plugins/elements/gstfilesrc.c:(gst_file_src_uri_set_uri):
7831 Fix a bug on Windows in uri format check. Now the prefix checked
7832 is file:// and next we check if the path after file:// is absolute.
7833 * win32/common/libgstbase.def:
7834 * win32/common/libgstdataprotocol.def:
7835 * win32/common/libgstgstreamer.def:
7836 Add new exported functions.
7838 2007-02-09 Andy Wingo <wingo@pobox.com>
7840 * tests/check/pipelines/simple-launch-lines.c
7841 (simple_launch_lines_suite, test_tee): Disable tee test until I
7842 have time to fix it :-(
7844 * tests/check/Makefile.am (noinst_HEADERS):
7845 * tests/check/libs/libsabi.c:
7846 * tests/check/libs/struct_ppc32.h: Add ABI checks for PPC32.
7847 * tests/check/gst/gstabi.c:
7848 * tests/check/gst/struct_ppc32.h: Add ABI checks for PPC32.
7850 * tests/check/pipelines/simple-launch-lines.c (test_tee): Add
7851 tests for push and pull tee behavior.
7853 * plugins/elements/gsttee.h:
7854 * plugins/elements/gsttee.c: Describe has-sink-loop better, and
7855 mark as deprecated as well as unimplemented. It was a crack idea.
7856 Add support for tee operating in pull mode, off by default.
7858 * gst/gstregistryxml.c (load_feature, load_plugin): Drop some
7859 normal-case logs down to LOG, raise errors to WARNING.
7860 (gst_registry_xml_read_cache): Don't log before calling a function
7863 * gst/gstregistry.c (gst_registry_finalize): Less debug on program
7864 exit (registry finalize).
7865 (gst_registry_add_plugin, gst_registry_add_feature): No need for a
7866 DEBUG log when we emit signals that people don't even have the
7867 chance to connect to.
7868 (gst_registry_scan_path_level): Less logging in the normal case.
7870 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7872 Patch by: Michal Benes <michal dot benes at itonis dot tv>
7874 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
7875 Correctly generate EOS for non-seekable files. We don't have a total
7876 length for them and would get an unexpected end of file if we only
7877 special-cased for regular files. (Fixes: #404569)
7879 2007-02-05 Sebastian Dröge <slomo@circular-chaos.org>
7881 * tests/check/elements/filesrc.c: (GST_START_TEST),
7883 Add unit test for the GstURIHandler interface in filesrc. This also
7884 tests the newly added file://localhost/foo/bar support.
7886 2007-02-04 Tim-Philipp Müller <tim at centricular dot net>
7888 * gst/gstelementfactory.h:
7889 The klass string is not a hierarchy. Add reference to the design doc
7890 for more information and common types.
7892 2007-02-02 Wim Taymans <wim@fluendo.com>
7894 * gst/gstquery.c: (gst_query_new_latency):
7895 Remove old structure field.
7897 2007-02-02 Stefan Kost <ensonic@users.sf.net>
7899 * tools/gst-launch.1.in:
7900 Give example for network streaming (#351998)
7902 2007-02-02 Wim Taymans <wim@fluendo.com>
7904 * docs/gst/gstreamer-sections.txt:
7905 Add docs for new methods.
7907 * gst/gstevent.c: (gst_event_new_latency),
7908 (gst_event_parse_latency):
7910 Add new LATENCY event to configure latency in a pipeline.
7911 API: gst_event_new_latency
7912 API: gst_event_parse_latency
7914 * gst/gstmessage.c: (gst_message_new_buffering),
7915 (gst_message_new_lost_preroll), (gst_message_new_prerolled),
7916 (gst_message_new_latency), (gst_message_parse_buffering),
7917 (gst_message_parse_lost_preroll):
7919 Added messages used in draft-latency.
7920 API: gst_message_new_lost_preroll
7921 API: gst_message_parse_lost_preroll
7922 API: gst_message_new_prerolled
7923 API: gst_message_new_latency
7925 * gst/gstquery.c: (gst_query_new_latency), (gst_query_set_latency),
7926 (gst_query_parse_latency):
7928 Implemented new latency query as in design doc.
7929 API: gst_query_new_latency
7930 API: gst_query_set_latency
7931 API: gst_query_parse_latency
7933 2007-02-02 Wim Taymans <wim@fluendo.com>
7935 * docs/design/draft-latency.txt:
7936 Slight redesign to allow for dynamic latency adjustments.
7938 * docs/design/part-negotiation.txt:
7941 2007-02-02 Sebastian Dröge <slomo@circular-chaos.org>
7943 reviewed by: Wim Taymans <wim@fluendo.com>
7945 * plugins/elements/gstfilesink.c: (gst_file_sink_uri_set_uri):
7946 * plugins/elements/gstfilesrc.c: (gst_file_src_uri_set_uri):
7947 Allow file://localhost/foo/bar URLs and correctly fail for every other
7948 hostname that one sets. This was gnomevfssrc is linked for those if
7949 installed as it can handle it (#403172)
7951 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
7953 reviewed by: Tim-Philipp Müller <tim at centricular dot net>
7955 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7956 (unref_data), (gst_collect_pads_add_pad_full):
7957 * libs/gst/base/gstcollectpads.h:
7958 Don't put the previously added destroy notify in the GstCollectData
7959 struct as all it's padding is already used and we don't want to break
7960 ABI. Instead put in the pad's GObject data for now. This should be
7961 cleaned up for 0.11 (#402393).
7963 2007-02-01 Sebastian Dröge <slomo@circular-chaos.org>
7965 reviewed by: Wim Taymans <wim@fluendo.com>
7967 * docs/libs/gstreamer-libs-sections.txt:
7968 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
7969 (unref_data), (gst_collect_pads_add_pad),
7970 (gst_collect_pads_add_pad_full):
7971 * libs/gst/base/gstcollectpads.h:
7972 API: Add function to specify a destroy notification for custom
7973 GstCollectData when adding new pads in GstCollectPads (#402393).
7975 2007-02-01 Tim-Philipp Müller <tim at centricular dot net>
7978 Update Swedish translation (#378255).
7980 2007-01-31 Stefan Kost <ensonic@users.sf.net>
7982 * docs/design/draft-klass.txt:
7983 Fix the previous change, this is a list of categories and not a hierarchy.
7985 2007-01-31 Stefan Kost <ensonic@users.sf.net>
7987 * docs/design/draft-klass.txt:
7988 Add info about how to get a list of used classes.
7990 2007-01-30 Tim-Philipp Müller <tim at centricular dot net>
7992 * plugins/elements/gsttypefindelement.c:
7993 (gst_type_find_element_chain_do_typefinding),
7994 (gst_type_find_element_change_state):
7995 Don't leak found caps in chain function (no idea why that never
7996 showed up as a leak anywhere).
7998 2007-01-30 Stefan Kost <ensonic@users.sf.net>
8001 Fix and expand GstPluginDesc API docs.
8003 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8006 * gst/gstelementfactory.c:
8007 * gst/gstpadtemplate.h:
8010 * libs/gst/controller/gstcontroller.c:
8011 (gst_controlled_property_new):
8012 * tests/examples/controller/audio-example.c:
8015 2007-01-29 Stefan Kost <ensonic@users.sf.net>
8018 comment about refining the xml deps
8021 comments about moving away from jade for docs
8024 recommit the ifdefs to use the binary registry
8026 * gst/gstbin.c: (gst_bin_change_state_func):
8027 this break is obsolete
8029 * gst/gstelementfactory.h:
8030 better GST_ELEMENT_DETAILS docs, add comment about translation
8035 * gst/gstobject.c: (gst_signal_object_get_type):
8036 add G_UNLIKELY as usual
8038 * gst/gstpad.c: (gst_pad_event_default):
8039 add fall trhu comment
8041 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8042 (gst_registry_binary_initialize_magic),
8043 (gst_registry_binary_save_string),
8044 (gst_registry_binary_save_pad_template),
8045 (gst_registry_binary_save_feature),
8046 (gst_registry_binary_save_plugin),
8047 (gst_registry_binary_write_cache),
8048 (gst_registry_binary_check_magic),
8049 (gst_registry_binary_load_pad_template),
8050 (gst_registry_binary_load_feature),
8051 (gst_registry_binary_load_plugin),
8052 (gst_registry_binary_read_cache):
8053 comment typo and formatting
8055 * gst/gstutils.c: (gst_element_state_get_name),
8056 (gst_element_state_change_return_get_name):
8057 remove obsolete breaks
8059 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
8060 add FIXME 0.11 and remove cpp comment
8062 2007-01-29 Edward Hervey <edward@fluendo.com>
8064 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8065 Fix print statement in an even more portable way.
8067 2007-01-29 Tim-Philipp Müller <tim at centricular dot net>
8069 * docs/gst/gstreamer-sections.txt:
8071 API: add GST_ROUND_DOWN_* macros (#401781).
8073 2007-01-27 Tim-Philipp Müller <tim at centricular dot net>
8075 * docs/gst/gstreamer.types.in:
8076 * gst/gstregistry.c: (gst_registry_class_init):
8077 Document registry signals and make gtk-doc pick them up (#401381).
8079 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8081 * docs/pwg/building-testapp.xml:
8082 Add some audioconverts and audioresample to the pipeline, and some
8083 more comments and error handling.
8085 2007-01-26 Tim-Philipp Müller <tim at centricular dot net>
8087 * docs/manual/manual.xml:
8091 2007-01-26 Wim Taymans <wim@fluendo.com>
8093 * gst/gstcaps.c: (gst_static_caps_get):
8094 Init caps flags too.
8096 2007-01-25 Sebastian Dröge <slomo@circular-chaos.org>
8098 Patch by: Jindrich Makovicka <jindrich.makovick at itonis dot tv>
8100 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
8101 If not using mmap'ed files try to seek to the end instead of the
8102 start to determine whether we can seek at all. This fixes the case
8103 of 2GB+ files over NFS, where seeks in the first 2GB can succeed but
8104 seeks for everything afterwards fail. Fixes #400656
8106 2007-01-25 Wim Taymans <wim@fluendo.com>
8108 * gst/gstcaps.c: (_gst_caps_free), (gst_static_caps_get):
8109 Add some refcount debugging.
8110 Make gst_static_caps_get threadsafe, which is needed when autoplugging
8111 in multiple streaming threads.
8113 2007-01-25 Wim Taymans <wim@fluendo.com>
8115 Patch by: David Schleef <ds at schleef dot org>
8117 * docs/libs/gstreamer-libs-sections.txt:
8118 * libs/gst/base/gstadapter.c: (gst_adapter_copy):
8119 * libs/gst/base/gstadapter.h:
8120 API: gst_adapter_copy() that can reduce the amount of memcpy when
8121 getting data from the adapter. Fixes #388201.
8123 2007-01-25 Edward Hervey <edward@fluendo.com>
8125 * gst/gstregistrybinary.c: (gst_registry_binary_read_cache):
8126 In print statements, "%x" is for guint. Fixes build on macosx.
8128 2007-01-24 Edward Hervey <edward@fluendo.com>
8130 * plugins/elements/gstmultiqueue.c:
8131 (gst_multi_queue_loop):
8133 (single_queue_overrun_cb), (single_queue_underrun_cb),
8134 (single_queue_check_full), (gst_single_queue_new):
8135 Implement single queue growth system.
8136 This uses the extra-size properties, and will grow single queues by
8137 that much if one goes full whereas there are others empty. This is
8138 called extra-mode in the code.
8139 When a single queue's levels go back below the initial max-size
8140 limits, it is no longer in extra-mode. This is to ensure we don't
8141 consume too much memory.
8144 2007-01-23 Tim-Philipp Müller <tim at centricular dot net>
8146 * gst/gst.c: (gst_init_get_option_group):
8147 Make warning about late g_thread_init() calls a bit more explicit,
8148 so that it's more obvious to application developers what they need
8149 to do if a user files a bug against their application.
8151 2007-01-22 Edward Hervey <edward@fluendo.com>
8153 * plugins/elements/gstmultiqueue.c:
8154 (gst_multi_queue_src_activate_push), (gst_single_queue_new):
8155 Remove previous hack of unsetting the flushing flag for the source pad
8156 instead of activating it. Instead, fix the source pad activate function
8157 so that it no longer depends on having a parent set or not.
8159 2007-01-22 Tim-Philipp Müller <tim at centricular dot net>
8161 Patch by: Carlos Sanmartin Dominguez <csanmartin@igalia.com>
8163 * docs/manual/basics-bus.xml:
8164 Fix example code, gst_element_unref() doesn't exist any longer.
8166 2007-01-21 Tim-Philipp Müller <tim at centricular dot net>
8168 Patch by: Mark Nauwelaerts <manauw at skynet be>
8171 Fix two docs typoes (#399094).
8173 2007-01-19 Edward Hervey <edward@fluendo.com>
8175 * docs/faq/gst-uninstalled:
8176 Add gst-plugins-base/gst/utils/ to LD_LIBRARY_PATH so that plugins
8177 depending on libgstbaseutils can work in uninstalled environment.
8179 2007-01-18 Stefan Kost <ensonic@users.sf.net>
8182 * gst/gsttagsetter.c:
8183 Add more docs regarding tag merge-modes and when to send tags. Fix 'since'
8184 statement for new tag.
8186 2007-01-17 Edward Hervey <edward@fluendo.com>
8188 * plugins/elements/gstmultiqueue.c: (gst_single_queue_new):
8189 When dynamically creating single queues, activate sinkpad before adding
8191 We should be doing the same thing for the source pad, but we can't
8192 since it would call a method which needs the parent to be set in order
8193 to work propertly. Instead of activating the source pad, we just unset
8194 the flushing flag, which is the minimal requirement for adding a pad
8195 to an element in a state greater than READY.
8197 2007-01-17 Edward Hervey <edward@fluendo.com>
8199 * docs/faq/gst-uninstalled:
8200 Add DYLD_LIBRARY_PATH declarations so we can also use this script on
8203 2007-01-17 Tim-Philipp Müller <tim at centricular dot net>
8205 * tests/check/gst/gstabi.c:
8206 * tests/check/gst/struct_hppa.h:
8207 * tests/check/libs/libsabi.c:
8208 * tests/check/libs/struct_hppa.h:
8209 Add ABI structs for HPPA (see #393796).
8211 2007-01-16 Tim-Philipp Müller <tim at centricular dot net>
8213 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
8214 Actually write ABI structs to the file specified in the GST_ABI
8215 environment variable, as the message we print claims we would.
8217 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8219 * tests/check/gst/gsttask.c:
8222 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8224 * gst/gsttaglist.c: (_gst_tag_initialize):
8225 Change tag type from STRING to DOUBLE. Apply ChangeLog surgery for my
8226 previous two entries.
8228 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8230 * docs/gst/gstreamer-sections.txt:
8231 * gst/gsttaglist.c: (_gst_tag_initialize):
8233 Add tag support for beat-per-minute.
8235 2007-01-15 Stefan Kost <ensonic@users.sf.net>
8237 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8238 (gst_registry_binary_initialize_magic),
8239 (gst_registry_binary_save_string), (gst_registry_binary_make_data),
8240 (gst_registry_binary_save_pad_template),
8241 (gst_registry_binary_save_feature),
8242 (gst_registry_binary_save_plugin),
8243 (gst_registry_binary_write_cache),
8244 (gst_registry_binary_check_magic),
8245 (gst_registry_binary_load_pad_template),
8246 (gst_registry_binary_load_feature),
8247 (gst_registry_binary_load_plugin),
8248 (gst_registry_binary_read_cache):
8249 * gst/gstregistrybinary.h:
8250 Use glib types, cleanup comments, impement interfaces and uri-types.
8252 2007-01-13 Andy Wingo <wingo@pobox.com>
8254 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Allow
8255 getrange() to return buffers with other caps, while we fix
8256 demuxers and typefind, or otherwise change part-negotiation.txt.
8258 2007-01-12 Andy Wingo <wingo@pobox.com>
8260 * libs/gst/base/gstbasetransform.c (gst_base_transform_activate):
8261 Factor start/stop into this private function instead of partially
8262 in activate functions and partially in the change_state function.
8263 Fixes setup before the element has changed from READY->PAUSED, as
8264 is the case in pull-mode pipelines.
8265 (gst_base_transform_sink_activate_push)
8266 (gst_base_transform_src_activate_pull): Refactor to use
8267 gst_base_transform_activate().
8268 (gst_base_transform_change_state): Removed, not needed any more.
8270 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8271 Truncate before fixating.
8273 * libs/gst/base/gstbasesink.c (gst_base_sink_negotiate_pull):
8274 Don't set_caps() if the result of fixating is ANY, as it's not
8275 supported, and not necessary in the case of a link with no
8276 template caps on either side. Fixes tests/check/libs/basesrc in
8277 some pull-mode tests.
8279 * libs/gst/base/gstbasetransform.c (_GstBaseTransformPrivate):
8280 (gst_base_transform_init, gst_base_transform_sink_activate_push)
8281 (gst_base_transform_src_activate_pull):
8282 Track the activation mode.
8283 (gst_base_transform_setcaps): In pull mode, when activating the
8284 src pad, after activating the sink pad, activate the sink pad's
8285 peer, as discussed in part-negotiation.txt.
8287 * libs/gst/base/gstbasesrc.h:
8288 * libs/gst/base/gstbasesrc.c (gst_base_src_fixate): Add fixate
8289 vmethod, as in basesink.
8291 * libs/gst/base/gstbasesink.h: Reformat docs, add fixate vmethod.
8293 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_setcaps): In pull
8294 mode, first proxy the setcaps to the peer pad.
8295 (gst_base_sink_pad_fixate): Add a fixate function that calls the
8297 (gst_base_sink_default_activate_pull): Rename from
8298 gst_base_sink_activate_pull.
8299 (gst_base_sink_negotiate_pull): New function, performs negotiation
8300 in pull mode before calling ::activate_pull().
8301 (gst_base_sink_pad_activate_pull): Actually call the activate_pull
8302 vmethod instead of the default implementation. I have no idea how
8303 this worked before. Negotiate before calling activate_pull.
8305 * gst/gstpad.c (gst_pad_activate_pull): Refuse to activate unlinked
8306 sink pads in pull mode. In addition to being correct, fixes
8307 filesrc ! decodebin ! identity ! fakesink.
8308 (gst_pad_get_range, gst_pad_pull_range): Don't call
8309 gst_pad_set_caps() if the caps changes; instead error out with
8310 GST_FLOW_NOT_NEGOTIATED, as discussed in part-negotiation.txt.
8312 2007-01-12 Andy Wingo <wingo@pobox.com>
8314 * docs/design/part-negotiation.txt: Update with more policy.
8316 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8318 * libs/gst/check/gstbufferstraw.h:
8319 * libs/gst/check/gstcheck.h:
8320 Add G_BEGIN_DECLS and G_END_DECLS. Move GST_CHECK_MAIN where it
8323 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8325 * tests/check/Makefile.am:
8326 * tests/check/gst/.cvsignore:
8327 * tests/check/gst/gsttagsetter.c: (gst_dummy_enc_add_interfaces),
8328 (gst_dummy_enc_base_init), (gst_dummy_enc_class_init),
8329 (gst_dummy_enc_init), (tag_list_foreach), (tag_setter_list_length),
8330 (GST_START_TEST), (gst_tag_setter_suite):
8331 Add minimal unit test for beforementioned GstTagSetter bug.
8333 2007-01-12 Tim-Philipp Müller <tim at centricular dot net>
8335 Patch by: René Stadler <mail at renestadler dot de>
8337 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags):
8338 gst_tag_list_merge() returns a new list, so it's not the best idea
8339 to ingore its return value. Effectively meant that tags could only
8340 be merged on a GstTagSetter once using _merge_tags(). Fixes #395554.
8341 Also add function guard to require a non-NULL taglist as input (has
8342 always been so due to gst_tag_list_copy(), just making it explicit).
8344 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8346 * docs/random/draft-missing-plugins.txt:
8347 Some additions: mention new API that is supposed to be used at the
8348 various stages; short blob about new gst-inspect introspection
8349 option; mention potential future problem with plugins that have
8350 a dynamic list of elements (such as ladspa, pitfdll, libvisual).
8352 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8354 * tools/gst-inspect.c:
8355 (print_plugin_automatic_install_info_codecs),
8356 (print_plugin_automatic_install_info_protocols),
8357 (print_plugin_automatic_install_info), (main):
8358 Add --print-plugin-auto-install-info option to gst-inspect, so we can
8359 introspect plugin files and get machine-parsable output that corresponds
8360 to the last bit of the missing-plugin installer string (small gotcha:
8361 doesn't take into account ranks).
8363 2007-01-11 Stefan Kost <ensonic@users.sf.net>
8366 * docs/gst/gstreamer-sections.txt:
8368 * gst/gstregistry.c: (gst_registry_lookup_feature_locked),
8369 (gst_registry_lookup_locked):
8370 * gst/gstregistry.h:
8371 * gst/gstregistrybinary.c: (gst_registry_binary_write),
8372 (gst_registry_binary_initialize_magic),
8373 (gst_registry_binary_save_string),
8374 (gst_registry_binary_save_pad_template),
8375 (gst_registry_binary_save_feature),
8376 (gst_registry_binary_save_plugin),
8377 (gst_registry_binary_write_cache),
8378 (gst_registry_binary_check_magic),
8379 (gst_registry_binary_load_pad_template),
8380 (gst_registry_binary_load_feature),
8381 (gst_registry_binary_load_plugin),
8382 (gst_registry_binary_read_cache):
8383 * gst/gstregistrybinary.h:
8384 * gst/gstregistryxml.c: (load_feature),
8385 (gst_registry_xml_read_cache):
8386 commit binary registry (disabled by default, see #359653)
8388 2007-01-11 Tim-Philipp Müller <tim at centricular dot net>
8390 * tests/check/gst/gstpad.c: (test_get_allowed_caps):
8391 Fix 'make check' too.
8393 2007-01-10 Andy Wingo <wingo@pobox.com>
8395 * docs/design/part-negotiation.txt: Fix a typo, add a couple
8398 * docs/design/part-negotiation.txt: Update with, um, one way that
8399 pull-mode negotiation might work?
8402 * gst/gstpad.c (gst_pad_get_allowed_caps): Remove the restriction
8403 that the pad must be a src pad; makes sense to call it the other
8404 way in pull mode, and the logic is symmetric anyway.
8406 2007-01-10 Tim-Philipp Müller <tim at centricular dot net>
8408 * plugins/elements/gstfilesink.c:
8409 Include <stdio.h> for fseeko().
8411 2007-01-10 Wim Taymans <wim@fluendo.com>
8415 Reserve LATENCY event.
8417 2007-01-09 Wim Taymans <wim@fluendo.com>
8419 * docs/design/draft-latency.txt:
8422 2007-01-09 Wim Taymans <wim@fluendo.com>
8424 * docs/design/draft-latency.txt:
8428 * gst/gststructure.c:
8432 2007-01-09 Tim-Philipp Müller <tim at centricular dot net>
8434 * tests/check/.cvsignore:
8435 Ignore test-registry.xml as well.
8437 2007-01-09 Wim Taymans <wim@fluendo.com>
8439 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
8440 unref data at the end when we are done with the pad.
8442 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8444 * docs/gst/gstreamer-sections.txt:
8445 * gst/gst.c: (load_plugin_func), (scan_and_update_registry),
8446 (init_post), (gst_deinit), (gst_update_registry):
8448 API: add gst_update_registry() (#391296).
8450 * tests/check/Makefile.am:
8451 * tests/check/gst/gstregistry.c:
8452 * tests/check/gst/.cvsignore:
8453 Simple unit test for the above.
8455 2007-01-08 Tim-Philipp Müller <tim at centricular dot net>
8457 * gst/gstregistry.c: (gst_registry_scan_path_level):
8458 Plugin extension on HP-UX is .sl, add that to the list of approved
8459 plugin extensions (see #393796).
8461 * tests/check/gst/gstpad.c: (GST_START_TEST):
8462 ulong => gulong. Fixes compilation with HP-UX compiler.
8464 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
8465 Fix compilation if valgrind headers are not available.
8467 2007-01-07 Sébastien Moutte <sebastien@moutte.net>
8469 * win32/common/libgstreamer.def:
8470 Add new exported function.
8471 * win32/vs6/libgstbase.dsp:
8472 Add gstdataqueue.c to the build.
8473 * win32/vs6/libgstcoreelements.dsp:
8474 Add gstmultiqueue.c to the build.
8476 2007-01-06 Andy Wingo <wingo@pobox.com>
8478 * libs/gst/base/gstbasesink.h: New GstBaseSinkClass vmethod,
8479 activate_pull(), providing for a way to specialize the process of
8480 spawning a thread to pull on the sink pad. There is a default
8483 * libs/gst/base/gstbasesink.c (gst_base_sink_pad_activate_pull)
8484 (gst_base_sink_pad_activate_push, gst_base_sink_pad_activate)
8485 (gst_base_sink_init): Renamed pad activation functions (inserting
8486 "_pad" in their names). Refactor to use the new activate_pull
8487 vmethod, as appropriate.
8488 (gst_base_sink_class_init, gst_base_sink_activate_pull): Set the
8489 default activate_pull function to start a task pulling from the
8490 sink pad, as before.
8492 * gst/gstpad.c (gst_pad_get_range, gst_pad_pull_range): Set caps
8493 on the pads if necessary, as in push()/chain(). Update docs.
8494 Shouldn't affect existing pull() usage as it is currently only
8495 being used on buffers without caps.
8497 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8499 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
8501 Call g_thread_init() first thing in gst_init() / gst_check_init().
8502 When initialisation is done via gst_init_get_option_group() and
8503 GOption parsing, issue a warning if the GLib thread system has not
8504 been initialised yet by the time gst_init_get_option_group() is
8505 called, as it's quite likely other GLib functions such as
8506 g_option_context_new() have been called already then, and
8507 g_thread_init() must be called before any other GLib function. The
8508 application in question must be fixed in that case, since memory
8509 corruption might happen otherwise.
8510 We issue the warning because even if the GLib folks decide to work
8511 around the problem on their end in future, this is still an issue
8512 with all GLib versions >= 2.10.0, so we should warn until we depend
8513 on a GLib version we know to be safe.
8514 Update documentation as well.
8517 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8519 * tools/gst-inspect.c: (main):
8520 * tools/gst-launch.c: (main):
8521 * tools/gst-typefind.c: (main):
8522 * tools/gst-xmlinspect.c: (main):
8523 Call g_thread_init() really really early, before any other GLib
8524 function (see #342564 and recent discussion on gtk-devel-list).
8526 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8528 Patch by: Vincent Torri <vtorri at univ-evry dot fr>
8530 * gst/gst_private.h:
8531 * gst/gstconfig.h.in:
8533 On win32, all the __declspec stuff for symbol exporting is
8534 apparently only needed with MSVC, but doesn't work with MingW.
8535 Fixes compilation with MingW and #391909.
8537 2007-01-05 Tim-Philipp Müller <tim at centricular dot net>
8539 * libs/gst/base/gstbasesrc.c: (gst_base_src_activate_push):
8540 Change some GST_ERROR_OBJECT that aren't really errors to
8541 GST_WARNING_OBJECT in order to reduce terminal spam.
8543 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8545 * tests/check/Makefile.am:
8546 disable test again, as there seem to be still race problems
8548 2007-01-04 Stefan Kost <ensonic@users.sf.net>
8550 * tests/check/Makefile.am:
8551 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8552 (GST_START_TEST), (queue_suite):
8553 enable queue test again, add tests for the leaky behaviour
8555 2007-01-02 Tim-Philipp Müller <tim at centricular dot net>
8558 * tests/examples/Makefile.am:
8559 Compile adapter test/example only if the required headers are
8560 available (fixes #391915).
8562 2007-01-01 David Schleef <ds@schleef.org>
8565 Restore the previous signal handler for SIGSEGV instead of
8566 setting to default, since we may have stolen it away from
8567 someone. (i.e., Mono)
8569 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8571 * docs/random/draft-missing-plugins.txt:
8572 Some small additions and clarifications.
8574 2006-12-26 Tim-Philipp Müller <tim at centricular dot net>
8576 * gst/gstregistryxml.c: (gst_registry_save_escaped):
8577 Make sure we don't pass non-UTF-8 strings to g_markup_escape(),
8578 since that can lead to random memory corruptions and crashes
8579 (may or may not be related to #383244, #386711, and #386711).
8581 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8583 * tests/check/.cvsignore:
8584 * tests/check/Makefile.am:
8585 sync .cvsignome and CLEANFILES
8587 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8589 * tests/check/Makefile.am:
8592 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8594 * docs/design/part-states.txt:
8595 two tiny additional comments
8597 * gst/gststructure.c:
8600 * tests/check/Makefile.am:
8601 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8603 disable test for now, unless it gets fixed
8605 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8607 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8609 fix race in underrun test
8611 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8613 * tests/check/elements/.cvsignore:
8616 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8618 try to narrow test failure
8620 2006-12-21 David Schleef <ds@schleef.org>
8622 * plugins/elements/gstfakesrc.c:
8623 Use g_random_int_range(), since it produces better random
8624 numbers in a range than almost-correct floating point code.
8626 2006-12-21 Stefan Kost <ensonic@users.sf.net>
8628 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
8629 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
8630 (gst_check_teardown_sink_pad):
8631 do not automatically (de)activate pads
8633 * tests/check/Makefile.am:
8634 * tests/check/elements/queue.c: (queue_overrun), (queue_underrun),
8635 (setup_queue), (cleanup_queue), (GST_START_TEST), (queue_suite):
8636 add new, yet simple tests for queue
8638 * tests/check/elements/fakesrc.c: (cleanup_fakesrc):
8639 * tests/check/elements/fdsrc.c: (cleanup_fdsrc):
8640 * tests/check/elements/filesrc.c: (cleanup_filesrc),
8642 * tests/check/elements/identity.c: (cleanup_identity):
8643 consistent pad (de)activation
8645 2006-12-20 Tim-Philipp Müller <tim at centricular dot net>
8647 Patch by: Sebastian Dröge <slomo ubuntu com>
8649 * libs/gst/base/gstcollectpads.c:
8650 Fix two doc typos (#387866).
8652 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8654 * docs/manual/advanced-dparams.xml:
8655 Fix typo (g_object_control_properties() doesn't exist).
8657 2006-12-19 Edward Hervey <edward@fluendo.com>
8659 * gst/gstsegment.c: (gst_segment_set_seek):
8660 Fine tune the cases where the segment start/stop values are really
8662 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8663 Add tests for the return values of gst_segment_set_seek().
8665 2006-12-19 Tim-Philipp Müller <tim at centricular dot net>
8670 * plugins/elements/gstqueue.c: (gst_queue_class_init),
8672 Fix incorrect documentation and flesh it out a bit more.
8673 Set default values for the max properties on the GParamSpec as well,
8674 so it shows up correctly in gst-inspect.
8676 2006-12-18 Stefan Kost <ensonic@users.sf.net>
8678 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
8679 Correct docs of queue, add more detail and crosslink it more.
8681 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8683 * plugins/elements/gstidentity.c: (gst_identity_check_perfect):
8684 Print additional debug info when the stream isn't perfectly
8685 timestamped; don't try to use invalid durations.
8687 2006-12-16 Tim-Philipp Müller <tim at centricular dot net>
8689 * docs/design/Makefile.am:
8690 Dist new design docs.
8692 2006-12-16 Wim Taymans <wim@fluendo.com>
8694 Patch by: Sjoerd Simons <sjoerd at luon dot net>
8696 * libs/gst/base/gstcollectpads.c: (ref_data), (unref_data),
8697 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
8698 (gst_collect_pads_stop), (gst_collect_pads_event),
8699 (gst_collect_pads_chain):
8700 * libs/gst/base/gstcollectpads.h:
8701 Add refcounting to the collectpads data so we can track when it's safe
8702 to free the data. Fixes #383382.
8704 2006-12-15 Wim Taymans <wim@fluendo.com>
8706 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
8707 (gst_collect_pads_remove_pad):
8708 Automatically activate/deactivate pads when they are added to a
8709 started/stoped collectpads.
8711 2006-12-15 Wim Taymans <wim@fluendo.com>
8713 * gst/gstelement.c: (gst_element_add_pad):
8714 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
8715 * gst/gstpad.c: (gst_pad_init):
8716 Set pads to FLUSHING when they are created. Check, warn and fix when a
8717 demuxer adds an inactive pad to itself when running. Fixes #339326.
8719 2006-12-15 Wim Taymans <wim@fluendo.com>
8721 * gst/gstelement.c: (gst_element_class_init),
8722 (gst_element_default_send_event), (gst_element_send_event),
8723 (gst_element_default_query), (gst_element_query):
8724 Expose default element send_event and query handling as vmethods that
8725 subclasses can chain up to.
8727 2006-12-15 Wim Taymans <wim@fluendo.com>
8729 * gst/gstelement.c: (gst_element_set_state_func):
8730 Small documentation fixes.
8732 2006-12-15 Wim Taymans <wim@fluendo.com>
8734 * docs/design/draft-latency.txt:
8735 Checked in draft for handling latency in pipelines.
8737 2006-12-15 Thomas Vander Stichele <thomas at apestaart dot org>
8741 * gstreamer.spec.in:
8744 2006-12-14 Tim-Philipp Müller <tim at centricular dot net>
8746 * gst/gst.c: (init_pre), (init_post):
8747 init_pre() and init_post() might be called via our GOptionGroup or
8748 from gst_init(), and we should skip both of them if we've already
8749 been initialised, otherwise we will init some things twice or add
8750 two default log functions.
8752 2006-12-13 Edward Hervey <edward@fluendo.com>
8754 * docs/manual/basics-bus.xml:
8755 No, gst_main_loop does not exist. Its g_main_loop.
8756 Discovered by somebody who abused the copy-paste technique of coding :)
8758 2006-12-13 Tim-Philipp Müller <tim at centricular dot net>
8760 * gst/gstghostpad.c:
8761 Log ghostpad debug stuff to the GST_PADS category as well rather
8762 than just to the default category.
8764 2006-12-12 Tim-Philipp Müller <tim at centricular dot net>
8767 * gst/gst.c: (init_pre):
8768 Add some basic system details such as OS and architecture
8769 to the debug output if possible, courtesy of uname().
8771 2006-12-11 Tim-Philipp Müller <tim at centricular dot net>
8773 * docs/gst/running.xml:
8774 Document GST_REGISTRY_FORK and GST_DEBUG_NO_COLOR
8775 environment variables.
8777 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8779 * tests/check/gst/gstbin.c: (GST_START_TEST):
8780 It is acceptable to have a refcount of 2 or 3 at this point in the
8781 test, because the pipeline might be just posting its state_change
8782 message. The next line then waits for that message to appear using
8783 bus_poll, so that should be fine too.
8785 2006-12-09 Jan Schmidt <thaytan@mad.scientist.com>
8787 * gst/gst.c: (ensure_current_registry_forking):
8788 Ignore EINTR when reading from the child registry pipe.
8789 Explicitly ignore the return value from close, since it makes no
8792 * gst/gstminiobject.c: (gst_mini_object_ref),
8793 (gst_mini_object_unref):
8794 When debugging refcounts, check GST_IS_MINI_OBJECT and warn.
8796 * gst/gstregistry.c: (_priv_gst_registry_remove_cache_plugins):
8797 When removing cached plugins, remove their features too, so they're
8798 not visible after they've disappeared.
8800 * gst/gstutils.c: (prepare_link_maybe_ghosting):
8801 In the unlikely case that we are linking pads with no parents, don't
8802 crash trying to get the non-existent parent bin.
8804 * gst/parse/grammar.y:
8805 Output debug in the PIPELINE category
8807 2005-03-08 Wim Taymans <wim@fluendo.com>
8809 Patch by: René Stadler <mail at renestadler dot de>
8811 * gst/gstclock.c: (gst_clock_new_periodic_id):
8812 Reject invalid clock times for interval of periodic ids.
8815 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8817 * gst/gstelementfactory.c: (gst_element_factory_create):
8818 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
8819 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
8820 * tools/gst-inspect.c: (print_element_info):
8821 Fix refcounting of gst_plugin_feature_load to match the docs.
8824 2006-12-07 Wim Taymans <wim@fluendo.com>
8826 * libs/gst/base/gstbasesink.c: (gst_base_sink_event),
8827 (gst_base_sink_get_position):
8828 Improve debugging of events.
8830 2006-12-07 Wim Taymans <wim@fluendo.com>
8832 Patch by: René Stadler <mail at renestadler dot de>
8834 * gst/gstclock.c: (gst_clock_id_wait):
8835 Make period ids add the interval to the origial requested time instead
8836 of the possibly updated time which can be wrong when there are multiple
8837 waiters for the same id. Fixes #382592.
8839 * gst/gstsystemclock.c: (gst_system_clock_async_thread),
8840 (gst_system_clock_id_wait_jitter_unlocked),
8841 (gst_system_clock_id_wait_jitter):
8842 Fix restart in the async notify thread when an async entry is added to
8843 the front of the list. Fixes #381492.
8845 * tests/check/gst/gstsystemclock.c: (store_callback),
8846 (notify_callback), (GST_START_TEST), (gst_systemclock_suite):
8847 Added test for multiple async waits.
8848 Added test for async wait order.
8850 2006-12-07 Wim Taymans <wim@fluendo.com>
8852 * gst/gstbin.c: (gst_bin_query):
8853 Add some more docs about the POSITION query.
8855 2006-12-07 Jan Schmidt <thaytan@mad.scientist.com>
8858 Bump version nano - back to CVS.
8860 === release 0.10.11 ===
8862 2006-12-06 Jan Schmidt <thaytan@mad.scientist.com>
8865 releasing 0.10.11, "Love never runs on time"
8867 2006-12-01 Jan Schmidt <thaytan@mad.scientist.com>
8869 * win32/common/libgstbase.def:
8870 * win32/common/libgstreamer.def:
8871 * win32/vs8/libgstbase.vcproj:
8872 * win32/vs8/libgstcoreelements.vcproj:
8873 * win32/vs8/libgstreamer.vcproj:
8874 Fix compilation on win32 under VS8
8875 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
8876 Partially fixes #381175
8878 2006-11-29 Jan Schmidt <thaytan@mad.scientist.com>
8880 * gst/gstvalue.c: (gst_value_compare_fraction):
8881 If someone is foolish enough to compare 2 fractions with denominator =
8882 0, return UNORDERED rather than aborting.
8884 2006-11-28 Edward Hervey <edward@fluendo.com>
8886 * libs/gst/base/Makefile.am:
8887 * libs/gst/base/gstdataqueue.c: (gst_data_queue_get_type),
8888 (gst_data_queue_base_init), (gst_data_queue_class_init),
8889 (gst_data_queue_init), (gst_data_queue_new),
8890 (gst_data_queue_cleanup), (gst_data_queue_finalize),
8891 (gst_data_queue_locked_flush), (gst_data_queue_locked_is_empty),
8892 (gst_data_queue_locked_is_full), (gst_data_queue_flush),
8893 (gst_data_queue_is_empty), (gst_data_queue_is_full),
8894 (gst_data_queue_set_flushing), (gst_data_queue_push),
8895 (gst_data_queue_pop), (gst_data_queue_drop_head),
8896 (gst_data_queue_set_property), (gst_data_queue_get_property):
8897 * libs/gst/base/gstdataqueue.h:
8898 New GstDataQueue object for threadsafe queueing. Most useful for
8899 elements that need some queueing functionnality.
8900 * docs/libs/gstreamer-libs-docs.sgml:
8901 * docs/libs/gstreamer-libs-sections.txt:
8902 Insert documentation for GstDataQueue
8903 * plugins/elements/Makefile.am:
8904 * plugins/elements/gstelements.c:
8905 * plugins/elements/gstmultiqueue.c: (gst_multi_queue_base_init),
8906 (gst_multi_queue_class_init), (gst_multi_queue_init),
8907 (gst_multi_queue_finalize), (gst_multi_queue_set_property),
8908 (gst_multi_queue_get_property), (gst_multi_queue_request_new_pad),
8909 (gst_multi_queue_release_pad), (gst_single_queue_push_one),
8910 (gst_multi_queue_item_destroy), (gst_multi_queue_item_new),
8911 (gst_multi_queue_loop), (gst_multi_queue_chain),
8912 (gst_multi_queue_sink_activate_push), (gst_multi_queue_sink_event),
8913 (gst_multi_queue_getcaps), (gst_multi_queue_bufferalloc),
8914 (gst_multi_queue_src_activate_push), (gst_multi_queue_acceptcaps),
8915 (gst_multi_queue_src_event), (gst_multi_queue_src_query),
8916 (wake_up_next_non_linked), (compute_next_non_linked),
8917 (single_queue_overrun_cb), (single_queue_underrun_cb),
8918 (single_queue_check_full), (gst_single_queue_new):
8919 * plugins/elements/gstmultiqueue.h:
8920 New multiqueue element, using GstDataQueue. Used for queuing multiple
8922 Closes #344639 and #347785
8924 2006-11-22 Stefan Kost <ensonic@users.sf.net>
8926 * docs/pwg/advanced-types.xml:
8927 add more missing type details
8929 * tools/gst-run.c: (main):
8930 remove unused variable
8932 2006-11-21 Stefan Kost <ensonic@users.sf.net>
8934 * docs/libs/Makefile.am:
8935 * docs/libs/gstreamer-libs.types:
8936 add types of base classes to enable gobject specific stuff in the docs
8938 * docs/random/ensonic/embedded.txt:
8939 more ideas about isolating platform specific things
8941 2006-11-20 Wim Taymans <wim@fluendo.com>
8943 Patch by: Sebastian Dröge <slomo at ubuntu dot com>
8945 * libs/gst/check/gstcheck.h:
8946 Fix compilation and running against 0.9.4. Fixes #377332.
8948 2006-11-20 Wim Taymans <wim@fluendo.com>
8950 * gst/gstsegment.c: (gst_segment_set_seek),
8951 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
8952 (gst_segment_to_running_time):
8953 Fix boundary checking in to_running_time() and to_stream_time().
8956 * tests/check/gst/gstsegment.c: (GST_START_TEST):
8957 stream and running time can now be calculated for the complete
8960 2006-11-15 Tim-Philipp Müller <tim at centricular dot net>
8962 * gst/gstpad.c: (gst_pad_push_event):
8963 Can't access event structure after giving away ownership of
8966 2006-11-15 Stefan Kost <ensonic@users.sf.net>
8968 * docs/random/ensonic/embedded.txt:
8969 * docs/random/ensonic/profiling.txt:
8970 * docs/random/ensonic/receipies.txt:
8973 2006-11-13 Wim Taymans <wim@fluendo.com>
8975 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
8978 Fix documentation for gst_pad_dispatcher. Fixes #374475.
8980 2006-11-13 Wim Taymans <wim@fluendo.com>
8982 Patch by: Jonathan Matthew <jonathan at kaolin dot wh9 dot net>
8984 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
8985 Store new length in segment duration so we don't keep on calling the
8986 potentially expensize get_size() call. Fixes #370865.
8988 2006-11-10 Tim-Philipp Müller <tim at centricular dot net>
8990 Patch by: Sergey Scobich <sergey.scobich at gmail com>
8992 * win32/common/libgstreamer.def:
8993 Add two missing symbols (#366492).
8995 2006-11-10 Jan Schmidt <thaytan@mad.scientist.com>
8997 * libs/gst/base/gstadapter.c: (gst_adapter_flush),
8998 (gst_adapter_take_buffer):
8999 Fix format string to use all its arguments.
9000 Remove useless >= check on a guint
9002 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9004 * tests/examples/adapter/.cvsignore:
9005 Ignore build file as commanded by the build-bot
9007 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9009 * tests/examples/adapter/Makefile.am:
9010 * tests/examples/adapter/adapter_test.c: (run_test_take),
9011 (run_test_take_buffer), (run_tests), (main):
9013 Add new files from the previous commit
9015 2006-11-09 Jan Schmidt <thaytan@mad.scientist.com>
9019 * libs/gst/base/gstadapter.c: (gst_adapter_clear),
9020 (gst_adapter_push), (gst_adapter_peek_into), (gst_adapter_peek),
9021 (gst_adapter_flush), (gst_adapter_take), (gst_adapter_take_buffer):
9022 * libs/gst/base/gstadapter.h:
9023 * tests/check/libs/adapter.c: (create_and_fill_adapter),
9024 (GST_START_TEST), (gst_adapter_suite):
9025 * tests/examples/Makefile.am:
9026 Do some optimisation work in GstAdapter to avoid copies in more cases.
9027 It could still do slightly better by merging buffers when
9028 gst_buffer_is_span_fast is true, but is already faster.
9030 Also, avoid traversing a single-linked list to append each incoming
9031 buffer inside the adapter.
9033 Add simple test app that times the adapter behaviour in different
9034 situations, and extend the unit test to check that bytes enter and
9035 exit the adapter in their original order.
9037 2006-11-08 Tim-Philipp Müller <tim at centricular dot net>
9039 * docs/random/draft-missing-plugins.txt:
9040 Update: use element message instead of adding a new message
9041 type to the core; don't provide GStreamer API to initiate the
9042 plugin download, just provide API to compose the strings needed
9043 and let an external libgimmestuff handle the rest.
9045 2006-11-08 Jan Schmidt <thaytan@mad.scientist.com>
9047 * tools/gst-inspect.c: (print_element_properties_info):
9048 Print a string instead of 'unknown type' for GValueArray properties
9050 2006-11-08 Christian F.K. Schaller <christian@fluendo.com>
9052 * docs/random/draft-missing-plugins.txt:
9055 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9057 * tests/examples/typefind/typefind.c: (type_found), (main):
9058 Make typefind element example work again (#371894); add a
9061 2006-11-07 Tim-Philipp Müller <tim at centricular dot net>
9063 * docs/random/draft-missing-plugins.txt:
9064 Commit initial draft about how to deal with missing plugins,
9065 needs work (API too).
9067 2006-11-07 Stefan Kost <ensonic@users.sf.net>
9069 * docs/pwg/advanced-types.xml:
9070 documents the new caps elements (see #363118)
9072 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9074 * gst/gstplugin.c: (gst_plugin_load_file):
9075 * plugins/elements/gstfilesrc.c: (gst_mmap_buffer_finalize),
9076 (gst_file_src_map_region), (gst_file_src_start):
9077 * plugins/indexers/gstfileindex.c: (gst_file_index_load),
9078 (gst_file_index_commit):
9079 Use g_strerror() instead of strerror() - we want UTF-8.
9081 2006-11-06 Tim-Philipp Müller <tim at centricular dot net>
9083 Patch by: Peter Kjellerstedt <pkj at axis com>
9085 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9086 Another printf fix (#371493).
9088 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9090 * tests/check/gst/gsttag.c:
9091 relicence (okay with author=company)
9093 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9095 * gst/gstpad.c: (gst_pad_event_default_dispatch),
9096 (gst_pad_push_event):
9097 Enhance debug and improve docs
9102 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9104 * docs/random/ensonic/distributed.txt:
9105 * docs/random/ensonic/profiling.txt:
9108 2006-11-06 Stefan Kost <ensonic@users.sf.net>
9110 * docs/gst/gstreamer-sections.txt:
9111 add new API and fix the build
9113 * gst/gstbin.c: (gst_bin_recalc_state):
9114 * gst/gstelement.c: (gst_element_message_full),
9115 (gst_element_get_state_func), (gst_element_set_state_func):
9116 use new API and improve logging
9118 * gst/gstutils.c: (gst_element_state_change_return_get_name):
9120 API: add function to get StateChangereturn names to improve logs
9122 2006-11-04 Thomas Vander Stichele <thomas at apestaart dot org>
9124 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
9125 I'm considering shooting the next person to put strerror stuff
9126 in the translateable part of the message.
9128 2006-11-03 Wim Taymans <wim@fluendo.com>
9130 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9131 Get the type and printf conversion specifiers right.
9133 2006-11-03 Wim Taymans <wim@fluendo.com>
9135 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
9137 * gst/gstpad.c: (gst_pad_init), (pre_activate),
9138 (gst_pad_set_blocked_async), (gst_pad_acceptcaps_default),
9139 (gst_pad_accept_caps), (handle_pad_block), (gst_pad_push_event):
9140 Some small cleanups. Improve debugging.
9142 Signal all waiting threads with a broadcast instead of just one.
9145 2006-11-03 Wim Taymans <wim@fluendo.com>
9147 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd),
9148 (gst_fd_src_create):
9150 Only update fd when it's different from the old.
9152 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9154 * plugins/elements/gstfilesrc.c: (gst_file_src_create_mmap):
9155 Printf fixes for PPC/OSX, take two (#369366).
9157 2006-11-02 Tim-Philipp Müller <tim at centricular dot net>
9159 Based on patch by: Jan David Mol <j.j.d.mol at tudelft nl>
9161 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
9162 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
9163 (gst_file_src_map_small_region), (gst_file_src_create_mmap):
9164 Printf fixes for gsize parameters on PPC/OSX (#369366). Also,
9165 don't cast to long long for portability reasons, but use
9166 GLib's types instead.
9168 2006-10-30 Michael Smith <msmith@fluendo.com>
9170 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
9171 Get the arguments to lseek() the right way around.
9174 2006-10-30 Wim Taymans <wim@fluendo.com>
9176 Patch by: gorshkov <gorshkov at oghma dot on dot ca>
9179 _declspec should be __declspec (two underscores, not one). Fixes 366572.
9181 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9183 Patch by: Kjartan Maraas <kmaraas at gnome org>
9185 * docs/design/part-MT-refcounting.txt:
9186 * docs/random/wtay/capsnego2-docs:
9189 Typo fixes (#366212).
9191 2006-10-28 Wim Taymans <wim@fluendo.com>
9193 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9196 * win32/common/libgstbase.def:
9197 * win32/common/libgstreamer.def:
9198 * win32/vs8/libgstbase.vcproj:
9199 * win32/vs8/libgstcontroller.vcproj:
9200 Add needed entries in .def files.
9202 Rearrange def files in vs8 solutions. Fixes #366286.
9204 2006-10-28 Tim-Philipp Müller <tim at centricular dot net>
9206 * win32/common/gstconfig.h:
9207 Add GST_SEGMENT_FORMAT and GST_USING_PRINTF_EXTENSION to the
9208 hand-made win32 gstconfig.h. Fixes #366321.
9210 2006-10-27 Wim Taymans <wim@fluendo.com>
9212 * gst/gstghostpad.c: (gst_proxy_pad_do_acceptcaps),
9213 (gst_ghost_pad_new_full):
9214 Make acceptcaps return TRUE when we don't have a target, just like
9217 2006-10-27 Wim Taymans <wim@fluendo.com>
9219 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9220 Revert previous commit, 0 sized buffers are allowed. Reopens #363095.
9222 2006-10-26 Tim-Philipp Müller <tim at centricular dot net>
9224 * gst/gststructure.c: (gst_structure_id_set_value):
9225 If someone tries to set a non-UTF8 string field on a structure,
9226 don't just print a warning, but also ignore the request and do
9227 not change/add that field to the structure.
9229 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9232 2006-10-25 David Schleef <ds@schleef.org>
9235 g_hash_table_insert() needs a cast to a non-const pointer duh.
9237 2006-10-25 David Schleef <ds@schleef.org>
9241 Change name parameter of _gst_debug_register_funcptr to const
9242 to reflect the constness of its use in the function as well
9243 as to quiet a gcc warning.
9245 2006-10-25 Edward Hervey <edward@fluendo.com>
9247 * libs/gst/base/gstbasetransform.c: (gst_base_transform_chain):
9248 Don't push the buffer if it's empty.
9251 2006-10-24 Wim Taymans <wim@fluendo.com>
9256 * libs/gst/base/gstbasetransform.c:
9257 (gst_base_transform_sink_eventfunc):
9258 Debug segment values *after* updating them as this is more
9261 2006-10-23 Wim Taymans <wim@fluendo.com>
9263 * docs/design/part-events.txt:
9266 * docs/design/part-block.txt:
9267 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9268 (gst_pad_push_event):
9269 Revert BLOCKING patch, it tries to be smart without really having a
9270 clear idea what or how. So, now we discard all FLUSHING events again on
9271 a blocking pad. Should fix gnonlin again.
9273 2006-10-23 Wim Taymans <wim@fluendo.com>
9275 Patch by: Sergey Scobich <sergey dot scobich at gmail dot com>
9277 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9278 (gst_base_src_start), (gst_base_src_activate_push):
9279 Make sure size is always initialized. Fixes #364388.
9281 2006-10-20 Stefan Kost <ensonic@users.sf.net>
9283 * docs/random/ensonic/distributed.txt:
9284 add some ideas about doing distributed processing
9286 * docs/random/ensonic/profiling.txt:
9287 get_rusage look promising
9289 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9291 * docs/manual/basics-helloworld.xml:
9292 Add a cast in example to fix compile warning
9294 2006-10-18 Wim Taymans <wim@fluendo.com>
9296 * gst/gstsegment.c: (gst_segment_set_last_stop),
9297 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9298 Relax arg checking again, -1 is allowed.
9300 2006-10-18 Wim Taymans <wim@fluendo.com>
9302 * gst/gstsegment.c: (gst_segment_set_last_stop),
9303 (gst_segment_set_seek), (gst_segment_set_newsegment_full):
9304 _set_last_stop() must be with a value != -1
9305 A _TYPE_SET to -1 means seek to 0.
9306 Calc last_stop correctly for negative rates.
9307 Make sure we work with positive durations when updating a segment.
9309 2006-10-18 Wim Taymans <wim@fluendo.com>
9311 * docs/design/part-live-source.txt:
9315 2006-10-18 Tim-Philipp Müller <tim at centricular dot net>
9318 Add an explicit cast to GstBuffer** to keep old code that added an
9319 explicit cast to GstMiniObject** for gst_mini_object_replace()
9320 compiling without warning.
9322 2006-10-18 Stefan Kost <ensonic@users.sf.net>
9324 * gst/gstvalue.c: (gst_value_set_date), (gst_date_copy):
9325 check for validity of dates
9327 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9329 * docs/gst/gstreamer-sections.txt:
9330 Forgot this one, makes gtk-doc shut up.
9332 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9334 Patch by: Peter Kjellerstedt <pkj at axis com>
9337 Don't define xmlNodePtr to gpointer if the core was built with
9338 --disable-loadsave and --disable-registry, this will break
9339 applications that want to use libxml2 but are buildling against a
9340 core that doesn't use libxml2. Use an intermediary type GstXmlNodePtr
9341 instead so we don't have to mess with the libxml2 namespace
9344 2006-10-17 Tim-Philipp Müller <tim at centricular dot net>
9347 Fix gst_buffer_replace() macro to avoid gst_mini_object_replace()-related
9348 type-punned pointer warnings.
9350 2006-10-16 Tim-Philipp Müller <tim at centricular dot net>
9353 Add casts to the correct return type to state <=> state transition
9356 2006-10-16 Stefan Kost <ensonic@users.sf.net>
9358 * docs/design/part-live-source.txt:
9359 describe howto handle latency
9361 * docs/random/ensonic/profiling.txt:
9364 * tools/gst-plot-timeline.py:
9365 fix log parsing for solaris, remove unused function
9367 2006-10-16 Wim Taymans <wim@fluendo.com>
9369 * docs/design/part-trickmodes.txt:
9371 Update some docs regarding reverse playback.
9373 2006-10-15 Tim-Philipp Müller <tim at centricular dot net>
9375 Patch by: Marcus Granado <mrc dot gran at gmail com>
9377 * win32/vs8/grammar.vcproj:
9378 Error out with a warning if glib-genmarshal.exe is not in path,
9379 instead of creating bogus gstmarshal.[ch] files. Fixes #361720.
9381 2006-10-13 Wim Taymans <wim@fluendo.com>
9383 * gst/gstsegment.c: (gst_segment_set_seek):
9384 When seeking to stop -1, set last_stop (current position) to the
9385 duration of the segment.
9387 2006-10-13 Wim Taymans <wim@fluendo.com>
9390 Clarify _NO_PREROLL a bit more.
9395 * gst/gstpad.c: (gst_pad_link_check_hierarchy),
9396 (gst_pad_get_caps_unlocked), (gst_pad_save_thyself),
9397 (handle_pad_block), (gst_pad_push_event), (gst_pad_send_event):
9398 Patch by: Yves Lefebvre <ivanohe at abacom dot com> Fix possible deadlock
9399 due to wrong locking order. Fixes #361769.
9400 Remove some redundant/misplaced checks in pad_block.
9402 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
9403 For negative rates, count backwards from the duration.
9405 2006-10-13 Tim-Philipp Müller <tim at centricular dot net>
9407 * gst/gsterror.c: (_gst_library_errors_init):
9408 Fix error message for GST_LIBRARY_ERROR_SETTINGS (feel free to come
9409 up with something better).
9411 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9413 * win32/vs6/libgstreamer.dsp:
9414 * win32/vs7/libgstreamer.vcproj:
9415 * win32/vs8/libgstreamer.vcproj:
9416 Don't reference glib-compat.c which is currently not used and not
9417 disted; add gstquark.c which was recently added. Fixes #361730.
9419 2006-10-12 Tim-Philipp Müller <tim at centricular dot net>
9421 * win32/common/libgstbase.def:
9422 * win32/common/libgstcontroller.def:
9423 * win32/common/libgstreamer.def:
9424 Add gst_caps_merge() and a bunch of other recently-added functions.
9427 2006-10-11 Wim Taymans <wim@fluendo.com>
9429 * docs/plugins/gstreamer-plugins.args:
9430 * docs/plugins/inspect/plugin-coreelements.xml:
9431 * docs/plugins/inspect/plugin-coreindexers.xml:
9432 Update element args.
9434 * gst/gstsystemclock.c:
9435 Small comment update.
9437 * plugins/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
9438 (gst_tee_request_new_pad), (gst_tee_release_pad),
9439 (gst_tee_buffer_alloc), (gst_tee_sink_activate_push),
9440 (gst_tee_sink_activate_pull):
9441 * plugins/elements/gsttee.h:
9443 Add default property defines.
9444 Implement release pad function.
9445 Give properties better blubs etc.
9446 Activate pads before adding them to a running tee.
9447 Do simple buffer_alloc on the first requested pad.
9448 Post error when activation fails.
9450 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9452 * gst/gst.c: (ensure_current_registry_forking):
9453 Check return value of write() to make compiler happy.
9455 2006-10-11 Wim Taymans <wim@fluendo.com>
9457 Patch by: Sjoerd Simons <sjoerd at luon dot net>
9459 * plugins/elements/gstqueue.c: (gst_queue_chain):
9460 Recheck queue filledness after signalling the overrun when we're about
9461 to leak downstream because we released the lock when emitting the signal
9462 and the queue could be empty again. Fixes #352345.
9464 2006-10-11 Tim-Philipp Müller <tim at centricular dot net>
9466 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
9467 Fix refcounting here too, just like we did for _new_valist() a few
9468 days ago (#357180) (thanks to René Stadler). Also remove all those
9469 'Since: 0.9' from the gtk-doc blobs.
9471 * tests/check/libs/controller.c: (controller_refcount_new_list),
9472 (gst_controller_suite):
9473 Unit test for the above.
9475 2006-10-10 Wim Taymans <wim@fluendo.com>
9477 Patch by: Sebastien Cote <sebas642 at yahoo dot ca>
9479 * gst/gstpad.c: (gst_pad_get_caps_unlocked),
9480 (gst_pad_save_thyself):
9482 Write pad direction in XML output. Fixes #345496.
9484 2006-10-10 Wim Taymans <wim@fluendo.com>
9486 Patch by: René Stadler <mail at renestadler dot de>
9488 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9489 (gst_controller_new_list), (_gst_controller_dispose),
9490 (_gst_controller_finalize), (_gst_controller_class_init):
9491 Take ref to controlled object so that it cannot disappear.
9494 2006-10-10 Wim Taymans <wim@fluendo.com>
9496 * libs/gst/check/gstcheck.c: (gst_check_setup_src_pad),
9497 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
9498 (gst_check_teardown_sink_pad):
9499 Activate/deactivate pads in setup/teardown respectively.
9501 2006-10-10 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9503 Patch by: Josep Torra Valles <josep@fluendo.com>
9506 Cast values when making gstenumtypes.h. This pacifies Forte
9507 so it doesn't warn about the ~0 as GST_MESSAGE_ANY not fitting
9510 2006-10-09 Wim Taymans <wim@fluendo.com>
9512 * gst/gstevent.c: (gst_event_new_seek), (gst_event_parse_seek):
9513 Rename some more @cur to @start to fix docs.
9515 * gst/gstsegment.c: (gst_segment_set_seek):
9517 time and start must always stay in sync as defined in design doc.
9519 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9520 Rename param to fix docs.
9522 * tests/check/gst/gstsegment.c: (GST_START_TEST):
9523 Check that start and time are in sync.
9525 * tests/check/pipelines/parse-launch.c:
9526 (gst_parse_test_element_change_state):
9527 Activate pad before adding to the element.
9529 2006-10-09 Wim Taymans <wim@fluendo.com>
9531 * docs/design/part-qos.txt:
9536 Update seek event docs regarding negative rates.
9537 Rename @cur to @start.
9539 * gst/gstsegment.c: (gst_segment_set_seek):
9541 Update set_seek docs regarding negative rates.
9542 Correctly update last_stop to @stop when dealing with negative
9544 Rename @cur to @start.
9546 * tests/check/gst/gstpad.c: (GST_START_TEST):
9547 Activate pads before trying to use them.
9549 * tests/check/gst/gstsegment.c: (GST_START_TEST),
9550 (gst_segment_suite):
9551 Add simple check for segments and negative rates.
9553 2006-10-09 Tim-Philipp Müller <tim at centricular dot net>
9555 * gst/gsttaglist.c: (gst_tag_list_is_empty):
9557 * docs/gst/gstreamer-sections.txt:
9558 API: add gst_tag_list_is_empty() (#360467).
9560 * tests/check/gst/gsttag.c: (GST_START_TEST):
9563 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9566 Revert change from earlier wrt GST_MESSAGE_TYPE_ANY having
9567 a value that doesn't fit on enumeration.
9569 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9571 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9572 Remove local debugging system and use Gstreamer's instead.
9574 2006-10-09 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9576 Patch by: Josep Torra Valles <josep@fluendo.com>
9578 * common/m4/gst-error.m4:
9579 Disable warning of statement not reached on Forte.
9581 Fix warning on Forte (value doesn't fit on enumeration).
9582 * libs/gst/base/gstbasesink.c: (gst_base_sink_chain_unlocked):
9583 Fix warning on Forte (value doesn't fit on enumeration).
9584 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9585 DEBUG macro says it takes minimum of 2 args and so Forte
9586 complains about the use with just 1 arg.
9587 * plugins/elements/gstfdsink.c:
9588 * plugins/elements/gstfdsrc.c:
9589 * plugins/elements/gstfilesink.c:
9590 * plugins/elements/gstfilesrc.c:
9591 Use correct return type for the uri handler implementations.
9593 All these fix warnings in Forte. Fixes bug #360860.
9595 2006-10-08 Tim-Philipp Müller <tim at centricular dot net>
9598 gcc versions prior to gcc 3.3 apparently complain about a NULL printf
9599 format string, so don't use G_GNUC_PRINTF for those versions.
9601 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9603 * gst/gsttaglist.c: (gst_is_tag_list):
9605 Minor fixes to GST_IS_TAG_LIST and gst_is_tag_list().
9607 * tests/check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
9608 Small test for the above.
9610 2006-10-07 Tim-Philipp Müller <tim at centricular dot net>
9613 Less tabs, more spaces.
9615 2006-10-06 Tim-Philipp Müller <tim at centricular dot net>
9618 Those two function declarations do actually belong there, revert
9619 commit from yesterday that turned them intro macros.
9621 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9623 Patch by: Josep Torra Valles <josep@fluendo.com>
9625 * gst/gst.c: (gst_init_get_option_group):
9626 Fix empty declaration and type mismatch.
9627 * gst/gstbin.c: (gst_bin_change_state_func):
9629 * gst/gstelement.c: (gst_element_continue_state),
9630 (gst_element_set_state_func), (gst_element_change_state),
9631 (gst_element_change_state_func):
9632 Fix type mismatches.
9633 * gst/gstinfo.c: (gst_debug_compare_log_function_by_func),
9634 (gst_debug_remove_log_function), (_gst_debug_nameof_funcptr):
9635 Cast as appropriate.
9636 * gst/gstobject.c: (gst_class_signal_connect):
9637 Cast as appropriate. The function pointer parameter really
9638 has the wrong type but would break API if we change it.
9640 Fix redefinition of _FILE_OFFSET_BITS caused on Solaris wrt
9641 order of including string.h.
9642 * gst/gstutils.c: (gst_element_state_get_name):
9643 Remove unreachable line.
9644 * gst/gstxml.c: (gst_xml_parse_doc):
9646 All these caught by Forte.
9648 2006-10-06 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9650 Patch by: Josep Torra Valles <josep@fluendo.com>
9652 * common/m4/gst-error.m4:
9654 We need to disable warnings on Forte for empty declarations
9655 due to gst-indent adding ;s to lines that just use macros
9656 where the macro actually doesn't need a ; at end to end
9659 2006-10-06 Wim Taymans <wim@fluendo.com>
9661 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
9662 (gst_file_sink_close_file), (gst_file_sink_event),
9663 (gst_file_sink_render):
9664 Add some FIXME for the NEWSEGMENT handling.
9666 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9668 * gst/parse/grammar.y:
9669 Remove static function gst_parse_element_lock as all it does
9670 is return. Looks like cruft from 0.8.
9672 2006-10-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
9674 Patch by: Josep Torra Valles <josep@fluendo.com>
9676 * common/m4/gst-error.m4:
9678 * libs/gst/net/Makefile.am:
9679 Fix a compilation issue with Forte on Solaris. inet_aton is in
9682 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9684 * gst/gstpad.c: (pre_activate):
9685 * gst/gstregistry.c: (gst_registry_scan_path_level):
9686 * gst/gstregistryxml.c: (load_plugin):
9687 * libs/gst/controller/gstcontroller.c:
9688 (gst_controlled_property_set_interpolation_mode):
9689 * libs/gst/dataprotocol/dataprotocol.c:
9690 (gst_dp_packet_from_event_1_0):
9691 * libs/gst/net/gstnetclientclock.c:
9692 (gst_net_client_clock_observe_times):
9693 * plugins/elements/gstfdsrc.c: (gst_fd_src_create):
9696 2006-10-05 Tim-Philipp Müller <tim at centricular dot net>
9699 * docs/gst/gstreamer-sections.txt:
9700 * gst/gstconfig.h.in:
9703 Add GST_USING_PRINTF_EXTENSION to gstconfig.h so that we know
9704 whether we can use G_GNUC_PRINTF in other header files and at
9705 least check the printf format/arguments of debug messages and
9706 GST_ELEMENT_ERROR messages when the printf extension is not
9708 Replace more tabs with spaces in gstinfo.h and remove two spurious
9709 function declarations in GST_DISABLE_DEBUG part with macros.
9711 2006-10-03 Tim-Philipp Müller <tim at centricular dot net>
9713 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_post):
9714 More docs for the sync-message signal (mention that it is not
9715 emitted by default); log message structures of messages posted on
9718 2006-10-03 Jan Schmidt <thaytan@mad.scientist.com>
9720 * gst/gst.c: (ensure_current_registry_forking):
9721 Use a pipe pair to receive status results from the forked child, and
9722 ignore the result from waitpid. Fixes #355499
9724 2006-10-02 Wim Taymans <wim@fluendo.com>
9726 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
9727 (gst_ghost_pad_suite):
9730 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9733 Add 'Since: 0.10.11' to gst_pad_is_blocking() gtk-doc blurb.
9735 2006-10-02 Edward Hervey <edward@fluendo.com>
9737 * docs/design/part-block.txt:
9738 Further explain the use of flushing on blocked pads.
9739 * docs/gst/gstreamer-sections.txt:
9740 * gst/gstpad.c: (gst_pad_is_blocking), (handle_pad_block),
9741 (gst_pad_push_event):
9743 Added new GstPadFlag : GST_PAD_BLOCKING.
9744 Adds the notion of pads really blocking, which enables to properly
9745 handle FLUSH_START/FLUSH_STOP events on blocked pads.
9747 API: gst_pad_is_blocking()
9748 API: GST_PAD_IS_BLOCKING() macro
9749 API: GST_PAD_BLOCKING GstPadFlag
9751 2006-10-02 Wim Taymans <wim@fluendo.com>
9753 Patch by: mrcgran <mrc.gran at gmail dot com>
9755 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps):
9756 Filter the proxied caps against the padtemplate if we have one.
9758 * gst/gstquery.c: (gst_query_new_segment):
9759 Add include for gstinfo.h so that compilation with
9760 -DGST_DISABLE_GST_DEBUG works again. Fixes #358436.
9762 2006-10-02 Wim Taymans <wim@fluendo.com>
9764 Patch by: Alessandro Decina <alessandro at nnva org>
9766 * plugins/elements/gstfilesink.c: (gst_file_sink_init),
9767 (gst_file_sink_set_location), (gst_file_sink_open_file),
9768 (gst_file_sink_close_file), (gst_file_sink_event),
9769 (gst_file_sink_render):
9770 Set file to NULL when closing filesink so that we can set a new filename
9771 in READY. Fixes #358613.
9773 2006-10-02 Tim-Philipp Müller <tim at centricular dot net>
9775 Patch by: Alessandro Decina <alessandro at nnva org>
9777 * gst/gstevent.c: (_gst_event_copy):
9778 Fix gst_mini_object_make_writable() and gst_event_copy() for events
9779 with event structures by setting the parent refcount address of the
9780 copied structure to the address of the refcount member of the newly
9781 copied event rather than the address of the refcount member of the
9782 original event. Fixes #358737.
9784 * tests/check/gst/gstevent.c: (GST_START_TEST):
9785 Unit test for the above.
9787 2006-09-29 Stefan Kost <ensonic@users.sf.net>
9789 * docs/design/Makefile.am:
9790 Dist some more files.
9792 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9794 * tests/check/libs/controller.c: (GST_START_TEST),
9795 (gst_controller_suite):
9796 Add test for the previous fix; add some more tests
9797 for correct refcounting behaviour; fix a few leaks
9798 in test cases; call gst_controller_init() at start
9801 2006-09-29 Tim-Philipp Müller <tim at centricular dot net>
9803 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
9804 (gst_controller_set_from_list):
9805 Don't g_return_val_if_fail() on timed values with invalid timestamps
9806 inside a critical section without unlocking the mutex. Spotted by
9807 René Stadler. (#357617)
9808 Also, fix up refcounting properly: when returning an existing
9809 controller, we should increase the reference only once and not
9810 once per property and when trying to control a property again
9811 we should also increase the refcount.
9813 2006-09-29 Wim Taymans <wim@fluendo.com>
9815 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
9816 * libs/gst/net/gstnettimeprovider.c:
9817 (gst_net_time_provider_thread):
9818 Stop reading commands when EOF as well.
9820 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
9821 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
9822 * plugins/elements/gstidentity.c: (gst_identity_class_init):
9823 Unify description of the dump property.
9825 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9827 * tests/examples/manual/.cvsignore:
9828 OK, so it's actually cvsignore that needs changing. Stop laughing.
9830 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9832 * tests/examples/manual/Makefile.am:
9833 Gah, declare vars *before* using them
9835 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9837 * gst/gst.c: (init_pre), (scan_and_update_registry),
9838 (ensure_current_registry_nonforking),
9839 (ensure_current_registry_forking), (ensure_current_registry),
9840 (init_post), (gst_debug_help), (gst_deinit):
9841 * gst/gst_private.h:
9842 * gst/gstregistry.c: (gst_registry_finalize),
9843 (gst_registry_remove_features_for_plugin_unlocked),
9844 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9845 (gst_registry_scan_path),
9846 (_priv_gst_registry_remove_cache_plugins),
9847 (_priv_gst_registry_cleanup):
9848 * gst/gstregistry.h:
9849 Re-commit the registry changes, along with an extra fix:
9850 When a cached plugin is encountered at a different file path,
9851 update the stored path in the registry cache so that the parent
9852 process knows where it actually is now when it re-reads the registry
9853 cache. Fixes the thing that broke distcheck with the previous commit.
9855 * tests/check/Makefile.am:
9856 Clean up files named 'core' too when running make clean.
9858 * tests/examples/manual/Makefile.am:
9859 Set up a registry path for running these tests, and clean it properly
9862 2006-09-28 Jan Schmidt <thaytan@mad.scientist.com>
9865 Don't pull in gmodule-2.0.pc as a dependency in our .pc files - we
9866 want gmodule-no-export-2.0.pc instead so that we don't drag in
9867 --export-dynamic on every project that links to GStreamer.
9869 Also, make our export regex only match the start of symbols, rather
9870 than any symbol that contains '_gst' somewhere.
9872 * libs/gst/check/Makefile.am:
9873 The libgstcheck we build does however need export-dynamic, as it
9874 produces some symbols that don't match our _gst... style regex.
9877 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9879 * gst/gst.c: (init_pre), (scan_and_update_registry),
9880 (ensure_current_registry_nonforking),
9881 (ensure_current_registry_forking), (ensure_current_registry),
9882 (init_post), (gst_debug_help), (gst_deinit):
9883 * gst/gst_private.h:
9884 * gst/gstregistry.c: (gst_registry_finalize),
9885 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9886 (gst_registry_scan_path), (_gst_registry_remove_cache_plugins),
9887 (_gst_registry_cleanup):
9888 * gst/gstregistry.h:
9889 Revert previous change until I figure out why it breaks distcheck.
9891 2006-09-27 Jan Schmidt <thaytan@mad.scientist.com>
9893 * gst/gst.c: (init_pre), (scan_and_update_registry),
9894 (ensure_current_registry_nonforking),
9895 (ensure_current_registry_forking), (ensure_current_registry),
9896 (init_post), (gst_debug_help), (gst_deinit):
9898 Make init_pre and init_post take the full complement of GOptionFunc
9899 args so they can return useful GErrors. Make the registry updating
9902 Call _priv_gst_registry_remove_cache_plugins after scanning files to
9903 ensure that the registry we're about to write out doesn't contain
9904 stale information about old-deleted plugin files.
9906 Make _priv_gst_registry_remove_cache_plugins return a boolean so
9907 that deletion of plugin files is considered a registry change.
9909 * gst/gst_private.h:
9910 * gst/gstregistry.c: (gst_registry_finalize),
9911 (gst_registry_remove_features_for_plugin_unlocked),
9912 (gst_registry_remove_plugin), (gst_registry_scan_path_level),
9913 (gst_registry_scan_path),
9914 (_priv_gst_registry_remove_cache_plugins),
9915 (_priv_gst_registry_cleanup):
9916 * gst/gstregistry.h:
9917 Rename _gst_registry_remove_cache_plugins and _gst_registry_cleanup
9918 by adding _priv prefix, so that they won't appear in the global
9919 symbol table. They still do atm though because of #318031. Move the
9920 prototypes to gst_private.h
9922 When removing a plugin, remove all features for that plugin too.
9925 2006-09-27 Wim Taymans <wim@fluendo.com>
9927 * docs/random/moving-plugins:
9928 Make it clear that the "compiled-in descriptions" really mean
9929 the element details.
9931 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
9932 (gst_base_sink_wait_preroll):
9935 * docs/libs/gstreamer-libs-sections.txt:
9936 * libs/gst/base/gstbasesrc.c: (gst_base_src_wait_playing),
9937 (gst_base_src_get_range), (gst_base_src_activate_push):
9938 * libs/gst/base/gstbasesrc.h:
9939 Added function to block while waiting for PLAYING, this function
9940 is used by live sources that block on the clock.
9941 API: gst_base_src_wait_playing()
9943 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
9945 Patch by: Peter Kjellerstedt <pkj at axis com>
9948 gst-element-check.m4 is generated and should therefore be
9949 copied from the build dir rather than the source dir (#357593).
9950 'make distcheck' hasn't noticed this because we were disting
9951 the file as well, so stop doing that.
9953 2006-09-27 Tim-Philipp Müller <tim at centricular dot net>
9955 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
9956 Add some tests for gst_caps_intersect().
9958 * tools/gst-launch.c: (event_loop):
9959 Print all buffering percentages we get, even the 100% one.
9961 2006-09-26 Wim Taymans <wim@fluendo.com>
9963 * tools/gst-inspect.c: (print_element_properties_info),
9964 (print_signal_info):
9965 Fix printing of flags to match the look of enums.
9967 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9969 * gst/gstelementfactory.c:
9970 Fix typo in docs blurb.
9972 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9974 * gst/gsturi.c: (search_by_entry):
9975 Don't assert/crash here if a uri handler doesn't return any
9976 supported protocols. The list of protocols could be generated
9977 dynamically at runtime or at plugin registration, and an error
9978 in the underlying library shouldn't be fatal (#353301).
9980 2006-09-25 Tim-Philipp Müller <tim at centricular dot net>
9983 Fix warning if HAVE_PRINTF_EXTENSION is undefined
9984 (spotted by Peter Kjellerstedt).
9986 2006-09-23 Wim Taymans <wim@fluendo.com>
9988 Based on patch by: Antoine Tremblay <hexa00 at gmail dot com>
9990 * libs/gst/base/gstbasesrc.c:
9991 (gst_base_src_default_check_get_range), (gst_base_src_start),
9992 (gst_base_src_activate_push), (gst_base_src_activate_pull),
9993 (gst_base_src_change_state):
9994 Match _start/_stop calls in the activate functions. Remove redundant
9995 _stop call from the state change function. Fixes #356910.
9996 Turn failure DEBUG into ERROR.
9998 2006-09-22 Wim Taymans <wim@fluendo.com>
10000 * docs/design/part-buffering.txt:
10001 * gst/gstmessage.c: (gst_message_new_buffering),
10002 (gst_message_parse_buffering):
10003 Update docs about buffering.
10005 * docs/design/part-trickmodes.txt:
10008 2006-09-22 Stefan Kost <ensonic@users.sf.net>
10010 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
10011 (gst_controller_new_list):
10012 Ref instances when returning them again (fixes #357180)
10014 2006-09-22 Tim-Philipp Müller <tim at centricular dot net>
10016 * gst/gstghostpad.c: (gst_ghost_pad_set_target):
10017 Don't forget to release proxy lock when there's an error.
10019 2006-09-20 Jan Schmidt <thaytan@mad.scientist.com>
10022 Add extra initialisers for Caps things, to fix some plugin warnings
10025 2006-09-18 Wim Taymans <wim@fluendo.com>
10027 * gst/gstghostpad.c: (gst_ghost_pad_new_full):
10028 Also set template on the internal pad so that a getcaps from the
10029 target pad returns the template caps.
10031 2006-09-18 Wim Taymans <wim@fluendo.com>
10033 * gst/gstelement.c: (gst_element_post_message),
10034 (gst_element_dispose):
10035 Use _DEBUG_OBJECT some more.
10037 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
10040 * tools/gst-launch.c: (main):
10041 If the toplevel element is not a GstPipeline, it must be put in a
10042 pipeline so that a bus and clock is selected.
10044 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10046 * libs/gst/base/gstbasesrc.c: (gst_base_src_default_query):
10047 JITTER, RATE, and LATENCY query should be handled by the
10048 default case and not by the CONVERT query code.
10050 2006-09-17 Tim-Philipp Müller <tim at centricular dot net>
10052 * gst/gstformat.c: (gst_format_register):
10053 Fix locking order (must take lock before using n_values).
10055 * gst/gstvalue.c: (gst_value_serialize_enum),
10056 (gst_value_deserialize_enum_iter_cmp),
10057 (gst_value_deserialize_enum):
10058 Fix serialisation/deserialisation of custom registered GstFormats.
10060 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
10061 Unit test for custom format serialisation/deserialisation.
10063 2006-09-17 Stefan Kost <ensonic@users.sf.net>
10065 * docs/pwg/building-boiler.xml:
10066 * plugins/elements/gstcapsfilter.c:
10067 More G_OBJECT macro fixing. Also Fix some details on the plugin-stamp
10070 2006-09-16 Edward Hervey <edward@fluendo.com>
10072 * libs/gst/base/gstbasetransform.c:
10073 (gst_base_transform_buffer_alloc):
10074 Check if requested caps are the same as the sinks caps IF
10075 ->have_same_caps is TRUE. If they are not, act as if have_same_caps
10077 This fixes the renegotiation issues stated in #352827.
10079 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10082 * docs/manual/advanced-autoplugging.xml:
10083 * tests/examples/Makefile.am:
10084 * tests/examples/manual/.cvsignore:
10085 * tests/examples/manual/Makefile.am:
10086 * tests/examples/manual/extract.pl:
10087 Extract the manual examples again like we used to do.
10090 2006-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
10092 * win32/common/config.h:
10095 2006-09-16 Stefan Kost <ensonic@users.sf.net>
10098 Documents how to receive errors.
10100 2006-09-15 Wim Taymans <wim@fluendo.com>
10102 * tools/gst-launch.c: (sigint_handler_sighandler), (check_intr),
10103 (event_loop), (main):
10104 Added some comments here and there.
10105 Post an application message when an interrupt is caught instead of doing
10106 an uncontrolled state change.
10107 Clean up the event loop.
10108 Handle buffering messages, pause/resume the pipeline.
10109 Make shutdown because of an interrupt more reliable.
10111 2006-09-15 Wim Taymans <wim@fluendo.com>
10113 * libs/gst/base/gstbasesink.c: (gst_base_sink_commit_state),
10114 (gst_base_sink_wait_preroll), (gst_base_sink_do_sync),
10115 (gst_base_sink_preroll_object):
10116 Make sure that our internal state is correct when we commit our state
10117 asynchronously. This solves a race where a state change to PLAYING
10118 could cause the sink to remain blocked in preroll in some situations.
10120 2006-09-15 Wim Taymans <wim@fluendo.com>
10122 * tools/gst-inspect.c: (print_element_properties_info),
10123 (print_signal_info):
10124 List flags as hex so it's easier to deal with.
10126 2006-09-15 Wim Taymans <wim@fluendo.com>
10128 * docs/libs/gstreamer-libs-sections.txt:
10129 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_preroll),
10130 (gst_base_sink_do_sync):
10131 * libs/gst/base/gstbasesink.h:
10132 Expose logic to wait for preroll so that subclasses such as audiosink
10133 can also use this method.
10134 API: gst_base_sink_wait_preroll()
10136 2006-09-15 Wim Taymans <wim@fluendo.com>
10138 * gst/gstobject.c: (gst_object_set_parent):
10139 * gst/gstpipeline.c: (do_pipeline_seek):
10140 Small cleanups in docs and code.
10142 * gst/gstsegment.c: (gst_segment_clip):
10143 * tests/check/gst/gstsegment.c: (GST_START_TEST):
10144 if stop == start and start is in the segment, no clipping should be
10145 done. Also add a test for this.
10147 2006-09-15 Wim Taymans <wim@fluendo.com>
10149 * docs/design/part-buffering.txt:
10150 * docs/gst/gstreamer-sections.txt:
10151 * gst/gstmessage.c: (gst_message_new_buffering),
10152 (gst_message_parse_buffering):
10153 * gst/gstmessage.h:
10154 Added methods to create and parse BUFFERING messages.
10155 Added preliminary docs about buffering.
10156 API: gst_message_new_buffering
10157 API: gst_message_parse_buffering
10159 2006-09-06 Wim Taymans <wim@fluendo.com>
10162 Update documentation.
10164 * gst/gstelement.c: (gst_element_class_init),
10165 (gst_element_release_request_pad), (gst_element_set_clock),
10166 (gst_element_get_index), (gst_element_add_pad),
10167 (gst_element_remove_pad), (gst_element_get_random_pad),
10168 (gst_element_send_event), (gst_element_get_query_types),
10169 (gst_element_query), (gst_element_post_message),
10170 (gst_element_message_full), (gst_element_continue_state),
10171 (gst_element_lost_state), (gst_element_save_thyself),
10172 (gst_element_restore_thyself):
10173 Documentation updates.
10174 Rename last bit of the new-pad -> pad-added signal rename.
10175 Fix the case where an element query would only work if the source
10177 Avoid some useless type checking in message handling.
10182 Documentation updates.
10184 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10186 * plugins/elements/gstfdsrc.c: (gst_fd_src_update_fd):
10187 add an INFO line for when we actually update the fd
10189 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10194 === release 0.10.10 ===
10196 2006-09-14 Thomas Vander Stichele <thomas at apestaart dot org>
10199 releasing 0.10.10, "Pais"
10201 2006-09-05 Tim-Philipp Müller <tim at centricular dot net>
10203 * docs/manual/advanced-position.xml:
10204 Fix typo in sample code.
10206 2006-09-05 Wim Taymans <wim@fluendo.com>
10208 * libs/gst/net/gstnetclientclock.c: (inet_aton),
10209 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
10210 (gst_net_client_clock_do_select), (gst_net_client_clock_new):
10211 * libs/gst/net/gstnetclientclock.h:
10212 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
10213 * libs/gst/net/gstnettimepacket.h:
10214 * libs/gst/net/gstnettimeprovider.c: (inet_aton),
10215 (gst_net_time_provider_init), (gst_net_time_provider_finalize),
10216 (gst_net_time_provider_thread), (gst_net_time_provider_new):
10217 * libs/gst/net/gstnettimeprovider.h:
10218 Make stuff compile on windows. Fixes #345295.
10220 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10222 * gst/gst.c: (ensure_current_registry_forking):
10223 Print better details when child was terminated by signal.
10225 2006-09-03 Tim-Philipp Müller <tim at centricular dot net>
10227 * gst/gstregistryxml.c: (gst_registry_xml_save_feature):
10228 Print a warning rather than g_assert() if a plugin feature
10229 is a URI handler but returns no protocols (#353976).
10231 2006-09-02 Stefan Kost <ensonic@users.sf.net>
10233 * docs/random/moving-plugins:
10236 2006-09-01 Tim-Philipp Müller <tim at centricular dot net>
10238 * gst/gstinfo.c: (_gst_debug_nameof_funcptr):
10239 Fix locking order, handle NULL function values properly.
10244 * gst/gstpad.c: (gst_pad_buffer_alloc_unchecked):
10245 Initialise variable before using it and fix debug statement to
10246 print the address of the function rather than the address of the
10247 variable on the stack holding the address of the function.
10249 2006-09-01 Wim Taymans <wim@fluendo.com>
10251 * gst/gstghostpad.c: (gst_proxy_pad_do_event),
10252 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_chain),
10253 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
10254 (gst_proxy_pad_set_target_unlocked), (gst_ghost_pad_parent_set),
10255 (gst_ghost_pad_parent_unset),
10256 (gst_ghost_pad_internal_do_activate_push),
10257 (gst_ghost_pad_internal_do_activate_pull),
10258 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10259 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10260 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
10261 (gst_ghost_pad_new_full), (gst_ghost_pad_new_no_target),
10262 (gst_ghost_pad_new), (gst_ghost_pad_new_from_template),
10263 (gst_ghost_pad_new_no_target_from_template),
10264 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
10266 Avoid needless typechecking in macros.
10267 Since the internal pad is always present and never changes, there is
10268 no need to locking or ref when retrieving it.
10269 Improve debugging a bit.
10270 Handle link errors when setting the target. Fixes #341029.
10272 2006-09-01 Wim Taymans <wim@fluendo.com>
10274 * docs/libs/gstreamer-libs-sections.txt:
10275 * docs/plugins/gstreamer-plugins-sections.txt:
10276 Fix docs some more.
10278 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
10279 (gst_collect_pads_event):
10280 * libs/gst/base/gstcollectpads.h:
10281 Documentation updates.
10282 Free queued buffer when removing a pad.
10284 2006-08-31 Michael Smith <msmith@fluendo.com>
10286 * gst/gstutils.c: (gst_element_link_pads),
10287 (gst_element_link_pads_filtered):
10288 Ensure that we set a capsfilter to NULL if we failed to link it
10289 when doing filtered linking, to avoid criticals.
10291 No need to check for unreffing srcpad, which is explicly NULLed
10292 above (a trivial code cleanup).
10294 2006-08-31 Wim Taymans <wim@fluendo.com>
10296 * docs/design/part-gstghostpad.txt:
10297 Update ascii art in documentation.
10299 * gst/gstghostpad.c: (gst_proxy_pad_do_internal_link),
10300 (gst_proxy_pad_set_target_unlocked), (gst_proxy_pad_init),
10301 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
10302 (gst_ghost_pad_internal_do_activate_push),
10303 (gst_ghost_pad_internal_do_activate_pull),
10304 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
10305 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
10306 (gst_ghost_pad_dispose), (gst_ghost_pad_new_full),
10307 (gst_ghost_pad_set_target):
10308 Small cleanups and leak fixes.
10309 Remove some checks now that the internal pad is never NULL.
10310 Fix the case where linking pads without a target would create nasty
10311 criticals. Fixes #341029.
10312 Don't assign a GstPadLinkReturn to a gboolean and mess up the return
10313 value of _set_target().
10315 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10316 (gst_ghost_pad_suite):
10317 Some more tests for creating and linking untargeted ghostpads.
10319 2006-08-31 Edward Hervey <edward@fluendo.com>
10321 * docs/gst/gstreamer-sections.txt:
10322 * gst/gstghostpad.c: (gst_proxy_pad_do_getcaps),
10323 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
10324 (gst_proxy_pad_dispose), (gst_ghost_pad_new_full),
10325 (gst_ghost_pad_new_no_target), (gst_ghost_pad_new),
10326 (gst_ghost_pad_new_from_template),
10327 (gst_ghost_pad_new_no_target_from_template):
10328 * gst/gstghostpad.h:
10329 Refactored *_new() functions.
10330 Templates are now used as a g_object_new() parameter.
10331 Use template in _do_getcaps() if we don't have a target.
10332 Small documentation cleanups.
10333 Added two new constructors:
10334 gst_ghost_pad_new_from_template()
10335 gst_ghost_pad_new_no_target_from_template()
10336 * tests/check/gst/gstghostpad.c: (GST_START_TEST),
10337 (gst_ghost_pad_suite):
10338 Added tests for new ghostpad instanciation functions.
10340 API additions: gst_ghost_pad_new_from_template,
10341 gst_ghost_pad_new_no_target_from_template
10343 2006-08-30 Stefan Kost <ensonic@users.sf.net>
10345 * docs/random/ensonic/profiling.txt:
10346 Ideas about qos profiling.
10348 2006-08-29 Wim Taymans <wim@fluendo.com>
10350 * gst/gstcaps.c: (gst_caps_structure_is_subset_field):
10354 2006-08-29 Tim-Philipp Müller <tim at centricular dot net>
10357 Improve and detypofy docs.
10359 * tests/check/Makefile.am:
10360 * tests/check/gst/.cvsignore:
10361 * tests/check/gst/gstxml.c: (GST_START_TEST), (gst_xml_suite):
10362 Add a basic test suite for GstXML.
10364 2006-08-29 Wim Taymans <wim@fluendo.com>
10366 * gst/gstelement.c: (activate_pads), (clear_caps),
10367 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
10368 Clear the pad caps when the element shut down all of the pads and
10369 is not streaming data that could modify the caps.
10372 2006-08-28 Michael Smith <msmith@fluendo.com>
10374 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10375 Revert previous change; I misunderstood single-segment mode.
10377 2006-08-28 Michael Smith <msmith@fluendo.com>
10379 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
10380 Unset DISCONT on buffers when using single-segment mode.
10382 2006-08-28 Wim Taymans <wim@fluendo.com>
10384 * gst/gstcaps.c: (gst_caps_merge_structure):
10386 Fix docs and indentation again.
10388 * tests/check/gst/gstquery.c: (GST_START_TEST):
10389 Fix leak in tests and add some more tests.
10391 2006-08-28 Edward Hervey <edward@fluendo.com>
10393 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
10394 Inform GstSegment of the last stop position in order for the current
10395 segment to have a proper duration if it doesn't have a specific stop
10396 position from which a duration could be calculated.
10397 This bug was noticeable when a non-flushing, non-update new segment was
10398 followed by another segment (all buffers from the new segment were being
10401 2006-08-28 Wim Taymans <wim@fluendo.com>
10403 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
10404 Small comment update.
10406 * plugins/elements/gstidentity.c: (gst_identity_class_init),
10407 (gst_identity_transform_ip):
10408 Drop-probability is broken, mention this in the code with a
10409 FIXME and also in the property description.
10410 Make silent also be silent about the drop messages.
10412 2006-08-28 Tim-Philipp Müller <tim at centricular dot net>
10414 * docs/manual/appendix-win32.xml:
10415 Remove mention of popt, we don't depend on that any
10416 longer (#353136). Add some comments pointing out that
10417 this section is slightly outdated.
10419 2006-08-28 Wim Taymans <wim@fluendo.com>
10421 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10423 * gst/gstquery.c: (gst_query_new_segment):
10424 * tests/check/gst/gstquery.c: (GST_START_TEST):
10425 Initialize variables when creating a new segment query.
10428 2006-08-28 Wim Taymans <wim@fluendo.com>
10430 Patch by: Torsten Schoenfeld <kaffeetisch at gmx dot de>
10432 * gst/gstelement.c: (gst_element_get_bus):
10433 * tests/check/gst/gstelement.c: (GST_START_TEST):
10434 Check for NULL before _reffing the bus. Fixes #353122.
10436 2006-08-25 Tim-Philipp Müller <tim at centricular dot net>
10438 * docs/manual/basics-bus.xml:
10439 Docs update: fix wrong callback return value explanation; add
10440 some lines about the implicit relationship between main loop
10441 and main context; remove duplicate main loop variable declaration.
10443 2006-08-24 Tim-Philipp Müller <tim at centricular dot net>
10445 * tests/check/gst/gstcaps.c: (GST_START_TEST):
10446 Don't leak caps in unit test; add a few more simple
10449 2006-08-24 Stefan Kost <ensonic@users.sf.net>
10451 * docs/gst/gstreamer-sections.txt:
10452 * gst/gstcaps.c: (gst_caps_structure_is_subset_field),
10453 (gst_caps_structure_is_subset), (gst_caps_merge),
10454 (gst_caps_merge_structure):
10456 * libs/gst/base/gstbasetransform.c:
10457 (gst_base_transform_transform_caps):
10458 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
10459 implement caps merging (fixes #352580)
10461 2006-08-23 Stefan Kost <ensonic@users.sf.net>
10463 * tools/Makefile.am:
10464 * tools/gst-plot-timeline.py:
10465 add debug-log plotting developer tool (#340674)
10467 2006-08-23 Wim Taymans <wim@fluendo.com>
10469 * gst/gstpad.c: (gst_pad_start_task), (gst_pad_pause_task),
10470 (gst_pad_stop_task):
10471 Improve debugging for task functions.
10473 * gst/gsttask.c: (gst_task_func), (gst_task_set_lock),
10474 (gst_task_start), (gst_task_pause), (gst_task_join):
10475 Make sure that the task function started and finished after a
10477 Don't try to push the task function on the threadpool multiple
10479 Improve the g_warning message with some useful suggestions
10480 about how to fix the problem.
10482 2006-08-23 Wim Taymans <wim@fluendo.com>
10484 * gst/gstutils.c: (gst_pad_proxy_getcaps):
10485 Handle RESYNC correctly in _proxy_getcaps.
10487 2006-08-21 Tim-Philipp Müller <tim at centricular dot net>
10489 * gst/gstxml.c: (gst_xml_dispose), (gst_xml_parse_file),
10490 (gst_xml_parse_memory), (gst_xml_get_element):
10491 Chain up to parent class in dispose function and also
10492 unref the elements in the toplevel_elements GList.
10493 Don't leak XmlDocPtr in _parse_file() and _parse_memory().
10494 Always return a reference in gst_xml_get_element() rather
10495 than only sometimes.
10497 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
10498 Don't leak GstXml object.
10500 2006-08-21 Stefan Kost <ensonic@users.sf.net>
10502 * docs/gst/gstreamer-sections.txt:
10503 * gst/gstcaps.c: (gst_structure_is_equal_foreach),
10506 * libs/gst/base/gstbasetransform.c:
10507 (gst_base_transform_transform_caps):
10508 API: Add gst_caps_merge() and use it in basetransform, fixes #345444
10511 2006-08-21 Edward Hervey <edward@fluendo.com>
10513 * gst/gstxml.c: (gst_xml_class_init), (gst_xml_dispose):
10514 Implement GObject::dispose virtual method in GstXML so we can free the
10515 top_elements GList.
10517 2006-08-21 Wim Taymans <wim@fluendo.com>
10519 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable),
10520 (gst_buffer_create_sub):
10521 Copy duration/offset_end/caps when creating a subbuffer of the
10523 Make the subbuffer read-only when we make the metadata writable for
10524 now. Fixes #351768.
10526 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
10527 Added check for metadata copy when creating subbuffers.
10529 2006-08-21 Edward Hervey <edward@fluendo.com>
10531 * libs/gst/base/gstbasetransform.c:
10532 (gst_base_transform_buffer_alloc):
10533 Only call downstream buffer_alloc if transform element is passthrough
10534 or always_in_place. Closes #350449.
10536 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10539 ChangeLog surgery to add comments to previous changes
10541 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10546 * gst/gstpad.c: (gst_pad_set_active):
10547 Be more verbose in the log
10549 * libs/gst/base/gstbasetransform.c:
10550 (gst_base_transform_transform_caps):
10551 Simplify caps to get rid of duplicates, fixes #345444
10553 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10557 Use these optimizations only internally.
10559 2006-08-20 Stefan Kost <ensonic@users.sf.net>
10561 * gst/gstvalue.c: (gst_value_compare_list),
10562 (gst_value_compare_fraction_range),
10563 (gst_value_intersect_fraction_fraction_range),
10564 (gst_value_intersect_fraction_range_fraction_range),
10565 (gst_value_subtract_fraction_fraction_range),
10566 (gst_value_subtract_fraction_range_fraction_range),
10567 (gst_value_get_compare_func), (gst_value_compare),
10568 (gst_value_compare_with_func):
10570 Saves the expensive lookup of the compare function in many cases
10573 2006-08-18 Edward Hervey <edward@fluendo.com>
10575 * tests/check/gst/gstinfo.c: (gst_info_suite):
10576 Disable test that require gstdebug if it wasn't built in core.
10578 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10580 * docs/random/ensonic/logging.txt:
10583 * gst/gstinfo.c: (gst_debug_log_default):
10584 reorder fields, save some columns, add optional color codes for log
10587 2006-08-18 Stefan Kost <ensonic@users.sf.net>
10589 * docs/random/ensonic/logging.txt:
10590 add ideas about making the logs a bit more useful
10592 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10594 * docs/pwg/advanced-events.xml:
10595 * docs/pwg/titlepage.xml:
10596 Update for 0.10 API (#340627). Add myself
10599 2006-08-17 Tim-Philipp Müller <tim at centricular dot net>
10601 * docs/libs/gstreamer-libs-docs.sgml:
10602 * docs/libs/gstreamer-libs-sections.txt:
10603 * libs/gst/check/gstbufferstraw.c:
10604 Make gstcheck stuff show up in docs (still needs to
10605 be documented properly though).
10607 2006-08-16 Jan Schmidt <thaytan@mad.scientist.com>
10609 * docs/gst/gstreamer-sections.txt:
10611 * gst/gst.c: (init_post):
10612 * gst/gst_private.h:
10613 * gst/gstquark.c: (_priv_gst_quarks_initialize):
10615 * gst/gstquery.c: (gst_query_new_position),
10616 (gst_query_set_position), (gst_query_parse_position),
10617 (gst_query_new_duration), (gst_query_set_duration),
10618 (gst_query_parse_duration), (gst_query_new_convert),
10619 (gst_query_set_convert), (gst_query_parse_convert),
10620 (gst_query_new_segment), (gst_query_set_segment),
10621 (gst_query_parse_segment), (gst_query_new_seeking),
10622 (gst_query_set_seeking), (gst_query_parse_seeking):
10623 Add internal helpers for pre-registering quarks from static strings
10624 and using the quark values directly instead of looking them up when
10625 creating and parsing queries. Can be used for event construction too.
10628 2006-08-16 Wim Taymans <wim@fluendo.com>
10633 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10635 * gst/gstutils.c: (gst_util_set_value_from_string):
10636 Fix memleak (#351502).
10638 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
10639 Add unit test for most of gst_util_set_value_from_string()
10640 (not that one would want to encourage use of this function).
10642 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10644 * libs/gst/check/gstcheck.h:
10645 Use const gchar * variables in fail_unless_equals_string
10646 macro to avoid compiler warnings (and don't use tabs for
10649 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10651 * tools/gst-launch.c: (print_tag):
10652 More space on the left for the tag names, to cater
10653 for the 'extended comment' tag (not touching the
10654 string for the first line since it's translated).
10656 2006-08-15 Tim-Philipp Müller <tim at centricular dot net>
10658 * libs/gst/check/gstcheck.h:
10659 Fix ASSERT_CRITICAL and ASSERT_WARNING macros to actually
10660 print something when they fail.
10662 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10664 * docs/gst/gstreamer-sections.txt:
10665 * gst/gsttaglist.c: (_gst_tag_initialize):
10666 * gst/gsttaglist.h:
10667 API: add GST_TAG_EXTENDED_COMMENT (#350935).
10668 Also change merge function for GST_TAG_COMMENT to
10671 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10673 * gst/gstinfo.c: (gst_debug_print_object):
10674 Make GST_PTR_FORMAT print messages as well.
10676 * tests/check/gst/gstinfo.c: (printf_extension_log_func),
10677 (GST_START_TEST), (gst_info_suite):
10680 2006-08-14 Edward Hervey <edward@fluendo.com>
10682 * gst/gstelementfactory.c: (gst_element_register):
10683 If the GstElementClass doesn't have a GstElementDetails with all fields
10684 filled up correctly (longname, description AND author), then error out
10685 nicely instead of crashing.
10687 2006-08-14 Tim-Philipp Müller <tim at centricular dot net>
10689 * gst/gststructure.c:
10690 Fix typo in docs and re-wrap docs blurb to not exceed 80 chars/line.
10693 Expand on the difference between arrays and lists as we use them.
10695 2006-08-14 Wim Taymans <wim@fluendo.com>
10697 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
10698 If the parent state change function failed, don't assume we can safely
10699 stop the source, this will be done when the pads are deactivated.
10701 2006-08-14 Wim Taymans <wim@fluendo.com>
10704 * gst/gsttask.c: (gst_task_join):
10707 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_activate_push),
10708 (gst_pad_stop_task):
10709 When pad (de)activation failed for some reason, restore the old
10710 activation mode and set the pad to flushing instead of assuming the
10711 pad is deactivated.
10712 If the _task_join() failed, reinstall the task on the pad so that it can
10713 be stopped later and return an error.
10715 2006-08-11 Andy Wingo <wingo@pobox.com>
10718 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10719 * tests/check/libs/gdp.c: (gst_dp_suite): GST_DISABLE_DEPRECATED
10720 is only for users of API that don't want to see deprecated
10721 functions in the headers; people that want to compile out
10722 deprecated code should pass -DGST_REMOVE_DEPRECATED into the
10723 CFLAGS. Fixes the build of multifdsink, or will soon..
10725 2006-08-11 Wim Taymans <wim@fluendo.com>
10727 * docs/gst/gstreamer-sections.txt:
10728 Add GstClockClass vmethod docs.
10731 Mark #endif with comment for associated #if
10733 * gst/gstclock.c: (gst_clock_id_wait):
10735 Add vmethod wait_jitter to avoid an unneeded _get_time() for
10736 most clock implementations.
10738 Flesh out docs about resolution methods.
10739 API: GstClockClass::wait_jitter
10741 * gst/gstsystemclock.c: (gst_system_clock_class_init),
10742 (gst_system_clock_async_thread),
10743 (gst_system_clock_id_wait_jitter_unlocked),
10744 (gst_system_clock_id_wait_jitter):
10745 Use base class wait_jitter variant for improved performance
10746 due to less clock polling.
10748 2006-08-11 Edward Hervey <edward@fluendo.com>
10750 * gst/gst.c: (gst_init_check), (init_post):
10751 Set gst as being initialized before scanning/updating the registry,
10752 since there might be my python plugin loader that calls gst_init() and
10753 we don't want to loop back in.
10756 2006-08-11 Wim Taymans <wim@fluendo.com>
10758 * docs/design/part-qos.txt:
10759 Bring docs in line with the code. Mostly the sign of the jitter was
10760 wrong in the docs. Fixes #349943.
10763 Fix the docs for the jitter.
10765 * gst/gstevent.c: (gst_event_new_custom), (gst_event_new_tag),
10766 (gst_event_parse_tag), (gst_event_new_buffer_size),
10767 (gst_event_parse_buffer_size), (gst_event_parse_qos),
10768 (gst_event_new_seek), (gst_event_parse_seek),
10769 (gst_event_new_navigation):
10770 Make sure the GstStructure has no parent when creating custom
10772 Add some more argument checking so that we avoid 0.0 rates.
10773 Flesh out the docs for the QoS event some more.
10775 2006-08-11 Wim Taymans <wim@fluendo.com>
10777 * docs/gst/gstreamer-sections.txt:
10778 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
10779 (ensure_current_registry_forking), (ensure_current_registry),
10780 (parse_one_option), (parse_goption_arg), (gst_deinit),
10781 (gst_registry_fork_is_enabled), (gst_registry_fork_set_enabled):
10784 Added API and command line option to disable registry forking in
10785 addition to the environment variable.
10786 Constify some static arrays.
10787 Added some more debug.
10788 Don't deinit twice.
10789 API: gst_registry_fork_is_enabled()
10790 API: gst_registry_fork_set_enabled()
10791 API: --gst-disable-registry-fork command line option
10794 2006-08-11 Tim-Philipp Müller <tim at centricular dot net>
10796 * gst/gst.c: (gst_init):
10797 Fix typo in error message.
10799 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10801 * libs/gst/controller/gstcontroller.h:
10802 fix ABI size-correction
10804 * tests/check/libs/gdp.c: (gst_dp_suite):
10805 make tests that use deprecated API conditional
10807 2006-08-10 Stefan Kost <ensonic@users.sf.net>
10809 * docs/libs/gstreamer-libs-sections.txt:
10810 * libs/gst/controller/gstcontroller.c:
10811 (_gst_controller_get_property), (_gst_controller_set_property),
10812 (_gst_controller_init), (_gst_controller_class_init):
10813 * libs/gst/controller/gstcontroller.h:
10814 * libs/gst/controller/gsthelper.c: (gst_object_get_control_rate),
10815 (gst_object_set_control_rate):
10816 API: add gst_object_{s,g}et_control_rate(), add private data section,
10819 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packetizer_new):
10820 * libs/gst/dataprotocol/dataprotocol.h:
10821 add deprecation guards to make gtk-doc happy and allow disabling cruft
10823 2006-08-09 Tim-Philipp Müller <tim at centricular dot net>
10825 * tests/check/Makefile.am:
10826 * tests/check/gst/.cvsignore:
10827 Let's enable the new unit test as well.
10829 2006-08-08 Tim-Philipp Müller <tim at centricular dot net>
10832 * docs/gst/gstreamer-sections.txt:
10833 * gst/gstconfig.h.in:
10834 * gst/gstinfo.c: (_gst_debug_init), (gst_debug_print_segment),
10835 (_gst_info_printf_extension_ptr),
10836 (_gst_info_printf_extension_segment):
10837 API: add GST_SEGMENT_FORMAT, which is a printf extension we
10838 register that lets us easily dump GstSegments into debug
10841 * tests/check/gst/gstinfo.c: (segment_printf_extension_log_func),
10842 (info_segment_format_printf_extension), (gst_info_suite):
10843 Add simple unit test that logs a bunch of different segments (not
10844 valgrinded at the moment because of leaks in
10845 gst_debug_add_log_function).
10847 2006-08-09 Edward Hervey <edward@fluendo.com>
10849 * libs/gst/base/gstbasetransform.c:
10850 (gst_base_transform_buffer_alloc):
10851 Even if we can't figure out the proper format to request downstream,
10852 call buffer_alloc() downstream with the input parameters without setting
10853 the caps on the srcpad. This will force negotiation in the chain
10857 2006-08-08 Edward Hervey <edward@fluendo.com>
10859 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
10860 Unlinking from a pad without a target is now a perfectly valid case
10861 which should NOT raise an assertion.
10862 This case would happen if a linked ghostpad its target set to NULL after
10863 it was previously linked.
10865 2006-08-08 Edward Hervey <edward@fluendo.com>
10867 * tests/check/libs/gdp.c:
10868 Also comment out the test (see below).
10870 2006-08-08 Edward Hervey <edward@fluendo.com>
10872 * tests/check/libs/gdp.c: (gst_dp_suite):
10873 Use the architecture information from config.h and not gcc macros
10874 in order to properly disable a test that fails on PPC64.
10876 2006-08-04 Tim-Philipp Müller <tim at centricular dot net>
10878 * gst/gstelement.c: (gst_element_remove_pad):
10879 Don't crash printing the warning if the pad has no parent.
10881 2006-08-02 Wim Taymans <wim@fluendo.com>
10883 * libs/gst/dataprotocol/dataprotocol.c:
10884 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
10885 (gst_dp_crc), (gst_dp_header_payload_length),
10886 (gst_dp_header_payload_type), (gst_dp_packet_from_event),
10887 (gst_dp_packet_from_event_1_0), (gst_dp_buffer_from_header),
10888 (gst_dp_caps_from_packet), (gst_dp_event_from_packet_0_2),
10889 (gst_dp_event_from_packet), (gst_dp_validate_header),
10890 (gst_dp_validate_payload):
10891 Make debug category static
10892 Constify the crc table.
10893 Do some more arg checking in public functions.
10894 Fix some docs and do some small cleanups.
10896 * tests/check/libs/gdp.c: (GST_START_TEST), (gst_dp_suite):
10897 Add some more checks to see if GDP deals with bogus input.
10899 2006-07-31 Wim Taymans <wim@fluendo.com>
10901 * gst/gstvalue.c: (gst_value_compare_list):
10902 Fix GstValueList comparison code. Fixes #347293.
10904 * tests/check/gst/gstvalue.c: (GST_START_TEST):
10905 Check to test GstValueList comparison.
10907 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10909 * gst/gstelementfactory.c: (gst_element_factory_create):
10910 Remove unnecessary ref/unref pair
10912 * gst/parse/grammar.y:
10913 Make sure to free the parse buffer on all code paths.
10914 Move a g_free up to the error handler where it's easier to see.
10916 * tests/check/gst/gstevent.c: (test_event):
10917 Extending timeout for downstream travelling events to 10 seconds to
10918 hopefully avoid intermittent failure on the buildbots.
10920 * tests/check/pipelines/parse-launch.c: (run_delayed_test):
10921 Don't manually set the state of the src element - it will happen as a
10922 natural consequence of the pipeline changing state, and that way it
10923 will do it in the right order too.
10925 2006-07-31 Wim Taymans <wim@fluendo.com>
10927 * libs/gst/base/gstbasetransform.c:
10928 (gst_base_transform_buffer_alloc):
10929 Use OBJECT_LOCK and refcounting to get the pad caps in the
10930 buffer_alloc function because the caps could change while we are
10931 busy with them. Fixes #349105
10933 2006-07-31 Wim Taymans <wim@fluendo.com>
10935 * gst/gstutils.c: (gst_pad_get_fixed_caps_func):
10936 Protect _PAD_CAPS with OBJECT_LOCK.
10938 2006-07-31 Wim Taymans <wim@fluendo.com>
10940 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
10941 (gst_pad_get_property), (gst_pad_activate_pull),
10942 (gst_pad_activate_push), (gst_pad_set_blocked_async),
10943 (gst_pad_set_activate_function),
10944 (gst_pad_set_activatepull_function),
10945 (gst_pad_set_activatepush_function), (gst_pad_set_chain_function),
10946 (gst_pad_set_getrange_function),
10947 (gst_pad_set_checkgetrange_function), (gst_pad_set_event_function),
10948 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
10949 (gst_pad_set_internal_link_function), (gst_pad_set_link_function),
10950 (gst_pad_set_unlink_function), (gst_pad_set_getcaps_function),
10951 (gst_pad_set_acceptcaps_function),
10952 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
10953 (gst_pad_set_bufferalloc_function), (gst_pad_link_check_hierarchy),
10954 (gst_pad_get_caps_unlocked), (gst_pad_get_caps),
10955 (gst_pad_peer_get_caps), (gst_pad_accept_caps),
10956 (gst_pad_peer_accept_caps), (gst_pad_set_caps),
10957 (gst_pad_configure_sink), (gst_pad_configure_src),
10958 (gst_pad_get_allowed_caps), (gst_pad_get_negotiated_caps),
10959 (gst_pad_buffer_alloc_unchecked), (gst_pad_alloc_buffer_full),
10960 (gst_pad_query), (gst_pad_load_and_link), (handle_pad_block),
10961 (gst_pad_chain_unchecked), (gst_pad_push), (gst_pad_get_range),
10962 (gst_pad_send_event):
10963 Use _DEBUG_OBJECT when it makes sense.
10964 Protect GST_PAD_CAPS with the OBJECT_LOCK.
10965 Small cleanups and code reflows.
10966 Avoid caps refcounting in _accept_caps.
10967 Refactor alloc_buffer so that the code performed on the peer is in a
10968 separate function. Also if the pad does not implement a buffer alloc
10969 function, we should still check if the pad is flushing before falling
10970 back to the default allocator.
10972 2006-07-31 Jan Schmidt <thaytan@mad.scientist.com>
10974 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
10975 Make all uses of identity and fakesink have silent=true to avoid
10976 serialising every passing data structure, which is breaking tests
10977 on FC4 for some unknown reason.
10979 2006-07-30 Stefan Kost <ensonic@users.sf.net>
10981 * gst/parse/Makefile.am:
10982 * gst/parse/grammar.y:
10983 * gst/parse/parse.l:
10984 Reverted previous patch as it required to bump the flex dependency to
10985 2.5.31, where fc4/5 seem to ship only the ancient 2.5.4a :(
10987 2006-07-30 Stefan Kost <ensonic@users.sf.net>
10989 Patch by: Marc-Andre Lureau <marcandre.lureau@gmail.com>
10991 * gst/parse/Makefile.am:
10992 * gst/parse/grammar.y:
10993 * gst/parse/parse.l:
10994 push & pop the state of the lexer for reentrant use case
10997 2006-07-29 Tim-Philipp Müller <tim at centricular dot net>
10999 * libs/gst/base/gstbasesrc.h:
11000 Note in the docs that the ::newsegment vfunc is not actually used by
11003 2006-07-28 Wim Taymans <wim@fluendo.com>
11005 * libs/gst/base/gstcollectpads.c:
11006 (gst_collect_pads_set_flushing_unlocked), (gst_collect_pads_pop),
11007 (gst_collect_pads_clear), (gst_collect_pads_flush),
11008 (gst_collect_pads_event), (gst_collect_pads_chain):
11009 When flushing a pad, also clear the queued buffer so that we don't
11010 accidentally use it when we shouldn't.
11011 Fix leaks by inreffing incomming buffer.
11012 Flush out queued buffers in case of errors.
11015 2006-07-28 Wim Taymans <wim@fluendo.com>
11017 * docs/random/phonon-gst:
11018 Random notes about a Phonon backend.
11020 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11022 * libs/gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
11024 * tests/check/libs/gdp.c: (gst_dp_suite):
11025 Take a whack at fixing the ppc compile using a different define to
11026 disable the broken test.
11028 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
11029 Remove excess g_print()
11031 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11033 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
11034 Oops, meant to uncomment this line too to dampen the noise a bit.
11036 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11038 * gst/parse/grammar.y:
11039 * gst/parse/parse.l:
11040 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11041 (GST_START_TEST), (parse_suite):
11042 Fix some of the leaks exposed by extending the parse-launch testsuite,
11043 and move the 3 I can't figure out into a separate test that won't run
11044 the pipelines unless the appropriate line is uncommented.
11046 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11048 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11049 Requesting 0 bytes before the end of the file should result in
11050 FLOW_OK and an empty buffer, not FLOW_UNEXPECTED. Thank you
11053 2006-07-27 Wim Taymans <wim@fluendo.com>
11055 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_get_structure):
11056 Fix useless assert, a uint is always positive.
11058 * gst/gststructure.c: (gst_structure_nth_field_name),
11059 (gst_structure_foreach), (gst_structure_map_in_place):
11060 Check input arguments for public functions to avoid obvious crashes.
11062 * plugins/elements/gstfakesink.c: (gst_fake_sink_render):
11063 * plugins/elements/gstfakesink.h:
11064 Do less useless typechecking.
11066 2006-07-27 Tim-Philipp Müller <tim at centricular dot net>
11068 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
11069 Do not use mmap() by default since there are a number of error
11070 conditions that we would like to handle in a non-fatal way that
11071 will result in a SIGBUS if we use mmap(). Examples: external
11072 devices (USB harddrive, portable music player) being unplugged
11073 while in use; file on mounted CD/DVD that can't be read because
11074 the medium is partly damaged. Fixes #348455 and #348475.
11076 2006-07-27 Jan Schmidt <thaytan@mad.scientist.com>
11079 Delete unused and misleading define of GST_QUERY_TYPE_RATE_DEN -
11080 rates are a gdouble
11082 2006-07-26 Stefan Kost <ensonic@users.sf.net>
11084 * gst/gstregistry.c:
11085 Move big documentation comment into class section header, so that it
11086 appears in the API docs.
11088 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11090 * docs/gst/gstreamer-sections.txt:
11091 Oops. Commit the docs additions too for new API.
11092 Also, remove the mention of the non-existent GST_QUERY_TYPE_RATE_DEN
11094 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11096 * gst/gststructure.c: (gst_structure_id_set),
11097 (gst_structure_id_set_valist):
11098 * gst/gststructure.h:
11099 Add API for setting values into structures without performing
11100 a quark lookup, if the appropriate quark is already known.
11102 API: gst_structure_id_set
11103 API: gst_structure_id_set_valist
11105 * gst/parse/grammar.y:
11106 * gst/parse/parse.l:
11107 Remove some dead code shown by the coverage information.
11108 Don't throw a critical g_warning when encountering a syntax error,
11109 just warn and let the normal error path handle it.
11111 * plugins/elements/gstelements.c:
11112 Bump the rank of filesink up to PRIMARY so that it is preferred over
11113 gnomevfssink for file:// sink uri's
11115 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe),
11116 (GST_START_TEST), (run_delayed_test),
11117 (gst_parse_test_element_base_init),
11118 (gst_parse_test_element_class_init), (gst_parse_test_element_init),
11119 (gst_parse_test_element_change_state),
11120 (gst_register_parse_element), (parse_suite):
11121 Beef up the tests for parse syntax to check that more error cases
11122 fail as they are supposed to. Increases the test coverage a bit.
11124 2006-07-26 Tim-Philipp Müller <tim at centricular dot net>
11126 * docs/manual/basics-elements.xml:
11127 Fix gst_element_link() example.
11130 Mention in API docs that one should usually gst_bin_add()
11131 elements to a bin or pipeline before doing the linking.
11133 2006-07-26 Wim Taymans <wim@fluendo.com>
11135 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_new),
11136 (gst_subbuffer_get_type), (gst_buffer_create_sub):
11137 Avoid function call for known types by keeping the buffer and
11138 subbuffer GType global.
11140 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
11141 Random silly optimisations in read() path.
11143 2006-07-26 Jan Schmidt <thaytan@mad.scientist.com>
11145 * tools/gst-launch.c: (main):
11146 If the top-level of the parse is a normal bin, it doesn't do the
11147 right logic to run as a top-level element, so place it inside a
11150 2006-07-25 Tim-Philipp Müller <tim at centricular dot net>
11152 * plugins/elements/gstfilesrc.c: (gst_file_src_set_property):
11153 Remove superfluous g_object_notify() calls, GObject does
11154 that for us automatically.
11156 2006-07-25 Stefan Kost <ensonic@users.sf.net>
11159 on Win32, use dllspec to export the debug category symbols
11161 2006-07-24 Tim-Philipp Müller <tim at centricular dot net>
11163 * gst/gsttaglist.c: (_gst_tag_initialize):
11164 Allow more than one GST_TAG_IMAGE per taglist.
11166 2006-07-24 Thomas Vander Stichele <thomas at apestaart dot org>
11168 * gst/gstminiobject.c:
11170 * plugins/elements/gstfdsrc.c: (gst_fd_src_set_property),
11171 (gst_fd_src_create):
11172 log recurring events at LOG level
11173 add more debug for when the fd gets set
11175 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11177 * gst/gstparse.c: (gst_parse_launch):
11178 Also remove reentrance checks if flex is MT safe (#348179)
11179 Fix my empty ChangeLog entry below
11181 2006-07-21 Andy Wingo <wingo@pobox.com>
11183 * docs/libs/gstreamer-libs-sections.txt: Attempt to pacify buildbot.
11185 * libs/gst/check/Makefile.am
11186 (libgstcheck_@GST_MAJORMINOR@include_HEADERS)
11187 (libgstcheck_@GST_MAJORMINOR@_la_SOURCES):
11188 * libs/gst/check/gstbufferstraw.h:
11189 * libs/gst/check/gstbufferstraw.c: Add some new hype testing
11190 functions, thus proving I am still a GStreamer haxor. OK I wrote
11191 them a long time ago, but anyways.
11193 2006-07-21 Stefan Kost <ensonic@users.sf.net>
11196 * gst/gstparse.c: (gst_parse_launch):
11197 Check for flex version and omit mutex if we have a MT save flex
11200 2006-07-21 Wim Taymans <wim@fluendo.com>
11202 * gst/gstparse.c: (gst_parse_launch):
11203 Protect recursive calls to _parse with a recursive mutex
11206 2006-07-21 Wim Taymans <wim@fluendo.com>
11208 * tests/check/gst/gstpad.c: (GST_START_TEST):
11211 2006-07-20 Stefan Kost <ensonic@users.sf.net>
11213 * gst/gstparse.c: (gst_parse_launch):
11214 Do not hang on recursive usage of gst_parse_launch()
11216 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11218 * gst/gsttaglist.c:
11219 Add some more docs, comments and FIXME 0.11s here and there
11220 and also fix some typos.
11222 2006-07-20 Tim-Philipp Müller <tim at centricular dot net>
11224 * gst/gstsegment.h:
11225 Convert tabs to spaces for better readability.
11227 2006-07-20 Edward Hervey <edward@fluendo.com>
11229 * tests/check/libs/gdp.c: (gst_dp_suite):
11230 the test_buffer test fails at line 140 on ppc64 at the following
11232 fail_unless (GST_BUFFER_FLAG_IS_SET (newbuffer,
11233 GST_BUFFER_FLAG_IN_CAPS),
11234 "GST_BUFFER_IN_CAPS flag should have been copied !");
11235 See bug #348114 for more details.
11237 2006-07-19 Tim-Philipp Müller <tim at centricular dot net>
11239 * docs/pwg/advanced-scheduling.xml:
11241 Fix typos (#348000).
11243 2006-07-18 Tim-Philipp Müller <tim at centricular dot net>
11245 * docs/pwg/intro-basics.xml:
11246 Fix wrong links (#347927).
11248 2006-07-18 Stefan Kost <ensonic@users.sf.net>
11250 * gst/gstregistry.h:
11251 * gst/gstregistryxml.c: (load_feature),
11252 (gst_registry_xml_read_cache), (gst_registry_xml_save_feature):
11253 * win32/common/config.h:
11254 make --disable-index work (#342564)
11256 2006-07-18 Wim Taymans <wim@fluendo.com>
11258 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11262 The attached patch adds two missing defines to gsttrace.h when tracing
11263 is disabled. It also corrects one existing define.
11266 2006-07-17 Wim Taymans <wim@fluendo.com>
11268 * docs/gst/gstreamer-sections.txt:
11269 * gst/gst.c: (gst_segtrap_is_enabled), (gst_segtrap_set_enabled):
11271 * gst/gstplugin.c: (_gst_plugin_fault_handler_restore):
11272 Add two functions to check and change the SIGSEGV behaviour
11273 when loading plugins.
11274 Don't mess with the SIGSEGV handler when we were told not to.
11276 API: gst_segtrap_is_enabled
11277 API: gst_segtrap_set_enabled
11279 2006-07-14 Wim Taymans <wim@fluendo.com>
11281 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11282 * tests/check/elements/filesrc.c: (GST_START_TEST):
11283 Revert fix for regression in #347408 after release.
11285 2006-07-14 Tim-Philipp Müller <tim at centricular dot net>
11287 Patch by: Antoine Tremblay <hexa00 at gmail com>
11289 * gst/gstutils.c: (gst_element_unlink):
11290 Free iterator when done (#347311).
11292 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
11293 And add a test case for this.
11295 2006-07-14 Jan Schmidt <thaytan@mad.scientist.com>
11298 Bump nano back to CVS
11300 === release 0.10.9 ===
11302 2006-07-13 Jan Schmidt <thaytan@mad.scientist.com>
11305 releasing 0.10.9, "On the road again"
11307 2006-07-13 Wim Taymans <wim@fluendo.com>
11309 * libs/gst/base/gstbasesrc.c: (gst_base_src_update_length):
11310 * tests/check/elements/filesrc.c: (GST_START_TEST):
11311 Revert pull-0 fix for release. Disable check. Fixes #347408.
11313 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11315 * libs/gst/dataprotocol/dataprotocol.c:
11316 (gst_dp_event_from_packet_1_0):
11317 Fixes #347337: failure to deserialize event packets with
11318 empty payload (only event type)
11320 2006-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
11323 do not install a .c file in the header directory
11325 2006-07-13 Edward Hervey <edward@fluendo.com>
11327 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
11328 GhostPad no longer implicitely use the padtemplates of the targets.
11331 2006-07-11 Jan Schmidt <thaytan@mad.scientist.com>
11333 * gst/gstvalue.c: (gst_value_compare_list),
11334 (gst_value_compare_array), (_gst_value_initialize):
11335 * tests/check/gst/gstvalue.c: (GST_START_TEST):
11336 Make GstValueArray comparison be order dependent as designed.
11337 Add checks for value lists and value array comparisons.
11340 2006-07-11 Edward Hervey <edward@fluendo.com>
11342 * gst/gstbin.c: (activate_pads),
11343 (iterator_activate_fold_with_resync), (gst_bin_src_pads_activate),
11344 (gst_bin_change_state_func):
11345 (de)activate src pads before calling state_change on the childs.
11346 This is to avoid the case where a src ghostpad is blocked (holding the
11347 stream lock), which would block the deactivation of the ghostpad's
11349 * gst/gstghostpad.c: (gst_proxy_pad_do_query_type),
11350 (gst_proxy_pad_do_event), (gst_proxy_pad_do_query),
11351 (gst_proxy_pad_do_internal_link), (gst_proxy_pad_do_bufferalloc),
11352 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
11353 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
11354 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
11355 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target_unlocked),
11356 (gst_proxy_pad_set_target), (gst_proxy_pad_get_internal),
11357 (gst_proxy_pad_dispose), (gst_proxy_pad_init),
11358 (gst_ghost_pad_parent_set), (gst_ghost_pad_parent_unset),
11359 (gst_ghost_pad_class_init),
11360 (gst_ghost_pad_internal_do_activate_push),
11361 (gst_ghost_pad_internal_do_activate_pull),
11362 (gst_ghost_pad_do_activate_push), (gst_ghost_pad_do_activate_pull),
11363 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
11364 (gst_ghost_pad_dispose), (gst_ghost_pad_new_no_target),
11365 (gst_ghost_pad_new), (gst_ghost_pad_set_target):
11366 GhostPads now create their internal GstProxyPad at creation (and not
11367 when they're linked, as it was being done previously).
11368 The internal and target pads are linked straight away.
11369 The data will also travel through the other pad in order to make
11370 pad blocking and probes non-hackish (the probe/block now really happens
11371 on the GhostPad and not on the target).
11372 * gst/gstpad.c: (gst_pad_set_blocked_async),
11373 (gst_pad_link_prepare), (gst_pad_push_event):
11374 Remove previous ghostpad cruft.
11375 * gst/gstutils.c: (gst_pad_add_data_probe),
11376 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
11377 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
11378 (gst_pad_remove_buffer_probe):
11379 Remove previous ghost pad cruft.
11380 Added more detailed debug statements.
11381 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
11382 Fix the testsuite for refcounting changes.
11383 The comments about who has references were correct, but the refcount
11384 being checked wasn't the same (!?!).
11388 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11390 * docs/gst/gstreamer-sections.txt:
11391 * gst/gstconfig.h.in:
11392 More docs for configuration options, add docs to gtk-doc.
11394 2006-07-10 Stefan Kost <ensonic@users.sf.net>
11397 * gst/gstconfig.h.in:
11398 * win32/common/config.h:
11399 Fix build when disabling tracing (fixes #344016). Also start to document
11400 the defines that disable the sub-systems.
11402 2006-07-10 Edward Hervey <edward@fluendo.com>
11404 * gst/gst.c: (ensure_current_registry_forking):
11405 let's make valgrind happy...
11407 2006-07-09 Wim Taymans <wim@fluendo.com>
11409 * gst/gstelement.c: (activate_pads),
11410 (iterator_activate_fold_with_resync), (gst_element_pads_activate):
11411 Better pad activation code: Reset the collect value too on resync.
11414 2006-07-09 Wim Taymans <wim@fluendo.com>
11416 * gst/gstpad.c: (gst_pad_init), (gst_pad_activate_pull),
11417 (gst_pad_activate_push):
11418 Use some more macros where it makes sense.
11419 Allow pad mode switching instead of asserting. When a pad
11420 is activated in one mode and we activate it in another,
11421 deactivate it first before activating it in a different mode.
11424 2006-07-08 Andy Wingo <wingo@pobox.com>
11426 * tools/gst-launch.c (main): Handle err == NULL.
11428 * gst/gst.c (init_post, ensure_current_registry)
11429 (ensure_current_registry_forking)
11430 (ensure_current_registry_nonforking): Reduce #ifdef ratnest by
11431 factoring out the registry scanning into separate functions. Don't
11432 fork for the rescan is GST_REGISTRY_FORK=no; useful in debugging.
11433 Better environment var name/interface suggestions accepted.
11435 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11437 * gst/gstobject.c: (gst_object_set_name_default),
11438 (gst_object_set_name):
11439 Random micro-optimisation: don't use a hash table
11440 with strings as keys and the usual strdup/strcmp
11441 involved, but rather just use the GQuark of the
11442 type name as key, since it needs to be looked up
11443 anyway to get the type name string.
11445 * tests/check/gst/gstobject.c: (GST_START_TEST):
11448 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11450 * gst/gstbin.c: (compare_interface), (gst_bin_get_by_interface),
11451 (gst_bin_iterate_all_by_interface):
11452 Can't use GPOINTER_TO_INT and GINT_TO_POINTER with GTypes.
11453 GTypes are gulongs and thus the top 4 bytes might be cut
11454 off on some platforms when doing GPOINTER_TO_INT, leading
11455 to invalid GTypes and bad things happening (see RH bug #179654).
11456 Also add a check to make sure the type passed in is really
11459 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11464 2006-07-07 Tim-Philipp Müller <tim at centricular dot net>
11468 * gst-element-check.m4:
11469 * gst-element-check.m4.in:
11470 Make gst-element-check-$VERSION.m4 call gst-inspect-$VERSION
11471 instead of the unversioned gst-inspect (#324176, #168659).
11473 2006-07-06 Wim Taymans <wim@fluendo.com>
11475 * gst/gstmessage.h:
11476 Use a valid int for the _MESSAGE_ANY enum value to avoid compiler
11479 2006-07-06 Wim Taymans <wim@fluendo.com>
11481 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
11482 (gst_base_src_wait), (gst_base_src_update_length),
11483 (gst_base_src_get_range), (gst_base_src_default_check_get_range),
11484 (gst_base_src_check_get_range), (gst_base_src_pad_check_get_range),
11485 (gst_base_src_loop), (gst_base_src_start),
11486 (gst_base_src_activate_pull):
11488 blocksize == 0 now means the default blocksize when working in push
11490 Remove some pointless asserts in _wait function.
11491 Fix offset/length calculations and EOS handling. We can now pull 0
11492 bytes as well, which is allowed.
11493 use _check_get_range() to decide if we can operate in _pull based
11495 Fix refcounting leak when check_get_range function was not
11497 API GstBaseSrc::blocksize range can be 0 too now (default)
11499 * tests/check/elements/filesrc.c: (GST_START_TEST),
11501 Added check to test _get_range() behaviour.
11503 2006-07-06 Wim Taymans <wim@fluendo.com>
11505 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
11506 (gst_pad_push), (gst_pad_check_pull_range), (gst_pad_get_range),
11507 (gst_pad_pull_range):
11509 Lots of comments and docs added to the pad functions.
11510 Flesh out the expected behaviour of the get_range() functions.
11512 2006-07-06 Wim Taymans <wim@fluendo.com>
11517 * gst/gstiterator.h:
11521 Remove comma at end of enumerator list.
11523 2006-07-05 Sebastien Moutte <sebastien@moutte.net>
11525 * win32/common/libgstbase.def:
11526 * win32/common/libgstdataprotocol.def:
11527 * win32/common/libsgtreamer.def:
11528 Add new exported functions.
11530 2006-07-05 Wim Taymans <wim@fluendo.com>
11532 * libs/gst/base/gstpushsrc.c: (gst_push_src_check_get_range):
11533 Add some more docs here and there.
11535 2006-07-05 Wim Taymans <wim@fluendo.com>
11537 * libs/gst/base/gstbasesink.c: (gst_base_sink_preroll_object),
11538 (gst_base_sink_loop), (gst_base_sink_get_position):
11539 When operating in pull mode update the offset so that we
11542 2006-07-05 Wim Taymans <wim@fluendo.com>
11544 * gst/gstregistryxml.c: (read_string):
11545 Avoid strdup. (will happen in libxml, but hey!)
11548 Add some more docs.
11550 2006-07-05 Wim Taymans <wim@fluendo.com>
11552 * gst/gstbuffer.c: (_gst_buffer_copy), (gst_buffer_create_sub):
11553 * tests/check/gst/gstbuffer.c: (GST_START_TEST),
11554 (gst_buffer_suite):
11555 No point in checking if the size of the subbuffer > 0, the
11556 code handles it correclty as demonstrated by unit test.
11557 Also add a unit test for the zero sized _new_and_alloc and
11558 _copy. Fixes #346663.
11560 2006-07-05 Wim Taymans <wim@fluendo.com>
11562 * libs/gst/base/gstbasetransform.c:
11563 (gst_base_transform_prepare_output_buffer),
11564 (gst_base_transform_buffer_alloc),
11565 (gst_base_transform_handle_buffer):
11566 Make sure the buffer we pass to transform_ip has a refcount of
11567 1 and thus is writable. Fixes #343196
11569 2006-07-04 Jan Schmidt <thaytan@mad.scientist.com>
11571 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
11572 (gst_file_src_init), (gst_file_src_set_property),
11573 (gst_file_src_get_property), (gst_file_src_map_region):
11574 * plugins/elements/gstfilesrc.h:
11575 Add "sequential" property, off by default, to use madvise and hint
11576 to the kernel that sequential access is desired.
11577 Touch all retrieved pages by default to ensure they are pulled
11578 into memory. (Closes #345720)
11580 2006-07-03 Wim Taymans <wim@fluendo.com>
11582 * docs/design/part-block.txt:
11583 * docs/design/part-dynamic.txt:
11584 Small docs updates.
11586 2006-07-03 Wim Taymans <wim@fluendo.com>
11588 * gst/gstcaps.c: (gst_caps_new_empty), (_gst_caps_free),
11589 (gst_caps_unref), (gst_static_caps_get),
11590 (gst_caps_append_structure):
11591 * gst/gstclock.c: (gst_clock_entry_new), (_gst_clock_id_free):
11592 Use GSlice when the glib we build against is >= 2.10
11594 2006-07-03 Wim Taymans <wim@fluendo.com>
11596 * gst/gstelement.c: (gst_element_pads_activate):
11597 Small cleanup in pad activation code.
11599 2006-07-03 Wim Taymans <wim@fluendo.com>
11601 Patch by: Peter Kjellerstedt <pkj at axis dot com>
11603 * gst/gst-i18n-app.h:
11604 * gst/gst-i18n-lib.h:
11605 * tools/gst-inspect.c: (print_signal_info):
11606 The attached patch will make the inclusion of gettext.h unconditional in
11607 gst/gst-i18n-app.h and gst/gst-i18n-lib.h, and it will remove the inclusion of
11608 libintl.h in tools/gst-inspect.c.
11609 This allows use of --disable-nls again and fixes #344642.
11611 2006-07-03 Edward Hervey <edward@fluendo.com>
11613 * gst/gstpad.c: (handle_pad_block), (gst_pad_push_event):
11614 Implement pad blocking on events according to part-block.txt.
11615 More comments on behaviour.
11616 * tests/check/gst/gstevent.c: (test_event):
11617 Send event to peer pad of blocked pad (else it will block).
11619 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11621 * libs/gst/check/gstcheck.c: (gst_check_message_error),
11622 (gst_check_run_suite):
11623 if we get the wrong message, give us the types as string
11624 * plugins/elements/gstfilesrc.c: (gst_file_src_start):
11626 * tests/check/elements/filesrc.c: (GST_START_TEST):
11627 add a test for trying to open a non-existing file
11629 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11631 * tests/check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
11632 add a test for adding self
11634 2006-07-03 Thomas Vander Stichele <thomas at apestaart dot org>
11636 * libs/gst/check/gstcheck.h:
11637 add some assert_ as alias for fail_unless_*
11638 * tests/check/gst/gst.c: (GST_START_TEST), (gst_suite):
11639 increase test coverage
11641 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11644 include lcov.mak for lcov coverage generation
11645 * tools/Makefile.am:
11648 2006-07-02 Edward Hervey <edward@fluendo.com>
11650 * tests/check/elements/.cvsignore:
11653 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11656 don't set CFLAGS and friends for gcov, done from GST_GCOV now
11657 * tests/check/Makefile.am:
11658 clean up gcov files
11660 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11662 * gst/gstcaps.c: (gst_caps_remove_and_get_structure):
11663 remove gst_caps_simplify; it was not declared and not used
11664 and deprecated in 0.8
11666 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11668 * docs/faq/gst-uninstalled:
11669 don't put empty paths on PYTHONPATH
11670 * docs/gst/gstreamer-sections.txt:
11671 remove some symbols that are not there
11673 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11675 * gst/gstcaps.c: (gst_caps_compare_structures):
11677 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
11678 * tests/check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
11681 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11683 * libs/gst/dataprotocol/Makefile.am:
11684 build dataprotocol test by linking to the lib, instead of
11685 compiling the source, so we get coverage
11686 * tests/check/Makefile.am:
11687 * tests/check/elements/filesrc.c: (event_func), (setup_filesrc),
11688 (cleanup_filesrc), (GST_START_TEST), (filesrc_suite):
11689 add a test for filesrc
11691 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11693 * tests/check/gst/gststructure.c: (GST_START_TEST),
11694 (gst_structure_suite):
11695 Push coverage from 59.04% to 70.00%
11697 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11699 * tests/check/Makefile.am:
11700 gst-inspect every element; this makes sure that we also get
11701 coverage on element's get/set functions
11703 2006-07-02 Thomas Vander Stichele <thomas at apestaart dot org>
11706 set CFLAGS and friends to -O0 if gcov is being used
11709 * libs/gst/base/Makefile.am:
11710 * libs/gst/check/Makefile.am:
11711 * libs/gst/controller/Makefile.am:
11712 * libs/gst/dataprotocol/Makefile.am:
11713 * libs/gst/net/Makefile.am:
11714 * plugins/elements/Makefile.am:
11715 * plugins/indexers/Makefile.am:
11716 add makefile rules to generate gcov data and clean up
11717 * tests/check/Makefile.am:
11718 add a coverage target that generates an html overview
11721 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11723 * tests/check/elements/fakesink.c:
11724 * tests/check/elements/fakesrc.c:
11725 * tests/check/elements/fdsrc.c:
11726 * tests/check/elements/identity.c:
11727 * tests/check/generic/sinks.c: (gst_sinks_suite):
11728 * tests/check/generic/states.c:
11729 * tests/check/gst/gst.c:
11730 * tests/check/gst/gstabi.c:
11731 * tests/check/gst/gstbin.c:
11732 * tests/check/gst/gstbuffer.c: (gst_buffer_suite):
11733 * tests/check/gst/gstbus.c: (gst_bus_suite):
11734 * tests/check/gst/gstcaps.c: (GST_START_TEST):
11735 * tests/check/gst/gstelement.c:
11736 * tests/check/gst/gstevent.c: (gst_event_suite):
11737 * tests/check/gst/gstghostpad.c:
11738 * tests/check/gst/gstiterator.c: (gst_iterator_suite):
11739 * tests/check/gst/gstmessage.c: (gst_message_suite):
11740 * tests/check/gst/gstminiobject.c:
11741 * tests/check/gst/gstobject.c:
11742 * tests/check/gst/gstpad.c:
11743 * tests/check/gst/gstpipeline.c:
11744 * tests/check/gst/gstplugin.c:
11745 * tests/check/gst/gstquery.c: (gst_query_suite):
11746 * tests/check/gst/gstsegment.c: (gst_segment_suite):
11747 * tests/check/gst/gststructure.c:
11748 * tests/check/gst/gstsystemclock.c:
11749 * tests/check/gst/gsttag.c:
11750 * tests/check/gst/gsttask.c: (gst_task_suite):
11751 * tests/check/gst/gstutils.c:
11752 * tests/check/gst/gstvalue.c:
11753 * tests/check/libs/adapter.c:
11754 * tests/check/libs/basesrc.c:
11755 * tests/check/libs/collectpads.c:
11756 * tests/check/libs/controller.c:
11757 * tests/check/libs/gdp.c: (gst_dp_suite):
11758 * tests/check/libs/gstnetclientclock.c:
11759 * tests/check/libs/gstnettimeprovider.c:
11760 * tests/check/libs/libsabi.c: (libsabi_suite):
11761 * tests/check/libs/typefindhelper.c:
11762 * tests/check/pipelines/cleanup.c:
11763 * tests/check/pipelines/parse-launch.c:
11764 * tests/check/pipelines/simple-launch-lines.c:
11765 * tests/check/pipelines/stress.c: (stress_suite):
11768 2006-07-01 Thomas Vander Stichele <thomas at apestaart dot org>
11770 * libs/gst/check/gstcheck.c: (gst_check_run_suite):
11771 * libs/gst/check/gstcheck.h:
11772 create a macro and function so that the simple unit test
11773 case can be just one macro to create main()
11775 2006-06-30 Tim-Philipp Müller <tim at centricular dot net>
11777 * gst/gstbin.c: (gst_bin_restore_thyself):
11778 * gst/gstxml.c: (gst_xml_make_element):
11779 Fix deserialisation from XML. Set parent manually
11780 instead of using gst_bin_add(), since gst_bin_add()
11781 will unlink all pads of the element being added.
11784 2006-06-28 Tim-Philipp Müller <tim at centricular dot net>
11786 Patch by: Peter Kjellerstedt <pkj at axis com>
11788 * gst/gst.c: (prepare_for_load_plugin_func), (split_and_iterate):
11789 Fix missing g_strdup() and double free when using the
11790 --gst-plugin-load command line option (#346097).
11792 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11795 Promote GST_DEBUG_CATEGORY_STATIC in example in docs.
11797 * libs/gst/net/gstnetclientclock.c:
11798 * libs/gst/net/gstnettimeprovider.c:
11799 Use GST_DEBUG_CATEGORY_STATIC here too (#342503).
11801 2006-06-23 Tim-Philipp Müller <tim at centricular dot net>
11803 * docs/manual/advanced-dataaccess.xml:
11804 Fix buffer probe example compilation in
11807 2006-06-22 Edward Hervey <edward@fluendo.com>
11809 * gst/gstelement.c: (gst_element_pads_activate):
11810 We need to deactivate src pads first and then sink pads.
11811 The reason is the src pads might be blocking while holding the streaming
11812 lock, so we need to deactivate them first so that deactivating the sink
11813 pads doesn't block (since it will require the streaming lock).
11815 2006-06-22 Wim Taymans <wim@fluendo.com>
11817 * libs/gst/base/gstbasetransform.c:
11818 (gst_base_transform_buffer_alloc):
11819 Forgot to remove two unneeded unrefs.
11820 Simplify a check _is_equal allready checks the obvious case.
11822 2006-06-22 Wim Taymans <wim@fluendo.com>
11824 * docs/design/part-block.txt:
11825 Some docs about what pad_block should do.
11827 2006-06-22 Wim Taymans <wim@fluendo.com>
11829 * gst/gstcaps.c: (gst_caps_replace):
11830 Fix crasher when passed NULL. Doc clarification.
11831 Optimize for the trivial case.
11833 * gst/gstpipeline.c: (gst_pipeline_change_state):
11836 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
11837 Small documentation cleanup.
11839 * libs/gst/base/gstbasetransform.c:
11840 (gst_base_transform_buffer_alloc):
11841 Don't use silly gst_pad_get_negotiated_caps, GST_PAD_CAPS
11842 is what we need and it avoids a whole lot of redundant
11843 refcount operations.
11845 2006-06-22 Tim-Philipp Müller <tim at centricular dot net>
11847 Patch by: Philip Jägenstedt <philip at lysator liu se>
11849 * docs/manual/advanced-dataaccess.xml:
11850 Fix 'Embedding static elements' section to use
11851 GST_PLUGIN_DEFINE_STATIC (#345607).
11853 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11855 * tests/check/pipelines/simple-launch-lines.c: (test_stop_from_app):
11856 Attempt to 'fix' spuriously failing test case: it seems like the
11857 timeout of half a second is simply too small when the system is under
11858 load otherwise, and the timeout doesn't really seem to serve any
11859 particular purpose here. Give the pipeline a few seconds to preroll
11860 first, and then give it another half a second to go from PAUSED to
11861 PLAYING and marshal the message into the main thread.
11863 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11865 * tools/gst-feedback-m.m:
11866 Don't only use unversioned tools, try versioned tools as well
11869 2006-06-21 Tim-Philipp Müller <tim at centricular dot net>
11871 * gst/gstbus.c: (gst_bus_class_init):
11872 Fix some typos, make docs more explicit.
11874 2006-06-20 Wim Taymans <wim@fluendo.com>
11876 * tests/check/gst/gstghostpad.c: (block_callback),
11877 (GST_START_TEST), (gst_ghost_pad_suite):
11878 Added some more ghostpad tests, mainly blocking
11881 2006-06-16 Wim Taymans <wim@fluendo.com>
11883 * plugins/elements/gstfilesink.c: (gst_file_sink_open_file),
11884 (gst_file_sink_close_file), (gst_file_sink_do_seek),
11885 (gst_file_sink_event), (gst_file_sink_render):
11886 * plugins/elements/gstfilesink.h:
11887 Check if we can seek in the file instead of assuming
11888 we always can. Post an error when we are asked to seek in a
11889 non-seekable file (like a fifo). Fixes #343312.
11892 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11894 * tools/gst-launch.1.in:
11895 Un-garble (fourcc) bit in filtered caps section.
11897 2006-06-16 Tim-Philipp Müller <tim at centricular dot net>
11899 * docs/manual/advanced-autoplugging.xml:
11900 * docs/manual/basics-helloworld.xml:
11901 * docs/manual/highlevel-components.xml:
11902 Don't leak bus reference in sample code.
11904 2006-06-15 Tim-Philipp Müller <tim at centricular dot net>
11907 Add default for new --enable-plugin-docs switch.
11910 Use new GST_PLUGIN_DOCS macro to check for pyxml etc.
11913 * docs/Makefile.am:
11914 Use new ENABLE_PLUGIN_DOCS conditional.
11916 2006-06-14 Wim Taymans <wim@fluendo.com>
11918 * gst/gstbin.c: (bin_query_duration_done), (gst_bin_query):
11919 Make it clear with a FIXME and a real define what the #if 0
11920 previously disabled.
11922 2006-06-14 Wim Taymans <wim@fluendo.com>
11924 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
11925 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
11926 * libs/gst/base/gstbasetransform.c:
11927 (gst_base_transform_sink_eventfunc):
11928 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
11929 Don't randomly and silently reset a segment when the format
11930 changes as this is a bug somewhere upstream. Fixes #330379.
11932 2006-06-14 Tim-Philipp Müller <tim at centricular dot net>
11934 Patch by: Wouter Paesen <wouter at kangaroot net>
11936 * libs/gst/controller/gstcontroller.c:
11937 (gst_controlled_property_new):
11938 Fix controlling of float properties (#344849).
11940 * tests/check/libs/controller.c:
11941 (gst_test_mono_source_get_property),
11942 (gst_test_mono_source_set_property),
11943 (gst_test_mono_source_class_init), (GST_START_TEST):
11944 While we're at it, add some float stuff to unit test.
11946 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
11949 * docs/images/gdp-header.svg:
11951 * docs/libs/Makefile.am:
11952 * docs/libs/gdp-header.png:
11953 * libs/gst/dataprotocol/dataprotocol.c:
11954 add it to the API docs
11955 * docs/manual/intro-motivation.xml:
11958 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
11960 * gst/gst.c: (scan_and_update_registry), (init_post):
11961 If the fork()'ed child process can't write the updated registry cache
11962 file to disk for some reason, make it exit with a failure exit code,
11963 so that the parent can then re-scan the plugins itself and update the
11964 registry structures in memory and work with that (rather than failing
11965 when creating elements because seemingly no plugins are available).
11966 Refactor registry scanning code into separate function for this and
11967 also separate fork() and non-fork() code paths. Fixes #344748.
11969 2006-06-13 Wim Taymans <wim@fluendo.com>
11971 * docs/manual/advanced-dataaccess.xml:
11972 Fix wrong PluginDesc. Fixes #344755.
11974 2006-06-13 Tim-Philipp Müller <tim at centricular dot net>
11976 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
11977 Fix silly bug that prevented us from creating
11978 ~/.gstreamer-0.10 and writing the registry in one
11979 go (the first call to g_mkstemp() would overwrite the
11980 placeholder in the template string, so the second call
11981 to g_mkstemp() after creating the missing directory
11982 would then error out with 'invalid argument').
11984 2006-06-13 Edward Hervey <edward@fluendo.com>
11986 * gst/gst.c: (init_post):
11989 2006-06-13 Thomas Vander Stichele <thomas at apestaart dot org>
11991 * gst/glib-compat-private.h:
11992 * gst/glib-compat.c:
11993 * gst/glib-compat.h:
11994 * gst/gstvalue.c: (gst_value_serialize_flags):
11995 remove GLib 2.6 compatibility code
11997 2006-06-12 Tim-Philipp Müller <tim at centricular dot net>
11999 * gst/parse/Makefile.am:
12000 Fix build with 'make -j N' even more (#340016).
12002 2006-06-12 Wim Taymans <wim@fluendo.com>
12004 * docs/gst/gstreamer-sections.txt:
12007 2006-06-12 Wim Taymans <wim@fluendo.com>
12009 * gst/gstsegment.c: (gst_segment_set_duration),
12010 (gst_segment_set_last_stop), (gst_segment_set_seek),
12011 (gst_segment_set_newsegment_full), (gst_segment_to_stream_time),
12012 (gst_segment_to_running_time), (gst_segment_clip):
12013 Use G_UNLIKELY to help the compiler a bit.
12015 2006-06-12 Wim Taymans <wim@fluendo.com>
12017 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
12019 * gst/gstevent.c: (gst_event_get_type):
12020 * gst/gstmessage.c:
12021 * gst/gstpad.c: (gst_pad_chain_unchecked), (gst_pad_chain),
12023 constify quark registration strings. Fixes #344115
12024 Avoid unneeded type checking is _pad_push() by internally
12025 calling gst_pad_chain_unchecked().
12027 2006-06-12 Wim Taymans <wim@fluendo.com>
12029 * gst/gstbuffer.c: (gst_buffer_get_type), (gst_buffer_finalize),
12030 (_gst_buffer_copy), (gst_buffer_is_metadata_writable),
12031 (gst_subbuffer_finalize), (gst_buffer_create_sub),
12032 (gst_buffer_is_span_fast), (gst_buffer_span):
12033 Init _type for consistency.
12034 Use _FLAGS macro to avoid type check.
12035 Avoid unneeded type checks in subbufer code.
12037 2006-06-12 Wim Taymans <wim@fluendo.com>
12039 * gst/gst.c: (gst_debug_help):
12040 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_list_free):
12041 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
12042 (gst_plugin_feature_list_free):
12043 * gst/gstregistry.c: (gst_registry_add_plugin),
12044 (gst_registry_add_feature), (gst_registry_plugin_filter),
12045 (gst_registry_feature_filter), (gst_registry_find_plugin),
12046 (gst_registry_find_feature), (gst_registry_get_plugin_list),
12047 (gst_registry_lookup_feature_locked), (gst_registry_lookup_locked):
12048 * gst/gstregistryxml.c: (load_feature),
12049 (gst_registry_xml_read_cache), (gst_registry_xml_write_cache):
12050 * gst/gstminiobject.c: (gst_mini_object_unref),
12051 (gst_mini_object_replace), (gst_value_mini_object_free),
12052 (gst_value_mini_object_copy):
12053 Use _CAST macros to avoid unneeded type checking.
12054 Added some more G_UNLIKELY.
12056 2006-06-12 Wim Taymans <wim@fluendo.com>
12059 Avoid unneeded type checking.
12060 API: GST_BUFFER_IS_DISCONT
12062 * gst/gstminiobject.h:
12063 Avoid type check in flag accessor.
12065 * gst/gstelementfactory.h:
12067 * gst/gstpluginfeature.h:
12069 API: GST_ELEMENT_FACTORY_CAST
12070 API: GST_PLUGIN_CAST
12071 API: GST_PLUGIN_FEATURE_CAST
12073 2006-06-12 Wim Taymans <wim@fluendo.com>
12075 * gst/gstobject.c: (gst_object_get_type), (gst_object_ref),
12076 (gst_object_unref):
12077 Add G_UNLIKELY in type registration.
12078 Avoid type check in _ref/_unref since that is also
12081 2006-06-12 Wim Taymans <wim@fluendo.com>
12083 * gst/gsterror.c: (gst_g_error_get_type):
12084 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
12085 (gst_static_pad_template_get_type):
12086 * gst/gsttaglist.c: (gst_tag_list_get_type):
12087 * gst/gsttagsetter.c: (gst_tag_setter_get_type):
12088 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type):
12089 * gst/gsturi.c: (gst_uri_handler_get_type):
12090 * gst/gstvalue.c: (gst_date_get_type):
12091 * gst/gstxml.c: (gst_xml_get_type):
12092 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_type),
12093 (gst_base_sink_preroll_object), (gst_base_sink_get_position):
12094 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_type):
12095 Add G_UNLIKELY in type registration.
12097 2006-06-12 Wim Taymans <wim@fluendo.com>
12099 * tools/gst-inspect.c: (print_signal_info):
12100 Properly print enum values.
12102 2006-06-12 Wim Taymans <wim@fluendo.com>
12104 * gst/gstinfo.c: (gst_debug_set_active),
12105 (gst_debug_category_set_threshold), (_gst_debug_nameof_funcptr):
12107 Add some G_[UN]LIKELY.
12108 Maintain __gst_debug_min to avoid formatting the arguments of
12109 debug messages that will be dropped anyway to avoid a lot of
12110 overhead from the debugging system.
12112 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12115 * po/POTFILES.skip:
12116 add missing files containing translatable strings, tell intltool about
12119 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12121 * tests/check/libs/.cvsignore:
12122 add test-binary to ignore list
12124 2006-06-11 Stefan Kost <ensonic@users.sf.net>
12126 * docs/libs/gstreamer-libs-docs.sgml:
12127 reorder (put dp into a chapter) and indent
12129 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12134 === release 0.10.8 ===
12136 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12139 releasing 0.10.8, "Soepeke, ik zie ou nog altijd nie"
12141 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12143 * gst/gst.c: (init_post):
12144 move pid declaration to declaration block
12146 2006-06-10 Thomas Vander Stichele <thomas at apestaart dot org>
12148 * gst/gst.c: (init_post):
12149 use _exit() instead of exit() in our forked child; this ensures
12150 that none of the registered exit handlers from whatever is using
12151 GStreamer get executed. This fixes gnome-mixer-applet failing
12152 to load, because ORBit would shut down.
12153 Spotted by: Edward Hervey <edward@fluendo.com>
12154 Fix suggested by: Tim-Philipp Müller <tim at centricular dot net>
12157 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12162 === release 0.10.7 ===
12164 2006-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
12167 releasing 0.10.7, "Soepeke, ik zie ou"
12169 2006-06-07 Thomas Vander Stichele <thomas at apestaart dot org>
12192 * win32/common/config.h:
12193 0.10.6.2 prerelease
12195 2006-06-07 Wim Taymans <wim@fluendo.com>
12197 * gst/gstindex.c: (gst_index_gtype_resolver):
12198 * tools/gst-xmlinspect.c: (print_plugin_info):
12199 Fix leak spotted by coverity checker. Fixes #343827
12200 Fix another other leak found by paolo borelli.
12202 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12204 * libs/gst/dataprotocol/dataprotocol.c:
12205 (gst_dp_header_from_buffer_any), (gst_dp_packet_from_caps_any),
12206 (gst_dp_version_get_type), (gst_dp_init),
12207 (gst_dp_header_from_buffer), (gst_dp_header_from_buffer_1_0),
12208 (gst_dp_packet_from_caps), (gst_dp_packet_from_caps_1_0),
12209 (gst_dp_packet_from_event), (gst_dp_packet_from_event_1_0),
12210 (gst_dp_event_from_packet_0_2), (gst_dp_event_from_packet_1_0),
12211 (gst_dp_event_from_packet), (gst_dp_packetizer_new),
12212 (gst_dp_packetizer_free):
12213 * libs/gst/dataprotocol/dataprotocol.h:
12214 API: add a GstDPPacketizer object, and create/free functions
12215 API: add GstDPVersion enum
12216 Add 1.0 event function that uses the string serialization
12217 Serialize more useful buffer flags
12220 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12222 * tests/check/Makefile.am:
12223 * tests/check/gst/gstabi.c:
12224 * tests/check/gst/struct_ppc64.h:
12225 * tests/check/libs/libsabi.c:
12226 * tests/check/libs/struct_ppc64.h:
12227 add ppc64 structure sizes
12229 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12231 * tests/check/Makefile.am:
12232 * tests/check/gst/gstabi.c:
12233 * tests/check/gst/struct_x86_64.h:
12234 * tests/check/libs/libsabi.c:
12235 * tests/check/libs/struct_x86_64.h:
12236 generate and add structure size lists for x86_64
12238 2006-06-06 Thomas Vander Stichele <thomas at apestaart dot org>
12240 * libs/gst/check/gstcheck.c: (gst_check_abi_list):
12241 * libs/gst/check/gstcheck.h:
12242 factor out the method from tests that checks size of structures,
12243 and add code to generate the header containing these sizes
12244 * tests/check/gst/gstabi.c: (GST_START_TEST):
12245 * tests/check/gst/struct_i386.h:
12246 * tests/check/libs/libsabi.c: (GST_START_TEST):
12247 * tests/check/libs/struct_i386.h:
12250 2006-06-06 Michael Smith <msmith@fluendo.com>
12252 * gst/gstsegment.h:
12253 Don't use c++-style comments, fixes #343929
12255 2006-06-05 Edward Hervey <edward@fluendo.com>
12258 plugin_paths is not used if we build without registry support.
12260 * gst/gstsegment.c: (gst_segment_copy):
12261 _copy() was always returning NULL...
12263 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12265 * libs/gst/dataprotocol/dataprotocol.c:
12266 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12267 (gst_dp_packet_from_event):
12268 factor out CRC code
12270 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12272 * libs/gst/check/gstcheck.c: (gst_check_teardown_src_pad):
12273 make sure we unset caps
12275 2006-06-02 Michael Smith <msmith@fluendo.com>
12277 * libs/gst/check/gstcheck.c: (gst_check_init),
12278 (gst_check_chain_func):
12279 * libs/gst/check/gstcheck.h:
12280 Add a cond/mutex to the check support lib, signal this whenever we
12281 add to the buffers list. This will allow tests to not busy-wait on
12284 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12286 * libs/gst/dataprotocol/dataprotocol.c:
12287 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
12288 (gst_dp_packet_from_event):
12289 factor out some common header init code
12291 2006-06-02 Thomas Vander Stichele <thomas at apestaart dot org>
12293 * docs/libs/gstreamer-libs-sections.txt:
12294 * docs/libs/tmpl/gstdataprotocol.sgml:
12295 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc):
12296 * libs/gst/dataprotocol/dataprotocol.h:
12297 API: make gst_dp_crc() public
12299 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12301 * plugins/indexers/gstindexers.c: (plugin_init):
12302 conditionally register fileindexer (fixes #343598)
12304 2006-06-01 Stefan Kost <ensonic@users.sf.net>
12306 * gst/gsttagsetter.h:
12307 Can't cast ifaces to a class
12309 * libs/gst/net/gstnetclientclock.h:
12310 * libs/gst/net/gstnettimeprovider.h:
12311 * plugins/elements/gstfakesink.h:
12312 * plugins/elements/gstfakesrc.h:
12313 * plugins/elements/gstfdsink.h:
12314 * plugins/elements/gstfdsrc.h:
12315 * plugins/elements/gstfilesink.h:
12316 * plugins/elements/gstfilesrc.h:
12317 * plugins/elements/gstidentity.h:
12318 * plugins/elements/gstqueue.h:
12319 * plugins/elements/gsttee.h:
12320 * plugins/indexers/gstfileindex.c:
12321 * plugins/indexers/gstmemindex.c:
12322 * tests/old/examples/plugins/example.h:
12323 Fix more gobject macros: obj<->klass, GstXXX<->GstXXXClass
12325 2006-06-01 Thomas Vander Stichele <thomas at apestaart dot org>
12327 * libs/gst/dataprotocol/dataprotocol.c:
12328 (gst_dp_header_from_buffer):
12329 make sure we zero the whole ABI-compatible area
12331 2006-06-01 Wim Taymans <wim@fluendo.com>
12333 Patch by: Alessandro Decina <alessandro at nnva dot org>
12335 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop):
12336 Make sure the EOS flag is cleared from pads after a flush
12337 or stop. Fixes #343538.
12339 * tests/check/libs/collectpads.c: (GST_START_TEST),
12340 (gst_collect_pads_suite):
12341 Added test for collectpads reusage after EOS.
12343 2006-05-30 Sebastien Moutte <sebastien@moutte.net>
12346 set #include <sys/wait.h> in a #ifdef #ifdef HAVE_FORK
12347 * win32/common/libgstbase.def:
12348 export gst_collect_pads_set_flushing
12349 * win32/common/libgstreamer.def:
12350 export gst_pad_set_acceptcaps_function, gst_structure_empty_new,
12351 gst_value_fraction_multiply
12352 * win32/vs6/gst_inspect.dsp:
12353 add a link to intl.lib
12355 2006-05-30 Wim Taymans <wim@fluendo.com>
12357 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12358 (gst_collect_pads_chain):
12359 Handle the case where a pad is removed from the collection
12360 that could cause the other pads to become collectable.
12362 2006-05-30 Wim Taymans <wim@fluendo.com>
12364 * gst/gstelement.c:
12365 Clarify the use of _release_request_pad() and
12366 _get_request_pad() a bit better.
12368 * libs/gst/base/gstadapter.c: (gst_adapter_peek),
12369 (gst_adapter_take_buffer):
12370 Fix some doc and comment typos.
12372 2006-05-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
12374 * docs/gst/gstreamer-sections.txt:
12375 * docs/libs/gstreamer-libs-sections.txt:
12376 add declared symbols
12378 2006-05-30 Jan Schmidt <thaytan@mad.scientist.com>
12380 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
12381 Add debug that can be enabled using a #define at the top of the file,
12382 for dumping stats about how late/early we were when waking up from
12383 waiting on the clock.
12385 2006-05-30 Wim Taymans <wim@fluendo.com>
12387 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_check_pads):
12388 When rebuilding the pad list, don't leak the previous list.
12390 2006-05-30 Wim Taymans <wim@fluendo.com>
12392 Patch by: Lutz Mueller <lutz at topfrose dot de>
12394 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
12395 (gst_base_src_get_query_types), (gst_base_src_update_length):
12396 Publish supported query types.
12397 Update last_stop field in get_range mode so the position
12398 query works. Fixes #342321.
12400 2006-05-30 Tim-Philipp Müller <tim at centricular dot net>
12402 * docs/gst/gstreamer-sections.txt:
12403 * gst/gsttaglist.c: (_gst_tag_initialize):
12404 * gst/gsttaglist.h:
12405 API: add GST_TAG_PREVIEW_IMAGE (#343341).
12407 2006-05-30 Wim Taymans <wim@fluendo.com>
12409 Patch by: Alessandro Decina <alessandro at nnva dot org>
12411 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad):
12412 Unlock mutex when removing an unknown pad.
12415 * tests/check/Makefile.am:
12416 * tests/check/libs/collectpads.c: (collected_cb), (push_buffer),
12417 (push_event), (setup), (teardown), (GST_START_TEST),
12418 (gst_collect_pads_suite), (main):
12419 Added collecpads check, disabled for now as check crashes for
12422 2006-05-29 Wim Taymans <wim@fluendo.com>
12424 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize):
12425 Don't leak pads lists.
12427 2006-05-29 Wim Taymans <wim@fluendo.com>
12429 * docs/libs/gstreamer-libs-sections.txt:
12430 * libs/gst/base/gstcollectpads.c:
12431 (gst_collect_pads_set_flushing_unlocked),
12432 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12433 (gst_collect_pads_stop):
12434 * libs/gst/base/gstcollectpads.h:
12435 API: gst_collect_pads_set_flushing()
12436 Added api to set the pads to flushing, useful for seeking
12437 code in elements using collectpads.
12438 Clear segment when receiving a flush.
12440 2006-05-29 Tim-Philipp Müller <tim at centricular dot net>
12442 * gst/gst.c: (add_path_func), (init_post):
12443 Don't scan registry paths passed via --gst-plugin-path immediately
12444 (will crash, because absolutely nothing is set up and no types are
12445 registered etc.); do this later in init_post(). Fixes #343057.
12447 2006-05-28 Thomas Vander Stichele <thomas at apestaart dot org>
12449 * gst/gst.c: (init_post):
12450 if we have fork, fork while reading/rebuilding the registry
12451 so the parent doesn't take the hit of having all plugins loaded
12452 in memory. Fixes #342777.
12454 Check if we have fork()
12455 * win32/common/config.h.in:
12458 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12460 * plugins/elements/gstelements.c:
12461 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init),
12462 (gst_file_src_init), (gst_file_src_set_property),
12463 (gst_file_src_get_property), (gst_file_src_start):
12464 * plugins/elements/gstfilesrc.h:
12465 API: GstFileSrc::use-mmap
12467 Add a use-mmap property to enable easier testing of all code paths.
12468 Bump rank to PRIMARY, so filesrc is the preferred file reader and used
12469 in the absence of gnomevfssrc. (Closes #340501)
12471 2006-05-26 Zaheer Abbas Merali <zaheerabbas at merali dot org>
12473 * tools/gst-inspect.c:
12474 Add missing include, removes warning of ngettext not being defined on
12477 2006-05-26 Jan Schmidt <thaytan@mad.scientist.com>
12479 * gst/gstvalue.c: (gst_value_deserialize_fraction):
12480 Handle NULL input and output pointers silently as a failed conversion,
12481 rather than g_warnings.
12483 2006-05-25 Wim Taymans <wim@fluendo.com>
12485 * libs/gst/net/gstnetclientclock.c: (gst_net_client_clock_start):
12486 Initialize variable before using. Fixes #342820.
12488 2006-05-24 Tim-Philipp Müller <tim at centricular dot net>
12490 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek):
12491 Fix off-by-one bug that would only allow peeks of N-1 bytes
12492 from the start even if the buffer to typefind on contains
12493 in fact N bytes of data (makes vorbis typefinding from a
12494 vorbis identification header buffer work).
12496 * tests/check/Makefile.am:
12497 * tests/check/libs/.cvsignore:
12498 * tests/check/libs/typefindhelper.c: (GST_START_TEST),
12499 (gst_typefindhelper_suite), (main), (foobar_typefind),
12501 Add very basic unit test for gst_type_find_helper_for_buffer()
12502 that checks for the problem fixed above.
12504 2006-05-24 Thomas Vander Stichele <thomas at apestaart dot org>
12506 * tools/gst-inspect.c: (print_interfaces),
12507 (print_element_properties_info), (print_element_list), (main):
12508 add more translatable strings
12510 2006-05-23 Tim-Philipp Müller <tim at centricular dot net>
12512 Patch by: Julien Moutte <julien at moutte net>
12514 * docs/gst/gstreamer-sections.txt:
12515 Make new GST_FLOW_IS_SUCCESS macro visible in docs.
12517 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init),
12518 (gst_fake_sink_preroll):
12519 * plugins/elements/gstfakesink.h:
12520 API: Add new GstFakeSink::preroll-handoff signal (#337100).
12522 2006-05-23 Wim Taymans <wim@fluendo.com>
12524 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark):
12526 Added _CUSTOM error and success GstFlowReturn that can be
12527 used be elements internally.
12528 Added macro to check for SUCCESS flowreturns.
12529 API: GST_FLOW_CUSTOM_SUCCESS
12530 API: GST_FLOW_CUSTOM_ERROR
12531 API: GST_FLOW_IS_SUCCESS
12533 * tests/check/gst/gstpad.c: (GST_START_TEST), (gst_pad_suite):
12534 Added check for GstFlowReturn sanity.
12536 2006-05-23 Wim Taymans <wim@fluendo.com>
12538 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
12540 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_remove_pad),
12541 (gst_collect_pads_event):
12542 clear/reset segment info in FLUSH_STOP.
12545 2006-05-22 Stefan Kost <ensonic@users.sf.net>
12547 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_stop),
12548 (gst_collect_pads_check_collected):
12549 Flush queued buffer on _stop(), fixes playing again (#342454)
12551 2006-05-22 Thomas Vander Stichele <thomas at apestaart dot org>
12553 * tests/check/gst/gststructure.c: (GST_START_TEST),
12554 (gst_structure_suite):
12555 add a test for a complete structure
12557 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12559 * docs/faq/developing.xml:
12560 * docs/faq/faq.xml:
12561 * docs/faq/troubleshooting.xml:
12562 * docs/faq/using.xml:
12563 Some minor FAQ updates that won't change the fact that
12564 our FAQ is badly structured, full of information hardly
12565 anyone new to GStreamer needs to know and lacking lots
12566 of information people constantly ask for.
12568 2006-05-19 Jan Schmidt <thaytan@mad.scientist.com>
12570 * gst/gstpad.c: (gst_pad_set_caps):
12571 Short-circuit gst_pad_set_caps if setting the existing
12572 caps pointer again, and avoid printing debug and
12573 reffing/unreffing the caps.
12575 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12576 There's actually no need to set the caps before pushing -
12577 the acceptcaps method will handle it anyway.
12579 2006-05-19 Tim-Philipp Müller <tim at centricular dot net>
12581 * docs/gst/gstreamer-sections.txt:
12582 * win32/common/libgstreamer.def:
12583 * gst/gstutils.c: (gst_element_seek_simple):
12585 API: add gst_element_seek_simple() (#342238).
12587 2006-05-18 Edward Hervey <edward@fluendo.com>
12589 * gst/gsttypefind.c: (gst_type_find_get_type):
12590 * gst/gsttypefind.h:
12591 Added GST_TYPE_TYPE_FIND and gst_type_find_get_type() so a GType gets
12592 registered for GstTypeFind pointers. This allows wrapping the structure
12593 in bindings (i.e. gst-python).
12595 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12597 * gst/gsttagsetter.c:
12598 Docs additions and fixes (see #339918).
12600 2006-05-18 Jan Schmidt <thaytan@mad.scientist.com>
12602 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
12603 The caps intersection algorithm can produce multiple copies of the
12604 caps. Until that is fixed, we need to simplify the result to be
12605 sure whether the allowed caps are fixed or not.
12607 * plugins/elements/gstqueue.c: (gst_queue_init),
12608 (gst_queue_bufferalloc), (gst_queue_acceptcaps),
12609 (gst_queue_push_one):
12610 Proxied buffer alloc should not set the caps on the source pad.
12611 When pushing buffers, we always accept the caps change that triggers.
12612 This prevents negotiation errors caused by caps changing mid-stream
12613 and then being refused on our source pad (because upstream is now
12614 refusing those caps).
12616 2006-05-18 Tim-Philipp Müller <tim at centricular dot net>
12618 * tests/examples/helloworld/helloworld.c: (main):
12619 Must plug audioconvert and audioresample between decoder
12622 2006-05-17 Jan Schmidt <thaytan@mad.scientist.com>
12624 * gst/gstregistryxml.c: (read_string), (load_pad_template),
12625 (load_feature), (load_plugin):
12626 Allow empty strings for some of the plugin fields so we don't
12627 drop valid plugin entries that were written out correctly
12630 2006-05-17 Sebastien Moutte <sebastien@moutte.net>
12632 * gst/gstregistryxml.c: (gst_registry_xml_write_cache):
12633 Use g_remove and g_rename instead of remove and rename that don't
12634 handle utf8 characters. rename was failing for users who had specific
12635 characters in their name then the registry was built at each
12637 * win32/vs6/gst_inspect.dsp:
12638 * win32/vs6/gst_launch.dsp:
12639 * win32/vs6/libgstbase.dsp:
12640 * win32/vs6/libgstcoreelements.dsp:
12641 * win32/vs6/libgstreamer.dsp:
12642 Use a debug version of libxml2 (libxml2D.lib,libxml2D.dll) for DEBUG
12643 build of libgstreamer and clean unused libraries in projects link
12646 2006-05-17 Edward Hervey <edward@fluendo.com>
12648 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12649 The queue is not responsible for pushing an EOS when receiving a fatal
12650 flow error. It's up to the real element driving the pipeline to do that.
12652 2006-05-16 Edward Hervey <edward@fluendo.com>
12654 * plugins/elements/gstqueue.c: (gst_queue_push_one):
12655 The queue was posting a non-needed GST_MESSAGE_ERROR when pushing a
12656 buffer returned a fatal error. It should just send an EOS and stop
12658 Upstream elements will then properly receive the GST_FLOW_UNEXPECTED
12659 when pushing buffers on the queue and will be able to handle the event.
12661 2006-05-16 Tim-Philipp Müller <tim at centricular dot net>
12663 * docs/manual/basics-bins.xml:
12664 * docs/manual/basics-init.xml:
12665 Fix typos and minor errors in sample code (#341856).
12667 2006-05-16 Wim Taymans <wim@fluendo.com>
12669 * docs/design/part-qos.txt:
12670 Fix indexes in formulas to make more sense.
12672 2006-05-15 Wim Taymans <wim@fluendo.com>
12674 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
12675 Don't report POSITION based on clock time if sync is
12676 disabled in a sink.
12678 2006-05-15 Tim-Philipp Müller <tim at centricular dot net>
12681 Add cast to make compiler happy - refcount variable was a gint
12682 in GstObject but is a guint in GObject and g_atomic_int_get()
12685 2006-05-15 Thomas Vander Stichele <thomas at apestaart dot org>
12687 * gst/parse/Makefile.am:
12688 chain commands using &&, which also makes parallel make work
12690 2006-05-14 Tim-Philipp Müller <tim at centricular dot net>
12692 * docs/gst/gstreamer-sections.txt:
12695 * gst/gstmessage.h:
12698 === release 0.10.6 ===
12700 2006-05-14 Jan Schmidt <thaytan@mad.scientist.com>
12703 releasing 0.10.6, "Take the cannoli"
12705 2006-05-13 Tim-Philipp Müller <tim at centricular dot net>
12707 * tools/gst-launch.c: (print_tag):
12708 Fix use of uninitialized variable in the hypothetical
12709 case that some broken plugin creates a GST_TAG_IMAGE
12710 tag containing a NULL buffer (#341667).
12712 2006-05-12 Tim-Philipp Müller <tim at centricular dot net>
12714 * tools/gst-launch.c: (print_tag):
12715 Print something more intelligible for image tags when
12716 using the -t switch (#341556).
12718 2006-05-12 Thomas Vander Stichele <thomas at apestaart dot org>
12723 define GST_MAJORMINOR so we have it available in win32/common/config.h
12724 Possibly remove it from our Makefile.am files later
12725 * win32/common/config.h:
12726 * win32/common/config.h.in:
12727 added GST_MAJORMINOR
12728 * win32/common/gstenumtypes.c: (register_gst_resource_error):
12729 * win32/common/gstversion.h:
12732 2006-05-12 Sebastien Moutte <sebastien@moutte.net>
12735 Update win32 files listing.
12736 * win32/common/gstversion.h:
12737 Add GST_MAJORMINOR definition.
12738 * win32/common/libgstreamer.def:
12739 Add new exported functions.
12741 2006-05-12 Michael Smith <msmith@fluendo.com>
12743 * gst/gstplugin.c: (gst_plugin_load_file):
12744 If an so file has no plugin entry point, unload the module.
12746 2006-05-11 Wim Taymans <wim@fluendo.com>
12748 * plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),
12749 (gst_queue_set_property):
12750 Don't forget to signal the _chain or _loop function
12751 when the queue size or thresholds change since that might
12752 cause them to make progres again.
12754 2006-05-11 Stefan Kost <ensonic@users.sf.net>
12756 * gst/gstclock.c: (gst_clock_class_init):
12757 * gst/gstindex.c: (gst_index_class_init):
12758 * gst/gstobject.c: (gst_object_class_init):
12759 * gst/gstpad.c: (gst_pad_class_init):
12760 * gst/gstpipeline.c: (gst_pipeline_class_init):
12761 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
12762 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init):
12763 * libs/gst/base/gstbasetransform.c:
12764 (gst_base_transform_class_init):
12765 * libs/gst/net/gstnetclientclock.c:
12766 (gst_net_client_clock_class_init):
12767 * libs/gst/net/gstnettimeprovider.c:
12768 (gst_net_time_provider_class_init):
12769 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_class_init):
12770 * plugins/elements/gstfakesink.c: (gst_fake_sink_class_init):
12771 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init):
12772 * plugins/elements/gstfdsink.c: (gst_fd_sink_class_init):
12773 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
12774 * plugins/elements/gstfilesink.c: (gst_file_sink_class_init):
12775 * plugins/elements/gstfilesrc.c: (gst_file_src_class_init):
12776 * plugins/elements/gstidentity.c: (gst_identity_class_init):
12777 * plugins/elements/gsttee.c: (gst_tee_class_init):
12778 * tests/old/examples/plugins/example.c: (gst_example_class_init):
12779 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
12780 G_OBJECT_CLASS macro usage batch cleanup, fixes #337747 for core
12782 2006-05-11 Wim Taymans <wim@fluendo.com>
12784 * gst/gstbuffer.c: (_gst_buffer_initialize):
12785 Register subbufer along with the buffer type so that
12786 it does not accidentally gets registered from N
12787 different streaming threads in a non threadsafe way.
12789 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12793 * gst/gstmessage.h:
12794 Make gtk-doc generate docs for our inlined gst_buffer_ref(),
12795 gst_event_ref() and gst_message_ref() functions again
12796 (ugly hack, please do fix if there's a better way besides
12797 overrides.txt, which doesn't seem to work).
12799 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12801 * libs/gst/check/gstcheck.h:
12802 add an assert for setting state to avoid lots of repetitive code
12805 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12807 * gst/gstvalue.c: (gst_value_serialize_flags):
12808 fix a leak if no flags are set
12809 * tests/check/gst/gstvalue.c: (GST_START_TEST):
12812 2006-05-10 Tim-Philipp Müller <tim at centricular dot net>
12814 * docs/manual/basics-pads.xml:
12815 Expand a bit on caps and filtered links and update
12816 examples that were still using the no longer existing
12817 gst_pad_link_filtered() (#338206).
12819 2006-05-10 Wim Taymans <wim@fluendo.com>
12821 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
12822 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
12823 (gst_collect_pads_set_flushing), (gst_collect_pads_start),
12824 (gst_collect_pads_stop):
12825 * libs/gst/base/gstcollectpads.h:
12826 No need to call _stop in _finalize.
12827 Iterate the main pad list in _finalize.
12828 Added some more debug.
12829 Free lists and data in the right order.
12830 Also free data whem doing _remove_pad when stopped for
12831 backward compatibility protect ::started with PAD_LOCK as
12834 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12836 * gst/gststructure.c: (gst_structure_gtype_from_abbr),
12837 (gst_structure_parse_value):
12839 rename a method so that it actually says what it does better
12841 2006-05-10 Thomas Vander Stichele <thomas at apestaart dot org>
12843 * gst/gstevent.c: (_gst_event_initialize):
12844 * gst/gstformat.c: (_gst_format_initialize):
12845 make sure some essential types used by events are registered
12846 as part of gst_init()
12847 * gst/gstvalue.c: (gst_value_serialize_flags):
12848 if no flags are set, serialize them to a value that represents NONE
12849 so that deserializing them works
12850 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
12851 add tests for serialization and deserialization of flags
12853 2006-05-10 Wim Taymans <wim@fluendo.com>
12855 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_collect),
12856 (gst_collect_pads_collect_range), (gst_collect_pads_available),
12857 (gst_collect_pads_check_pads), (gst_collect_pads_check_collected),
12858 (gst_collect_pads_event), (gst_collect_pads_chain):
12861 Catch and return errors from the collect function
12862 Refuse data on eos pads.
12864 2006-05-10 Edward Hervey <edward@fluendo.com>
12866 * gst/gstinterface.h:
12867 GST_IMPLEMENTS_INTERFACE and GST_IS_IMPLEMENTS_INTERFACE use the normal
12868 GInterface type checking.
12869 They were previously using non-defined macros.
12871 2006-05-09 Wim Taymans <wim@fluendo.com>
12873 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_init),
12874 (gst_collect_pads_finalize), (gst_collect_pads_add_pad),
12875 (gst_collect_pads_remove_pad), (gst_collect_pads_set_flushing),
12876 (gst_collect_pads_start), (gst_collect_pads_stop),
12877 (gst_collect_pads_peek), (gst_collect_pads_pop),
12878 (gst_collect_pads_available), (gst_collect_pads_read),
12879 (gst_collect_pads_flush), (gst_collect_pads_check_pads),
12880 (gst_collect_pads_is_collected), (gst_collect_pads_event),
12881 (gst_collect_pads_chain):
12882 * libs/gst/base/gstcollectpads.h:
12883 Clean up the mess that is collectpads, add comments and
12884 FIXMEs where needed.
12885 Maintain a separate pad list so we can add pads while
12886 collecting the other ones. For this we need a new separate
12888 Fix memory leak in finalize.
12889 Refactor some weird code to set/unset pad flushing flags, mark
12891 Don't crash in _available, _read, _flush when we're EOS.
12893 * tests/check/libs/.cvsignore:
12894 Ignore adapter check binary.
12896 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12898 * gst/gstindex.c: (gst_index_resolver_get_type):
12899 * plugins/elements/gstfakesink.c:
12900 (gst_fake_sink_state_error_get_type):
12901 * plugins/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
12902 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type):
12903 * plugins/elements/gstqueue.c: (queue_leaky_get_type):
12904 Const-ify GEnumValue arrays.
12906 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12908 * tests/check/gst/gstbuffer.c: (GST_START_TEST):
12909 Add test case for flags + gst_buffer_make_metadata_writable().
12911 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12913 * gst/gstbuffer.c: (gst_buffer_make_metadata_writable):
12914 gst_buffer_make_metadata_writable() should maintain the
12915 buffer flags (those that make sense at least) (see #340859).
12917 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12919 * tools/gst-inspect.c:
12920 * tools/gst-launch.c:
12921 * tools/gst-typefind.c:
12922 * tools/gst-xmlinspect.c:
12924 Fix up includes: need to include stdlib.h in tools.h for exit().
12926 2006-05-09 Tim-Philipp Müller <tim at centricular dot net>
12928 * gst/gsttaglist.c: (_gst_tag_initialize):
12929 * gst/gsttaglist.h:
12930 API: add GST_TAG_IMAGE tag (#340721).
12932 2006-05-08 Wim Taymans <wim@fluendo.com>
12935 Added some docs for the segment query.
12937 2006-05-08 Wim Taymans <wim@fluendo.com>
12939 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
12940 (gst_base_src_loop), (gst_base_src_change_state):
12941 Always push non-flushing serialized events in the streaming
12944 2006-05-08 Thomas Vander Stichele <thomas at apestaart dot org>
12946 * gst/gsterror.c: (_gst_stream_errors_init):
12947 Add a missing error string.
12949 2006-05-08 Jan Schmidt <thaytan@mad.scientist.com>
12951 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment):
12952 Add applied_rate to the debug
12954 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek):
12955 Copy applied_rate into the outgoing NEWSEGMENT event
12957 2006-05-08 Wim Taymans <wim@fluendo.com>
12959 Patch by: Philippe Rouquier <philippero at libertysurf dot fr>
12961 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_flushing),
12962 (gst_base_sink_change_state):
12963 call ::unlock before taking the PREROLL_LOCK so we can safely
12964 handle elements that lock in ::render.
12967 2006-05-08 Edward Hervey <edward@fluendo.com>
12969 * autogen.sh: (CONFIGURE_DEF_OPT):
12970 Darwin's libtoolize is in fact called glibtoolize.
12971 Adding glibtoolize to the list of accepted names for libtoolize.
12973 2006-05-08 Wim Taymans <wim@fluendo.com>
12975 * libs/gst/base/gstbasesrc.c: (gst_base_src_loop):
12976 Unify error handling, don't post an error message
12977 when a push() returns EOS but perform our normal EOS
12978 handling code. Fixes #340772.
12980 2006-05-08 Wim Taymans <wim@fluendo.com>
12982 * docs/design/part-overview.txt:
12983 Make upsteam/downstream concepts more clear.
12984 Give an example of serialized/non-serialized events.
12986 * docs/design/part-events.txt:
12987 * docs/design/part-streams.txt:
12988 Mention applied_rate.
12990 * docs/design/part-trickmodes.txt:
12991 Mention applied rate, flesh out some more use cases.
12993 * gst/gstevent.c: (gst_event_new_new_segment),
12994 (gst_event_parse_new_segment), (gst_event_new_new_segment_full),
12995 (gst_event_parse_new_segment_full), (gst_event_new_tag),
12996 (gst_event_parse_tag), (gst_event_new_buffer_size),
12997 (gst_event_parse_buffer_size), (gst_event_new_qos),
12998 (gst_event_parse_qos), (gst_event_parse_seek),
12999 (gst_event_new_navigation):
13001 Add applied_rate field to NEWSEGMENT event.
13002 API: gst_event_new_new_segment_full()
13003 API: gst_event_parse_new_segment_full()
13005 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_seek),
13006 (gst_segment_set_newsegment), (gst_segment_set_newsegment_full),
13007 (gst_segment_to_stream_time), (gst_segment_to_running_time):
13008 * gst/gstsegment.h:
13009 Add applied_rate to GstSegment structure.
13010 Make calculation of stream_time and running_time more correct
13011 wrt rate/applied_rate.
13012 Add some more docs.
13013 API: GstSegment::applied_rate field
13014 API: gst_segment_set_newsegment_full();
13016 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
13017 (gst_base_sink_get_sync_times), (gst_base_sink_get_position):
13018 * libs/gst/base/gstbasetransform.c:
13019 (gst_base_transform_sink_eventfunc),
13020 (gst_base_transform_handle_buffer):
13021 Parse and use applied_rate in the GstSegment field.
13023 * tests/check/gst/gstevent.c: (GST_START_TEST):
13024 Add check for applied_rate field.
13026 * tests/check/gst/gstsegment.c: (GST_START_TEST),
13027 (gstsegments_suite):
13028 Add more checks for various GstSegment operations.
13030 2006-05-08 Wim Taymans <wim@fluendo.com>
13032 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13033 (gst_base_sink_do_sync), (gst_base_sink_chain_unlocked),
13034 (gst_base_sink_get_position), (gst_base_sink_change_state):
13035 Store the sync time of the buffer end position separatly in a
13036 new variable eos_rtime so we can properly sync the EOS event.
13038 Fix the docs for gst_base_sink_set_qos_enabled().
13039 Don't set segment start to invalid value when we receive a
13040 non TIME newsegment.
13041 get closer to handling position reporting for negative rates
13044 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13047 Docs about how to print caps for debug purposes.
13049 * gst/gstpadtemplate.c: (gst_static_pad_template_get):
13050 use gst_caps_make_writable instead of gst_caps_copy, Fixes #340608
13052 2006-05-07 Stefan Kost <ensonic@users.sf.net>
13054 * gst/gstelement.c:
13055 use full enum names and preprend a '%' in docs strings to make recent
13056 gtk-doc turn that into a link
13058 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13060 * docs/manual/basics-bins.xml:
13061 * docs/manual/basics-bus.xml:
13062 * docs/manual/basics-pads.xml:
13063 Some typo fixes, some additions, some clarifications.
13065 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13067 * tools/gst-inspect.c: (main):
13068 * tools/gst-launch.c: (main):
13069 * tools/gst-run.c: (main):
13070 * tools/gst-typefind.c: (main):
13071 * tools/gst-xmlinspect.c: (main):
13072 Use the string passed to g_option_context_new() for
13073 what it's intended for - the program name is already
13076 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13078 * tools/Makefile.am:
13079 * tools/gst-inspect.c: (main):
13080 * tools/gst-launch.c: (main):
13081 * tools/gst-xmlinspect.c: (main):
13083 Add back --version command line option (#340460).
13085 * tools/gst-typefind.c: (have_type_handler), (typefind_file), (main):
13086 Add --version option and use GOption for argument parsing; refactor a
13087 bit; accept directories as arguments and recurse into them; lastly,
13088 print a decent error message when things go wrong.
13090 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13092 * docs/manual/basics-bins.xml:
13093 Don't mention GstThread (#340611)
13094 * docs/manual/basics-elements.xml:
13095 Update link to GObject tutorial (#340607)
13097 2006-05-05 Wim Taymans <wim@fluendo.com>
13100 * gst/gstminiobject.c:
13101 Add note about refcounting and miniobject/buffer writeability
13102 to docs. Fixes #340604
13104 * gst/gstelementfactory.h:
13105 Added some explanation about @klass.
13107 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13109 * docs/manual/intro-motivation.xml:
13110 * docs/manual/manual.xml:
13111 Avoid CORBA & Bonobo references (#340598)
13113 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13115 * docs/manual/basics-bus.xml:
13116 * docs/manual/basics-pads.xml:
13117 Fix up some inaccuracies and omissions (#340609)
13119 2006-05-05 Maciej Katafiasz <mathrick@freedesktop.org>
13121 * gst/gstghostpad.c:
13122 Small typo in docs (#340625)
13124 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13126 * gst/parse/Makefile.am:
13127 Make 'make -j' proof (see #340698).
13129 2006-05-05 Tim-Philipp Müller <tim at centricular dot net>
13132 Require GLib-2.8 here as well.
13134 2006-05-05 Wim Taymans <wim@fluendo.com>
13136 * gst/glib-compat.c:
13137 * gst/gst.c: (init_pre):
13138 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
13139 (gst_object_unref), (gst_object_replace), (gst_object_dispose),
13140 (gst_object_dispatch_properties_changed):
13142 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13143 * gst/gststructure.c: (gst_structure_set_valist):
13144 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
13145 Remove pre glib2.8 compatibility, fixes #340508
13147 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13149 * gst/gsttaglist.h:
13150 Mention type of tags in doc blurbs.
13152 2006-05-04 Jan Schmidt <thaytan@mad.scientist.com>
13154 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13155 (gst_pad_configure_src), (gst_pad_push):
13156 Restore acceptcaps checking behaviour now that good plugins have
13159 2006-05-04 Tim-Philipp Müller <tim at centricular dot net>
13161 Patch by: James Andrewartha <trs80 at tartarus uwa edu au>
13168 * gst/gstmessage.c:
13172 * gst/parse/Makefile.am:
13173 * libs/gst/base/gstadapter.c:
13174 * libs/gst/base/gstbasesrc.c:
13175 * libs/gst/base/gstpushsrc.c:
13176 * libs/gst/base/gsttypefindhelper.c:
13177 * plugins/elements/gstfakesrc.c:
13178 * plugins/elements/gstidentity.c:
13179 Make sure gstprivate.h and/or config.h are
13180 always included first, otherwise some of our
13181 defines (like _FILE_OFFSET_BITS) might be
13182 redefined in the system headers. Fixes build
13183 on opensolaris (#340016).
13185 2006-05-04 Wim Taymans <wim@fluendo.com>
13187 * docs/libs/gstreamer-libs-sections.txt:
13188 API: addition: gst_adapter_take_buffer()
13190 * libs/gst/base/gstadapter.c: (gst_adapter_push),
13191 (gst_adapter_peek), (gst_adapter_take), (gst_adapter_take_buffer),
13192 (gst_adapter_available_fast):
13193 * libs/gst/base/gstadapter.h:
13194 Prepare for optimizing the hell out of this hugely inefficient
13196 Added gst_adapter_take_buffer() so we can at least start thinking
13197 about subbuffering and merging.
13198 Added some comments.
13200 * tests/check/Makefile.am:
13201 * tests/check/libs/adapter.c: (GST_START_TEST),
13202 (gst_adapter_suite), (main):
13203 Added GstAdapter check.
13205 2006-05-04 Wim Taymans <wim@fluendo.com>
13207 * docs/design/part-overview.txt:
13208 Fix some typos, add blurb about buffer flags.
13210 2006-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
13212 * docs/libs/gstreamer-libs-sections.txt:
13213 make sure GstBaseTransformClass shows up in the docs
13214 * libs/gst/base/gstbasetransform.c:
13215 * libs/gst/base/gstbasetransform.h:
13216 move docs so gtk-doc picks it up now
13218 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13220 * docs/libs/gstreamer-libs-sections.txt:
13221 add missing symbols to docs
13223 2006-05-02 Stefan Kost <ensonic@users.sf.net>
13225 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13226 back out the newsegment handling change, see #340060 for ongoing
13229 2006-04-30 Tim-Philipp Müller <tim at centricular dot net>
13231 * tools/gst-run.c: (get_candidates), (main):
13232 Fix wrong g_file_test() usage (see glib docs for why it doesn't
13233 work); fix typo in error message. Fixes #340079.
13235 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13237 * common/Makefile.am:
13238 * docs/Makefile.am:
13239 * docs/faq/Makefile.am:
13240 * docs/gst/Makefile.am:
13241 * docs/libs/Makefile.am:
13242 * docs/manual/Makefile.am:
13243 * docs/plugins/Makefile.am:
13244 * docs/pwg/Makefile.am:
13245 * docs/slides/Makefile.am:
13247 * common/upload.mak:
13248 move upload.mak to common
13250 2006-04-29 Thomas Vander Stichele <thomas at apestaart dot org>
13252 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13253 add more asserts on refcounts
13254 do more cleanup at end of tests
13255 fix test leaks showing in FC5
13257 2006-04-29 Stefan Kost <ensonic@users.sf.net>
13259 * plugins/elements/gsttypefindelement.c:
13260 (gst_type_find_element_handle_event):
13261 reverted wrong change and reflowed code to avoid others falling into
13264 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13266 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_event):
13267 fix changelog entry about last collectpads change,
13268 add notes about proper fix
13270 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13273 * gst/gstregistry.c: (gst_registry_scan_path_level),
13274 (gst_registry_scan_path):
13275 * gst/gstregistry.h:
13276 only write out registry if it has changed, fixes #338339
13278 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13281 * gst/gstpipeline.c:
13282 * plugins/elements/gstcapsfilter.c:
13283 * plugins/elements/gstfakesink.c:
13284 * plugins/elements/gstfakesrc.c:
13285 * plugins/elements/gstfdsink.c:
13286 * plugins/elements/gstfdsrc.c:
13287 * plugins/elements/gstfilesink.c:
13288 * plugins/elements/gstfilesrc.c:
13289 * plugins/elements/gstidentity.c:
13290 * plugins/elements/gstqueue.c:
13291 * plugins/elements/gsttee.c:
13292 * plugins/elements/gsttypefindelement.c:
13293 (gst_type_find_element_handle_event):
13294 make GstElementDetails const
13296 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13298 * libs/gst/base/gstbasesink.c: (gst_base_sink_event):
13299 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
13300 (gst_collect_pads_is_collected), (gst_collect_pads_event):
13301 more detailed debug and formatting cleanup,
13302 forward newsegments to src-pad (so that e.g. adder not eats them)
13304 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13306 * gst/gstutils.c: (gst_element_link_pads):
13307 cleanup double code
13309 2006-04-28 Stefan Kost <ensonic@users.sf.net>
13311 * libs/gst/controller/gstcontroller.c:
13312 (gst_controller_sync_values):
13314 * tests/check/libs/controller.c: (GST_START_TEST),
13315 (gst_controller_suite):
13316 a new test for live value handling
13318 2006-04-28 Wim Taymans <wim@fluendo.com>
13320 * gst/gstutils.c: (push_and_ref):
13321 Added some more docs.
13322 Fix refcount issue whith gst_element_found_tags() helper
13323 function. Fixes #338335
13325 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
13326 Added testsuite for gst_element_found_tags().
13328 2006-04-28 Michael Smith <msmith@fluendo.com>
13330 * gst/gstvalue.c: (gst_value_serialize_flags):
13331 Avoid NULL dereference when trying to serialize flags containing
13334 2006-04-28 Michael Smith <msmith@fluendo.com>
13336 * plugins/elements/gsttypefindelement.c:
13337 (gst_type_find_element_handle_event):
13338 If we get EOS before any data is accumulated, don't use
13339 uninitialised local variables.
13341 2006-04-28 Michael Smith <msmith@fluendo.com>
13343 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
13344 (gst_dp_event_from_packet):
13345 Fixes in reading/writing events over GDP (not currently used?) -
13346 dereferencing NULL events for unknown/invalid event types, memory
13347 leak, and change g_warning to GST_WARNING.
13349 2006-04-28 Wim Taymans <wim@fluendo.com>
13351 * libs/gst/base/gstbasesink.c: (gst_base_sink_is_too_late),
13352 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13353 (gst_base_sink_get_position), (gst_base_sink_change_state):
13354 When frame dropping is enabled, we should not ignore frames
13355 without a duration.
13356 Update some documentation.
13358 2006-04-28 Wim Taymans <wim@fluendo.com>
13360 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
13361 (gst_base_src_send_event), (gst_base_src_change_state):
13362 Documentation updates.
13364 2006-04-28 Wim Taymans <wim@fluendo.com>
13366 * plugins/elements/gstfdsink.c: (gst_fd_sink_render),
13367 (gst_fd_sink_check_fd), (gst_fd_sink_update_fd):
13368 handle EAGAIN, EINTR and short writes correctly. Also clean
13369 up some error cases, avoid a deadlock on bad file descriptors and
13370 use GST_DEBUG_OBJECT.
13373 2006-04-28 Wim Taymans <wim@fluendo.com>
13375 * gst/gstvalue.c: (gst_value_serialize_buffer),
13376 (gst_value_deserialize_buffer):
13377 Don't try to serialize a GValue with a NULL buffer.
13380 * tests/check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
13381 Added check for serialisation of NULL buffers.
13383 2006-04-28 Wim Taymans <wim@fluendo.com>
13385 * gst/gstminiobject.c: (gst_value_take_mini_object):
13386 Taking a NULL miniobject is valid, fix the case where
13387 we try to unref the NULL miniobject.
13389 2006-04-28 Wim Taymans <wim@fluendo.com>
13391 Patch by: Stefan Kost <ensonic at sonicpulse dot de>
13393 * gst/gstbin.c: (gst_bin_handle_message_func):
13395 Don't leak bin refcount when a state recalc is
13396 in progress and we delay another one #339808.
13398 2006-04-28 Wim Taymans <wim@fluendo.com>
13400 * docs/design/part-TODO.txt:
13401 Mention QoS as an ongoing work item.
13403 * docs/design/part-buffering.txt:
13404 New doc about buffering that needs to be fleshed out
13407 * docs/design/part-qos.txt:
13408 More QoS policy for decoders/demuxers/transforms
13410 * docs/design/part-trickmodes.txt:
13413 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13418 === release 0.10.5 ===
13420 2006-04-28 Thomas Vander Stichele <thomas at apestaart dot org>
13423 releasing 0.10.5, "Fogo"
13425 2006-04-22 Thomas Vander Stichele <thomas at apestaart dot org>
13427 patch by: Wim Taymans
13429 * gst/gstpad.c: (gst_pad_init), (gst_pad_configure_sink),
13430 (gst_pad_configure_src), (gst_pad_push):
13431 * gst/gstpipeline.c: (gst_pipeline_init):
13432 Fix internal data flow errors. Fixes #338711.
13434 2006-04-12 Wim Taymans <wim@fluendo.com>
13436 * tests/check/gst/gstelement.c: (GST_START_TEST):
13437 Don't leak the factory.
13439 2006-04-12 Thomas Vander Stichele <thomas at apestaart dot org>
13442 * win32/common/config.h:
13445 2006-04-12 Tim-Philipp Müller <tim at centricular dot net>
13447 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13448 (gst_controller_unset_all):
13449 Free allocated GstTimedValues when freeing list nodes.
13450 Should fix leaks 'make check-valgrind' complains about.
13452 * win32/common/libgstcontroller.def:
13453 Add gst_controller_unset_all.
13455 2006-04-11 Stefan Kost <ensonic@users.sf.net>
13457 * docs/libs/gstreamer-libs-sections.txt:
13458 * libs/gst/controller/gstcontroller.c: (gst_controller_unset),
13459 (gst_controller_unset_all):
13460 * libs/gst/controller/gstcontroller.h:
13461 API: Added new method gst_controller_unset_all()
13462 fixed gst_controller_unset()
13463 * tests/check/libs/controller.c: (GST_START_TEST),
13464 (gst_controller_suite):
13465 Added two testcases for new and fixed method
13467 2006-04-11 Tim-Philipp Müller <tim at centricular dot net>
13469 * libs/gst/net/gstnettimepacket.c: (gst_net_time_packet_send):
13470 MSG_DONTWAIT is not defined on Cygwin, so work
13471 around that (fixes #317048).
13473 2006-04-11 Wim Taymans <wim@fluendo.com>
13475 * gst/gstelementfactory.c: (gst_element_register),
13476 (gst_element_factory_create), (gst_element_factory_make):
13479 Updated docs (Fixes #131079)
13481 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
13484 * tests/check/gst/gstelement.c: (GST_START_TEST),
13485 (gst_element_suite):
13486 Added testcase for elementfactory class field.
13488 2006-04-10 Wim Taymans <wim@fluendo.com>
13490 * gst/gstsegment.c:
13491 Added some more docs.
13493 * libs/gst/base/gstbasesink.c: (gst_base_sink_perform_qos),
13494 (gst_base_sink_reset_qos):
13495 Calculate more accurate rate values.
13497 2006-04-09 Sebastien Moutte <sebastien@moutte.net>
13499 * gst/gst_private.h:
13500 add a new #ifdef to use __declspec(dllimport) only for
13501 other modules and not for gstreamer core
13502 * gst/gstbasesink.c: (gst_base_sink_perform_qos):
13503 use gst_guint64_to_gdouble for conversion
13504 * win32/common/libgstreamer.def:
13505 add new exported functions
13506 * win32/vs6/gst_inspect.dsp:
13507 * win32/vs6/gst_launch.dsp:
13508 * win32/vs6/libgstbase.dsp:
13509 * win32/vs6/libgstcontroller.dsp:
13510 * win32/vs6/libgstcoreelements.dsp:
13511 * win32/vs6/libgstdataprotocol.dsp:
13512 * win32/vs6/libgstnet.dsp:
13513 update project files
13515 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13517 * gst/gstbuffer.c: (gst_subbuffer_class_init):
13518 * gst/gstclock.c: (gst_clock_class_init):
13519 * gst/gstelement.c: (gst_element_class_init):
13520 * gst/gstindex.c: (gst_index_class_init):
13521 * gst/gstindexfactory.c: (gst_index_factory_class_init):
13522 * gst/gstobject.c: (gst_object_class_init),
13523 (gst_signal_object_class_init):
13524 * gst/gstpad.c: (gst_pad_class_init):
13525 * gst/gstpadtemplate.c: (gst_pad_template_class_init):
13526 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init):
13527 * gst/gstregistry.c: (gst_registry_class_init):
13528 * gst/gstsystemclock.c: (gst_system_clock_class_init):
13529 * gst/gsttask.c: (gst_task_class_init):
13530 * gst/gstxml.c: (gst_xml_class_init):
13531 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
13532 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
13533 (gst_base_src_loop):
13534 * libs/gst/controller/gstcontroller.c:/
13535 (_gst_controller_class_init):
13536 * plugins/elements/gstfdsrc.c: (gst_fd_src_class_init):
13537 * plugins/indexers/gstfileindex.c: (gst_file_index_class_init):
13538 * plugins/indexers/gstmemindex.c: (gst_mem_index_class_init):
13539 * tests/old/examples/plugins/example.c: (gst_example_class_init):
13540 * tests/old/testsuite/threads/signals.c: (gst_test_class_init):
13541 Fix #337365 (g_type_class_ref <-> g_type_class_peek_parent)
13543 2006-04-08 Tim-Philipp Müller <tim at centricular dot net>
13545 * gst/gstpad.c: (gst_pad_link):
13546 Must set peer pads before calling the link function, otherwise
13547 a task started from a link function might get a flow-not-linked
13548 result when trying to push because the other thread where the
13549 linking happens hasn't had a chance to set the peers yet. This
13550 might happen for example when a queue gets linked to a downstream
13551 element, as queue starts a streaming task when its source pad
13552 gets linked. Happens in real life when playing back flac/musepack
13553 files in playbin (#332390).
13555 2006-04-08 Stefan Kost <ensonic@users.sf.net>
13559 * libs/gst/base/gstadapter.h:
13560 * libs/gst/base/gstbasesink.h:
13561 * libs/gst/base/gstbasesrc.h:
13562 * libs/gst/base/gstbasetransform.h:
13563 * libs/gst/base/gstcollectpads.h:
13564 * libs/gst/base/gstpushsrc.h:
13565 Fix broken GObject macros
13567 2006-04-07 Wim Taymans <wim@fluendo.com>
13569 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13570 Initialize start and stop times, thanks valgrind.
13572 2006-04-07 Wim Taymans <wim@fluendo.com>
13574 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
13575 Be a bit nicer to badly behaving upstream elements that expect
13576 us to deal with non TIME segments and timestamps (such as fakesrc
13579 2006-04-07 Wim Taymans <wim@fluendo.com>
13582 Small documentation clarification about the signal watch.
13584 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times),
13585 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13586 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13587 (gst_base_sink_do_render_stats), (gst_base_sink_render_object),
13588 (gst_base_sink_get_position_last),
13589 (gst_base_sink_get_position_paused), (gst_base_sink_change_state):
13590 Convert and store timestamps in stream time and running time, the
13591 raw timestamps are not useful, also document this better.
13592 Use different window sizes for good and bad QoS observations so
13593 we react to badness a little quicker.
13594 Keep track of the amount of rendered and dropped buffers.
13595 Send QoS timestamps in running time.
13597 * libs/gst/base/gstbasetransform.c:
13598 (gst_base_transform_sink_eventfunc),
13599 (gst_base_transform_handle_buffer):
13600 Compare QoS timestamps against running time.
13602 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13605 Typo fixes in docs.
13607 2006-04-06 Michael Smith <msmith@fluendo.com>
13609 * gst/gstpad.c: (gst_pad_set_property):
13610 Use g_value_get_object() instead of g_value_dup_gst_object(),
13611 to avoid double-reffing the pad template (which we then sink,
13612 so this worked previously if (and only if) the pad template
13615 * gst/gstpadtemplate.c: (gst_pad_template_init),
13616 (gst_pad_template_pad_created):
13617 Never return floating references to pad templates, create
13618 them as initially-sunken.
13620 Document an extra function (and make this stop sinking our
13621 pad template, since that is now guaranteed to do nothing,
13622 since we created it sunken).
13624 * gst/gstghostpad.c:
13627 2006-04-06 Tim-Philipp Müller <tim at centricular dot net>
13629 * gst/gstinfo.c: (__gst_in_valgrind):
13632 * plugins/elements/gsttypefindelement.c:
13633 (gst_type_find_element_chain):
13634 Don't leak buffer caps.
13636 2006-04-06 Michael Smith <msmith@fluendo.com>
13638 * gst/parse/grammar.y:
13639 Fix a leak in parse-launch for any source-or-sink named element
13642 * tests/check/pipelines/parse-launch.c: (expected_fail_pipe):
13643 Unref the pipeline if it exists after we've failed parsing.
13645 2006-04-05 Michael Smith <msmith@fluendo.com>
13647 * gst/gstpipeline.c: (gst_pipeline_init):
13648 When we create a pipeline bus, initially create it in flushing mode.
13649 Fixes leaks in at least one test, and makes a new pipeline work the
13650 same as one that has gone to READY and then back to NULL.
13652 * gst/gstelement.c:
13655 2006-04-05 Michael Smith <msmith@fluendo.com>
13657 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
13658 Unref a pad we reffed.
13659 * tests/check/gst/gstutils.c: (GST_START_TEST):
13662 2006-04-05 Michael Smith <msmith@fluendo.com>
13664 * gst/gstquery.c: (gst_query_set_formats),
13665 (gst_query_set_formatsv):
13666 Fix leaking GValues in queries, as shown by valgrind/testsuite.
13668 2006-04-05 Michael Smith <msmith@fluendo.com>
13670 * tests/check/generic/sinks.c: (GST_START_TEST):
13671 Fix a variety of memleaks in sinks check, which are only sometimes
13672 shown by running the tests under valgrind (weird?).
13674 2006-04-05 Jan Schmidt <thaytan@mad.scientist.com>
13676 * docs/version.entities.in:
13677 Fix the substituted entity name after thomas' changes on the
13680 2006-04-05 Zaheer Abbas Merali <zaheerabbas at merali dot org>
13682 * gst/gstinfo.c: (__gst_in_valgrind): Use printf instead of
13685 2006-04-05 Andy Wingo <wingo@pobox.com>
13687 * gst/gstpad.c (gst_pad_set_blocked_async): More debug.
13689 * libs/gst/base/gstbasetransform.c
13690 (gst_base_transform_sink_eventfunc): When resetting our segment on
13691 FLUSH_STOP, also update the flag saying we haven't seen a
13694 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13696 Patch by: Paolo Borelli <pborelli at katamail dot com>
13698 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
13699 (gst_plugin_check_license):
13700 minor clean-ups: G_DEFINE_TYPE already takes care of the
13701 parent_class stuff, no need to do it twice. Mark array of
13702 license strings as constant. (#337103)
13704 2006-04-04 Michael Smith <msmith@fluendo.com>
13706 * tools/gst-inspect.c: (print_element_list):
13707 Free the right plugin list; fixes a memory leak.
13709 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13711 Patch by: Mark Nauwelaerts <manauw at skynet dot be>
13713 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
13714 Don't error out on empty buffers (#336945).
13716 2006-04-04 Jan Schmidt <thaytan@mad.scientist.com>
13718 * docs/libs/gstreamer-libs-sections.txt:
13719 * gst/gsttaglist.c:
13720 * libs/gst/base/gstbasesink.c:
13721 * libs/gst/base/gstbasesink.h:
13722 * libs/gst/base/gstbasesrc.c:
13723 * libs/gst/base/gstbasesrc.h:
13724 Documentation updates. Make BaseSink and BaseSrc docs contain the
13725 class structure so that people can actually see the prototypes for
13726 virtual functions they're supposed to be overriding.
13728 2006-04-04 Tim-Philipp Müller <tim at centricular dot net>
13730 * plugins/elements/gsttypefindelement.c:
13731 (gst_type_find_element_chain):
13732 More debug info; when skipping typefinding, send cached
13733 events in all cases.
13735 2006-04-01 Thomas Vander Stichele <thomas at apestaart dot org>
13738 use new AS_VERSION and AS_NANO macros
13739 * gst/gst-i18n-lib.h:
13742 * gst/gstversion.h.in:
13743 * win32/common/config.h:
13744 * win32/common/config.h.in:
13747 2006-03-31 Michael Smith <msmith@fluendo.com>
13749 * plugins/elements/gsttypefindelement.c:
13750 (gst_type_find_element_chain):
13751 Do not typefind content if the buffers already have caps.
13752 Neccesary for icydemux (#333657), and the right thing to do anyway.
13754 2006-03-30 Wim Taymans <wim@fluendo.com>
13756 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
13757 (gst_base_sink_finalize), (gst_base_sink_set_qos_enabled),
13758 (gst_base_sink_is_qos_enabled), (gst_base_sink_do_sync),
13759 (gst_base_sink_record_qos_observation),
13760 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13761 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13762 (gst_base_sink_change_state):
13763 More QoS measurements as described in the design doc.
13764 Get rid of ringbuffer with observations, running average is
13765 more simple and equally good.
13766 Calculates valid proportion now.
13767 Added beginning of flood measurement.
13769 2006-03-29 Wim Taymans <wim@fluendo.com>
13771 * docs/design/part-qos.txt:
13773 Small documentation updates and additions.
13775 2006-03-29 Wim Taymans <wim@fluendo.com>
13777 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13778 (gst_base_src_send_event), (gst_base_src_loop),
13779 (gst_base_src_change_state):
13780 Perform the EOS logic when we reach the segment stop position.
13781 Fix compilation on gcc4.1
13783 2006-03-29 Wim Taymans <wim@fluendo.com>
13785 Patch by: Tommi Myöhänen <ext-tommi dot myohanen at nokia dot com>
13787 * plugins/elements/gstqueue.c: (gst_queue_init),
13788 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
13789 (gst_queue_set_property):
13790 * plugins/elements/gstqueue.h:
13791 In queue, when EOS is received, if minimum threshold > max_size -
13792 current_level, there is chance that queue blocks forever in conditional
13793 item del wait. This is because the queue is not emptied completely due
13794 to minimum threshold. Here is another approach. Instead of setting
13795 cur_levels to max in EOS, just zero all minimum threshold levels. This
13796 should make sure that queue gives out all data. When going to READY
13797 (stop) state, just reset the original minimum threshold levels.
13800 2006-03-29 Tim-Philipp Müller <tim at centricular dot net>
13802 * plugins/elements/gsttypefindelement.c: (stop_typefinding),
13803 (gst_type_find_element_handle_event),
13804 (gst_type_find_element_send_cached_events),
13805 (gst_type_find_element_change_state):
13806 * plugins/elements/gsttypefindelement.h:
13807 When typefinding is done in push mode, we should cache
13808 events we receive during typefinding instead of just
13809 dropping them (e.g. newsegment, custom events from
13810 dvdreadsrc etc.) and then send them out once we've
13811 determined the type of the stream (and decodebin
13812 has had a chance to plug in a decoder/demuxer).
13814 2006-03-27 Wim Taymans <wim@fluendo.com>
13816 * docs/design/part-qos.txt:
13819 2006-03-27 Wim Taymans <wim@fluendo.com>
13821 Inspired by a patch of: Lutz Mueller <lutz at topfrose dot de>
13823 * libs/gst/base/gstbasesrc.c: (gst_base_src_finalize),
13824 (gst_base_src_send_event), (gst_base_src_change_state):
13825 Handle element seek correctly when we are streaming.
13828 2006-03-24 Michael Smith <msmith@fluendo.com>
13830 * docs/faq/gst-uninstalled:
13831 Set up LD_LIBRARY_PATH to point at all the gstreamer libs. This will
13832 allow you to correctly run intalled applications built against old
13833 core, using plugins that require updated core (e.g. running
13834 installed totem against a full uninstalled gstreamer stack)
13836 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13838 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
13841 2006-03-24 Wim Taymans <wim@fluendo.com>
13843 * docs/gst/gstreamer-sections.txt:
13844 Rearrange the order of the methods so that related methods
13845 are grouped together in sections.
13847 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13849 * gst/gstelement.c:
13850 Little clarification in the docs
13852 2006-03-24 Stefan Kost <ensonic@users.sf.net>
13856 * plugins/elements/gstidentity.c:
13857 * plugins/elements/gstqueue.c:
13858 * plugins/elements/gsttee.c:
13859 * plugins/elements/gsttypefindelement.c:
13860 GST_ELEMENT_DETAILS formatting
13862 2006-03-24 Wim Taymans <wim@fluendo.com>
13864 * libs/gst/base/gstbasesink.h:
13865 Only add fields, not insert or we break ABI.
13867 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13869 * win32/common/libgstbase.def:
13870 * win32/common/libgstreamer.def:
13871 Update, add recently added functions.
13873 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13875 * docs/gst/gstreamer-sections.txt:
13876 * gst/gstutils.c: (gst_pad_query_peer_position),
13877 (gst_pad_query_peer_duration), (gst_pad_query_peer_convert):
13879 API: add some new utility functions:
13880 - gst_pad_query_peer_position()
13881 - gst_pad_query_peer_duration()
13882 - gst_pad_query_peer_convert()
13884 2006-03-23 Wim Taymans <wim@fluendo.com>
13886 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
13887 (gst_base_sink_init), (gst_base_sink_finalize),
13888 (gst_base_sink_set_qos_enabled), (gst_base_sink_is_qos_enabled),
13889 (gst_base_sink_set_property), (gst_base_sink_get_property),
13890 (gst_base_sink_commit_state), (gst_base_sink_get_sync_times),
13891 (gst_base_sink_wait_clock), (gst_base_sink_do_sync),
13892 (gst_base_sink_add_qos_observation), (gst_base_sink_send_qos),
13893 (gst_base_sink_perform_qos), (gst_base_sink_reset_qos),
13894 (gst_base_sink_is_too_late), (gst_base_sink_render_object),
13895 (gst_base_sink_preroll_object), (gst_base_sink_event),
13896 (gst_base_sink_chain_unlocked), (gst_base_sink_get_position_last),
13897 (gst_base_sink_get_position_paused), (gst_base_sink_get_position),
13898 (gst_base_sink_query), (gst_base_sink_change_state):
13899 Decouple max-lateness and the fact that QoS messages are generated
13900 with a new property (qos).
13901 added API: GstBaseSink::async_play()
13902 Add vmethod so subclasses can be notified of ASYNC playing
13904 Collect timestamp start and stop to report better current
13905 position in EOS/PLAYING/PAUSED/READY/NULL.
13906 Refactor QoS/frame dropping and other measurements.
13907 API: GstBaseSrc::qos
13910 * libs/gst/base/gstbasesink.h:
13911 Added Private struct.
13912 API: gst_base_sink_set_qos_enabled()
13913 API: gst_base_sink_is_qos_enabled()
13915 2006-03-23 Tim-Philipp Müller <tim at centricular dot net>
13917 * gst/gstregistryxml.c: (gst_registry_xml_read_cache):
13918 If compiling against GLib-2.8 or newer, try to read the
13919 registry file using GMappedFile first before falling back
13920 to fopen() + fread() (#332151).
13922 2006-03-22 Wim Taymans <wim@fluendo.com>
13924 * gst/gstinfo.c: (gst_debug_set_active),
13925 (gst_debug_category_set_threshold):
13926 Disable debugging unless explicitly activated.
13929 2006-03-22 Wim Taymans <wim@fluendo.com>
13931 * gst/gstelement.c: (gst_element_set_locked_state),
13932 (gst_element_dispose):
13933 Cleanup the error case.
13935 * gst/gstobject.c: (gst_object_dispose):
13936 print a critical when some object was disposed with
13937 a parent, also revive the object since it might
13940 2006-03-22 Tim-Philipp Müller <tim at centricular dot net>
13942 * tools/gst-launch.1.in:
13945 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
13948 * tests/check/Makefile.am:
13949 disable some tests when we don't have a registry
13950 * tests/check/gst/gstutils.c: (gst_utils_suite):
13951 don't build the part that needs parsing
13953 2006-03-21 Thomas Vander Stichele <thomas at apestaart dot org>
13956 * tests/examples/Makefile.am:
13957 fix --disable-parse build
13959 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13961 * tools/gst-feedback.1.in:
13962 Fix typo: s/feeback/feedback/ (#133494).
13964 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13966 * tools/Makefile.am:
13967 * tools/gst-launch.1.in:
13968 Add FILES section and correct entry about GST_REGISTRY_PATH
13969 environment variable (#133495; #133494).
13971 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13973 * tools/Makefile.am:
13974 * tools/gst-md5sum.1.in:
13975 * tools/gst-md5sum.c:
13976 Remove gst-md5sum and man page (the md5sink element
13977 required was removed ages ago)
13979 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
13981 * gst/gststructure.c: (gst_structure_id_set_value):
13982 Make sure that string fields in structures/taglists
13983 contain valid UTF-8 - we don't want to pass rubbish to
13984 applications because of a buggy plugin (cp. #334167).
13986 2006-03-21 Edward Hervey <edward@fluendo.com>
13988 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
13989 (gst_bin_handle_message_func):
13990 * gst/gstclock.c: (gst_clock_dispose), (gst_clock_set_master):
13991 * gst/gstelement.c: (gst_element_set_clock), (gst_element_dispose),
13992 (gst_element_set_bus_func):
13993 * gst/gstghostpad.c: (gst_proxy_pad_dispose):
13994 * gst/gstminiobject.c: (gst_value_set_mini_object),
13995 (gst_value_take_mini_object):
13996 * gst/gstpad.c: (gst_pad_set_pad_template):
13997 * gst/gstpipeline.c: (gst_pipeline_dispose),
13998 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
13999 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop),
14000 (gst_collect_pads_chain):
14001 * libs/gst/net/gstnettimeprovider.c:
14002 (gst_net_time_provider_set_property):
14003 Series of fixes for dereferenced pointers that gcc 4.1 complains about.
14004 It's in fact all issues with gst_*object_replace().
14006 2006-03-21 Tim-Philipp Müller <tim at centricular dot net>
14008 Patch by: Loïc Minier <lool + gnome at via dot ecp dot fr>
14010 * pkgconfig/gstreamer-check-uninstalled.pc.in:
14011 * pkgconfig/gstreamer-check.pc.in:
14012 Use @CHECK_LIBS@ here instead of hard-coding -lcheck (#334109).
14014 2006-03-21 Edward Hervey <edward@fluendo.com>
14018 * gst/gstmessage.h:
14019 gst_[buffer|event|message]_ref() macros are replaced by a static
14020 inline functions because gcc-4.1 will about if the return value
14022 * tests/check/gst/gstevent.c: (event_probe):
14023 gst_event_ref now has to be given a GstEvent* , fix check accordingly.
14025 2006-03-20 Jan Schmidt <thaytan@mad.scientist.com>
14028 Add G_UNLIKELY to our boilerplate to optimise the 'already registered
14029 the type' case. (Closes: #335195 for now). In the future, when we
14030 depend on GLib 2.10, we could also intern the type name using
14031 g_intern_static_string()
14033 2006-03-20 Wim Taymans <wim@fluendo.com>
14035 * gst/gstbin.c: (gst_bin_handle_message_func),
14036 (bin_query_max_init), (bin_query_position_fold),
14037 (bin_query_position_done), (gst_bin_query):
14038 Position query should also take max of all streams.
14040 2006-03-20 Wim Taymans <wim@fluendo.com>
14042 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
14043 (gst_fake_src_finalize):
14044 Fix leaks in fakesrc.
14046 * tests/check/pipelines/parse-launch.c: (GST_START_TEST):
14047 Fix leaks in the testcase.
14049 2006-03-19 Sebastien Moutte <sebastien@moutte.net>
14051 * gst/gst_private.h:
14052 add win32 specific import decoration(__declspec(dllimport))
14053 for all extern GstDebugCategory * variables
14054 * win32/common/libgstbase.def:
14055 * win32/common/libgstcontroller.def:
14056 * win32/common/libgstreamer.def:
14057 Add some exports, remove empty lines
14058 * win32/common/libgstdataprotocol.def:
14059 * win32/common/libgstdataprotocol.dsp:
14060 * win32/common/libgstnet.def:
14061 * win32/common/libgstnet.dsp:
14062 new project files and exportation files added
14064 2006-03-19 Wim Taymans <wim@fluendo.com>
14066 * tests/check/libs/basesrc.c: (eos_event_counter):
14067 Use proper return value for probe.
14069 2006-03-17 Wim Taymans <wim@fluendo.com>
14071 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14073 Don't leak buffers, caps and pads on negotiation errors.
14075 2006-03-16 Stefan Kost <ensonic@users.sf.net>
14077 * docs/faq/cvs.xml:
14078 * docs/faq/dependencies.xml:
14079 * docs/faq/developing.xml:
14080 * docs/faq/faq.xml:
14081 * docs/faq/general.xml:
14082 * docs/faq/getting.xml:
14083 * docs/faq/legal.xml:
14084 * docs/faq/troubleshooting.xml:
14085 * docs/faq/using.xml:
14086 Faq review and update.
14088 2006-03-16 Jan Schmidt <thaytan@mad.scientist.com>
14090 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_alloc_buffer_full),
14092 Don't pound the cpu to pieces by checking get_caps when accept_caps
14093 is called with the same caps as the pad already has.
14094 Use GST_DEBUG_OBJECT when outputting caps change information.
14096 2006-03-15 Wim Taymans <wim@fluendo.com>
14098 * gst/gstclock.c: (gst_clock_class_init):
14101 2006-03-15 Jan Schmidt <thaytan@mad.scientist.com>
14106 * gst/gstpad.c: (gst_pad_init), (gst_pad_acceptcaps_default),
14107 (gst_pad_accept_caps), (gst_pad_configure_sink),
14108 (gst_pad_configure_src), (gst_pad_chain), (gst_pad_push):
14109 Make the default acceptcaps behaviour be to check the requested
14110 caps against the gst_pad_get_caps output.
14112 Ensure that gst_pad_accept_caps is used to check caps when a pad
14113 doesn't have a setcaps function, so that pads automatically refuse
14114 caps that they don't allow in their pad template. (Fixes #332986)
14116 When a buffer with attached caps is pushed, ensure that the source
14117 pad receives those caps even if the element didn't call
14118 gst_pad_set_caps first.
14120 2006-03-15 Wim Taymans <wim@fluendo.com>
14122 * libs/gst/base/gstadapter.c:
14125 2006-03-15 Tim-Philipp Müller <tim at centricular dot net>
14127 * win32/common/libgstbase.def:
14128 * win32/common/libgstcontroller.def:
14129 * win32/common/libgstreamer.def:
14130 Add a whole bunch of missing functions (#334434).
14132 2006-03-14 Wim Taymans <wim@fluendo.com>
14134 * libs/gst/base/gstbasesink.c: (gst_base_sink_configure_segment),
14135 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
14136 (gst_base_sink_do_sync), (gst_base_sink_do_qos):
14137 Better debug info when we receive a segment event.
14138 Reorganize a bit so we can pass the get_times() results around.
14139 Use the segment format when calculating the running time.
14140 Don't do QoS is sync is disabled or we have no clock or the
14141 element does not want us to sync to the clock.
14142 Don't drop buffers if QoS is disabled for now.
14144 2006-03-14 Wim Taymans <wim@fluendo.com>
14146 * gst/gstclock.c: (gst_clock_class_init), (do_linear_regression):
14147 Marked the stats property as unimplemented so people don't get
14149 Add debug message when regression goes wrong.
14150 Added some more docs.
14152 2006-03-14 Wim Taymans <wim@fluendo.com>
14154 * gst/gstsegment.c: (gst_segment_to_stream_time):
14155 Return correct return type in case of errors.
14157 2006-03-14 Wim Taymans <wim@fluendo.com>
14159 * gst/gstformat.c: (gst_format_get_name), (gst_format_to_quark):
14160 Don't segfault on invalid formats.
14162 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14164 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14165 Can't use gst_segment_to_running_time() when the segment
14166 is not in GST_TIME_FORMAT (like with filesink, for example).
14167 Stops flac encoding pipelines from spewing critical warnings
14170 2006-03-14 Tim-Philipp Müller <tim at centricular dot net>
14172 * gst/gstpipeline.c: (gst_pipeline_class_init):
14173 Add 'Since: 0.10.5' to gtk-doc blurb for added property.
14175 * plugins/elements/gsttypefindelement.c:
14176 (gst_type_find_element_handle_event):
14177 Don't try to typefind empty streams.
14179 2006-03-14 Wim Taymans <wim@fluendo.com>
14181 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
14182 (gst_base_sink_do_qos):
14183 Separate QoS calculation.
14184 Only drop buffers when lateness is bigger than the
14185 duration of the buffer.
14187 2006-03-13 Wim Taymans <wim@fluendo.com>
14189 * gst/gstpipeline.c: (gst_pipeline_set_property),
14190 (gst_pipeline_get_property), (do_pipeline_seek),
14191 (gst_pipeline_change_state), (gst_pipeline_set_delay),
14192 (gst_pipeline_get_delay):
14193 Don't deadlock when reading properties.
14195 2006-03-13 Wim Taymans <wim@fluendo.com>
14197 * libs/gst/base/gstbasetransform.c:
14198 (gst_base_transform_class_init), (gst_base_transform_init),
14199 (gst_base_transform_sink_event),
14200 (gst_base_transform_sink_eventfunc),
14201 (gst_base_transform_src_event), (gst_base_transform_src_eventfunc),
14202 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
14203 (gst_base_transform_set_property),
14204 (gst_base_transform_get_property),
14205 (gst_base_transform_change_state), (gst_base_transform_update_qos),
14206 (gst_base_transform_set_qos_enabled),
14207 (gst_base_transform_is_qos_enabled):
14208 * libs/gst/base/gstbasetransform.h:
14209 Make basetransform virtual method for src events too.
14210 Handle QOS in basetransform.
14211 API: gst_base_transform_update_qos()
14212 API: gst_base_transform_set_qos_enabled()
14213 API: gst_base_transform_is_qos_enabled()
14215 2006-03-13 Wim Taymans <wim@fluendo.com>
14217 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
14218 (gst_base_sink_do_sync):
14220 Use QOS debug category.
14222 2006-03-13 Wim Taymans <wim@fluendo.com>
14224 * plugins/elements/gstqueue.c:
14225 Very small doc update.
14227 2006-03-13 Wim Taymans <wim@fluendo.com>
14229 * gst/gst_private.h:
14230 * gst/gstinfo.c: (_gst_debug_init):
14231 Added QOS debug category
14233 2006-03-13 Wim Taymans <wim@fluendo.com>
14235 * docs/gst/gstreamer-sections.txt:
14236 * gst/gstbin.c: (bin_bus_handler), (gst_bin_handle_message_func):
14238 * gst/gstbus.c: (gst_bus_class_init):
14241 * gst/gstelement.c: (gst_element_set_locked_state):
14242 * gst/gstsegment.c:
14243 Documentation updates.
14245 * gst/gstpipeline.c: (gst_pipeline_get_type),
14246 (gst_pipeline_class_init), (gst_pipeline_init),
14247 (gst_pipeline_dispose), (gst_pipeline_set_property),
14248 (gst_pipeline_get_property), (do_pipeline_seek),
14249 (gst_pipeline_send_event), (gst_pipeline_change_state),
14250 (gst_pipeline_provide_clock_func), (gst_pipeline_set_delay),
14251 (gst_pipeline_get_delay):
14252 * gst/gstpipeline.h:
14253 Added methods for setting the delay.
14254 API: gst_pipeline_set_delay()
14255 API: gst_pipeline_get_delay()
14256 Add pipeline debug category
14259 Don't reset stream time when seek failed.
14261 2006-03-13 Wim Taymans <wim@fluendo.com>
14263 * docs/design/draft-klass.txt:
14264 * docs/design/part-clocks.txt:
14265 * docs/design/part-events.txt:
14266 * docs/design/part-gstbin.txt:
14267 * docs/design/part-gstpipeline.txt:
14268 * docs/design/part-messages.txt:
14269 * docs/design/part-negotiation.txt:
14270 * docs/design/part-overview.txt:
14271 * docs/design/part-preroll.txt:
14272 * docs/design/part-seeking.txt:
14273 * docs/design/part-states.txt:
14274 * docs/design/part-streams.txt:
14275 Documentation updates.
14277 2006-03-12 Julien MOUTTE <julien@moutte.net>
14279 * gst/gsttaglist.c: Fix rubbish docs that are encouraging
14280 us to leak strings...
14282 2006-03-12 Thomas Vander Stichele <thomas at apestaart dot org>
14284 * libs/gst/net/gstnettimeprovider.c:
14286 * win32/common/config.h:
14289 2006-03-12 Tim-Philipp Müller <tim at centricular dot net>
14291 Patch by: Julio M. Merino Vidal <jmmv at netbsd org>
14294 Don't check for libgnomeui (leftover from old examples
14295 that aren't built or disted any longer) (#334303).
14297 2006-03-11 Tim-Philipp Müller <tim at centricular dot net>
14299 * plugins/elements/gstfdsink.c: (gst_fd_sink_render):
14300 * plugins/elements/gstfilesink.c: (gst_file_sink_render):
14301 Emit RESOURCE_NO_SPACE_LEFT error here as well when
14302 there's no space left on the device.
14304 2006-03-10 Tim-Philipp Müller <tim at centricular dot net>
14307 Fix GST_CLOCK_TIME_IS_VALID signedness issues - we need
14308 to cast the input to GstClockTime before comparing with
14309 another GstClockTime value.
14311 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14316 === release 0.10.4 ===
14318 2006-03-10 Thomas Vander Stichele <thomas at apestaart dot org>
14321 releasing 0.10.4, "Light"
14323 2006-03-10 Michael Smith <msmith@fluendo.com>
14325 * libs/gst/dataprotocol/dataprotocol.c:
14326 Fix docs for dataprocotol to not get the return types completely
14327 wrong for a few functions.
14329 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14331 * docs/gst/gstreamer-sections.txt:
14332 * gst/gstpipeline.c: (gst_pipeline_class_init),
14333 (gst_pipeline_init), (gst_pipeline_set_property),
14334 (gst_pipeline_get_property), (gst_pipeline_change_state),
14335 (gst_pipeline_set_auto_flush_bus),
14336 (gst_pipeline_get_auto_flush_bus):
14337 * gst/gstpipeline.h:
14338 Add new API: gst_pipeline_set_auto_flush_bus() and
14339 gst_pipeline_get_auto_flush_bus() to disable automatic
14340 flushing of the pipeline's GstBus when going from READY
14341 to NULL state (#332045).
14343 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14345 * docs/gst/gstreamer-sections.txt:
14346 * gst/gsturi.c: (gst_uri_has_protocol):
14348 Add new API: gst_uri_has_protocol() (#333779).
14350 2006-03-09 Wim Taymans <wim@fluendo.com>
14352 * gst/gstclock.c: (gst_clock_entry_new),
14353 (gst_clock_id_compare_func), (gst_clock_id_wait),
14354 (gst_clock_id_wait_async), (gst_clock_id_unschedule),
14355 (gst_clock_init), (gst_clock_get_internal_time),
14356 (gst_clock_set_master), (do_linear_regression),
14357 (gst_clock_add_observation), (gst_clock_set_property):
14361 Fix a possible segfault when the window-size is made smaller.
14362 Calculate jitter before performing the clock wait. Ideally
14363 the clock implementation should calculate jitter but we need
14364 API breakage for that.
14366 * gst/gstsystemclock.c: (gst_system_clock_init):
14369 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14370 Remove leftover else
14372 * tests/check/gst/gstsystemclock.c: (GST_START_TEST),
14373 (gst_systemclock_suite):
14374 Added check to test GST_CLOCK_DIFF.
14376 2006-03-09 Tim-Philipp Müller <tim at centricular dot net>
14378 * libs/gst/base/gsttypefindhelper.c: (helper_find_get_length),
14379 (gst_type_find_helper_get_range):
14380 If we are provided with the size, we should implement
14381 GstTypeFind::get_length, so that typefind functions who
14382 want to can actually peek at the middle of a file.
14384 2006-03-08 Tim-Philipp Müller <tim at centricular dot net>
14386 * docs/manual/advanced-dataaccess.xml:
14387 Add some very very basic error checking.
14389 * docs/pwg/appendix-checklist.xml:
14390 Some updates to the list of things to check when writing an element.
14392 2006-03-08 Wim Taymans <wim@fluendo.com>
14394 * docs/design/part-element-transform.txt:
14395 Added some docs about the design of tranform elements.
14397 * libs/gst/base/gstbasesrc.c: (gst_base_src_perform_seek),
14398 (gst_base_src_loop), (gst_base_src_change_state):
14399 Mark buffers with the DISCONT flag.
14401 2006-03-08 Michael Smith <msmith@fluendo.com>
14403 * gst/gstregistry.h:
14404 * gst/gstregistryxml.c: (gst_registry_save),
14405 (gst_registry_save_escaped), (gst_registry_xml_save_caps),
14406 (gst_registry_xml_save_pad_template),
14407 (gst_registry_xml_save_feature), (gst_registry_xml_save_plugin),
14408 (gst_registry_xml_write_cache):
14409 Rewrite registry-saving to avoid race conditions and check for
14412 2006-03-08 Wim Taymans <wim@fluendo.com>
14414 * libs/gst/base/gstbasetransform.c:
14415 (gst_base_transform_transform_caps),
14416 (gst_base_transform_transform_size),
14417 (gst_base_transform_prepare_output_buffer),
14418 (gst_base_transform_get_unit_size),
14419 (gst_base_transform_buffer_alloc),
14420 (gst_base_transform_handle_buffer),
14421 (gst_base_transform_change_state):
14422 Cleanups, separate normal flow from errors, add sensible
14424 Don't try to renegotiate when allocating an output buffer.
14425 Also copy DISCONT buffer flag when copying a buffer.
14426 Reset the transform after we finish streaming, not during.
14428 2006-03-08 Wim Taymans <wim@fluendo.com>
14430 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync):
14431 Use last buffer timestamp in qos message.
14433 2006-03-07 Wim Taymans <wim@fluendo.com>
14435 Patch by: Christophe Fergeau
14437 * docs/pwg/advanced-tagging.xml:
14438 * docs/pwg/building-pads.xml:
14441 2006-03-07 Wim Taymans <wim@fluendo.com>
14443 * docs/libs/gstreamer-libs-sections.txt:
14444 Added basesink new methods.
14448 Docs updates. Flesh out the QoS docs.
14450 * libs/gst/base/gstadapter.c:
14451 Small doc clarification about ownership and flushing.
14453 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_sync),
14454 (gst_base_sink_get_sync), (gst_base_sink_set_max_lateness),
14455 (gst_base_sink_get_max_lateness), (gst_base_sink_set_property),
14456 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14457 * libs/gst/base/gstbasesink.h:
14459 Added new methods to allow subclass to control max-lateness
14461 Generate very basic QoS events based on last sync observation.
14462 Updated docs, fix typo, added some QoS blurb.
14464 * libs/gst/base/gstbasesrc.c:
14465 Remove obsolete _get_state() calls from docs.
14467 2006-03-07 Wim Taymans <wim@fluendo.com>
14469 * docs/libs/gstreamer-libs-sections.txt:
14470 * libs/gst/base/gstbasetransform.h:
14471 API addition: Fix #333669, Add pad accessor defines for GstBaseTransform
14472 Fix docs for GstBaseSrc.
14474 2006-03-07 Wim Taymans <wim@fluendo.com>
14476 * docs/gst/gstreamer-sections.txt:
14479 * libs/gst/base/gstbasetransform.h:
14480 Small documentation fixes.
14482 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14485 Document thread-unsafety of gst_value_register_foo_func()
14486 when used at the same time as gst_value_foo() (#322628).
14488 2006-03-07 Tim-Philipp Müller <tim at centricular dot net>
14490 * libs/gst/base/gstpushsrc.c: (gst_push_src_class_init),
14491 (gst_push_src_check_get_range):
14492 Push sources don't support pull mode by default.
14494 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14496 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14497 (gst_base_src_init), (gst_base_src_pad_check_get_range),
14498 (gst_base_src_default_check_get_range):
14499 * libs/gst/base/gstbasesrc.h:
14500 API addition: Add ::check_get_range() vfunc to GstBaseSrc (#332611),
14501 provide default implementation, and rename
14502 gst_base_src_check_get_range() to
14503 gst_base_src_pad_check_get_range() for clarity.
14505 2006-03-06 Wim Taymans <wim@fluendo.com>
14507 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init):
14508 Make property overridable.
14510 2006-03-06 Wim Taymans <wim@fluendo.com>
14512 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
14513 (gst_base_sink_init), (gst_base_sink_set_property),
14514 (gst_base_sink_get_property), (gst_base_sink_do_sync):
14515 * libs/gst/base/gstbasesink.h:
14516 API addition: Make max-lateness a property.
14518 2006-03-06 Wim Taymans <wim@fluendo.com>
14520 * libs/gst/base/gstbasesink.c: (gst_base_sink_wait_clock),
14521 (gst_base_sink_do_sync), (gst_base_sink_render_object):
14522 Don't ever draw a frame that is >10ms late.
14524 2006-03-06 Michael Smith <msmith@fluendo.com>
14526 * gst/gstmessage.c: (_gst_message_copy):
14527 When copying a message, set the parent_refcount of the enclosed
14528 structure to point at the copy, not the original message.
14530 2006-03-06 Tim-Philipp Müller <tim at centricular dot net>
14532 Patch by: Christophe Fergeau
14535 Do proper cast here to make GST_BOILERPLATE_WITH_INTERFACE
14536 usable in c++ code (#333417)
14538 2006-03-06 Thomas Vander Stichele <thomas at apestaart dot org>
14541 Show GST_CLOCK_TIME_NONE as 99:99:99.999999999
14543 2006-03-05 Tim-Philipp Müller <tim at centricular dot net>
14545 * libs/gst/base/gstbasetransform.c:
14546 (gst_base_transform_transform_caps):
14547 Make sure caps are writable before passing them to
14550 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14553 Fix some minor docs errors.
14555 2006-03-04 Tim-Philipp Müller <tim at centricular dot net>
14557 Patch by: Ross Burton <ross at burtonini dot com>
14559 * gst/gsterror.c: (_gst_resource_errors_init):
14561 Add GST_RESOURCE_ERROR_NO_SPACE_LEFT (for #333352;
14563 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14566 Add a check and output a g_warning when GStreamer is built
14567 against GLib 2.6 but running against 2.8 or higher, and vice
14568 versa. (Closes: #323542)
14570 2006-03-03 Jan Schmidt <thaytan@mad.scientist.com>
14572 * gst/parse/parse.l:
14573 Commit patch for parse_launch syntax from #331255. Removes
14574 support for quoted strings and mimetypes when writing filtered
14575 caps. See the bug report for more details - I'm pretty sure this
14576 obscure feature is not in use by _anyone_ anywhere.
14578 With this simple change, the size of the gstreamer.so here
14579 drops from 2193KB to 1565KB.
14581 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14583 * plugins/elements/gsttypefindelement.h:
14584 * plugins/elements/gsttypefindelement.c:
14585 (gst_type_find_element_src_event), (start_typefinding),
14586 (stop_typefinding), (gst_type_find_element_handle_event),
14587 (gst_type_find_element_chain),
14588 (gst_type_find_element_chain_do_typefinding):
14589 Use gst_type_find_helper_for_buffer() for chain-based
14592 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14594 * plugins/elements/gsttypefindelement.c:
14595 (gst_type_find_element_class_init),
14596 (gst_type_find_element_set_property),
14597 (gst_type_find_element_get_property):
14598 Deprecate "maximum" property (not only was it only taken into
14599 account for typefinding in push-mode anyway, it also was never
14600 actually possible to set it in the first place because the
14601 property was registered with the numeric property ID for the
14602 "minimum" property). Register "maximum" property correctly,
14603 for the sake of future copy'n'pasters. Remove some cruft
14604 from property get/set functions.
14606 2006-03-03 Tim-Philipp Müller <tim at centricular dot net>
14608 * plugins/elements/gsttypefindelement.c:
14609 (gst_type_find_element_activate):
14610 Use gst_type_find_helper_get_range() here, so we
14611 can honour the "minimum" property and also emit
14612 the signal with the correct probability of the found caps.
14614 2006-03-02 Tim-Philipp Müller <tim at centricular dot net>
14616 * docs/libs/gstreamer-libs-sections.txt:
14617 * libs/gst/base/gsttypefindhelper.c: (helper_find_peek),
14618 (helper_find_suggest), (gst_type_find_helper_get_range),
14619 (gst_type_find_helper):
14620 * libs/gst/base/gsttypefindhelper.h:
14621 New API: gst_type_find_helper_get_range() (#333042).
14623 2006-03-02 Michael Smith <msmith@fluendo.com>
14625 * gst/gstregistryxml.c: (load_feature):
14626 Asserting on a failure to read part of the registry is Not Cool.
14627 Just log a warning and return NULL (which is already handled)
14629 2006-02-28 Sebastien Moutte <sebastien@moutte.net>
14631 * win32/common/libgstbase.def:
14632 added export of gst_type_find_helper_for_buffer
14633 * win32/common/libgstbase.def:
14634 added some exports : gst_bin_iterate_elements, gst_iterator_resync,
14635 gst_ghost_pad_get_target
14637 2006-02-28 Wim Taymans <wim@fluendo.com>
14639 * docs/design/draft-klass.txt:
14641 Added Connector to mark elements that are only used to
14642 allow pipeline connections.
14643 Moved Debug to extra feature since most of them are
14644 functionally something else.
14646 2006-02-28 Wim Taymans <wim@fluendo.com>
14648 * docs/design/draft-klass.txt:
14649 Some updates and clarifications.
14651 2006-02-28 Wim Taymans <wim@fluendo.com>
14653 * docs/design/draft-klass.txt:
14654 Proposal for klass field values.
14656 * docs/design/part-streams.txt:
14657 Start of a doc describing stream anatomy.
14659 2006-02-28 Wim Taymans <wim@fluendo.com>
14661 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_handle_message_func):
14662 Help the compiler a bit with type registration.
14663 Use existing forward cod path instead of duplicating it when
14664 handling a message.
14666 * gst/gstbus.c: (gst_bus_get_type):
14667 * gst/gstcaps.c: (gst_caps_get_type), (gst_static_caps_get_type):
14668 * gst/gstchildproxy.c: (gst_child_proxy_get_type):
14669 * gst/gstclock.c: (gst_clock_get_type):
14670 * gst/gstelement.c: (gst_element_get_type),
14671 * gst/gstelementfactory.c: (gst_element_factory_get_type):
14672 * gst/gstindexfactory.c: (gst_index_factory_get_type):
14673 * gst/gstminiobject.c: (gst_mini_object_get_type):
14674 * gst/gstpad.c: (gst_pad_get_type):
14675 * gst/gstsegment.c: (gst_segment_get_type):
14676 * gst/gststructure.c: (gst_structure_get_type):
14677 * gst/gstsystemclock.c: (gst_system_clock_get_type):
14678 * gst/gsttask.c: (gst_task_get_type), (gst_task_join):
14680 Help compiler with type registration.
14682 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event):
14685 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14687 * plugins/elements/gsttypefindelement.c:
14688 (gst_type_find_element_handle_event):
14689 When we get an EOS event and have not found a type yet
14690 (most likely because we had not yet accumulated
14691 TYPE_FIND_MIN_SIZE of data yet), try to determine the
14692 type given the data we have so far. Fixes typefinding
14693 for very short streams again, most notably quicktime
14694 redirections as used on Apple's trailer site (#331701).
14696 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14698 * libs/gst/base/gsttypefindhelper.c: (type_find_factory_rank_cmp),
14699 (gst_type_find_helper):
14700 Try typefinding factories with the highest rank first.
14702 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14704 * docs/libs/gstreamer-libs-docs.sgml:
14705 * docs/libs/gstreamer-libs-sections.txt:
14706 * libs/gst/base/gsttypefindhelper.c:
14707 Add section for typefind helper and add documentation
14708 for the old and the new function.
14710 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14712 * libs/gst/base/gsttypefindhelper.c: (buf_helper_find_peek),
14713 (buf_helper_find_suggest), (type_find_factory_rank_cmp),
14714 (gst_type_find_helper_for_buffer):
14715 * libs/gst/base/gsttypefindhelper.h:
14716 New API: gst_type_find_helper_for_buffer() (#332723).
14718 2006-02-27 Michael Smith <msmith@fluendo.com>
14720 Patch by: Loïc Minier
14723 * docs/Makefile.am:
14724 * docs/slides/Makefile.am:
14725 prevent CVS directories getting disted.
14727 2006-02-27 Tim-Philipp Müller <tim at centricular dot net>
14729 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref):
14730 Use the REFCOUNTING category for caps refcounting.
14732 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14734 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
14735 This should be 0 not GST_CLOCK_TIME_NONE (see #331701).
14737 2006-02-26 Tim-Philipp Müller <tim at centricular dot net>
14739 * plugins/elements/gsttypefindelement.c:
14740 (gst_type_find_element_activate):
14741 Use gst_pad_check_pull_range() before _activate_pull()
14742 to avoid unnecessary open/close (see #331690).
14744 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14747 Docs enhancement: make it crystal clear what the
14748 gst_pad_add_*_probe() callbacks should look like.
14750 2006-02-24 Tim-Philipp Müller <tim at centricular dot net>
14752 * libs/gst/base/gstbasesrc.c:
14753 Document how applications can stop recording from
14754 live sources (see #330996).
14756 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14758 * tests/check/Makefile.am:
14759 * tests/check/libs/basesrc.c: (eos_event_counter),
14760 (basesrc_eos_events_pull), (basesrc_eos_events_push),
14761 (basesrc_eos_events_push_live_op), (basesrc_eos_events_pull_live_op),
14762 (gst_basesrc_suite), (main):
14763 ... and add some tests for the base source EOS stuff.
14765 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14767 * tests/check/gst/gstutils.c: (test_buffer_probe_n_times):
14768 Test case originally showed the problem fixed below,
14769 but was then amended. Add checks back at the place
14770 where they used to be.
14772 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14774 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
14775 (gst_base_src_init), (gst_base_src_loop),
14776 (gst_base_src_activate_push), (gst_base_src_activate_pull),
14777 (gst_base_src_change_state):
14778 * libs/gst/base/gstbasesrc.h:
14779 Don't unconditionally send EOS when going from PAUSED to
14780 READY state, esp. make sure we don't send two EOS events
14781 in some cases (e.g. one when reaching EOS and one when
14782 going from PAUSED to READY). Also, we don't want to send
14783 EOS events when operating in pull mode. However, we do
14784 want to send an EOS event when shutting down a live
14785 source explicitly, for example (fixes #330996).
14787 2006-02-23 Tim-Philipp Müller <tim at centricular dot net>
14789 * plugins/elements/gstfilesrc.c: (gst_file_src_create_read):
14790 Update src->read_position after a seek when not using mmap.
14791 Fixes #332277, patch by: Renchi Raju <renchi gmail com>
14793 2006-02-21 Jan Schmidt <thaytan@mad.scientist.com>
14799 Make things work with --disable-parse as they do with
14800 --disable-load-save - the symbols involved disappear, but the
14801 header is still installed and GST_DISABLE_PARSE is included via
14804 2006-02-20 Julien MOUTTE <julien@moutte.net>
14806 * libs/gst/base/gstbasetransform.c:
14807 (gst_base_transform_change_state): Fix a stupid bug. I was
14808 sure I compiled that.
14810 2006-02-20 Julien MOUTTE <julien@moutte.net>
14812 * gst/gstpad.c: (gst_pad_set_blocked_async):
14813 * gst/gstutils.c: (gst_pad_add_data_probe),
14814 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
14815 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
14816 (gst_pad_remove_buffer_probe): Make those function act on the
14817 ghostpad target when it's a ghostpad. (Closes #331727)
14819 2006-02-20 Julien MOUTTE <julien@moutte.net>
14821 * libs/gst/base/gstbasetransform.c:
14822 (gst_base_transform_change_state): Make basetransform reusable.
14825 2006-02-20 Jan Schmidt <thaytan@mad.scientist.com>
14827 * docs/random/release:
14828 Move the current documentation of how to do a release to the top
14831 * gst/gstbin.c: (gst_bin_class_init),
14832 (gst_bin_handle_message_func):
14833 Allow multiple state-recalculation threads. (Closes #328873)
14835 2006-02-19 Julien MOUTTE <julien@moutte.net>
14837 * gst/gstinfo.h: Add GST_STR_NULL to the second string.
14838 * gst/gstpad.c: (gst_pad_set_event_function),
14839 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14840 (gst_pad_set_getcaps_function): GST_DEBUG_PAD_NAME evaluates to
14841 2 strings. You can't use the STR_NULL macro on that.
14843 2006-02-19 Sebastien Moutte <sebastien@moutte.net>
14845 * gst/gstpad.c: (gst_pad_set_event_function),
14846 (gst_pad_set_query_function), (gst_pad_set_query_type_function),
14847 (gst_pad_set_getcaps_function)
14848 * gst/parse/grammar.y: (gst_parse_found_pad), (gst_parse_perform_delayed_link)
14849 Fixed NULL pointer used in GST_CAT_DEBUG using GST_STR_NULL macro
14850 So now, we can use --gst-debug-level=5 on Windows
14851 * win32/common/libgstcontroller.def:
14852 Added export of gst_controller_init
14853 * win32/vs6/libgstcontroller.dsp:
14854 Fixed Release post build configuration
14856 2006-02-17 Wim Taymans <wim@fluendo.com>
14858 * tests/check/gst/gstquery.c: (GST_START_TEST):
14859 Added another check.
14861 2006-02-15 Tim-Philipp Müller <tim at centricular dot net>
14863 * plugins/elements/gsttypefindelement.c: (find_peek):
14864 We can do peeks at non-zero offsets, as long as they
14865 fall within the buffer we have.
14867 2006-02-15 Jan Schmidt <thaytan@mad.scientist.com>
14869 * tests/check/Makefile.am:
14870 * tests/check/pipelines/parse-launch.c: (setup_pipeline),
14871 (expected_fail_pipe), (check_pipeline_runs), (GST_START_TEST),
14872 (parse_suite), (main):
14873 Add testsuite for parse launch syntax
14875 2006-02-14 Tim-Philipp Müller <tim at centricular dot net>
14877 * plugins/elements/gsttypefindelement.c:
14878 (gst_type_find_element_chain):
14879 When typefinding is unsuccessful in the chain function, don't
14880 error out immediately. Only error out with NO_CAPS_FOUND if
14881 the amount of data is at least MAX_TYPEFIND_SIZE bytes,
14882 otherwise simply wait for more data so we can try typefinding
14883 again with more data later. Also, don't attempt to typefind
14884 if we have less than MIN_TYPEFIND_SIZE data available. Overall,
14885 this should improve typefinding from network sources where the
14886 size of the first buffer can be somewhat random.
14888 2006-02-14 Wim Taymans <wim@fluendo.com>
14890 * docs/gst/gstreamer-sections.txt:
14891 * gst/gstpadtemplate.c:
14892 * gst/gstpadtemplate.h:
14893 Fix padtemplate docs, fixes #328805.
14895 2006-02-14 Wim Taymans <wim@fluendo.com>
14897 * tools/gst-launch.c: (main):
14898 NO_PREROLL is not an ERROR so don't send confusing messages
14901 2006-02-14 Wim Taymans <wim@fluendo.com>
14903 Patch by: Torsten Schoenfeld
14905 * gst/gstregistry.c: (gst_registry_get_default),
14906 (_gst_registry_cleanup):
14907 Protect default registry with lock and ref/sink it.
14910 2006-02-14 Wim Taymans <wim@fluendo.com>
14913 * gst/gstquery.c: (gst_query_list_add_format),
14914 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14915 (gst_query_parse_formats_nth):
14916 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_sync_times):
14919 2006-02-14 Wim Taymans <wim@fluendo.com>
14921 * docs/gst/gstreamer-sections.txt:
14922 Reworked query docs.
14924 * gst/gstquery.c: (gst_query_new_formats),
14925 (gst_query_list_add_format), (gst_query_set_formats),
14926 (gst_query_set_formatsv), (gst_query_parse_formats_length),
14927 (gst_query_parse_formats_nth):
14929 Flesh out formats query, added some new methods.
14930 Fix part of #324398.
14932 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite):
14933 Added query creation tests.
14935 2006-02-14 Jan Schmidt <thaytan@mad.scientist.com>
14937 * gst/gstpad.c: (fixate_value):
14938 Add a default fixation for fraction lists.
14940 2006-02-13 Wim Taymans <wim@fluendo.com>
14942 * gst/gsttask.c: (gst_task_init), (gst_task_func),
14943 (gst_task_set_lock), (gst_task_start), (gst_task_pause),
14946 Detect and warn for obvious deadlocks. fixes #320340
14947 Fix error case where lock was not released.
14949 * tests/check/Makefile.am:
14950 * tests/check/gst/gsttask.c: (task_func2), (GST_START_TEST),
14951 (task_func), (gst_element_suite), (main):
14954 2006-02-13 Wim Taymans <wim@fluendo.com>
14956 * docs/gst/gstreamer-sections.txt:
14958 Add new functions to docs.
14960 2006-02-13 Wim Taymans <wim@fluendo.com>
14962 * docs/design/part-TODO.txt:
14963 Updated TODO list, basesrc supports seeking to non-bytes
14966 * docs/design/part-element-sink.txt:
14969 * gst/gstbin.c: (bin_replace_message),
14970 (gst_bin_handle_message_func):
14971 * gst/gstbus.c: (gst_bus_post), (gst_bus_pop):
14972 * gst/gstevent.c: (gst_event_finalize):
14973 * gst/gstpad.c: (gst_pad_event_default_dispatch),
14974 (gst_pad_send_event):
14975 Use shiny new _TYPE_NAME macros.
14977 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
14978 Move debug statement up.
14980 * gst/gstelement.c: (gst_element_set_locked_state):
14981 Add some debugging.
14983 2006-02-13 Tim-Philipp Müller <tim at centricular dot net>
14985 * docs/gst/gstreamer-sections.txt:
14986 * gst/gstmessage.h:
14988 New API: add GST_MESSAGE_TYPE_NAME and GST_QUERY_TYPE_NAME
14989 macros (#330906). Also, document the already existing
14990 GST_QUERY_TYPE macro.
14992 2006-02-13 Wim Taymans <wim@fluendo.com>
14994 * tests/check/gst/gstutils.c: (data_probe), (buffer_probe),
14995 (event_probe), (GST_START_TEST):
14996 Only events up to the pipeline EOS are counted, there are
14997 some more when going to NULL currently which we don't care
15000 2006-02-13 Wim Taymans <wim@fluendo.com>
15002 * gst/gstpad.c: (gst_pad_send_event):
15003 Correctly check flushing and emit probes. fixes #330125
15005 2006-02-10 Andy Wingo <wingo@pobox.com>
15007 * gst/gstbus.c (gst_bus_class_init): Declare our private data
15009 (gst_bus_init): Cache the location of the private data in the
15010 instance structure.
15011 (gst_bus_enable_sync_message_emission)
15012 (gst_bus_disable_sync_message_emission): Implement new public
15014 (gst_bus_post): Emit the sync-message signal if the user asked for
15017 * gst/gstbus.h (GstBus): Use a padding pointer to cache the
15018 location of the bus-private structure.
15019 (gst_bus_enable_sync_message_emission)
15020 (gst_bus_disable_sync_message_emission): API addition
15022 2006-02-10 Jan Schmidt <thaytan@mad.scientist.com>
15024 Patch by: Vincent Torri
15026 * docs/pwg/building-boiler.xml:
15027 PWG patch from #326800
15029 2006-02-09 Tim-Philipp Müller <tim at centricular dot net>
15032 * docs/Makefile.am:
15033 * docs/design/Makefile.am:
15036 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15041 === release 0.10.3 ===
15043 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15046 releasing 0.10.3, "Like a virgin"
15048 2006-02-08 Jan Schmidt <thaytan@mad.scientist.com>
15051 2nd prerelease of 0.10.3
15052 Bump libtool versioning.
15054 2006-02-07 Andy Wingo <wingo@pobox.com>
15056 * libs/gst/base/gstcollectpads.c (gst_collect_pads_chain): Only
15057 update last_stop if we're in TIME format and the timestamp is
15060 * libs/gst/base/gstcollectpads.c (gst_collect_pads_event)
15061 * libs/gst/base/gstbasetransform.c (gst_base_transform_eventfunc):
15062 * libs/gst/base/gstbasesink.c (gst_base_sink_configure_segment):
15063 If we get a new newsegment with a different format, adapt
15066 * gst/gstclock.c (gst_clock_set_calibration): Accept a numerator
15067 of 0. Not a problem, really.
15069 * libs/gst/base/gstbasesink.c (gst_base_sink_chain_unlocked): Only
15072 2006-02-06 Jan Schmidt <thaytan@mad.scientist.com>
15077 2006-02-06 Sebastien Moutte <sebastien@moutte.net>
15080 project files updated to the default vs7 configuration
15081 * win32/common/libgstbase.def:
15082 * win32/common/libgstreamer.def:
15084 removed empty lines,
15085 sorted all exported symbols alphabetically
15086 * win32/common/dirent.c:
15087 * win32/common/dirent.h:
15088 * win32/common/gchar.h:
15089 use windows line end.
15091 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15093 * libs/gst/base/gstbasesrc.c: (gst_base_src_change_state):
15094 Send EOS event when stopping.
15096 2006-02-06 Tim-Philipp Müller <tim at centricular dot net>
15099 Tell folks what to do if the plugin-foobar.xml file
15100 hasn't been generated for a newly-added plugin.
15102 2006-02-05 Julien MOUTTE <julien@moutte.net>
15104 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_finalize),
15105 (gst_collect_pads_add_pad), (gst_collect_pads_remove_pad),
15106 (gst_collect_pads_start), (gst_collect_pads_stop),
15107 (gst_collect_pads_event): Collectpads now holds a reference
15108 to the GstPad that was added. Indeed we don't want to look
15109 at pads that might just go away with no warning...
15111 2006-02-05 Julien MOUTTE <julien@moutte.net>
15113 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
15114 (gst_collect_pads_start), (gst_collect_pads_stop),
15115 (gst_collect_pads_event), (gst_collect_pads_chain):
15116 * libs/gst/base/gstcollectpads.h: Handle flush. Adapted from
15117 Mark Nauwelaerts's patch on bug #328491.
15119 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15121 * tests/check/gst/gstutils.c: (test_parse_bin_from_description),
15123 Add some simple tests for gst_parse_bin_from_description() and
15124 gst_bin_find_unconnected_pad() (#329069).
15126 2006-02-04 Tim-Philipp Müller <tim at centricular dot net>
15128 * tools/gst-launch.c: (event_loop), (main):
15129 Catch errors during preroll (#320084).
15131 2006-02-03 Tim-Philipp Müller <tim at centricular dot net>
15133 * plugins/elements/gsttypefindelement.c:
15134 (gst_type_find_element_activate):
15135 Post TYPE_NOT_FOUND error message when typefinding
15136 is unsuccessful in the activate function as well.
15138 2006-02-02 Wim Taymans <wim@fluendo.com>
15140 * docs/design/part-element-sink.txt:
15143 2006-02-02 Wim Taymans <wim@fluendo.com>
15145 * libs/gst/base/gstbasesink.c: (gst_base_sink_do_sync),
15146 (gst_base_sink_render_object),
15147 (gst_base_sink_queue_object_unlocked):
15148 Only keep track of prerollable items when we are
15150 Before rendering after preroll, always check if we
15152 Added some more debugging.
15154 2006-02-02 Wim Taymans <wim@fluendo.com>
15156 * gst/gstelement.c: (gst_element_continue_state),
15157 (gst_element_set_state_func), (gst_element_change_state):
15158 Fixed #326576, been running this for quite some time with
15159 no regressions at all.
15161 2006-02-02 Wim Taymans <wim@fluendo.com>
15164 Added more suppressions
15166 2006-02-02 Wim Taymans <wim@fluendo.com>
15168 * docs/design/part-element-sink.txt:
15171 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15172 (gst_base_sink_finalize), (gst_base_sink_preroll_queue_flush),
15173 (gst_base_sink_configure_segment), (gst_base_sink_commit_state),
15174 (gst_base_sink_get_sync_times), (gst_base_sink_wait_clock),
15175 (gst_base_sink_do_sync), (gst_base_sink_render_object),
15176 (gst_base_sink_preroll_object),
15177 (gst_base_sink_queue_object_unlocked),
15178 (gst_base_sink_queue_object), (gst_base_sink_event),
15179 (gst_base_sink_chain_unlocked), (gst_base_sink_chain),
15180 (gst_base_sink_loop), (gst_base_sink_activate_pull),
15181 (gst_base_sink_get_position), (gst_base_sink_change_state):
15182 * libs/gst/base/gstbasesink.h:
15183 Totally refactored matching the design doc.
15184 Use two segments, one to clip incomming buffers and another to
15186 Handle queueing correctly, bypass the queue when playing.
15187 Make EOS cancelable.
15188 Handle errors correctly when operating in pull based mode.
15190 * tests/check/elements/fakesink.c: (GST_START_TEST),
15192 Added new check for sinks.
15194 2006-02-02 Wim Taymans <wim@fluendo.com>
15196 * gst/gstsegment.c: (gst_segment_clip):
15197 No reason to refuse to clip when start == -1
15199 2006-02-02 Stefan Kost <ensonic@users.sf.net>
15202 * docs/manual/intro-basics.xml:
15203 * docs/manual/intro-preface.xml:
15204 * docs/manual/manual.xml:
15205 * docs/pwg/advanced-dparams.xml:
15206 * docs/pwg/intro-basics.xml:
15207 * docs/pwg/intro-preface.xml:
15208 * docs/pwg/pwg.xml:
15209 describe dparams (controller) for plugins
15210 unify docs a little more
15212 2006-02-02 Tim-Philipp Müller <tim at centricular dot net>
15214 * docs/gst/gstreamer-sections.txt:
15215 * gst/gstutils.c: (element_find_unconnected_pad),
15216 (gst_bin_find_unconnected_pad), (gst_parse_bin_from_description):
15218 Add new API: gst_parse_bin_from_description() and
15219 gst_bin_find_unconnected_pad() (#329069).
15221 2006-02-01 Stefan Kost <ensonic@users.sf.net>
15223 * docs/manual/README:
15224 uncover a nasty detail of the docs build
15226 2006-01-31 Wim Taymans <wim@fluendo.com>
15228 * gst/gstbin.c: (bin_remove_messages), (bin_query_duration_done):
15229 Don't cache duration messages if we're not going to use or
15232 2006-01-31 Stefan Kost <ensonic@users.sf.net>
15234 * docs/manual/advanced-dparams.xml:
15235 * docs/pwg/advanced-dparams.xml:
15239 * libs/gst/controller/lib.c: (gst_controller_init):
15242 2006-01-31 Thomas Vander Stichele <thomas at apestaart dot org>
15244 * gst/gstelement.c: (gst_element_message_full):
15245 also show file/line/func if no additional debug was given
15247 2006-01-31 Sebastien Moutte <sebastien@moutte.net>
15249 * win32/vs7/grammar.vcproj:
15250 activate copy of autogenerated files for Release mode
15252 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15254 * win32/common/libgstreamer.def:
15255 export gst_value_compare
15257 2006-01-30 Jan Schmidt <thaytan@mad.scientist.com>
15259 * plugins/elements/Makefile.am:
15260 * plugins/elements/gstelements.c:
15261 * plugins/elements/gstfdsink.c: (_do_init),
15262 (gst_fd_sink_base_init), (gst_fd_sink_class_init),
15263 (gst_fd_sink_init), (gst_fd_sink_dispose), (gst_fd_sink_query),
15264 (gst_fd_sink_render), (gst_fd_sink_check_fd), (gst_fd_sink_start),
15265 (gst_fd_sink_stop), (gst_fd_sink_unlock), (gst_fd_sink_update_fd),
15266 (gst_fd_sink_set_property), (gst_fd_sink_uri_get_type),
15267 (gst_fd_sink_uri_get_protocols), (gst_fd_sink_uri_get_uri),
15268 (gst_fd_sink_uri_set_uri), (gst_fd_sink_uri_handler_init):
15269 * plugins/elements/gstfdsink.h:
15270 Port fdsink to 0.10 (patch by Philippe Rouquier) (Fixes #325490)
15272 2006-01-30 Stefan Kost <ensonic@users.sf.net>
15274 * docs/manual/advanced-dparams.xml:
15275 describe controller
15276 * docs/manual/advanced-position.xml:
15277 * docs/manual/basics-init.xml:
15278 * docs/manual/manual.xml:
15279 * docs/manual/titlepage.xml:
15280 * docs/pwg/pwg.xml:
15281 * docs/pwg/titlepage.xml:
15282 cleanup xml (more to come)
15283 * libs/gst/controller/gstcontroller.c:
15286 2006-01-30 Sebastien Moutte <sebastien@moutte.net>
15288 * win32/vs6/grammar.dsp:
15289 add autogen of gstmarshal.c,h for Release mode
15291 2006-01-30 Wim Taymans <wim@fluendo.com>
15293 * libs/gst/base/gstbasesink.c: (gst_base_sink_init),
15294 (gst_base_sink_preroll_queue_empty), (gst_base_sink_commit_state),
15295 (gst_base_sink_handle_object), (gst_base_sink_event),
15296 (gst_base_sink_is_prerolled), (gst_base_sink_wait),
15297 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
15298 (gst_base_sink_handle_buffer), (gst_base_sink_set_flushing),
15299 (gst_base_sink_deactivate), (gst_base_sink_activate),
15300 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
15301 (gst_base_sink_query), (gst_base_sink_change_state):
15302 Basesink cleanups, remove some old code.
15303 Handle the case where a subclass can preroll in the render
15304 method (mostly audiosinks).
15305 Handle more events.
15306 Remove some locks around variables that are now protected
15307 with the PREROLL_LOCK (clock_id, flushing, ..).
15308 Optimize position query some more, do correct locking.
15309 Remove old code to push queue in state change, this is not
15310 needed anymore since preroll blocks on all prerollable items
15312 Almost implemented as described in design doc.
15314 2006-01-30 Wim Taymans <wim@fluendo.com>
15316 * tests/check/gst/gstbin.c: (GST_START_TEST):
15317 Wait for refcount to settle down before checking.
15319 2006-01-30 Wim Taymans <wim@fluendo.com>
15321 * docs/design/part-element-sink.txt:
15322 Pseudo code overview of desired sink behaviour regarding
15325 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15326 * win32/vs6/grammar.dsp:
15327 fix some bugs in Release mode for autogenerated files
15329 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15330 * win32/common/libgstbase.def:
15331 * win32/common/libgstreamer.def:
15332 export some new symbols: gst_base_src_set_format,
15333 gst_iterator_next, gst_structure_set_valist
15335 2006-01-29 Julien MOUTTE <julien@moutte.net>
15337 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked):
15338 Set pad functions unconditionally. Fixes #329105.
15340 2006-01-29 Sebastien Moutte <sebastien@moutte.net>
15342 add vs8 project files created by Sergey Scobich
15344 2006-01-28 Jan Schmidt <thaytan@mad.scientist.com>
15346 * gst/gstutils.c: (gst_element_unlink_pads):
15347 Don't leak pad references.
15349 * tests/check/elements/fakesink.c: (GST_START_TEST):
15350 * tests/check/generic/sinks.c: (GST_START_TEST):
15351 * tests/check/generic/states.c: (GST_START_TEST):
15352 * tests/check/gst/gstbin.c: (GST_START_TEST):
15353 * tests/check/gst/gstcaps.c: (GST_START_TEST):
15354 * tests/check/gst/gstelement.c: (GST_START_TEST):
15355 * tests/check/gst/gstghostpad.c: (GST_START_TEST):
15356 * tests/check/gst/gstiterator.c: (GST_START_TEST):
15357 * tests/check/gst/gstvalue.c: (GST_START_TEST):
15358 Fix a bunch of leaks. Make generic/sinks.c
15359 use a bit less cpu by slowing the buffer rate
15360 between fakesrc and fakesink.
15362 2006-01-27 Stefan Kost <ensonic@users.sf.net>
15364 * gst/gstelement.c: (gst_element_send_event):
15367 * gst/gstiterator.c:
15368 * gst/gstiterator.h:
15369 * gst/gstpad.c: (gst_pad_send_event):
15370 * gst/gststructure.c:
15374 * libs/gst/base/gstadapter.c:
15375 doc fixes, to link to function, just write gst_cool_function(), don't
15378 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15380 * plugins/elements/gsttee.c: (gst_tee_do_push),
15381 (gst_tee_handle_buffer):
15382 Always prefer an actual return value from a src
15383 pad in place of NOT_LINKED. This means we return
15384 WRONG_STATE when all src pads are WRONG_STATE
15385 instead of NOT_LINKED.
15387 Lock when replacing the last message to prevent
15388 racing with the get_property method.
15392 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15394 * tests/check/Makefile.am:
15395 * tests/check/gst/gstquery.c: (GST_START_TEST), (gstquery_suite),
15397 Add a very simple check that should have caught the memleak I fixed
15398 last night (if not for the slice allocator hiding it)
15400 2006-01-27 Jan Schmidt <thaytan@mad.scientist.com>
15402 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
15403 (gst_bin_remove_func), (gst_bin_handle_message_func),
15404 (bin_query_duration_fold), (bin_query_generic_fold):
15405 Clean up references to the clock provider when disposed or when
15406 handling a clock-lost message from it.
15408 Unref sinks when performing a query via gst_iterator_fold, as the
15409 gst_bin_iterate_sinks iterator refs each item. (Fixes #323874)
15411 * gst/gstclock.c: (gst_clock_class_init), (gst_clock_dispose),
15412 (gst_clock_set_master):
15413 Drop our reference to the master clock, if any, when we are disposed.
15415 * gst/gsttypefindfactory.c: (gst_type_find_factory_dispose):
15416 Chain up in dispose.
15418 2006-01-26 Wim Taymans <wim@fluendo.com>
15420 * libs/gst/base/gstbasesrc.c: (gst_base_src_get_range):
15421 Add some debugging.
15423 2006-01-26 Julien MOUTTE <julien@moutte.net>
15425 * plugins/elements/gsttee.c: (gst_tee_do_push),
15426 (gst_tee_handle_buffer): Apply patch from #328715. Tee now
15427 handles pad being NOT_LINKED or in WRONG_STATE.
15429 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15434 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15437 remove obsolete entry
15439 2006-01-26 Stefan Kost <ensonic@users.sf.net>
15441 * docs/gst/gstreamer-sections.txt:
15442 * gst/gstbin.c: (bin_element_is_src), (src_iterator_filter),
15443 (gst_bin_iterate_sources), (gst_bin_send_event):
15445 * gst/gstelement.c: (gst_element_send_event):
15447 * gst/gstpad.c: (gst_pad_send_event):
15448 added code for downstream events, reviewed docs in gstevent.c
15450 2006-01-25 Julien MOUTTE <julien@moutte.net>
15452 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
15453 We only query position using the clock in the playing state.
15454 Query peer in the other cases.
15455 * win32/common/config.h: Updates.
15457 2006-01-24 Wim Taymans <wim@fluendo.com>
15459 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
15460 A clock entry that is scheduled for the exact time of the
15461 clock is still in time.
15463 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15464 (gst_base_sink_do_sync):
15465 Add some more debug info.
15467 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15470 Add new vs7 project files and solution.
15472 2006-01-23 Sebastien Moutte <sebastien@moutte.net>
15475 all files removed as they were out-dated.
15477 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15479 * docs/random/release:
15481 * gst/gstbin.c: (gst_bin_init):
15482 * gst/gstbus.c: (gst_bus_new):
15484 * gst/gstpipeline.c: (gst_pipeline_init):
15485 use gst_bus_new(), improve logging, fix docs
15486 * win32/common/config.h:
15487 update for cvs build
15489 2006-01-20 Thomas Vander Stichele <thomas at apestaart dot org>
15492 up required version of automake to 1.7
15494 2006-01-20 Sebastien Moutte <sebastien@moutte.net>
15496 * win32/common/libgstreamer.def:
15497 export gst_buffer_is_metadata_writable
15499 2006-01-20 Tim-Philipp Müller <tim at centricular dot net>
15501 * docs/gst/gstreamer-sections.txt:
15503 Add gst_event_replace() (#327001)
15505 2006-01-20 Wim Taymans <wim@fluendo.com>
15507 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
15508 Make it actually compile too..
15510 2006-01-20 Wim Taymans <wim@fluendo.com>
15513 Clarify behaviour of _is_equal() when passing NULL parameters.
15515 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
15516 (gst_pad_set_caps):
15517 Cleanups. Don't unref NULL caps.
15518 When setting the same caps, protect caps of the pad with
15520 Use full functionality of _is_equal() when comparing caps.
15522 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15524 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_is_collected):
15525 Don't loop infinitely if there are no buffers to present. Partially
15526 fixes #327197, but collectpads is just broken for reusing elements
15527 to do multiple encodes atm.
15529 2006-01-20 Jan Schmidt <thaytan@mad.scientist.com>
15531 * tools/gst-inspect.c: (print_element_features):
15532 * tools/gst-xmlinspect.c: (main):
15533 URL_HANDLER is not a plugin feature we can search for in
15536 2006-01-19 Edward Hervey <edward@fluendo.com>
15538 * gst/gstelement.c: (gst_element_pads_activate):
15539 When activating, do src pads first, then sink pads.
15540 When de-activating, do sink pads first, then src pads.
15542 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15544 * docs/gst/gstreamer-sections.txt:
15545 Add gst_index_add_associationv to the docs
15547 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15552 * plugins/elements/gstqueue.c: (gst_queue_handle_sink_event),
15553 (gst_queue_chain), (gst_queue_push_one), (gst_queue_loop):
15554 Do some refactoring. Doesn't actually change functionality,
15555 but makes landing the DRAIN event easier later.
15557 2006-01-19 Tim-Philipp Müller <tim at centricular dot net>
15559 * docs/pwg/advanced-scheduling.xml:
15560 Update from 0.9.x to 0.10 API and make example a bit
15563 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15565 * docs/gst/gstreamer-sections.txt:
15566 Add gst_buffer_(is|make)_metadata_writable methods.
15568 2006-01-19 Jan Schmidt <thaytan@mad.scientist.com>
15570 * docs/design/part-sparsestreams.txt:
15571 Update sparse streams doc, hopefully for greater clarity
15573 2006-01-18 Jan Schmidt <thaytan@mad.scientist.com>
15575 * docs/design/part-events.txt:
15576 Remove mention of FILLER events.
15579 * docs/design/part-sparsestreams.txt:
15580 Write some things about using NEWSEGMENT to keep sparse streams
15583 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15585 * gst/gstbin.c: (gst_bin_dispose):
15586 Guard gst_object_unref call against a NULL object (dispose
15587 can theoretically be called multiple times).
15589 2006-01-18 Wim Taymans <wim@fluendo.com>
15591 * gst/gstbin.c: (gst_bin_element_set_state):
15592 * gst/gstclock.c: (gst_clock_id_wait):
15593 Added some more debug info.
15595 * libs/gst/base/gstadapter.c:
15598 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15599 (gst_base_sink_do_sync), (gst_base_sink_chain):
15600 Added some comments.
15602 2006-01-18 Wim Taymans <wim@fluendo.com>
15604 * tests/check/Makefile.am:
15605 * tests/check/elements/fakesink.c: (chain_async_buffer),
15606 (chain_async), (chain_async_return), (GST_START_TEST),
15607 (fakesink_suite), (main):
15608 Added fakesink test that checks prerolling and clipping
15611 * tests/check/gst/gstutils.c: (GST_START_TEST):
15612 Make check run faster so that buildbots don't timeout.
15614 2006-01-18 Wim Taymans <wim@fluendo.com>
15616 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object),
15617 (gst_base_sink_do_sync):
15619 When the sink finishes blocking on the preroll buffer, it can
15620 immediatly render it instead of rendering when the next buffer
15623 2006-01-18 Wim Taymans <wim@fluendo.com>
15625 * libs/gst/base/gstbasesink.c: (gst_base_sink_set_property),
15626 (gst_base_sink_get_property), (gst_base_sink_do_sync),
15627 (gst_base_sink_chain):
15629 GST_ELEMENT_CLOCK and sync are protected with LOCK.
15630 Don't store _last_stop if the buffer is dropped.
15632 2006-01-18 Tim-Philipp Müller <tim at centricular dot net>
15634 * plugins/elements/gsttypefindelement.c:
15635 (gst_type_find_element_class_init):
15636 'have-type' signal needs to be G_SIGNAL_RUN_FIRST, as it is the
15637 object method handler that sets the caps on the pad and we want
15638 that to happen before we emit the signal (fixes e.g. feeding a
15639 plain text file to decodebin).
15641 2006-01-18 Christian Schaller <Christian@fluendo.com>
15643 * gst/gstplugin.c: Add MPL and Proprietary as license options
15645 2006-01-18 Andy Wingo <wingo@pobox.com>
15647 * gst/gstindex.h (gst_index_add_associationv): Add to header. The
15648 symbol was exported before, it appears this was just an oversight.
15650 Patch by: Torsten Schoenfeld <kaffeetisch at gmx.de>
15652 * gst/gstindex.c (gst_index_add_associationv): Changed int in
15653 prototype to gint. OK since this prototype was not in the header.
15655 2006-01-17 Andy Wingo <wingo@pobox.com>
15657 * gst/gstregistry.c (_gst_registry_remove_cache_plugins): Lock the
15658 registry while we remove plugins.
15660 * tools/gst-inspect.c (print_element_info): Don't unref the
15661 factory arg, that should be the responsibility of whatever code
15662 received the ref. Fixes a double-free when called from
15663 print_element_list via gst-inspect-0.10 -a. Fixes #327324.
15664 (main): Unref the factory if we have one.
15665 (print_element_list): No change -- relies on the
15666 plugin_feature_list_free to free the list of features.
15668 2006-01-17 Jan Schmidt <thaytan@mad.scientist.com>
15670 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15671 (gst_buffer_make_metadata_writable):
15673 * libs/gst/base/gstbasetransform.c:
15674 (gst_base_transform_prepare_output_buf):
15675 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15676 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15677 Replace gst_buffer_(make|is)_metadata_writable patch now
15678 that the release is out.
15680 2006-01-17 Andy Wingo <wingo@pobox.com>
15682 * gst/gstregistry.c: Reflow design comment. Update so as to speak
15683 in the present tense without reference to versions.
15685 * gst/gstregistry.c (gst_registry_add_plugin)
15686 (gst_registry_remove_plugin, gst_registry_remove_feature)
15687 (gst_registry_find_feature, gst_registry_get_feature_list)
15688 (gst_registry_get_plugin_list, gst_registry_lookup_feature)
15689 (gst_registry_lookup, gst_registry_scan_path)
15690 (_gst_registry_remove_cache_plugins)
15691 (gst_registry_get_feature_list_by_plugin): Add argument
15694 === release 0.10.2 ===
15696 2006-01-16 Thomas Vander Stichele <thomas at apestaart dot org>
15699 releasing 0.10.2, "If man is five"
15701 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15705 * libs/gst/base/gstbasetransform.c:
15706 (gst_base_transform_prepare_output_buf):
15707 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15708 * tests/check/gst/gstbuffer.c: (gst_test_suite):
15709 Back out patch until after the release.
15711 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15713 * gst/gstminiobject.c:
15714 Spelling fix in docs.
15715 * ChangeLog - remove conflict indicator
15717 2006-01-16 Jan Schmidt <thaytan@mad.scientist.com>
15719 Reviewed By: Andy Wingo
15721 * gst/gstbuffer.c: (gst_buffer_is_metadata_writable),
15722 (gst_buffer_make_metadata_writable):
15724 Add gst_buffer_(is|make)_metadata_writable as analogues of
15725 gst_buffer_(is|make)_writable.
15727 * libs/gst/base/gstbasetransform.c:
15728 (gst_base_transform_prepare_output_buf):
15729 * plugins/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
15730 Use name gst_buffer_(is|make)_metadata_writable functions.
15732 * tests/check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
15733 Test gst_buffer_(is|make)_metadata_writable
15737 2006-01-14 Thomas Vander Stichele <thomas at apestaart dot org>
15739 * docs/manual/Makefile.am:
15740 don't do parallel make
15743 * win32/common/config.h.in:
15744 add generations for HOST_CPU and GST_MAJORMINOR
15745 * win32/common/config.h:
15746 commit generated result
15748 2006-01-13 Tim-Philipp Müller <tim at centricular dot net>
15750 * docs/manual/appendix-integration.xml:
15751 Update GNOME integration section to use gst_init_get_option_group()
15752 instead of the old popt stuff (#322911). Also, GNOME applications
15753 should now use gconf*sink and gconf*src instead of the old gconf
15756 2006-01-13 Stefan Kost <ensonic@users.sf.net>
15759 * docs/gst/gstreamer-docs.sgml:
15760 * docs/gst/gstreamer-sections.txt:
15761 * docs/libs/gstreamer-libs-sections.txt:
15762 add new API entries to the docs
15763 * libs/gst/controller/Makefile.am:
15764 * libs/gst/controller/gstcontroller.c:
15765 * libs/gst/controller/gstcontroller.h:
15766 * libs/gst/controller/gstcontrollerprivate.h:
15767 * libs/gst/controller/gsthelper.c:
15768 * libs/gst/controller/gstinterpolation.c:
15769 move private structs to private header
15771 gstreamer-0.7 -> gstreamer-0.10
15772 * tests/check/libs/struct_i386.h:
15773 remove private structs
15775 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15777 * plugins/indexers/Makefile.am:
15778 Fixes as part of #317048
15780 2006-01-13 Thomas Vander Stichele <thomas at apestaart dot org>
15782 * plugins/indexers/Makefile.am:
15783 fix #316086 - compilation when mmap is missing
15785 2006-01-12 Sebastien Moutte <sebastien@moutte.net>
15787 * libs/gst/base/gstbasesink.c:
15788 *cur = (now - base) * basesink->segment.abs_rate + time; replaced by
15789 *cur = gst_guint64_to_gdouble(now - base) * basesink->segment.abs_rate + time; for vs6
15790 * win32/common/config.h:
15791 added some defines GST_MAJORMINOR and HOST_CPU
15792 * win32/common/libgstbase.def:
15793 * win32/common/libgstreamer.def:
15794 added some exported functions.
15796 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15798 * libs/gst/controller/gstcontroller.c:
15799 (gst_controlled_property_set_interpolation_mode),
15800 (gst_controlled_property_new):
15801 * libs/gst/controller/gstcontroller.h:
15802 * libs/gst/controller/gstinterpolation.c:
15803 (interpolate_none_get_string_value_array):
15804 make G_TYPE_STRING controlable
15806 2006-01-12 Stefan Kost <ensonic@users.sf.net>
15809 * tools/gst-feedback.1.in:
15810 * tools/gst-inspect.1.in:
15811 * tools/gst-launch.1.in:
15812 * tools/gst-md5sum.1.in:
15813 * tools/gst-typefind.1.in:
15814 * tools/gst-xmlinspect.1.in:
15815 * tools/gst-xmllaunch.1.in:
15816 cleanup man-pages, remove reference to gst-register, document env-vars
15818 2006-01-12 Jan Schmidt <thaytan@mad.scientist.com>
15820 * gst/gstbuffer.c: (gst_buffer_span):
15821 gst_buffer_span should copy the timestamp of the first buffer
15822 if they were both originally overlapping subbuffers of the
15823 same parent, using the same logic as the 'slow copy' case.
15825 2006-01-11 Jan Schmidt <thaytan@mad.scientist.com>
15827 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_pop):
15828 Need to awaken ALL the pads when we pop a buffer, otherwise
15829 collectpads only works when there is 2 input streams.
15831 2006-01-11 Stefan Kost <ensonic@users.sf.net>
15833 * docs/random/ensonic/media-device-daemon.txt:
15836 fix doc example, add clarification
15837 * tools/gst-launch.1.in:
15838 add initial info about GST_PLUGIN_PATH, needs more work
15840 2006-01-11 Tim-Philipp Müller <tim at centricular dot net>
15842 * docs/manual/basics-bins.xml:
15843 * docs/manual/basics-elements.xml:
15844 * docs/manual/intro-basics.xml:
15845 Some more minor docs additions and updates.
15847 2006-01-11 Wim Taymans <wim@fluendo.com>
15849 * docs/manual/basics-bins.xml:
15850 * docs/manual/basics-elements.xml:
15851 Some small fixes as pointed out by Ser-ver on IRC.
15853 2006-01-10 Edward Hervey <edward@fluendo.com>
15855 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
15856 Set the buffer offset/offset_end to GST_CLOCK_TIME_NONE when using
15857 the single-segment mode.
15859 2006-01-10 Brian Cameron <brian dot cameron at sun dot com>
15861 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15863 * libs/gst/base/gstbasesrc.c: (gst_base_src_init),
15864 (gst_base_src_perform_seek), (gst_base_src_send_event),
15865 (gst_base_src_set_property), (gst_base_src_get_property),
15866 (gst_base_src_loop), (gst_base_src_start),
15867 (gst_base_src_activate_push):
15868 * libs/gst/base/gstbasesrc.h:
15869 Name (private) union; makes Sun's Forte compiler happy (#324900).
15871 2006-01-09 Tim-Philipp Müller <tim at centricular dot net>
15874 gst-register is gone.
15876 2006-01-07 Thomas Vander Stichele <thomas at apestaart dot org>
15878 * gst/gstvalue.c: (_gst_value_initialize):
15879 make the G_TYPE_DATE instantiation work if debug is disabled
15881 2006-01-06 Tim-Philipp Müller <tim at centricular dot net>
15883 * gst/gstmessage.c: (gst_message_parse_tag),
15884 (gst_message_parse_error), (gst_message_parse_warning):
15885 Don't crash when return location for error/warning debug
15886 string is NULL; add fact that return locations can be
15887 NULL to docs where appropriate.
15889 2006-01-05 Wim Taymans <wim@fluendo.com>
15891 * gst/gstplugin.c: (gst_plugin_load_file):
15892 Replace strdup by g_strdup.
15894 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15896 * docs/pwg/advanced-types.xml:
15899 2006-01-05 Thomas Vander Stichele <thomas at apestaart dot org>
15901 submitted by: Abel Cheung
15905 Added Chinese (traditional) translation
15907 2006-01-04 Wim Taymans <wim@fluendo.com>
15909 * docs/manual/basics-pads.xml:
15910 * docs/plugins/Makefile.am:
15911 * docs/plugins/gstreamer-plugins-docs.sgml:
15912 * docs/plugins/gstreamer-plugins-sections.txt:
15913 * docs/pwg/advanced-clock.xml:
15914 * docs/pwg/advanced-scheduling.xml:
15915 * docs/pwg/advanced-types.xml:
15916 * plugins/elements/gstfdsink.c:
15917 * plugins/elements/gstfdsrc.c:
15918 * plugins/elements/gstfdsrc.h:
15919 * plugins/elements/gstidentity.c: (gst_identity_class_init):
15920 * plugins/elements/gstidentity.h:
15921 * plugins/elements/gstqueue.h:
15922 * plugins/elements/gsttee.c:
15923 * plugins/elements/gsttee.h:
15924 * plugins/elements/gsttypefindelement.c:
15925 (gst_type_find_element_class_init):
15926 * plugins/elements/gsttypefindelement.h:
15927 Small updates to various docs.
15928 Added core plugins to docs.
15930 2006-01-03 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
15933 add a suppression for liboil's uninitialized variable
15935 2006-01-02 James Livingston <jrl at ids dot org dot au>
15937 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
15940 Add prototype for _get_type() function to GST_BOILERPLATE_FULL
15941 macro, so that gcc doesn't complain if the -Wmissing-prototypes
15942 compiler switch is being used (#325429).
15944 2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
15946 * gst/gstbin.c: (gst_bin_query):
15947 Disable duration query caching in bins until it gets
15948 fixed (see #324807).
15950 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
15952 * tools/gst-inspect.c: (print_element_properties_info):
15953 Handle properties of POINTER and BOXED type.
15955 2005-12-27 Tim-Philipp Müller <tim at centricular dot net>
15957 * gst/gst.c: (init_post):
15958 Init tags stuff and some other things before loading
15959 any static plugins (there may be other static plugins
15960 than just the GStreamer ones, and they may want to
15961 register their own tags or formats or whatever, and
15962 preferably without segfaulting).
15964 * plugins/elements/gstqueue.c: (gst_queue_handle_src_query):
15965 Print at least a warning in the debug logs if we drop a
15966 query just because we don't know how to adjust the value
15967 in the particular format.
15969 2005-12-24 David Schleef <ds@schleef.org>
15971 * tools/gstreamer-completion:
15972 Replacement for gst-complete written in sh and sed. Only
15973 completes names of features, but that's 90% of what I want
15974 it for. Properties are not available in registry.xml. (Maybe
15977 === release 0.10.1 ===
15979 2005-12-23 Thomas Vander Stichele <thomas at apestaart dot org>
15982 releasing 0.10.1, "Nollaig chridheil"
15984 2005-12-22 Tim-Philipp Müller <tim at centricular dot net>
15986 * docs/faq/cvs.xml:
15987 Add missing quote, should be make ERROR_CFLAGS="".
15989 2005-12-20 Wim Taymans <wim@fluendo.com>
15991 * docs/design/part-trickmodes.txt:
15992 More documentation on trickmodes.
15994 2005-12-20 Edward Hervey <edward@fluendo.com>
15996 * gst/gstcaps.c: (gst_static_caps_get_type):
15998 API addition: GST_TYPE_STATIC_CAPS
15999 Added gpointer GType for GstStaticCaps so we can wrap them in bindings.
16000 * gst/gstpadtemplate.c: (gst_static_pad_template_get_type):
16001 * gst/gstpadtemplate.h:
16002 API addition: GST_TYPE_STATIC_PAD_TEMPLATE
16003 Added gpointer GType for GstStaticPadTemplate so we can wrap them in
16006 2005-12-18 Wim Taymans <wim@fluendo.com>
16008 * libs/gst/base/gstadapter.c:
16009 * libs/gst/base/gstadapter.h:
16010 * libs/gst/base/gstbasesink.c: (gst_base_sink_class_init),
16011 (gst_base_sink_get_position):
16012 * libs/gst/base/gstbasesink.h:
16013 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16014 (gst_base_src_default_query), (gst_base_src_default_do_seek),
16015 (gst_base_src_do_seek), (gst_base_src_perform_seek),
16016 (gst_base_src_send_event), (gst_base_src_update_length),
16017 (gst_base_src_get_range), (gst_base_src_loop),
16018 (gst_base_src_start):
16019 * libs/gst/base/gstbasesrc.h:
16020 * libs/gst/base/gstbasetransform.h:
16021 * libs/gst/base/gstcollectpads.h:
16022 * libs/gst/base/gstpushsrc.c:
16023 * libs/gst/base/gstpushsrc.h:
16024 * libs/gst/dataprotocol/dataprotocol.c:
16025 * libs/gst/dataprotocol/dataprotocol.h:
16026 * libs/gst/net/gstnetclientclock.h:
16027 * libs/gst/net/gstnettimeprovider.h:
16028 Documentation updates.
16030 2005-12-18 Tim-Philipp Müller <tim at centricular dot net>
16032 * docs/manual/basics-helloworld.xml:
16033 Remove superfluous closing bracket in helloworld example.
16035 2005-12-17 Tim-Philipp Müller <tim at centricular dot net>
16037 * tools/gst-launch.1.in:
16038 Update gst-launch man page; add a section with useful
16039 environment variables. Fixes #323882.
16041 2005-12-16 Stefan Kost <ensonic@users.sf.net>
16044 * gst/gst_private.h:
16045 change some char* into char[]
16047 2005-12-16 Wim Taymans <wim@fluendo.com>
16049 * gst/gstregistryxml.c: (load_feature):
16051 Don't use g_object_unref on GstObjects so that we avoid
16052 leaks on unsafe glibs.
16054 2005-12-16 Wim Taymans <wim@fluendo.com>
16056 * gst/gstbin.c: (gst_bin_recalc_state):
16059 2005-12-16 Wim Taymans <wim@fluendo.com>
16061 * common/check.mak:
16062 Added make forever target for check.
16064 2005-12-16 Thomas Vander Stichele <thomas at apestaart dot org>
16066 * gst/gst.c: (init_post):
16067 make the registry cache file HOST_CPU-dependent
16069 2005-12-16 Andy Wingo <wingo@pobox.com>
16071 * plugins/elements/gstbufferstore.c
16072 (gst_buffer_store_cleared_func): Pay attention to g_list_append
16075 * tests/check/gst/gstobject.c
16076 (test_fake_object_name_threaded_unique): Pay attention to
16077 g_list_sort return value.
16079 2005-12-16 Tim-Philipp Müller <tim at centricular dot net>
16081 * tools/gst-feedback-m.m:
16082 Update for 0.9/0.10 (fixes #323870).
16084 2005-12-15 Tim-Philipp Müller <tim at centricular dot net>
16086 * gst/gstminiobject.c: (gst_value_mini_object_lcopy):
16087 Fix lcopy for mini objects, the mini object needs to be ref'ed.
16089 * tests/check/gst/gstminiobject.c: (my_foo_init),
16090 (my_foo_get_property), (my_foo_set_property), (my_foo_class_init),
16091 (test_value_collection), (gst_mini_object_suite):
16092 Add test to ensure refcounts end up as expected when passing
16093 GstMiniObjects through g_object_get() and g_object_set().
16095 2005-12-14 Julien MOUTTE <julien@moutte.net>
16097 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
16098 (gst_collect_pads_remove_pad), (gst_collect_pads_is_collected),
16099 (gst_collect_pads_event), (gst_collect_pads_chain): Refactoring
16100 of collectpads. This version removes a lot of races without
16101 touching API/ABI. Yay !
16103 2005-12-14 Jan Schmidt <thaytan@mad.scientist.com>
16105 * gst/gstpad.c: (gst_pad_activate_pull), (gst_pad_link_prepare):
16106 Don't allow activation of a srcpad in pull_range if it has no
16108 Change some debug statements to be a little clearer
16110 * plugins/elements/gsttypefindelement.c:
16111 (gst_type_find_handle_src_query):
16112 Check that we have a peer before executing queries thereupon.
16114 * tests/examples/metadata/read-metadata.c: (message_loop):
16115 Use gst_bus_pop instead of gst_bus_poll when we just want it to
16116 immediately return us any available message with 0 timeout.
16118 2005-12-12 Michael Smith <msmith@fluendo.com>
16120 * gst/gsttypefindfactory.c: (gst_type_find_factory_call_function):
16121 Don't unref factories after calling them.
16122 * libs/gst/base/gsttypefindhelper.c: (gst_type_find_helper):
16123 * plugins/elements/gsttypefindelement.c:
16124 (gst_type_find_element_chain):
16125 Free lists of factories after using them. Fixing typefinding memory
16128 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16130 * gst/gstpluginfeature.c: (gst_plugin_feature_finalize),
16131 (gst_plugin_feature_load):
16132 more meaningful debug output
16134 * tests/Makefile.am:
16135 * tests/old/examples/Makefile.am:
16136 make make distcheck happy again
16138 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16140 * plugins/elements/gsttypefindelement.c: (stop_typefinding):
16141 Catch the special case where we are operating chain-based,
16142 but the downstream peer pad has no chain function. Emit a
16143 custom error message in this case instead of letting the
16144 core generate one implying that this is some sort of core
16145 bug. It's not, it just means that whatever got plugged
16146 into the pipeline downstream when we announced the type
16147 can only operate pull-based, while our source can only
16148 operate push-based (e.g. http://foo/bar.mov ! qtdemux ! ...)
16149 Error string has not been marked for translation yet, as
16150 it probably needs some more work first.
16152 (gst_type_find_element_get_best_possibility):
16153 Add helper function to find the best of all available
16154 found possibilities that qualify given the min. threshold.
16156 (gst_type_find_element_handle_event):
16157 Fix the case where we get an EOS while still in TYPEFIND
16158 mode (we want to chose the best of all possible types,
16159 not just the first type that happens to be in our unsorted
16160 list of possible types).
16162 (gst_type_find_element_chain):
16163 Make sure we return GST_FLOW_ERROR when we errored out
16164 in stop_typefinding(); also, don't just find the best of
16165 all found type entries and then use the last examined
16166 type entry, but actually use the best entry.
16168 2005-12-12 Tim-Philipp Müller <tim at centricular dot net>
16170 * tests/examples/typefind/typefind.c: (type_found):
16171 * tests/examples/xml/runxml.c: (xml_loaded):
16172 More gcc4 fixes and a mem leak fix.
16174 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16176 * tests/examples/xml/createxml.c: (object_saved):
16179 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16181 * tests/Makefile.am:
16182 enable the examples even more
16184 2005-12-12 Andy Wingo <wingo@pobox.com>
16186 * libs/gst/net/gstnettimeprovider.c
16187 (gst_net_time_provider_class_init, gst_net_time_provider_init)
16188 (gst_net_time_provider_set_property)
16189 (gst_net_time_provider_get_property):
16190 API addition: Export "active" as a GObject property.
16191 (gst_net_time_provider_thread): Only respond to time queries if
16192 the time provider is active.
16194 * libs/gst/net/gstnettimeprovider.h: Add an "active" boolean to
16195 NetTimeProvider, preserving binary compat.
16197 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16199 * tests/examples/controller/audio-example.c: (main):
16200 * tests/examples/launch/Makefile.am:
16201 convert comments again
16203 2005-12-12 Wim Taymans <wim@fluendo.com>
16205 * libs/gst/base/gstpushsrc.c:
16208 2005-12-12 Wim Taymans <wim@fluendo.com>
16210 * docs/libs/gstreamer-libs-sections.txt:
16211 Added new symbol to docs.
16213 * libs/gst/base/gstbasesrc.c: (gst_base_src_class_init),
16214 (gst_base_src_init), (gst_base_src_set_format),
16215 (gst_base_src_default_query), (gst_base_src_query),
16216 (gst_base_src_default_do_seek), (gst_base_src_do_seek),
16217 (gst_base_src_perform_seek), (gst_base_src_send_event),
16218 (gst_base_src_default_event), (gst_base_src_event_handler),
16219 (gst_base_src_set_property), (gst_base_src_get_property),
16220 (gst_base_src_wait), (gst_base_src_do_sync),
16221 (gst_base_src_update_length), (gst_base_src_get_range),
16222 (gst_base_src_check_get_range), (gst_base_src_loop),
16223 (gst_base_src_default_negotiate), (gst_base_src_start),
16224 (gst_base_src_activate_push), (gst_base_src_activate_pull),
16225 (gst_base_src_change_state):
16226 * libs/gst/base/gstbasesrc.h:
16227 Implement seeking to other formats than _BYTES.
16228 Implement more seeking methods correctly.
16230 Added query vmethod.
16231 Added do_seek vmethod to make life easier for subclasses
16233 API addition: gst_base_src_set_format()
16235 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16237 * tests/examples/Makefile.am:
16240 2005-12-12 Stefan Kost <ensonic@users.sf.net>
16243 * docs/random/ensonic/media-device-daemon.txt:
16244 * tests/examples/controller/.cvsignore:
16245 * tests/examples/controller/Makefile.am:
16246 * tests/examples/controller/audio-example.c: (main):
16247 * tests/examples/helloworld/.cvsignore:
16248 * tests/examples/helloworld/Makefile.am:
16249 * tests/examples/helloworld/helloworld.c: (event_loop), (main):
16250 * tests/examples/launch/.cvsignore:
16251 * tests/examples/launch/Makefile.am:
16252 * tests/examples/launch/mp3parselaunch.c: (event_loop), (main):
16253 * tests/examples/metadata/.cvsignore:
16254 * tests/examples/metadata/Makefile.am:
16255 * tests/examples/metadata/read-metadata.c: (message_loop),
16256 (make_pipeline), (print_tag), (main):
16257 * tests/examples/queue/.cvsignore:
16258 * tests/examples/queue/Makefile.am:
16259 * tests/examples/queue/queue.c: (event_loop), (main):
16260 * tests/examples/typefind/.cvsignore:
16261 * tests/examples/typefind/Makefile.am:
16262 * tests/examples/typefind/typefind.c: (type_found), (event_loop),
16264 * tests/examples/xml/.cvsignore:
16265 * tests/examples/xml/Makefile.am:
16266 * tests/examples/xml/createxml.c: (object_saved), (main):
16267 * tests/examples/xml/runxml.c: (xml_loaded), (event_loop), (main):
16268 * tests/old/examples/Makefile.am:
16269 * tests/old/examples/TODO:
16270 * tests/old/examples/controller/.cvsignore:
16271 * tests/old/examples/controller/Makefile.am:
16272 * tests/old/examples/controller/audio-example.c:
16273 * tests/old/examples/helloworld/.cvsignore:
16274 * tests/old/examples/helloworld/Makefile.am:
16275 * tests/old/examples/helloworld/helloworld.c:
16276 * tests/old/examples/launch/.cvsignore:
16277 * tests/old/examples/launch/Makefile.am:
16278 * tests/old/examples/launch/mp3parselaunch.c:
16279 * tests/old/examples/launch/mp3play:
16280 * tests/old/examples/manual/Makefile.am:
16281 * tests/old/examples/metadata/Makefile.am:
16282 * tests/old/examples/metadata/read-metadata.c:
16283 * tests/old/examples/queue/.cvsignore:
16284 * tests/old/examples/queue/Makefile.am:
16285 * tests/old/examples/queue/queue.c:
16286 * tests/old/examples/typefind/.cvsignore:
16287 * tests/old/examples/typefind/Makefile.am:
16288 * tests/old/examples/typefind/typefind.c:
16289 * tests/old/examples/xml/.cvsignore:
16290 * tests/old/examples/xml/Makefile.am:
16291 * tests/old/examples/xml/createxml.c:
16292 * tests/old/examples/xml/runxml.c:
16293 applied some simple fixing to some examples
16294 re-enabled the working examples
16296 2005-12-12 Wim Taymans <wim@fluendo.com>
16298 * gst/gstsegment.c: (gst_segment_init),
16299 (gst_segment_set_last_stop), (gst_segment_set_seek),
16300 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
16301 (gst_segment_to_running_time):
16302 Added more documentation.
16303 Make sure the last_pos value is updated properly.
16304 Make sure to_stream_time and to_running_time don't
16305 operate on wrong values.
16307 * tests/check/gst/gstsegment.c: (GST_START_TEST):
16310 2005-12-12 Michael Smith <msmith@fluendo.com>
16312 * plugins/elements/gsttypefindelement.c: (free_entry),
16313 (gst_type_find_element_chain):
16314 Now that we're not leaking factories, make sure we keep references
16315 to them while we need them.
16317 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16319 * tests/check/gst/struct_i386.h:
16320 ifdef out the XML structs
16322 2005-12-12 Thomas Vander Stichele <thomas at apestaart dot org>
16324 * gst/gstvalue.c: (gst_value_transform_double_fraction):
16325 floor is not needed, F is always positive; this obviates the
16326 need for adding -lm when building without libxml
16328 2005-12-12 Wim Taymans <wim@fluendo.com>
16330 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16331 Take current playback rate into account when reporting
16334 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16336 * docs/manual/mime-world.fig:
16337 Let's try this again, this time with a file that is
16338 actually in XFig format.
16340 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16342 * docs/manual/mime-world.fig:
16343 Add audioconvert element to diagram so that it
16344 matches the text and the code (fixes #319526).
16346 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16348 * docs/pwg/building-chainfn.xml:
16349 * docs/pwg/building-pads.xml:
16350 * docs/pwg/building-state.xml:
16351 * docs/pwg/other-source.xml:
16352 Update state change stuff for 0.10 (fixes #322969).
16354 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16356 * docs/manual/advanced-dataaccess.xml:
16357 * docs/manual/appendix-checklist.xml:
16358 * docs/manual/appendix-programs.xml:
16359 * docs/manual/basics-pads.xml:
16360 * docs/manual/highlevel-components.xml:
16361 * docs/manual/manual.xml:
16362 Update for 0.10: s/0.9/0.10/; s/audioscale/audiorsample/;
16363 add converters in front of pipelines; remove curly
16364 brackets for threads stuff, they no longer exist; use
16365 GST_TYPE_FRACTION for framerates; update some pieces of
16366 code to 0.10, but there's plenty more to do.
16368 * docs/manual/appendix-porting.xml:
16369 Expand on asynchroneous state changes; s/0.9/0.10/;
16370 mention disappearance of gst_init_get_popt_table()
16373 2005-12-11 Tim-Philipp Müller <tim at centricular dot net>
16375 * docs/faq/using.xml:
16376 Spider no longer exists, and neither does gst-launch-ext.
16377 Update examples to use decodebin and playbin and put
16378 converters in front of sinks (fixes #323726).
16380 2005-12-09 Michael Smith <msmith@fluendo.com>
16382 * plugins/elements/gsttypefindelement.c: (find_peek),
16383 (gst_type_find_element_chain):
16384 Fix leaking element factories in typefinding.
16385 Fix problem where we forgot about a probable type on non-seekable
16386 files, and thus later mis-typefound it.
16388 2005-12-09 Michael Smith <msmith@fluendo.com>
16390 * common/m4/gst-makecontext.m4:
16391 * common/m4/gst-mcsc.m4:
16393 * win32/common/config.h:
16394 * win32/common/config.h.in:
16395 Remove makecontext stuff; not used in 0.10 and causes problems on
16396 HPUX according to bug #322441
16398 2005-12-07 Wim Taymans <wim@fluendo.com>
16400 * tests/check/Makefile.am:
16401 * tests/check/libs/libsabi.c: (GST_START_TEST), (gstabi_suite),
16403 * tests/check/libs/struct_i386.h:
16404 Added ABI check for libs
16406 2005-12-07 Wim Taymans <wim@fluendo.com>
16408 * tests/check/Makefile.am:
16409 And add the struct_i386.h to dist.
16411 2005-12-07 Wim Taymans <wim@fluendo.com>
16413 * tests/check/Makefile.am:
16414 * tests/check/gst/.cvsignore:
16415 * tests/check/gst/gstabi.c: (GST_START_TEST), (gstabi_suite),
16417 * tests/check/gst/struct_i386.h:
16418 Added check for ABI compatibility.
16420 2005-12-07 Wim Taymans <wim@fluendo.com>
16422 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16423 (gst_fake_src_get_times), (gst_fake_src_create):
16424 Fix broken sync option, fixes #323259
16426 2005-12-07 Wim Taymans <wim@fluendo.com>
16431 * gst/gstcaps.c: (gst_caps_is_equal):
16432 Don't assert on NULL <--> X. Fixes #323260
16434 * gst/gstminiobject.c: (gst_mini_object_replace):
16435 If we're doing atomic operations, we might just as well use
16436 the proper way to get an atomic pointer.
16438 * libs/gst/base/gstbasesink.c: (gst_base_sink_get_position):
16439 Clean up debugging.
16441 2005-12-07 Michael Smith <msmith@fluendo.com>
16443 * gst/parse/grammar.y:
16444 Remove handling of { } for threads.
16446 2005-12-06 David Schleef <ds@schleef.org>
16448 * libs/gst/base/gstbasetransform.c: speling fix.
16450 2005-12-06 Thomas Vander Stichele <thomas at apestaart dot org>
16452 * docs/libs/tmpl/gstdataprotocol.sgml:
16453 * docs/random/omega/testing/gstobject.c:
16456 * gst/gstelement.c:
16457 * gst/gstelementfactory.c:
16460 * gst/gstghostpad.c:
16462 * gst/gstpadtemplate.c:
16463 * gst/gstregistryxml.c:
16464 * gst/gsttaglist.c:
16465 * gst/gsttagsetter.c:
16466 * gst/gsttypefind.c:
16468 * libs/gst/base/gstbasesrc.c:
16469 * libs/gst/net/gstnetclientclock.c:
16470 * libs/gst/net/gstnettimeprovider.c:
16471 * plugins/elements/gstfakesrc.c:
16472 * plugins/elements/gstfdsrc.c:
16473 * plugins/elements/gstfilesrc.c:
16474 * plugins/elements/gstidentity.c:
16475 * plugins/elements/gstqueue.c:
16476 * plugins/elements/gsttypefindelement.c:
16477 * plugins/indexers/gstfileindex.c:
16478 * plugins/indexers/gstmemindex.c:
16479 * tests/check/gst/gsttag.c:
16480 * tests/old/examples/cutter/cutter.c:
16481 * tests/old/examples/mixer/mixer.c:
16482 * tests/old/examples/xml/runxml.c: (main):
16483 * tests/old/testsuite/caps/normalisation.c:
16484 * tests/old/testsuite/debug/global.c:
16485 * tests/old/testsuite/parse/parse1.c:
16486 * tools/gst-xmlinspect.c:
16487 * win32/common/dirent.c:
16490 === release 0.10.0 ===
16492 2005-12-05 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16495 releasing 0.10.0, "Maroilles"
16497 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16499 submitted by: Funda Wang <fundawang@linux.net.cn>
16503 added Chinese (Traditional) translation
16505 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16507 * docs/gst/gstreamer-sections.txt:
16508 * docs/libs/tmpl/gstdataprotocol.sgml:
16509 * docs/random/thomasvs/TODO:
16514 2005-12-05 Andy Wingo <wingo@pobox.com>
16516 patch by: Wim Taymans <wim@fluendo.com>
16518 * libs/gst/base/gstbasetransform.c
16519 (gst_base_transform_prepare_output_buf)
16520 (gst_base_transform_buffer_alloc):
16521 * plugins/elements/gstqueue.c (gst_queue_bufferalloc): Call
16522 alloc_buffer_and_set_caps.
16524 * gst/gstpad.c (gst_pad_alloc_buffer): Changed to not call
16525 set_caps on the source pad.
16526 (gst_pad_alloc_buffer_and_set_caps): New function, does what
16527 alloc_buffer used to do. Fixes #322874.
16529 * docs/gst/gstreamer-sections.txt:
16530 * docs/design/part-negotiation.txt:
16531 * docs/pwg/advanced-negotiation.xml: Update for the alloc_buffer
16534 2005-12-05 Thomas Vander Stichele <thomas at apestaart dot org>
16536 patch by: Sebastien Moutte
16539 * win32/common/config.h.in:
16540 * win32/vs6/libgstcontroller.dsp:
16543 2005-12-05 Wim Taymans <wim@fluendo.com>
16545 * gst/gstcaps.c: (gst_caps_is_equal):
16546 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16547 (gst_fake_src_create):
16548 Back out previous code changes, leave doc updates, file bugs
16551 2005-12-05 Wim Taymans <wim@fluendo.com>
16553 * plugins/elements/gstfakesrc.c: (gst_fake_src_class_init),
16554 (gst_fake_src_get_times), (gst_fake_src_create):
16555 * plugins/elements/gstfakesrc.h:
16556 Fix broken sync code.
16558 2005-12-05 Wim Taymans <wim@fluendo.com>
16560 * gst/gstcaps.c: (gst_caps_is_equal):
16561 Comparing NULL against !NULL yields different caps, not a
16564 2005-12-05 Wim Taymans <wim@fluendo.com>
16566 * gst/gstpipeline.c:
16567 Fix small typo in docs.
16569 2005-12-05 Andy Wingo <wingo@pobox.com>
16571 patch by: Thomas Vander Stichele <thomas at apestaart dot org>
16573 * gst/gst.c (init_post): remove hard-coded 0.9 location for
16574 registries/plugins with a MAJORMINOR one.
16575 (plugin_desc): Rename library from gstcoreleements to
16576 staticelements. Fixes #323222.
16578 2005-12-05 Tim-Philipp Müller <tim at centricular dot net>
16580 * libs/gst/base/gstcollectpads.c: (gst_collect_pads_base_init):
16581 Change debug category to 'collectpads' from 'collect_pads'
16584 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16586 patch by: Sebastien Moutte
16588 * libs/gst/controller/gstinterpolation.c:
16589 use convert function for uint64/double
16590 * win32/vs6/libgstcontroller.dsp:
16593 2005-12-04 Thomas Vander Stichele <thomas at apestaart dot org>
16595 * gst/gstutils.c: (gst_util_guint64_to_gdouble),
16596 (gst_util_gdouble_to_guint64), (gst_util_uint64_scale_int64):
16598 * tests/check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
16599 add tests that seem to show that the guint64/gdouble conversions
16602 2005-12-02 Wim Taymans <wim@fluendo.com>
16604 * gst/gstregistry.c: (gst_registry_add_path):
16605 * gst/gstregistry.h:
16606 * gst/gstregistryxml.c:
16609 2005-12-02 Wim Taymans <wim@fluendo.com>
16611 * gst/gstutils.c: (gst_util_uint64_scale_int64),
16612 (gst_util_uint64_scale_int):
16615 * libs/gst/base/gstbasesink.c: (gst_base_sink_handle_object):
16616 Add debug log line.
16618 * libs/gst/base/gstbasetransform.c: (gst_base_transform_event):
16621 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16624 * win32/common/config.h:
16625 * win32/vs6/gstreamer.dsw:
16626 * win32/vs6/libgstcoreelements.dsp:
16627 * win32/vs6/libgstelements.dsp:
16628 renamed core elements plugin
16630 2005-12-02 Thomas Vander Stichele <thomas at apestaart dot org>
16632 * tools/gst-run.c: (compare_major_minor), (find_highest_version),
16634 do piece-wise major/minor comparison so 0.9 < 0.10
16635 also allow .exe extensions for tools
16637 2005-12-02 Michael Smith <msmith@fluendo.com>
16640 Escape a % to make gtkdoc happier; bug 322958.
16642 === release 0.9.7 ===
16644 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16647 releasing 0.9.7, "My Dog Has No Nose"
16649 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16651 * common/gst-xmlinspect.py:
16653 * docs/libs/tmpl/gstdataprotocol.sgml:
16654 * docs/random/release:
16673 * win32/common/config.h:
16674 * win32/common/config.h.in:
16675 * win32/vs6/gst_inspect.dsp:
16676 * win32/vs6/gst_launch.dsp:
16677 * win32/vs6/libgstbase.dsp:
16678 * win32/vs6/libgstelements.dsp:
16679 * win32/vs6/libgstreamer.dsp:
16680 * win32/vs7/GStreamer.vcproj:
16681 * win32/vs7/gst-inspect.vcproj:
16682 * win32/vs7/gst-launch.vcproj:
16683 * win32/vs7/libgstbase.vcproj:
16684 bump GST_MAJORMINOR to 0.10
16685 reset libtool version
16687 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16691 Added Bulgarian translation by (Alexander Shopov)
16693 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16695 * tests/check/gst/gstplugin.c:
16698 2005-12-01 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16700 * common/gst-xmlinspect.py:
16701 * common/gtk-doc-plugins.mak:
16703 * docs/Makefile.am:
16704 * docs/gst/Makefile.am:
16705 * docs/gst/gstreamer-docs.sgml:
16706 * docs/gst/gstreamer-sections.txt:
16707 * docs/gst/gstreamer.types:
16708 * docs/gst/gstreamer.types.in:
16709 * docs/plugins/Makefile.am:
16710 * docs/plugins/gstreamer-plugins-docs.sgml:
16711 * docs/plugins/gstreamer-plugins-sections.txt:
16712 * docs/plugins/gstreamer-plugins.types:
16713 * docs/plugins/inspect.stamp:
16714 * docs/plugins/inspect/plugin-coreelements.xml:
16715 * docs/plugins/inspect/plugin-coreindexers.xml:
16716 * docs/plugins/scanobj-build.stamp:
16717 * gstreamer.spec.in:
16718 * plugins/elements/Makefile.am:
16719 * plugins/elements/gstelements.c:
16720 * plugins/elements/gstfakesink.c:
16721 * plugins/elements/gstfakesrc.c:
16722 * plugins/elements/gstfilesink.c:
16723 * plugins/elements/gstfilesrc.c:
16724 * plugins/elements/gstqueue.c:
16725 * plugins/indexers/Makefile.am:
16726 * plugins/indexers/gstindexers.c:
16727 document core plugins in a separate document just like all the
16729 rename these plugins to something starting with core
16731 2005-12-01 Andy Wingo <wingo@pobox.com>
16733 * gst/gstevent.h (struct _GstEvent): Meant to remove the extra
16734 padding here before, but it missed the commit.
16736 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16738 * libs/gst/controller/gstinterpolation.c:
16739 whitespace prices have crashed, we should feel free to use some now
16740 use gst_guint64_to_gdouble
16742 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16744 * libs/gst/controller/gstcontroller.c:
16745 * libs/gst/controller/gsthelper.c:
16746 * libs/gst/controller/gstinterpolation.c:
16747 * libs/gst/controller/lib.c:
16748 wrap config.h include
16750 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16752 * docs/gst/gstreamer-sections.txt:
16755 2005-12-01 Thomas Vander Stichele <thomas at apestaart dot org>
16757 * plugins/elements/gstelements.c:
16758 * plugins/elements/gstfdsink.c: (gst_fd_sink__base_init),
16759 (gst_fd_sink__class_init), (gst_fd_sink__init),
16760 (gst_fd_sink__chain), (gst_fd_sink__set_property),
16761 (gst_fd_sink__get_property):
16762 * plugins/elements/gstfdsink.h:
16763 * plugins/elements/gstfdsrc.c: (_do_init), (gst_fd_src_base_init),
16764 (gst_fd_src_class_init), (gst_fd_src_init), (gst_fd_src_dispose),
16765 (gst_fd_src_update_fd), (gst_fd_src_start), (gst_fd_src_stop),
16766 (gst_fd_src_unlock), (gst_fd_src_set_property),
16767 (gst_fd_src_get_property), (gst_fd_src_create),
16768 (gst_fd_src_is_seekable), (gst_fd_src_get_size),
16769 (gst_fd_src_uri_get_type), (gst_fd_src_uri_get_protocols),
16770 (gst_fd_src_uri_get_uri), (gst_fd_src_uri_set_uri),
16771 (gst_fd_src_uri_handler_init):
16772 * plugins/elements/gstfdsrc.h:
16773 * plugins/elements/gstqueue.c: (gst_queue_get_type):
16776 2005-11-30 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
16778 * docs/gst/Makefile.am:
16779 * docs/gst/gstreamer.types.in:
16783 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16789 * gst/gstregistry.h:
16790 * tests/benchmarks/complexity.c:
16791 * tests/benchmarks/mass-elements.c:
16792 * tests/check/Makefile.am:
16793 * tools/Makefile.am:
16794 * tools/gst-inspect.c:
16795 * tools/gst-xmlinspect.c:
16796 various fixes to make
16797 --disable-nls --disable-registry --disable-loadsave
16798 --disable-parse --disable-gst-debug
16799 work and get the core .so down to 360444 bytes after stripping
16801 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16806 * docs/random/thomasvs/TODO:
16807 * tests/Makefile.am:
16811 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16813 * win32/GStreamer.vcproj:
16816 * win32/Makefile.inspect:
16817 * win32/Makefile.launch:
16818 * win32/Makefile.register:
16819 * win32/README.txt:
16820 * win32/gst-inspect.vcproj:
16821 * win32/gst-launch.vcproj:
16822 * win32/gst-register.vcproj:
16823 * win32/gstelements.vcproj:
16824 * win32/gstgetbits.def:
16825 * win32/gstgetbits.vcproj:
16826 * win32/gstreamer-dbg.def:
16827 * win32/gstreamer.def:
16828 * win32/libgstbase.def:
16829 * win32/libgstbase.vcproj:
16830 * win32/link_oldruntime.c:
16834 * win32/msvc71.sln:
16835 move even more stuff, win32/ is nice and clean now
16837 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16839 * libs/gst/control/.cvsignore:
16844 * win32/gstbytestream.def:
16845 * win32/gstbytestream.vcproj:
16846 * win32/gstconfig.h:
16847 * win32/gstenumtypes.c:
16848 * win32/gstenumtypes.h:
16849 * win32/gstoptimalscheduler.vcproj:
16850 * win32/gstversion.h:
16852 * win32/testsuite/bins.vcproj:
16853 * win32/testsuite/bytestream.vcproj:
16854 * win32/testsuite/caps.vcproj:
16855 * win32/testsuite/cleanup.vcproj:
16856 * win32/testsuite/clock.vcproj:
16857 * win32/testsuite/debug.vcproj:
16858 * win32/testsuite/dlopen.vcproj:
16859 * win32/testsuite/dynparams.vcproj:
16860 * win32/testsuite/elements.vcproj:
16861 * win32/testsuite/ghostpads.vcproj:
16862 * win32/testsuite/indexers.vcproj:
16863 * win32/testsuite/negotiation.vcproj:
16864 * win32/testsuite/parse.vcproj:
16865 * win32/testsuite/plugin.vcproj:
16866 * win32/testsuite/refcounting.vcproj:
16867 * win32/testsuite/schedulers.vcproj:
16868 * win32/testsuite/states.vcproj:
16869 * win32/testsuite/tags.vcproj:
16870 * win32/testsuite/threads.vcproj:
16871 remove old win32 stuff that isn't maintained and should be
16874 2005-11-30 Andy Wingo <wingo@pobox.com>
16876 * configure.ac (GST_PKG_DEPS): Revert previous patch, makes
16877 loading the gst.interfaces python module bork.
16879 * configure.ac (GST_PKG_DEPS): Use gmodule-no-export-2.0.pc,
16880 available since GLib 2.2. Fixes #318031.
16882 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
16885 * check/.cvsignore:
16886 * check/Makefile.am:
16887 * check/elements/.cvsignore:
16888 * check/elements/fakesrc.c:
16889 * check/elements/fdsrc.c:
16890 * check/elements/identity.c:
16891 * check/generic/.cvsignore:
16892 * check/generic/states.c:
16893 * check/gst-libs/.cvsignore:
16894 * check/gst-libs/controller.c:
16895 * check/gst-libs/gdp.c:
16896 * check/gst/.cvsignore:
16897 * check/gst/capslist.h:
16899 * check/gst/gstbin.c:
16900 * check/gst/gstbuffer.c:
16901 * check/gst/gstbus.c:
16902 * check/gst/gstcaps.c:
16903 * check/gst/gstelement.c:
16904 * check/gst/gstevent.c:
16905 * check/gst/gstghostpad.c:
16906 * check/gst/gstiterator.c:
16907 * check/gst/gstmessage.c:
16908 * check/gst/gstminiobject.c:
16909 * check/gst/gstobject.c:
16910 * check/gst/gstpad.c:
16911 * check/gst/gstpipeline.c:
16912 * check/gst/gstplugin.c:
16913 * check/gst/gstsegment.c:
16914 * check/gst/gststructure.c:
16915 * check/gst/gstsystemclock.c:
16916 * check/gst/gsttag.c:
16917 * check/gst/gstutils.c:
16918 * check/gst/gstvalue.c:
16919 * check/net/.cvsignore:
16920 * check/net/gstnetclientclock.c:
16921 * check/net/gstnettimeprovider.c:
16922 * check/pipelines/.cvsignore:
16923 * check/pipelines/cleanup.c:
16924 * check/pipelines/simple_launch_lines.c:
16925 * check/pipelines/stress.c:
16926 * check/states/.cvsignore:
16927 * check/states/sinks.c:
16929 * examples/Makefile.am:
16930 * examples/appreader/.cvsignore:
16931 * examples/appreader/Makefile.am:
16932 * examples/appreader/appreader.c:
16933 * examples/controller/.cvsignore:
16934 * examples/controller/Makefile.am:
16935 * examples/controller/audio-example.c:
16936 * examples/cutter/.cvsignore:
16937 * examples/cutter/Makefile.am:
16938 * examples/cutter/cutter.c:
16939 * examples/cutter/cutter.h:
16940 * examples/events/Makefile.am:
16941 * examples/events/seek.c:
16942 * examples/helloworld/.cvsignore:
16943 * examples/helloworld/Makefile.am:
16944 * examples/helloworld/helloworld.c:
16945 * examples/helloworld2/.cvsignore:
16946 * examples/helloworld2/Makefile.am:
16947 * examples/helloworld2/helloworld2.c:
16948 * examples/launch/.cvsignore:
16949 * examples/launch/Makefile.am:
16950 * examples/launch/mp3parselaunch.c:
16951 * examples/launch/mp3play:
16952 * examples/manual/.cvsignore:
16953 * examples/manual/Makefile.am:
16954 * examples/manual/extract.pl:
16955 * examples/metadata/Makefile.am:
16956 * examples/metadata/read-metadata.c:
16957 * examples/mixer/.cvsignore:
16958 * examples/mixer/Makefile.am:
16959 * examples/mixer/mixer.c:
16960 * examples/mixer/mixer.h:
16961 * examples/pingpong/.cvsignore:
16962 * examples/pingpong/Makefile.am:
16963 * examples/pingpong/pingpong.c:
16964 * examples/plugins/.cvsignore:
16965 * examples/plugins/Makefile.am:
16966 * examples/plugins/example.c:
16967 * examples/plugins/example.h:
16968 * examples/pwg/.cvsignore:
16969 * examples/pwg/Makefile.am:
16970 * examples/pwg/extract.pl:
16971 * examples/queue/.cvsignore:
16972 * examples/queue/Makefile.am:
16973 * examples/queue/queue.c:
16974 * examples/queue2/.cvsignore:
16975 * examples/queue2/Makefile.am:
16976 * examples/queue2/queue2.c:
16977 * examples/queue3/.cvsignore:
16978 * examples/queue3/Makefile.am:
16979 * examples/queue3/queue3.c:
16980 * examples/queue4/.cvsignore:
16981 * examples/queue4/Makefile.am:
16982 * examples/queue4/queue4.c:
16983 * examples/retag/.cvsignore:
16984 * examples/retag/Makefile.am:
16985 * examples/retag/retag.c:
16986 * examples/retag/transcode.c:
16987 * examples/thread/.cvsignore:
16988 * examples/thread/Makefile.am:
16989 * examples/thread/thread.c:
16990 * examples/typefind/.cvsignore:
16991 * examples/typefind/Makefile.am:
16992 * examples/typefind/typefind.c:
16993 * examples/xml/.cvsignore:
16994 * examples/xml/Makefile.am:
16995 * examples/xml/createxml.c:
16996 * examples/xml/runxml.c:
16997 * tests/Makefile.am:
16998 * tests/check/Makefile.am:
16999 * testsuite/.cvsignore:
17000 * testsuite/Makefile.am:
17002 * testsuite/caps/.cvsignore:
17003 * testsuite/caps/Makefile.am:
17004 * testsuite/caps/app_fixate.c:
17005 * testsuite/caps/audioscale.c:
17006 * testsuite/caps/caps.c:
17007 * testsuite/caps/caps.h:
17008 * testsuite/caps/caps_strings:
17009 * testsuite/caps/compatibility.c:
17010 * testsuite/caps/deserialize.c:
17011 * testsuite/caps/enumcaps.c:
17012 * testsuite/caps/eratosthenes.c:
17013 * testsuite/caps/filtercaps.c:
17014 * testsuite/caps/fixed.c:
17015 * testsuite/caps/fraction-convert.c:
17016 * testsuite/caps/fraction-multiply-and-zero.c:
17017 * testsuite/caps/intersect2.c:
17018 * testsuite/caps/intersection.c:
17019 * testsuite/caps/normalisation.c:
17020 * testsuite/caps/random.c:
17021 * testsuite/caps/renegotiate.c:
17022 * testsuite/caps/sets.c:
17023 * testsuite/caps/simplify.c:
17024 * testsuite/caps/string-conversions.c:
17025 * testsuite/caps/structure.c:
17026 * testsuite/caps/subtract.c:
17027 * testsuite/caps/union.c:
17028 * testsuite/debug/.cvsignore:
17029 * testsuite/debug/Makefile.am:
17030 * testsuite/debug/category.c:
17031 * testsuite/debug/commandline.c:
17032 * testsuite/debug/global.c:
17033 * testsuite/debug/output.c:
17034 * testsuite/debug/printf_extension.c:
17035 * testsuite/dlopen/.cvsignore:
17036 * testsuite/dlopen/Makefile.am:
17037 * testsuite/dlopen/dlopen_gst.c:
17038 * testsuite/dlopen/loadgst.c:
17039 * testsuite/elements/.cvsignore:
17040 * testsuite/elements/Makefile.am:
17041 * testsuite/elements/gst-inspect-check.in:
17042 * testsuite/elements/struct_i386.h:
17043 * testsuite/elements/struct_size.c:
17044 * testsuite/indexers/.cvsignore:
17045 * testsuite/indexers/Makefile.am:
17046 * testsuite/indexers/cache1.c:
17047 * testsuite/indexers/indexdump.c:
17048 * testsuite/parse/.cvsignore:
17049 * testsuite/parse/Makefile.am:
17050 * testsuite/parse/parse1.c:
17051 * testsuite/parse/parse2.c:
17052 * testsuite/plugin/.cvsignore:
17053 * testsuite/plugin/Makefile.am:
17054 * testsuite/plugin/README:
17055 * testsuite/plugin/dynamic.c:
17056 * testsuite/plugin/linked.c:
17057 * testsuite/plugin/loading.c:
17058 * testsuite/plugin/registry.c:
17059 * testsuite/plugin/static.c:
17060 * testsuite/plugin/static2.c:
17061 * testsuite/plugin/testplugin.c:
17062 * testsuite/plugin/testplugin2.c:
17063 * testsuite/plugin/testplugin2_s.c:
17064 * testsuite/plugin/testplugin_s.c:
17065 * testsuite/refcounting/.cvsignore:
17066 * testsuite/refcounting/Makefile.am:
17067 * testsuite/refcounting/bin.c:
17068 * testsuite/refcounting/element.c:
17069 * testsuite/refcounting/element_pad.c:
17070 * testsuite/refcounting/mainloop.c:
17071 * testsuite/refcounting/mem.c:
17072 * testsuite/refcounting/mem.h:
17073 * testsuite/refcounting/object.c:
17074 * testsuite/refcounting/pad.c:
17075 * testsuite/refcounting/sched.c:
17076 * testsuite/refcounting/thread.c:
17077 * testsuite/states/.cvsignore:
17078 * testsuite/states/Makefile.am:
17079 * testsuite/states/bin.c:
17080 * testsuite/states/locked.c:
17081 * testsuite/states/parent.c:
17082 * testsuite/threads/.cvsignore:
17083 * testsuite/threads/159566.c:
17084 * testsuite/threads/159852.c:
17085 * testsuite/threads/Makefile.am:
17086 * testsuite/threads/queue.c:
17087 * testsuite/threads/signals.c:
17088 * testsuite/threads/staticrec.c:
17089 * testsuite/threads/thread.c:
17090 * testsuite/threads/threadb.c:
17091 * testsuite/threads/threadc.c:
17092 * testsuite/threads/threadd.c:
17093 * testsuite/threads/threade.c:
17094 * testsuite/threads/threadf.c:
17095 * testsuite/threads/threadg.c:
17096 * testsuite/threads/threadh.c:
17097 * testsuite/threads/threadi.c:
17098 move all of these under tests
17100 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17103 * tests/Makefile.am:
17106 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17108 * docs/gst/gstreamer-sections.txt:
17109 * tests/sched/.cvsignore:
17110 * tests/sched/Makefile.am:
17111 * tests/sched/cases/(fs-fs).xml:
17112 * tests/sched/cases/(fs-i-fs).xml:
17113 * tests/sched/cases/(fs-i-i-fs).xml:
17114 * tests/sched/cases/(fs-i-q[i-fs]).xml:
17115 * tests/sched/dynamic-pipeline.c:
17116 * tests/sched/interrupt1.c:
17117 * tests/sched/interrupt2.c:
17118 * tests/sched/interrupt3.c:
17119 * tests/sched/runtestcases:
17120 * tests/sched/runxml.c:
17121 * tests/sched/sched-stress.c:
17122 * tests/sched/sort.c:
17123 * tests/sched/testcases:
17124 * tests/sched/testcases1.tc:
17125 * tests/seeking/.cvsignore:
17126 * tests/seeking/Makefile.am:
17127 * tests/seeking/seeking1.c:
17128 * tests/threadstate/.cvsignore:
17129 * tests/threadstate/Makefile.am:
17130 * tests/threadstate/test1.c:
17131 * tests/threadstate/test2.c:
17132 * tests/threadstate/threadstate1.c:
17133 * tests/threadstate/threadstate2.c:
17134 * tests/threadstate/threadstate3.c:
17135 * tests/threadstate/threadstate4.c:
17136 * tests/threadstate/threadstate5.c:
17137 remove obsolete tests
17139 * tests/bench-complexity.scm:
17140 * tests/bench-mass_elements.scm:
17141 * tests/complexity.c:
17142 * tests/complexity.gnuplot:
17143 * tests/instantiate/.cvsignore:
17144 * tests/instantiate/Makefile.am:
17145 * tests/instantiate/caps.c:
17146 * tests/mass_elements.c:
17147 * tests/network-clock-utils.scm:
17148 * tests/network-clock.scm:
17150 First pass at cleaning up tests/ dir before moving the rest
17151 Combined with CVS surgery
17153 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17156 queue has moved, update
17158 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17160 * docs/gst/gstreamer-sections.txt:
17161 remove double entries from the docs
17162 * gst/gst_private.h:
17163 * gst/gstinfo.c: (_gst_debug_init):
17164 remove the THREAD debug category
17168 * docs/gst/gstreamer.types:
17169 * plugins/elements/gstqueue.c: (gst_queue_get_type),
17170 (gst_queue_init), (gst_queue_finalize), (gst_queue_change_state):
17171 completely move queue and fix up debugging categories
17173 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17175 * plugins/elements/gstidentity.c: (gst_identity_transform_ip):
17176 make initialization portable, using LL is not
17178 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17180 * win32/common/gstconfig.h:
17183 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17185 * win32/common/libgstreamer.def:
17186 rename symbols; sort base section
17188 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17190 * gst/gstclock.c: (do_linear_regression):
17191 remove crack non-portable handrolled DEBUG macro
17193 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17195 * docs/random/release:
17197 * win32/common/gstenumtypes.c: (register_gst_object_flags),
17198 (gst_object_flags_get_type), (register_gst_bin_flags),
17199 (gst_bin_flags_get_type), (register_gst_buffer_flag),
17200 (gst_buffer_flag_get_type), (register_gst_bus_flags),
17201 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
17202 (gst_bus_sync_reply_get_type), (register_gst_caps_flags),
17203 (gst_caps_flags_get_type), (register_gst_clock_return),
17204 (gst_clock_return_get_type), (register_gst_clock_entry_type),
17205 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
17206 (gst_clock_flags_get_type), (register_gst_state),
17207 (gst_state_get_type), (register_gst_state_change_return),
17208 (gst_state_change_return_get_type), (register_gst_state_change),
17209 (gst_state_change_get_type), (register_gst_element_flags),
17210 (gst_element_flags_get_type), (register_gst_core_error),
17211 (gst_core_error_get_type), (register_gst_library_error),
17212 (gst_library_error_get_type), (register_gst_resource_error),
17213 (gst_resource_error_get_type), (register_gst_stream_error),
17214 (gst_stream_error_get_type), (register_gst_event_type_flags),
17215 (gst_event_type_flags_get_type), (register_gst_event_type),
17216 (gst_event_type_get_type), (register_gst_seek_type),
17217 (gst_seek_type_get_type), (register_gst_seek_flags),
17218 (gst_seek_flags_get_type), (register_gst_format),
17219 (gst_format_get_type), (register_gst_index_certainty),
17220 (gst_index_certainty_get_type), (register_gst_index_entry_type),
17221 (gst_index_entry_type_get_type),
17222 (register_gst_index_lookup_method),
17223 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
17224 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
17225 (gst_index_resolver_method_get_type), (register_gst_index_flags),
17226 (gst_index_flags_get_type), (register_gst_debug_level),
17227 (gst_debug_level_get_type), (register_gst_debug_color_flags),
17228 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
17229 (gst_iterator_result_get_type), (register_gst_iterator_item),
17230 (gst_iterator_item_get_type), (register_gst_message_type),
17231 (gst_message_type_get_type), (register_gst_mini_object_flags),
17232 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
17233 (gst_pad_link_return_get_type), (register_gst_flow_return),
17234 (gst_flow_return_get_type), (register_gst_activate_mode),
17235 (gst_activate_mode_get_type), (register_gst_pad_direction),
17236 (gst_pad_direction_get_type), (register_gst_pad_flags),
17237 (gst_pad_flags_get_type), (register_gst_pad_presence),
17238 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
17239 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
17240 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
17241 (gst_plugin_error_get_type), (register_gst_plugin_flags),
17242 (gst_plugin_flags_get_type), (register_gst_rank),
17243 (gst_rank_get_type), (register_gst_query_type),
17244 (gst_query_type_get_type), (register_gst_tag_merge_mode),
17245 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
17246 (gst_tag_flag_get_type), (register_gst_task_state),
17247 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
17248 (gst_alloc_trace_flags_get_type),
17249 (register_gst_type_find_probability),
17250 (gst_type_find_probability_get_type), (register_gst_uri_type),
17251 (gst_uri_type_get_type), (register_gst_parse_error),
17252 (gst_parse_error_get_type):
17253 * win32/common/gstenumtypes.h:
17254 * win32/common/gstversion.h:
17255 update visual studio generated files
17257 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17259 * win32/vs6/libgstbase.dsp:
17260 * win32/vs6/libgstelements.dsp:
17261 update project files for new locations
17263 2005-11-30 Thomas Vander Stichele <thomas at apestaart dot org>
17268 reinstate and update
17273 * docs/random/LICENSE:
17276 2005-11-30 Edward Hervey <edward@fluendo.com>
17278 * gst/gsttypefind.c: (gst_type_find_register):
17279 * gst/gsttypefind.h:
17280 * gst/gsttypefindfactory.c: (gst_type_find_factory_init),
17281 (gst_type_find_factory_dispose):
17282 * gst/gsttypefindfactory.h:
17283 Fix memory leak in GstTypeFindFactory.
17285 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17288 * plugins/elements/Makefile.am:
17289 * plugins/elements/gstelements.c:
17290 * plugins/elements/gstqueue.c:
17291 move queue from core to the elements plugin
17293 2005-11-29 Andy Wingo <wingo@pobox.com>
17295 * libs/gst/base/gstbasetransform.h:
17296 * libs/gst/base/gstbasesrc.h:
17297 * libs/gst/base/gstbasesink.h: en-LARGE the padding.
17299 * gst/gstconfig.h.in (GST_PADDING_LARGE): New define, the number
17300 of pointers by which to pad very extensible base classes (like the
17301 ones in libs/gst/base).
17303 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17305 * docs/gst/gstreamer-docs.sgml:
17306 * docs/gst/gstreamer-sections.txt:
17307 * docs/libs/gstreamer-libs-docs.sgml:
17308 * docs/libs/gstreamer-libs-sections.txt:
17309 moving documentation from core to lib
17311 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17313 * check/Makefile.am:
17315 * docs/gst/Makefile.am:
17317 * gst/base/.cvsignore:
17318 * gst/base/Makefile.am:
17320 * gst/base/gstadapter.c:
17321 * gst/base/gstadapter.h:
17322 * gst/base/gstbasesink.c:
17323 * gst/base/gstbasesink.h:
17324 * gst/base/gstbasesrc.c:
17325 * gst/base/gstbasesrc.h:
17326 * gst/base/gstbasetransform.c:
17327 * gst/base/gstbasetransform.h:
17328 * gst/base/gstcollectpads.c:
17329 * gst/base/gstcollectpads.h:
17330 * gst/base/gstpushsrc.c:
17331 * gst/base/gstpushsrc.h:
17332 * gst/base/gsttypefindhelper.c:
17333 * gst/base/gsttypefindhelper.h:
17334 * gst/check/Makefile.am:
17335 * gst/check/gstcheck.c:
17336 * gst/check/gstcheck.h:
17337 * gst/net/Makefile.am:
17338 * gst/net/gstnet.h:
17339 * gst/net/gstnetclientclock.c:
17340 * gst/net/gstnetclientclock.h:
17341 * gst/net/gstnettimepacket.c:
17342 * gst/net/gstnettimepacket.h:
17343 * gst/net/gstnettimeprovider.c:
17344 * gst/net/gstnettimeprovider.h:
17345 * libs/gst/Makefile.am:
17346 * libs/gst/base/Makefile.am:
17347 * libs/gst/base/gstbasetransform.c:
17348 * libs/gst/check/Makefile.am:
17349 * plugins/elements/Makefile.am:
17351 CVS surgery + support to move base, check, and net out of gst
17354 2005-11-29 Andy Wingo <wingo@pobox.com>
17356 * gst/gstevent.h (struct _GstEvent): Only one pointer of padding.
17358 * gst/gststructure.h (struct _GstStructure): Only one pointer of
17361 * gst/gstquery.h (struct _GstQuery): Only one pointer of padding.
17363 * gst/gstpluginfeature.h: Remove a comment in PluginFeature.
17365 * gst/gstplugin.h (struct _GstPluginClass): Add some padding.
17367 * gst/gstobject.h: (struct _GstObject): Only one pointer of
17368 padding; reduces object size by about 30%. We don't expect
17369 anything else to go into gstobject.
17371 * gst/gstminiobject.h (struct _GstMiniObject)
17372 (struct _GstMiniObjectClass): Only one pointer of padding; the
17373 payload is only a pointer and two ints anyway. For the class there
17374 are only two methods as well.
17376 * gst/gstelement.h (struct _GstElementClass): Removed
17377 the state_changed signal callback, it is not used.
17379 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17381 * docs/gst/gstreamer.types:
17382 fix includes, though they are a little dinky
17384 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17386 * check/Makefile.am:
17387 look in the right place for elements, a lot more chance of
17390 remove indexers and elements subdirs
17391 * plugins/Makefile.am:
17392 make indexers conditional
17394 2005-11-29 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
17398 * plugins/elements/Makefile.am:
17399 * plugins/elements/gstcapsfilter.c:
17400 * plugins/elements/gstfilesink.c:
17401 * plugins/elements/gstfilesrc.c:
17402 * plugins/elements/gstidentity.c:
17403 * plugins/indexers/Makefile.am:
17404 do CVS surgery and related build fixery to move elements
17405 and indexers in a new gstreamer/plugins directory, out of the
17408 2005-11-29 Andy Wingo <wingo@pobox.com>
17410 * check/Makefile.am:
17411 * pkgconfig/gstreamer-net-uninstalled.pc.in:
17412 * pkgconfig/gstreamer-net.pc.in:
17413 * gst/net/Makefile.am: Rename gstnet-tempname to gstnet. Fixes
17416 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17418 * tools/Makefile.am:
17419 * tools/gst-complete.1.in:
17420 * tools/gst-complete.c:
17421 * tools/gst-compprep.1.in:
17422 * tools/gst-compprep.c:
17423 removing -compprep and -complete
17425 2005-11-29 Thomas Vander Stichele <thomas at apestaart dot org>
17427 * gst/gstevent.c: (gst_event_new_new_segment),
17428 (gst_event_parse_new_segment):
17430 fix #320529 - clean up new_segment API and structure.
17431 Let's hope everyone was using the methods, and not the structure.
17433 2005-11-29 Edward Hervey <edward@fluendo.com>
17435 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
17436 (gst_base_sink_event), (gst_base_sink_do_sync),
17437 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
17438 Properly handle non GST_FORMAT_TIME segment
17439 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
17440 Properly handle non GST_FORMAT_TIME segment
17441 * gst/gstsegment.c:
17442 This function is valid if the accumulator is 0 and the format
17443 is different from the requested format.
17445 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17447 * docs/gst/gstreamer-sections.txt:
17448 Add gst_query_new_seeking and gst_query_parse_seeking to the
17451 2005-11-29 Jan Schmidt <thaytan@mad.scientist.com>
17453 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
17454 Treat a pad alloc with new caps the same as if we were not
17455 negotiated, in order to allow a changing upstream output
17456 to produce a new format of data.
17458 2005-11-29 Edward Hervey <edward@fluendo.com>
17460 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
17461 (gst_base_transform_event), (gst_base_transform_eventfunc):
17462 The event virtual method is now properly implemented, with a default
17464 Sub classes should call the parent_class event method. They should
17465 return FALSE if they had a problem handling the given event, or don't
17466 want GstBaseTransform to send that even downstream
17467 * gst/elements/gstidentity.c: (gst_identity_class_init),
17468 (gst_identity_init), (gst_identity_event),
17469 (gst_identity_transform_ip), (gst_identity_set_property),
17470 (gst_identity_get_property):
17471 * gst/elements/gstidentity.h:
17472 Added the single-segment boolean property.
17473 If set to TRUE, it will output a single segment of data, starting from
17474 0, will eat up all incoming newsegment, and modify the timestamp of the
17475 buffers accordingly
17477 2005-11-29 Tim-Philipp Müller <tim at centricular dot net>
17479 * gst/gstghostpad.c: (gst_proxy_pad_get_target):
17480 Don't ref NULL target pad (#322751). Improve docs.
17482 2005-11-29 Michael Smith <msmith@fluendo.com>
17484 * gst/gstregistryxml.c: (load_plugin):
17485 Don't crash if we failed to load a feature from a plugin.
17487 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17489 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
17491 use more check API and less GLib API
17493 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17496 don't run checks if we don't have check
17497 * common/check.mak:
17498 remove the registry when running make torture
17499 * docs/gst/gstreamer-sections.txt:
17500 remove second multiply
17501 * gst/gstqueue.c: (gst_queue_loop):
17502 fix a compile warning when disabling debug
17504 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17507 Hey! Let's print the pad name if the pointer != NULL instead
17508 of when it == NULL :-)
17510 2005-11-28 Wim Taymans <wim@fluendo.com>
17512 * check/gst/gstutils.c: (GST_START_TEST):
17513 Updated check, add some scaling accuracy checking code.
17515 * gst/gstutils.c: (gst_util_div128_64),
17516 (gst_util_uint64_scale_int64), (gst_util_uint64_scale),
17517 (gst_util_uint64_scale_int):
17518 Fix 6 times faster division code. Optimize for common
17519 1/1 and less common X/1 cases.
17521 2005-11-28 Wim Taymans <wim@fluendo.com>
17523 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17526 * gst/gstclock.c: (gst_clock_finalize), (gst_clock_set_master),
17527 (do_linear_regression), (gst_clock_add_observation):
17529 Release lock when the clock cannot be slaved.
17530 Catch the case where the regression returned an invalid denominator.
17532 * gst/gstutils.c: (gst_util_div128_64_iterate),
17533 (gst_util_div128_64), (gst_util_uint64_scale_int64),
17534 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17535 Add protentially more performant non-iterative 128/64 divide function
17536 that unfortunatly does not work yet.
17537 Shortcut the trivial 0/X = 0 case.
17538 Remove the warnings on overflow.
17540 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17542 * gst/gstplugin.c: (gst_plugin_register_func):
17543 everything causing a plugin not to load should be at least a WARNING
17545 2005-11-28 Stefan Kost <ensonic@users.sf.net>
17547 * docs/random/ensonic/dparams.txt:
17548 some TODOs for the next dev cycle
17549 * libs/gst/controller/gstcontroller.c:
17550 (gst_controlled_property_set_interpolation_mode),
17551 (gst_controlled_property_new):
17552 * libs/gst/controller/gstcontroller.h:
17553 use base type to assign acccessor functions
17555 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17557 * check/Makefile.am:
17558 Oops, that should have been top_srcdir
17560 2005-11-28 Jan Schmidt <thaytan@mad.scientist.com>
17562 * check/Makefile.am:
17563 * check/elements/fdsrc.c: (GST_START_TEST):
17564 Use a cmdline define to specify the location of a file to use for
17565 testing, to avoid breaking distcheck.
17567 2005-11-28 Andy Wingo <wingo@pobox.com>
17569 * gst/gstpad.c (fixate_value): Use array functions for arrays.
17571 2005-11-28 Edward Hervey <edward@fluendo.com>
17573 * tools/gst-launch.c: (main):
17574 Clarify the output strings, makes it easier to translate.
17577 2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
17580 don't try and build net if we don't even have <sys/socket.h>
17582 2005-11-27 Jan Schmidt <thaytan@mad.scientist.com>
17584 * check/Makefile.am:
17585 * check/elements/fdsrc.c: (event_func), (setup_fdsrc),
17586 (cleanup_fdsrc), (GST_START_TEST), (fdsrc_suite), (main):
17587 Add tests for fdsrc seekability
17589 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
17590 (gst_fdsrc_init), (gst_fdsrc_update_fd), (gst_fdsrc_start),
17591 (gst_fdsrc_set_property), (gst_fdsrc_is_seekable),
17592 (gst_fdsrc_get_size), (gst_fdsrc_uri_set_uri):
17593 * gst/elements/gstfdsrc.h:
17594 fdsrc should not be a 'live' source.
17595 Implement seeking on seekable fd's.
17597 * gst/gstquery.c: (gst_query_new_seeking),
17598 (gst_query_parse_seeking):
17600 Implement SEEKING query functions:
17601 *_new_seeking and *_parse_seeking
17603 2005-11-27 Stefan Kost <ensonic@users.sf.net>
17605 * gst/gstelement.c: (gst_element_dispose):
17608 * gst/gstiterator.c:
17609 * gst/gststructure.c:
17612 * libs/gst/controller/gstcontroller.c:
17613 (gst_controlled_property_set_interpolation_mode):
17614 * libs/gst/controller/gstcontroller.h:
17615 * libs/gst/controller/gstinterpolation.c:
17616 (interpolate_none_get_enum_value_array):
17617 support controlling enums
17619 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17622 Improve documentation for gst_value_union().
17625 Change return value for union, intersect and subtract functions
17626 from gint to gboolean.
17628 2005-11-27 Tim-Philipp Müller <tim at centricular dot net>
17630 * gst/gstvalue.c: (gst_value_serialize_any_list),
17631 (gst_value_transform_any_list_string),
17632 (gst_value_deserialize_list), (gst_value_deserialize_array),
17633 (gst_value_set_int_range), (gst_value_deserialize_int_range),
17634 (gst_value_set_double_range), (gst_value_deserialize_double_range),
17635 (gst_value_set_fraction_range_full),
17636 (gst_value_deserialize_fraction_range),
17637 (gst_value_deserialize_caps), (gst_value_deserialize_buffer),
17638 (gst_value_deserialize_boolean),
17639 (gst_value_deserialize_int_helper), (gst_value_deserialize_double),
17640 (gst_value_serialize_float), (gst_value_deserialize_float),
17641 (gst_string_wrap), (gst_value_deserialize_string),
17642 (gst_value_deserialize_enum), (gst_value_deserialize_flags),
17643 (gst_value_union_int_range_int_range),
17644 (gst_value_intersect_int_range_int_range),
17645 (gst_value_intersect_double_range_double_range),
17646 (gst_value_create_new_range), (gst_value_subtract_int_range_int),
17647 (gst_value_subtract_int_range_int_range),
17648 (gst_value_subtract_double_double_range),
17649 (gst_value_subtract_double_range_double_range),
17650 (gst_value_deserialize_fraction):
17652 Use gint, gdouble and gchar in our API instead of int, double and
17653 char (and make usage in gstvalue.c more consistent).
17655 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17657 * check/Makefile.am:
17658 * libs/gst/controller/Makefile.am:
17659 * libs/gst/dataprotocol/Makefile.am:
17660 fix up Makefile.am and remove GST_ENABLE_NEW
17662 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17666 * gst/base/Makefile.am:
17667 * gst/check/Makefile.am:
17668 * gst/elements/Makefile.am:
17669 * gst/net/Makefile.am:
17670 update LDFLAGS use some more
17672 2005-11-27 Thomas Vander Stichele <thomas at apestaart dot org>
17674 * common/m4/gst-doc.m4:
17677 2005-11-26 Edward Hervey <edward@fluendo.com>
17679 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
17680 This shouldn't issue a g_warning since it returns NULL if it
17681 couldn't find the plugin, and all functions using this behave
17682 properly on a NULL return. Switching to a GST_WARNING.
17684 2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
17686 * gst/gstbin.c: (gst_bin_handle_message_func):
17687 Don't leak clock messages.
17689 2005-11-25 Wim Taymans <wim@fluendo.com>
17691 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17692 (gst_util_uint64_scale_int):
17693 Optimisations, remove unneeded vars.
17695 2005-11-25 Wim Taymans <wim@fluendo.com>
17697 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17698 Added more checks for the high precision uint64 cases.
17700 * gst/gstutils.c: (gst_util_uint64_scale_int64),
17701 (gst_util_uint64_scale), (gst_util_uint64_scale_int):
17702 Implement high precision (guint64 * guint64) / guint64.
17704 2005-11-24 Wim Taymans <wim@fluendo.com>
17706 * gst/base/gstbasesrc.c: (gst_base_src_query):
17707 Fix wrong percentage query.
17709 * gst/gstutils.c: (gst_util_uint64_scale),
17710 (gst_util_uint64_scale_int):
17711 Add some more common cases that can be handled
17712 efficiently to _scale.
17714 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17716 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST),
17717 (gst_mini_object_suite):
17718 don't use check calls from threads; check probably isn't
17719 threadsafe and using a lock to make it threadsafe would
17720 defeat the purpose of this check
17721 * gst/check/gstcheck.c:
17722 * gst/check/gstcheck.h:
17723 use GST_DEBUG some more
17725 2005-11-24 Wim Taymans <wim@fluendo.com>
17727 * gst/gstutils.c: (gst_util_uint64_scale),
17728 (gst_util_uint64_scale_int):
17729 Chain trivial case to _scale_int.
17731 2005-11-24 Wim Taymans <wim@fluendo.com>
17733 * check/gst/gstutils.c: (GST_START_TEST), (gst_utils_suite):
17734 Added test for scaling.
17739 * gst/gstutils.c: (gst_util_uint64_scale_int):
17740 Implemented high precision scaling code.
17742 2005-11-24 Stefan Kost <ensonic@users.sf.net>
17745 do not crash on pad==NULL
17747 2005-11-24 Thomas Vander Stichele <thomas at apestaart dot org>
17749 Patch by: Stefan Kost
17751 * common/gtk-doc.mak:
17752 * docs/gst/Makefile.am:
17753 * docs/libs/Makefile.am:
17754 Fix distcheck issues for the libraries docs build
17757 2005-11-24 Michael Smith <msmith@fluendo.com>
17759 * docs/manual/basics-helloworld.xml:
17760 Fix bug #315027: memory leak in example code in docs.
17762 2005-11-24 Michael Smith <msmith@fluendo.com>
17764 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
17765 Unlock the PREROLL_LOCK in a failure case.
17767 2005-11-24 Wim Taymans <wim@fluendo.com>
17769 * docs/gst/gstreamer-sections.txt:
17770 * gst/base/gstadapter.h:
17771 * gst/base/gstbasesink.h:
17772 * gst/base/gstbasesrc.h:
17773 * gst/base/gstbasetransform.h:
17774 * gst/base/gstpushsrc.h:
17775 * gst/elements/gstfakesink.h:
17776 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type):
17777 * gst/elements/gstfakesrc.h:
17778 * gst/elements/gstfilesink.h:
17779 * gst/elements/gstfilesrc.h:
17782 * gst/gstbuffer.c: (_gst_buffer_copy):
17785 * gst/gstchildproxy.c:
17787 * gst/gstelement.c:
17788 * gst/gstelementfactory.c:
17789 * gst/gstelementfactory.h:
17791 * gst/gstghostpad.h:
17793 * gst/gstinterface.h:
17794 * gst/gstminiobject.c:
17795 * gst/gstminiobject.h:
17798 * gst/gstpadtemplate.h:
17799 * gst/gstpipeline.h:
17800 * gst/gstpluginfeature.h:
17803 * gst/gsttaglist.c:
17804 * gst/gsttaglist.h:
17805 * gst/gsttagsetter.c:
17806 * gst/gsttagsetter.h:
17809 * gst/gsttypefind.h:
17812 * gst/net/gstnetclientclock.c:
17813 * gst/net/gstnetclientclock.h:
17814 * gst/net/gstnettimepacket.c:
17815 * gst/net/gstnettimeprovider.c:
17816 * gst/net/gstnettimeprovider.h:
17819 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17821 * configure.ac: back to HEAD
17823 === release 0.9.6 ===
17825 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17828 releasing 0.9.6, "Always On Time"
17830 2005-11-23 Wim Taymans <wim@fluendo.com>
17832 * docs/gst/gstreamer-sections.txt:
17833 * gst/glib-compat.c:
17834 * gst/gsttagsetter.c:
17836 * gst/net/gstnetclientclock.c:
17837 * gst/net/gstnettimepacket.h:
17840 2005-11-23 Thomas Vander Stichele <thomas at apestaart dot org>
17842 * docs/faq/using.xml:
17843 * docs/libs/tmpl/gstcontrol.sgml:
17844 * docs/manual/advanced-dparams.xml:
17845 * docs/manual/appendix-checklist.xml:
17846 * docs/manual/basics-elements.xml:
17847 * docs/pwg/other-source.xml:
17848 * docs/random/moving-plugins:
17850 * tools/gst-launch.1.in:
17851 remove mentions of sinesrc
17853 2005-11-23 Michael Smith <msmith@fluendo.com>
17855 * docs/gst/gstreamer-sections.txt:
17856 Update for new API and API changes.
17858 Documentation fix: GST_TRYLOCK -> GST_OBJECT_TRYLOCK
17860 Documentation typo fix.
17861 * gst/net/gstnettimepacket.c:
17862 Documentation fixes for arguments.
17864 2005-11-23 Jan Schmidt <thaytan@mad.scientist.com>
17866 * gst/gststructure.c: (gst_structure_get_fraction),
17867 (gst_structure_parse_value),
17868 (gst_structure_fixate_field_nearest_fraction):
17869 * gst/gststructure.h:
17870 * gst/gstutils.c: (gst_util_uint64_scale_int):
17872 * scripts/update-funcnames:
17874 Rename gst_util_clock_time_scale to gst_util_uint64_scale_int
17875 Make gst_structure_fixate_field_nearest_fraction take a numerator
17876 and denominator argument instead of a GValue
17877 add gst_structure_get_fraction helper function.
17879 2005-11-23 Wim Taymans <wim@fluendo.com>
17881 * docs/design/part-TODO.txt:
17884 * gst/net/gstnetclientclock.c: (gst_net_client_clock_thread):
17885 * gst/net/gstnetclientclock.h:
17886 Use parent fields for timeout and window_size.
17888 2005-11-23 Andy Wingo <wingo@pobox.com>
17890 * check/net/gstnetclientclock.c (test_functioning): Adjust to
17891 rate_num/rate_denom change.
17893 * gst/net/gstnetclientclock.c
17894 (gst_net_client_clock_observe_times): Take the SLAVE_LOCK not the
17895 OBJECT_LOCK. Don't call add_observation with the lock.
17897 * gst/gstclock.c (gst_clock_init): Initialize the rate as a
17899 (gst_clock_adjust_unlocked): Adjust using uint64_scale and the
17901 (gst_clock_set_calibration, gst_clock_get_calibration): Change to
17902 deal with rate as a fraction whose numerator and denominator are
17903 GstClockTime values.
17904 (gst_clock_set_master): Only use the OBJECT_LOCK to set the
17905 master; the other fields are protected by the SLAVE_LOCK.
17906 (do_linear_regression): Note that this must be called with the
17908 (gst_clock_add_observation): Take the SLAVE_LOCK, not the
17909 OBJECT_LOCK. Call set_calibration instead of touching the
17910 variables directly.
17911 (gst_clock_set_property, gst_clock_get_property): Protect
17912 master/slave parameters with the SLAVE_LOCK.
17914 * gst/gstclock.h (GstClock): Remove rate, add rate_numerator and
17915 rate_denominator. PR3C1S3. Add a new lock, the SLAVE_LOCK, and
17916 note that all of the instance variables that add_observation and
17917 the set_master functions use are protected by that lock and not
17919 (GST_CLOCK_SLAVE_LOCK, GST_CLOCK_SLAVE_UNLOCK): New macros.
17921 * gst/gstclock.c (gst_clock_add_observation): No longer requires
17922 the caller to take the object lock.
17924 2005-11-23 Wim Taymans <wim@fluendo.com>
17926 * gst/gsterror.c: (_gst_core_errors_init):
17928 Add error for clock stuff.
17930 * gst/gstpipeline.c: (gst_pipeline_change_state),
17931 (gst_pipeline_set_clock):
17932 Post clock error when clock cannot be used in a pipeline.
17934 2005-11-23 Stefan Kost <ensonic@users.sf.net>
17936 * docs/gst/gstreamer-sections.txt:
17937 make two symbols from gstinfo private for the docs
17938 * gst/base/gstcollectpads.h:
17940 fix doc typos, update docs
17942 2005-11-22 Wim Taymans <wim@fluendo.com>
17944 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
17945 (gst_base_sink_wait), (gst_base_sink_do_sync),
17946 (gst_base_sink_handle_event):
17947 * gst/base/gstbasesink.h:
17948 No need to store the clock, the parent element class already
17951 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_add_func):
17952 Updates for clock_set returning a gboolean
17954 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_wait),
17955 (gst_clock_id_wait_async), (gst_clock_class_init),
17956 (gst_clock_init), (gst_clock_finalize),
17957 (gst_clock_get_internal_time), (gst_clock_get_time),
17958 (gst_clock_slave_callback), (gst_clock_set_master),
17959 (gst_clock_get_master), (do_linear_regression),
17960 (gst_clock_add_observation), (gst_clock_set_property),
17961 (gst_clock_get_property):
17963 Implement master/slave. When setting a clock as a slave, a
17964 periodic timeout is scheduled to sample master and slave times.
17965 Then the slave clock is recalibrated to match offset and rate
17966 of the master clock.
17967 Update logging a bit.
17968 Add flag so that a clock can state that is cannot be slaved to
17971 * gst/gstelement.c: (gst_element_set_clock):
17972 * gst/gstelement.h:
17973 The set clock returns a gboolean for when an element cannot
17974 deal with the selected clock in the pipeline.
17976 * gst/gstpipeline.c: (gst_pipeline_change_state),
17977 (gst_pipeline_set_clock):
17978 * gst/gstpipeline.h:
17979 Handle the case where the selected clock cannot be set on
17982 * gst/net/gstnetclientclock.c: (gst_net_client_clock_class_init),
17983 (gst_net_client_clock_init), (gst_net_client_clock_finalize),
17984 (gst_net_client_clock_set_property),
17985 (gst_net_client_clock_get_property),
17986 (gst_net_client_clock_observe_times):
17987 * gst/net/gstnetclientclock.h:
17988 Use regression code in GstClock parent, remove duplicated
17991 2005-11-22 Michael Smith <msmith@fluendo.com>
17993 * gst/gstutils.c: (gst_util_clock_time_scale):
17995 * docs/gst/gstreamer-sections.txt:
17996 Rename method to have extra underscore.
17998 2005-11-22 Thomas Vander Stichele <thomas at apestaart dot org>
18000 * gst/elements/Makefile.am:
18001 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type):
18002 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
18003 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
18004 (gst_fake_src_init), (gst_fake_src_prepare_buffer),
18005 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size):
18006 * gst/elements/gstfakesrc.h:
18007 * gst/gstqueue.c: (queue_leaky_get_type):
18008 correctly fix GEnumValues so that nick is the short lowercase
18010 * tools/gst-inspect.c: (print_element_properties_info):
18011 also show the nick, since it's useful to use from parse_launch
18015 2005-11-22 Michael Smith <msmith@fluendo.com>
18017 * gst/gstutils.c: (gst_util_clocktime_scale):
18019 * docs/gst/gstreamer-sections.txt:
18020 Add util method for scaling a clocktime by a fraction. Useful
18021 implementation is left as an exercise for the reader.
18023 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18025 * gst/gstvalue.c: (gst_value_collect_fraction_range):
18026 If needed, allocate storage in the destination value during
18029 2005-11-22 Edward Hervey <edward@fluendo.com>
18031 * docs/gst/gstreamer-sections.txt:
18034 * gst/gsturitype.c:
18035 * gst/gsturitype.h:
18036 * gst/gstutils.c: (gst_util_set_object_arg):
18037 * tools/gst-compprep.c: (main):
18038 * tools/gst-inspect.c: (print_element_properties_info):
18039 Removed GstURI, closes bug #321061
18041 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18043 * check/gst/gststructure.c: (GST_START_TEST):
18044 * gst/gststructure.c: (gst_structure_parse_value):
18045 Oops, broke automatic string type parsing.
18046 Add a test to catch it in future.
18048 2005-11-22 Andy Wingo <wingo@pobox.com>
18050 * gst/gsttagsetter.c (gst_tag_setter_get_tag_merge_mode)
18051 (gst_tag_setter_set_tag_merge_mode, gst_tag_setter_get_tag_list):
18052 Actually rename the function implementations. Grr.
18054 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18056 * check/gst/capslist.h:
18058 * check/gst/gststructure.c: (GST_START_TEST),
18059 (gst_structure_suite):
18060 Test automatic value type detection in gst_structure_from_string.
18061 * gst/gststructure.c: (gst_structure_parse_value):
18062 Add fraction as a type we try and guess automatically in
18063 caps/structure strings.
18065 2005-11-22 Andy Wingo <wingo@pobox.com>
18067 patch by: Torsten Schoenfeld <kaffeetisch gmx de>
18069 * gst/gsttagsetter.h:
18070 * gst/gsttagsetter.c: (gst_tag_setter_merge_tags)
18071 (gst_tag_setter_add_tags, gst_tag_setter_add_tag_values)
18072 (gst_tag_setter_add_tag_valist)
18073 (gst_tag_setter_add_tag_valist_values): Renamed from _merge, _add,
18074 _add_values, _add_valist, and _add_valist_values. Since this is an
18075 interface the function suffixes should be more explicit so
18076 language binding don't end up with element.add_valist ->
18077 gst_tag_setter_add_valist, for example. Fixes #322069.
18079 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18081 * check/gst/gstcaps.c: (GST_START_TEST):
18082 Extend caps string tests to check that a caps to string
18083 conversion is reversible and produces the same caps.
18085 * gst/gststructure.c: (gst_structure_value_get_generic_type):
18086 Output "fraction" as the generic type fraction range, so caps
18087 serialisation and deserialisation works.
18088 * check/gst/capslist.h:
18089 * gst/gstvalue.c: (gst_value_deserialize_fraction):
18090 Support 'MIN' and 'MAX' for deserialising fractions.
18092 2005-11-22 Andy Wingo <wingo@pobox.com>
18094 * gst/gstevent.h (gst_event_new_new_segment)
18095 (gst_event_parse_new_segment, gst_event_new_buffer_size)
18096 (gst_event_parse_buffer_size, gst_ghost_pad_new_no_target):
18097 Renamed from *_newsegment, *_buffersize, *_notarget.
18099 * scripts/update-funcnames: New script, performs the changes
18102 2005-11-22 Wim Taymans <wim@fluendo.com>
18104 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
18105 Make sure the GstFlowReturn is returned.
18107 * gst/gstbus.c: (gst_bus_add_signal_watch_full),
18108 (gst_bus_add_signal_watch):
18110 add gst_bus_add_signal_watch_full.
18112 * gst/gstplugin.c: (gst_plugin_load_file):
18113 Small style cleanup.
18115 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18117 * check/gst/gstevent.c: (test_event), (GST_START_TEST):
18118 Block the fakesrc srcpad when we send an event, to avoid
18119 contention on the stream_lock causing random test failures.
18121 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18123 * check/gst/gstvalue.c: (GST_START_TEST):
18124 * gst/gstvalue.c: (gst_value_fraction_subtract):
18127 2005-11-22 Stefan Kost <ensonic@users.sf.net>
18130 include "gstchildproxy.h"
18131 * gst/gstchildproxy.h:
18132 * libs/gst/controller/gstcontroller.h:
18133 use G_GNUC_NULL_TERMINATED
18135 2005-11-22 Jan Schmidt <thaytan@mad.scientist.com>
18137 * check/gst/capslist.h:
18138 * check/gst/gstcaps.c: (GST_START_TEST):
18139 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18140 * gst/gststructure.c: (gst_structure_parse_range),
18141 (gst_structure_fixate_field_nearest_fraction):
18142 * gst/gststructure.h:
18143 * gst/gstvalue.c: (gst_value_init_fraction_range),
18144 (gst_value_free_fraction_range), (gst_value_copy_fraction_range),
18145 (gst_value_collect_fraction_range),
18146 (gst_value_lcopy_fraction_range), (gst_value_set_fraction_range),
18147 (gst_value_set_fraction_range_full),
18148 (gst_value_get_fraction_range_min),
18149 (gst_value_get_fraction_range_max),
18150 (gst_value_serialize_fraction_range),
18151 (gst_value_transform_fraction_range_string),
18152 (gst_value_compare_fraction_range),
18153 (gst_value_deserialize_fraction_range),
18154 (gst_value_intersect_fraction_fraction_range),
18155 (gst_value_intersect_fraction_range_fraction_range),
18156 (gst_value_subtract_fraction_fraction_range),
18157 (gst_value_subtract_fraction_range_fraction),
18158 (gst_value_subtract_fraction_range_fraction_range),
18159 (gst_value_collect_fraction), (gst_value_fraction_multiply),
18160 (gst_value_fraction_subtract), (gst_value_deserialize_fraction),
18161 (gst_value_transform_string_fraction), (_gst_value_initialize):
18163 Implement fraction ranges and extend GstFraction to support
18164 arithmetic subtraction, as well as deserialization from integer
18165 strings such as "100"
18166 Add a testsuite as for int and double range set operations
18168 2005-11-21 Andy Wingo <wingo@pobox.com>
18170 * gst/gsttaglist.h:
18172 * gst/gststructure.h: Add glib-compat.h.
18174 2005-11-21 Wim Taymans <wim@fluendo.com>
18176 * gst/gstbin.c: (gst_bin_change_state_func):
18179 2005-11-21 Wim Taymans <wim@fluendo.com>
18181 * gst/gstsegment.h:
18182 And add a nice define too.
18184 2005-11-21 Wim Taymans <wim@fluendo.com>
18186 * gst/gstsegment.c: (gst_segment_copy), (gst_segment_get_type),
18187 (gst_segment_new), (gst_segment_free), (gst_segment_init),
18188 (gst_segment_set_duration), (gst_segment_set_last_stop),
18189 (gst_segment_set_seek), (gst_segment_set_newsegment),
18190 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18191 (gst_segment_clip):
18192 * gst/gstsegment.h:
18193 Make binding friendly.
18195 2005-11-21 Andy Wingo <wingo@pobox.com>
18197 * gst/gsttagsetter.h:
18198 * gst/gsttaglist.h:
18199 * gst/gststructure.h:
18201 * gst/gstutils.h: Sprinkle NULL_TERMINATED to taste. Fixes
18204 * gst/gsterror.c (_gst_core_errors_init):
18205 * gst/gsterror.h (GST_CORE_ERROR_MISSING_PLUGIN): New error
18208 * gst/Makefile.am (gst_headers): Add glib-compat.h.
18209 (noinst_HEADERS): noinst the -private.
18211 2005-11-21 Michael Smith <msmith@fluendo.com>
18214 * gst/gstregistry.h:
18215 Remove unimplemented declarations for which we can see no sensible
18218 2005-11-21 Andy Wingo <wingo@pobox.com>
18220 * gst/gst.h: Include glib-compat.h.
18222 * gst/glib-compat.h: Add G_GNUC_NULL_TERMINATED.
18224 * gst/glib-compat.c: Include the public and the private header.
18226 * gst/glib-compat-private.h: Copied here from glib-compat.h.
18230 * gst/gstregistryxml.c: s/glib-compat/glib-compat-private/.
18232 * check/gst/gstevent.c (create_custom_events): Check that
18233 FLUSH_STOP is serialized.
18235 * check/elements/identity.c (event_func):
18236 * check/elements/fakesrc.c (event_func): No stream lock, the core
18239 * gst/base/gstbasetransform.c (gst_base_transform_event): No more
18240 stream lock taking, yay.
18242 * gst/gstevent.h (GST_EVENT_FLUSH_STOP): Marked as serialized to
18243 ensure that core takes the stream lock.
18245 * gst/base/gstbasesrc.c (gst_base_src_do_seek): Update for stream
18248 * gst/base/gstbasesink.c (gst_base_sink_event): No need to take
18249 the stream lock for EOS, NEWSEGMENT, or FLUSH_STOP, the core does
18250 it already. For the flush start we do take it though so we get the
18251 right preroll state change messages.
18253 * gst/gstqueue.c (gst_queue_sink_activate_push): No need to take
18254 the stream lock here, the core does it for us.
18256 * gst/gstpad.h (GST_PAD_GET_STREAM_LOCK): Renamed from
18257 GST_STREAM_GET_LOCK.
18258 (GST_PAD_STREAM_LOCK, GST_PAD_STREAM_TRYLOCK)
18259 (GST_PAD_STREAM_UNLOCK, GST_PAD_STREAM_UNLOCK_FULL)
18260 (GST_PAD_STREAM_LOCK_FULL): Renamed from GST_STREAM_*.
18261 (GST_PAD_GET_PREROLL_LOCK): Renamed from GST_PREROLL_GET_LOCK.
18262 (GST_PAD_PREROLL_LOCK, GST_PAD_PREROLL_TRYLOCK)
18263 (GST_PAD_PREROLL_UNLOCK): Renamed from GST_PREROLL_*.
18265 * gst/gstpad.c: Update for stream lock name change.
18267 * gst/base/gstbasesink.c: Update for preroll lock name change.
18269 2005-11-21 Wim Taymans <wim@fluendo.com>
18271 * gst/gstclock.c: (gst_clock_init), (gst_clock_set_master),
18272 (gst_clock_get_master):
18274 * gst/gstsystemclock.c: (gst_system_clock_init):
18275 Convert Clock flags to object flags.
18276 Added methods to manage master/slave clocks.
18278 2005-11-21 Wim Taymans <wim@fluendo.com>
18280 * check/gst/gstsegment.c: (GST_START_TEST):
18281 * docs/design/part-TODO.txt:
18282 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
18283 (gst_base_sink_event), (gst_base_sink_do_sync),
18284 (gst_base_sink_activate_pull), (gst_base_sink_get_position),
18285 (gst_base_sink_query), (gst_base_sink_change_state):
18286 * gst/base/gstbasesink.h:
18287 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
18288 (gst_base_src_default_newsegment),
18289 (gst_base_src_configure_segment), (gst_base_src_do_seek),
18290 (gst_base_src_get_range), (gst_base_src_loop),
18291 (gst_base_src_change_state):
18292 * gst/base/gstbasesrc.h:
18293 * gst/base/gstbasetransform.c:
18294 (gst_base_transform_prepare_output_buf),
18295 (gst_base_transform_event), (gst_base_transform_change_state):
18296 * gst/base/gstbasetransform.h:
18297 * gst/base/gstcollectpads.c: (gst_collect_pads_add_pad),
18298 (gst_collect_pads_event):
18299 * gst/base/gstcollectpads.h:
18300 * gst/elements/gstfakesrc.c: (gst_fake_src_init),
18301 (gst_fake_src_create):
18302 * gst/elements/gstfakesrc.h:
18303 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
18304 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18305 (gst_segment_set_last_stop), (gst_segment_set_seek),
18306 (gst_segment_set_newsegment), (gst_segment_to_stream_time),
18307 (gst_segment_to_running_time), (gst_segment_clip):
18308 * gst/gstsegment.h:
18309 More segment updates, replace code in plugins with segment
18312 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18314 * gst/elements/gstfdsrc.c: (gst_fdsrc_uri_set_uri):
18315 Don't ignore sscanf results
18317 2005-11-21 Andy Wingo <wingo@pobox.com>
18319 * gst/gstpad.h (GST_IS_PAD_FAST): Removed.
18322 * *.c: Ran scripts/update-macros. Oh yes.
18324 * gst/gstobject.h (GST_OBJECT_GET_LOCK, GST_OBJECT_LOCK)
18325 (GST_OBJECT_TRYLOCK, GST_OBJECT_UNLOCK): Renamed from
18328 * scripts/update-macros: New script. Run it on your files to
18329 change GST_LOCK to GST_OBJECT_LOCK, and the same for UNLOCK as
18332 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18334 * docs/gst/Makefile.am:
18335 * docs/gst/gstreamer-docs.sgml:
18336 * docs/gst/gstreamer-sections.txt:
18337 * docs/gst/gstreamer.types:
18339 more docs fixes, add new api to the docs
18341 2005-11-21 Andy Wingo <wingo@pobox.com>
18343 * gst/gstbin.c (gst_bin_remove_func): Wim claims I can remove this
18344 state_broadcast call.
18346 * gst/gstsegment.c (gst_segment_init): Initialize abs_rate.
18348 2005-11-21 Julien MOUTTE <julien@moutte.net>
18350 * gst/gstvalue.c: (gst_value_intersect_array): Fix wrong
18351 function calls for arrays.
18353 2005-11-21 Stefan Kost <ensonic@users.sf.net>
18355 * docs/random/ensonic/media-device-daemon.txt:
18356 wild idea, can this be done?
18357 * docs/gst/gstreamer-sections.txt:
18362 * gst/gstpluginfeature.c:
18366 doc fixes and additions
18368 2005-11-21 Andy Wingo <wingo@pobox.com>
18370 * gst/base/gstbasesrc.c (GST_LIVE_BROADCAST, GST_LIVE_SIGNAL)
18371 (GST_LIVE_TIMED_WAIT, GST_LIVE_WAIT, GST_LIVE_GET_COND)
18372 (GST_LIVE_UNLOCK, GST_LIVE_TRYLOCK, GST_LIVE_LOCK)
18373 (GST_LIVE_GET_LOCK): Moved here from gstbasesrc.h. They are
18374 private to the basesrc implementation.
18376 * gst/gstpad.c (gst_pad_send_event): Doc more. Take stream lock on
18377 behalf of event function if necessary. It should no longer be
18378 necessary to take the stream lock in pad's event functions. Fixes
18381 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18382 * docs/gst/gstreamer-sections.txt:
18383 * gst/gststructure.c: (gst_structure_fixate_field_nearest_int),
18384 (gst_structure_fixate_field_nearest_double),
18385 (gst_structure_fixate_field_boolean):
18386 * gst/gststructure.h:
18387 * win32/common/libgstreamer.def:
18388 * win32/gstreamer.def:
18390 Rename gst_caps_structure_fixate_* to gst_structure_fixate_*
18393 2005-11-21 Jan Schmidt <thaytan@mad.scientist.com>
18395 * gst/elements/gstfdsrc.c: (_do_init), (gst_fdsrc_class_init),
18396 (gst_fdsrc_init), (gst_fdsrc_dispose), (gst_fdsrc_set_property),
18397 (gst_fdsrc_uri_get_type), (gst_fdsrc_uri_get_protocols),
18398 (gst_fdsrc_uri_get_uri), (gst_fdsrc_uri_set_uri),
18399 (gst_fdsrc_uri_handler_init):
18400 * gst/elements/gstfdsrc.h:
18401 Port fd:// URI handler from 0.8 to fdsrc
18403 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18405 * gst/gstvalue.c: (gst_value_transform_fourcc_string),
18406 (gst_value_serialize_fourcc):
18408 Drop leading '%' from GST_FOURCC_FORMAT, thus making it
18409 consistent with our other format defines (#320324).
18411 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18413 * gst/gstvalue.c: (gst_value_is_fixed):
18414 Revert previous commit. Value lists are by definition
18415 not fixed, as they are a list of possible values.
18417 2005-11-21 Andy Wingo <wingo@pobox.com>
18419 * gst/gstevent.h (GST_EVENT_FILLER): Removed. Can be added back
18420 during the stable series if we need it. Fixes #319178.
18422 * gst/gstevent.c (gst_event_new_filler): Removed.
18424 * check/gst/gstevent.c: Update comment about filler events.
18426 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18428 * gst/gstvalue.c: (gst_value_is_fixed):
18429 Should handle both value arrays and value lists.
18431 2005-11-21 Andy Wingo <wingo@pobox.com>
18433 patch by: Alessandro Dessina <alessandro nnva org>
18435 * gst/gstvalue.c (gst_value_is_fixed): Use gst_value_array
18436 functions to access arrays. Fixes #321962.
18438 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18440 * docs/gst/gstreamer.types:
18441 gst_collectpads_get_type => gst_collect_pads_get_type.
18443 * gst/base/gstbasetransform.c:
18444 Remove unused SIGNAL_HANDOFF enum.
18446 2005-11-21 Andy Wingo <wingo@pobox.com>
18448 * gst/gstevent.h (GstEventTypeFlags): New data type, the flags of
18449 the event type (upstream, downstream, serialized). Renamed
18450 GST_EVDIR_* and GST_EVSER to GST_EVENT_TYPE_*.
18451 (GstEventType): Use GstEventTypeFlags. Rename CUSTOM_UP to
18452 CUSTOM_UPSTREAM, CUSTOM_DS to CUSTOM_DOWNSTREAM, etc.
18454 * gst/gstevent.c: Update for new CUSTOM event names.
18456 * check/gst/gstevent.c: Update check for new CUSTOM event names.
18459 * gst/gstevent.c (gst_event_type_get_flags): New function. Fixes
18462 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18464 * docs/gst/gstreamer-sections.txt:
18465 * win32/common/libgstbase.def:
18466 * win32/libgstbase.def:
18467 * gst/base/gstcollectpads.c: (gst_collect_pads_base_init),
18468 (gst_collect_pads_class_init), (gst_collect_pads_init),
18469 (gst_collect_pads_finalize), (gst_collect_pads_new),
18470 (gst_collect_pads_set_function), (gst_collect_pads_add_pad),
18471 (gst_collect_pads_remove_pad), (gst_collect_pads_is_active),
18472 (gst_collect_pads_collect), (gst_collect_pads_collect_range),
18473 (gst_collect_pads_start), (gst_collect_pads_stop),
18474 (gst_collect_pads_peek), (gst_collect_pads_pop),
18475 (gst_collect_pads_available), (gst_collect_pads_read),
18476 (gst_collect_pads_flush), (gst_collect_pads_event),
18477 (gst_collect_pads_chain):
18478 * gst/base/gstcollectpads.h:
18479 Rename gst_collecpads_foo() => gst_collect_pads_foo(). Document
18480 unimplemented functions as unimplemented. Add padding to
18481 GstCollectData. (#320766, #320423)
18483 2005-11-21 Tim-Philipp Müller <tim at centricular dot net>
18485 * gst/gstmessage.c:
18486 Improve docs for DURATION message (usage of duration parameter)
18489 2005-11-20 Wim Taymans <wim@fluendo.com>
18491 * check/Makefile.am:
18492 * check/gst/gstsegment.c: (GST_START_TEST), (gstevents_suite),
18496 * gst/gstsegment.c: (gst_segment_init), (gst_segment_set_duration),
18497 (gst_segment_set_seek), (gst_segment_set_newsegment),
18498 (gst_segment_to_stream_time), (gst_segment_to_running_time),
18499 (gst_segment_clip):
18500 * gst/gstsegment.h:
18501 Added segment helper structure and methods. Not fully implemented
18503 Added segment check.
18505 2005-11-20 Jan Schmidt <thaytan@mad.scientist.com>
18507 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
18508 Add a deserialisation test for fractions
18509 * examples/metadata/read-metadata.c: (message_loop),
18510 (make_pipeline), (main):
18511 Fix up metadata reading sample.
18512 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
18514 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18515 Don't try and fixate empty caps
18516 * gst/gst_private.h:
18517 Wrap in G_BEGIN_DECLS/G_END_DECLS
18518 * gst/gstvalue.c: (gst_value_collect_fraction),
18519 (gst_value_set_fraction), (gst_value_get_fraction_denominator),
18520 (gst_value_transform_string_fraction),
18521 (gst_value_compare_fraction):
18522 Add some extra guards to ensure that we don't end up
18523 with an invalid denominator of 0 in a gstfraction and
18524 that fractions always get reduced.
18526 2005-11-20 Wim Taymans <wim@fluendo.com>
18528 * docs/gst/gstreamer-sections.txt:
18530 * gst/gstelement.c:
18539 2005-11-20 Wim Taymans <wim@fluendo.com>
18541 * docs/design/part-TODO.txt:
18543 Make a proper enum of the flag.
18545 2005-11-19 Wim Taymans <wim@fluendo.com>
18547 * docs/design/part-TODO.txt:
18548 * gst/gstformat.c: (_gst_format_initialize), (gst_format_get_name),
18549 (gst_format_to_quark), (gst_format_register):
18551 * gst/gstquery.c: (_gst_query_initialize),
18552 (gst_query_type_get_name), (gst_query_type_to_quark),
18553 (gst_query_type_register):
18555 Add type to quark and type to string conversions.
18557 2005-11-19 Andy Wingo <wingo@pobox.com>
18559 * gst/gstbuffer.h (GST_BUFFER_FLAG_ORIGINAL): Removed. Fixes
18562 2005-11-19 Wim Taymans <wim@fluendo.com>
18564 * docs/design/part-TODO.txt:
18565 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
18566 (gst_bin_add_func), (gst_bin_remove_func), (bin_bus_handler),
18567 (gst_bin_handle_message_func):
18569 Make message handling overridable.
18571 2005-11-19 Andy Wingo <wingo@pobox.com>
18573 * gst/gstpad.h (GST_PAD_IS_USABLE): Removed. Fixes #321235.
18576 * gst/gstclock.c (GstClock, GstClockClass): Change resolution to
18578 (gst_clock_set_resolution, gst_clock_get_resolution): Resolution
18579 is a GstClockTime. Fixes #321710.
18581 * gst/gstclock.h (GstClock): Remove offset property. Add
18582 internal_calibration and external_calibration. Fix padding. Pad
18583 also by GstClockTime so we don't run into problems.
18585 * gst/gstclock.c (gst_clock_set_rate_offset): Remove.
18586 (gst_clock_get_rate_offset): Remove.
18587 (gst_clock_set_time_adjust): Remove. Fixes #321712.
18590 * gst/gstutils.c (g_static_rec_cond_wait)
18591 (g_static_rec_cond_timed_wait): Removed, no longer needed.
18593 * gst/gstbin.c: Remove terrible continue_state prototype.
18595 * gst/gstelement.h (gst_element_continue_state): Make public.
18597 * gst/gstelement.h:
18598 * gst/gstelement.c (gst_element_commit_state): Removed, replaced
18599 by continue_state. Fixes #319389.
18601 * gst/gstindex.h (GstIndexFilter): Actually pass on the user_data.
18602 Really fixes #168438. However I don't see anywhere where the
18603 filter function is called... stupid GStreamer...
18605 * gst/gstindex.h (GstIndex): Add field for user_data_destroy. We
18606 don't have a dispose function, so it won't get called when the
18607 object is unreffed, but oh well!
18609 * gst/gstindex.c (gst_index_set_filter_full): New API function,
18610 allows a destroy function to be set so user_data can be freed.
18612 (gst_index_set_filter): Call gst_index_set_filter_full.
18614 * check/gst/gstvalue.c (test_string): Add test for bug #165650.
18616 * gst/gstvalue.c (gst_string_wrap): Trying to serialize a NULL
18617 string should produce an error, given the lack of a way to
18618 represent NULL strings. Fixes #165650.
18621 * gst/gstvalue.c (gst_value_array_append_value)
18622 (gst_value_array_prepend_value, gst_value_array_get_size)
18623 (gst_value_array_get_value): New API, copied from
18624 gst_value_list_*, only operates on arrays.
18625 (gst_value_list_append_value, gst_value_list_prepend_value)
18626 (gst_value_list_concat, gst_value_list_get_size)
18627 (gst_value_list_get_value): Only operate on lists. Fixes #156633.
18629 * gst/gstvalue.c (gst_value_init_list_or_array): Renamed from
18630 init_list, because it works on both.
18631 (copy_garray_of_gstvalue): Renamed from gst_value_list_copy_array.
18632 (gst_value_copy_list_or_array): Renamed from copy_list.
18633 (gst_value_free_list_or_array): Renamed from free_list.
18634 (gst_value_collect_list_or_array): Renamed from collect_list.
18635 (gst_value_lcopy_list_or_array): Renamed from lcopy_list.
18636 (gst_value_list_or_array_peek_pointer): Renamed from
18638 (_gst_value_array_value_table, _gst_value_list_value_table):
18639 Update value table functions.
18640 (gst_value_compare_list_or_array): Renamed from compare_list.
18642 * gsttaglist.h: Whoops, foreach function returns void. Also fix
18645 * gst/gsttaglist.c:
18646 * gst/gsttaglist.h (gst_tag_list_foreach): Operates on a const
18647 GstTagList*. Fixes #143472.
18649 * gst/gststructure.h: Clarify what the foreach/map functions can
18650 or can't do to their arguments.
18652 2005-11-18 Wim Taymans <wim@fluendo.com>
18654 * gst/gstclock.c: (gst_clock_set_calibration),
18655 (gst_clock_get_calibration):
18657 Calibration can be set with internal time equal to current
18660 2005-11-18 Thomas Vander Stichele <thomas at apestaart dot org>
18666 2005-11-18 Andy Wingo <wingo@pobox.com>
18669 * pkgconfig/gstreamer-net.pc.in:
18670 * pkgconfig/gstreamer-net-uninstalled.pc.in:
18671 * pkgconfig/Makefile.am: Add net pkgconfig files.
18673 2005-11-18 Stefan Kost <ensonic@users.sf.net>
18676 * gst/gstghostpad.c:
18682 2005-11-18 Andy Wingo <wingo@pobox.com>
18684 * gst/net/gstnetclientclock.c: Turn off debugging.
18686 * check/net/gstnetclientclock.c (test_functioning): Assert that the
18687 times connverge somewhat. Can't make a real test.
18689 * gst/net/gstnetclientclock.c (do_linear_regression): Use all
18690 integer arithmetic. Return the minimum of the domain, which can be
18691 set as "internal" for gst_clock_set_calibration.
18692 (gst_net_client_clock_observe_times): Call _set_calibration.
18693 (gst_net_client_clock_new): Call _set_calibration instead of
18696 * check/net/gstnetclientclock.c (test_functioning): Use the right
18700 * gst/gstclock.c (gst_clock_get_calibration)
18701 (gst_clock_set_calibration): New functions, obsolete the ones I
18702 added yesterday. Doh. Precision issues mean we have to extrapolate
18703 from a point in the more recent past than 1970.
18704 (gst_clock_get_rate_offset, gst_clock_set_rate_offset): Mark as
18706 (gst_clock_adjust_unlocked): Use the right calibration data.
18708 2005-11-18 Edward Hervey <edward@fluendo.com>
18710 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
18711 Also reset the ->current_* values in READY->PAUSED
18713 2005-11-18 Andy Wingo <wingo@pobox.com>
18715 * gst/net/gstnetclientclock.c (gst_net_client_clock_thread):
18716 Whoops, check the right fd. Also add some debugging.
18717 (gst_net_client_clock_observe_times): Adjust for int64 offset.
18718 (do_linear_regression): Add a crapload of debugging. Subtract off
18719 the minimum values from the input series to discard unneeded bits.
18720 Use only int arithmetic. There is still double arithmetic when
18721 calculating the intercept that needs fixing. Return boolean to
18722 indicate success; FALSE would mean the domain or range is too
18723 great. Still needs fixes.
18725 2005-11-18 Wim Taymans <wim@fluendo.com>
18727 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
18728 For the current position in stream time, we need to subtract
18731 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
18732 Release lock before calling the callback function of async
18735 2005-11-18 Andy Wingo <wingo@pobox.com>
18737 * gst/net/gstnetclientclock.c (gst_net_client_clock_class_init):
18738 Port goes all the way to MAXUINT16.
18740 * gst/net/gstnettimeprovider.c: Make the port range the same as
18741 for the kernel: 0 assigns, otherwise ports are less than
18744 * check/net/gstnettimeprovider.c: Adapt for 0 == kernel assigns
18747 * check/net/gstnetclientclock.c (test_functioning): Add the start
18750 2005-11-18 Wim Taymans <wim@fluendo.com>
18752 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
18753 (gst_bin_remove_func), (bin_bus_handler):
18755 Removing a clock provider from a bin, triggers a clock lost message
18756 so that a new clock will be selected.
18757 Adding a clock to a bin triggers a clock provider message.
18758 Make sure we reselect a clock when we received a clock lost message.
18759 Keep a reference to the element that provided the clock.
18761 2005-11-18 Andy Wingo <wingo@pobox.com>
18763 * gst/net/gstnetclientclock.c (gst_net_client_clock_new): Adjust
18764 the clock initially so it produces values around the base time.
18765 (gst_net_client_clock_class_init): Typo fix.
18766 (gst_net_client_clock_thread): Add note on when the socket gets
18769 2005-11-17 Wim Taymans <wim@fluendo.com>
18771 * gst/net/gstnetclientclock.c: (gst_net_client_clock_finalize):
18772 Free remote and local time arrays.
18774 2005-11-17 Wim Taymans <wim@fluendo.com>
18776 * gst/net/gstnetclientclock.c: (do_linear_regression),
18777 (gst_net_client_clock_do_select), (gst_net_client_clock_thread):
18778 Fix compilation, uninitialized vars and a forgotten continue.
18780 2005-11-17 Andy Wingo <wingo@pobox.com>
18782 * check/Makefile.am (check_PROGRAMS):
18783 * check/net/gstnetclientclock.c: Add a most minimal test for the
18784 net client clock. More to come later.
18786 * gst/net/gstnet.h:
18787 * gst/net/Makefile.am: Add netclientclock.
18789 * gst/net/gstnetclientclock.h:
18790 * gst/net/gstnetclientclock.c: New files, implement an untested
18791 GstClock that takes its time from a network time provider.
18792 Implements the algorithm in network-clock.scm.
18794 * tests/network-clock.scm (*window-size*): Rename from
18796 * tests/network-clock.scm (network-time):
18797 * tests/network-clock-utils.scm (q-push): Update callers.
18799 2005-11-17 Wim Taymans <wim@fluendo.com>
18801 * gst/gstbin.c: (gst_bin_provide_clock_func),
18802 (gst_bin_sort_iterator_new):
18803 And unref the child too..
18805 2005-11-17 Wim Taymans <wim@fluendo.com>
18807 * gst/gstbin.c: (gst_bin_dispose), (gst_bin_provide_clock_func),
18808 (gst_bin_sort_iterator_new), (gst_bin_iterate_sorted):
18809 Refactor the sort iterator so it can be used while holding the
18811 Make clock selection select a clock closest to the source.
18813 2005-11-17 Michael Smith <msmith@fluendo.com>
18815 * gst/gstclock.c: (gst_clock_init), (gst_clock_adjust_unlocked),
18816 (gst_clock_set_rate_offset), (gst_clock_get_rate_offset):
18818 Anonymous structs are a gcc (and some other compilers) extension, so
18819 don't use them. Since this is only for ABI-compatibility, and our
18820 API/ABI freeze is over in a few days, this whole thing will only
18821 last a few days, so don't bother trying to think up a meaningful
18822 name for the struct.
18824 2005-11-17 Andy Wingo <wingo@pobox.com>
18826 * gst/gstclock.h (GstClock): Add rate and offset properties,
18827 preserving ABI stability. Add rate/offset accessors. Will file bug
18828 for the freeze break.
18830 * gst/gstclock.c (gst_clock_adjust_unlocked): Implement using rate
18831 and offset, trying to keep precision and avoiding
18832 underflow/overflow.
18833 (gst_clock_set_rate_offset, gst_clock_get_rate_offset): New
18834 functions. Make gst_clock_set_time_adjust obsolete.
18835 (gst_clock_set_time_adjust): Note that this function is obsolete.
18836 Will file bug soon.
18838 * gst/base/gstbasetransform.h: Make the ABI-stability hack
18839 greppable by using GST_PADDING-1+1.
18841 2005-11-17 Torsten Schoenfeld <kaffeetisch at gmx dot net>
18843 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
18845 * gst/gstmessage.c: (gst_message_parse_clock_lost):
18846 Assertion should check for CLOCK_LOST, not NEW_CLOCK (#321648).
18848 * gst/gstpadtemplate.h:
18849 * gst/gstpluginfeature.h:
18850 Don't use c++ style comments in headers (#321638).
18852 2005-11-16 Andy Wingo <wingo@pobox.com>
18854 * gst/net/gstnettimepacket.c (gst_net_time_packet_send): Free
18857 * check/net/gstnettimeprovider.c: Check to see that the time
18858 provider actually provides times. Works, yo!
18860 2005-11-16 Wim Taymans <wim@fluendo.com>
18862 * check/Makefile.am:
18865 * check/elements/fakesrc.c: (GST_START_TEST):
18866 Set element to NULL before disposing it.
18868 2005-11-16 Andy Wingo <wingo@pobox.com>
18870 * gst/net/Makefile.am:
18871 * gst/net/gstnet.h:
18872 * gst/net/gstnettimeprovider.c:
18873 * gst/net/gstnettimeprovider.h: Use the timepacket stuff in the
18874 provider, include it from gstnet.h, and add it to the build.
18876 * gst/net/gstnettimepacket.h:
18877 * gst/net/gstnettimepacket.c: New files, abstracts out the packet
18878 sending and receiving.
18880 2005-11-16 Wim Taymans <wim@fluendo.com>
18882 * check/Makefile.am:
18883 Enable valgrind check.
18885 * gst/elements/gstfakesrc.c: (gst_fake_src_alloc_parent),
18886 (gst_fake_src_alloc_buffer):
18889 2005-11-16 Wim Taymans <wim@fluendo.com>
18891 * gst/net/gstnettimeprovider.c: (gst_net_time_provider_finalize):
18892 Call parent finalize too.
18894 2005-11-16 Wim Taymans <wim@fluendo.com>
18896 * check/Makefile.am:
18897 Enable valgrind check that should work fine now.
18899 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18900 * gst/gstqueue.c: (gst_queue_init):
18901 Fix memleaks in pad allocation.
18903 2005-11-16 Andy Wingo <wingo@pobox.com>
18905 * gst/net/Makefile.am:
18906 * gst/net/gstnet.h: New part of core to hold network elements and
18907 objects. Put in core because it exposes API that applications want
18908 to use. The library is named libgstnet-tempname right now because
18909 of the existing libgstnet in gst-plugins-base. Solution is
18910 probably to rename the one in plugins-base; will file a bug for
18913 * gst/net/gstnettimeprovider.c:
18914 * gst/net/gstnettimeprovider.h: New object to export a GstClock's
18915 get_time call over the network.
18918 * gst/Makefile.am (lib_LTLIBRARIES): Add gstnet to the build.
18920 * check/Makefile.am:
18921 * check/net/gstnettimeprovider.c: A most minimal test suite. Will
18922 get additions shortly.
18924 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18926 * gst/gstpad.c: (gst_pad_new_from_static_template):
18928 add gst_pad_new_from_static_template functions
18929 * gst/check/gstcheck.c: (gst_check_setup_src_pad),
18930 (gst_check_setup_sink_pad):
18931 * gst/elements/gsttee.c: (gst_tee_init):
18934 2005-11-16 Wim Taymans <wim@fluendo.com>
18936 * gst/gstpad.c: (gst_pad_pause_task):
18937 Removed warning, it's not really an error either.
18939 2005-11-16 Wim Taymans <wim@fluendo.com>
18941 * gst/base/gstbasetransform.c:
18942 (gst_base_transform_prepare_output_buf),
18943 (gst_base_transform_event):
18944 Check if the caps are NULL, this can happen if the element
18945 is shutting down and the pad caps are set to NULL.
18947 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18949 * gst/elements/gsttee.c: (gst_tee_init):
18950 fix pad template leak in tee
18952 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18954 * gst/glib-compat.c: (g_value_dup_gst_object):
18955 * gst/glib-compat.h:
18956 * gst/gstpad.c: (gst_pad_set_property):
18957 use gst_object_ref when setting the pad template; this will
18958 trigger the pad template leaks on GLib 2.6 and the slaves
18960 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18962 * gst/glib-compat.c: (gst_flags_get_first_value):
18963 * gst/glib-compat.h:
18964 * gst/gstregistryxml.c:
18965 remove functions copied from GLib 2.6
18967 2005-11-16 Michael Smith <msmith@fluendo.com>
18970 Don't link against VALGRIND_LIBS. That was always the wrong thing to
18971 do, but only breaks with newer valgrind versions. We're not a
18972 valgrind tool, we have no link-time dependencies on libcoregrind.
18974 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18976 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
18978 * gst/gstmessage.h:
18981 2005-11-16 Thomas Vander Stichele <thomas at apestaart dot org>
18983 * gst/base/gstbasesrc.c: (gst_base_src_init):
18984 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18985 * gst/gstqueue.c: (gst_queue_init):
18986 * gst/gstregistryxml.c: (load_feature):
18987 Revert all these unrefs, they don't even pass make check !
18989 2005-11-15 Johan Dahlin <johan@gnome.org>
18991 * gst/base/gstbasesrc.c: (gst_base_src_init):
18992 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
18993 * gst/gstqueue.c: (gst_queue_init):
18994 Free pad templates, fixes a couple of leaks.
18996 2005-11-15 Daniel Fischer <dan at f3c dot com>
18998 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
19000 * gst/gstpad.c: (gst_pad_get_property):
19001 GST_PAD_PAD_TEMPLATE(pad) gets the pad template, while
19002 GST_PAD_TEMPLATE(pad) does a cast. We want the former here.
19005 2005-11-15 Wim Taymans <wim@fluendo.com>
19010 2005-11-15 Andy Wingo <wingo@pobox.com>
19012 * gst/gstelement.c (gst_element_set_base_time): Add debugging.
19014 * gst/gstpipeline.c (gst_pipeline_set_new_stream_time): Document
19015 using GST_CLOCK_TIME_NONE to disable base time management.
19016 (do_pipeline_seek, gst_pipeline_change_state): Don't reset stream
19017 time if it was NONE before.
19018 (gst_pipeline_change_state): Only munge the base time if
19019 stream_time != GST_CLOCK_TIME_NONE.
19021 * check/gst/gstpipeline.c (test_base_time): Punt around the
19022 problem of the probe not being called, because that's not the
19023 issue I'm looking at. Add a check that setting stream_time to NONE
19024 disables base time management.
19026 2005-11-15 Wim Taymans <wim@fluendo.com>
19028 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
19029 segment_stop == -1 at startup.
19031 * gst/base/gstbasetransform.c: (gst_base_transform_event),
19032 (gst_base_transform_change_state):
19033 Init segment values at start.
19035 2005-11-15 Wim Taymans <wim@fluendo.com>
19037 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19038 0 segment values are 0 in any format.
19040 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19041 * gst/base/gstbasetransform.h:
19042 Parse newsegment correctly in basetransform
19044 * gst/elements/gstidentity.c: (gst_identity_transform_ip):
19045 Sync to clock using updated segment values.
19047 2005-11-15 Andy Wingo <wingo@pobox.com>
19049 * check/gst/gstpipeline.c (test_base_time): Add check that the
19050 base time and stream time are reset correctly.
19052 2005-11-15 Wim Taymans <wim@fluendo.com>
19054 * docs/design/part-TODO.txt:
19055 Some more TODO items.
19057 2005-11-15 Andy Wingo <wingo@pobox.com>
19059 * gst/elements/gstfakesrc.c (gst_fake_src_create): It's not an
19060 error if the user selected "no clock" as the clocking method.
19062 * check/gst/gstpipeline.c (test_base_time): New test for buffer
19063 timestamps with live capture.
19065 * gst/elements/gstfakesrc.c (gst_fake_src_create): If the datarate
19066 is 0 but we are a live source, timestamp the buffers using the
19069 2005-11-14 Stefan Kost <ensonic@users.sf.net>
19071 * docs/gst/gstreamer-sections.txt:
19073 * gst/gstghostpad.c:
19078 2005-11-14 Wim Taymans <wim@fluendo.com>
19081 add suppressions from Wim's Debian machine
19083 2005-11-14 Thomas Vander Stichele <thomas at apestaart dot org>
19086 add suppressions from Andy's AMD64 Ubuntu machine
19088 2005-11-14 Andy Wingo <wingo@pobox.com>
19090 * gst/gstpad.c (gst_pad_set_active): Change docs; parent's
19091 STATE_LOCK not necessary. Fixes #311489.
19093 * gst/gsterror.c (FILE_A_BUG): Be polite *and* helpful. Fixes
19096 * gst/gstindex.c (gst_index_add_object): Note in the docs that
19097 this function is not implemented.
19099 2005-11-14 Julien MOUTTE <julien@moutte.net>
19101 * gst/base/gstbasetransform.c:
19102 (gst_base_transform_prepare_output_buf):
19103 Ref the source pad caps while we need them.
19106 2005-11-11 Wim Taymans <wim@fluendo.com>
19108 * docs/gst/gstreamer-sections.txt:
19109 Added some docs for GstCollectData.
19111 * gst/base/gstadapter.c:
19112 Some small code example fix.
19114 * gst/base/gstcollectpads.c:
19115 * gst/base/gstcollectpads.h:
19116 Document some more.
19118 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19120 * configure.ac: back to HEAD
19122 === release 0.9.5 ===
19124 2005-11-11 Thomas Vander Stichele <thomas at apestaart dot org>
19127 releasing 0.9.5, "Bike Lunch Day"
19129 2005-11-11 Wim Taymans <wim@fluendo.com>
19131 * gst/gstbuffer.c: (_gst_buffer_copy):
19134 * gst/gstcaps.c: (gst_caps_is_equal):
19136 Make _is_equal fast in the trivial cases.
19138 * gst/gstminiobject.c:
19139 * gst/gstminiobject.h:
19140 More docs. Spifify .h file.
19145 2005-11-11 Wim Taymans <wim@fluendo.com>
19147 * gst/base/gstbasetransform.c:
19148 (gst_base_transform_prepare_output_buf),
19149 (gst_base_transform_handle_buffer):
19151 If we're processing a buffer and need to allocate an output
19152 buffer, we cannot accept a format change. If we did get a
19153 format change, we have to alloc a buffer ourselves of the
19156 2005-11-11 Wim Taymans <wim@fluendo.com>
19158 * gst/gstpad.c: (gst_pad_get_caps), (gst_pad_peer_get_caps):
19159 While checking the flag for reentrancy in the gstcaps function
19160 is nice to detect recursive invocations, it also makes it
19161 impossible to call getcaps from multiple threads, which must be
19162 possible. So, checking for recursive calls has to go.
19164 2005-11-11 Michael Smith <msmith@fluendo.com>
19166 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19167 Don't sync on buffers that fall partially outside our current
19168 segment. Prevents an assertion failure/abort playing some files.
19170 2005-11-10 Andy Wingo <wingo@pobox.com>
19172 * check/gst/gstbin.c (test_message_state_changed_children): Style
19175 * gst/gstbus.c (poll_destroy, poll_func, gst_bus_poll): Implement
19176 gst_bus_poll with the signal watch. Ensures that poll and a signal
19177 watch see the same messages.
19179 * check/gst/gstbus.c (test_watch_with_poll): New test, checks that
19180 a poll and a watch at the same time get the same messages.
19182 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19184 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps):
19185 * gst/gstcaps.c: (gst_caps_intersect):
19186 Don't call gst_caps_do_simplify - it doesn't respect order of caps
19187 and it's not needed.
19189 2005-11-10 Wim Taymans <wim@fluendo.com>
19191 * docs/design/part-TODO.txt:
19194 2005-11-10 Wim Taymans <wim@fluendo.com>
19196 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
19197 * gst/base/gstbasesrc.c: (gst_base_src_wait),
19198 (gst_base_src_do_sync), (gst_base_src_get_range):
19199 Implement clock sync in base class.
19201 2005-11-10 Thomas Vander Stichele <thomas at apestaart dot org>
19203 patch by: Tim-Philipp Müller <tim at centricular dot net>
19205 * gst/gststructure.c: (gst_structure_parse_field),
19206 (gst_structure_from_string):
19207 Forward-port a 0.8 patch to handle escaped spaces in structure string,
19208 so that gst_parse_launch() can deal with spaces in filtered link
19209 caps (fixes #164479)
19210 * check/gst/capslist.h:
19211 * check/gst/gststructure.c: (GST_START_TEST):
19212 add unit tests for this change
19214 2005-11-10 Wim Taymans <wim@fluendo.com>
19216 * docs/gst/gstreamer-sections.txt:
19217 * gst/gstelement.c:
19218 * gst/gstelement.h:
19219 Fix docs, move some STATE macros to private.
19221 2005-11-10 Wim Taymans <wim@fluendo.com>
19223 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
19224 Added check for bug #317341
19228 Some more spiffifying.
19230 * gst/gstghostpad.c: (gst_ghost_pad_do_link):
19231 Call peer linkfunction if we are a source pad. Totally fixes
19235 Update docs, source pads should call the peer linkfunction
19236 so they can atomically perform the pad link.
19238 2005-11-09 Wim Taymans <wim@fluendo.com>
19242 Uber-spiffy-spiffify some more.
19244 2005-11-09 Tim-Philipp Müller <tim at centricular dot net>
19246 * gst/base/gstcollectpads.c: (gst_collectpads_add_pad):
19247 * gst/elements/gstfilesink.c: (gst_file_sink_init):
19248 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init):
19249 * gst/gstghostpad.c: (gst_ghost_pad_set_internal),
19250 (gst_ghost_pad_init), (gst_ghost_pad_new_notarget):
19251 * gst/gstpad.c: (gst_pad_init):
19252 Use GST_DEBUG_FUNCPTR() more extensively.
19254 2005-11-09 Wim Taymans <wim@fluendo.com>
19256 * gst/gstobject.c: (gst_object_class_init):
19258 Documentation fixes.
19260 2005-11-09 Edward Hervey <edward@fluendo.com>
19262 * gst/gsttypefindfactory.c:
19265 2005-11-09 Edward Hervey <edward@fluendo.com>
19267 * gst/base/gsttypefindhelper.c:
19268 * gst/gsttypefind.c:
19269 * gst/gsttypefind.h:
19272 2005-11-09 Wim Taymans <wim@fluendo.com>
19274 * gst/gstiterator.c:
19281 2005-11-09 Wim Taymans <wim@fluendo.com>
19287 2005-11-09 Wim Taymans <wim@fluendo.com>
19289 * docs/gst/gstreamer-sections.txt:
19290 Moved the message async delivery private lock and cond
19291 to the private section.
19293 * gst/gstmessage.c:
19294 * gst/gstmessage.h:
19297 2005-11-09 Edward Hervey <edward@fluendo.com>
19299 * docs/gst/gstreamer-sections.txt:
19302 Document GstURIHandler
19304 2005-11-09 Wim Taymans <wim@fluendo.com>
19306 * gst/gstiterator.c: (gst_iterator_fold), (gst_iterator_foreach),
19307 (gst_iterator_find_custom):
19308 * gst/gstiterator.h:
19311 2005-11-09 Wim Taymans <wim@fluendo.com>
19314 Document another field.
19316 * gst/gststructure.c:
19317 * gst/gststructure.h:
19320 2005-11-09 Wim Taymans <wim@fluendo.com>
19323 Documented structs.
19325 2005-11-09 Wim Taymans <wim@fluendo.com>
19327 * docs/gst/gstreamer-sections.txt:
19328 Added some new macros.
19335 2005-11-09 Wim Taymans <wim@fluendo.com>
19337 * docs/design/part-TODO.txt:
19338 Some more items for the TODO
19344 2005-11-09 Andy Wingo <wingo@pobox.com>
19346 * gst/base/gstbasesink.c: Add the beginning of docs here -- have
19347 to work on something else now tho...
19349 * gst/base/gstadapter.c: More adapter docs.
19351 * gst/elements/gstfilesink.c (gst_file_sink_start)
19352 (gst_file_sink_stop): New functions, replace the state change
19354 (gst_file_sink_class_init): Hook up the start and stop functions.
19355 (gst_file_sink_base_init): Don't set the state change handler any
19356 more. It was a bit ugly too, being set from here...
19357 (gst_file_sink_get_property, gst_file_sink_set_property):
19359 (gst_file_sink_set_location): More robust check that doesn't call
19360 GST_STATE. Ugggggg.
19362 2005-11-08 Tim-Philipp Müller <tim at centricular dot net>
19364 * gst/base/gstbasetransform.c: (gst_base_transform_event):
19365 Hold STREAM_LOCK while pushing newsegment or tag events as well.
19367 2005-11-08 Wim Taymans <wim@fluendo.com>
19369 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
19370 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
19371 (gst_base_sink_chain), (gst_base_sink_change_state):
19372 * gst/base/gstbasesink.h:
19373 * gst/base/gstbasesrc.h:
19374 * gst/gstelement.h:
19376 Avoid excessive typechecking in macros.
19378 * gst/gstminiobject.c: (gst_mini_object_get_type),
19379 (gst_mini_object_init), (gst_mini_object_new),
19380 (gst_mini_object_free):
19381 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
19382 (gst_object_finalize):
19383 Remove cruft code, optimize alloc_trace.
19385 2005-11-07 Thomas Vander Stichele <thomas at apestaart dot org>
19387 * docs/faq/gst-uninstalled:
19388 fix up PS1 for systems that try to reset it
19390 2005-11-07 Wim Taymans <wim@fluendo.com>
19392 * gst/base/gstbasesrc.c: (gst_base_src_init),
19393 (gst_base_src_get_range):
19394 Set the segment_end to -1 initially. Fixed typefind.
19396 2005-11-07 Tim-Philipp Müller <tim at centricular dot net>
19398 * gst/base/gstadapter.c:
19399 Debug category should be 'adapter', not 'GstAdapter'.
19401 * gst/base/gstcollectpads.c: (gst_collectpads_base_init),
19402 (gst_collectpads_class_init), (gst_collectpads_init),
19403 (gst_collectpads_peek), (gst_collectpads_pop),
19404 (gst_collectpads_event), (gst_collectpads_chain):
19405 Add debug category and some debugging output. Use boilerplate
19406 macros. Remove some extraneous words from docs.
19408 2005-11-05 Andy Wingo <wingo@pobox.com>
19410 * gst/base/gstpushsrc.c: Shorten by 30% via use of boilerplate
19413 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19415 * docs/gst/gstreamer-sections.txt:
19418 * gst/gstminiobject.h:
19423 2005-11-04 Wim Taymans <wim@fluendo.com>
19425 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19426 Small update to stop at the configured segment_end
19429 2005-11-04 Stefan Kost <ensonic@users.sf.net>
19431 * gst/gstregistry.c:
19432 * gst/gstregistry.h:
19435 2005-11-04 Edward Hervey <edward@fluendo.com>
19437 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
19438 Check if we are doing a segment seek and have arrived at the
19439 end of that segment.
19441 2005-11-04 Wim Taymans <wim@fluendo.com>
19443 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_sync_handler):
19444 Don't leak a mutex unlock in case of an error.
19449 2005-11-04 Wim Taymans <wim@fluendo.com>
19451 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_init),
19453 Get the context to wake up only once.
19455 2005-11-03 Wim Taymans <wim@fluendo.com>
19457 * check/states/sinks.c: (GST_START_TEST):
19458 Uncomment fixed check.
19460 * docs/design/part-TODO.txt:
19463 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19464 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19465 (gst_base_sink_get_position):
19466 If we are going to PLAYING, post the right pending state
19467 when we post the intermediate paused message.
19469 * gst/gstelement.c: (gst_element_continue_state),
19470 (gst_element_set_state_func), (gst_element_change_state):
19471 Don't post state changes that were between the same state
19472 and were not ASYNC.
19474 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19476 * docs/gst/gstreamer-sections.txt:
19479 * gst/gstminiobject.h:
19482 more docs and doc style fixes
19484 2005-11-03 Stefan Kost <ensonic@users.sf.net>
19486 * docs/gst/gstreamer-sections.txt:
19487 * gst/gstelement.c:
19488 * gst/gstminiobject.c:
19491 2005-11-03 Andy Wingo <wingo@pobox.com>
19493 * check/states/sinks.c (test_livesrc_sink): Add checks that the
19494 state-changed messages actually have the right order and the right
19497 2005-11-03 Wim Taymans <wim@fluendo.com>
19499 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
19500 Added some more checks. Specifically the case where NO_PREROLL
19501 elements are in the pipeline.
19503 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19504 (gst_base_sink_handle_object), (gst_base_sink_do_sync),
19505 (gst_base_sink_get_position):
19506 Post READY->PAUSED state change messages too.
19507 Fix bug where VOID was posted as pending state...
19509 * gst/gstbin.c: (gst_bin_recalc_state):
19510 use _element_continue_state() to continue the state change.
19512 * gst/gstelement.c: (gst_element_continue_state),
19513 (gst_element_commit_state), (gst_element_set_state_func),
19514 (gst_element_change_state), (gst_element_change_state_func):
19515 Lots of state change cleanups, assign the STATE_RETURN in
19516 a new continue_state() function that also propagates the
19517 last return value from a state change to the app.
19518 Update some debug statements with proper category.
19520 2005-11-03 Wim Taymans <wim@fluendo.com>
19522 * docs/design/part-events.txt:
19523 * docs/design/part-gstpipeline.txt:
19524 * docs/design/part-messages.txt:
19525 * docs/design/part-overview.txt:
19526 * docs/design/part-seeking.txt:
19527 * docs/design/part-states.txt:
19528 * docs/design/part-trickmodes.txt:
19529 * docs/manual/advanced-position.xml:
19530 Small docs updates.
19533 People think !! is ugly, this looks better.
19535 * gst/gstpad.c: (gst_pad_set_blocked_async):
19536 Remove !! since it's fixed elsewhere now.
19538 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19540 * gst/gstminiobject.h:
19542 Add !! to _FLAG_IS_SET macros to make the result boolean.
19544 2005-11-03 Edward Hervey <edward@fluendo.com>
19546 * gst/gstpad.c: (gst_pad_set_blocked_async):
19547 comparing a flag and a gboolean rarely returns coherent results...
19548 Added two characters (!!) to make that work correctly.
19550 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19552 * gst/gstbus.c: (gst_bus_class_init):
19555 * gst/gstqueue.c: (gst_queue_loop):
19556 Don't assume a miniobject that isn't a buffer is an
19557 event (it could be that there is a refcounting
19558 problem somewhere and the pointer is stale and
19559 refers to an already destroyed miniobject).
19561 2005-11-03 Julien MOUTTE <julien@moutte.net>
19563 * gst/gstpad.c: (gst_pad_alloc_buffer): Fix some typos.
19565 2005-11-03 Tim-Philipp Müller <tim at centricular dot net>
19567 * docs/manual/advanced-position.xml:
19568 Update seek example and explanations to current 0.9 API.
19570 * gst/elements/gsttypefindelement.c:
19571 (gst_type_find_element_activate):
19572 Remove FIXME comment now that the found caps
19575 2005-11-03 Thomas Vander Stichele <thomas at apestaart dot org>
19577 * gst/gstregistryxml.c: (load_feature):
19578 Add another GST_STR_NULL instance
19580 2005-11-02 Edward Hervey <edward@fluendo.com>
19582 * gst/gstpad.c: (handle_pad_block):
19583 Follow-up to Wim's patch, solves deadlock for blocked and flushing pads
19585 2005-11-02 Wim Taymans <wim@fluendo.com>
19590 * gst/gstelement.c: (gst_element_commit_state):
19591 Remove unused value.
19593 * gst/gstiterator.c:
19594 Mention that the returned element is reffed in the docs.
19596 2005-11-02 Wim Taymans <wim@fluendo.com>
19598 * gst/gstpad.c: (gst_pad_alloc_buffer), (handle_pad_block),
19599 (gst_pad_push), (gst_pad_push_event):
19600 Unlock blocked pads when they are flushed.
19602 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19605 * docs/gst/gstreamer-sections.txt:
19608 * gst/gstregistry.c: (gst_registry_scan_path_level):
19609 fix for a nasty little missed situation where an installed plug-in
19610 which was in the cache did not get overridden by an uninstalled one
19611 which was earlier in the plugin path because the newly created plugin
19612 for the uninstalled one (not in the registry) didn't get its
19613 ->registered set to TRUE
19615 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19617 * gst/base/gstcollectpads.c: (gst_collectpads_set_function),
19618 (gst_collectpads_add_pad), (gst_collectpads_remove_pad),
19619 (gst_collectpads_is_active), (gst_collectpads_collect),
19620 (gst_collectpads_collect_range), (gst_collectpads_start),
19621 (gst_collectpads_stop), (gst_collectpads_peek),
19622 (gst_collectpads_pop), (gst_collectpads_available),
19623 (gst_collectpads_read), (gst_collectpads_flush):
19624 Guard public API with assertions.
19627 Fix docs for gst_pad_set_link_function().
19629 2005-11-02 Johan Dahlin <johan@gnome.org>
19631 * gst/elements/gsttypefindelement.c (gst_type_find_element_activate):
19632 Unref found_caps after we used it.
19634 2005-11-02 Tim-Philipp Müller <tim at centricular dot net>
19636 * gst/base/gstcollectpads.c: (gst_collectpads_peek):
19637 Don't try to ref NULL.
19639 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19641 * win32/common/config.h.in:
19642 provide a GST_FUNCTION that just gives a string for now
19644 2005-11-02 Thomas Vander Stichele <thomas at apestaart dot org>
19646 * win32/common/gstenumtypes.c: (register_gst_object_flags),
19647 (gst_object_flags_get_type), (register_gst_bin_flags),
19648 (gst_bin_flags_get_type), (register_gst_buffer_flag),
19649 (gst_buffer_flag_get_type), (register_gst_bus_flags),
19650 (gst_bus_flags_get_type), (register_gst_bus_sync_reply),
19651 (gst_bus_sync_reply_get_type), (register_gst_clock_return),
19652 (gst_clock_return_get_type), (register_gst_clock_entry_type),
19653 (gst_clock_entry_type_get_type), (register_gst_clock_flags),
19654 (gst_clock_flags_get_type), (register_gst_state),
19655 (gst_state_get_type), (register_gst_state_change_return),
19656 (gst_state_change_return_get_type), (register_gst_state_change),
19657 (gst_state_change_get_type), (register_gst_element_flags),
19658 (gst_element_flags_get_type), (register_gst_core_error),
19659 (gst_core_error_get_type), (register_gst_library_error),
19660 (gst_library_error_get_type), (register_gst_resource_error),
19661 (gst_resource_error_get_type), (register_gst_stream_error),
19662 (gst_stream_error_get_type), (register_gst_event_type),
19663 (gst_event_type_get_type), (register_gst_seek_type),
19664 (gst_seek_type_get_type), (register_gst_seek_flags),
19665 (gst_seek_flags_get_type), (register_gst_format),
19666 (gst_format_get_type), (register_gst_index_certainty),
19667 (gst_index_certainty_get_type), (register_gst_index_entry_type),
19668 (gst_index_entry_type_get_type),
19669 (register_gst_index_lookup_method),
19670 (gst_index_lookup_method_get_type), (register_gst_assoc_flags),
19671 (gst_assoc_flags_get_type), (register_gst_index_resolver_method),
19672 (gst_index_resolver_method_get_type), (register_gst_index_flags),
19673 (gst_index_flags_get_type), (register_gst_debug_level),
19674 (gst_debug_level_get_type), (register_gst_debug_color_flags),
19675 (gst_debug_color_flags_get_type), (register_gst_iterator_result),
19676 (gst_iterator_result_get_type), (register_gst_iterator_item),
19677 (gst_iterator_item_get_type), (register_gst_message_type),
19678 (gst_message_type_get_type), (register_gst_mini_object_flags),
19679 (gst_mini_object_flags_get_type), (register_gst_pad_link_return),
19680 (gst_pad_link_return_get_type), (register_gst_flow_return),
19681 (gst_flow_return_get_type), (register_gst_activate_mode),
19682 (gst_activate_mode_get_type), (register_gst_pad_direction),
19683 (gst_pad_direction_get_type), (register_gst_pad_flags),
19684 (gst_pad_flags_get_type), (register_gst_pad_presence),
19685 (gst_pad_presence_get_type), (register_gst_pad_template_flags),
19686 (gst_pad_template_flags_get_type), (register_gst_pipeline_flags),
19687 (gst_pipeline_flags_get_type), (register_gst_plugin_error),
19688 (gst_plugin_error_get_type), (register_gst_plugin_flags),
19689 (gst_plugin_flags_get_type), (register_gst_rank),
19690 (gst_rank_get_type), (register_gst_query_type),
19691 (gst_query_type_get_type), (register_gst_tag_merge_mode),
19692 (gst_tag_merge_mode_get_type), (register_gst_tag_flag),
19693 (gst_tag_flag_get_type), (register_gst_task_state),
19694 (gst_task_state_get_type), (register_gst_alloc_trace_flags),
19695 (gst_alloc_trace_flags_get_type),
19696 (register_gst_type_find_probability),
19697 (gst_type_find_probability_get_type), (register_gst_uri_type),
19698 (gst_uri_type_get_type), (register_gst_parse_error),
19699 (gst_parse_error_get_type):
19700 * win32/common/gstversion.h:
19701 update win32 copies
19703 2005-11-01 Luca Ognibene <luogni@tin.it>
19706 fix docs. popt is dead, long live GOption.
19708 2005-10-31 Wim Taymans <wim@fluendo.com>
19713 2005-10-31 Andy Wingo <wingo@pobox.com>
19717 * gst/gstqueue.c (gst_queue_chain): Fix downstream leaky mode.
19719 * gst/gstobject.c (gst_object_dispatch_properties_changed): No
19720 need to serialize property notifications on GLib 2.8. GLib 2.6 has
19721 the possibility of deadlocks here if code calling notify() or
19722 set() has a lock that can be taken in another notify handler (ABBA
19723 with class lock and e.g. python GIL state lock).
19725 2005-10-28 Julien MOUTTE <julien@moutte.net>
19727 * gst/gstbus.c: Doc updates.
19729 2005-10-28 Wim Taymans <wim@fluendo.com>
19731 * docs/design/part-TODO.txt:
19732 * gst/gstiterator.c:
19733 * gst/gstsystemclock.c:
19734 * gst/gstsystemclock.h:
19737 2005-10-28 Edward Hervey <edward@fluendo.com>
19739 * docs/gst/gstreamer-docs.sgml:
19740 * docs/gst/gstreamer-sections.txt:
19741 the GstURIType documentation page is private, it only defines GstURIType
19742 which should be defined in the GstURIHandler page
19744 2005-10-28 Thomas Vander Stichele <thomas at apestaart dot org>
19746 * gst/gstbin.c: (gst_bin_class_init):
19749 Documentation updates.
19751 2005-10-28 Wim Taymans <wim@fluendo.com>
19753 * docs/gst/gstreamer-sections.txt:
19756 Documented the clocks.
19758 2005-10-28 Stefan Kost <ensonic@users.sf.net>
19760 * docs/gst/gstreamer-sections.txt:
19761 move some macros to private sections
19762 * gst/gstminiobject.c:
19763 * gst/gstminiobject.h:
19764 add descriptions provided by ds and some more
19766 mark macro as to be removed
19768 2005-10-28 Wim Taymans <wim@fluendo.com>
19770 * docs/design/part-TODO.txt:
19771 Add an item to TODO.
19773 * gst/gstiterator.c: (gst_iterator_fold),
19774 (gst_iterator_find_custom):
19775 * gst/gstiterator.h:
19778 2005-10-28 Wim Taymans <wim@fluendo.com>
19780 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
19781 (gst_base_transform_init):
19784 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_loop):
19785 An EOS event marks the queue as completely filled.
19787 2005-10-27 Wim Taymans <wim@fluendo.com>
19789 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19790 (gst_base_sink_do_sync), (gst_base_sink_get_position):
19791 Some more debugging.
19793 * gst/base/gstbasetransform.c: (gst_base_transform_finalize),
19794 (gst_base_transform_init), (gst_base_transform_buffer_alloc),
19795 (gst_base_transform_event), (gst_base_transform_getrange),
19796 (gst_base_transform_chain):
19797 * gst/base/gstbasetransform.h:
19799 Protect transform and concurrent buffer alloc with a new lock.
19800 Try not to break ABI/API.
19802 2005-10-27 Wim Taymans <wim@fluendo.com>
19804 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
19805 (gst_base_src_init), (gst_base_src_query),
19806 (gst_base_src_default_newsegment),
19807 (gst_base_src_configure_segment), (gst_base_src_do_seek),
19808 (gst_base_src_send_event), (gst_base_src_event_handler),
19809 (gst_base_src_pad_get_range), (gst_base_src_loop),
19810 (gst_base_src_unlock), (gst_base_src_default_negotiate),
19811 (gst_base_src_start), (gst_base_src_deactivate),
19812 (gst_base_src_activate_push), (gst_base_src_change_state):
19813 Move some stuff around and cleanup things.
19815 2005-10-27 Tim-Philipp Müller <tim at centricular dot net>
19817 * gst/base/gstbasesrc.c: (gst_base_src_query):
19818 Add missing break statements.
19820 2005-10-27 Wim Taymans <wim@fluendo.com>
19822 * check/gst/gstbin.c: (GST_START_TEST):
19823 An extra refcount is taken in basesrc.
19825 * gst/base/gstbasesrc.c: (gst_base_src_init), (gst_base_src_query),
19826 (gst_base_src_get_range), (gst_base_src_pad_get_range),
19827 (gst_base_src_loop):
19828 Small cleanups, check for flushing after being unlocked from the
19829 LIVE_LOCK. take refcounts correctly (not yet everywhere).
19830 Don't send out EOS when going to READY.
19832 2005-10-27 Wim Taymans <wim@fluendo.com>
19834 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
19835 (gst_base_sink_get_position):
19838 * gst/gstbin.c: (message_check), (bin_replace_message),
19839 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19840 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19841 (bin_query_duration_init), (bin_query_duration_fold),
19842 (bin_query_duration_done), (bin_query_generic_fold),
19844 * tools/gst-launch.c: (main):
19847 2005-10-26 Stefan Kost <ensonic@users.sf.net>
19849 * examples/controller/audio-example.c: (main):
19850 * examples/queue/queue.c: (event_loop):
19851 * gst/base/gstbasetransform.h:
19852 * gst/gstelement.c: (gst_element_send_event):
19854 * gst/gstpad.c: (gst_pad_send_event):
19857 changing log priority in error situations
19859 2005-10-25 Wim Taymans <wim@fluendo.com>
19861 * gst/gstbin.c: (message_check), (bin_replace_message),
19862 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19863 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19864 (bin_query_duration_init), (bin_query_duration_fold),
19865 (bin_query_duration_done), (bin_query_generic_fold),
19867 Some doc and debug updates.
19868 Cache previously requested query DURATION for speed. invalidate
19869 cached duration if element posts a DURATION message.
19871 2005-10-25 Wim Taymans <wim@fluendo.com>
19873 * docs/design/part-TODO.txt:
19876 * gst/gstbin.c: (message_check), (bin_replace_message),
19877 (bin_remove_messages), (is_eos), (gst_bin_add_func),
19878 (update_degree), (gst_bin_sort_iterator_next), (bin_bus_handler),
19879 (bin_query_duration_init), (bin_query_duration_fold),
19880 (bin_query_duration_done), (bin_query_generic_fold),
19882 Handle SEGMENT_START/DONE messages correctly.
19883 More evolved query algorithm that handles duration queries
19886 * gst/gstelement.c: (gst_element_send_event), (gst_element_query),
19887 (gst_element_get_state_func), (gst_element_abort_state),
19888 (gst_element_commit_state), (gst_element_lost_state):
19889 Some more debugging.
19891 * gst/gstmessage.h:
19894 2005-10-25 Wim Taymans <wim@fluendo.com>
19896 * gst/base/gstbasesink.c: (gst_base_sink_get_position):
19897 Don't use invalid stream_time.
19899 * gst/gstevent.c: (gst_event_new_newsegment):
19900 stream_time in newsegment cannot be undefined.
19902 2005-10-24 Wim Taymans <wim@fluendo.com>
19907 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
19909 Fix potential deadlock when QUEUE_LOCK is taken before STREAM_LOCK.
19911 2005-10-24 Stefan Kost <ensonic@users.sf.net>
19913 * docs/libs/tmpl/gstdparam.sgml:
19914 * docs/libs/tmpl/gstdplinint.sgml:
19915 * docs/libs/tmpl/gstdpman.sgml:
19916 * docs/libs/tmpl/gstdpsmooth.sgml:
19917 * docs/libs/tmpl/gstunitconvert.sgml:
19920 2005-10-24 Thomas Vander Stichele <thomas at apestaart dot org>
19925 === release 0.9.4 ===
19927 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
19930 releasing 0.9.4, "Tyrannosaurus Rex"
19932 2005-10-23 Tim-Philipp Müller <tim at centricular dot net>
19934 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
19935 (gst_file_sink_get_current_offset):
19936 Use fseeko() and ftello() if available. When falling back on
19937 lseek() to get the current offset, fflush() first to make sure
19938 everything is up-to-date and we get the right offset.
19940 2005-10-23 Thomas Vander Stichele <thomas at apestaart dot org>
19942 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
19943 * gst/base/gstbasesrc.c: (gst_base_src_loop):
19944 * gst/gsterror.c: (_gst_stream_errors_init):
19946 * gst/gstqueue.c: (gst_queue_loop):
19948 remove prematurely added error category and clean up the instances
19950 2005-10-21 Wim Taymans <wim@fluendo.com>
19952 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
19953 (gst_base_sink_get_position), (gst_base_sink_query),
19954 (gst_base_sink_change_state):
19955 Simply set the right flag when going to playing, that's all
19956 we need to do instead of calling a function inside the object
19957 lock (that could take the lock as well and deadlock)
19959 2005-10-21 Wim Taymans <wim@fluendo.com>
19961 * gst/base/gstbasesrc.c: (gst_base_src_do_seek),
19962 (gst_base_src_loop):
19963 Don't warn, the peer element knows what to do best when
19964 the seek failed, it might try something else.
19966 2005-10-21 Wim Taymans <wim@fluendo.com>
19968 * gst/base/gstbasesrc.c: (gst_base_src_init),
19969 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
19972 2005-10-21 Wim Taymans <wim@fluendo.com>
19974 * docs/design/part-segments.txt:
19977 * gst/elements/gstcapsfilter.c: (gst_capsfilter_prepare_buf):
19978 Correctly set caps, even on the subbufer.
19980 2005-10-21 Wim Taymans <wim@fluendo.com>
19982 * docs/gst/gstreamer-docs.sgml:
19983 * docs/gst/gstreamer-sections.txt:
19984 * gst/gstelement.h:
19987 * gst/gstmessage.h:
19990 * gst/gsttask.c: (gst_task_finalize), (gst_task_func):
19994 And 2% more doc coverage.
19996 2005-10-21 Andy Wingo <wingo@pobox.com>
19998 * gst/base/gstbasesrc.c (gst_base_src_query): Clean up percent
19999 position reporting.
20001 2005-10-20 Wim Taymans <wim@fluendo.com>
20003 * gst/gsterror.c: (gst_error_get_message):
20006 * gst/gststructure.c:
20011 2005-10-20 Wim Taymans <wim@fluendo.com>
20016 Another 1% more coverage.
20018 2005-10-20 Wim Taymans <wim@fluendo.com>
20020 * docs/gst/gstreamer-sections.txt:
20021 * gst/gstelement.c: (gst_element_get_state_func),
20022 (gst_element_abort_state), (gst_element_commit_state),
20023 (gst_element_lost_state):
20025 * gst/gstquery.c: (gst_query_set_position),
20026 (gst_query_parse_position), (gst_query_set_duration),
20027 (gst_query_parse_duration), (gst_query_new_convert):
20029 Yay! 1% more docs coverage.
20031 2005-10-20 Wim Taymans <wim@fluendo.com>
20034 * gst/gstquery.c: (gst_query_set_position),
20035 (gst_query_parse_position), (gst_query_set_duration),
20036 (gst_query_parse_duration), (gst_query_new_convert):
20038 * gst/gstutils.c: (gst_element_query_convert):
20040 Docs and consistency fixes.
20042 2005-10-20 Wim Taymans <wim@fluendo.com>
20048 2005-10-20 Wim Taymans <wim@fluendo.com>
20050 * gst/gstbin.c: (message_check), (bin_replace_message),
20051 (bin_remove_messages), (is_eos), (gst_bin_add_func),
20052 (update_degree), (gst_bin_sort_iterator_next),
20053 (gst_bin_change_state_func), (gst_bin_dispose), (bin_bus_handler):
20054 Reworked the message handling a bit, cache the messages instead of
20055 only the senders. alows us to do more in the future.
20057 2005-10-20 Wim Taymans <wim@fluendo.com>
20059 * docs/design/part-TODO.txt:
20062 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20063 (gst_base_sink_query):
20064 Don't use clock time to report position when in EOS.
20066 2005-10-20 Tim-Philipp Müller <tim at centricular dot net>
20068 * tools/gst-inspect.c: (print_interfaces),
20069 (print_element_properties_info), (print_element_info):
20070 Fix interface output with gst-inspect -a; don't print
20071 newlines after double/float properties.
20073 2005-10-20 Wim Taymans <wim@fluendo.com>
20075 * gst/base/gstbasesink.c: (gst_base_sink_get_position),
20076 (gst_base_sink_query):
20077 Speed up current position calculation.
20079 * gst/base/gstbasesrc.c: (gst_base_src_query),
20080 (gst_base_src_default_newsegment):
20081 Correctly set stream position in newsegment.
20083 * gst/gstbin.c: (gst_bin_add_func), (add_to_queue),
20084 (update_degree), (gst_bin_sort_iterator_next),
20085 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free):
20086 * gst/gstmessage.c: (gst_message_new_custom):
20087 Clean up debugging info
20089 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
20090 (gst_queue_loop), (gst_queue_handle_src_query):
20093 2005-10-19 Wim Taymans <wim@fluendo.com>
20095 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20096 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20097 Fix query handling again.
20099 2005-10-19 Wim Taymans <wim@fluendo.com>
20101 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20102 (gst_base_sink_handle_object), (gst_base_sink_query), (do_playing):
20103 * gst/base/gstbasesrc.c: (gst_base_src_query):
20104 * gst/elements/gstfilesink.c: (gst_file_sink_query):
20105 * gst/elements/gsttypefindelement.c:
20106 (gst_type_find_handle_src_query), (find_element_get_length),
20107 (gst_type_find_element_activate):
20110 * gst/gstquery.c: (gst_query_new_position),
20111 (gst_query_set_position), (gst_query_parse_position),
20112 (gst_query_new_duration), (gst_query_set_duration),
20113 (gst_query_parse_duration), (gst_query_set_segment),
20114 (gst_query_parse_segment):
20116 Bundling query position/duration is not a good idea since duration
20117 does not change much and we don't want to recalculate it for every
20118 position query, so they are separated again..
20119 Base value in segment query is not needed.
20121 * gst/gstqueue.c: (gst_queue_handle_src_query):
20122 * gst/gstutils.c: (gst_element_query_position),
20123 (gst_element_query_duration), (gst_pad_query_position),
20124 (gst_pad_query_duration):
20126 Updates for query API change.
20127 Added some docs here and there.
20129 2005-10-19 Thomas Vander Stichele <thomas at apestaart dot org>
20131 * check/gst/gstbin.c: (GST_START_TEST):
20132 * check/gst/gstghostpad.c: (GST_START_TEST):
20133 * check/pipelines/cleanup.c: (GST_START_TEST):
20134 wait on thread to die so we can check refcount correctly
20136 2005-10-18 Wim Taymans <wim@fluendo.com>
20138 * check/pipelines/stress.c: (GST_START_TEST):
20139 Make check a little more time consuming.
20141 2005-10-18 Wim Taymans <wim@fluendo.com>
20143 * check/Makefile.am:
20144 * check/pipelines/stress.c: (GST_START_TEST),
20145 (simple_launch_lines_suite), (main):
20146 Small state change torture test.
20148 * docs/design/part-states.txt:
20149 * gst/base/gstbasesink.c: (gst_base_sink_commit_state),
20150 (gst_base_sink_handle_object), (gst_base_sink_event), (do_playing),
20151 (gst_base_sink_change_state):
20152 Never take state lock from streaming thread, clean up ugly
20153 hacks. Unfortunatly core does not yet support nice ways to
20154 async commit state.
20156 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_recalc_state),
20158 Start state recalc if a STATE_DIRTY message is posted, but only
20159 on the toplevel bin.
20161 * gst/gstelement.c: (gst_element_sync_state_with_parent),
20162 (gst_element_get_state_func), (gst_element_abort_state),
20163 (gst_element_commit_state), (gst_element_lost_state),
20164 (gst_element_set_state_func), (gst_element_change_state):
20165 * gst/gstelement.h:
20166 State variables are now protected with the LOCK, the state
20167 lock is only used to serialize _set_state().
20169 2005-10-18 Wim Taymans <wim@fluendo.com>
20171 * check/gst/gstbin.c: (GST_START_TEST):
20172 * check/gst/gstmessage.c: (GST_START_TEST):
20173 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20174 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_recalc_func),
20176 * gst/gstelement.c: (gst_element_abort_state),
20177 (gst_element_commit_state), (gst_element_lost_state):
20178 * gst/gstmessage.c: (gst_message_new_state_changed),
20179 (gst_message_new_state_dirty), (gst_message_new_segment_start),
20180 (gst_message_new_segment_done), (gst_message_new_duration),
20181 (gst_message_parse_state_changed),
20182 (gst_message_parse_segment_start),
20183 (gst_message_parse_segment_done), (gst_message_parse_duration):
20184 * gst/gstmessage.h:
20185 * tools/gst-launch.c: (event_loop):
20186 Seriously, this is better than a previous commit as we only need
20187 to notify the fact that an element changed state in a streaming
20188 thread, marking the state of the parents dirty, hence the
20189 STATE_DIRTY message instead of abusing a boolean in a STATE_CHANGE
20192 2005-10-18 Wim Taymans <wim@fluendo.com>
20194 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_get_state_func),
20195 (gst_bin_recalc_func):
20196 * gst/gstelement.c: (gst_element_set_clock),
20197 (gst_element_abort_state), (gst_element_lost_state):
20198 Cleanups, prepare for state change fixes.
20200 2005-10-18 Wim Taymans <wim@fluendo.com>
20203 * gst/gstelement.c: (gst_element_class_init),
20204 (gst_element_set_state), (gst_element_set_state_func):
20205 * gst/gstelement.h:
20206 Pending ABI changes.
20207 GThreadPool in GstBinClass to monitor async state changes.
20208 state_cookie in GstElement to detect concurrent gst/set state.
20209 set_state is now virtual too in case a very complicated element
20210 has to be constructed.
20212 2005-10-18 Wim Taymans <wim@fluendo.com>
20214 * check/gst/gstbin.c: (GST_START_TEST):
20215 * check/gst/gstmessage.c: (GST_START_TEST):
20216 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
20217 * gst/gstbin.c: (bin_bus_handler):
20218 * gst/gstelement.c: (gst_element_commit_state),
20219 (gst_element_lost_state):
20220 * gst/gstmessage.c: (gst_message_new_state_changed),
20221 (gst_message_new_segment_start), (gst_message_new_segment_done),
20222 (gst_message_new_duration), (gst_message_parse_state_changed),
20223 (gst_message_parse_segment_start),
20224 (gst_message_parse_segment_done), (gst_message_parse_duration):
20225 * gst/gstmessage.h:
20226 * tools/gst-launch.c: (event_loop):
20227 Make messages future proof.
20228 state-change gets a flag if it was a message comming from the
20230 segment-start/stop can also be specified in other formats.
20231 A message to notify an app that a pipeline changed playback
20233 Also fix a GstMessage leak in -launch
20235 2005-10-18 Andy Wingo <wingo@pobox.com>
20237 * gst/gstelement.c (gst_element_dispose): More helpful message.
20239 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20241 reviewed by: <delete if not using a buddy>
20243 * common/gtk-doc.mak:
20245 2005-10-18 Thomas Vander Stichele <thomas at apestaart dot org>
20247 * gst/gstregistry.c: (gst_registry_scan_path_level):
20248 unref a plug-in we get that was already initialized
20250 2005-10-18 Stefan Kost <ensonic@users.sf.net>
20252 * docs/gst/gstreamer-sections.txt:
20253 * docs/libs/gstreamer-libs-sections.txt:
20254 * gst/gstelement.h:
20255 add new api entries
20256 hide internal macro
20258 2005-10-17 Andy Wingo <wingo@pobox.com>
20260 * gst/base/gstcollectpads.c (gst_collectpads_chain): Slight
20263 * gst/Makefile.am (gstenumtypes.c): Threadsafe now.
20265 * gst/gstevent.c (gst_event_new, gst_event_finalize): LOG.
20267 * gst/gstelement.c (gst_element_get_state_func): s/INFO/DEBUG/.
20268 (gst_element_get_state_func): Better debug message.
20269 (gst_element_commit_state): s/INFO/DEBUG/.
20270 (gst_element_lost_state, gst_element_change_state):
20272 * gst/gstmessage.c (gst_message_init): s/INFO/LOG/.
20273 (gst_message_new_custom): s/INFO/LOG/.
20275 2005-10-17 Michael Smith <msmith@fluendo.com>
20277 * gst/base/gstbasesink.c: (gst_base_sink_do_sync):
20278 Check if end time is valid using end time, not start time.
20280 2005-10-17 Stefan Kost <ensonic@users.sf.net>
20282 * check/gst-libs/controller.c: (GST_START_TEST),
20283 (gst_controller_suite):
20284 * libs/gst/controller/gstcontroller.c:
20285 (gst_controlled_property_set_interpolation_mode):
20286 * libs/gst/controller/gstcontroller.h:
20287 * libs/gst/controller/gstinterpolation.c:
20288 * testsuite/controller/.cvsignore:
20289 * testsuite/controller/Makefile.am:
20290 * testsuite/controller/interpolator.c:
20291 merge controller testsuites
20293 remove mem-chunk from docs
20295 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20297 * gst/gstmemchunk.c:
20298 * gst/gstmemchunk.h:
20299 * gst/gsttrashstack.c:
20300 * gst/gsttrashstack.h:
20301 out. get out. you're fired. to the Attic !
20303 2005-10-17 Thomas Vander Stichele <thomas at apestaart dot org>
20305 * gst/gstcaps.c: (gst_caps_intersect):
20306 fix signedness issues in a (hopefully) correct way
20307 * gst/gstelement.c: (gst_element_pads_activate):
20309 * gst/gstobject.c: (gst_object_set_parent):
20312 2005-10-17 Julien MOUTTE <julien@moutte.net>
20314 * gst/gstvalue.h: Fix prototypes.
20316 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20318 * docs/gst/gstreamer-sections.txt:
20319 * gst/gst.c: (gst_version_string):
20321 * gst/gstversion.h.in:
20322 * win32/common/libgstreamer.def:
20323 add gst_version_string ()
20325 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20329 * gst/gst.c: (init_post):
20330 * win32/common/config.h.in:
20332 * gst/gstcaps.c: (gst_caps_intersect):
20333 use gint64, the range could be bigger than a guint
20335 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20338 document potential problem in 2038
20340 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20342 * gst/gstcaps.c: (gst_caps_intersect):
20343 Fix guint j diving under 0
20345 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20348 * win32/common/config.h:
20349 * win32/common/config.h.in:
20350 check for process.h, declares getpid() on Windows
20352 include process.h if we have it
20353 * gst/gstmemchunk.c: (populate), (gst_mem_chunk_new):
20354 * gst/gstmemchunk.h:
20355 fix signedness issues
20356 * win32/common/libgstreamer.def:
20359 2005-10-16 Julien MOUTTE <julien@moutte.net>
20361 * gst/gstcaps.c: (gst_caps_intersect): Fix a bad bug with a simple
20362 fix. Because of unsigned ints, caps intersection was going nuts and
20363 trying to access structures with G_MAXUINT index. That fixes
20364 videotestsrc ! ffmpegcolorspace ! fakesink
20365 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked): logs
20368 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20371 use the gettext macro
20372 * gst/elements/gstelements.c:
20374 * gst/indexers/gstindexers.c:
20375 update for GST_PACKAGE_NAME, GST_PACKAGE_ORIGIN
20376 * win32/common/config.h:
20378 * win32/common/config.h.in:
20379 add the template to generate config.h
20380 * win32/common/gstenumtypes.c:
20381 * win32/common/gstversion.h:
20384 2005-10-16 Thomas Vander Stichele <thomas at apestaart dot org>
20386 * gst/gst.c: (gst_version):
20387 * gst/gstversion.h.in:
20390 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20393 Oops, add missing closing bracket.
20395 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20398 use common m4's for argument checking
20400 2005-10-15 Tim-Philipp Müller <tim at centricular dot net>
20402 * docs/gst/gstreamer-sections.txt:
20404 Add GST_EVENT_TYPE_NAME() macro.
20406 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20409 * gst/gstpluginfeature.c:
20411 privatize more symbols
20413 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20416 add srcdir, builddir includes to GST_ALL_CFLAGS, since
20417 everything that uses GStreamer API should have the includes
20419 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20421 * docs/gst/gstreamer-sections.txt:
20422 * gst/gstvalue.c: (gst_date_get_type), (_gst_value_initialize):
20424 give each value a _get_type, removes the DATA exports
20426 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20430 remove _gst_registry_auto_load, not used anymore
20431 * gst/gstbin.c: (gst_bin_get_type):
20433 * gst/gstelement.c: (gst_element_get_type):
20434 * gst/gstelement.h:
20435 * gst/gstobject.c: (gst_object_get_type):
20437 * gst/gstpad.c: (gst_pad_get_type):
20439 make _get_type functions similar, fixes data export from library
20441 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20444 correctly make conditionals
20445 * gst/elements/Makefile.am:
20446 * gst/elements/gstelements.c:
20447 fix typo causing fdsrc not to build
20449 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20451 * testsuite/Makefile.am:
20452 * testsuite/bytestream/.cvsignore:
20453 * testsuite/bytestream/Makefile.am:
20454 * testsuite/bytestream/filepadsink.c:
20455 * testsuite/bytestream/gstbstest.c:
20456 * testsuite/bytestream/test1.c:
20457 * testsuite/bytestream/testfile1:
20458 * testsuite/caps/normalisation.c:
20459 * testsuite/caps/random.c: (main):
20460 * testsuite/cleanup/.cvsignore:
20461 * testsuite/cleanup/Makefile.am:
20462 * testsuite/cleanup/cleanup1.c:
20463 * testsuite/cleanup/cleanup2.c:
20464 * testsuite/cleanup/cleanup3.c:
20465 * testsuite/cleanup/cleanup4.c:
20466 * testsuite/cleanup/cleanup5.c:
20467 * testsuite/controller/interpolator.c:
20468 * testsuite/debug/printf_extension.c: (main):
20469 * testsuite/elements/tee.c:
20470 * testsuite/negotiation/.cvsignore:
20471 * testsuite/negotiation/Makefile.am:
20472 * testsuite/negotiation/pad_link.c:
20473 * testsuite/pad/Makefile.am:
20474 * testsuite/pad/chainnopull.c:
20475 * testsuite/pad/getnopush.c:
20476 * testsuite/pad/link.c:
20477 * testsuite/refcounting/sched.c: (create_pipeline):
20478 * testsuite/registry/Makefile.am:
20479 * testsuite/registry/gst-print-formats.c:
20480 * testsuite/schedulers/.cvsignore:
20481 * testsuite/schedulers/142183-2.c:
20482 * testsuite/schedulers/142183.c:
20483 * testsuite/schedulers/143777-2.c:
20484 * testsuite/schedulers/143777.c:
20485 * testsuite/schedulers/147713.c:
20486 * testsuite/schedulers/147819.c:
20487 * testsuite/schedulers/147894-2.c:
20488 * testsuite/schedulers/147894.c:
20489 * testsuite/schedulers/Makefile.am:
20490 * testsuite/schedulers/group_link.c:
20491 * testsuite/schedulers/queue_link.c:
20492 * testsuite/schedulers/relink.c:
20493 * testsuite/schedulers/unlink.c:
20494 * testsuite/schedulers/unref.c:
20495 * testsuite/schedulers/useless_iteration.c:
20496 * testsuite/states/bin.c:
20497 clean out/remove some stuff from the testsuite directories
20499 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20502 check for some headers
20503 * gst/elements/Makefile.am:
20504 * gst/elements/gstelements.c:
20505 don't compile fdsrc without sys/socket.h
20506 * gst/indexers/Makefile.am:
20507 * gst/indexers/gstindexers.c: (plugin_init):
20508 don't compile fileindex without mmap
20510 2005-10-15 Thomas Vander Stichele <thomas at apestaart dot org>
20517 * check/Makefile.am:
20518 * docs/gst/Makefile.am:
20519 * examples/helloworld/Makefile.am:
20521 * gst/base/Makefile.am:
20522 * gst/check/Makefile.am:
20523 * gst/elements/Makefile.am:
20524 * gst/indexers/Makefile.am:
20525 * gst/parse/Makefile.am:
20526 * libs/gst/controller/Makefile.am:
20527 * libs/gst/dataprotocol/Makefile.am:
20528 * examples/helloworld/helloworld.c: (event_loop):
20529 compile fixes, though it's not being compiled currently
20531 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20533 * check/gst/gsttag.c: (test_date_tags), (gst_tag_suite):
20534 Add some simple tests for the new taglist date API.
20536 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20538 * gst/elements/gstfakesink.c: (gst_fake_sink_render):
20539 * gst/elements/gstfakesrc.c: (gst_fake_src_create):
20540 Beautify 'last-message' output: print 'none' for buffer timestamps
20541 and durations if none is set; improve alignment with next messages.
20543 2005-10-14 Tim-Philipp Müller <tim at centricular dot net>
20545 * gst/gstpluginfeature.c: (gst_plugin_feature_check_version):
20546 * gst/gstpluginfeature.h:
20547 * gst/gstregistry.c: (gst_default_registry_check_feature_version):
20548 * gst/gstregistry.h:
20549 * docs/gst/gstreamer-sections.txt:
20550 Add new API to check plugin feature version requirements.
20552 * check/gst/gstplugin.c: (test_version_checks), (gst_plugin_suite):
20553 Some basic tests for the above.
20555 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20557 * gst/gststructure.c: (gst_structure_to_string):
20558 guard against NULL printf - happens when for example
20559 a message structure with GstClock gets serialized
20561 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20563 * gst/base/gstcollectpads.c: (gst_collectpads_event):
20564 Fix presumable copy'n'pasto.
20566 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20568 * gst/elements/gstfakesrc.h:
20569 * gst/elements/gstfilesrc.c: (gst_file_src_create_read):
20570 * gst/elements/gsttypefindelement.c:
20571 fix some signedness
20572 * gst/elements/gstfilesink.c: (gst_file_sink_render):
20573 I wonder if this could actually write +2GB files before
20575 2005-10-13 Andy Wingo <wingo@pobox.com>
20577 * libs/gst/dataprotocol/dataprotocol.c (gst_dp_packet_from_caps):
20578 Fix Timmeke Waymans bug.
20579 (gst_dp_caps_from_packet): Make sure we pass a NUL-terminated
20580 string of the proper length to gst_caps_from_string. There's a
20581 potential for, before this fix, that this could cause someone
20582 connecting over the network to cause a segfault if the payload is
20583 not NUL-terminated.
20585 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20587 * docs/design/draft-push-pull.txt:
20588 * docs/design/part-overview.txt:
20589 * docs/random/TODO-pre-0.9:
20590 * docs/random/old/ChangeLog.gstreamer:
20591 * gst/base/gstpushsrc.c:
20595 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20597 * gst/glib-compat.c: (gst_flags_get_first_value):
20598 * gst/glib-compat.h:
20599 * gst/gstvalue.c: (gst_value_deserialize_int_helper),
20600 (gst_value_compare_double), (gst_value_serialize_flags):
20601 GLib 2.6 g_flags_get_first_value has a bug that triggers an
20604 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20607 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
20609 * tools/gst-launch.c: (event_loop):
20610 print out clock nicely
20612 2005-10-13 Tim-Philipp Müller <tim at centricular dot net>
20614 * docs/gst/gstreamer-sections.txt:
20615 * gst/gsttaglist.h:
20616 * gst/gsttaglist.c: (_gst_tag_initialize), (gst_tag_list_get_date),
20617 (gst_tag_list_get_date_index):
20618 Added gst_tag_list_get_date() and gst_tag_list_get_date_index().
20619 GST_TAG_DATE now has a tag type of GST_TYPE_DATE (#170777).
20621 2005-10-13 Julien MOUTTE <julien@moutte.net>
20623 * gst/base/gstcollectpads.c: (gst_collectpads_event),
20624 (gst_collectpads_chain):
20625 * gst/base/gstcollectpads.h: Handle newsegment and store informations
20628 2005-10-13 Stefan Kost <ensonic@users.sf.net>
20630 * docs/gst/gstreamer-sections.txt:
20633 * tools/gst-inspect.c: (main):
20634 * tools/gst-launch.c: (main):
20635 * tools/gst-run.c: (main):
20636 * tools/gst-xmlinspect.c: (main):
20637 fix GOption context leaks
20640 2005-10-13 Thomas Vander Stichele <thomas at apestaart dot org>
20644 * win32/common/config.h:
20646 * win32/vs6/grammar.dsp:
20647 * win32/vs6/libgstelements.dsp:
20648 * win32/vs6/libgstreamer.dsp:
20651 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20653 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
20654 * gst/base/gstbasesrc.c: (gst_base_src_query):
20655 fix more guint64<->gdouble conversions
20657 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20660 add win32-update target
20661 * win32/common/gstconfig.h:
20662 * win32/common/gstenumtypes.c:
20663 * win32/common/gstenumtypes.h:
20664 * win32/common/gstversion.h:
20665 add files that visual studio can't generate
20667 2005-10-12 Thomas Vander Stichele <thomas at apestaart dot org>
20670 add a win32-update target
20673 2005-10-12 Wim Taymans <wim@fluendo.com>
20675 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20676 (reset_degree), (gst_bin_dispose), (bin_bus_handler):
20677 * gst/gstelement.c: (gst_element_commit_state),
20678 (gst_element_set_state):
20679 Protect flags with proper lock.
20680 unref provided cached clock in dispose.
20682 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20685 * gst/gstminiobject.h:
20687 * win32/gstenumtypes.c: (gst_mini_object_flags_get_type):
20688 removed unused flags from miniobject
20691 2005-10-12 Wim Taymans <wim@fluendo.com>
20693 * gst/elements/gstfilesink.c: (gst_file_sink_do_seek),
20694 (gst_file_sink_event), (gst_file_sink_render):
20695 Flush before seeking.
20697 2005-10-12 Andy Wingo <wingo@pobox.com>
20699 * gst/gst.c (gst_init_check): Ignore unknown options, as has
20700 always been the case.
20702 2005-10-12 Stefan Kost <ensonic@users.sf.net>
20704 * check/gst/gstbin.c: (GST_START_TEST):
20705 * docs/gst/gstreamer-sections.txt:
20706 * gst/base/gstbasesink.c: (gst_base_sink_init):
20707 * gst/base/gstbasesrc.c: (gst_base_src_init),
20708 (gst_base_src_get_range), (gst_base_src_check_get_range),
20709 (gst_base_src_start), (gst_base_src_stop):
20710 * gst/base/gstbasesrc.h:
20711 * gst/elements/gstfakesrc.c: (gst_fake_src_set_property):
20712 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
20713 (bin_element_is_sink), (reset_degree), (gst_bin_element_set_state),
20717 * gst/gstbus.c: (gst_bus_post), (gst_bus_set_flushing):
20719 * gst/gstelement.c: (gst_element_is_locked_state),
20720 (gst_element_set_locked_state), (gst_element_commit_state),
20721 (gst_element_set_state):
20722 * gst/gstelement.h:
20723 * gst/gstindex.c: (gst_index_init):
20725 * gst/gstminiobject.h:
20726 * gst/gstobject.c: (gst_object_init), (gst_object_sink),
20727 (gst_object_set_parent):
20729 * gst/gstpad.c: (gst_pad_set_blocked_async), (gst_pad_is_blocked),
20730 (gst_pad_get_caps_unlocked), (gst_pad_set_caps):
20732 * gst/gstpadtemplate.h:
20733 * gst/gstpipeline.c: (gst_pipeline_provide_clock_func),
20734 (gst_pipeline_use_clock), (gst_pipeline_auto_clock):
20735 * gst/gstpipeline.h:
20736 * gst/indexers/gstfileindex.c: (gst_file_index_load),
20737 (gst_file_index_commit):
20738 * testsuite/bytestream/filepadsink.c: (gst_fp_sink_init):
20739 * testsuite/pad/link.c: (gst_test_src_init),
20740 (gst_test_filter_init), (gst_test_sink_init):
20741 * testsuite/states/locked.c: (main):
20742 renamed GST_FLAGS macros to GST_OBJECT_FLAGS
20743 moved bitshift from macro to enum definition
20745 2005-10-12 Wim Taymans <wim@fluendo.com>
20747 * gst/base/gstbasesink.c: (gst_base_sink_handle_buffer):
20748 * gst/elements/gstfilesink.c: (gst_file_sink_event),
20749 (gst_file_sink_render):
20750 Some more debugging info.
20752 2005-10-12 Wim Taymans <wim@fluendo.com>
20754 * docs/design/part-states.txt:
20755 * tools/gst-launch.c: (main):
20757 Revert non-intentional change.
20759 2005-10-12 Wim Taymans <wim@fluendo.com>
20761 * check/gst/gstbin.c: (GST_START_TEST):
20762 * check/gst/gstelement.c: (GST_START_TEST):
20763 * check/gst/gstevent.c: (GST_START_TEST), (test_event):
20764 * check/gst/gstghostpad.c: (GST_START_TEST):
20765 * check/gst/gstpipeline.c: (GST_START_TEST):
20766 * check/pipelines/simple_launch_lines.c: (run_pipeline):
20767 * check/states/sinks.c: (GST_START_TEST):
20768 * gst/elements/gsttypefindelement.c: (stop_typefinding):
20769 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20770 (gst_bin_remove_func), (gst_bin_get_state_func),
20771 (gst_bin_recalc_state), (gst_bin_change_state_func),
20773 * gst/gstelement.c: (gst_element_get_state_func),
20774 (gst_element_get_state), (gst_element_abort_state),
20775 (gst_element_commit_state), (gst_element_set_state),
20776 (gst_element_change_state), (gst_element_change_state_func):
20777 * gst/gstelement.h:
20778 * gst/gstpipeline.c: (gst_pipeline_class_init), (do_pipeline_seek),
20779 (gst_pipeline_provide_clock_func):
20780 * gst/gstutils.c: (gst_element_link_pads_filtered):
20781 * tools/gst-launch.c: (main):
20782 * tools/gst-typefind.c: (main):
20783 Use GstClockTime in _get_state() instead of GTimeVal.
20784 Remove old code in gstutils.c
20786 2005-10-12 Andy Wingo <wingo@pobox.com>
20788 * gst/gstregistry.h (gst_registry_scan_paths): Not implemented, so
20791 * gst/gstpad.c (gst_pad_pause_task): Actually return FALSE if
20792 there is no task. Shouldn't affect any code, as nothing in our
20793 plugins checks this return value.
20794 (gst_pad_stop_task): Also take the stream lock if the pad has no
20795 task. Docs updated.
20797 2005-10-12 Wim Taymans <wim@fluendo.com>
20799 * gst/gstpad.c: (pre_activate), (post_activate),
20800 (gst_pad_activate_pull), (gst_pad_activate_push):
20801 Cleanup activation code. Reset old state if
20804 2005-10-12 Wim Taymans <wim@fluendo.com>
20806 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20807 (gst_base_sink_change_state):
20808 No need to prerol after receiving EOS.
20810 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
20811 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler):
20812 * gst/elements/gstidentity.c: (gst_identity_event):
20813 Print events more verbosely.
20815 2005-10-12 Wim Taymans <wim@fluendo.com>
20817 * check/Makefile.am:
20818 * check/states/sinks.c: (GST_START_TEST), (gst_object_suite):
20819 * check/states/sinks2.c:
20820 Moved sinks2 testcode in sinks check.
20822 * gst/gstbin.c: (gst_bin_provide_clock_func), (gst_bin_add_func),
20823 (gst_bin_remove_func), (gst_bin_recalc_state),
20824 (gst_bin_change_state_func), (bin_bus_handler):
20825 Fix potential race condition when _get_state() iterated over an
20826 ASYNC element right before it posted a state completion.
20829 Do proper cast here.
20831 * gst/gstevent.c: (gst_event_new_newsegment),
20832 (gst_event_parse_newsegment):
20833 A playback rate of 0.0 is not allowed.
20835 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20837 * win32/common/config.h:
20838 * win32/common/dirent.c: (_topendir), (_treaddir), (_tclosedir),
20839 (_trewinddir), (_ttelldir), (_tseekdir):
20840 * win32/common/dirent.h:
20841 * win32/common/gtchar.h:
20842 * win32/common/libgstbase.def:
20843 * win32/common/libgstreamer.def:
20844 * win32/vs6/grammar.dsp:
20845 * win32/vs6/gst_inspect.dsp:
20846 * win32/vs6/gst_launch.dsp:
20847 * win32/vs6/gstreamer.dsw:
20848 * win32/vs6/libgstbase.dsp:
20849 * win32/vs6/libgstelements.dsp:
20850 * win32/vs6/libgstreamer.dsp:
20851 Visual Studio 6 project files, and a new common directory.
20854 2005-10-11 Wim Taymans <wim@fluendo.com>
20856 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20857 (gst_base_sink_do_sync), (gst_base_sink_query),
20858 (gst_base_sink_change_state):
20859 * gst/base/gstbasesink.h:
20860 Correctly parse newsegment info.
20862 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20864 * gst/gst.c: (init_post):
20865 split plugin paths correctly
20867 2005-10-11 Wim Taymans <wim@fluendo.com>
20869 * check/gst/gstevent.c: (GST_START_TEST):
20870 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
20871 (gst_base_sink_change_state):
20872 * gst/base/gstbasesrc.c: (gst_base_src_default_newsegment):
20873 * gst/base/gstbasetransform.c: (gst_base_transform_event):
20874 * gst/elements/gstfilesink.c: (gst_file_sink_event):
20875 * gst/gstevent.c: (gst_event_new_newsegment),
20876 (gst_event_parse_newsegment):
20878 Added extra flag to newsegment for future API freeze.
20879 Updated check and base elements.
20881 2005-10-11 Julien MOUTTE <julien@moutte.net>
20883 * gst/base/gstcollectpads.c: (gst_collectpads_init),
20884 (gst_collectpads_add_pad), (gst_collectpads_pop),
20885 (gst_collectpads_event), (gst_collectpads_chain):
20886 * gst/base/gstcollectpads.h: Handle EOS correctly.
20888 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20890 * tools/gst-launch.c: (main):
20891 more null protecting
20893 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20895 * gst/gst-i18n-lib.h:
20896 check for ENABLE_NLS, not GETTEXT_PACKAGE
20897 * gst/gstregistry.c: (gst_registry_add_plugin),
20898 (gst_registry_scan_path_level),
20899 (_gst_registry_remove_cache_plugins):
20900 protect possibly NULL strings
20901 * gst/parse/types.h:
20902 config.h already included before
20903 * tools/gst-inspect.c: (main):
20904 sys/wait.h also doesn�t exist on mingw, so change the ifdef check
20905 check for ENABLE_NLS, not GETTEXT_PACKAGE
20906 * tools/gst-launch.c: (main):
20907 check for ENABLE_NLS, not GETTEXT_PACKAGE
20909 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20912 if we don't have glib, fail before testing 2.8
20913 * gst/base/gstbasetransform.c: (gst_base_transform_change_state):
20914 fix a leak, should fix plugins-base testsuite
20916 2005-10-11 Andy Wingo <wingo@pobox.com>
20918 * gst/gstpad.c (pre_activate): Renamed from pre_activate_switch,
20919 take the mode we're going to as an arg. Go head and set the mode
20920 and flushing flags now, so that if the activate function starts a
20921 thread all the flags will be in the right state.
20922 (post_activate): Renamed also. Just handle making sure streaming
20923 finishes for the deactivation case, and setting the deactivated
20925 (gst_pad_set_active): Complain loudly if deactivation fails.
20926 (gst_pad_activate_pull): Adapt to pre/post_activate changes.
20927 (gst_pad_activate_push): Adapt to pre/post_activate changes,
20928 remove the terrible hack.
20930 2005-10-11 Wim Taymans <wim@fluendo.com>
20932 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20933 (is_eos), (gst_bin_add_func), (gst_bin_remove_func),
20934 (gst_bin_recalc_state), (gst_bin_change_state_func),
20935 (gst_bin_dispose), (bin_bus_handler):
20937 Prepare to make current EOS message queue more generic.
20940 * gst/gstevent.c: (gst_event_new_newsegment),
20941 (gst_event_parse_newsegment):
20943 Rename base to stream_time.
20945 * gst/gstmessage.h:
20948 2005-10-11 Wim Taymans <wim@fluendo.com>
20950 * gst/gstbin.c: (gst_bin_init), (gst_bin_provide_clock_func),
20951 (gst_bin_add_func), (gst_bin_remove_func), (gst_bin_recalc_state),
20952 (gst_bin_change_state_func), (bin_bus_handler):
20954 Work on proper clock selection.
20956 2005-10-11 Edward Hervey <edward@fluendo.com>
20958 * libs/gst/controller/gstcontroller.c: (gst_controller_remove_properties_list):
20959 * libs/gst/controller/gstcontroller.h:
20960 Added GList* version of _remove_properties() in order to be able to wrap
20963 2005-10-11 Wim Taymans <wim@fluendo.com>
20965 * docs/design/part-states.txt:
20968 * gst/gstbin.c: (gst_bin_set_clock_func), (gst_bin_recalc_state),
20969 (gst_bin_change_state_func), (bin_bus_handler):
20970 Doc updates. Don't distribute the same clock over and over again.
20976 * gst/gstpad.c: (gst_flow_get_name), (gst_flow_to_quark),
20977 (gst_pad_get_type), (gst_pad_push), (gst_pad_push_event),
20978 (gst_pad_send_event):
20980 Make probe emission threadsafe again.
20981 Register quarks and move _get_name() from utils.
20984 * gst/gstpipeline.c: (gst_pipeline_class_init),
20985 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
20986 Only redistribute the clock of it changed.
20988 * gst/gstsystemclock.h:
20993 Moved the _flow_get_name() to GstPad.
20995 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
20997 * check/gst-libs/gdp.c: (GST_START_TEST):
20998 * check/gst/gstcaps.c: (GST_START_TEST):
20999 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_crc),
21000 (gst_dp_dump_byte_array), (gst_dp_header_from_buffer),
21001 (gst_dp_packet_from_caps):
21002 fix more valgrind warnings before turning up the heat
21004 2005-10-11 Thomas Vander Stichele <thomas at apestaart dot org>
21006 * gst/parse/grammar.y:
21007 some cleanup before the hacking
21009 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21011 * gst/base/gstbasesrc.c: (gst_base_src_query):
21013 * gst/gstutils.c: (gst_guint64_to_gdouble),
21014 (gst_gdouble_to_guint64), (gst_util_uint64_scale):
21016 externalize, basesrc uses it
21017 obviously the implementation needs testing
21019 2005-10-10 Wim Taymans <wim@fluendo.com>
21021 * tests/sched/Makefile.am:
21022 * tests/sched/sort.c: (make_pipeline1), (make_pipeline2),
21023 (make_pipeline3), (make_pipeline4), (print_elem), (main):
21025 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21027 * gst/gstutils.c: (guint64_to_gdouble), (gst_util_uint64_scale):
21028 apparently converting from guint64 to double is not implemented
21031 2005-10-10 Wim Taymans <wim@fluendo.com>
21033 * check/Makefile.am:
21034 * check/generic/states.c: (GST_START_TEST):
21035 * check/gst/gstbin.c: (GST_START_TEST):
21036 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21037 * check/states/sinks.c: (GST_START_TEST):
21038 * check/states/sinks2.c: (GST_START_TEST), (gst_object_suite),
21040 Check fixes, use API as stated in design docs, remove hacks.
21042 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21043 (gst_base_sink_change_state):
21044 Catch stopping our task while we're shutting down.
21046 * gst/gstbin.c: (gst_bin_init), (gst_bin_add_func),
21047 (gst_bin_remove_func), (gst_bin_get_state_func),
21048 (gst_bin_recalc_state), (gst_bin_change_state_func),
21051 * gst/gstelement.c: (gst_element_init),
21052 (gst_element_get_state_func), (gst_element_abort_state),
21053 (gst_element_commit_state), (gst_element_lost_state),
21054 (gst_element_set_state), (gst_element_change_state),
21055 (gst_element_change_state_func):
21056 * gst/gstelement.h:
21057 New state change algorithm (see #318116)
21059 * gst/gstpipeline.c: (gst_pipeline_class_init),
21060 (gst_pipeline_init), (gst_pipeline_set_property),
21061 (gst_pipeline_get_property), (do_pipeline_seek),
21062 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func):
21063 * gst/gstpipeline.h:
21064 Remove crude state change hacks.
21067 Remove crude hacks.
21069 * tools/gst-launch.c: (main):
21070 Fixes for state change. Needs some more work to fully use the
21073 2005-10-10 Andy Wingo <wingo@pobox.com>
21075 * tests/Makefile.am (noinst_PROGRAMS): No more init.c.
21077 * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
21078 this flag, but it's not even in GLib 2.6. Odd. Hack around the
21081 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21083 * gst/gstiterator.c: (gst_iterator_new):
21084 Fix my previous commit: GTypes passed to gst_iterator_new()
21085 can be fundamental types.
21087 2005-10-10 Wim Taymans <wim@fluendo.com>
21089 * gst/gstelement.c: (gst_element_iterate_pad_list),
21090 (gst_element_iterate_pads), (gst_element_iterate_src_pads),
21091 (gst_element_iterate_sink_pads):
21092 Use src/sink pads lists for the respective iterators instead
21095 2005-10-10 Andy Wingo <wingo@pobox.com>
21097 Merged in popt removal + GOption addition patch from Ronald, bug
21100 * docs/gst/gstreamer-sections.txt: Add STATE_(UN)LOCK_FULL, move
21101 GstElement macros around, remove popt-related symbols, add goption
21104 * configure.ac: Remove popt checks, require GLib 2.6 for GOption.
21106 * docs/gst/Makefile.am:
21107 * docs/libs/Makefile.am: No POPT_CFLAGS.
21109 * examples/manual/Makefile.am:
21110 * docs/manual/basics-init.xml: Doc updates with an example.
21112 * gst/gst.c: (gst_init_get_option_group), (gst_init_check),
21113 (gst_init), (parse_one_option), (parse_goption_arg):
21114 * gst/gst.h: Removed gst_init_with_popt_table and friends. Took a
21115 bit of hand merging and debugging to get the GOption stuff working
21118 * tests/Makefile.am:
21119 * tools/Makefile.am:
21120 * tools/gst-inspect.c: (main):
21121 * tools/gst-launch.c: (main):
21122 * tools/gst-run.c: (main):
21123 * tools/gst-xmlinspect.c: (main): Thanks Ronald!
21125 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21127 * gst/gstiterator.c: (gst_iterator_new):
21128 Add assertions to make sure passed GType is likely to really
21129 be a GType (as the compiler won't catch it if the size and
21130 GType arguments get mixed up, see #318447).
21132 2005-10-10 Josef Zlomek <josef dot zlomek at xeris dot cz>
21134 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21136 * gst/gstbin.c: (gst_bin_iterate_sorted):
21137 Pass GType and size arguments to gst_iterator_new() in the right
21138 order (maybe we should make _new() take the GType as first argument
21139 just like _new_list()?) (#318447).
21142 2005-10-10 Wim Taymans <wim@fluendo.com>
21144 * gst/gstelement.c: (gst_element_finalize):
21145 And free the GStaticRecMutex too
21147 2005-10-10 Andy Wingo <wingo@pobox.com>
21149 * gst/gstelement.c (gst_element_init, gst_element_finalize):
21150 Allocate and free the mutex properly.
21152 * gst/gstelement.h (GST_STATE_UNLOCK_FULL, GST_STATE_LOCK_FULL):
21154 (GstElement): The state_lock is now recursive. Rebuild your
21155 plugins, suckers. Old macros adapted.
21157 * docs/gst/gstreamer-sections.txt: Doc updates.
21160 * gst/gstutils.c (g_static_rec_cond_timed_wait)
21161 (g_static_rec_cond_wait): Ported from state changes patch, while
21162 we wait on bug #317802 to be solved in a well-distributed GLib.
21164 * gst/gstelement.c (gst_element_change_state_func): Renamed from
21165 gst_element_change_state, variable name changes.
21166 (gst_element_change_state): Split out of gst_element_set_state in
21167 preparation for the state change merge. Doesn't pay attention to
21168 the 'transition' argument.
21169 (gst_element_set_state): Updates, hopefully purely cosmetic.
21170 (gst_element_sync_state_with_parent): MT-safety. Ported from the
21171 state change patch.
21172 (gst_element_get_state_func): Renamed from get_state, cosmetic
21175 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21177 * gst/elements/gstelements.c:
21178 * win32/GStreamer.vcproj:
21180 * win32/dirent.c: (_tseekdir):
21181 * win32/gst-inspect.vcproj:
21182 * win32/gst-launch.vcproj:
21183 * win32/gstconfig.h:
21184 * win32/gstelements.vcproj:
21185 * win32/gstenumtypes.c: (gst_object_flags_get_type):
21186 * win32/gstreamer.def:
21187 * win32/msvc71.sln:
21188 updates for the win32 build (patch from Sebastien Moutte)
21190 2005-10-10 Andy Wingo <wingo@pobox.com>
21192 * gst/gstbin.c (gst_bin_get_state_func): Renamed from
21193 gst_bin_get_state, cleaned up (but no logic changes).
21194 (bin_element_is_sink): Comment updates.
21195 (sink_iterator_filter): Remove needless cast.
21196 (gst_bin_iterate_sinks): Doc update.
21197 (gst_bin_change_state_func): Renamed from gst_bin_change_state,
21198 cleaned up (but no logic changes).
21200 * check/states/sinks.c (test_src_sink): Cleanups from the state
21202 (test_livesrc_sink): Sync on the state.
21204 * check/pipelines/simple_launch_lines.c (run_pipeline): Merge from
21205 the state change patch.
21207 * check/gst/gstghostpad.c (test_ghost_pads): Merge from the state
21210 * check/gst/gstbin.c: Merge in some style fixes and additional
21211 checks from Wim's state change patch.
21213 2005-10-10 Tim-Philipp Müller <tim at centricular dot net>
21215 * gst/base/gsttypefindhelper.c: (helper_find_peek),
21216 (gst_type_find_helper):
21217 Check whether we have the requested data already in our list of
21218 cached buffers before pulling a new buffer; also make the buffer
21219 list a GSList. Speeds up typefinding by ca. 5-10% altogether.
21221 2005-10-10 Thomas Vander Stichele <thomas at apestaart dot org>
21226 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
21227 don't use long long, it's not portable. Replacing with
21228 gint64 seems to work; let's hope no skeletons fall out of the closet.
21230 2005-10-10 Andy Wingo <wingo@pobox.com>
21232 * autogen.sh (CONFIGURE_DEF_OPT): No more --plugin-buiddir, yay
21234 2005-10-09 Stefan Kost <ensonic@users.sf.net>
21236 * docs/gst/gstreamer-sections.txt:
21241 * gst/gstmessage.c: (gst_message_parse_state_changed):
21244 more docs, fix compilation
21246 2005-10-09 Philippe Khalaf <burger@speedy.org>
21247 * gst/gstmessage.c:
21248 Fixed a few forgotten variables on previous commit
21250 2005-10-09 Tim-Philipp Müller <tim at centricular dot net>
21252 * gst/base/gsttypefindhelper.c: (helper_find_peek):
21253 Fix evil typefind crasher: getrange() might return a short
21254 buffer at the end of a file, but gst_type_find_peek() must
21255 either return the full data as requested or NULL, but
21256 never a short buffer.
21258 2005-10-09 Thomas Vander Stichele <thomas at apestaart dot org>
21260 * gst/gstmessage.c: (gst_message_new_state_changed),
21261 (gst_message_parse_state_changed):
21262 * gst/gstmessage.h:
21263 don't use "new", it's a C++ keyword
21265 2005-10-08 Wim Taymans <wim@fluendo.com>
21267 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_query):
21268 * gst/gstelement.c: (gst_element_post_message):
21269 * gst/gstpipeline.c: (gst_pipeline_change_state):
21270 Small docs and debug updates.
21272 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21274 * docs/gst/gstreamer-sections.txt:
21275 * gst/gstelementfactory.c:
21277 * gst/gsttaglist.c:
21280 2005-10-08 Wim Taymans <wim@fluendo.com>
21282 * gst/gstbin.c: (is_eos), (update_degree), (gst_bin_change_state),
21283 (gst_bin_dispose), (bin_bus_handler):
21284 Fix typos, add comments.
21285 Clear EOS list when going to PAUSED from any direction and do it
21286 in a threadsafe way.
21287 Get base time in a threadsafe way too.
21288 Fix confusing debug in the change_state function.
21289 Various other small cleanups.
21291 * gst/gstelement.c: (gst_element_post_message):
21292 Fix very verbose bus posting code.
21294 * gst/gstpipeline.c: (gst_pipeline_class_init),
21295 (gst_pipeline_set_property), (gst_pipeline_get_property),
21296 (gst_pipeline_change_state):
21297 Small ARG_ -> PROP_ cleanup
21299 2005-10-08 Wim Taymans <wim@fluendo.com>
21301 * gst/gstbin.c: (is_eos), (bin_bus_handler):
21302 Do a less CPU demanding EOS check because we can.
21304 2005-10-08 Wim Taymans <wim@fluendo.com>
21306 * libs/gst/dataprotocol/dataprotocol.c:
21307 (gst_dp_header_from_buffer), (gst_dp_packet_from_caps),
21308 (gst_dp_packet_from_event):
21309 * libs/gst/dataprotocol/dataprotocol.h:
21310 * libs/gst/dataprotocol/dp-private.h:
21311 It's about time we bump the version number.
21312 Since event types don't fit in the guint8 anymore describing
21313 the payload type, make payload type 16 bits wide.
21315 2005-10-08 Wim Taymans <wim@fluendo.com>
21317 * docs/design/part-TODO.txt:
21318 * docs/design/part-clocks.txt:
21319 * docs/design/part-events.txt:
21320 * docs/design/part-gstbin.txt:
21321 * docs/design/part-gstelement.txt:
21322 * docs/design/part-gstpipeline.txt:
21323 * docs/design/part-live-source.txt:
21324 * docs/design/part-messages.txt:
21325 * docs/design/part-overview.txt:
21326 * docs/design/part-states.txt:
21329 2005-10-08 Wim Taymans <wim@fluendo.com>
21333 Fix event quark registration.
21334 Add some space between events so we can insert them in the
21337 2005-10-08 Wim Taymans <wim@fluendo.com>
21339 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21340 (gst_base_sink_handle_buffer):
21341 Better log message.
21344 * gst/gstelement.h:
21347 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
21348 (gst_queue_set_property), (gst_queue_get_property):
21350 Remove old unused properties.
21352 2005-10-08 Stefan Kost <ensonic@users.sf.net>
21353 * docs/gst/gstreamer-sections.txt:
21354 * gst/gstmessage.c:
21355 * gst/gstmessage.h:
21356 * gst/gstminiobject.c:
21357 * gst/gstminiobject.h:
21361 lots of new docs and doc fixes
21363 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21365 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_load_file):
21367 * gst/gstregistry.c: (gst_registry_lookup_locked),
21368 (gst_registry_scan_path_level):
21369 * gst/gstregistryxml.c: (load_plugin):
21370 Only ever load one plugin for a given plugin basename.
21371 This ensures correct overriding of GST_PLUGIN_PATH over
21372 GST_PLUGIN_SYSTEM_PATH and of home dir plugins over
21373 system installed plugins.
21375 2005-10-08 Wim Taymans <wim@fluendo.com>
21377 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
21378 (gst_base_sink_do_sync), (gst_base_sink_handle_buffer):
21379 Prepare for doing QOS.
21381 2005-10-08 Wim Taymans <wim@fluendo.com>
21383 * check/gst/gstbin.c: (GST_START_TEST):
21384 * check/pipelines/cleanup.c: (GST_START_TEST):
21385 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
21386 Allow new clock message too.
21388 2005-10-08 Wim Taymans <wim@fluendo.com>
21390 * gst/gstmessage.c: (gst_message_new_error),
21391 (gst_message_new_warning), (gst_message_new_tag),
21392 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21393 (gst_message_new_clock_lost), (gst_message_new_new_clock),
21394 (gst_message_new_segment_start), (gst_message_new_segment_done),
21395 (gst_message_parse_state_changed),
21396 (gst_message_parse_clock_provide), (gst_message_parse_clock_lost),
21397 (gst_message_parse_new_clock):
21398 * gst/gstmessage.h:
21399 Also carry the clock in question.
21401 2005-10-08 Wim Taymans <wim@fluendo.com>
21403 * gst/gstmessage.c: (gst_message_new_custom),
21404 (gst_message_new_eos), (gst_message_new_error),
21405 (gst_message_new_warning), (gst_message_new_tag),
21406 (gst_message_new_state_changed), (gst_message_new_clock_provide),
21407 (gst_message_new_new_clock), (gst_message_new_segment_start),
21408 (gst_message_new_segment_done), (gst_message_parse_state_changed),
21409 (gst_message_parse_clock_provide), (gst_message_parse_new_clock):
21410 * gst/gstmessage.h:
21412 Added clock related messages.
21414 * gst/gstpipeline.c: (gst_pipeline_change_state):
21415 Post message when the clock changed.
21417 * tools/gst-launch.c: (event_loop):
21420 2005-10-08 Tim-Philipp Müller <tim at centricular dot net>
21422 * tools/gst-inspect.c: (print_element_properties_info):
21423 Can't pass NULL strings to g_print() on windows.
21425 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21427 * docs/Makefile.am:
21428 * docs/gst/Makefile.am:
21429 * docs/gst/gstreamer-docs.sgml:
21430 * docs/gst/running.xml:
21431 * docs/version.entities.in:
21432 add a chapter on running GStreamer.
21433 document GST_DEBUG and GST_PLUGIN* env vars
21435 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21440 remove PLUGINS_BUILDDIR stuff
21441 * gst/gst.c: (init_post):
21442 reorder parsing of GST_PLUGIN_PATH and GST_PLUGIN_SYSTEM_PATH
21444 remove, it was condescending and not needed
21446 2005-10-08 Wim Taymans <wim@fluendo.com>
21448 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_flush),
21449 (gst_base_sink_handle_object), (gst_base_sink_event),
21450 (gst_base_sink_wait), (gst_base_sink_handle_event),
21451 (gst_base_sink_change_state):
21452 * gst/base/gstbasesink.h:
21453 Repost EOS message while going to PLAYING if still EOS.
21454 Make sure that when receiving a FLUSH_START we don't attempt
21455 to sync on the clock anymore.
21457 2005-10-08 Wim Taymans <wim@fluendo.com>
21459 * tools/gst-launch.c: (event_loop):
21460 Better message printout.
21462 2005-10-08 Wim Taymans <wim@fluendo.com>
21464 * gst/gstbin.c: (gst_bin_child_proxy_get_child_by_index),
21465 (gst_bin_child_proxy_get_children_count):
21466 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
21467 (gst_child_proxy_lookup), (gst_child_proxy_get_property),
21468 (gst_child_proxy_get_valist), (gst_child_proxy_set_property),
21469 (gst_child_proxy_set_valist):
21470 * gst/parse/grammar.y:
21471 Make ChildProxy threadsafe and fix mem leaks.
21473 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21475 * gst/gst.c: (init_post):
21476 debug the GST_PLUGIN_ env vars
21478 2005-10-08 Wim Taymans <wim@fluendo.com>
21480 * check/gst/gstbin.c: (GST_START_TEST):
21481 * check/gst/gstmessage.c: (GST_START_TEST):
21482 * check/gst/gstpipeline.c: (GST_START_TEST), (message_received):
21483 * gst/gstelement.c: (gst_element_commit_state),
21484 (gst_element_lost_state):
21485 * gst/gstmessage.c: (gst_message_new_state_changed),
21486 (gst_message_parse_state_changed):
21487 * gst/gstmessage.h:
21488 * tools/gst-launch.c: (event_loop):
21489 Added extra field to STATE_CHANGE message with the pending
21490 state, which will be different from the new state soon.
21492 2005-10-08 Wim Taymans <wim@fluendo.com>
21494 * gst/gstbus.c: (gst_bus_pop):
21496 * gst/gstsystemclock.c: (gst_system_clock_async_thread):
21497 Small cleanups and doc updates.
21499 2005-10-08 Thomas Vander Stichele <thomas at apestaart dot org>
21501 * gst/gst.c: (init_pre):
21502 * gst/gstbin.c: (gst_bin_add_func):
21503 log distributing clocks and base time
21504 * gst/gstregistry.c: (gst_registry_add_plugin),
21505 (gst_registry_scan_path_level), (gst_registry_scan_path):
21506 clean up the debugging output a little
21507 * gst/gstutils.c: (gst_element_state_get_name):
21508 warn about a memleak (I've actually seen this be used, though
21509 it was probably a bug)
21511 2005-10-07 Wim Taymans <wim@fluendo.com>
21513 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21514 (gst_base_src_init), (gst_base_src_default_newsegment),
21515 (gst_base_src_newsegment), (gst_base_src_do_seek),
21516 (gst_base_src_loop), (gst_base_src_start):
21517 * gst/base/gstbasesrc.h:
21518 Make the newsegment event customizable by subclasses.
21520 2005-10-07 Wim Taymans <wim@fluendo.com>
21522 * gst/gstevent.c: (gst_event_new_buffersize),
21523 (gst_event_parse_buffersize):
21525 New event for future idea.
21527 2005-10-07 Andy Wingo <wingo@pobox.com>
21529 * gst/gstelement.c (gst_element_post_message): Doc update.
21531 * docs/gst/gstreamer-sections.txt: Update.
21533 * gst/gstmessage.c (gst_message_new_application): Made into a
21534 function like honest API calls.
21535 (gst_message_new_element): New message type.
21537 * gst/gstmessage.h (enum): Add GST_MESSAGE_ELEMENT type.
21539 * check/elements/fakesrc.c (test_no_preroll): New check, checks
21540 that setting a live fakesrc to PAUSED returns NO_PREROLL both
21543 * gst/base/gstbasesrc.c (gst_base_src_change_state): Allow a
21544 NO_PREROLL from gst_element_change_state to fall through.
21546 2005-10-07 Wim Taymans <wim@fluendo.com>
21548 * gst/gstghostpad.c: (gst_ghost_pad_get_internal),
21549 (gst_ghost_pad_do_activate_push):
21550 Activating a ghostpad with no internal pad in push mode
21553 2005-10-07 Thomas Vander Stichele <thomas at apestaart dot org>
21556 there's no point in wrapping FLAG_SET/_UNSET in STMT macros.
21557 Fixes compilation on Windows.
21559 2005-10-07 Michael Smith <msmith@fluendo.com>
21561 * tools/gst-inspect.c:
21562 Print out feature and plugin count at the end when printing out
21565 2005-10-04 Michael Smith <msmith@fluendo.com>
21567 * gst/gsterror.c: (_gst_stream_errors_init):
21568 Add another error string used in a few existing plugins.
21571 * gst/gstpluginfeature.c: (gst_plugin_feature_load):
21572 * tools/gst-inspect.c: (print_element_info):
21573 When a feature disappears from a plugin (and the feature exists in
21574 the cached registry file), things went horribly wrong. This isn't a
21575 complete fix, we should actually be removing the 'missing' features
21576 from the features list when we load the actual plugin. That's not
21579 2005-10-04 Johan Dahlin <johan@gnome.org>
21581 * check/gst/gstiterator.c: (GST_START_TEST):
21582 * gst/gstbin.c: (gst_bin_iterate_elements),
21583 (gst_bin_iterate_recurse), (gst_bin_iterate_sorted):
21584 * gst/gstelement.c: (gst_element_iterate_pads):
21585 * gst/gstformat.c: (gst_format_iterate_definitions):
21586 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
21587 (gst_iterator_new_list), (gst_iterator_filter):
21588 * gst/gstiterator.h:
21589 * gst/gstquery.c: (gst_query_type_iterate_definitions):
21590 Add a GType to GstIterator, update callsites and tests.
21592 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21594 * gst/gstpad.c: (gst_pad_event_default_dispatch):
21595 give events a chance to be handled by event probes when the pad
21598 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21600 * gst/gstevent.c: (gst_event_type_get_name),
21601 (gst_event_type_to_quark), (gst_event_finalize), (gst_event_new):
21603 add string representations for event types
21605 2005-10-06 Wim Taymans <wim@fluendo.com>
21607 * gst/elements/gstfilesink.c: (gst_file_sink_close_file):
21608 Don't use NULL pointers.
21610 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21612 * gst/gst_private.h:
21614 * gst/gstelement.c:
21616 * gst/gstpluginfeature.c:
21617 widen the debug category in output to fit the biggest one we have
21618 add a bus category and use it
21619 play with the colors
21620 fix up some categories
21622 2005-10-06 Thomas Vander Stichele <thomas at apestaart dot org>
21624 * gst/gstghostpad.c: (gst_ghost_pad_internal_do_activate_push):
21625 add push activation of sink ghost pads.
21626 Andye, please verify
21628 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21630 * gst/gstutils.c: (gst_element_link_pads):
21631 fix a bug in the case where neither element has a pad
21632 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
21633 add a test for that case
21635 2005-10-05 Thomas Vander Stichele <thomas at apestaart dot org>
21637 * gst/gstpad.c: (gst_pad_push), (gst_pad_push_event):
21638 emit have-data before checking for peers. This allows
21639 for probe handlers to connect elements. This helps autopluggers.
21640 * check/gst/gstpad.c: (GST_START_TEST), (_probe_handler),
21642 add six checks, linked/unlinked with no/true/false probe
21644 2005-10-04 Wim Taymans <wim@fluendo.com>
21646 * gst/elements/gstfakesink.c: (gst_fake_sink_get_property),
21647 (gst_fake_sink_event), (gst_fake_sink_preroll),
21648 (gst_fake_sink_render), (gst_fake_sink_change_state):
21649 * gst/elements/gstfakesrc.c: (gst_fake_src_event_handler),
21650 (gst_fake_src_get_property), (gst_fake_src_create),
21651 (gst_fake_src_stop):
21652 * gst/elements/gstidentity.c: (gst_identity_stop):
21653 Protect last_message with lock.
21655 2005-10-04 Edward Hervey <edward@fluendo.com>
21658 Added precision in the comments for GST_FORMAT_DEFAULT
21660 2005-10-04 Tim-Philipp Müller <tim at centricular dot net>
21662 * tools/gst-launch.c: (main):
21663 Don't try to run erroneous pipelines.
21665 2005-10-04 Julien MOUTTE <julien@moutte.net>
21667 * gst/gstbus.c: We don't need this header.
21669 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21672 back to development
21674 === release 0.9.3 ===
21676 2005-10-03 Thomas Vander Stichele <thomas at apestaart dot org>
21680 Releasing 0.9.3, "Unregistered"
21682 2005-10-03 Andy Wingo <wingo@pobox.com>
21684 * gst/gstpad.c (gst_pad_activate_push): There is a race condition
21685 whereby calling a pad's activatepush() function can start a thread
21686 that starts to push or pull before the pad gets the FLUSHING flag
21687 unset. Hack around it by holding the stream lock until the flag is
21688 set. Need to replace this with a proper solution. Together with
21689 the ghost pad fixes, this fixes mp3 playing/tagreading.
21691 * docs/design/part-gstghostpad.txt: Add a note about activation of
21692 proxy pads outside of ghost pads.
21694 * gst/gstghostpad.c: Implement the ghost pad activation design.
21696 2005-10-02 Andy Wingo <wingo@pobox.com>
21698 * gst/gstobject.h (GST_OBJECT_REFCOUNT_VALUE): Just use the int.
21699 It is volatile, after all.
21701 * docs/design/part-gstghostpad.txt: Flesh out activation with
21704 * gst/base/gstbasesrc.c (gst_base_src_init): Use
21707 2005-10-02 Tim-Philipp Müller <tim at centricular dot net>
21710 Fix (unused) AM_CONDITIONAL tests.
21712 2005-10-01 Alessandro Decina <alessandro at nnva dot org>
21714 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
21716 * gst/gstutils.c: (gst_pad_query_convert):
21717 Add assertion that makes sure src_val is >=0, just like
21718 gst_query_new_convert() has. (#315895)
21720 2005-09-30 Edward Hervey <edward@fluendo.com>
21722 * gst/elements/gsttee.c: (gst_tee_do_push), (gst_tee_handle_buffer):
21723 Let's not iterate pads we're not interested in, it avoids getting
21724 sky-high refcounts on sinkpad.
21726 2005-09-30 Wim Taymans <wim@fluendo.com>
21728 * gst/gstelement.c: (gst_element_set_state),
21729 (gst_element_change_state):
21730 Small tweak, element in ASYNC remains ASYNC.
21732 2005-09-30 Wim Taymans <wim@fluendo.com>
21734 * gst/base/gstbasesink.c: (gst_base_sink_change_state):
21735 Only error is an error.
21737 * gst/gstbin.c: (gst_bin_change_state):
21740 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_chain):
21741 Also call pad_block in pad alloc.
21743 * gst/gstutils.c: (gst_flow_get_name):
21746 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21748 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
21749 (gst_base_src_get_range):
21750 Fix documentation typos. Add some more debug info.
21752 2005-09-29 David Schleef <ds@schleef.org>
21754 * gst/gstplugin.c: (gst_plugin_load_file): Make some error messages
21755 more end-user friendly.
21756 * tools/gst-inspect.c: (main): Check if command-line argument is
21757 a file and attempt to load that file as a plugin.
21759 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21761 * check/gst/gstbin.c:
21762 * check/states/sinks.c:
21763 fix tests for the new warning
21764 * check/gst/gstpipeline.c:
21765 add a test for pipeline and bus interaction
21766 * gst/gstelement.c:
21767 elements should be NULL if they get disposed; add a warning if not
21769 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21772 for 2.6 refcounting, make debug log more correct by printing
21773 the actual refcounts at the time of swap (Wim)
21775 2005-09-29 Andy Wingo <wingo@pobox.com>
21777 * gst/gstbus.c (gst_bus_remove_signal_watch): New function,
21778 removes signal watches previously added via
21779 gst_bus_add_signal_watch.
21780 (gst_bus_add_signal_watch): Don't return the source id, just store
21781 it on the bus if there wasn't an id already.
21783 * gst/gstbus.h (GstBus): Add a couple new fields. API changes for
21784 add_signal_watch and remove_signal_watch.
21786 2005-09-29 Edward Hervey <edward@fluendo.com>
21788 * libs/gst/controller/gstcontroller.c: (gst_controller_new_list):
21789 Better if we actually iterate the list :)
21791 2005-09-29 Wim Taymans <wim@fluendo.com>
21793 * check/gst/gstbin.c: (GST_START_TEST):
21794 Change for new bus API.
21796 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
21797 (send_messages), (GST_START_TEST), (gstbus_suite):
21798 Change for new bus signal API.
21800 * gst/gstbus.c: (gst_bus_class_init), (gst_bus_have_pending),
21801 (gst_bus_source_prepare), (gst_bus_source_check),
21802 (gst_bus_create_watch), (gst_bus_add_watch_full),
21803 (gst_bus_add_watch), (gst_bus_poll), (gst_bus_async_signal_func),
21804 (gst_bus_sync_signal_handler), (gst_bus_add_signal_watch):
21806 Remove support for multiple GSources operating on different
21807 message types as it is too complex and unneeded when using
21809 Added support for receiving signals from the bus.
21811 2005-09-29 Thomas Vander Stichele <thomas at apestaart dot org>
21813 * docs/libs/tmpl/gstdataprotocol.sgml:
21814 * docs/manual/advanced-dataaccess.xml:
21815 * gst/elements/gstcapsfilter.c:
21817 rename filter-caps to caps property
21819 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21821 * gst/gstvalue.c: (gst_value_deserialize_fraction):
21822 More robust fraction string parsing.
21824 * docs/pwg/appendix-porting.xml:
21825 Mention gst_pad_use_explicit_caps() => gst_pad_use_fixed_caps()
21827 2005-09-29 Tim-Philipp Müller <tim at centricular dot net>
21829 * gst/gstcaps.c: (gst_caps_do_simplify):
21830 Thou shalt not free a structure and then continue using it
21831 in the next loop iteration.
21833 * check/gst/gstcaps.c: (check_fourcc_list), (test_simplify),
21835 Add test case for caps simplification.
21837 2005-09-29 Wim Taymans <wim@fluendo.com>
21839 * check/gst/gstbin.c: (GST_START_TEST):
21842 2005-09-29 Wim Taymans <wim@fluendo.com>
21844 * check/gst/gstbin.c: (GST_START_TEST):
21847 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init),
21848 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21849 (find_element), (gst_bin_sort_iterator_next),
21850 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21851 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21852 (gst_bin_change_state), (gst_bin_dispose):
21853 A bin does not have a bus, it gets the bus from the parent.
21855 * gst/gstelement.c: (gst_element_requires_clock),
21856 (gst_element_provides_clock), (gst_element_is_indexable),
21857 (gst_element_is_locked_state), (gst_element_change_state),
21858 (gst_element_set_bus_func):
21861 * gst/gstpipeline.c: (gst_pipeline_class_init),
21862 (gst_pipeline_init), (gst_pipeline_provide_clock_func):
21863 The pipeline provides a bus.
21865 2005-09-28 Johan Dahlin <johan@gnome.org>
21867 * gst/gstmessage.c (gst_message_parse_state_changed): Use
21868 gst_structure_get_enum instead of gst_structure_get_int
21870 * gst/gststructure.c (gst_structure_get_enum): Impl.
21872 * gst/gststructure.h (gst_structure_get_enum): Add
21874 * docs/gst/gstreamer-sections.txt: Ditto
21876 * gst/gstmessage.c (gst_message_new_state_changed): Use
21877 GST_TYPE_STATE instead of G_TYPE_INT, mainly for language bindings
21878 which does introspection.
21879 Reviewed by Christian Schaller
21881 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21883 * gst/gstinfo.c: (gst_debug_log_default):
21884 don't do dummy g_strdup()s
21885 * libs/gst/controller/gstcontroller.c:
21886 (on_object_controlled_property_changed),
21887 (gst_controlled_property_new), (gst_controller_new_valist),
21888 (gst_controller_new_list),
21889 (gst_controller_remove_properties_valist), (gst_controller_set),
21890 (gst_controller_get), (gst_controller_sync_values),
21891 (gst_controller_get_value_array), (_gst_controller_class_init),
21892 (gst_controller_get_type):
21893 * libs/gst/controller/gstcontroller.h:
21894 * libs/gst/controller/gstinterpolation.c:
21895 (gst_controlled_property_find_timed_value_node):
21896 convert // to /**/ comments
21898 2005-09-28 Wim Taymans <wim@fluendo.com>
21900 * gst/gstbus.c: (marshal_VOID__MINIOBJECT), (gst_bus_class_init),
21901 (gst_bus_post), (poll_func), (gst_bus_async_signal_func),
21902 (gst_bus_sync_signal_handler):
21904 Added async-message and sync-message signals to the bus.
21905 Added helper BusFunc to emit signals for all posted messages.
21907 * gst/gstmessage.c: (gst_message_type_get_name),
21908 (gst_message_type_to_quark), (gst_message_get_type):
21909 * gst/gstmessage.h:
21910 Register quarks for message names.
21912 2005-09-28 Stefan Kost <ensonic@users.sf.net>
21914 * docs/libs/gstreamer-libs-sections.txt:
21915 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist),
21916 (gst_controller_new_list):
21917 * libs/gst/controller/gstcontroller.h:
21918 added another constructor for language bindings
21920 2005-09-28 Thomas Vander Stichele <thomas at apestaart dot org>
21922 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
21926 * gst/gstinfo.c: (_gst_debug_init):
21927 slightly more readable color for refcount debugging
21929 2005-09-28 Wim Taymans <wim@fluendo.com>
21931 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_provide_clock_func),
21932 (add_to_queue), (clear_queue), (reset_degree), (update_degree),
21933 (find_element), (gst_bin_sort_iterator_next),
21934 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21935 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21936 (gst_bin_change_state), (gst_bin_dispose):
21937 Small doc fixes. get_clock -> provide_clock.
21939 * gst/gstelement.c: (gst_element_class_init),
21940 (gst_element_provides_clock), (gst_element_provide_clock),
21941 (gst_element_get_clock), (gst_element_commit_state),
21942 (gst_element_lost_state):
21943 * gst/gstelement.h:
21944 Make get/set_clock() symetric. Add provide_clock vmethod since
21945 that is actually what this function does.
21947 * gst/gstpipeline.c: (gst_pipeline_class_init),
21948 (gst_pipeline_change_state), (gst_pipeline_provide_clock_func),
21949 (gst_pipeline_get_clock):
21950 get_clock -> provide_clock.
21952 2005-09-28 Andy Wingo <wingo@pobox.com>
21954 * gst/base/gstbasesrc.c (gst_base_src_unlock): Comment a bit in
21955 lieu of real docs...
21957 * gst/elements/gstfdsrc.c: Cleaned up a bit.
21959 2005-09-28 Tim-Philipp Müller <tim at centricular dot net>
21961 * gst/elements/gstcapsfilter.c:
21962 * gst/elements/gstfakesink.c:
21963 * gst/elements/gstfakesrc.c:
21964 * gst/elements/gstfdsink.c:
21965 * gst/elements/gstfdsrc.c:
21966 * gst/elements/gstfilesink.c:
21967 * gst/elements/gstfilesrc.c:
21968 * gst/elements/gstidentity.c:
21969 * gst/elements/gsttee.c:
21970 * gst/elements/gsttypefindelement.c:
21971 Make element details static.
21973 2005-09-28 Wim Taymans <wim@fluendo.com>
21975 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
21976 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
21977 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
21978 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
21979 (gst_bin_change_state), (gst_bin_dispose):
21980 Some documentation updates.
21981 Clean up dispose handlers.
21983 * gst/gstobject.c: (gst_object_ref), (gst_object_unref):
21984 * gst/gstpad.c: (gst_pad_dispose):
21985 Clean up dispose handler.
21987 * gst/gstpipeline.c: (gst_pipeline_change_state):
21988 Removed spurious UNLOCK.
21990 2005-09-27 Stefan Kost <ensonic@users.sf.net>
21992 * docs/gst/gstreamer-sections.txt:
21993 * gst/base/gstbasesrc.h:
21994 * gst/gstelement.h:
21998 * gst/gstpipeline.c:
21999 * gst/gstpipeline.h:
22002 added two new functions to the docs
22003 documents all undocumented GstXXXFlags
22004 completed some incomplete docs
22006 2005-09-27 Thomas Vander Stichele <thomas at apestaart dot org>
22008 * gst/gstbin.c: (gst_bin_dispose):
22009 * gst/gstelement.c: (gst_element_dispose):
22010 remove now useless and leaky resurrection code in dispose
22011 * gst/base/gstbasesrc.c: (gst_base_src_init):
22012 * gst/gstelementfactory.c: (gst_element_factory_create):
22013 * gst/gstobject.c: (gst_object_set_parent):
22016 2005-09-27 Wim Taymans <wim@fluendo.com>
22018 * docs/design/part-TODO.txt:
22021 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22022 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22023 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22024 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22025 (gst_bin_change_state):
22026 * gst/gstelement.h:
22027 Remove element variable, we keep element info in the iterator now.
22029 2005-09-27 Andy Wingo <wingo@pobox.com>
22031 * libs/gst/dataprotocol/dataprotocol.c: Fix error-checking return
22034 2005-09-27 Wim Taymans <wim@fluendo.com>
22036 * check/gst/gstbin.c: (GST_START_TEST):
22037 Enable check that works now.
22039 * gst/gstbin.c: (add_to_queue), (clear_queue), (reset_outdegree),
22040 (update_outdegree), (find_element), (gst_bin_sort_iterator_next),
22041 (gst_bin_sort_iterator_resync), (gst_bin_sort_iterator_free),
22042 (gst_bin_iterate_sorted), (gst_bin_element_set_state),
22043 (gst_bin_change_state):
22045 Redid the state change algorithm using a topological sort algo.
22046 Handles all cases correctly.
22047 Exposed iterator for state change order.
22049 * gst/gstelement.h:
22050 Temp storage for state changes. Need to get rid of this soon.
22052 2005-09-27 Wim Taymans <wim@fluendo.com>
22054 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_do_push):
22055 * gst/gstutils.c: (intersect_caps_func), (gst_pad_proxy_getcaps),
22056 (link_fold_func), (gst_pad_proxy_setcaps):
22057 Leak fixes, the fold functions need to unref the passed object and
22058 _get_parent_*() returns ref to parent.
22060 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22062 * check/gst/gstbuffer.c: (test_make_writable):
22063 Plug leak in test case and fix 'make check-valgrind'
22065 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22067 * gst/gstbuffer.c: (gst_subbuffer_init):
22068 Set READONLY flag on subbuffers, so that gst_buffer_make_writable()
22069 works correctly in all circumstances (we could have just copied
22070 the parent buffer's readonly flag, but conceptually it seems
22071 cleaner to mark all subbuffers as read-only). (based on patch
22072 by Alessandro Decina, #314710).
22074 * check/gst/gstbuffer.c: (create_read_only_buffer),
22075 (test_make_writable), (test_subbuffer_make_writable),
22077 Add some tests for gst_buffer_make_writable().
22079 2005-09-27 Wim Taymans <wim@fluendo.com>
22081 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_change_state):
22082 use gst_object_has_ancestor().
22084 * gst/gstobject.c: (gst_object_has_ancestor):
22086 gst_object_has_ancestor() copied from gstbin.c as it is a
22089 * tests/instantiate/create.c: (create_all_elements):
22090 * tests/lat.c: (handoff_src), (handoff_sink):
22091 * tests/sched/runxml.c: (main):
22092 * tests/seeking/seeking1.c: (main):
22093 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
22095 Fix compilation of some tests.
22097 2005-09-27 Tim-Philipp Müller <tim at centricular dot net>
22100 Remove comment. GST_TYPE_G_ERROR is here to stay,
22101 G_TYPE_ERROR has been WONTFIX'ed by the GLib folks
22102 (#316961, #300610).
22104 2005-09-26 Wim Taymans <wim@fluendo.com>
22106 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
22107 Added check that shows error in state change order.
22109 2005-09-26 Wim Taymans <wim@fluendo.com>
22111 * gst/gstbin.c: (gst_bin_change_state):
22112 Make state change function use 3 queues again, we were
22113 adding elements in the wrong order.
22115 * gst/gstghostpad.c: (gst_ghost_pad_do_unlink):
22118 * gst/gstpad.c: (gst_pad_dispose):
22119 Added some debug info first.
22121 2005-09-26 Tim-Philipp Müller <tim at centricular dot net>
22123 * docs/design/draft-push-pull.txt:
22124 * docs/design/part-events.txt:
22125 * docs/design/part-overview.txt:
22126 * docs/design/part-scheduling.txt:
22127 Replace all _pull_region() with _pull_range()
22129 2005-09-26 Andy Wingo <wingo@pobox.com>
22131 * gst/gstvalue.c (_gst_value_initialize): Better fakeout.
22133 * check/gst-libs/controller.c: Update for controller api change.
22136 * tests/Makefile.am:
22137 * tests/memchunk: Remove memchunk benchmark stuff, this is taken
22138 over by GLib bug 118439.
22140 * gst/base/gstbasesink.c (gst_base_sink_wait): Factor out the wait
22141 routines to a function.
22143 * docs/libs/gstreamer-libs-sections.txt: I am a good person today.
22145 * libs/gst/controller/gsthelper.c:
22146 * libs/gst/controller/gstcontroller.h (gst_controller_sync_values)
22147 (gst_object_sync_values): Renamed from sink_values. Ugh.
22149 * libs/gst/controller/gsthelper.c: Update for __gst_controller_key.
22151 * libs/gst/controller/gstcontroller.c (__gst_controller_key):
22152 Renamed from controller_key, as it is exported.
22154 * gst/gstvalue.c (_gst_value_initialize): Fake out the compiler.
22156 2005-09-26 Thomas Vander Stichele <thomas at apestaart dot org>
22161 * gst/gstpadtemplate.h:
22164 * gst/gstqueryutils.c:
22165 * gst/gstqueryutils.h:
22166 remove queryutils headers after moving the two used functions
22167 to gstquery. also fixes build problem for gstsiddec
22169 2005-09-26 Michael Smith <msmith@fluendo.com>
22171 * tools/gst-launch.1.in:
22172 Correct documentation in manpage of debug syntax
22174 2005-09-26 Wim Taymans <wim@fluendo.com>
22176 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
22177 (gst_base_src_is_seekable), (gst_base_src_change_state):
22178 Some more debugging info.
22180 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22182 * docs/gst/gstreamer-sections.txt:
22183 * gst/base/gstbasetransform.h:
22187 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22189 * docs/gst/.cvsignore:
22190 * docs/gst/tmpl/.cvsignore:
22191 * docs/gst/tmpl/gstpipeline.sgml:
22192 * docs/gst/tmpl/gstplugin.sgml:
22193 * gst/gstpipeline.c:
22196 inlined the last two docs files
22197 removed the tmpl directory from cvs (no more conflicts here!)
22199 2005-09-25 Stefan Kost <ensonic@users.sf.net>
22201 * docs/gst/gstreamer-sections.txt:
22202 * docs/gst/tmpl/.cvsignore:
22203 * docs/gst/tmpl/gstpad.sgml:
22204 * docs/gst/tmpl/gstpadtemplate.sgml:
22206 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_dispose),
22207 (gst_pad_finalize), (gst_pad_set_pad_template):
22209 * gst/gstpadtemplate.c: (gst_pad_template_get_type),
22210 (gst_pad_template_class_init), (gst_pad_template_init),
22211 (gst_pad_template_dispose), (name_is_valid),
22212 (gst_static_pad_template_get), (gst_pad_template_new),
22213 (gst_static_pad_template_get_caps), (gst_pad_template_get_caps),
22214 (gst_pad_template_pad_created):
22215 * gst/gstpadtemplate.h:
22216 inlined two more docs
22217 factored gstpadtemplate out of gstpad
22219 2005-09-24 Tim-Philipp Müller <tim at centricular dot net>
22221 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22222 (test_children_state_change_order_semi_sink):
22223 Fix test case: we can't rely on a fixed state change order when
22224 going from READY => PAUSED because the sink might commit its
22225 new state first when the first buffer created by the source
22226 reaches the sink before the source has finished its change state.
22227 (Test case still fails at times, see #316856, comment 5 onwards)
22229 2005-09-24 Wim Taymans <wim@fluendo.com>
22231 * docs/design/part-events.txt:
22232 * docs/design/part-gstbus.txt:
22233 * docs/design/part-gstpipeline.txt:
22234 * docs/design/part-messages.txt:
22235 * docs/design/part-overview.txt:
22236 * docs/design/part-segments.txt:
22240 * gst/gstelement.c:
22243 * gst/gstiterator.c:
22244 Various documentation updates.
22246 2005-09-24 Thomas Vander Stichele <thomas at apestaart dot org>
22249 Well, that's embarassing. Luckily we weren't using
22250 GST_CLOCK_DIFF anywhere.
22252 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22254 * common/gtk-doc.mak:
22255 don't fail on building XML, FC4 slave shows a bunch of doc
22256 missing bits that I don't get
22258 * gst/gstpipeline.c:
22259 * gst/gststructure.c:
22262 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22264 * docs/design/part-gstbin.txt:
22265 * docs/design/part-gstbus.txt:
22267 Add blurb about how the bus goes into flushing mode and
22268 drops all messages when its bin goes from READY into NULL
22271 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22273 * docs/gst/gstreamer-sections.txt:
22274 * gst/gststructure.c: (gst_structure_get_clock_time):
22275 * gst/gststructure.h:
22276 add a method to get a GstClockTime out of a structure
22278 2005-09-23 Tim-Philipp Müller <tim at centricular dot net>
22280 * check/gst/gstbin.c: (test_children_state_change_order_flagged_sink),
22281 (test_children_state_change_order_semi_sink), (gst_bin_suite):
22282 Added test to check state change order in bins (can still be made
22283 to fail here under heavy disk load; bails out with 'Push on pad
22284 fakesink:sink0, but it was not activated in push mode').
22286 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_change_state):
22287 Fix state change order when there is only a semi sink (#316856)
22289 * gst/gstbus.c: (gst_bus_class_init):
22290 Use _class_peek_parent(), not _class_ref(); fix docs to say
22291 'default main context' instead of 'mainloop' where that is
22294 * gst/gstelement.c: (gst_element_commit_state),
22295 (gst_element_set_state):
22296 Fix typos in debug messages
22298 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22301 * gst/gstpad.c: (gst_pad_class_init), (gst_pad_chain):
22302 * gst/gstpluginfeature.c:
22304 various doc updates
22305 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
22306 change an assert into an error until it gets fixed properly
22308 2005-09-23 Stefan Kost <ensonic@users.sf.net>
22310 * docs/gst/gstreamer-sections.txt:
22311 * docs/gst/tmpl/.cvsignore:
22312 * docs/gst/tmpl/gstelement.sgml:
22313 * docs/gst/tmpl/gstinfo.sgml:
22314 * docs/gst/tmpl/gstobject.sgml:
22315 * gst/gstelement.c:
22316 * gst/gstelement.h:
22319 * gst/gstobject.c: (gst_object_class_init):
22321 inlined 3 more biiiig doc files and added some missing docs on the fly
22323 2005-09-23 Thomas Vander Stichele <thomas at apestaart dot org>
22325 * check/gst/.cvsignore:
22326 * check/gst/gstplugin.c: (GST_START_TEST), (gst_plugin_suite):
22327 * gst/gstregistryxml.c: (load_plugin),
22328 (gst_registry_xml_save_plugin):
22329 put back source in registry. add checks for find_plugin.
22330 * testsuite/states/bin.c: (assert_state), (empty_bin),
22331 (test_adding_one_element), (main):
22332 * testsuite/states/locked.c: (main):
22333 some compile/run fixes
22335 2005-09-22 Thomas Vander Stichele <thomas at apestaart dot org>
22337 * check/gst/gstvalue.c: (GST_START_TEST):
22338 fix leaks in the test itself
22340 2005-09-22 Wim Taymans <wim@fluendo.com>
22342 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22343 (gst_base_sink_send_event), (gst_base_sink_peer_query),
22344 (gst_base_sink_query):
22345 Prepare for more accurate position reporting and query
22348 * gst/gstelement.c: (gst_element_send_event),
22349 (gst_element_set_state):
22352 2005-09-22 Wim Taymans <wim@fluendo.com>
22354 * gst/gstquery.c: (gst_query_new_segment), (gst_query_set_segment),
22355 (gst_query_parse_segment):
22357 More documentation.
22358 Add segment query for future use.
22360 2005-09-22 Wim Taymans <wim@fluendo.com>
22362 * gst/gstbin.c: (gst_bin_add_func):
22363 Some more debug info.
22365 * gst/gstelement.c: (gst_element_send_event):
22366 Simplify send_event
22368 * gst/gstelement.h:
22369 Don't know how flags got broken.
22374 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22376 * check/gst/gstvalue.c: (test_date), (gst_value_suite):
22377 Add simplistic test suite for GST_TYPE_DATE serialisation and
22380 2005-09-22 Tim-Philipp Müller <tim at centricular dot net>
22382 * docs/gst/gstreamer-sections.txt:
22383 * gst/gststructure.c: (gst_structure_set_valist),
22384 (gst_structure_get_date):
22385 * gst/gststructure.h:
22386 * gst/gstvalue.c: (gst_value_set_date), (gst_value_get_date),
22387 (gst_date_copy), (gst_value_compare_date),
22388 (gst_value_serialize_date), (gst_value_deserialize_date),
22389 (gst_value_transform_date_string),
22390 (gst_value_transform_string_date), (_gst_value_initialize):
22392 Add GST_TYPE_DATE, a boxed type that wraps GDate, and the usual
22393 bunch of utility functions along with a hack that checks that
22394 developers don't accidentally use G_TYPE_DATE where GST_TYPE_DATE
22395 is required. Part of the grand scheme in #170777.
22397 2005-09-22 Andy Wingo <wingo@pobox.com>
22399 * gst/gstconfig.h.in: Psych out gtk-doc.
22401 * docs/gst/gstreamer-sections.txt: Add GST_HAVE_GLIB_2_8.
22403 * check/Makefile.am (check_PROGRAMS): Add gstplugin to the tests.
22405 * tools/gst-inspect.c (print_element_list): Plug some
22406 inconsequential leaks.
22408 * gst/gstregistry.c (gst_registry_get_default): Doc.
22410 * check/gst/gstplugin.c:
22411 * gst/gsttypefindfactory.c (gst_type_find_factory_call_function):
22412 * gst/gstelementfactory.c (gst_element_factory_create):
22413 * gst/gstindexfactory.c (gst_index_factory_create): Update for
22416 * gst/gstpluginfeature.c (gst_plugin_feature_list_free): Doc.
22417 (gst_plugin_feature_load): Doc, don't eat refs.
22419 * gst/gstplugin.c (gst_plugin_load): Doc, don't eat refs.
22420 (gst_plugin_list_free): Doc.
22421 (gst_plugin_load_file): Doc updates.
22423 * gst/gstbuffer.c (gst_buffer_get_caps): Like all our _get
22424 accessors returning refcounted objects, return a ref.
22426 * check/gst/gstbuffer.c (GST_START_TEST): Use refcount-idempotent
22427 accessor for caps. IDEMPOTENCE. Oh yes.
22429 2005-09-21 Francis Labonte <francis_labonte at hotmail dot com>
22431 Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
22433 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
22434 (_gst_debug_register_funcptr):
22435 Add mutex to serialise access to the hash table with
22436 the function pointer => function name string mapping;
22437 make that hash table static scope (#316809).
22439 * gst/registries/.cvsignore:
22440 Remove left-over file.
22442 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22444 * docs/pwg/appendix-porting.xml:
22445 And something about newsegment events and caps-on-buffers to
22446 the porting guide (feel free to improve).
22448 2005-09-21 Andy Wingo <wingo@pobox.com>
22450 * check/gst/gstutils.c (test_buffer_probe_n_times): Add tests for
22451 data and event probes on the same pad.
22452 (test_buffer_probe_once): Test that removing probes from within
22453 the probe functions works.
22455 2005-09-21 Andy Wingo <wingo@pobox.com>
22457 * check/gst/gstutils.c: New file.
22458 (test_buffer_probe_n_times): A simple buffer probe test. More to
22461 * gst/gstutils.c (gst_pad_add_buffer_probe): Connect to
22462 have-data::buffer, not have-data.
22463 (gst_pad_add_event_probe): Likewise for have-data::event.
22464 (gst_pad_add_data_probe): More docs. The part about 'resolving the
22465 peer' isn't quite right yet though.
22466 (gst_pad_remove_buffer_probe, gst_pad_remove_event_probe)
22467 (gst_pad_remove_data_probe): Change to take the guint handler_id
22468 as their arg, not the function+data, which is more glib-like.
22470 * gst/gstpad.c (gst_pad_emit_have_data_signal): Add a detail to
22471 the signal emission to indicate if the data is a buffer or an
22473 (gst_pad_get_type): Initialize buffer and event quarks.
22474 (gst_pad_class_init): have-data is now a detailed signal, yes it
22477 2005-09-21 Tim-Philipp Müller <tim at centricular dot net>
22479 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
22480 * gst/gstutils.c: (gst_util_set_value_from_string),
22481 (gst_util_set_object_arg):
22482 Don't put functional code in g_return_if_fail() or
22483 g_return_val_if_fail() statements, otherwise things will
22484 break when G_DISABLE_CHECKS is defined during compilation.
22486 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22488 * docs/gst/tmpl/.cvsignore:
22489 * docs/gst/tmpl/gstvalue.sgml:
22492 inlied another one and added some obvious docs
22494 2005-09-21 Wim Taymans <wim@fluendo.com>
22496 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init),
22497 (gst_fdsrc_init), (gst_fdsrc_start), (gst_fdsrc_stop),
22498 (gst_fdsrc_unlock), (gst_fdsrc_set_property),
22499 (gst_fdsrc_get_property), (gst_fdsrc_create):
22500 * gst/elements/gstfdsrc.h:
22501 Properly implement fdsrc. Removed signal and timeout,
22502 better implemented somewhere else.
22504 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22506 * docs/gst/tmpl/.cvsignore:
22507 * docs/gst/tmpl/gstimplementsinterface.sgml:
22508 * gst/gstinterface.c:
22511 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22513 * docs/gst/gstreamer-sections.txt:
22514 * docs/gst/tmpl/.cvsignore:
22515 * docs/gst/tmpl/gstenumtypes.sgml:
22516 remove obsolete doc file
22518 2005-09-21 David Schleef <ds@schleef.org>
22520 * gst/gstelementfactory.c: (gst_element_factory_make): Drink a
22521 little beer, fix a little leak.
22523 2005-09-21 Stefan Kost <ensonic@users.sf.net>
22525 * docs/gst/gstreamer-docs.sgml:
22526 * docs/gst/gstreamer-sections.txt:
22527 * docs/gst/tmpl/.cvsignore:
22531 * gst/gstelement.h:
22532 * gst/gstindex.c: (gst_index_class_init):
22534 * gst/gstindexfactory.c: (gst_index_factory_get_type),
22535 (gst_index_factory_class_init), (gst_index_factory_init),
22536 (gst_index_factory_finalize), (gst_index_factory_new),
22537 (gst_index_factory_destroy), (gst_index_factory_find),
22538 (gst_index_factory_create), (gst_index_factory_make):
22539 * gst/gstindexfactory.h:
22540 * gst/gstpluginfeature.c:
22541 * gst/gstpluginfeature.h:
22542 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22543 more docs inlined, splitted gstindex.{c,h}
22545 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22547 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22550 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22552 * gst/elements/gstfilesink.c: (gst_file_sink_init):
22553 Set sync to FALSE by default.
22555 2005-09-20 Wim Taymans <wim@fluendo.com>
22557 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22558 (gst_base_sink_init):
22559 Make sync property settable from subclass.
22561 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
22562 (gst_fake_sink_change_state):
22563 Set sync to FALSE by default.
22565 2005-09-20 Wim Taymans <wim@fluendo.com>
22567 * gst/gstbus.c: (poll_func), (poll_timeout), (gst_bus_poll):
22568 * tools/gst-launch.c: (main):
22569 The timeout handler should have lower priority than the source
22570 so we don't timeout before popping a message with 0 timeout.
22571 Dump error messages after failed state change.
22573 2005-09-20 Tim-Philipp Müller <tim at centricular dot net>
22575 * tools/gst-inspect.c: (print_element_properties_info):
22578 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22580 * check/gst/gstevent.c:
22581 * gst/elements/gstfakesink.c:
22582 * gst/elements/gstfakesink.h:
22583 remove the sync property from fakesink.
22584 has the side effect of setting sync TRUE
22585 for fakesink, which is a change. Anyone who knows how
22586 to fix this nicely in a GObject-y way, feel free.
22588 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22590 * docs/gst/gstreamer-docs.sgml:
22591 remove probe refsection
22593 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22595 * check/Makefile.am:
22596 disable valgrinding the controller test again
22597 * docs/gst/gstreamer-sections.txt:
22598 update for api-changes
22600 2005-09-20 Wim Taymans <wim@fluendo.com>
22602 * gst/base/gstbasesink.c: (gst_base_sink_class_init),
22603 (gst_base_sink_set_property), (gst_base_sink_get_property),
22604 (gst_base_sink_do_sync):
22605 * gst/base/gstbasesink.h:
22606 Added sync property to basesink to disable clock sync.
22608 2005-09-20 Andy Wingo <wingo@pobox.com>
22610 * gst/gstelementfactory.c (gst_element_factory_create): Avoid
22611 eating the caller's refcount.
22613 * gst/gstobject.h (GST_OBJECT_REFCOUNT)
22614 (GST_OBJECT_REFCOUNT_VALUE): Conditionally fondle the right
22617 * gst/gstconfig.h.in (GST_HAVE_GLIB_2_8):
22618 * configure.ac (GST_HAVE_GLIB_2_8_DEFINE): Make the availability
22619 of GLib 2.8 public, so we can know which refcount to check in
22622 * gst/gstobject.c: Use the GST_HAVE_GLIB_2_8 define.
22623 (gst_object_init): Only set the gst refcount if we're going ahead
22624 with the refcount hack.
22626 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22628 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22629 * libs/gst/controller/gstcontroller.c: (gst_controller_new_valist):
22630 more leaks plumbed, added more debug-logging
22634 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22636 * gst/gstmessage.c:
22637 remove include of gstmemchunk.h
22639 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22641 * gst/gstclock.c: (_gst_clock_id_free):
22642 Commit from the Political Party For More Atomic CVS Commits,
22643 so that people don't waste too much of their day fishing
22644 out obvious leaks out of massive commits.
22645 Oh, and fix a pretty damn obvious leak in the memchunk
22648 2005-09-20 Stefan Kost <ensonic@users.sf.net>
22650 * check/Makefile.am:
22651 * check/gst-libs/controller.c: (plugin_init), (GST_START_TEST):
22652 plug mem-leak, re-add to valgrindable tests
22654 2005-09-20 Thomas Vander Stichele <thomas at apestaart dot org>
22657 unbreak the build for those who have chronic arthritis
22658 and typing "make check" is just too taxing on the hands
22660 2005-09-20 Andy Wingo <wingo@pobox.com>
22662 * gst/gst.h: Re-add marshal to gst.h's include list -- if we
22663 really want it out, you should fix plugins at the same time.
22665 2005-09-19 Stefan Kost <ensonic@users.sf.net>
22668 * docs/gst/gstreamer-sections.txt:
22670 added missing symbols to api docs
22671 disable ref-count hack if we have glib >= 2.8
22673 2005-09-19 David Schleef <ds@schleef.org>
22675 * docs/gst/Makefile.am: Ignore a few more internal headers
22676 * docs/gst/gstreamer-docs.sgml: Remove old sections
22677 * docs/gst/gstreamer-sections.txt: Remove old sections
22678 * docs/gst/tmpl/gstobject.sgml: update
22679 * docs/gst/tmpl/gstplugin.sgml: update
22680 * docs/gst/tmpl/gstpluginfeature.sgml: update
22681 * docs/random/ds/0.9-suggested-changes: update.
22682 * gst/Makefile.am: remove memchunk and trashstack, since they're
22684 * gst/gst.c: (gst_deinit): rename gst_registry_deinit to _cleanup
22685 * gst/gst.h: don't include some headers
22686 * gst/gstchildproxy.c: add gstmarshal.h
22687 * gst/gstclock.c: Don't use memchunks
22688 * gst/gstminiobject.c: Add some docs
22689 * gst/gstobject.c: remove DESTROYED flag, since it's redundant
22690 * gst/gstobject.h: same
22691 * gst/gstplugin.c: include gstmacros.h
22692 * gst/gstplugin.h: don't include gstmacros.h, since it's private
22693 * gst/gstquery.c: don't use memchunks
22694 * gst/gstregistry.c: rename gst_registry_deinit()
22695 * gst/gstregistry.h: same
22697 2005-09-19 David Schleef <ds@schleef.org>
22699 * docs/libs/gstreamer-libs-docs.sgml: Remove docs for getbits
22700 * docs/libs/gstreamer-libs-sections.txt:
22701 * docs/libs/tmpl/gstgetbits.sgml:
22702 * docs/libs/tmpl/gstputbits.sgml:
22704 2005-09-19 Tim-Philipp Müller <tim at centricular dot net>
22706 * win32/gstenumtypes.c:
22707 * win32/gstenumtypes.h:
22710 2005-09-19 Wim Taymans <wim@fluendo.com>
22712 * gst/gstpipeline.c: (do_pipeline_seek), (gst_pipeline_send_event):
22713 Automatically PAUSE and RESUME a pipeline when a flushing seek
22716 2005-09-19 Andy Wingo <wingo@pobox.com>
22718 * gst/gstregistry.h: Spacing fixen.
22720 2005-09-19 Wim Taymans <wim@fluendo.com>
22722 * gst/base/gstbasesrc.c: (gst_base_src_change_state):
22723 Handle state change failure more correctly.
22725 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22727 * check/Makefile.am:
22728 * check/pipelines/cleanup.c: (run_pipeline):
22729 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22731 enable cleanup again after fixing the leak
22733 some more info on docs
22735 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22737 * check/Makefile.am:
22738 re-enable tests now that leaks are plugged
22740 * check/gst/gstbin.c:
22741 * check/gst/gstpipeline.c:
22742 add some more tests while fixing leaks
22743 * common/check.mak:
22744 make sure binaries are uptodate when valgrinding/gdbing
22746 * gst/gstelementfactory.c:
22747 remove a ref too many, and add a FIXME for when we get
22748 round to disposing of classes
22750 fix the refcounting when loading a plugin from a file and
22751 the code pretends that the pointer is the same even though
22752 of course it can change
22753 * gst/gstpluginfeature.c:
22754 unref plugins marked cached (a bit confusing as a name)
22755 as the docs state should be done
22756 various doc additions to explain refcounting
22757 * gst/gstregistry.c:
22758 * gst/gstregistryxml.c:
22761 2005-09-19 Wim Taymans <wim@fluendo.com>
22763 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
22764 * check/gst/gstbus.c: (message_func_eos), (message_func_app),
22765 (send_messages), (GST_START_TEST), (gstbus_suite):
22766 * check/gst/gstpipeline.c: (GST_START_TEST):
22767 * check/pipelines/cleanup.c: (run_pipeline):
22768 * check/pipelines/simple_launch_lines.c: (run_pipeline),
22770 * gst/gstbus.c: (gst_bus_have_pending), (gst_bus_source_prepare),
22771 (gst_bus_source_check), (gst_bus_source_dispatch),
22772 (gst_bus_create_watch), (gst_bus_add_watch_full),
22773 (gst_bus_add_watch), (poll_func), (poll_timeout), (gst_bus_poll):
22775 * tools/gst-launch.c: (event_loop):
22776 * tools/gst-md5sum.c: (event_loop):
22777 GstBusHandler -> GstBusFunc, return value has the same meaning as
22778 any other GSource (FALSE == remove source).
22779 _add_watch() and _add_watch_full() now take a MessageType mask to
22780 only handle specific types of messages.
22781 _poll() returns the GstMessage instead of the message type to avoid
22783 _have_pending() takes a MessageType mask now too.
22784 Added testsuite for multiple bus watches.
22785 Fix testsuites and applications for new bus API.
22787 2005-09-19 Thomas Vander Stichele <thomas at apestaart dot org>
22789 * check/Makefile.am:
22790 mark a bunch of the tests as to fix until we fix them
22792 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22794 * common/check.mak:
22795 use GST_PLUGIN settings for valgrind tests as well, so we're
22796 valgrinding the correct thing
22797 * gst/gst.c: (init_post):
22800 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22802 * gst/gst.c: (init_post), (gst_deinit):
22803 * gst/gstelementfactory.c: (gst_element_factory_class_init),
22804 (gst_element_factory_finalize), (gst_element_factory_cleanup):
22805 * gst/gstindex.c: (gst_index_factory_class_init),
22806 (gst_index_factory_finalize):
22807 * gst/gstobject.c: (gst_object_dispose):
22808 * gst/gstplugin.c: (gst_plugin_finalize), (gst_plugin_class_init),
22809 (gst_plugin_load_file), (gst_plugin_desc_free):
22810 * gst/gstpluginfeature.c: (gst_plugin_feature_class_init),
22811 (gst_plugin_feature_finalize):
22812 * gst/gstregistry.c: (gst_registry_class_init),
22813 (gst_registry_init), (gst_registry_finalize),
22814 (gst_registry_get_default), (gst_registry_deinit):
22815 * gst/gstregistry.h:
22816 * gst/gstregistryxml.c: (load_feature), (load_plugin):
22817 various cleanups and memleak plugging. make valgrind is happy now.
22819 2005-09-18 Thomas Vander Stichele <thomas at apestaart dot org>
22821 * common/check.mak:
22822 add a check-valgrind target
22824 2005-09-18 David Schleef <ds@schleef.org>
22826 * tools/gst-inspect.c: Revert the GOption code.
22828 2005-09-17 David Schleef <ds@schleef.org>
22830 * check/Makefile.am: Fix environment variables.
22831 * check/gst/gstplugin.c: Fix for API changes.
22832 * tools/gst-inspect.c: Fix for API changes.
22833 * tools/gst-xmlinspect.c: Fix for API changes.
22834 * gst/gstelementfactory.c:
22837 * gst/gstpluginfeature.c:
22838 * gst/gstpluginfeature.h:
22839 * gst/gstregistry.c:
22840 * gst/gstregistry.h:
22841 * gst/gstregistryxml.c:
22842 * gst/gsttypefind.c:
22843 * gst/gsttypefindfactory.c:
22844 * gst/indexers/gstfileindex.c:
22845 * gst/indexers/gstmemindex.c:
22846 * gst/schedulers/Makefile.am:
22847 Change registry to keep track of both plugins and features,
22848 removing the feature tracking from plugins themselves.
22850 2005-09-16 Thomas Vander Stichele <thomas at apestaart dot org>
22852 * check/Makefile.am:
22853 * tools/gst-register.1.in:
22854 remove gst-register
22856 2005-09-15 David Schleef <ds@schleef.org>
22858 * check/gst/gstplugin.c:
22859 * gst/gstelementfactory.c:
22861 * gst/gstpluginfeature.c:
22862 * gst/gstregistry.c:
22863 Getting tired of debugging. Disabled all the unreffing of
22864 plugins and features, which fixes the segfaults, but of
22865 course leaks like crazy. At least playbin works.
22867 2005-09-15 David Schleef <ds@schleef.org>
22869 * check/gst/gstplugin.c: (register_check_elements),
22870 (GST_START_TEST), (peek), (suggest), (gst_plugin_suite):
22872 * gst/elements/gsttypefindelement.c: Fix refcounting.
22873 * gst/gsttypefind.c:
22874 * gst/gsttypefindfactory.c:
22875 * gst/gsttypefindfactory.h:
22877 2005-09-15 David Schleef <ds@schleef.org>
22879 * gst/gstindex.c: get refcounting correct.
22880 * gst/gstregistry.c: Handle the case where a feature/plugin is
22883 2005-09-15 David Schleef <ds@schleef.org>
22885 * check/Makefile.am:
22886 * check/gst/gstplugin.c: Add test
22887 * gst/gstplugin.c: Fix problems noticed by testsuite
22889 * gst/gstregistry.c:
22890 * gst/gstregistry.h:
22892 2005-09-15 David Schleef <ds@schleef.org>
22894 * gst/gstplugin.c: Implement semi-decent recounting and locking
22895 in plugins and plugin features.
22897 * gst/gstpluginfeature.c:
22898 * gst/gstpluginfeature.h:
22899 * gst/gstregistry.c:
22901 2005-09-15 Michael Smith <msmith@fluendo.com>
22903 * gst/gstregistry.c: (gst_registry_get_feature_list):
22904 Implement this. Makes oggdemux work; decodebin still broken.
22906 2005-09-14 David Schleef <ds@schleef.org>
22908 * configure.ac: Add -no-undefined to GST_PLUGIN_LDFLAGS (bug
22910 * gst/base/Makefile.am: Add -no-undefined to LDFLAGS for libs
22911 * gst/check/Makefile.am:
22912 * libs/gst/controller/Makefile.am:
22913 * libs/gst/dataprotocol/Makefile.am:
22915 2005-09-14 David Schleef <ds@schleef.org>
22917 * configure.ac: Remove getbits library. Nothing uses it, and
22918 it should be in something like liboil if someone did want
22920 * libs/gst/Makefile.am:
22921 * libs/gst/getbits/Makefile.am:
22922 * libs/gst/getbits/gbtest.c:
22923 * libs/gst/getbits/getbits.c:
22924 * libs/gst/getbits/getbits.h:
22925 * libs/gst/getbits/gstgetbits_generic.c:
22926 * libs/gst/getbits/gstgetbits_i386.s:
22927 * libs/gst/getbits/gstgetbits_inl.h:
22929 2005-09-14 David Schleef <ds@schleef.org>
22931 * gst/Makefile.am: Dist glib-compat.h
22933 2005-09-14 David Schleef <ds@schleef.org>
22935 * configure.ac: Remove gst/registries, since it's no longer used.
22936 * gst/registries/Makefile.am:
22937 * gst/registries/gstlibxmlregistry.c:
22938 * gst/registries/gstlibxmlregistry.h:
22939 * gst/registries/gstxmlregistry.c:
22940 * gst/registries/gstxmlregistry.h:
22941 * gst/registries/registrytest.c:
22943 2005-09-14 David Schleef <ds@schleef.org>
22945 * gst/glib-compat.h:
22946 * gst/gstregistryxml.c:
22947 Convergence is near. Seriously.
22949 2005-09-14 David Schleef <ds@schleef.org>
22951 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22952 * gst/glib-compat.h:
22953 Attempt #4 to appease the buildbots.
22955 2005-09-14 David Schleef <ds@schleef.org>
22957 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22960 2005-09-14 David Schleef <ds@schleef.org>
22962 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22965 2005-09-14 David Schleef <ds@schleef.org>
22967 * gst/Makefile.am: Oh yeah, libgstreamer.so needs to contain
22970 2005-09-14 David Schleef <ds@schleef.org>
22972 * gst/glib-compat.c: (g_mkdir_with_parents), (g_mkdir), (g_stat):
22973 * gst/glib-compat.h: Add some functions that are in newer versions
22974 of glib than we care to require.
22975 * gst/gstregistryxml.c: Use them.
22977 2005-09-14 David Schleef <ds@schleef.org>
22979 * po/POTFILES.in: remove gst-register.c
22981 2005-09-14 David Schleef <ds@schleef.org>
22983 * docs/gst/gstreamer-docs.sgml:
22984 * docs/gst/gstreamer-sections.txt:
22985 * docs/gst/gstreamer.types:
22986 * docs/gst/tmpl/gstelement.sgml:
22987 * docs/gst/tmpl/gstplugin.sgml:
22988 * docs/gst/tmpl/gstpluginfeature.sgml:
22989 Documentation updates for registry changes.
22991 2005-09-14 David Schleef <ds@schleef.org>
22993 * gst/gstregistryxml.c: Copy g_mkdir_with_parent() from glib,
22994 because we don't require glib-2.8.
22996 2005-09-14 David Schleef <ds@schleef.org>
22998 * gst/gstregistryxml.c: Added. Essentially moved out of the
22999 registries directory.
23001 2005-09-14 David Schleef <ds@schleef.org>
23003 * check/Makefile.am:
23004 * check/generic/states.c:
23008 * gst/gst_private.h:
23009 * gst/gstelementfactory.c:
23014 * gst/gstpluginfeature.c:
23015 * gst/gstpluginfeature.h:
23016 * gst/gstregistry.c:
23017 * gst/gstregistry.h:
23018 * gst/gstregistrypool.c: remove
23019 * gst/gstregistrypool.h: remove
23020 * gst/gsttypefind.c:
23021 * gst/gsttypefindfactory.c:
23023 * tools/Makefile.am:
23024 * tools/gst-compprep.c:
23025 * tools/gst-inspect.c:
23026 * tools/gst-register.c: remove
23027 * tools/gst-xmlinspect.c:
23028 Registry rewrite. Changes registry from being a file created
23029 by a tool into a simple cache file created automatically by
23030 libgstreamer. Removed gst-register (because it's no longer
23031 needed). Remove registry pools, because we only have one
23032 registry implementation (XML). Fix up other subsystems as
23035 2005-09-13 Michael Smith <msmith@fluendo.com>
23037 * gst/gstconfig.h.in:
23038 Don't Use windows linking attributes for MinGW. Fixes #316157
23040 2005-09-13 Thomas Vander Stichele <thomas at apestaart dot org>
23042 * gst/gstutils.c: (set_state_async_thread_func),
23043 (gst_element_set_state_async):
23044 Apparently people think it's better if this function doesn't
23045 try to set the state to whatever state was asked for on the first
23046 call to this function for any object. Seriously.
23048 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23050 * check/gst/gstpipeline.c: (GST_START_TEST):
23051 * docs/gst/gstreamer-sections.txt:
23052 * gst/gstutils.c: (set_state_async_thread_func),
23053 (gst_element_set_state_async):
23055 add a "gst_element_set_state_async" method that
23056 sets the state and starts a thread to make sure the state
23057 change completes as best as it can
23059 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23061 * check/gst/gstpipeline.c: (GST_START_TEST), (gst_pipeline_suite):
23062 codify design+behaviour in testsuite after discussion
23064 2005-09-12 Thomas Vander Stichele <thomas at apestaart dot org>
23066 * docs/gst/tmpl/gstelement.sgml:
23067 * docs/manual/appendix-quotes.xml:
23069 * gst/gstelement.c: (gst_element_set_state):
23072 2005-09-12 Jan Schmidt <thaytan@mad.scientist.com>
23074 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23075 (gst_base_transform_prepare_output_buf),
23076 (gst_base_transform_handle_buffer):
23077 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip),
23078 (gst_capsfilter_prepare_buf):
23079 Remove the requirement for sub-classes to call the parent
23080 implementation of prepare_output_buffer with a wrapper function.
23082 * gst/gsttaglist.h:
23083 * gst/gsttagsetter.h:
23084 Fix #define wrapper
23086 2005-09-11 Stefan Kost <ensonic@users.sf.net>
23088 * docs/gst/gstreamer-sections.txt:
23091 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23093 * docs/gst/gstreamer-sections.txt:
23094 * docs/gst/tmpl/gstelement.sgml:
23095 * docs/gst/tmpl/gstplugin.sgml:
23096 * gst/gstminiobject.c:
23098 docs now stop throwing warnings
23100 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23102 * docs/gst/gstreamer-sections.txt:
23103 * docs/gst/gstreamer.types:
23104 * docs/gst/tmpl/gstpad.sgml:
23105 * docs/gst/tmpl/gsttypes.sgml:
23106 * gst/base/gstadapter.h:
23107 * gst/base/gstbasesink.h:
23108 * gst/base/gstbasesrc.h:
23114 * gst/gstelement.h:
23116 * gst/gstmessage.h:
23118 * gst/gststructure.c:
23119 * gst/registries/gstlibxmlregistry.h:
23120 various documentation fixes
23122 2005-09-11 Thomas Vander Stichele <thomas at apestaart dot org>
23124 * docs/gst/gstreamer-sections.txt:
23125 * docs/gst/tmpl/gstvalue.sgml:
23126 rearrange gstvalue section
23127 * gst/gstutils.c: (gst_element_state_get_name):
23129 * gst/gstvalue.c: (_gst_value_initialize):
23133 2005-09-10 Jan Schmidt <thaytan@mad.scientist.com>
23135 * check/gst-libs/controller.c:
23136 Header include fix.
23137 * gst/base/gstbasetransform.c:
23138 (gst_base_transform_default_prepare_buf),
23139 (gst_base_transform_handle_buffer):
23140 * gst/base/gstbasetransform.h:
23141 Some more basetransform changes and fixes to enable sub-classes
23142 that modify buffer metadata only.
23143 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
23144 (gst_capsfilter_init), (gst_capsfilter_transform_ip),
23145 (gst_capsfilter_prepare_buf):
23146 If the output pad has fixed allowed caps and input buffers
23147 don't have any, set the fixed caps on outgoing buffers.
23149 2005-09-09 Jan Schmidt <thaytan@mad.scientist.com>
23150 * check/elements/identity.c: (GST_START_TEST):
23151 Make the error a little clearer when the test fails because
23152 identity made a copy of the buffer.
23153 * docs/gst/gstreamer-sections.txt:
23154 New symbols in gstbasetransform.h
23155 * gst/base/gstbasetransform.c: (gst_base_transform_class_init),
23156 (gst_base_transform_init), (gst_base_transform_transform_size),
23157 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
23158 (gst_base_transform_default_prepare_buf),
23159 (gst_base_transform_get_unit_size),
23160 (gst_base_transform_buffer_alloc),
23161 (gst_base_transform_handle_buffer), (gst_base_transform_chain),
23162 (gst_base_transform_change_state),
23163 (gst_base_transform_set_passthrough),
23164 (gst_base_transform_set_in_place),
23165 (gst_base_transform_is_in_place):
23166 * gst/base/gstbasetransform.h:
23167 Change BaseTransform to separate in_place operate from same_caps
23168 output. in_place implies that the element can perform the transform
23169 on incoming buffers in-place, even if the caps on the output are
23171 Sub-class elements can now implement special buffer allocation
23172 methods for outgoing buffers if they wish to.
23173 Big documentation addition.
23174 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_ip):
23175 * gst/elements/gstelements.c:
23176 Changes for basetransform modifications.
23177 * gst/elements/Makefile.am:
23178 * gst/elements/gstfdsrc.c: (gst_fdsrc_init), (gst_fdsrc_create):
23179 Compile fix. Extra debug output.
23181 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23183 * check/gst/gstpad.c: (GST_START_TEST), (name_is_valid),
23185 add tests for valid pad naming
23186 * gst/check/gstcheck.c: (gst_check_log_message_func),
23187 (gst_check_log_critical_func):
23189 remove printing of code, it is fragile when the code contains
23190 % and the line number is enough info
23191 * gst/check/gstcheck.h:
23192 * gst/gstpad.c: (gst_pad_template_new):
23195 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23198 say what CHECK flags we use
23199 * docs/libs/gstreamer-libs.types:
23200 * libs/gst/controller/Makefile.am:
23201 * libs/gst/controller/gst-controller.c:
23202 * libs/gst/controller/gst-controller.h:
23203 * libs/gst/controller/gst-helper.c:
23204 * libs/gst/controller/gst-interpolation.c:
23205 * libs/gst/controller/gstcontroller.c:
23206 * libs/gst/controller/gsthelper.c:
23207 * libs/gst/controller/gstinterpolation.c:
23208 * tools/gst-inspect.c: (print_plugin_info):
23209 we don't use dashes in header names
23211 2005-09-09 Thomas Vander Stichele <thomas at apestaart dot org>
23213 * check/Makefile.am:
23214 * check/gst/.cvsignore:
23215 * check/gst/gstpipeline.c: (pop_messages), (GST_START_TEST),
23216 (gst_pipeline_suite), (main):
23217 adding a test for pipelines and state changes
23218 * gst/gstutils.c: (get_state_func):
23220 * gstreamer.spec.in:
23223 2005-09-08 Michael Smith <msmith@fluendo.com>
23225 * gst/elements/gstfilesrc.c: (gst_file_src_map_region),
23226 (gst_file_src_map_small_region), (gst_file_src_create_mmap),
23227 (gst_file_src_is_seekable), (gst_file_src_get_size),
23228 (gst_file_src_start):
23229 * gst/elements/gstfilesrc.h:
23230 Various fixes for unseekable, unmmapable, and non-normal files, so
23231 that fallback to read() rather than mmap() works.
23232 * gst/gstevent.c: (gst_event_new_newsegment):
23233 Allow newsegment events with segment_start == segment_end, as will
23234 correctly happen if you use filesrc on a zero-size file, for
23237 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23239 * gst/gstplugin.c: (gst_plugin_load_file):
23240 Call g_module_close when we don't load the module
23242 * gst/registries/gstlibxmlregistry.c:
23243 (gst_xml_registry_get_property):
23244 Port leak fix from 0.8
23246 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23248 * docs/gst/gstreamer-docs.sgml:
23249 * docs/gst/tmpl/.cvsignore:
23250 * docs/gst/tmpl/gsttrace.sgml:
23251 * docs/gst/tmpl/gsttrashstack.sgml:
23254 * gst/gstelement.h:
23256 * gst/gstmessage.c:
23257 * gst/gstmessage.h:
23260 * gst/gsttaginterface.c:
23261 * gst/gsttaginterface.h:
23262 * gst/gsttaglist.c:
23263 * gst/gsttaglist.h:
23264 * gst/gsttagsetter.c:
23265 * gst/gsttagsetter.h:
23268 * gst/gsttrashstack.c:
23269 renamed gsttag -> gsttaglist, gsttaginterface -> gsttagsetter
23270 inlined docs for gsttrace, gsttrashstack
23272 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23275 * gst/elements/gstbufferstore.h:
23276 * gst/elements/gsttypefindelement.c:
23277 * gst/elements/gsttypefindelement.h:
23279 * gst/gsttypefind.c:
23280 * gst/gsttypefind.h:
23281 * gst/gsttypefindfactory.c: (gst_type_find_factory_get_type),
23282 (gst_type_find_factory_class_init), (gst_type_find_factory_init),
23283 (gst_type_find_factory_dispose),
23284 (gst_type_find_factory_unload_thyself),
23285 (gst_type_find_load_plugin), (gst_type_find_factory_get_list),
23286 (gst_type_find_factory_get_caps),
23287 (gst_type_find_factory_get_extensions),
23288 (gst_type_find_factory_call_function):
23289 * gst/gsttypefindfactory.h:
23290 * gst/registries/gstlibxmlregistry.c:
23291 * gst/registries/gstxmlregistry.c:
23292 splitted gsttypefind into gsttypefind, gsttypefindfactory
23294 2005-09-07 Andy Wingo <wingo@pobox.com>
23296 * gst/base/gstbasesink.c (gst_base_sink_activate_pull): Fix a race
23297 condition whereby the pad's task function is entered before the
23298 pad_mode variable was set.
23300 2005-09-07 Jan Schmidt <thaytan@mad.scientist.com>
23302 * gst/gstpad.c: (gst_pad_alloc_buffer):
23303 Catch misbehaving pad_alloc functions that don't
23304 set up caps and do it for them.
23306 2005-09-07 Stefan Kost <ensonic@users.sf.net>
23308 * check/pipelines/simple_launch_lines.c: (run_pipeline):
23309 test for pipe!=NULL
23310 * docs/gst/tmpl/.cvsignore:
23311 * docs/gst/tmpl/gstmemchunk.sgml:
23312 * docs/gst/tmpl/gstparse.sgml:
23313 * docs/gst/tmpl/gsttaglist.sgml:
23314 * docs/gst/tmpl/gsttagsetter.sgml:
23315 * docs/gst/tmpl/gsttypefind.sgml:
23316 * docs/gst/tmpl/gsttypefindfactory.sgml:
23317 * gst/gstmemchunk.c:
23320 * gst/gsttaginterface.c:
23321 * gst/gsttypefind.c:
23322 * gst/gsttypefind.h:
23325 === release 0.9.2 ===
23327 2005-09-06 Thomas Vander Stichele <thomas at apestaart dot org>
23332 releasing 0.9.2, "South"
23334 2005-09-05 Andy Wingo <wingo@pobox.com>
23336 * gst/registries/gstxmlregistry.h:
23337 * gst/registries/gstxmlregistry.c: Um... resurrect...
23339 * gst/registries/gstxmlregistry.h:
23340 * gst/registries/gstxmlregistry.c: and update to newer API.
23341 Incidentally they should be a bit faster now that they don't have
23344 2005-09-05 Andy Wingo <wingo@pobox.com>
23346 * gst/registries/gstxmlregistry.h:
23347 * gst/registries/gstxmlregistry.c: Remove from CVS, they were
23348 replaced by the libxml registry a while back
23350 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23352 * docs/gst/tmpl/gstplugin.sgml:
23353 * gst/elements/gstelements.c:
23355 * gst/gstplugin.c: (gst_plugin_register_func),
23356 (gst_plugin_desc_copy), (gst_plugin_desc_free),
23357 (gst_plugin_get_source):
23359 * gst/registries/gstlibxmlregistry.c: (load_plugin),
23360 (gst_xml_registry_save_plugin):
23361 * gst/registries/gstxmlregistry.c: (gst_xml_registry_parse_plugin),
23362 (gst_xml_registry_save_plugin):
23363 * tools/gst-inspect.c: (print_plugin_info):
23364 add a "source" plugin description field, to represent the source
23365 module this plugin is a part of. By default GST_PLUGIN_DEFINE
23366 will set it to PACKAGE, which is automake's idea of the name of
23367 the source project.
23369 2005-09-03 Thomas Vander Stichele <thomas at apestaart dot org>
23374 * docs/Makefile.am:
23375 * docs/faq/Makefile.am:
23376 * docs/gst/tmpl/gstelement.sgml:
23377 * docs/gst/tmpl/gsttypes.sgml:
23378 * docs/htmlinstall.mak:
23379 * docs/manual/Makefile.am:
23380 * docs/pwg/Makefile.am:
23381 reorganize doc build a little
23382 split out docbook and gtk-doc stuff
23383 have two separate --enable's and enable them through autogen
23384 but disable by default in configure (to be similar to other
23386 * gstreamer.spec.in:
23387 clean up docs install
23405 translation updates
23407 2005-09-03 Tim-Philipp Müller <tim at centricular dot net>
23409 * gst/base/gstbasesink.c: (gst_base_sink_pad_buffer_alloc):
23412 * gst/elements/gstfakesink.c: (gst_fake_sink_init),
23413 (gst_fake_sink_change_state):
23414 Make state change function thread-safe.
23416 * gst/gstpad.c: (gst_pad_alloc_buffer):
23417 Set offset on generic buffer allocated by fallback.
23419 2005-09-03 Stefan Kost <ensonic@users.sf.net>
23421 * docs/gst/gstreamer-sections.txt:
23422 * docs/gst/tmpl/gstelement.sgml:
23424 * libs/gst/controller/gst-controller.c:
23425 (gst_controlled_property_set_interpolation_mode),
23426 (gst_controlled_property_new),
23427 (gst_controller_find_controlled_property):
23428 run the wingo-magic script against the docs
23430 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23432 * docs/gst/gstreamer-docs.sgml:
23433 * docs/gst/gstreamer-sections.txt:
23434 * docs/gst/tmpl/.cvsignore:
23435 * docs/gst/tmpl/gstelementdetails.sgml:
23436 * docs/gst/tmpl/gstelementfactory.sgml:
23439 * gst/gstelementfactory.c:
23440 * gst/gstelementfactory.h:
23441 merged elementdetails docs into elementfactory docs
23444 2005-09-02 Andy Wingo <wingo@pobox.com>
23446 * gst/gstelement.h: Add magical pixie dust to make glib-mkenums
23447 consider this enum an enum and not a flags.
23449 2005-09-02 Stefan Kost <ensonic@users.sf.net>
23451 * docs/gst/gstreamer-docs.sgml:
23452 * docs/gst/tmpl/.cvsignore:
23453 * docs/gst/tmpl/gstghostpad.sgml:
23454 * docs/gst/tmpl/gstiterator.sgml:
23455 * docs/gst/tmpl/gstmacros.sgml:
23456 * docs/gst/tmpl/gstrealpad.sgml:
23457 * docs/gst/tmpl/gstregistry.sgml:
23458 * docs/gst/tmpl/gstregistrypool.sgml:
23459 * docs/gst/tmpl/gststructure.sgml:
23460 * docs/gst/tmpl/gstsystemclock.sgml:
23461 * docs/gst/tmpl/gsttrace.sgml:
23462 * gst/gstghostpad.c:
23464 * gst/gstmemchunk.c:
23465 * gst/gstmemchunk.h:
23467 * gst/gstregistry.c:
23468 * gst/gstregistrypool.c:
23469 * gst/gststructure.c:
23470 * gst/gstsystemclock.c:
23473 2005-09-02 Andy Wingo <wingo@pobox.com>
23475 * gst/gstelement.h (GstState): Renamed from GstElementState,
23476 changed to be a normal enum instead of flags.
23477 (GstStateChangeReturn): Renamed from GstElementStateReturn, names
23478 munged to be GST_STATE_CHANGE_*.
23479 (GST_STATE_CHANGE): Renamed from GST_STATE_TRANSITION, updated to
23480 work with the new state representation.
23481 (GstStateChange): New enumeration of possible state transitions.
23482 Replaces GST_STATE_FOO_TO_BAR with GST_STATE_CHANGE_FOO_TO_BAR.
23483 (GstElementClass::change_state): Pass the GstStateChange along as
23484 an argument. Helps language bindings, so they don't have to use
23485 tricky lock-needing macros like GST_STATE_CHANGE ().
23487 * scripts/update-states (file): New script. Run it on a file to
23488 update it for state naming and API changes. Updates files in
23491 * All files updated for the new API.
23493 2005-09-02 Thomas Vander Stichele <thomas at apestaart dot org>
23495 * gst/gsttrace.c: (gst_trace_flush), (gst_trace_text_flush):
23496 * gst/gstutils.c: (gst_util_set_value_from_string),
23497 (gst_util_set_object_arg):
23498 fix a bunch of unchecked return values
23499 * tools/gst-complete.c: (main):
23500 * gstreamer.spec.in:
23503 2005-09-01 Wim Taymans <wim@fluendo.com>
23505 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23506 (gst_base_sink_event), (gst_base_sink_do_sync),
23507 (gst_base_sink_handle_event):
23508 * gst/base/gstbasesink.h:
23509 Handle newsegments more correctly.
23514 * gst/gstevent.c: (gst_event_new_newsegment):
23515 A newsegment cannot have a start_time of -1
23517 2005-09-01 Tim-Philipp Müller <tim at centricular dot net>
23519 * win32/gstenumtypes.c:
23520 * win32/gstenumtypes.h:
23523 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23525 * libs/gst/controller/gst-controller.c:
23526 (gst_controlled_property_set_interpolation_mode),
23527 (gst_controlled_property_new):
23528 fixed boolean again
23530 2005-08-31 Thomas Vander Stichele <thomas at apestaart dot org>
23532 * docs/faq/gst-uninstalled:
23537 * gst/gstutils.c: (gst_element_link_filtered):
23539 add gst_element_link_filtered
23541 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23543 * docs/gst/gstreamer-docs.sgml:
23544 * docs/gst/gstreamer-sections.txt:
23545 * docs/gst/tmpl/.cvsignore:
23546 * docs/gst/tmpl/gsterror.sgml:
23547 * docs/gst/tmpl/gstfilter.sgml:
23548 * docs/gst/tmpl/gsturihandler.sgml:
23549 * docs/gst/tmpl/gsturitype.sgml:
23550 * docs/gst/tmpl/gstutils.sgml:
23551 * docs/gst/tmpl/gstxml.sgml:
23556 * gst/gsturitype.c:
23559 inlined more docs, fixed double id-ref
23561 2005-08-31 Wim Taymans <wim@fluendo.com>
23563 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23564 (gst_base_transform_handle_buffer):
23565 Passthrough elements don't need the caps as they don't care.
23567 2005-08-31 Wim Taymans <wim@fluendo.com>
23569 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
23570 (gst_base_transform_handle_buffer), (gst_base_transform_chain):
23571 Don't leak refcounts on buffers.
23573 2005-08-31 Wim Taymans <wim@fluendo.com>
23575 * gst/base/gstbasetransform.c: (gst_base_transform_configure_caps),
23576 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
23577 (gst_base_transform_chain), (gst_base_transform_change_state):
23578 * gst/base/gstbasetransform.h:
23579 Handle the case where we are not negotiated more gracefully.
23581 2005-08-31 Tim-Philipp Müller <tim at centricular dot net>
23583 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_init),
23584 (gst_file_src_map_region):
23585 Set READONLY flag on mmap'ed buffers, otherwise
23586 gst_buffer_make_writable() won't work properly (#314708).
23588 2005-08-31 Wim Taymans <wim@fluendo.com>
23590 * gst/base/gstbasetransform.c: (gst_base_transform_handle_buffer):
23591 passthrough elements can even do inplace on non writable
23592 buffers (as they don't touch them).
23594 2005-08-31 Stefan Kost <ensonic@users.sf.net>
23596 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
23597 (gst_test_mono_source_set_property),
23598 (gst_test_mono_source_class_init), (GST_START_TEST),
23599 (gst_controller_suite):
23600 more tests (hehe I have the most)
23602 describe popping messages whenusing mulltiple sources
23603 * libs/gst/controller/gst-controller.c:
23604 (gst_controlled_property_set_interpolation_mode),
23605 (gst_controlled_property_new):
23606 * libs/gst/controller/gst-controller.h:
23607 * libs/gst/controller/gst-interpolation.c:
23608 implement boolean properties
23610 2005-08-31 Wim Taymans <wim@fluendo.com>
23612 * gst/gstminiobject.c: (gst_mini_object_ref):
23613 Cannot assert that the refcount has to be positive
23614 since a disposed object can be resurrected.
23616 2005-08-31 Wim Taymans <wim@fluendo.com>
23618 * gst/gstpad.c: (gst_pad_init):
23619 Revert change, need to first fix badly behaving
23622 2005-08-30 Wim Taymans <wim@fluendo.com>
23624 * check/elements/fakesrc.c: (setup_fakesrc):
23625 * check/elements/identity.c: (setup_identity):
23626 Activate pads before using them.
23628 2005-08-30 Wim Taymans <wim@fluendo.com>
23630 * gst/base/gstadapter.c: (gst_adapter_flush):
23631 Flushing out 0 bytes is ok for this function.
23633 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23634 no newsegment gives a warning and sets the start/stop to
23637 * gst/base/gstbasetransform.c: (gst_base_transform_change_state),
23638 (gst_base_transform_set_passthrough):
23641 * gst/gstminiobject.c: (gst_mini_object_ref):
23642 Check refcount here too.
23644 * gst/gstpad.c: (gst_pad_init):
23645 Pads are initially flushing and refusing data.
23647 * gst/gstutils.c: (gst_element_link_pads_filtered):
23648 When adding a capsfilter element make sure it has the
23649 same state as the parent bin.
23651 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23653 * docs/gst/tmpl/.cvsignore:
23654 * docs/gst/tmpl/gstformat.sgml:
23655 * docs/gst/tmpl/gstversion.sgml:
23659 * gst/gstversion.h.in:
23660 more docs and two more inlined
23662 2005-08-30 Wim Taymans <wim@fluendo.com>
23664 * gst/elements/gstfilesink.c: (gst_file_sink_class_init):
23665 Don't sync to clock.
23667 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23669 * docs/gst/gstreamer-sections.txt:
23670 ultral33t func10ns deserve to appear in the docs actually
23671 * docs/gst/tmpl/.cvsignore:
23672 * docs/gst/tmpl/gstcompat.sgml:
23673 * docs/gst/tmpl/gstconfig.sgml:
23674 * gst/check/gstcheck.c:
23676 * gst/gstconfig.h.in:
23679 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23681 * docs/gst/tmpl/.cvsignore:
23682 * docs/gst/tmpl/gstquery.sgml:
23683 * docs/gst/tmpl/gstutils.sgml:
23686 inlined and extended docs
23688 2005-08-30 Stefan Kost <ensonic@users.sf.net>
23690 * check/gst-libs/controller.c: (GST_START_TEST),
23691 (gst_controller_suite):
23693 * docs/gst/tmpl/gstutils.sgml:
23694 * docs/libs/gstreamer-libs-sections.txt:
23695 * docs/libs/tmpl/gstdataprotocol.sgml:
23697 * examples/controller/audio-example.c: (main):
23698 controller example works now
23701 * tools/gst-inspect.c: (print_element_properties_info):
23702 show param spec flags
23704 2005-08-29 Andy Wingo <wingo@pobox.com>
23706 * gst/gstutils.c (gst_util_uint64_scale): New 3733t funct10n.
23708 2005-08-28 Andy Wingo <wingo@pobox.com>
23710 * gst/gstutils.h (GST_BOILERPLATE_FULL): Prototype instance_init
23711 as having two arguments instead of just one. Allows superclasses
23712 to access information on subclasses -- see the terrible for() loop
23713 in gtype.c:g_type_create_instance for the reason why. All callers
23716 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23718 * docs/design/part-messages.txt:
23720 * docs/gst/tmpl/.cvsignore:
23721 * docs/gst/tmpl/gstcaps.sgml:
23722 * docs/gst/tmpl/gstclock.sgml:
23728 * gst/gstmessage.c:
23729 added descriptions for bus and message
23730 inline caps and clock docs
23732 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23734 * gst/gstmessage.c:
23735 * gst/gstmessage.h:
23738 2005-08-27 Stefan Kost <ensonic@users.sf.net>
23740 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size):
23743 2005-08-26 Andy Wingo <wingo@pobox.com>
23745 * check/pipelines/simple_launch_lines.c (run_pipeline): Check
23746 element_set_state's return val.
23747 (test_2_elements): Add test that's been disabled for months.
23749 * gst/elements/gstfakesink.c: Cleanups. Add can-activate-push and
23750 can-activate-pull properties.
23752 * gst/elements/gstfakesrc.c: Cleanups. Add can-activate-push and
23753 can-activate-pull properties. Implement is_seekable so fakesrc can
23754 operate in pull mode.
23756 * gst/base/gstbasesink.c (GstBaseSink): Remove has-loop, has-chain
23758 (gst_base_sink_activate, gst_base_sink_activate_pull)
23759 (gst_base_sink_activate_push): Make activation mode choosing work.
23761 (gst_base_sink_chain, gst_base_sink_loop): Assert activation mode
23762 is right. Make pull mode work. Post an eos before pausing in pull
23764 (gst_base_sink_change_state): Pay attention to the core's
23765 change_state() return val.
23767 * gst/base/gstbasesrc.c (GstBaseSrc): Remove has-loop,
23768 has-getrange properties. Cleanups.
23770 * gst/base/gstbasesrc.h (GstBaseSrc): Remove has_loop,
23771 has_getrange and replace with can_activate_pull and
23774 * gst/base/gstbasesink.h (GstBaseSink): Rearrange fields, add
23775 locking comments. Remove has_loop, has_chain and replace with
23776 can_activate_pull and can_activate_push.
23778 2005-08-26 Jan Schmidt <thaytan@mad.scientist.com>
23781 * examples/Makefile.am:
23782 * examples/metadata/Makefile.am:
23783 * examples/metadata/read-metadata.c: (message_loop),
23784 (have_pad_handler), (make_pipeline), (print_tag), (main):
23785 Add metadata reading example that loops over a list of filenames,
23786 dumping any tags found.
23788 * gst/gstbus.c: (gst_bus_dispose):
23789 * gst/gstelement.c: (gst_element_dispose):
23790 Release a few potentially-held references in dispose.
23792 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23794 * docs/gst/tmpl/gstminiobject.sgml:
23795 do *not* add tmpl/*.sgml files to CVS!
23797 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23799 * libs/gst/bytestream/.cvsignore:
23800 * libs/gst/bytestream/Makefile.am:
23801 * libs/gst/bytestream/adapter.c:
23802 * libs/gst/bytestream/adapter.h:
23803 * libs/gst/bytestream/bytestream.c:
23804 * libs/gst/bytestream/bytestream.h:
23805 * libs/gst/bytestream/filepad.c:
23806 * libs/gst/bytestream/filepad.h:
23807 removing obsolete files
23809 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23811 * docs/gst/gstreamer-docs.sgml:
23812 * docs/libs/gstreamer-libs-docs.sgml:
23813 disabed additional index entries again, as this makes docs-gen just
23814 slow and they aren't useful yet
23815 * docs/libs/gstreamer-libs-sections.txt:
23816 little -section.txt cleanup for libs
23818 2005-08-26 Thomas Vander Stichele <thomas at apestaart dot org>
23820 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
23821 * gst/base/gstbasetransform.c: (gst_base_transform_transform_size),
23822 fix up some debugging
23823 (gst_base_transform_get_unit_size),
23824 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
23825 (gst_base_transform_handle_buffer):
23826 * gst/base/gstbasetransform.h:
23827 handle and store timed NEWSEGMENT events so that subclasses that
23828 calculate time by counting samples have a segment_start time they
23829 need to add to their timestamps - see audioresample
23831 2005-08-26 Stefan Kost <ensonic@users.sf.net>
23834 removed ';' from the end of macro defs
23835 * docs/gst/gstreamer-docs.sgml:
23836 * docs/gst/gstreamer-sections.txt:
23837 * docs/gst/tmpl/.cvsignore:
23839 * gst/gstelement.c: (gst_element_class_init),
23840 (gst_element_set_state), (activate_pads),
23841 (gst_element_save_thyself):
23842 * gst/gstevent.c: (gst_event_new_newsegment):
23844 * gst/gstiterator.c:
23845 * gst/gstiterator.h:
23848 * gst/gstutils.c: (gst_pad_query_convert):
23850 fixed parameter name mismatches between source, header and docs
23851 added some more docs, resolved the last batch of unused elements in
23852 docs (now someone needs to doc them)
23854 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23856 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_rebuild):
23857 * gst/registries/gstxmlregistry.c: (gst_xml_registry_rebuild):
23858 don't walk through the plugins backwards. Where is all this
23859 reversed logic coming from ?
23861 2005-08-25 Wim Taymans <wim@fluendo.com>
23863 * gst/base/gstbasetransform.c: (gst_base_transform_init),
23864 (gst_base_transform_transform_size),
23865 (gst_base_transform_configure_caps),
23866 (gst_base_transform_get_unit_size),
23867 (gst_base_transform_buffer_alloc),
23868 (gst_base_transform_change_state):
23869 * gst/base/gstbasetransform.h:
23870 Cache caps unit_size.
23871 Make sure we cannot negotiate up and downstream at the
23874 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23876 * gst/gst.c: (init_pre), (init_post):
23877 register the installed plugin path after the env var
23878 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_save):
23879 * gst/registries/gstxmlregistry.c: (gst_xml_registry_save):
23880 don't reverse order of paths; conserve the order of GST_PLUGIN_PATH
23881 directories, so the tests can prefer uninstalled over installed
23883 2005-08-25 Thomas Vander Stichele <thomas at apestaart dot org>
23885 * gst/base/gstbasetransform.h:
23890 2005-08-25 Wim Taymans <wim@fluendo.com>
23892 * gst/gstbin.c: (bin_bus_handler):
23893 Be a bit more conservative about the posted message.
23895 * gst/gstbus.c: (gst_bus_post):
23896 Some cleanups, warn wrong return values.
23898 2005-08-25 Jan Schmidt <thaytan@mad.scientist.com>
23900 * check/gst/gstbin.c: (GST_START_TEST):
23901 * gst/gstbin.c: (bin_bus_handler):
23902 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
23903 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
23904 (gst_message_new_warning), (gst_message_new_tag),
23905 (gst_message_new_state_changed), (gst_message_new_segment_start),
23906 (gst_message_new_segment_done), (gst_message_new_custom):
23907 * gst/gstmessage.h:
23908 * tools/gst-launch.c: (event_loop):
23909 * tools/gst-md5sum.c: (event_loop):
23910 Revert unpopular change for GST_MESSAGE_SRC to GObject.
23912 2005-08-25 Wim Taymans <wim@fluendo.com>
23914 * check/generic/states.c: (GST_START_TEST):
23915 Cleanup can be done at the end.
23917 * gst/gsttask.c: (gst_task_get_type), (gst_task_finalize),
23918 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23919 (gst_task_get_state), (gst_task_start), (gst_task_pause):
23920 Oh boy.. Thanks for finding this, Thomas.
23922 2005-08-25 Stefan Kost <ensonic@users.sf.net>
23924 * docs/gst/gstreamer.types:
23925 added missing types
23927 2005-08-25 Stefan Kost <ensonic@users.sf.net>
23929 * docs/gst/gstreamer-docs.sgml:
23930 * docs/gst/gstreamer-sections.txt:
23931 * docs/gst/tmpl/.cvsignore:
23933 * gst/gstiterator.c:
23935 * gst/registries/gstxmlregistry.h:
23936 added missing classes and symbols (123 more to go)
23937 removed removed symbols from section file
23938 fixed many doc-comments
23940 2005-08-24 Wim Taymans <wim@fluendo.com>
23942 * check/generic/states.c: (GST_START_TEST):
23943 Make sure all tasks are stopped.
23945 * check/gst/gstbin.c: (GST_START_TEST):
23946 Unref after usage for proper valgrinding.
23948 * gst/gstpad.c: (gst_pad_finalize), (gst_pad_stop_task):
23949 Really wait for the task to stop before destroying the
23952 * gst/gstqueue.c: (gst_queue_sink_activate_push),
23953 (gst_queue_src_activate_push):
23954 Small cleanups. Don't stop the task when we did not start
23957 * gst/gsttask.c: (gst_task_get_type), (gst_task_init),
23958 (gst_task_func), (gst_task_cleanup_all), (gst_task_set_lock),
23959 (gst_task_get_state), (gst_task_start), (gst_task_pause),
23962 Protect the stream lock with the object lock.
23963 Disallow setting the stream lock when running.
23964 Add cleanup_all to wait for the threadpool to finish.
23965 Remove code to autoallocate a mutex if none was provided.
23966 Add _join() to wait for a task to stop.
23967 Protect the thread pool with a global lock.
23969 2005-08-24 Wim Taymans <wim@fluendo.com>
23971 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
23972 (gst_base_sink_get_times), (gst_base_sink_do_sync),
23973 (gst_base_sink_handle_buffer), (gst_base_sink_change_state):
23974 * gst/base/gstbasesink.h:
23975 Handle newsegment events correctly.
23976 Drop buffers out of the segment range.
23978 2005-08-22 Andy Wingo <wingo@pobox.com>
23980 * gst/gstutils.h (GST_BOILERPLATE_WITH_INTERFACE): New ghetto
23981 macro, implements an interface and gstimplementsinterface for a
23984 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
23986 * check/Makefile.am:
23987 * check/generic/states.c: (GST_START_TEST), (states_suite), (main):
23988 add a test that does a bunch of state changes on elements
23989 needs some fixing for valgrind
23990 * check/states/sinks.c: (gst_object_suite):
23993 add prototype for gst_caps_is_equal_fixed
23995 * gst/gstregistrypool.c:
23998 2005-08-24 Andy Wingo <wingo@pobox.com>
24000 * gst/gstquery.c (gst_query_new_convert): Spew if we try to
24001 convert a negative value. Doesn't make much sense. Mostly this is
24002 here to force callers to ensure -1 maps to -1.
24004 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24006 * docs/pwg/advanced-types.xml:
24007 Well done to Michael for catching my deliberate introduction
24008 of this spelling mistake.
24009 * gst/gstbin.c: (gst_bin_remove_func), (bin_bus_handler):
24010 * gst/gstelement.h:
24011 Add GST_ELEMENT_UNPARENTING to prevent races so that we can
24012 unlink pads before removing the element from the bin.
24014 2005-08-24 Andy Wingo <wingo@pobox.com>
24016 * gst/gst.c (parse_debug_list): Accept e.g. GST_DEBUG=4 to mean
24017 the same thing as GST_DEBUG=*:4.
24018 (parse_debug_level, parse_debug_category): New helper parsers.
24020 2005-08-24 Thomas Vander Stichele <thomas at apestaart dot org>
24022 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24023 (gst_base_transform_transform_size), (gst_base_transform_getcaps),
24024 (gst_base_transform_setcaps), (gst_base_transform_get_unit_size),
24025 (gst_base_transform_buffer_alloc),
24026 (gst_base_transform_handle_buffer):
24027 use gboolean return values and pointers to size so we can use the
24028 full GST_BUFFER_SIZE range (guint) for buffer sizes
24029 use GstPadDirection for transform_caps
24030 * gst/base/gstbasetransform.h:
24031 rename get_size to get_unit_size since that's what it is
24032 * gst/elements/gstcapsfilter.c: (gst_capsfilter_transform_caps):
24033 use GstPadDirection for transform_caps
24034 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24036 cleanup and debugging
24038 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24040 * gst/gstelement.c: (gst_element_class_init),
24041 (gst_element_set_state), (activate_pads),
24042 (gst_element_save_thyself):
24043 * tools/gst-compprep.c: (main):
24044 * tools/gst-inspect.c: (print_element_properties_info):
24045 * tools/gst-xmlinspect.c: (print_element_properties):
24046 Fixed long standing mem-leak
24048 2005-08-24 Jan Schmidt <thaytan@mad.scientist.com>
24050 * check/gst/gstbin.c: (GST_START_TEST):
24051 * gst/gstbin.c: (bin_bus_handler):
24052 * gst/gstmessage.c: (gst_message_finalize), (_gst_message_copy),
24053 (gst_message_new), (gst_message_new_eos), (gst_message_new_error),
24054 (gst_message_new_warning), (gst_message_new_tag),
24055 (gst_message_new_state_changed), (gst_message_new_segment_start),
24056 (gst_message_new_segment_done), (gst_message_new_custom):
24057 * gst/gstmessage.h:
24058 * tools/gst-launch.c: (event_loop):
24059 * tools/gst-md5sum.c: (event_loop):
24060 Change GST_MESSAGE_SRC to be a GObject rather than a GstObject, so
24061 that applications can sensibly post custom messages with references
24062 to their own objects.
24064 2005-08-24 Andy Wingo <wingo@pobox.com>
24066 * gst/gstpad.c (gst_pad_fixate_caps): Check if the caps is fixed
24069 2005-08-24 Wim Taymans <wim@fluendo.com>
24071 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24072 (gst_base_transform_transform_caps),
24073 (gst_base_transform_transform_size),
24074 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
24075 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
24076 (gst_base_transform_handle_buffer):
24077 * gst/base/gstbasetransform.h:
24078 Many fixes and new features added by Thomas. Can now also do
24079 transforms with variable sizes and a custom fixate_caps function.
24081 2005-08-24 Wim Taymans <wim@fluendo.com>
24083 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24087 Cast to ClockTime before formatting to time.
24092 2005-08-24 Stefan Kost <ensonic@users.sf.net>
24094 * check/gst-libs/controller.c: (GST_START_TEST),
24095 (gst_controller_suite):
24096 * docs/gst/tmpl/gstcaps.sgml:
24097 * docs/gst/tmpl/gstghostpad.sgml:
24098 * docs/gst/tmpl/gstquery.sgml:
24099 * docs/gst/tmpl/gstutils.sgml:
24100 * libs/gst/controller/gst-helper.c: (gst_object_set_controller),
24101 (gst_object_sink_values), (gst_object_get_value_arrays),
24102 (gst_object_get_value_array):
24103 gracefully handle helper method calls to objects that are not beeing
24104 controlled, added test case for that
24106 2005-08-23 Wim Taymans <wim@fluendo.com>
24108 * gst/gstevent.c: (_gst_event_copy), (gst_event_new_custom),
24109 (gst_event_new_newsegment), (gst_event_parse_newsegment),
24110 (gst_event_new_tag), (gst_event_parse_tag), (gst_event_new_qos),
24111 (gst_event_parse_qos), (gst_event_new_seek),
24112 (gst_event_parse_seek):
24114 Some more debugging output and doc cleanups.
24116 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24117 Fix possible deadlock.
24119 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24121 * docs/gst/gstreamer-docs.sgml:
24122 * docs/gst/gstreamer-sections.txt:
24123 * docs/gst/gstreamer.types:
24124 * docs/gst/tmpl/.cvsignore:
24127 * gst/gstelement.c:
24129 added 100 symbols from gstreamer-unused.txt to the right sections
24130 fixed more broken comments
24131 added GstBus to docs
24133 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24135 * docs/gst/gstreamer-sections.txt:
24136 * docs/gst/tmpl/.cvsignore:
24137 * docs/gst/tmpl/gstbin.sgml:
24138 * docs/gst/tmpl/gstbuffer.sgml:
24139 * gst/base/gstbasesrc.c:
24140 * gst/gstbin.c: (gst_bin_get_type), (gst_bin_class_init):
24143 * tools/gst-launch.1.in:
24144 inlined more doc comments, added missing comments and fixed comments
24147 2005-08-23 Thomas Vander Stichele <thomas at apestaart dot org>
24149 * gst/gstbuffer.c: (gst_buffer_new_and_alloc):
24153 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_alloc_buffer):
24155 * gst/gststructure.c: (gst_caps_structure_fixate_field_boolean):
24156 * gst/gststructure.h:
24157 add a fixate function for booleans; add a FIXME that these func
24158 names should probably be gst_structure_fixate_*
24160 2005-08-23 Stefan Kost <ensonic@users.sf.net>
24162 * docs/gst/gstreamer-docs.sgml:
24163 * docs/gst/gstreamer-sections.txt:
24165 * gst/gstbin.c: (gst_bin_get_type),
24166 (gst_bin_child_proxy_get_child_by_index),
24167 (gst_bin_child_proxy_get_children_count),
24168 (gst_bin_child_proxy_init):
24169 * gst/gstchildproxy.c: (gst_child_proxy_get_child_by_name),
24170 (gst_child_proxy_get_child_by_index),
24171 (gst_child_proxy_get_children_count), (gst_child_proxy_lookup),
24172 (gst_child_proxy_get_property), (gst_child_proxy_get_valist),
24173 (gst_child_proxy_get), (gst_child_proxy_set_property),
24174 (gst_child_proxy_set_valist), (gst_child_proxy_set),
24175 (gst_child_proxy_child_added), (gst_child_proxy_child_removed),
24176 (gst_child_proxy_base_init), (gst_child_proxy_get_type):
24177 * gst/gstchildproxy.h:
24178 * gst/parse/grammar.y:
24179 * tools/gst-inspect.c: (print_interfaces),
24180 (print_element_properties_info), (print_element_info):
24181 ported gstchildproxy over from 0.8
24182 ported gst-inspect fixes and enhancements over from 0.8
24184 2005-08-22 Wim Taymans <wim@fluendo.com>
24186 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
24187 (gst_base_transform_handle_buffer):
24188 Also call the transform function if we have ANY caps.
24190 * gst/gstpipeline.c: (gst_pipeline_set_new_stream_time):
24193 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24195 * gst/base/gstbasesrc.c: (gst_base_src_event_handler)
24196 Don't pretend to handle seek events if the source is not seekable
24198 2005-08-22 Jan Schmidt <thaytan@mad.scientist.com>
24200 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24201 Remove extra parameter to debug output
24203 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24204 (gst_base_src_do_seek), (gst_base_src_activate_push):
24205 Fix seek event handling.
24207 * gst/gstpipeline.c: (gst_pipeline_change_state):
24208 * gst/gstqueue.c: (gst_queue_handle_sink_event),
24209 (gst_queue_src_activate_push):
24210 Don't start the src pad task on FLUSH_STOP if the pad
24214 2005-08-22 Wim Taymans <wim@fluendo.com>
24216 * check/gst/gstcaps.c: (GST_START_TEST), (gst_caps_suite):
24217 Added check for gst_static_caps_get() refcounting.
24219 2005-08-22 Wim Taymans <wim@fluendo.com>
24221 * gst/gstcaps.c: (gst_static_caps_get), (gst_caps_to_string):
24222 Make _static_caps_get() refcounting sane.
24224 * gst/gstelement.c: (gst_element_set_state):
24225 Add g_return_val_if_fail() to protect against segfaults.
24227 2005-08-22 Stefan Kost <ensonic@users.sf.net>
24229 * docs/gst/tmpl/gstevent.sgml:
24232 inlined remaining docs, added missing doc comments
24234 2005-08-22 Thomas Vander Stichele <thomas at apestaart dot org>
24236 * check/gst/gstbin.c: (GST_START_TEST):
24237 since we don't know when preroll is done, use refcount range
24239 * gst/check/gstcheck.h:
24240 add macro for checking refcount range
24242 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24244 * check/Makefile.am:
24245 clean up environment for when registry gets built versus
24246 when actual tests are run; valgrind seems to not report
24247 leaks if GST_PLUGIN_PATH is set to some specific values
24248 * check/gst/gstbin.c: (GST_START_TEST):
24249 add more refcounting checks; maybe this exposes a
24251 * common/check.mak:
24252 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24253 * gst/check/gstcheck.h:
24254 * gst/gstbin.c: (bin_element_is_semi_sink), (gst_bin_get_state),
24255 (gst_bin_change_state):
24256 * gst/gstpad.c: (gst_pad_activate_push), (gst_pad_chain):
24257 add/fix debugging/whitespace
24259 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24261 * check/gst/gstevent.c: (event_probe), (test_event),
24263 Er, don't call gst_bin_watch_for_state_change you idiot.
24265 2005-08-21 Jan Schmidt <thaytan@mad.scientist.com>
24267 * check/Makefile.am:
24268 Use CHECK_CFLAGS and CHECK_LIBS
24269 * check/gst/gstevent.c: (event_probe), (test_event),
24272 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
24273 (gst_base_src_start), (gst_base_src_stop),
24274 (gst_base_src_activate_push), (gst_base_src_activate_pull),
24275 (gst_base_src_change_state):
24276 Sprinkle gst_base_src_stop liberally around error paths to fix
24277 problems reusing a source after failed state changes.
24278 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24279 (helper_find_suggest), (gst_type_find_helper):
24280 Extra debug output. Don't segfault on GST_PAD_GETRANGEFUNC = NULL
24282 * docs/gst/tmpl/gstevent.sgml:
24283 Migrate part of the docs from the SGML file. Wait for ensonic to
24284 tell me how I did it wrong ;)
24285 * tools/gst-typefind.c: (main):
24286 Extra robustness to state changes between files.
24288 2005-08-21 Thomas Vander Stichele <thomas at apestaart dot org>
24290 * check/Makefile.am:
24291 don't valgrind the controller test - it's leaking - Stefan, HELP
24292 * gst/check/gstcheck.c: (gst_check_message_error),
24293 (gst_check_chain_func), (gst_check_setup_element),
24294 (gst_check_teardown_element), (gst_check_setup_src_pad),
24295 (gst_check_teardown_src_pad), (gst_check_setup_sink_pad),
24296 (gst_check_teardown_sink_pad):
24297 * gst/check/gstcheck.h:
24298 add a bunch of methods to set up elements, and src and sink pads
24299 * check/elements/fakesrc.c: (setup_fakesrc), (cleanup_fakesrc):
24300 * check/elements/identity.c: (setup_identity), (cleanup_identity),
24303 * gst/gstmessage.c:
24305 whitespace/doc fixes
24307 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24309 * gst/gstelement.h:
24310 make GST_ELEMENT_ERROR not do GST_ERROR_OBJECT - these errors should
24311 be handled by the application and not always printed as well
24313 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24315 * check/Makefile.am:
24317 * gst/check/gstcheck.c: (gst_check_message_error):
24318 * gst/check/gstcheck.h:
24319 add a fail_unless_equals_int
24320 add fail_unless for error messages
24322 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24324 * check/Makefile.am:
24326 * common/Makefile.am:
24327 * common/check.mak:
24329 factor out some of the common stuff so we can use it
24331 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24333 * check/Makefile.am:
24334 * check/gst/gstiterator.c: (GST_START_TEST):
24335 * check/gst/gstsystemclock.c: (GST_START_TEST),
24336 (gst_systemclock_suite):
24337 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
24339 valgrind more tests
24341 2005-08-20 Thomas Vander Stichele <thomas at apestaart dot org>
24343 * check/elements/.cvsignore:
24344 * check/elements/gstfakesrc.c:
24345 rename to name of element
24346 * check/elements/identity.c: (chain_func), (event_func),
24347 (setup_identity), (cleanup_identity), (GST_START_TEST),
24348 (identity_suite), (main):
24349 add a test for identity
24350 * check/Makefile.am:
24351 * pkgconfig/Makefile.am:
24352 * pkgconfig/gstreamer-check.pc.in:
24353 * pkgconfig/gstreamer-check-uninstalled.pc.in:
24357 move the check stuff to a library that gets installed
24358 * check/gst-libs/controller.c: (GST_START_TEST):
24359 * check/gst-libs/gdp.c:
24360 * check/gst/gst.c: (GST_START_TEST):
24361 * check/gst/gstbin.c:
24362 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24363 * check/gst/gstbus.c:
24364 * check/gst/gstcaps.c: (GST_START_TEST):
24365 * check/gst/gstelement.c:
24366 * check/gst/gstghostpad.c:
24367 * check/gst/gstiterator.c:
24368 * check/gst/gstmessage.c:
24369 * check/gst/gstminiobject.c: (thread_ref), (GST_START_TEST):
24370 * check/gst/gstobject.c:
24371 * check/gst/gstpad.c: (GST_START_TEST):
24372 * check/gst/gststructure.c: (GST_START_TEST):
24373 * check/gst/gstsystemclock.c: (GST_START_TEST),
24374 (gst_systemclock_suite):
24375 * check/gst/gsttag.c: (gst_tag_suite):
24376 * check/gst/gstvalue.c:
24377 * check/pipelines/cleanup.c:
24378 * check/pipelines/simple_launch_lines.c:
24379 * check/states/sinks.c:
24380 change include statement
24382 * docs/gst/gstreamer-sections.txt:
24383 * docs/gst/tmpl/gstpad.sgml:
24384 document more pad stuff
24385 * gst/gstminiobject.c: (gst_mini_object_ref),
24386 (gst_mini_object_unref):
24389 2005-08-19 Stefan Kost <ensonic@users.sf.net>
24391 * docs/gst/tmpl/gst.sgml:
24393 eliminate another tmpl file, fix spelling in the long-description
24395 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24397 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24398 (test_event), (timediff), (gstevents_suite):
24399 Should fix build on 64-bit arch's
24401 2005-08-18 Andy Wingo <wingo@pobox.com>
24403 Make sure that when a pipeline goes to PLAYING, that data has
24404 actually hit the sink.
24406 * check/states/sinks.c (test_sink): A sink that doesn't get any
24407 data shouldn't return SUCCESS for going to either PLAYING or
24408 PAUSED. Test also the return values on the way back down.
24410 * gst/gstelement.c (gst_element_set_state): When changing the
24411 state of an element currently changing state asynchronously, go to
24412 lost-state after commiting the pending state. Makes future calls
24413 to get_state continue to return ASYNC.
24415 * gst/base/gstbasesink.c (gst_base_sink_change_state): Return
24416 ASYNC when going to PLAYING if we still don't have preroll, as can
24417 happen with live sources.
24419 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24421 * docs/pwg/advanced-types.xml:
24422 Hack long paragraph into 2 chunks as a workaround for buggy
24423 jadetex version in sid and breezy that loops infinitely and
24426 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24428 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24429 (test_event), (timediff), (gstevents_suite):
24430 Provide more error margin in clock measurements to allow for
24431 g_get_current_time inaccuracies.
24433 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24435 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24436 (test_event), (timediff), (gstevents_suite):
24437 Fix error message output so I might be able to tell why the
24438 test works here but fails on the build farm.
24440 2005-08-18 Jan Schmidt <thaytan@mad.scientist.com>
24442 * check/Makefile.am:
24443 * check/gst/gstevents.c: (GST_START_TEST), (event_probe),
24444 (test_event), (timediff), (gstevents_suite), (main):
24447 * docs/design/part-seeking.txt:
24448 Spelling correction
24450 * docs/gst/tmpl/gstevent.sgml:
24451 * docs/gst/tmpl/gstfakesrc.sgml:
24454 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
24455 Treat a buffer-without-newsegment the same as a receiving
24456 a newsegment not in time format, and disable syncing to the clock
24459 * gst/gstbus.c: (gst_bus_set_sync_handler):
24460 Assert if anyone tries to replace the existing sync_handler for bus,
24461 as only the owner should be setting it.
24464 Have a fixed set of custom event enums with events identified by
24465 their structure name (as in 0.8), rather than a free-for-all
24466 allowing collisions between enum values from different plugins.
24468 * gst/gstpad.c: (gst_pad_class_init):
24471 * gst/gstqueue.c: (gst_queue_handle_sink_event):
24472 Handle out-of-band downstream events from the sending thread.
24474 2005-08-17 Andy Wingo <wingo@pobox.com>
24476 * gst/gstpipeline.c (gst_pipeline_change_state): Interpret
24477 play-timeout==0 to mean no timeout at all. In that case, don't
24478 bother with a get_state or a warning, just return directly, even
24481 * gst/base/gstbasetransform.c: Debug changes.
24484 * gst/gstutils.c (gst_bin_watch_for_state_change): Add function to
24485 ensure bins post state change messages. A bit of a hack but I can't
24486 think of a way to avoid it.
24488 * check/gst/gstbin.c (test_watch_for_state_change): Added test.
24490 2005-08-16 Andy Wingo <wingo@pobox.com>
24492 * gst/base/gstadapter.h:
24493 * gst/base/gstadapter.c (gst_adapter_take): New function, like
24494 peek() but you own the data. Not terribly efficient atm.
24496 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24498 * gst/gstutils.c: (gst_element_found_tags_for_pad), (push_and_ref),
24499 (gst_element_found_tags):
24501 Add two utility functions for tag handling.
24503 2005-08-16 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24505 * docs/manual/advanced-dataaccess.xml:
24506 * docs/manual/basics-helloworld.xml:
24507 Fix docs to use _bin_add() before _link(), which fixes the examples
24508 with recent core versions (reported by Madhan Raj M
24509 <raj_madan@rediffmail.com>, #313199).
24511 2005-08-16 Wim Taymans <wim@fluendo.com>
24513 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
24514 Added subtract checks.
24516 * docs/design/part-events.txt:
24517 Some more docs about newsegment
24519 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
24522 * gst/gstcaps.c: (gst_caps_to_string):
24523 Add comments, cleanups.
24525 * gst/gstelement.c: (gst_element_save_thyself):
24528 * gst/gstvalue.c: (gst_value_collect_int_range),
24529 (gst_string_unwrap), (gst_value_union_int_int_range),
24530 (gst_value_union_int_range_int_range),
24531 (gst_value_intersect_int_int_range),
24532 (gst_value_intersect_int_range_int_range),
24533 (gst_value_intersect_double_double_range),
24534 (gst_value_intersect_double_range_double_range),
24535 (gst_value_intersect_list), (gst_value_subtract_int_int_range),
24536 (gst_value_subtract_int_range_int),
24537 (gst_value_subtract_double_range_double),
24538 (gst_value_subtract_double_range_double_range),
24539 (gst_value_subtract_from_list), (gst_value_subtract_list),
24540 (gst_value_can_compare), (gst_value_compare_fraction):
24541 Cleanups, add comments, remove unneeded asserts.
24543 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24545 * tools/gst-launch.c: (event_loop):
24546 don't convert NULL structures to strings
24548 2005-08-15 Stefan Kost <ensonic@users.sf.net>
24550 * docs/gst/gstreamer-sections.txt:
24551 made some defines private
24552 * docs/gst/tmpl/gstconfig.sgml:
24553 * docs/gst/tmpl/gstqueue.sgml:
24554 * docs/gst/tmpl/gsttaglist.sgml:
24555 * docs/gst/tmpl/gsttypes.sgml:
24556 * docs/gst/tmpl/gstutils.sgml:
24557 * docs/pwg/appendix-porting.xml:
24558 * gst/base/gstbasesink.h:
24559 * gst/base/gstbasesrc.c:
24560 * gst/base/gstbasesrc.h:
24561 * gst/elements/gstfakesink.c: (gst_fake_sink_class_init):
24562 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init):
24563 * gst/gstelement.c: (gst_element_class_init):
24564 * gst/gstpad.c: (gst_pad_class_init):
24565 * gst/gstqueue.c: (gst_queue_class_init):
24566 * gst/gstxml.c: (gst_xml_class_init):
24567 documented all undocumented signal inline
24568 * libs/gst/controller/gst-controller.h:
24571 2005-08-15 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24573 * docs/pwg/appendix-porting.xml:
24574 Document _set_link_function -> _set_setcaps_function.
24576 2005-08-15 Thomas Vander Stichele <thomas at apestaart dot org>
24578 * check/Makefile.am:
24579 add a .check target for running the check
24580 * check/gst-libs/controller.c: (GST_START_TEST):
24582 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
24583 complete checks for gstbuffer; would be nice if I could get the
24584 gcov stuff to work so I can see if I actually completed gstbuffer.c
24585 * check/gstcheck.h:
24586 add ASSERT_BUFFER_REFCOUNT
24588 2005-08-13 Tim-Philipp Müller <tim at centricular dot net>
24590 * docs/gst/gstreamer-sections.txt:
24591 * gst/gsttag.c: (_gst_tag_initialize), (gst_tag_register):
24593 Add GST_TAG_LANGUAGE_CODE as we have in 0.8, and don't
24594 spew out a warning if a tag that is already registered
24595 is re-registered, unless it is re-registered with a
24596 different type (#308438).
24598 2005-08-12 Tim-Philipp Müller <tim at centricular dot net>
24600 * docs/pwg/appendix-porting.xml:
24601 * docs/pwg/building-state.xml:
24602 Add some paragraphs about state changes in 0.9 to the PWG
24603 and the porting guide, in particular about the new meaning
24604 of GST_STATE_PAUSED and how to write state change functions
24605 with concurrent access by multiple threads in mind.
24607 2005-08-11 Stefan Kost <ensonic@users.sf.net>
24609 * docs/gst/gstreamer-docs.sgml:
24610 * docs/libs/gstreamer-libs-docs.sgml:
24611 added deprecation and since indexes
24612 * libs/gst/controller/gst-controller.c:
24613 * libs/gst/controller/gst-helper.c:
24617 2005-08-11 Wim Taymans <wim@fluendo.com>
24619 * gst/gstghostpad.c: (gst_proxy_pad_set_target_unlocked),
24620 (gst_proxy_pad_set_target), (gst_proxy_pad_get_target),
24621 (gst_proxy_pad_dispose), (gst_ghost_pad_do_activate_push),
24622 (gst_ghost_pad_do_link), (gst_ghost_pad_set_internal),
24623 (gst_ghost_pad_new_notarget), (gst_ghost_pad_get_target),
24624 (gst_ghost_pad_set_target):
24625 Actually implement (re)setting the target on a ghostpad
24626 as described in the docs.
24628 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24630 * gst/gst.c: (gst_init_check_with_popt_table), (init_pre):
24631 Check whether GST_DEBUG_NO_COLOR environment variable is
24632 set and disable coloured debug output if that is the case.
24634 2005-08-10 Tim-Philipp Müller <tim at centricular dot net>
24636 * gst/base/gsttypefindhelper.c: (helper_find_peek),
24637 (gst_type_find_helper):
24638 The memory returned by gst_type_find_peek() needs to
24639 stay valid until the end of a typefind function, and
24640 typefind functions may keep results from different
24641 offsets around, so we can't just unref the buffer from
24642 the previous _peek(), but have to save all buffers
24643 returned by _peek() until typefinding is done and only
24646 2005-08-09 Tim-Philipp Müller <tim at centricular dot net>
24648 * docs/gst/gstreamer-sections.txt:
24650 New macros: GST_ROUND_UP_2() through GST_ROUND_UP_64().
24652 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24654 * gst/base/gstbasetransform.c: (gst_base_transform_buffer_alloc):
24655 Fix a pretty good memleak.
24657 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24659 * gst/gstiterator.h:
24660 Fix wrong include and 'make distcheck'.
24662 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24664 * gst/gstbin.c: (bin_bus_handler):
24665 Use gst_element_post_message() instead.
24667 2005-08-08 Tim-Philipp Müller <tim at centricular dot net>
24669 * gst/base/gstadapter.h:
24670 * gst/base/gstbasesink.h:
24671 * gst/base/gstbasesrc.h:
24672 * gst/base/gstbasetransform.h:
24673 * gst/base/gstcollectpads.h:
24674 * gst/base/gstpushsrc.h:
24675 * gst/gstiterator.h:
24676 Add padding to our base elements' class and instance structs and
24677 to GstIterator (you will need to rebuild all plugins and apps!)
24679 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24681 * gst/gstbin.c: (bin_bus_handler):
24682 Make default message forwarding from child->bus to bin->bus
24683 threadsafe and make it not emit warnings if the parent has no bus.
24685 2005-08-08 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24687 * gst/gstelement.c: (activate_pads):
24688 On paused->ready, set pad->caps to NULL, as is the documented
24689 behaviour in this state change. Fixes playback of series of
24690 media files when visualization is enabled in Totem.
24692 2005-08-07 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
24694 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
24695 Allow NULL as filter-caps (which means "any").
24697 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24699 * docs/libs/gstreamer-libs-sections.txt:
24700 * libs/gst/controller/gst-controller.c:
24701 * libs/gst/controller/gst-controller.h:
24702 * libs/gst/controller/gst-helper.c:
24703 adding more entries to the docs and fix small doc-bugs
24705 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24707 * docs/gst/gstreamer-docs.sgml:
24708 * docs/gst/gstreamer-sections.txt:
24709 * docs/gst/gstreamer.types:
24710 * docs/gst/tmpl/gstbasesink.sgml:
24711 * docs/gst/tmpl/gstbasesrc.sgml:
24712 * docs/gst/tmpl/gstbasetransform.sgml:
24713 * docs/gst/tmpl/gstfakesrc.sgml:
24714 * gst/base/gstcollectpads.c:
24715 * gst/base/gstcollectpads.h:
24716 * libs/gst/controller/gst-controller.c:
24717 * libs/gst/controller/gst-controller.h:
24718 * libs/gst/controller/gst-helper.c:
24719 * libs/gst/controller/gst-interpolation.c:
24720 * libs/gst/controller/lib.c:
24721 added long/short desc for controller docs
24722 added collectpads base class docs
24723 added correct includes to base-class docs
24725 2005-08-05 Stefan Kost <ensonic@users.sf.net>
24727 * check/gst-libs/controller.c: (gst_test_mono_source_get_property),
24728 (gst_test_mono_source_set_property),
24729 (gst_test_mono_source_class_init), (GST_START_TEST),
24730 (gst_controller_suite):
24731 * docs/gst/gstreamer-docs.sgml:
24732 * docs/gst/gstreamer-sections.txt:
24733 * docs/gst/gstreamer.types:
24734 * docs/libs/gstreamer-libs-docs.sgml:
24735 * docs/libs/gstreamer-libs-sections.txt:
24736 * gst/base/gstadapter.c:
24737 * libs/gst/controller/gst-controller.c:
24738 (gst_controlled_property_new), (gst_controlled_property_free),
24739 (gst_controller_new_valist),
24740 (gst_controller_remove_properties_valist),
24741 (gst_controller_sink_values), (_gst_controller_finalize):
24742 * libs/gst/controller/gst-controller.h:
24743 * libs/gst/controller/gst-helper.c:
24744 (gst_object_control_properties), (gst_object_uncontrol_properties),
24745 (gst_object_get_controller), (gst_object_set_controller),
24746 (gst_object_sink_values), (gst_object_get_value_arrays),
24747 (gst_object_get_value_array):
24748 more tests (and fixes) for the controller
24749 more docs for the controller
24750 integrated companies docs for the adapter
24752 2005-08-05 Thomas Vander Stichele <thomas at apestaart dot org>
24754 * check/elements/gstfakesrc.c: (setup_fakesrc), (cleanup_fakesrc),
24755 (GST_START_TEST), (fakesrc_suite):
24756 add tests for sizetype
24758 2005-08-04 Andy Wingo <wingo@pobox.com>
24760 * gst/elements/gstcapsfilter.c: Reimplement using basetransform,
24761 fixes buffer_alloc proxying among other things.
24763 * gst/base/gstbasetransform.c:
24764 * gst/base/gstbasetransform.h:
24765 Revert patch to gstbasetransform from 7-28 removing
24768 * gst/base/gstbasetransform.h (GstBaseTransformClass.get_size):
24769 * gst/base/gstbasetransform.c (gst_base_transform_get_size):
24770 Semantics changed, should return not the size of the output buffer
24771 but the byte size of a buffer with a given caps.
24773 * gst/base/gstbasetransform.c (gst_base_transform_getcaps): Better
24775 (gst_base_transform_configure_caps): Don't set out_size here: (in,
24776 out) are not the pad caps until setcaps finishes.
24777 (gst_base_transform_buffer_alloc): Proxy the buffer_alloc for the
24778 not-in-place case as well. Deal with changing from in-place to
24779 not-in-place within calling pad_alloc_buffer. Still a bit
24780 concerned about the overhead here...
24782 2005-08-03 Andy Wingo <wingo@pobox.com>
24784 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): Not
24785 fixating is an error.
24787 2005-08-04 Edward Hervey <edward@fluendo.com>
24789 * gst/base/gstadapter.h:
24790 Added gst_adapter_get_type() to the header
24792 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24794 * check/Makefile.am:
24795 * check/gst-libs/controller.c:
24796 * libs/gst/controller/gst-controller.c:
24797 (gst_controller_new_valist):
24798 added check test suite for the controller
24799 * gst/base/gstpushsrc.c:
24802 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24804 * docs/gst/Makefile.am:
24805 * docs/gst/gstreamer-docs.sgml:
24806 * docs/gst/gstreamer-sections.txt:
24807 * docs/gst/gstreamer.types:
24808 * docs/gst/tmpl/gstfakesrc.sgml:
24810 * gst/base/gstbasesink.c:
24811 * gst/base/gstbasesink.h:
24812 * gst/base/gstbasesrc.c:
24813 * gst/base/gstbasesrc.h:
24814 * gst/base/gstbasetransform.c:
24815 * gst/base/gstpushsrc.c:
24816 * gst/base/gstpushsrc.h:
24817 add short/long description docs to base classes
24818 add pushsrc to the docs
24819 remove consolidated doc fragments
24821 2005-08-03 Stefan Kost <ensonic@users.sf.net>
24824 * docs/libs/Makefile.am:
24825 * docs/libs/gstreamer-libs-docs.sgml:
24826 * docs/libs/gstreamer-libs-sections.txt:
24827 * docs/libs/gstreamer-libs.types:
24828 * examples/Makefile.am:
24829 * examples/controller/.cvsignore:
24830 * examples/controller/Makefile.am:
24831 * examples/controller/audio-example.c: (main):
24832 * libs/gst/Makefile.am:
24833 * libs/gst/controller/.cvsignore:
24834 * libs/gst/controller/Makefile.am:
24835 * libs/gst/controller/gst-controller.c:
24836 (on_object_controlled_property_changed), (gst_timed_value_compare),
24837 (gst_timed_value_find),
24838 (gst_controlled_property_set_interpolation_mode),
24839 (gst_controlled_property_new), (gst_controlled_property_free),
24840 (gst_controller_find_controlled_property),
24841 (gst_controller_new_valist), (gst_controller_new),
24842 (gst_controller_remove_properties_valist),
24843 (gst_controller_remove_properties), (gst_controller_set),
24844 (gst_controller_set_from_list), (gst_controller_unset),
24845 (gst_controller_get), (gst_controller_get_all),
24846 (gst_controller_sink_values), (gst_controller_get_value_arrays),
24847 (gst_controller_get_value_array),
24848 (gst_controller_set_interpolation_mode),
24849 (_gst_controller_finalize), (_gst_controller_init),
24850 (_gst_controller_class_init), (gst_controller_get_type):
24851 * libs/gst/controller/gst-controller.h:
24852 * libs/gst/controller/gst-helper.c: (g_object_control_properties),
24853 (g_object_uncontrol_properties), (g_object_get_controller),
24854 (g_object_set_controller), (g_object_sink_values),
24855 (g_object_get_value_arrays), (g_object_get_value_array):
24856 * libs/gst/controller/gst-interpolation.c:
24857 (gst_controlled_property_find_timed_value_node),
24858 (interpolate_none_get), (interpolate_trigger_get),
24859 (interpolate_trigger_get_value_array):
24860 * libs/gst/controller/lib.c: (gst_controller_init):
24861 * pkgconfig/Makefile.am:
24862 * pkgconfig/gstreamer-control-uninstalled.pc.in:
24863 * pkgconfig/gstreamer-control.pc.in:
24864 * testsuite/Makefile.am:
24865 * testsuite/controller/.cvsignore:
24866 * testsuite/controller/Makefile.am:
24867 * testsuite/controller/interpolator.c: (main):
24868 added controller code
24869 removed dparam pc files
24871 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24872 * gst/base/gstcollectpads.c: (gst_collectpads_finalize),
24873 (gst_collectpads_stop):
24874 Broadcast the condition when shutting down, to make sure we wake all
24875 threads up. Shut down pads on finalize, for safety.
24877 2005-08-01 Jan Schmidt <thaytan@mad.scientist.com>
24878 * gst/base/gstbasetransform.c: (gst_base_transform_init),
24879 (gst_base_transform_handle_buffer),
24880 (gst_base_transform_change_state):
24881 Handle PAUSED->READY->PAUSED transition after negotiation
24883 * gst/gstmessage.c: (gst_message_init):
24884 Extra piece of debug for new messages.
24886 2005-08-01 Stefan Kost <ensonic@users.sf.net>
24889 * docs/gst/tmpl/gstbasesrc.sgml:
24890 * docs/gst/tmpl/gstelement.sgml:
24891 * docs/gst/tmpl/gstevent.sgml:
24892 * docs/gst/tmpl/gstfakesrc.sgml:
24893 * docs/gst/tmpl/gstformat.sgml:
24894 * docs/gst/tmpl/gstghostpad.sgml:
24895 * docs/gst/tmpl/gstpad.sgml:
24896 * docs/gst/tmpl/gstquery.sgml:
24897 * docs/gst/tmpl/gststructure.sgml:
24898 * docs/gst/tmpl/gsttaglist.sgml:
24899 * docs/gst/tmpl/gstvalue.sgml:
24900 * docs/libs/gstreamer-libs-docs.sgml:
24901 * docs/libs/gstreamer-libs-sections.txt:
24902 * docs/libs/gstreamer-libs.types:
24903 * libs/gst/Makefile.am:
24904 * libs/gst/control/.cvsignore:
24905 * libs/gst/control/Makefile.am:
24906 * libs/gst/control/control.c:
24907 * libs/gst/control/control.h:
24908 * libs/gst/control/dparam.c:
24909 * libs/gst/control/dparam.h:
24910 * libs/gst/control/dparam_smooth.c:
24911 * libs/gst/control/dparam_smooth.h:
24912 * libs/gst/control/dparamcommon.h:
24913 * libs/gst/control/dparammanager.c:
24914 * libs/gst/control/dparammanager.h:
24915 * libs/gst/control/dplinearinterp.c:
24916 * libs/gst/control/dplinearinterp.h:
24917 * libs/gst/control/unitconvert.c:
24918 * libs/gst/control/unitconvert.h:
24919 * testsuite/Makefile.am:
24920 * testsuite/dynparams/.cvsignore:
24921 * testsuite/dynparams/Makefile.am:
24922 * testsuite/dynparams/dparamstest.c:
24923 * tools/Makefile.am:
24924 * tools/gst-inspect.c: (print_element_info), (main):
24925 * tools/gst-xmlinspect.c: (print_element_info), (main):
24926 deactivate and remove dparams (libgstcontrol)
24928 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24930 * gst/elements/gsttypefindelement.c:
24931 (gst_type_find_element_have_type), (gst_type_find_element_init),
24932 (stop_typefinding), (gst_type_find_element_handle_event),
24933 (gst_type_find_element_chain), (gst_type_find_element_getrange):
24934 * gst/elements/gsttypefindelement.h:
24935 Set caps on all outgoing buffers, not just the first one.
24937 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24939 * gst/elements/gsttypefindelement.c:
24940 (gst_type_find_element_have_type),
24941 (gst_type_find_element_check_set_buffer_caps),
24942 (gst_type_find_element_init), (stop_typefinding),
24943 (gst_type_find_element_handle_event),
24944 (gst_type_find_element_chain), (gst_type_find_element_getrange):
24945 * gst/elements/gsttypefindelement.h:
24946 Set caps on first outgoing buffer when we've found the type.
24948 2005-08-01 Tim-Philipp Müller <tim at centricular dot net>
24950 * docs/gst/gstreamer-docs.sgml:
24951 * docs/gst/gstreamer-sections.txt:
24952 * docs/gst/tmpl/gstscheduler.sgml:
24953 * docs/gst/tmpl/gstschedulerfactory.sgml:
24954 Remove some old cruft from docs.
24956 2005-07-31 Tim-Philipp Müller <tim at centricular dot net>
24959 Fix inline docs for GstPadLinkReturn.
24961 * gst/gststructure.c: (gst_structure_has_name):
24962 * gst/gststructure.h:
24963 * docs/gst/gstreamer-sections.txt:
24964 New API: gst_structure_has_name().
24966 2005-07-30 Tim-Philipp Müller <tim at centricular dot net>
24969 Use AC_SYS_LARGEFILE, which will set _FILE_OFFSET_BITS=64
24970 and _LARGEFILE_SOURCE in config.h as required. Do not
24971 export those flags in our .pc files any longer (#142209).
24973 Remove unused GST_DISABLE_OMEGA_COTHREADS stuff.
24975 * gst/elements/gstfilesink.c: (gst_file_sink_class_init),
24976 (gst_file_sink_do_seek), (gst_file_sink_event),
24977 (gst_file_sink_get_current_offset), (gst_file_sink_render):
24978 Redo seek/tell calls with large file support in mind; add some
24979 debugging messages; add log message that tells us when large
24980 file support is unavailable or not enabled for some reason.
24982 * gst/elements/gstfilesrc.c: (gst_file_src_class_init):
24983 Add log message that tells us when large file support
24984 is unavailable or not enabled for some reason.
24986 2005-07-29 Wim Taymans <wim@fluendo.com>
24988 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
24989 Added test for removing an element with ghostpad from a bin.
24990 Fixed test as current implementation does the right thing.
24992 * gst/gstghostpad.c: (gst_proxy_pad_class_init),
24993 (gst_proxy_pad_do_query_type), (gst_proxy_pad_do_event),
24994 (gst_proxy_pad_do_query), (gst_proxy_pad_do_internal_link),
24995 (gst_proxy_pad_do_bufferalloc), (gst_proxy_pad_do_activate),
24996 (gst_proxy_pad_do_activatepull), (gst_proxy_pad_do_activatepush),
24997 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange),
24998 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_getcaps),
24999 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
25000 (gst_proxy_pad_do_setcaps), (gst_proxy_pad_set_target),
25001 (gst_proxy_pad_get_target), (gst_proxy_pad_init),
25002 (gst_proxy_pad_dispose), (gst_proxy_pad_finalize),
25003 (gst_ghost_pad_class_init), (gst_ghost_pad_do_activate_push),
25004 (gst_ghost_pad_do_link), (gst_ghost_pad_do_unlink),
25005 (gst_ghost_pad_set_internal), (gst_ghost_pad_dispose),
25006 (gst_ghost_pad_new_notarget), (gst_ghost_pad_new),
25007 (gst_ghost_pad_get_target), (gst_ghost_pad_set_target):
25008 * gst/gstghostpad.h:
25009 Clean up ghostpads, remove properties for internal stuff.
25012 Prepare for switching targets, not all use cases work yet.
25014 2005-07-29 Wim Taymans <wim@fluendo.com>
25016 * docs/design/part-gstghostpad.txt:
25019 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25020 (gst_bin_remove_func):
25021 Unlinking pads while holding the bin LOCK is not a good
25024 * gst/gstpad.c: (gst_pad_class_init),
25025 (gst_pad_link_check_hierarchy), (gst_pad_get_caps_unlocked),
25026 (gst_pad_accept_caps), (gst_pad_set_caps), (gst_pad_send_event):
25027 No prob setting template after creating the pad.
25029 2005-07-29 Jan Schmidt <thaytan@mad.scientist.com>
25031 * gst/gstbus.c: (gst_bus_set_flushing), (gst_bus_pop),
25032 (gst_bus_peek), (gst_bus_source_dispatch),
25033 (gst_bus_add_watch_full), (poll_handler), (poll_timeout),
25034 (poll_destroy), (poll_destroy_timeout), (gst_bus_poll):
25035 gst_bus_poll may be called from other threads. Handle
25036 this nicely by not making poll_data disappear off the
25037 stack once gst_bus_poll returns.
25038 gst_bus_peek now increments the refcount on the returned
25041 2005-07-29 Wim Taymans <wim@fluendo.com>
25043 * docs/design/part-gstghostpad.txt:
25044 Overview of current GhostPad datastructures and use
25045 cases for changing the target.
25047 2005-07-28 Wim Taymans <wim@fluendo.com>
25049 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
25050 Added checks for hierarchy consistency whan adding linked
25053 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25054 Added check to test element scheduling without bin/pipeline.
25056 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
25057 First add elements to bin, then link.
25059 * gst/gstbin.c: (unlink_pads), (gst_bin_add_func),
25060 (gst_bin_remove_func):
25061 Unlink pads from elements added/removed from bin to maintain
25062 hierarchy consistency.
25064 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25066 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps),
25067 (gst_base_transform_handle_buffer):
25068 * gst/base/gstbasetransform.h:
25069 Remove broken delay_configure (fixes renegotiation of software
25070 scaling pipelines); remove some leftover printf()s.
25072 2005-07-28 Wim Taymans <wim@fluendo.com>
25074 * check/gst/gstghostpad.c: (GST_START_TEST), (gst_ghost_pad_suite):
25075 Added some more tests for wrong hierarchy
25077 * docs/design/part-overview.txt:
25080 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_dispose):
25083 * gst/gstelement.c: (gst_element_remove_pad), (gst_element_seek),
25084 (gst_element_dispose):
25085 Some more cleanups.
25087 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
25088 (gst_pad_link_check_hierarchy), (gst_pad_link_prepare),
25089 (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25090 (gst_pad_set_caps), (gst_pad_send_event):
25091 Check for correct hierarchy when linking pads. Moving to
25092 strict requirement for ghostpads when linking elements in
25096 Clean ups. Added WRONG_HIERARCHY return value.
25098 2005-07-28 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25100 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25101 Better debug if no transform is possible.
25103 2005-07-27 Wim Taymans <wim@fluendo.com>
25105 * docs/random/wtay/network-transp:
25106 Some old doc I had.
25108 2005-07-27 Wim Taymans <wim@fluendo.com>
25110 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25111 (gst_dp_event_from_packet):
25112 Fix serialization of seek events.
25114 2005-07-27 Wim Taymans <wim@fluendo.com>
25116 * check/gst-libs/gdp.c: (GST_START_TEST):
25117 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25118 Fix compilation and fix event serialization.
25120 2005-07-27 Wim Taymans <wim@fluendo.com>
25123 * docs/design/part-TODO.txt:
25124 * docs/design/part-events.txt:
25127 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25128 (gst_base_sink_event), (gst_base_sink_do_sync),
25129 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25130 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25131 (gst_base_src_do_seek), (gst_base_src_event_handler),
25132 (gst_base_src_loop):
25133 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25134 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25135 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25136 (gst_base_transform_event), (gst_base_transform_handle_buffer),
25137 (gst_base_transform_set_passthrough),
25138 (gst_base_transform_is_passthrough):
25139 * gst/elements/gstfakesink.c: (gst_fake_sink_event):
25140 * gst/elements/gstfilesink.c: (gst_file_sink_event):
25146 * gst/gstelement.c: (gst_element_seek):
25147 * gst/gstelement.h:
25148 Update gst_element_seek.
25150 * gst/gstevent.c: (gst_event_finalize), (_gst_event_copy),
25151 (gst_event_new), (gst_event_new_custom), (gst_event_get_structure),
25152 (gst_event_new_flush_start), (gst_event_new_flush_stop),
25153 (gst_event_new_eos), (gst_event_new_newsegment),
25154 (gst_event_parse_newsegment), (gst_event_new_tag),
25155 (gst_event_parse_tag), (gst_event_new_filler), (gst_event_new_qos),
25156 (gst_event_parse_qos), (gst_event_new_seek),
25157 (gst_event_parse_seek), (gst_event_new_navigation):
25159 Make GstEvent use GstStructure. Add parsing code, make sure the
25160 API is sufficiently generic.
25161 Mark possible directions of events and serialization.
25163 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize),
25164 (_gst_message_copy), (gst_message_new_segment_start),
25165 (gst_message_new_segment_done), (gst_message_new_custom),
25166 (gst_message_parse_segment_start),
25167 (gst_message_parse_segment_done):
25170 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25171 (gst_pad_set_caps), (gst_pad_send_event):
25172 Update for new events.
25173 Catch events sent in wrong directions.
25175 * gst/gstqueue.c: (gst_queue_link_src),
25176 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
25177 (gst_queue_handle_src_query):
25182 Remove event code from this file.
25184 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
25185 (gst_dp_event_from_packet):
25188 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25190 * gst/base/gstbasetransform.c: (gst_base_transform_getcaps),
25191 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25192 (gst_base_transform_get_size), (gst_base_transform_handle_buffer):
25193 Make debugging actually useful.
25195 2005-07-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25197 * gst/gstpad.c: (fixate_value), (gst_pad_default_fixate),
25198 (gst_pad_fixate_caps):
25199 Implement default fixation once again, so that gst_pad_fixate()
25200 actually does anything at all. This probably needs to be some
25201 sort of a last resort, and use profile-based fixation first, but
25202 since that doesn't exist yet, this is the best we have. Fixes
25203 visualization in Totem.
25205 2005-07-22 Wim Taymans <wim@fluendo.com>
25207 * docs/design/part-events.txt:
25210 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25211 (gst_base_sink_do_sync), (gst_base_sink_activate_push),
25212 (gst_base_sink_activate_pull):
25213 Some more comments.
25215 * gst/elements/gstfakesrc.c: (gst_fake_src_class_init),
25216 (gst_fake_src_create):
25217 Fix handoff marshall.
25219 * gst/elements/gstidentity.c: (gst_identity_class_init),
25220 (gst_identity_transform_ip):
25221 We're a real inplace element.
25223 * gst/gstbus.c: (gst_bus_post):
25224 Added some comments.
25226 * tests/lat.c: (fakesrc), (fakesink), (simple), (queue), (main):
25227 * tests/muxing/case1.c: (main):
25228 * tests/sched/dynamic-pipeline.c: (main):
25229 * tests/sched/interrupt1.c: (main):
25230 * tests/sched/interrupt2.c: (main):
25231 * tests/sched/interrupt3.c: (main):
25232 * tests/sched/runxml.c: (main):
25233 * tests/sched/sched-stress.c: (main):
25234 * tests/seeking/seeking1.c: (event_received), (main):
25235 * tests/threadstate/threadstate2.c: (bus_handler), (timeout_func),
25237 * tests/threadstate/threadstate3.c: (main):
25238 * tests/threadstate/threadstate4.c: (main):
25239 * tests/threadstate/threadstate5.c: (main):
25242 2005-07-21 Wim Taymans <wim@fluendo.com>
25244 * docs/design/part-seeking.txt:
25245 Some small additions.
25247 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25248 (gst_base_sink_get_times), (gst_base_sink_do_sync),
25249 (gst_base_sink_activate_push), (gst_base_sink_activate_pull):
25250 * gst/base/gstbasesink.h:
25251 discont values are gint64, handle the math correctly.
25253 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25254 Make the basesrc report error if the source pad is not linked.
25256 * gst/gstqueue.c: (gst_queue_link_src), (gst_queue_chain),
25257 (gst_queue_loop), (gst_queue_handle_src_query),
25258 (gst_queue_src_activate_push):
25259 Make queue collect data even if the srcpad is not linked.
25260 Start pushing out data as soon as it is linked.
25262 * gst/gstutils.c: (gst_element_unlink), (gst_flow_get_name):
25264 Added gst_flow_get_name() to ease error reporting.
25266 2005-07-20 Wim Taymans <wim@fluendo.com>
25268 * gst/gstmessage.c: (gst_message_new_segment_start),
25269 (gst_message_new_segment_done), (gst_message_parse_segment_start),
25270 (gst_message_parse_segment_done):
25271 * gst/gstmessage.h:
25272 Added a bunch of messages for advanced seeking.
25274 * gst/parse/grammar.y:
25275 * libs/gst/control/dparammanager.c: (gst_dpman_set_parent),
25276 (gst_dpman_state_changed):
25277 Fix some new-pad -> pad-added signals
25279 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25281 * docs/manual/appendix-porting.xml:
25282 * docs/pwg/appendix-porting.xml:
25283 Document new-pad/state-change signal renames and the FixedList
25286 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25288 * docs/manual/advanced-autoplugging.xml:
25289 * docs/manual/basics-helloworld.xml:
25290 * docs/manual/basics-pads.xml:
25291 * docs/random/ds/0.9-suggested-changes:
25292 * gst/gstelement.c: (gst_element_class_init), (gst_element_seek):
25293 * gst/gstelement.h:
25297 * gst/gststructure.c: (gst_structure_value_get_generic_type),
25298 (gst_structure_parse_array), (gst_structure_parse_value):
25299 * gst/gstvalue.c: (gst_type_is_fixed),
25300 (gst_value_list_prepend_value), (gst_value_list_append_value),
25301 (gst_value_list_get_size), (gst_value_list_get_value),
25302 (gst_value_transform_array_string), (gst_value_serialize_array),
25303 (gst_value_deserialize_array), (gst_value_intersect_array),
25304 (gst_value_is_fixed), (_gst_value_initialize):
25306 GstElement::new-pad -> pad-added, GstElement::state-change ->
25307 state-changed, GstValueFixedList -> GstValueArray, add format and
25308 flags as their own arguments in gst_element_seek() (should improve
25309 "bindeability"), remove function generators since they don't work
25310 under a whole bunch of compilers (they were deprecated already
25313 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25315 * gst/gstinfo.c: (_gst_debug_nameof_funcptr),
25316 (_gst_debug_register_funcptr):
25318 Fix illegal cast on some platforms (#309253).
25320 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25322 * gst/gstmessage.c: (gst_message_new_custom):
25323 * gst/gstmessage.h:
25324 Add _new_custom, make _new_application a macro to _new_custom.
25326 2005-07-20 Wim Taymans <wim@fluendo.com>
25328 * gst/base/gstbasesrc.c: (gst_base_src_init),
25329 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start):
25330 * gst/base/gstbasesrc.h:
25331 Add a gboolean to decide when to push out a discont.
25333 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
25334 (gst_queue_loop), (gst_queue_handle_src_query),
25335 (gst_queue_sink_activate_push), (gst_queue_src_activate_push),
25336 (gst_queue_set_property), (gst_queue_get_property):
25339 * tests/threadstate/threadstate1.c: (main):
25340 Make a thread test compile and run... very silly..
25343 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25345 * docs/manual/appendix-porting.xml:
25346 Mention removal of libgstgconf-0.9.la and existence of gconf
25349 2005-07-20 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25351 * docs/pwg/advanced-clock.xml:
25352 * docs/pwg/appendix-porting.xml:
25353 * docs/pwg/intro-preface.xml:
25354 * docs/pwg/other-base.xml:
25355 * docs/pwg/other-manager.xml:
25356 * docs/pwg/other-nton.xml:
25357 * docs/pwg/other-ntoone.xml:
25358 * docs/pwg/other-oneton.xml:
25359 * docs/pwg/pwg.xml:
25360 Document base classes, update sections of n-to-1 and 1-to-n (muxer,
25361 demuxer), remove n-to-n (was never written), fix some code examples
25362 and links and update the porting section to include all this.
25364 2005-07-19 Wim Taymans <wim@fluendo.com>
25366 * gst/gstqueue.c: (gst_queue_init), (gst_queue_handle_sink_event),
25367 (gst_queue_chain), (gst_queue_loop), (gst_queue_handle_src_event),
25368 (gst_queue_handle_src_query), (gst_queue_sink_activate_push),
25369 (gst_queue_src_activate_push), (gst_queue_change_state),
25370 (gst_queue_get_property):
25372 Propagate GstFlowReturn more intelligently upstream and output
25373 an ERROR/EOS when streaming stopped due to fatal error.
25375 2005-07-19 Wim Taymans <wim@fluendo.com>
25377 * tools/gst-launch.c: (check_intr), (event_loop), (main):
25378 Don't block forever for the state change to complete, the
25379 pipeline already did with a sensible timeout.
25381 2005-07-19 Wim Taymans <wim@fluendo.com>
25383 * gst/base/gstbasesrc.c: (gst_base_src_get_range):
25384 Make sure we never call the create function is we
25387 2005-07-19 Andy Wingo <wingo@pobox.com>
25389 * gst/parse/parse.l: Attempt to solve bug #172815.
25391 2005-07-19 Wim Taymans <wim@fluendo.com>
25393 * docs/design/part-clocks.txt:
25394 * docs/design/part-events.txt:
25395 * gst/base/gstbasesrc.c: (gst_base_src_do_seek):
25396 Small docs updates.
25397 Only update the seeking values when we are not
25400 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25402 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25403 Oops, ignore the result of gst_pad_push_event here.
25405 2005-07-19 Jan Schmidt <thaytan@mad.scientist.com>
25407 * gst/base/gstbasesrc.c: (gst_base_src_loop),
25408 (gst_base_src_activate_push):
25409 Send discont event from the loop function, as pads
25410 aren't activated yet in the activate_push handler.
25412 * gst/gstbin.c: (bin_bus_handler):
25413 Don't leak element name.
25415 2005-07-18 Andy Wingo <wingo@pobox.com>
25417 * configure.ac: Use AS_LIBTOOL_TAGS.
25419 2005-07-18 Wim Taymans <wim@fluendo.com>
25421 * docs/gst/gstreamer.types:
25422 Remove deleted types.
25424 2005-07-18 Wim Taymans <wim@fluendo.com>
25426 * check/elements/gstfakesrc.c: (GST_START_TEST):
25429 * gst/gst.c: (gst_init_get_popt_table), (init_pre), (init_post),
25430 (init_popt_callback):
25432 * gst/gst_private.h:
25433 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_add_func),
25434 (gst_bin_remove_func), (gst_bin_get_state), (gst_bin_change_state):
25437 * gst/gstconfig.h.in:
25438 * gst/gstelement.c: (gst_element_class_init),
25439 (gst_element_set_base_time), (gst_element_get_base_time),
25440 (iterator_fold_with_resync), (gst_element_change_state),
25441 (gst_element_dispose), (gst_element_get_bus):
25442 * gst/gstelement.h:
25443 * gst/gstelementfactory.h:
25444 * gst/gsterror.c: (_gst_core_errors_init):
25447 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25449 * gst/gstinfo.c: (_gst_debug_init):
25450 * gst/gstmessage.c: (_gst_message_copy):
25451 * gst/gstmessage.h:
25452 * gst/gstminiobject.h:
25455 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25456 (gst_pad_set_caps), (gst_pad_start_task), (gst_pad_stop_task):
25459 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
25460 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25461 (gst_pipeline_get_last_stream_time):
25462 * gst/gstpipeline.h:
25463 * gst/gstpluginfeature.h:
25465 * gst/gstscheduler.c:
25466 * gst/gstscheduler.h:
25467 * gst/gststructure.h:
25468 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
25469 (gst_task_finalize), (gst_task_func), (gst_task_create),
25470 (gst_task_set_lock), (gst_task_get_state), (gst_task_start),
25471 (gst_task_stop), (gst_task_pause):
25473 * gst/gsttypefind.h:
25475 * gst/registries/gstlibxmlregistry.c: (load_feature),
25476 (gst_xml_registry_load), (gst_xml_registry_save_feature):
25477 * gst/registries/gstxmlregistry.c:
25478 (gst_xml_registry_start_element), (gst_xml_registry_save_feature):
25479 * gst/schedulers/threadscheduler.c:
25480 * libs/gst/control/dparammanager.h:
25481 * tools/gst-inspect.c: (print_element_list),
25482 (print_plugin_features), (print_element_features):
25483 * tools/gst-xmlinspect.c: (print_element_list),
25484 (print_plugin_info), (main):
25485 Removed plugable schedulers.
25486 Removed Scheduler/Manager from elements.
25487 Removed gsttypes.h, rearranged includes.
25488 Removed dependency pad<->element, element<>pipeline, and
25489 various others, fix includes.
25490 implement gst_pad_get_parent() with gst_object_get_parent()
25491 Make GstTask sefcontained.
25492 Fix _get_state() on GstBin, it did not return ASYNC with a 0
25494 Fix endless loop in iterator_fold_with_resync.
25497 2005-07-18 Wim Taymans <wim@fluendo.com>
25503 2005-07-18 Wim Taymans <wim@fluendo.com>
25506 No more cothreads.h
25508 2005-07-18 Wim Taymans <wim@fluendo.com>
25512 Let's remove these.
25514 2005-07-18 Wim Taymans <wim@fluendo.com>
25516 * docs/design/part-dynamic.txt:
25517 * docs/design/part-events.txt:
25518 * docs/design/part-seeking.txt:
25519 Some more docs in the works.
25521 * gst/base/gstbasetransform.c: (gst_base_transform_transform_caps),
25522 (gst_base_transform_getcaps), (gst_base_transform_configure_caps),
25523 (gst_base_transform_setcaps), (gst_base_transform_get_size),
25524 (gst_base_transform_buffer_alloc), (gst_base_transform_event),
25525 (gst_base_transform_handle_buffer),
25526 (gst_base_transform_sink_activate_push),
25527 (gst_base_transform_src_activate_pull),
25528 (gst_base_transform_set_passthrough),
25529 (gst_base_transform_is_passthrough):
25532 * gst/gstbus.c: (gst_bus_source_dispatch), (gst_bus_poll):
25535 * gst/gstevent.c: (gst_event_finalize):
25538 * gst/gstutils.c: (gst_element_unlink),
25539 (gst_pad_get_parent_element), (gst_pad_proxy_getcaps),
25540 (gst_pad_proxy_setcaps):
25542 Add _get_parent_element() to get a pads parent as an element.
25544 2005-07-18 Wim Taymans <wim@fluendo.com>
25546 * check/gst/gstbin.c: (GST_START_TEST):
25549 2005-07-18 Wim Taymans <wim@fluendo.com>
25551 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
25552 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
25553 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
25554 (gst_base_sink_event), (gst_base_sink_do_sync),
25555 (gst_base_sink_chain), (gst_base_sink_loop),
25556 (gst_base_sink_deactivate), (gst_base_sink_activate_push),
25557 (gst_base_sink_activate_pull), (gst_base_sink_change_state):
25559 Fix logic for returning ASYNC when not prerolled.
25561 2005-07-18 Wim Taymans <wim@fluendo.com>
25563 * gst/gstqueue.c: (gst_queue_handle_sink_event):
25564 Fix nasty refcount bug.
25566 2005-07-16 Philippe Khalaf <burger@speedy.org>
25568 * gst/elements/gstfdsrc.c:
25569 * gst/elements/gstfdsrc.h:
25570 * gst/elements/gstelements.c:
25571 * gst/elements/Makefile.am:
25572 Ported fdsrc to 0.9.
25574 2005-07-16 Wim Taymans <wim@fluendo.com>
25576 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25577 (gst_base_sink_do_sync):
25580 2005-07-16 Wim Taymans <wim@fluendo.com>
25582 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
25583 (gst_base_sink_event), (gst_base_sink_get_times),
25584 (gst_base_sink_do_sync), (gst_base_sink_change_state):
25585 * gst/base/gstbasesink.h:
25586 Store and use discont values when syncing buffers as described
25589 * gst/base/gstbasesrc.c: (gst_base_src_send_discont),
25590 (gst_base_src_do_seek), (gst_base_src_loop), (gst_base_src_start),
25591 (gst_base_src_activate_push):
25592 Push discont event when starting.
25594 * gst/elements/gstidentity.c: (gst_identity_transform):
25597 * gst/gstbin.c: (gst_bin_change_state):
25598 Small cleanups in base_time distribution.
25600 * gst/gstelement.c: (gst_element_set_base_time),
25601 (gst_element_get_base_time), (gst_element_change_state):
25602 * gst/gstelement.h:
25603 Added methods for the base_time of the element.
25606 * gst/gstpipeline.c: (gst_pipeline_send_event),
25607 (gst_pipeline_change_state), (gst_pipeline_set_new_stream_time),
25608 (gst_pipeline_get_last_stream_time):
25609 * gst/gstpipeline.h:
25611 Handle seeking as described in design doc, remove stream_time
25613 Cleanups clock and stream_time selection code. Added accessors
25614 for the stream_time.
25617 2005-07-16 Andy Wingo <wingo@pobox.com>
25619 * gst/gsterror.c (_gst_core_errors_init): Use the magic word
25622 2005-07-16 Wim Taymans <wim@fluendo.com>
25624 * check/gst/gstbin.c: (GST_START_TEST):
25625 Make elements silent as the deep_notify refs the
25626 parent, which might make the test fail.
25628 * gst/gstghostpad.c: (gst_ghost_pad_do_activate_push):
25629 Don't hold the lock for too long.
25631 2005-07-16 Tim-Philipp Müller <tim at centricular dot net>
25633 * gst/base/gstbasesrc.c: (gst_base_src_default_negotiate):
25634 Don't unref the caps we passed to gst_caps_make_writable() after
25635 passing them. gst_caps_make_writable() will do that for us.
25637 2005-07-15 Andy Wingo <wingo@pobox.com>
25639 * gst/gstcaps.h (gst_caps_is_simple): Removed deprecated macro
25642 * gst/elements/gstidentity.c (marshal_VOID__MINIOBJECT): Write our
25643 own marshalling function for the handoff signal. Properly type the
25644 buffer as a buffer. Fixes some warnings. Should do a more general
25646 (gst_identity_class_init): Plug into the right marshaller.
25648 2005-07-15 Wim Taymans <wim@fluendo.com>
25650 * docs/design/part-TODO.txt:
25651 * docs/design/part-clocks.txt:
25652 * docs/design/part-element-sink.txt:
25653 * docs/design/part-events.txt:
25654 * docs/design/part-gstpipeline.txt:
25655 Updated docs, mostly DISCONT related.
25657 2005-07-15 Tim-Philipp Müller <tim at centricular dot net>
25659 * docs/pwg/building-pads.xml:
25660 s/GST_PAD_LINK_REFUSED/FALSE/ in gst_my_filter_setcaps()
25662 2005-07-15 Andy Wingo <wingo@pobox.com>
25664 * tools/gst-typefind.c: Update, add copyright block.
25666 * gst/base/gstbasesrc.c (gst_base_src_default_negotiate):
25667 Normalize and truncate caps before fixation.
25670 * gst/gstcaps.c (gst_caps_truncate): New function, destructively
25671 discards all but the first structure from its argument.
25673 2005-07-15 Wim Taymans <wim@fluendo.com>
25675 * gst/base/gstbasetransform.c: (gst_base_transform_init),
25676 (gst_base_transform_transform_caps), (gst_base_transform_getcaps),
25677 (gst_base_transform_configure_caps), (gst_base_transform_setcaps),
25678 (gst_base_transform_get_size), (gst_base_transform_buffer_alloc),
25679 (gst_base_transform_handle_buffer), (gst_base_transform_getrange),
25680 (gst_base_transform_chain), (gst_base_transform_change_state),
25681 (gst_base_transform_set_passthrough),
25682 (gst_base_transform_is_passthrough):
25683 * gst/base/gstbasetransform.h:
25684 Make passthrough work using the bufferpools.
25685 Changed API a bit, subclasses have to write into a buffer
25686 provided by the base class.
25687 More debug info in nego functions.
25689 * gst/elements/gstidentity.c: (gst_identity_init),
25690 (gst_identity_transform):
25691 Port to new base class.
25693 2005-07-15 Wim Taymans <wim@fluendo.com>
25695 * gst/gstmessage.c: (gst_message_new_state_changed):
25696 * tools/gst-launch.c: (event_loop), (main):
25697 Totally dump messages in -launch with the -m option.
25698 Fix message name for State messages,
25700 2005-07-14 Wim Taymans <wim@fluendo.com>
25702 * gst/base/gstbasesrc.c: (gst_base_src_loop):
25703 Post error messages on errors.
25705 2005-07-14 Wim Taymans <wim@fluendo.com>
25707 * gst/gstcaps.c: (gst_caps_do_simplify):
25711 Define error for stream stopped.
25713 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
25714 (gst_proxy_pad_do_chain), (gst_proxy_pad_do_getrange):
25715 Do proper return values.
25717 * gst/gstpad.c: (gst_pad_get_caps_unlocked), (gst_pad_accept_caps),
25718 (gst_pad_set_caps), (gst_pad_chain), (gst_pad_push),
25719 (gst_pad_get_range):
25720 Better return values.
25723 Reorganise return values, add macro to check for fatal errors.
25725 * gst/gstqueue.c: (gst_queue_chain):
25726 Return proper GstFlowReturn values,
25728 2005-07-14 Thomas Vander Stichele <thomas at apestaart dot org>
25730 * docs/gst/gstreamer-sections.txt:
25731 * docs/gst/gstreamer.types:
25732 * docs/gst/tmpl/gst.sgml:
25733 * docs/gst/tmpl/gstbasesink.sgml:
25734 * docs/gst/tmpl/gstbasesrc.sgml:
25735 * docs/gst/tmpl/gstbasetransform.sgml:
25736 * docs/gst/tmpl/gstbin.sgml:
25737 * docs/gst/tmpl/gstbuffer.sgml:
25738 * docs/gst/tmpl/gstcaps.sgml:
25739 * docs/gst/tmpl/gstclock.sgml:
25740 * docs/gst/tmpl/gstcompat.sgml:
25741 * docs/gst/tmpl/gstconfig.sgml:
25742 * docs/gst/tmpl/gstelement.sgml:
25743 * docs/gst/tmpl/gstelementdetails.sgml:
25744 * docs/gst/tmpl/gstelementfactory.sgml:
25745 * docs/gst/tmpl/gstenumtypes.sgml:
25746 * docs/gst/tmpl/gsterror.sgml:
25747 * docs/gst/tmpl/gstevent.sgml:
25748 * docs/gst/tmpl/gstfakesink.sgml:
25749 * docs/gst/tmpl/gstfakesrc.sgml:
25750 * docs/gst/tmpl/gstfilesink.sgml:
25751 * docs/gst/tmpl/gstfilesrc.sgml:
25752 * docs/gst/tmpl/gstfilter.sgml:
25753 * docs/gst/tmpl/gstformat.sgml:
25754 * docs/gst/tmpl/gstghostpad.sgml:
25755 * docs/gst/tmpl/gstimplementsinterface.sgml:
25756 * docs/gst/tmpl/gstindex.sgml:
25757 * docs/gst/tmpl/gstindexfactory.sgml:
25758 * docs/gst/tmpl/gstinfo.sgml:
25759 * docs/gst/tmpl/gstiterator.sgml:
25760 * docs/gst/tmpl/gstmacros.sgml:
25761 * docs/gst/tmpl/gstmemchunk.sgml:
25762 * docs/gst/tmpl/gstminiobject.sgml:
25763 * docs/gst/tmpl/gstobject.sgml:
25764 * docs/gst/tmpl/gstpad.sgml:
25765 * docs/gst/tmpl/gstpadtemplate.sgml:
25766 * docs/gst/tmpl/gstparse.sgml:
25767 * docs/gst/tmpl/gstpipeline.sgml:
25768 * docs/gst/tmpl/gstplugin.sgml:
25769 * docs/gst/tmpl/gstpluginfeature.sgml:
25770 * docs/gst/tmpl/gstquery.sgml:
25771 * docs/gst/tmpl/gstqueue.sgml:
25772 * docs/gst/tmpl/gstregistry.sgml:
25773 * docs/gst/tmpl/gstregistrypool.sgml:
25774 * docs/gst/tmpl/gstscheduler.sgml:
25775 * docs/gst/tmpl/gstschedulerfactory.sgml:
25776 * docs/gst/tmpl/gststructure.sgml:
25777 * docs/gst/tmpl/gstsystemclock.sgml:
25778 * docs/gst/tmpl/gsttaglist.sgml:
25779 * docs/gst/tmpl/gsttagsetter.sgml:
25780 * docs/gst/tmpl/gsttrace.sgml:
25781 * docs/gst/tmpl/gsttrashstack.sgml:
25782 * docs/gst/tmpl/gsttypefind.sgml:
25783 * docs/gst/tmpl/gsttypefindfactory.sgml:
25784 * docs/gst/tmpl/gsttypes.sgml:
25785 * docs/gst/tmpl/gsturihandler.sgml:
25786 * docs/gst/tmpl/gsturitype.sgml:
25787 * docs/gst/tmpl/gstutils.sgml:
25788 * docs/gst/tmpl/gstvalue.sgml:
25789 * docs/gst/tmpl/gstversion.sgml:
25790 * docs/gst/tmpl/gstxml.sgml:
25791 * docs/libs/tmpl/gstcontrol.sgml:
25792 * docs/libs/tmpl/gstdataprotocol.sgml:
25793 * docs/libs/tmpl/gstdparam.sgml:
25794 * docs/libs/tmpl/gstdplinint.sgml:
25795 * docs/libs/tmpl/gstdpman.sgml:
25796 * docs/libs/tmpl/gstdpsmooth.sgml:
25797 * docs/libs/tmpl/gstgetbits.sgml:
25798 * docs/libs/tmpl/gstunitconvert.sgml:
25799 * gst/base/gstpushsrc.c: (gst_push_src_get_type),
25800 (gst_push_src_base_init), (gst_push_src_class_init),
25801 (gst_push_src_init), (gst_push_src_create):
25802 * gst/base/gstpushsrc.h:
25803 * gst/elements/gstelements.c:
25804 * gst/elements/gstfakesink.c: (gst_fake_sink_state_error_get_type),
25805 (gst_fake_sink_base_init), (gst_fake_sink_class_init),
25806 (gst_fake_sink_init), (gst_fake_sink_set_property),
25807 (gst_fake_sink_get_property), (gst_fake_sink_get_times),
25808 (gst_fake_sink_event), (gst_fake_sink_preroll),
25809 (gst_fake_sink_render), (gst_fake_sink_change_state):
25810 * gst/elements/gstfakesink.h:
25811 * gst/elements/gstfakesrc.c: (gst_fake_src_data_get_type),
25812 (gst_fake_src_sizetype_get_type), (gst_fake_src_filltype_get_type),
25813 (gst_fake_src_base_init), (gst_fake_src_class_init),
25814 (gst_fake_src_init), (gst_fake_src_event_handler),
25815 (gst_fake_src_alloc_parent), (gst_fake_src_set_property),
25816 (gst_fake_src_get_property), (gst_fake_src_prepare_buffer),
25817 (gst_fake_src_alloc_buffer), (gst_fake_src_get_size),
25818 (gst_fake_src_create_buffer), (gst_fake_src_create),
25819 (gst_fake_src_start), (gst_fake_src_stop):
25820 * gst/elements/gstfakesrc.h:
25821 * gst/elements/gstfilesink.c: (_do_init),
25822 (gst_file_sink_base_init), (gst_file_sink_class_init),
25823 (gst_file_sink_init), (gst_file_sink_dispose),
25824 (gst_file_sink_set_location), (gst_file_sink_set_property),
25825 (gst_file_sink_get_property), (gst_file_sink_open_file),
25826 (gst_file_sink_close_file), (gst_file_sink_query),
25827 (gst_file_sink_event), (gst_file_sink_render),
25828 (gst_file_sink_change_state), (gst_file_sink_uri_get_type),
25829 (gst_file_sink_uri_get_protocols), (gst_file_sink_uri_get_uri),
25830 (gst_file_sink_uri_set_uri), (gst_file_sink_uri_handler_init):
25831 * gst/elements/gstfilesink.h:
25832 * gst/elements/gstfilesrc.c: (_do_init), (gst_file_src_base_init),
25833 (gst_file_src_class_init), (gst_file_src_init),
25834 (gst_file_src_finalize), (gst_file_src_set_location),
25835 (gst_file_src_set_property), (gst_file_src_get_property),
25836 (gst_file_src_map_region), (gst_file_src_map_small_region),
25837 (gst_file_src_create_mmap), (gst_file_src_create_read),
25838 (gst_file_src_create), (gst_file_src_is_seekable),
25839 (gst_file_src_get_size), (gst_file_src_start), (gst_file_src_stop),
25840 (gst_file_src_uri_get_type), (gst_file_src_uri_get_protocols),
25841 (gst_file_src_uri_get_uri), (gst_file_src_uri_set_uri),
25842 (gst_file_src_uri_handler_init):
25843 * gst/elements/gstfilesrc.h:
25844 more autistic cleanliness in functions/names/defines
25846 2005-07-13 Andy Wingo <wingo@pobox.com>
25848 * gst/base/gstbasesrc.c (gst_base_src_start): Post an error if the
25849 source couldn't negotiate.
25851 * gst/parse/grammar.y: Revert 1.54->1.55, so we now do filtered
25855 * gst/gstutils.c (gst_element_link_pads_filtered): New old
25856 function. I am channeling Hades. Put your boots on suckers!!!
25858 2005-07-13 Thomas Vander Stichele <thomas at apestaart dot org>
25860 * testsuite/caps/Makefile.am:
25861 * testsuite/caps/value_compare.c:
25862 * testsuite/caps/value_intersect.c:
25863 * check/gst/gstvalue.c: (GST_START_TEST), (gst_value_suite):
25864 move two testsuite apps over to the check dir
25866 2005-07-12 Wim Taymans <wim@fluendo.com>
25868 * gst/base/gstbasetransform.c: (gst_base_transform_setcaps):
25869 Added more debug info in the negotiate process.
25871 * gst/gstmessage.h:
25872 Prepare for segment playback.
25874 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps):
25880 * tools/gst-launch.c: (main):
25881 NULL pipeline on errors.
25883 2005-07-12 Andy Wingo <wingo@pobox.com>
25885 * gst/gstbuffer.c (_gst_buffer_copy): Copy the buffer whether or
25886 not it comes from a malloc region. Make sure our copy gets freed.
25888 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25890 * check/gst/gstelement.c: (GST_START_TEST), (gst_element_suite):
25891 * check/gst/gstmessage.c: (GST_START_TEST):
25892 * check/gst/gststructure.c: (GST_START_TEST),
25893 (gst_structure_suite), (main):
25895 * gst/gstelement.c: (gst_element_message_full):
25896 clean up GError and debug string now that they get copied
25897 * gst/gstmessage.c: (gst_message_new_error),
25898 (gst_message_new_warning), (gst_message_parse_error),
25899 (gst_message_parse_warning):
25900 use GST_TYPE_G_ERROR for structure_new, and take copies of
25901 arguments, so that we don't mess up refcounting
25903 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25905 * check/Makefile.am:
25906 add per-test valgrind targets
25907 * check/gst-libs/gdp.c: (GST_START_TEST),
25908 (gst_data_protocol_suite), (main):
25911 2005-07-12 Thomas Vander Stichele <thomas at apestaart dot org>
25913 * check/Makefile.am:
25914 instate more valgrindable tests
25915 * check/elements/gstfakesrc.c: (chain_func), (event_func),
25916 (GST_START_TEST), (fakesrc_suite):
25917 * check/gst/gstpad.c: (GST_START_TEST):
25918 * check/gst/gststructure.c: (GST_START_TEST):
25920 * docs/gst/tmpl/gstminiobject.sgml:
25921 * gst/gstpad.c: (gst_pad_finalize):
25922 fix the static mutex leak
25924 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25926 * check/Makefile.am:
25927 add two more tests for valgrinding
25928 * check/gst/gstvalue.c: (GST_START_TEST):
25929 test refcount of deserialized buffer, found a leak
25930 * docs/gst/gstreamer-docs.sgml:
25931 * docs/gst/gstreamer-sections.txt:
25932 * docs/gst/gstreamer.types:
25933 * docs/gst/tmpl/gstminiobject.sgml:
25934 add miniobject to docs
25935 * gst/gstminiobject.c:
25937 * gst/gstvalue.c: (gst_value_deserialize_buffer),
25938 (gst_string_unwrap):
25939 fix a hard-to-find invalid write for one of the tests
25940 fix a leak for deserialized buffers
25942 2005-07-11 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
25944 * docs/pwg/advanced-events.xml:
25945 * docs/pwg/advanced-request.xml:
25946 * docs/pwg/advanced-scheduling.xml:
25947 * docs/pwg/appendix-porting.xml:
25948 * docs/pwg/building-boiler.xml:
25949 * docs/pwg/intro-preface.xml:
25950 * docs/pwg/other-ntoone.xml:
25951 Rewrite scheduling-chapter for scheduling model in 0.9. Add lots
25952 of example code and explanation for pad activation, loop() and
25953 getrange() functions and a bit more. Remove old comments pointing
25955 * examples/pwg/Makefile.am:
25956 Add loop/getrange examples.
25958 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25961 check for valgrind binary + some fixes
25963 valgrind suppressions for the tests
25964 * check/Makefile.am:
25965 add a valgrind: target that valgrinds the unit tests
25966 * check/gst/gst.c: (GST_START_TEST), (gst_suite):
25967 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST):
25968 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
25969 * check/gst/gstghostpad.c:
25971 * check/gst/gstdata.c:
25973 * check/gst/gstminiobject.c: (GST_START_TEST), (thread_ref),
25974 (thread_unref), (gst_mini_object_suite), (main):
25976 * gst/gst.c: (gst_deinit):
25978 add a method to clean up.
25979 * gst/gstsystemclock.c: (gst_system_clock_dispose),
25980 (gst_system_clock_obtain):
25981 allow for disposing the system clock.
25982 * tools/gst-launch.c: (main):
25985 2005-07-11 Thomas Vander Stichele <thomas at apestaart dot org>
25987 * docs/gst/tmpl/gstbasesrc.sgml:
25988 * docs/gst/tmpl/gstfakesrc.sgml:
25989 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
25990 (gst_base_src_init), (gst_base_src_set_property),
25991 (gst_base_src_get_property), (gst_base_src_get_range),
25992 (gst_base_src_start):
25993 * gst/base/gstbasesrc.h:
25994 add num-buffers property
25995 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
25996 (gst_fakesrc_init), (gst_fakesrc_set_property),
25997 (gst_fakesrc_get_property), (gst_fakesrc_create),
25998 (gst_fakesrc_start):
25999 remove num-buffers property
26001 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26003 * docs/gst/gstreamer-sections.txt:
26004 * docs/gst/tmpl/gstbasesink.sgml:
26005 * docs/gst/tmpl/gstbasesrc.sgml:
26006 * gst/base/gstbasesink.c: (gst_base_sink_pad_getcaps),
26007 (gst_base_sink_pad_setcaps), (gst_base_sink_pad_buffer_alloc),
26008 (gst_base_sink_finalize), (gst_base_sink_set_clock),
26009 (gst_base_sink_set_property), (gst_base_sink_get_property),
26010 (gst_base_sink_handle_object), (gst_base_sink_event),
26011 (gst_base_sink_do_sync), (gst_base_sink_handle_event),
26012 (gst_base_sink_handle_buffer), (gst_base_sink_chain),
26013 (gst_base_sink_loop), (gst_base_sink_deactivate),
26014 (gst_base_sink_activate_push), (gst_base_sink_activate_pull),
26015 (gst_base_sink_change_state):
26016 * gst/base/gstbasesink.h:
26017 * gst/base/gstbasesrc.h:
26018 * gst/elements/gstfakesink.c: (gst_fakesink_get_times):
26019 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
26020 (gst_filesink_init):
26021 more macro splitting
26023 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26025 * gst/gstelement.c: (gst_element_get_bus):
26027 * tools/gst-launch.c: (check_intr), (event_loop):
26030 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26032 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked):
26035 2005-07-10 Thomas Vander Stichele <thomas at apestaart dot org>
26037 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26038 (gst_base_src_finalize):
26039 add finalize method and clean up properly
26040 * gst/gstpipeline.c: (gst_pipeline_dispose):
26043 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26045 * check/gst/gstbin.c: (pop_messages), (GST_START_TEST),
26047 add more things to check
26048 * gst/gstbin.c: (gst_bin_change_state), (bin_bus_handler):
26049 * gst/gstelement.c:
26052 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26054 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26055 (GST_START_TEST), (fakesrc_suite):
26056 * check/gst-libs/gdp.c: (GST_START_TEST):
26057 * check/gst/gst.c: (GST_START_TEST):
26058 * check/gst/gstbin.c: (GST_START_TEST), (gst_bin_suite):
26059 * check/gst/gstbuffer.c: (GST_START_TEST), (gst_test_suite):
26060 * check/gst/gstbus.c: (GST_START_TEST):
26061 * check/gst/gstcaps.c: (GST_START_TEST):
26062 * check/gst/gstdata.c: (GST_START_TEST):
26063 * check/gst/gstelement.c: (GST_START_TEST):
26064 * check/gst/gstghostpad.c: (GST_START_TEST):
26065 * check/gst/gstiterator.c: (GST_START_TEST):
26066 * check/gst/gstmessage.c: (GST_START_TEST):
26067 * check/gst/gstobject.c: (GST_START_TEST):
26068 * check/gst/gstpad.c: (GST_START_TEST):
26069 * check/gst/gststructure.c: (GST_START_TEST):
26070 * check/gst/gstsystemclock.c: (GST_START_TEST),
26071 (gst_systemclock_suite):
26072 * check/gst/gsttag.c: (GST_START_TEST), (gst_tag_suite):
26073 * check/gst/gstvalue.c: (GST_START_TEST):
26074 * check/pipelines/cleanup.c: (GST_START_TEST):
26075 * check/pipelines/simple_launch_lines.c: (GST_START_TEST):
26076 * check/states/sinks.c: (GST_START_TEST):
26077 * check/gstcheck.c: (gst_check_init):
26078 * check/gstcheck.h:
26079 add debugging category
26080 use GST_START_TEST now, so we add a debug line
26082 2005-07-09 Thomas Vander Stichele <thomas at apestaart dot org>
26084 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite):
26085 add test for state change message on a bin
26086 * check/gst/gstelement.c: (START_TEST), (gst_element_suite):
26088 * gst/gstbin.c: (gst_bin_init):
26089 * gst/gstbus.c: (gst_bus_init), (gst_bus_post):
26090 * gst/gstelement.c: (gst_element_post_message),
26091 (gst_element_set_state):
26092 * gst/gstelementfactory.c: (gst_element_factory_create):
26093 * gst/gstmessage.c: (gst_message_new):
26094 * gst/gstscheduler.c:
26095 various debugging additions and cleanups
26097 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26099 * check/Makefile.am:
26100 * check/gst/gstelement.c: (START_TEST), (gst_element_suite),
26102 adding tests for elements
26103 * gst/gstelement.c: (gst_element_dispose):
26105 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26107 * gst/registries/gstlibxmlregistry.c: (load_feature):
26108 plug more leaks. A simple gst_init() now is leakfree, yay.
26110 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26112 * gst/registries/gstlibxmlregistry.c: (read_string), (load_paths),
26113 (gst_xml_registry_load):
26114 plug another memleak
26116 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26119 use GST_SET_ERROR_CFLAGS
26120 * docs/faq/cvs.xml:
26121 change to ERROR_CFLAGS
26123 2005-07-08 Thomas Vander Stichele <thomas at apestaart dot org>
26126 make GST_ERROR_CFLAGS overridable and re-enable Werror
26127 * docs/faq/cvs.xml:
26128 add a note about error CFLAGS
26129 * docs/gst/tmpl/gstfakesrc.sgml:
26130 * gst/elements/gstfakesrc.c:
26131 comment out some unused code
26132 * gst/gst.c: (split_and_iterate):
26133 * gst/registries/gstlibxmlregistry.c: (load_pad_template),
26137 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26139 * common/Makefile.am:
26140 * common/gtk-doc.mak:
26141 * docs/gst/Makefile.am:
26142 factor out gtk-doc.mak
26144 2005-07-07 Wim Taymans <wim@fluendo.com>
26146 * gst/schedulers/threadscheduler.c: (gst_thread_scheduler_func),
26147 (gst_thread_scheduler_dispose):
26148 Unlock the STREAM_LOCK completely.
26150 2005-07-07 Thomas Vander Stichele <thomas at apestaart dot org>
26152 * check/Makefile.am:
26153 * check/elements/.cvsignore:
26154 * check/elements/gstfakesrc.c: (chain_func), (event_func),
26155 (START_TEST), (fakesrc_suite), (main):
26156 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
26157 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
26158 (gst_fakesrc_create), (gst_fakesrc_start):
26159 * gst/elements/gstfakesrc.h:
26160 adding a first element test
26162 2005-07-07 Andy Wingo <wingo@pobox.com>
26164 * gst/gstbus.c (gst_bus_have_pending): Remove intensely irritating
26167 2005-07-07 Wim Taymans <wim@fluendo.com>
26173 2005-07-07 Wim Taymans <wim@fluendo.com>
26175 * gst/base/gstbasesrc.c: (gst_base_src_get_range),
26176 (gst_base_src_default_negotiate), (gst_base_src_negotiate):
26177 Allow subclasses to implement their own negotiation.
26179 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26181 * docs/design/part-gstbin.txt:
26182 * docs/design/part-gstpipeline.txt:
26183 Update design notes to reflect the movement of
26184 responsibility for bus handling from GstPipeline to
26187 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26190 Remove unnecessary queue2/3/4 examples.
26192 2005-07-07 Jan Schmidt <thaytan@mad.scientist.com>
26194 * examples/Makefile.am:
26195 * examples/helloworld/helloworld.c: (event_loop), (main):
26196 * examples/queue/queue.c: (event_loop), (main):
26197 * examples/queue2/queue2.c: (main):
26198 Update a couple of the examples to work again.
26200 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26201 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_event):
26202 Spelling corrections and extra debug.
26204 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_init), (is_eos),
26205 (gst_bin_add_func), (bin_element_is_sink), (gst_bin_get_state),
26206 (gst_bin_change_state), (gst_bin_dispose), (bin_bus_handler):
26208 * gst/gstpipeline.c: (gst_pipeline_init), (gst_pipeline_dispose),
26209 (gst_pipeline_change_state):
26210 * gst/gstpipeline.h:
26211 Move the bus handler for children to the GstBin, and create a
26212 separate bus for receiving messages from children to the one the
26213 bus sends 'upwards' on.
26215 2005-07-06 Wim Taymans <wim@fluendo.com>
26218 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26219 (gst_base_sink_handle_object), (gst_base_sink_loop),
26220 (gst_base_sink_change_state):
26221 * gst/base/gstbasesink.h:
26222 * gst/base/gstbasesrc.c: (gst_base_src_class_init),
26223 (gst_base_src_init), (gst_base_src_setcaps),
26224 (gst_base_src_getcaps), (gst_base_src_loop),
26225 (gst_base_src_default_negotiate), (gst_base_src_negotiate),
26226 (gst_base_src_start), (gst_base_src_change_state):
26227 * gst/base/gstbasesrc.h:
26228 Make basesrc negotiate.
26229 Handle the case where preroll fails in basesink.
26232 2005-07-06 Wim Taymans <wim@fluendo.com>
26234 * gst/gstpad.c: (gst_pad_fixate_caps), (gst_pad_accept_caps):
26235 Implement the fixate function.
26236 Clean up acceptcaps.
26238 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26240 * docs/pwg/building-filterfactory.xml:
26241 * docs/pwg/pwg.xml:
26242 Remove never-written filter-factory chapter; I'll add the various
26243 base classes to part 4 ("other element types") later on.
26245 2005-07-06 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26247 * docs/pwg/advanced-negotiation.xml:
26248 * docs/pwg/building-boiler.xml:
26249 * docs/pwg/building-pads.xml:
26250 * docs/pwg/pwg.xml:
26251 * examples/pwg/Makefile.am:
26252 Add a chapter on caps negotiation, simplify the original code
26253 samples a bit w.r.t. caps negotiation, add link to the advanced
26254 section. Add a bunch of examples showing different use cases of
26255 different types of caps negotiation. Upstream renegotiation isn't
26256 fully documented yet since nobody knows how that works.
26258 2005-07-06 Thomas Vander Stichele <thomas at apestaart dot org>
26260 * check/gst/gstpad.c:
26261 * check/gstcheck.c:
26262 * gst/gstpad.c: (gst_pad_get_internal_links_default):
26263 if pad has no parent, return NULL as list of internal links
26265 2005-07-05 Andy Wingo <wingo@pobox.com>
26267 * gst/elements/gstfilesrc.c:
26268 * gst/elements/gstfakesrc.c:
26269 * gst/base/gstpushsrc.c:
26270 * gst/base/gstbasesrc.h:
26271 * gst/base/gstbasesrc.c: s/BASESRC/BASE_SRC/g.
26273 2005-07-05 Stefan Kost <ensonic@users.sf.net>
26276 better report generation target (lcov needs a patch)
26278 2005-07-05 Andy Wingo <wingo@pobox.com>
26280 * gst/elements, testsuite: Null if we got it...
26282 2005-07-05 Wim Taymans <wim@fluendo.com>
26285 * libs/gst/dataprotocol/Makefile.am:
26286 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_validate_packet):
26287 * libs/gst/dataprotocol/dataprotocol.h:
26288 * pkgconfig/Makefile.am:
26289 * pkgconfig/gstreamer-dataprotocol-uninstalled.pc.in:
26290 * pkgconfig/gstreamer-dataprotocol.pc.in:
26291 Ported dataprotol to 0.9.
26292 Added pkgconfig files.
26294 2005-07-05 Andy Wingo <wingo@pobox.com>
26296 * gst/base/gstbasetransform.c (gst_base_transform_setcaps):
26297 Default to returning TRUE for the case when tranform_caps returns
26298 a fixed caps, like for identity or volume.
26300 * check/gst/gstbus.c (pound_bus_with_messages):
26301 * check/gst/gstmessage.c (START_TEST):
26302 * check/pipelines/simple_launch_lines.c (got_handoff): Application
26303 message API change.
26305 * gst/base/gstbasetransform.c (gst_base_transform_setcaps): More
26306 logic weaks here: always run transform_caps, trying passthrough
26307 operation only if the original caps intersects with the transform.
26309 * gst/gstpad.c (gst_pad_link_check_compatible_unlocked): Debug
26310 source and sink caps.
26312 * gst/base/gstbasetransform.c (gst_base_transform_getcaps):
26313 Intersect the peer caps with the pad template before going into
26315 (gst_base_transform_transform_caps): More debugging.
26317 * gst/gstmessage.h (gst_message_new_application): Take a GstObject
26320 2005-07-04 Edward Hervey <edward@fluendo.com>
26324 (gst_pad_add_*_probe): now returns the signal id for better wrapping
26327 2005-07-04 Andy Wingo <wingo@pobox.com>
26329 * check/gst/gstpad.c: Only set explicit caps on pads.
26331 2005-07-01 Andy Wingo <wingo@pobox.com>
26333 * tests/network-clock.scm: Commentary update.
26335 * gst/elements/gstidentity.c (PROP_DUPLICATE): Gone daddy gone.
26336 Didn't really make sense, not implementable with basetransform,
26338 (gst_identity_transform): Unref inbuf via make_writable. Feeble
26339 attempt at implementing the sync property, needs an unlock method.
26341 * gst/base/gstbasetransform.c (gst_base_transform_transform_caps):
26342 New func, by default returns the same caps (the identity
26344 (gst_base_transform_getcaps): Uses transform_caps to return
26345 something sensible.
26346 (gst_base_transform_setcaps): Complicated logic to get caps on
26347 both pads, even if they are different, and to call set_caps once
26348 for every time both pads get their caps set.
26349 (gst_base_transform_handle_buffer): Give the ref to the transform
26350 function. Allows in-place modification of the buffer.
26352 * gst/base/gstbasetransform.h (transform_caps): New class method.
26353 Given caps on one side, what can I do on the other.
26354 (set_caps): Take two caps, one for each side of the element.
26357 * gst/gstpad.c (gst_pad_fixate_caps): Change prototype to modify
26358 caps in place. This is safe because we can check the mutability of
26359 the caps, and a good idea because fixate functions are just called
26360 as a matter of last resort. (Not actually implemented.)
26361 (gst_pad_set_caps): If the caps we're setting is actually the same
26362 as the existing pad caps, just update the pointer without calling
26363 setcaps. Assert that caps is either NULL or fixed, as per the
26366 * gst/gstghostpad.c: Update for fixate changes.
26368 2005-07-02 Andy Wingo <wingo@pobox.com>
26371 * gst/gstcaps.h (gst_static_caps_get): Not const return, having
26372 two refcounts makes it immutable, which is enough. Doc more.
26374 2005-07-02 Jan Schmidt <thaytan@mad.scientist.com>
26376 * gst/gstpad.c: (gst_pad_emit_have_data_signal):
26377 Put the mini_object into GValue as a mini_object,
26378 not a gpointer, since that's how we declared
26381 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26383 * examples/pwg/Makefile.am:
26384 Fix buildbot again.
26386 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26388 * docs/pwg/building-testapp.xml:
26390 * examples/pwg/Makefile.am:
26393 2005-07-01 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26396 * examples/Makefile.am:
26397 * examples/pwg/Makefile.am:
26398 * examples/pwg/extract.pl:
26399 Enable building the PWG examples.
26400 * docs/pwg/advanced-interfaces.xml:
26401 Add URI interface stub.
26402 * docs/pwg/advanced-types.xml:
26403 * docs/pwg/other-autoplugger.xml:
26404 * docs/pwg/appendix-porting.xml:
26405 * docs/pwg/pwg.xml:
26406 Add porting guide (mostly stubs), remove autoplugging (see ADM).
26407 * docs/pwg/building-boiler.xml:
26408 * docs/pwg/building-chainfn.xml:
26409 * docs/pwg/building-pads.xml:
26410 * docs/pwg/building-props.xml:
26411 * docs/pwg/building-state.xml:
26412 * docs/pwg/building-testapp.xml:
26413 Update the building-*.xml parts for 0.9 changes. All examples
26414 code blocks compile in examples/pwg/*.
26416 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26418 * docs/manual/advanced-autoplugging.xml:
26419 * docs/manual/appendix-checklist.xml:
26420 * docs/manual/appendix-integration.xml:
26421 * docs/manual/highlevel-components.xml:
26422 Fix playbin/decodebin examples, update docs a bit, mention bus
26423 instead of signals in various places, mention kmplayer and
26424 kaffeine since they have a working GStreamer backend in the KDE
26427 2005-06-30 Wim Taymans <wim@fluendo.com>
26430 * docs/design/draft-ghostpads.txt:
26431 * docs/design/draft-push-pull.txt:
26432 * docs/design/draft-query.txt:
26433 * docs/design/part-TODO.txt:
26434 * docs/design/part-query.txt:
26435 Added CHANGES-0.9 doc, updated status of other docs.
26440 2005-06-30 Wim Taymans <wim@fluendo.com>
26442 * gst/base/gstbasesink.c: (gst_base_sink_preroll_queue_empty),
26443 (gst_base_sink_preroll_queue_flush), (gst_base_sink_handle_object),
26444 (gst_base_sink_change_state):
26445 * gst/base/gstbasesink.h:
26446 Some tweaks, only EOS and a buffer complete a preroll.
26448 2005-06-30 Andy Wingo <wingo@pobox.com>
26450 * gst/gstghostpad.c (gst_ghost_pad_do_activate_push): Proxy
26451 activate_push down to the internal pad as well.
26453 2005-06-30 Torsten Schoenfeld <kaffeetisch@gmx.de>
26455 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26457 * gst/gsttaginterface.c:
26458 Some documentation fixes (#307394 and #307397).
26460 2005-06-30 Antoine Tremblay <hexa00@gmail.com>
26462 Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26464 * gst/gstvalue.c: (gst_value_intersect_list):
26465 Fix memleak (#309125).
26467 2005-06-30 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26469 * docs/manual/advanced-dataaccess.xml:
26470 Fix fakesrc example to compile; doesn't work, bug somewhere...?
26471 * docs/manual/basics-pads.xml:
26472 Add reference for filtered caps to above chapter.
26474 2005-06-30 Wim Taymans <wim@fluendo.com>
26476 * gst/gstbin.c: (clear_queue), (remove_all_from_queue),
26477 (gst_bin_change_state):
26479 Lame attempt at making the state change function a bit
26482 2005-06-30 Wim Taymans <wim@fluendo.com>
26484 * docs/design/part-clocks.txt:
26485 * docs/design/part-element-sink.txt:
26486 * docs/design/part-events.txt:
26487 * docs/design/part-preroll.txt:
26488 * docs/design/part-states.txt:
26489 Some more tweeks and additions to the docs.
26491 2005-06-30 Wim Taymans <wim@fluendo.com>
26493 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26494 (default_have_data), (gst_pad_class_init), (gst_pad_init),
26495 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26496 (gst_pad_check_pull_range), (gst_pad_get_range),
26497 (gst_pad_pull_range), (gst_pad_push_event), (gst_pad_send_event):
26499 * gst/gstutils.c: (gst_atomic_int_set), (gst_pad_add_data_probe),
26500 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26501 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26502 (gst_pad_remove_buffer_probe):
26503 Removed atomic operations, use existing LOCK.
26504 Move exception handling out of main code path.
26506 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26508 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26509 (silly_return_true_function), (gst_pad_class_init),
26510 (gst_pad_emit_have_data_signal), (gst_pad_chain), (gst_pad_push),
26511 (gst_pad_get_range), (gst_pad_pull_range), (gst_pad_push_event),
26512 (gst_pad_send_event):
26513 Fix accumulator, add default value by using _emitv() instead
26514 of _emit() for signal emission.
26516 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26518 * docs/manual/advanced-dataaccess.xml:
26519 * examples/manual/Makefile.am:
26521 * gst/gstpad.c: (_gst_do_pass_data_accumulator):
26524 2005-06-29 Tim-Philipp Müller <tim at centricular dot net>
26526 * gst/elements/gstfilesink.c: (gst_filesink_render):
26527 Simplify code so that we don't have to handle short
26528 writes and return GST_FLOW_ERROR if an error occured.
26530 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26532 * docs/gst/gstreamer-docs.sgml:
26533 Remove probes more.
26535 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26537 * docs/gst/gstreamer-sections.txt:
26538 * docs/gst/tmpl/gstpad.sgml:
26539 * docs/gst/tmpl/gstprobe.sgml:
26541 * gst/gstpad.c: (_gst_do_pass_data_accumulator),
26542 (gst_pad_class_init), (gst_pad_init), (gst_pad_chain),
26543 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
26544 (gst_pad_push_event), (gst_pad_send_event):
26546 * gst/gstutils.c: (gst_pad_add_data_probe),
26547 (gst_pad_add_event_probe), (gst_pad_add_buffer_probe),
26548 (gst_pad_remove_data_probe), (gst_pad_remove_event_probe),
26549 (gst_pad_remove_buffer_probe):
26551 Remove old probes, add new g-signal-based probes and some utility
26554 2005-06-29 Edward Hervey <edward@fluendo.com>
26556 * gst/gstelementfactory.c:
26559 Moved gst_element_factory_can_[sink|src]_caps() to gstutils and added
26560 the definition to the header file.
26562 2005-06-29 Andy Wingo <wingo@pobox.com>
26564 * docs/gst/Makefile.am (scan-build.stamp): Totally only check
26565 plugins from the source directory.
26567 2005-06-29 Wim Taymans <wim@fluendo.com>
26569 * docs/gst/tmpl/gstbuffer.sgml:
26570 * docs/gst/tmpl/gstclock.sgml:
26571 Some fixings for blantently wrong text.
26573 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26575 * check/Makefile.am:
26576 * gst/gst.c: (add_path_func), (init_pre):
26577 * gst/gstregistry.c: (gst_registry_add_path):
26578 add A GST_PLUGIN_PATH_ONLY env var; if it is set, it will
26579 only scan the GST_PLUGIN_PATH locations, and not add
26582 2005-06-29 Thomas Vander Stichele <thomas at apestaart dot org>
26584 * docs/gst/gstreamer-sections.txt:
26585 * docs/gst/tmpl/gstbasesrc.sgml:
26586 * gst/gstelement.c:
26587 * gst/gstelement.h:
26592 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26594 * docs/manual/advanced-autoplugging.xml:
26595 Fix autoplugging example.
26597 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26599 * docs/manual/advanced-autoplugging.xml:
26600 * docs/manual/mime-world.fig:
26601 Try to get autoplugging working, fix type detection. Fix text
26602 in hello-world image.
26604 2005-06-29 Wim Taymans <wim@fluendo.com>
26606 * gst/base/gstbasesink.c: (gst_base_sink_handle_object),
26607 (gst_base_sink_change_state):
26611 map SIGNAL and BROADCAST to the right function.
26614 Remove redundant braces.
26616 * gst/gstpad.c: (gst_pad_set_caps):
26617 Don't call setcaps function when reseting caps to NULL.
26619 * gst/gstsystemclock.c: (gst_system_clock_dispose),
26620 (gst_system_clock_async_thread), (gst_system_clock_id_wait_async),
26621 (gst_system_clock_id_unschedule):
26622 Use BROADCAST as this is what we do.
26624 2005-06-29 Wim Taymans <wim@fluendo.com>
26626 * gst/base/gstbasesink.c: (gst_base_sink_handle_object):
26627 We are actually prerolling before commiting the state
26630 2005-06-29 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
26632 * docs/manual/advanced-clocks.xml:
26633 * docs/manual/advanced-interfaces.xml:
26634 * docs/manual/advanced-metadata.xml:
26635 * docs/manual/advanced-position.xml:
26636 * docs/manual/advanced-schedulers.xml:
26637 * docs/manual/advanced-threads.xml:
26638 * docs/manual/appendix-porting.xml:
26639 * docs/manual/basics-bins.xml:
26640 * docs/manual/basics-bus.xml:
26641 * docs/manual/basics-elements.xml:
26642 * docs/manual/basics-helloworld.xml:
26643 * docs/manual/basics-pads.xml:
26644 * docs/manual/highlevel-components.xml:
26645 * docs/manual/manual.xml:
26646 * docs/manual/thread.fig:
26647 Update (until threads/scheduling) Application Development Manual;
26648 remove GstThread, add GstBus, add simple porting checklist, add
26649 documentation for tag writing, clocks, make all examples until this
26650 part compile and run.
26651 * examples/manual/Makefile.am:
26652 Update from changes to Application Development Manual; add bus
26653 example, remove thread example.
26655 2005-06-28 Wim Taymans <wim@fluendo.com>
26657 * gst/gstbus.c: (gst_bus_post), (gst_bus_have_pending),
26658 (gst_bus_set_flushing), (gst_bus_pop), (gst_bus_peek),
26659 (gst_bus_source_dispatch):
26660 Add debugging messages.
26661 Make internal methods static.
26662 Handle the case where the bus is flushed in the handler.
26664 * gst/gstelement.c: (gst_element_get_bus):
26665 Fix refcount in _get_bus();
26667 * gst/gstpipeline.c: (gst_pipeline_change_state),
26668 (gst_pipeline_get_clock_func):
26669 Clock refcounting fixes.
26670 Handle the case where preroll timed out more gracefully.
26672 * gst/gstsystemclock.c: (gst_system_clock_dispose):
26673 Clean up the internal thread in dispose. This is needed
26674 for subclasses that actually get disposed.
26676 * gst/schedulers/threadscheduler.c:
26677 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
26678 (gst_thread_scheduler_dispose):
26679 Free thread pool in dispose.
26681 2005-06-28 Andy Wingo <wingo@pobox.com>
26683 * tests/network-clock-utils.scm (debug, print-event): New utils.
26685 * tests/network-clock.scm (*debug*, *with-graph*): New parameters.
26686 (*packet-loss*): Unified loss probability.
26687 (network-time): Report out-of-band events.
26689 * tests/plot-data: Add support for out-of-band events. Hack it
26690 into this script instead of passing it down the pipe; should fix
26693 2005-06-28 Wim Taymans <wim@fluendo.com>
26695 * docs/gst/gstreamer.types:
26696 * docs/gst/tmpl/gstbasesrc.sgml:
26697 * docs/gst/tmpl/gstpad.sgml:
26700 2005-06-28 Wim Taymans <wim@fluendo.com>
26702 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26703 (gst_proxy_pad_do_checkgetrange), (gst_proxy_pad_do_acceptcaps),
26704 (gst_proxy_pad_do_fixatecaps):
26705 Correctly proxy the check_pull_range function.
26707 2005-06-28 Andy Wingo <wingo@pobox.com>
26709 * tests/network-clock.scm: Removed need for slib.
26711 2005-06-28 Wim Taymans <wim@fluendo.com>
26713 * gst/base/gstbasesink.c: (gst_basesink_set_pad_functions),
26714 (gst_basesink_preroll_queue_flush):
26715 * gst/base/gstbasesrc.c: (gst_basesrc_set_dataflow_funcs):
26716 * gst/elements/gsttee.c: (gst_tee_update_pad_functions):
26717 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26718 (gst_proxy_pad_do_acceptcaps), (gst_proxy_pad_do_fixatecaps),
26719 (gst_proxy_pad_set_property):
26722 * gst/gstqueue.c: (gst_queue_init):
26723 The deprecated pad loop function is removed now.
26725 2005-06-28 Andy Wingo <wingo@pobox.com>
26727 * tests/network-clock.scm (*timeout*, *send-loss*, *recv-loss*):
26728 New parameters, simulate network packet loss.
26730 * tests/network-clock-utils.scm: Initialize the RNG.
26732 2005-06-28 Wim Taymans <wim@fluendo.com>
26734 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_flush),
26735 (gst_basesink_event), (gst_basesink_deactivate):
26736 Flushing the preroll queue always needs to unlock the waiters.
26738 2005-06-28 Edward Hervey <edward@fluendo.com>
26740 * gst/gstpipeline.c: (gst_pipeline_send_event):
26741 Wheen a seek was successful on a pipeline, set the stream_time to the
26742 seek offset in order to have a synchronized stream_time.
26744 2005-06-28 Wim Taymans <wim@fluendo.com>
26746 * gst/gstghostpad.c: (gst_proxy_pad_do_bufferalloc),
26747 (gst_proxy_pad_do_getrange), (gst_proxy_pad_do_checkgetrange),
26748 (gst_proxy_pad_do_getcaps), (gst_proxy_pad_do_acceptcaps),
26749 (gst_proxy_pad_do_fixatecaps):
26750 Call wrapper function instead of just calling the function
26751 pointers. This takes care of any locking and whatmore.
26753 2005-06-28 Wim Taymans <wim@fluendo.com>
26755 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push),
26756 (gst_pad_pull_range):
26758 CONNECTED -> LINKED.
26760 2005-06-28 Andy Wingo <wingo@pobox.com>
26762 * *.c: Don't cast to GST_OBJECT when reffing or unreffing. Large
26763 source-munging commit!!!
26765 * gst/gstobject.c (gst_object_unref, gst_object_ref)
26766 (gst_object_sink): Take gpointer arguments, not GstObject --
26767 avoids casts. Like GLib.
26769 * gst/gstghostpad.c (gst_proxy_pad_do_activate): Don't proxy
26772 2005-06-27 Andy Wingo <wingo@pobox.com>
26774 * gst/base/gsttypefindhelper.c (gst_type_find_helper): Unref any
26777 * gst/gsttrace.c (gst_alloc_trace_list_sorted): New helper,
26778 returns a sorted copy of the trace list.
26779 (gst_alloc_trace_print_live): New API, only prints traces with
26780 live objects. Sort the list.
26781 (gst_alloc_trace_print_all): Sort the list.
26782 (gst_alloc_trace_print): Align columns.
26784 * gst/elements/gstttypefindelement.c:
26785 * gst/elements/gsttee.c:
26786 * gst/base/gstbasesrc.c:
26787 * gst/base/gstbasesink.c:
26788 * gst/base/gstbasetransform.c:
26789 * gst/gstqueue.c: Adapt for pad activation changes.
26791 * gst/gstpipeline.c (gst_pipeline_init): Unref after parenting
26793 (gst_pipeline_dispose): Drop ref on sched.
26795 * gst/gstpad.c (gst_pad_init): Set the default activate func.
26796 (gst_pad_activate_default): Push mode by default.
26797 (pre_activate_switch, post_activate_switch): New stubs, things to
26798 do before and after switching activation modes on pads.
26799 (gst_pad_set_active): Take a boolean and not a mode, dispatch to
26800 the pad's activate function to choose which mode to activate.
26801 Shortcut on deactivation and call the right function directly.
26802 (gst_pad_activate_pull): New API, (de)activates a pad in pull
26804 (gst_pad_activate_push): New API, same for push mode.
26805 (gst_pad_set_activate_function)
26806 (gst_pad_set_activatepull_function)
26807 (gst_pad_set_activatepush_function): Setters for new API.
26809 * gst/gstminiobject.c (gst_mini_object_new, gst_mini_object_free):
26810 Trace all miniobjects.
26811 (gst_mini_object_make_writable): Unref the arg if we copy, like
26812 gst_caps_make_writable.
26814 * gst/gstmessage.c (_gst_message_initialize): No trace init.
26816 * gst/gstghostpad.c (gst_proxy_pad_do_activate)
26817 (gst_proxy_pad_do_activatepull, gst_proxy_pad_do_activatepush):
26818 Adapt for new pad API.
26820 * gst/gstevent.c (_gst_event_initialize): Don't initialize trace.
26822 * gst/gstelement.h:
26823 * gst/gstelement.c (gst_element_iterate_src_pads)
26824 (gst_element_iterate_sink_pads): New API functions.
26826 * gst/gstelement.c (iterator_fold_with_resync): New utility,
26827 should fold into gstiterator.c in some form.
26828 (gst_element_pads_activate): Simplified via use of fold and
26829 delegation of decisions to gstpad->activate.
26831 * gst/gstbus.c (gst_bus_source_finalize): Set the bus to NULL,
26834 * gst/gstbuffer.c (_gst_buffer_initialize): Ref the buffer type
26835 class once in init, like gstmessage. Didn't run into this issue
26836 but it seems correct. Don't initialize a trace, gstminiobject does
26839 * check/pipelines/simple_launch_lines.c (test_stop_from_app): New
26840 test, runs fakesrc ! fakesink, stopping on ::handoff via a message
26842 (assert_live_count): New util function, uses alloc traces to check
26845 * check/gst/gstghostpad.c (test_ghost_pads): More refcount checks.
26846 To be modified when unlink drops the internal pad.
26848 2005-06-27 Wim Taymans <wim@fluendo.com>
26850 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_iterate_state_order),
26851 (gst_bin_change_state):
26852 Cleanup the get_state() function a little, make sure it
26853 iterates the same set of elements.
26854 Added stub iterate_state_order().
26856 2005-06-27 Thomas Vander Stichele <thomas at apestaart dot org>
26858 * docs/gst/gstreamer-docs.sgml:
26859 * docs/gst/gstreamer-sections.txt:
26860 * docs/gst/gstreamer.types:
26861 * docs/gst/tmpl/gstbasesink.sgml:
26862 * docs/gst/tmpl/gstbasesrc.sgml:
26863 * docs/gst/tmpl/gstbasetransform.sgml:
26864 * docs/gst/tmpl/gstelement.sgml:
26865 * docs/gst/tmpl/gstiterator.sgml:
26866 * gst/base/gstbasesrc.c:
26867 * gst/base/gstbasesrc.h:
26868 * gst/base/gstbasetransform.h:
26869 * gst/gstelement.c:
26870 * gst/gstiterator.h:
26871 adding basetransform and iterator docs
26873 2005-06-27 Andy Wingo <wingo@pobox.com>
26875 * docs/design/part-activation.txt: Notes on how activation should
26876 work -- not quite implemented yet.
26878 2005-06-25 Wim Taymans <wim@fluendo.com>
26880 * gst/gstghostpad.c: (gst_proxy_pad_do_chain):
26881 At least get the chain function correct, needs more
26884 2005-06-25 Wim Taymans <wim@fluendo.com>
26886 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26887 (gst_basesink_handle_object), (gst_basesink_event),
26888 (gst_basesink_do_sync), (gst_basesink_handle_event),
26889 (gst_basesink_change_state):
26891 Right, two problems here: ghostpads don't take locks and
26892 glib _rec_mutex_lock_full() with depth==0 still locks.
26893 Catch illegal locking and g_warn them.
26895 2005-06-25 Wim Taymans <wim@fluendo.com>
26897 * check/states/sinks.c: (START_TEST), (gst_object_suite):
26898 Have to check for completion now...
26900 2005-06-25 Wim Taymans <wim@fluendo.com>
26902 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
26903 (gst_basesink_handle_object), (gst_basesink_event),
26904 (gst_basesink_do_sync), (gst_basesink_handle_event),
26905 (gst_basesink_change_state):
26907 Unlock STREAM_LOCK whatever the recursion was.
26909 2005-06-25 Wim Taymans <wim@fluendo.com>
26911 * gst/base/gstbasesink.c: (gst_basesink_set_property),
26912 (gst_basesink_preroll_queue_empty),
26913 (gst_basesink_preroll_queue_flush), (gst_basesink_handle_object),
26914 (gst_basesink_event), (gst_basesink_do_sync),
26915 (gst_basesink_handle_event), (gst_basesink_handle_buffer),
26916 (gst_basesink_chain), (gst_basesink_loop), (gst_basesink_activate),
26917 (gst_basesink_change_state):
26918 Reworked the base sink, handle event and buffer serialisation
26919 correctly and removed possible deadlock.
26920 Handle EOS correctly.
26922 2005-06-25 Wim Taymans <wim@fluendo.com>
26924 * gst/gstpipeline.c: (is_eos), (pipeline_bus_handler),
26925 (gst_pipeline_change_state):
26926 * tools/gst-launch.c: (check_intr), (event_loop), (main):
26927 Allow elements to post EOS in the state change function.
26928 Fix up -launch, make it exit the poll loop when the
26929 pipeline actually changed state.
26930 Fix up warning parsing in -launch.
26932 2005-06-25 Wim Taymans <wim@fluendo.com>
26934 * gst/elements/gsttee.c: (gst_tee_chain), (gst_tee_loop),
26935 (gst_tee_sink_activate):
26936 Core takes STREAM_LOCK for us now.
26938 2005-06-25 Wim Taymans <wim@fluendo.com>
26940 * gst/gstelement.c: (gst_element_get_state_func),
26941 (gst_element_set_state):
26942 * gst/gstelement.h:
26943 * gst/gstmessage.c: (gst_message_parse_error),
26944 (gst_message_parse_warning):
26945 Keep track of current target state while performing a state
26946 change so that subclasses can do something interesting.
26947 Fix parsing of warning/error messages when GError is NULL.
26949 2005-06-24 Thomas Vander Stichele <thomas at apestaart dot org>
26951 * docs/gst/Makefile.am:
26952 * docs/gst/gstreamer-docs.sgml:
26953 * docs/gst/gstreamer-sections.txt:
26954 * docs/gst/gstreamer.types:
26955 * docs/gst/tmpl/gstbasesink.sgml:
26956 * docs/gst/tmpl/gstbasesrc.sgml:
26957 * docs/gst/tmpl/gstbin.sgml:
26958 * docs/gst/tmpl/gstcompat.sgml:
26959 * docs/gst/tmpl/gstfakesink.sgml:
26960 * docs/gst/tmpl/gstfakesrc.sgml:
26961 * docs/gst/tmpl/gstfilesink.sgml:
26962 * docs/gst/tmpl/gstfilesrc.sgml:
26963 * docs/gst/tmpl/gstindex.sgml:
26964 * docs/manual/appendix-quotes.xml:
26965 * gst/base/gstbasesrc.h:
26966 * gst/elements/gstfakesrc.h:
26967 * gst/gstmessage.h:
26968 start pulling in base classes and elements in our docs
26970 2005-06-24 Stefan Kost <ensonic@users.sf.net>
26972 * docs/gst/Makefile.am:
26973 * docs/libs/Makefile.am:
26974 fixed make distcheck with gtk-doc 1.3
26976 2005-06-23 Wim Taymans <wim@fluendo.com>
26978 * gst/gstelement.c: (gst_element_get_state_func),
26979 (gst_element_set_state), (gst_element_change_state):
26980 When the state did not change, also report NO_PREROLL
26983 2005-06-23 Wim Taymans <wim@fluendo.com>
26985 * gst/gstpad.c: (gst_pad_event_default):
26986 * gst/gstqueue.c: (gst_queue_loop):
26987 No unsafe task pausing please.
26989 2005-06-23 Wim Taymans <wim@fluendo.com>
26991 * gst/schedulers/threadscheduler.c:
26992 (gst_thread_scheduler_task_start),
26993 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_func):
26994 Ref the task before pushing it on the threadpool. This
26995 makes sure that we have a ref when the threadfunction is
26998 2005-06-23 Andy Wingo <wingo@pobox.com>
27000 * gst/base/gstbasesrc.c (gst_basesrc_get_range): Check if the
27001 offset is greater than the file's size.
27003 * gst/gstobject.h (GST_CLASS_LOCK, GST_CLASS_TRYLOCK)
27004 (GST_CLASS_UNLOCK, GST_CLASS_GET_LOCK, GstObjectClass)
27005 * gst/gstobject.c (gst_object_class_init): Make the class lock
27006 recursive. Wim won't let me drop deep_notify. Decodebin works
27007 again, whoopdy doo.
27009 * gst/gstghostpad.c (on_int_notify): Catches notify::caps on the
27010 internal pad, and hacks accordingly. Doesn't do it on the target
27011 pad because we change its caps. Probably catches all cases of
27013 (gst_ghost_pad_set_property): Connect to notify::caps as
27016 * tests/network-clock.scm (plot-simulation): Pipe data to the
27017 elite python skript.
27019 * tests/network-clock-utils.scm (define-parameter): New macro,
27020 defines a parameter that can be set via the command line.
27021 (set-parameter!, parse-parameter-arguments): Command line args
27024 * tests/plot-data: Simple matplotlib-based plotter, takes input on
27027 2005-06-23 Jan Schmidt <thaytan@mad.scientist.com>
27029 * gst/elements/gsttypefindelement.c:
27030 (gst_type_find_element_handle_event):
27031 Don't restart typefinding on a discont.
27032 * gst/gstelement.c: (gst_element_set_state):
27033 Debug spelling fix.
27034 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_send_event):
27035 Allow changing mode of an active pad.
27036 Debug output fixes.
27037 * gst/registries/gstlibxmlregistry.c: (load_feature):
27038 Don't cast a static pad template to a normal pad template.
27040 2005-06-23 Thomas Vander Stichele <thomas at apestaart dot org>
27042 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27043 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27044 remove gst_strtoll completely, since it didn't actually do
27045 anything more than what g_ascii_strtoull already does.
27046 check for range errors when deserializing
27047 do a cast for the unsigned cases; but further fixing needs
27048 a decision on what the interpretation of "(int)" and
27049 deserialization should be for values that fall outside the
27050 type's boundaries (ie, refuse, or interpret as casting)
27052 2005-06-23 Wim Taymans <wim@fluendo.com>
27054 * check/Makefile.am:
27055 * check/states/sinks.c: (START_TEST), (gst_object_suite), (main):
27056 * docs/design/part-live-source.txt:
27057 * docs/design/part-states.txt:
27058 * gst/base/gstbasesrc.c: (gst_basesrc_init),
27059 (gst_basesrc_set_live), (gst_basesrc_is_live),
27060 (gst_basesrc_get_range), (gst_basesrc_activate),
27061 (gst_basesrc_change_state):
27062 * gst/base/gstbasesrc.h:
27063 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
27064 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
27065 * gst/gstbin.c: (gst_bin_get_state), (gst_bin_change_state):
27066 * gst/gstelement.c: (gst_element_get_state_func),
27067 (gst_element_set_state):
27068 * gst/gstelement.h:
27070 * tools/gst-launch.c: (event_loop), (main):
27071 Added support for live sources and other elements that
27073 Updated design docs, added live-source design doc.
27074 Implemented live source functionality in basesrc
27075 Fix error condition in _bin_get_state()
27076 Implement live source handling in -launch.
27077 Added check for live sources.
27078 Fixed case in GstBin where elements were changed state
27082 2005-06-23 Andy Wingo <wingo@pobox.com>
27084 * check/gst/gstpad.c (test_get_allowed_caps, test_refcount): Fix
27085 borken refcounting.
27087 * gst/gstpad.c (gst_pad_set_caps): Remove needless refs,
27088 gst_caps_replace takes care of this for us.
27090 * gst/gstghostpad.c (gst_proxy_pad_do_setcaps): Call the full
27091 gst_pad_set_caps on the target, not just its setcaps() function.
27093 * tests/network-clock.scm:
27094 * tests/network-clock-utils.scm: A network clock simulator.
27095 Something of an algorithmic testbed before doing something in C.
27097 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27099 * check/Makefile.am:
27100 * check/gst/capslist.h:
27101 copy over from 0.8, and add two with bitmasks specified with
27103 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27104 add test to parse everything from capslist.h
27105 * check/gst/gststructure.c: (START_TEST), (gst_value_suite),
27107 add test for structure deserialization
27108 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27109 add tests for deserialization of strings to int types
27110 * gst/gststructure.c: (gst_structure_nth_field_name):
27111 * gst/gststructure.h:
27112 add a way to get the name of a field referenced by index
27113 * gst/gstvalue.c: (gst_value_deserialize_int_helper):
27114 instead of checking if the resulting long long lies between
27115 min and max, we check if the long long would fit into
27116 a number of bytes for the final type.
27117 This fixes cases where a string represents 2^32 - 1, which
27118 when cast to int would be the (valid) -1, but is bigger than
27121 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27123 * gst/parse/grammar.y:
27124 add a log line for type deserialization
27126 2005-06-22 Thomas Vander Stichele <thomas at apestaart dot org>
27128 * check/gst/gstvalue.c: (START_TEST):
27129 * gst/gstvalue.c: (gst_value_deserialize):
27130 return long long, not int, so gint64 deserialization actually
27131 works. Is there any flag that makes the compiler check this ?
27134 2005-06-22 Wim Taymans <wim@fluendo.com>
27137 Added convenience macros for setting buffers in GValue.
27139 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27141 * check/gst/.cvsignore:
27142 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite):
27143 add a test deserializing int64, and comment part out because
27146 2005-06-21 Thomas Vander Stichele <thomas at apestaart dot org>
27148 * check/Makefile.am:
27149 * check/gst/gstvalue.c: (START_TEST), (gst_value_suite), (main):
27150 * testsuite/Makefile.am:
27151 * testsuite/caps/Makefile.am:
27152 * testsuite/caps/value_serialize.c:
27153 * testsuite/test_gst_init.c:
27154 move a value_serialize test over
27156 2005-06-20 Wim Taymans <wim@fluendo.com>
27161 * gst/gstvalue.c: (gst_value_compare_buffer),
27162 (gst_value_serialize_buffer), (gst_value_deserialize_buffer),
27163 (gst_value_compare_flags), (gst_value_serialize_flags),
27164 (gst_value_deserialize_flags), (_gst_value_initialize):
27165 Fix serialisation of buffers, they are not boxed types anymore
27167 2005-06-20 Wim Taymans <wim@fluendo.com>
27169 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite):
27170 Testcase to show error in buffer-on-caps serialisation.
27172 2005-06-20 Andy Wingo <wingo@pobox.com>
27174 * docs/random/wingo/porting-plugins-to-0.9: A pitiful document I
27175 will be adding to later.
27177 * gst/gstsystemclock.c (gst_system_clock_init): Unlock the clock
27178 if its socks fill with rocks.
27179 (gst_system_clock_obtain): Set the name on object construction.
27180 Avoid double-checked locking.
27182 2005-06-20 Tim-Philipp Müller <tim at centricular dot net>
27184 * gst/gsturi.c: (gst_element_make_from_uri):
27185 Fix potential endless loop.
27187 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27189 * check/Makefile.am:
27191 * check/gst/gsttag.c: (check_tags), (START_TEST), (gst_tag_suite),
27193 move over from testsuite dir and clean up
27196 * testsuite/Makefile.am:
27197 * testsuite/tags/.cvsignore:
27198 * testsuite/tags/Makefile.am:
27199 * testsuite/tags/merge.c:
27200 remove testsuite/tags
27202 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27204 * docs/gst/gstreamer-sections.txt:
27205 * docs/gst/tmpl/gstenumtypes.sgml:
27206 * win32/gstenumtypes.c:
27207 clean up documentation build a little
27209 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27211 * check/gstcheck.h:
27212 add macros for checking refcounts on objects and caps
27213 * check/gst/gstpad.c: (START_TEST), (gst_pad_suite):
27214 add some more unit tests
27215 * gst/gstpad.c: (gst_pad_link_check_compatible_unlocked),
27216 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_allowed_caps):
27217 fix leaked refcounts (I hope :)) so unittest works
27221 2005-06-19 Thomas Vander Stichele <thomas at apestaart dot org>
27223 * configure.ac: back to HEAD
27225 === release 0.9.1 ===
27227 2005-06-17 Thomas Vander Stichele <thomas at apestaart dot org>
27233 2005-06-17 Andy Wingo <wingo@pobox.com>
27235 * gst/base/gstbasesink.c (gst_basesink_chain): Remove bogus
27236 assert; it's always possible that the pad gets deactivated in
27237 between the checks in gstpad.c and the implementation. Rely on
27238 finish_preroll() to return a FLUSHING or similar instead of on the
27241 * gst/base/gstbasesink.c (gst_basesink_event): Only wait for the
27242 clock and post an EOS message if we come out of finish_preroll in
27245 2005-06-16 David Schleef <ds@schleef.org>
27247 * gst/elements/gstcapsfilter.c: (gst_capsfilter_class_init),
27248 (gst_capsfilter_set_property): Allow NULL as possible value
27249 for filter_caps property, indicating GST_CAPS_ANY.
27251 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27253 * gst/elements/gstfakesrc.c: (gst_fakesrc_create):
27255 * gst/schedulers/Makefile.am:
27257 * gstreamer.spec.in:
27260 2005-06-09 Thomas Vander Stichele <thomas at apestaart dot org>
27262 * gstreamer.spec.in:
27265 2005-06-08 Andy Wingo <wingo@pobox.com>
27267 * gst/gstutils.c: RPAD fixes all around.
27268 (gst_element_link_pads): Refcounting fixes.
27270 * tools/gst-inspect.c:
27271 * tools/gst-xmlinspect.c:
27273 * gst/base/gsttypefindhelper.c:
27274 * gst/base/gstbasesink.c:
27275 * gst/gstqueue.c: RPAD fixes.
27277 * gst/gstghostpad.h:
27278 * gst/gstghostpad.c: New ghost pad implementation as full proxy
27279 pads. The tricky thing is they provide both source and sink
27280 interfaces, since they proxy the internal pad for the external
27281 pad, and vice versa. Implement with lower-level ProxyPad objects,
27282 with the interior proxy pad as a child of the exterior ghost pad.
27283 Should write a doc on this.
27285 * gst/gstpad.h: s/RPAD/PAD/, s/RealPad/Pad/.
27286 (gst_pad_set_name, gst_pad_set_parent): Macros removed, use
27289 * gst/gstpad.c: Big changes. No more stub base GstPad, now all
27290 pads are real pads. No ghost pads in this file. Not documenting
27291 the myriad s/RPAD/PAD/ and REALIZE fixes.
27292 (gst_pad_class_init): Add properties for "direction" and
27293 "template". Both are construct-only, so they can't change during
27294 the life of the pad. Fixes properly deriving from GstPad.
27295 (gst_pad_custom_new, gst_pad_custom_new_from_template): Gone. For
27296 derived objects, just set properties when creating the objects via
27298 (gst_pad_get_parent): Implement as a function, return NULL if the
27299 parent is not an element.
27300 (gst_pad_get_real_parent, gst_pad_add_ghost_pad)
27301 (gst_pad_remove_ghost_pad, gst_pad_realize): Removed.
27303 * gst/gstobject.c (gst_object_class_init): Make name a construct
27304 property. Don't set it in the object init.
27306 * gst/gstelement.c (gst_element_add_pad): Don't allow adding pads
27307 with UNKNOWN direction.
27308 (gst_element_add_ghost_pad): Remove non-orthogonal API. Replace
27309 with gst_element_add_pad (e, gst_ghost_pad_new (name, pad)).
27310 (gst_element_remove_pad): Remove ghost-pad special cases.
27311 (gst_element_pads_activate): Remove rpad cruft.
27313 * gst/gstbin.c (gst_bin_change_state): Use gst_pad_get_parent to
27314 catch the pad's-parent-not-an-element case.
27316 * gst/gst.h: Include gstghostpad.h.
27318 * gst/gst.c (init_post): No more real, ghost pads.
27320 * gst/Makefile.am: Add gstghostpad.[ch].
27322 * check/Makefile.am:
27323 * check/gst/gstbin.c:
27324 * check/gst/gstghostpad.c (test_ghost_pads): Check that linking
27325 into a bin creates ghost pads, and that the refcounts are right.
27326 Partly moved from gstbin.c.
27328 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27330 * check/gst-libs/.cvsignore:
27331 * check/gst/.cvsignore:
27332 * check/pipelines/.cvsignore:
27334 * check/pipelines/cleanup.c: (setup_pipeline), (run_pipeline),
27335 (START_TEST), (cleanup_suite), (main):
27336 add some tests related to cleanup after running pipelines
27338 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27340 * check/gst/gstbuffer.c: (START_TEST), (gst_test_suite), (main):
27341 add a testsuite for GstBuffer
27343 2005-06-08 Thomas Vander Stichele <thomas at apestaart dot org>
27345 * gst/gstminiobject.h:
27346 add defines for accessing the refcount
27348 2005-06-03 Stefan Kost <ensonic@users.sf.net>
27350 * Makefile.am: added support for html unit test coverage reports
27352 2005-06-03 Jan Schmidt <thaytan@mad.scientist.com>
27354 * gst/elements/gstcapsfilter.c: (gst_capsfilter_set_property):
27355 Free existing caps if the capsfilter changes. Add a FIXME about
27356 setting those caps on the pads.
27358 * gst/gstutils.c: (gst_element_get_compatible_pad), (ghost_up):
27359 Before adding a ghost pad to a parent bin, check that there isn't
27360 already one for the element on the bin. Prevents infinite recursion
27361 when using decodebin in parse pipelines. Andy says he'll rewrite the
27362 way this works anyway, so ignore the hack.
27364 2005-06-02 Andy Wingo <wingo@pobox.com>
27366 * gst/elements/gsttypefindelement.c (do_pull_typefind): Query the
27367 file size, pass it on to the type find helper.
27369 * gst/base/gstbasesrc.c (gst_basesrc_do_seek): Set the
27370 segment_start and segment_end properly according to the seek
27371 method. Segment_end is still a bit flaky because offset can be
27372 negative for CUR and END cases, but it takes -1 as an "unset"
27375 2005-06-02 Wim Taymans <wim@fluendo.com>
27377 * gst/base/gstbasesink.c: (gst_basesink_pad_buffer_alloc),
27378 (gst_base_sink_buffer_alloc), (gst_basesink_preroll_queue_push),
27379 (gst_basesink_activate):
27380 * gst/base/gstbasesink.h:
27381 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27382 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27383 (gst_pad_query), (gst_pad_start_task):
27385 * gst/gstqueue.c: (gst_queue_bufferalloc),
27386 (gst_queue_handle_sink_event), (gst_queue_chain):
27387 Bufferalloc: return GstFlowReturn to more accuratly report
27388 why allocation failed.
27390 2005-06-02 Wim Taymans <wim@fluendo.com>
27392 * gst/gstpipeline.c: (gst_pipeline_send_event):
27393 Take snapshot of state without blocking.
27395 2005-06-02 Wim Taymans <wim@fluendo.com>
27397 * docs/design/part-TODO.txt:
27398 * docs/design/part-caps.txt:
27399 * docs/design/part-clocks.txt:
27400 * docs/design/part-negotiation.txt:
27401 * docs/design/part-preroll.txt:
27404 2005-05-30 Wim Taymans <wim@fluendo.com>
27406 * gst/elements/gstidentity.c: (gst_identity_event),
27407 (gst_identity_transform), (gst_identity_get_property):
27408 Protect last_message property as it is accessed from
27411 2005-05-30 Wim Taymans <wim@fluendo.com>
27413 * gst/gstelement.c: (gst_element_init),
27414 (gst_element_pads_activate), (gst_element_change_state):
27415 Slicker pad activation code.
27417 2005-05-30 Wim Taymans <wim@fluendo.com>
27420 * gst/gstelement.h:
27421 * gst/gstelementfactory.h:
27423 Move elementfactory methods to separate .h file.
27425 2005-05-30 Wim Taymans <wim@fluendo.com>
27427 * docs/design/part-overview.txt:
27428 * gst/gstsystemclock.h:
27429 Small typo fixes, doc updates.
27431 2005-05-30 Wim Taymans <wim@fluendo.com>
27433 * gst/gst.c: (gst_init_get_popt_table), (init_post),
27434 (init_popt_callback):
27435 Remove cpu-opt flag.
27437 2005-05-30 Wim Taymans <wim@fluendo.com>
27439 * gst/gstbuffer.c: (gst_subbuffer_finalize),
27440 (gst_buffer_create_sub), (gst_buffer_is_span_fast):
27442 Avoid typechecking in places where not needed.
27443 Added accessor for malloc_data.
27445 2005-05-30 Wim Taymans <wim@fluendo.com>
27447 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_set_active),
27448 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_accept_caps),
27449 (gst_pad_configure_sink), (gst_pad_configure_src),
27450 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_send_event),
27451 (gst_pad_start_task):
27452 Propagate errors from _set_caps() in configure_src/sink
27453 functions instead of returning TRUE.
27454 FLUSH events can travel up and downstream
27457 2005-05-30 Wim Taymans <wim@fluendo.com>
27459 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27460 (gst_basesink_activate):
27461 Handle EOS in preroll.
27463 2005-05-30 Wim Taymans <wim@fluendo.com>
27465 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27466 (gst_queue_loop), (gst_queue_handle_src_event):
27467 Remove old pieces of code
27468 Flushing the queue in an upstream event is a very bad idea.
27470 2005-05-26 Andy Wingo <wingo@pobox.com>
27472 * gst/gstminiobject.c (gst_value_mini_object_collect): Use
27473 gst_value_set_mini_object so as to add a ref on the object (which
27474 will be removed when the value is unset).
27476 * gst/elements/gstfakesink.c (gst_fakesink_class_init): Fix signal
27477 arg type in ::handoff.
27479 * gst/gstelement.c (gst_element_change_state): Also deactivate
27480 pads in READY->NULL, just in case the element didn't make it to
27481 PAUSED. Wingo tested, Wim approved.
27483 2005-05-26 Wim Taymans <wim@fluendo.com>
27485 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27486 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_alloc_buffer),
27487 (gst_pad_query), (gst_pad_send_event), (gst_pad_start_task):
27488 A flushing pad cannot be used to alloc_buffer from.
27490 2005-05-26 Wim Taymans <wim@fluendo.com>
27492 * gst/gstbus.c: (gst_bus_init), (gst_bus_dispose), (gst_bus_post),
27493 (gst_bus_pop), (gst_bus_source_prepare), (gst_bus_source_check),
27494 (gst_bus_source_dispatch), (gst_bus_source_finalize),
27495 (gst_bus_create_watch), (gst_bus_add_watch_full):
27497 Implement a real GSource and use g_main_context_wakeup() to
27498 signal new messages instead of the socketpair.
27500 2005-05-25 Wim Taymans <wim@fluendo.com>
27502 * gst/gstbin.c: (bin_element_is_sink), (has_ancestor),
27503 (bin_element_is_semi_sink), (append_child), (gst_bin_change_state):
27504 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27505 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27506 (gst_pad_send_event), (gst_pad_start_task):
27507 * gst/gstqueue.c: (gst_queue_init), (gst_queue_locked_flush),
27508 (gst_queue_handle_sink_event), (gst_queue_chain), (gst_queue_loop),
27509 (gst_queue_sink_activate), (gst_queue_src_activate),
27510 (gst_queue_change_state):
27512 Fix state changes for non sinks. We now change sinks, then elements
27513 with unconnected srcpads, then the rest.
27514 More efficient queue unlocking in flush and state changes.
27515 Set the pad activate mode even if it does not have an activate
27518 2005-05-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27520 * gst/base/gstbasesrc.c: (gst_basesrc_activate):
27521 Don't go in pull mode for non-seekable sources.
27522 * gst/elements/gsttypefindelement.h:
27523 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
27524 (gst_type_find_element_dispose), (gst_type_find_handle_src_query),
27525 (free_entry), (stop_typefinding),
27526 (gst_type_find_element_handle_event), (find_peek),
27527 (gst_type_find_element_chain), (do_pull_typefind),
27528 (gst_type_find_element_change_state):
27529 Allow typefinding (w/o seeking) in push-mode, simplified version
27530 of what was in 0.8.
27531 * gst/gstutils.c: (gst_buffer_join):
27533 gst_buffer_join() from 0.8.
27535 2005-05-25 Wim Taymans <wim@fluendo.com>
27537 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_link_prepare),
27538 (gst_pad_link), (gst_pad_accept_caps), (gst_pad_query),
27539 (gst_pad_send_event), (gst_pad_start_task):
27540 Disable attempt at mode switching until it is figured out.
27542 2005-05-25 Wim Taymans <wim@fluendo.com>
27544 * gst/base/gstadapter.c: (gst_adapter_peek), (gst_adapter_flush):
27545 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_push),
27546 (gst_basesink_finish_preroll), (gst_basesink_chain),
27547 (gst_basesink_loop), (gst_basesink_activate),
27548 (gst_basesink_change_state):
27549 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek),
27550 (gst_basesrc_get_range), (gst_basesrc_loop),
27551 (gst_basesrc_activate):
27552 * gst/elements/gsttee.c: (gst_tee_sink_activate):
27553 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
27554 (gst_real_pad_init), (gst_real_pad_set_property),
27555 (gst_real_pad_get_property), (gst_pad_set_active),
27556 (gst_pad_is_active), (gst_pad_get_query_types), (gst_pad_unlink),
27557 (gst_pad_link_prepare), (gst_pad_link), (gst_pad_get_real_parent),
27558 (gst_real_pad_get_caps_unlocked), (gst_pad_peer_get_caps),
27559 (gst_pad_accept_caps), (gst_pad_get_peer), (gst_pad_realize),
27560 (gst_pad_event_default_dispatch), (gst_pad_event_default),
27561 (gst_pad_dispatcher), (gst_pad_query), (gst_real_pad_dispose),
27562 (gst_pad_save_thyself), (handle_pad_block), (gst_pad_chain),
27563 (gst_pad_push), (gst_pad_get_range), (gst_pad_pull_range),
27564 (gst_pad_send_event), (gst_pad_start_task), (gst_pad_pause_task),
27565 (gst_pad_stop_task):
27567 * gst/gstqueue.c: (gst_queue_handle_sink_event), (gst_queue_chain),
27568 (gst_queue_loop), (gst_queue_src_activate):
27569 * gst/gsttask.c: (gst_task_init), (gst_task_set_lock),
27570 (gst_task_get_state):
27572 * gst/schedulers/threadscheduler.c:
27573 (gst_thread_scheduler_task_start), (gst_thread_scheduler_func):
27574 Implement gst_pad_pause/start/stop_task(), take STREAM lock
27576 Remove ACTIVE pad flag, use FLUSHING everywhere
27577 Added _pad_chain(), _pad_get_range() to call chain/getrange
27579 Add locks around IS_FLUSHING when reading.
27580 Take STREAM lock in chain(), get_range() functions so plugins
27581 don't need to take it anymore.
27585 2005-05-25 Wim Taymans <wim@fluendo.com>
27587 * tools/gst-launch.c: (event_loop):
27588 Unref message after using its contents instead of
27591 2005-05-24 Wim Taymans <wim@fluendo.com>
27593 * docs/design/draft-ghostpads.txt:
27594 * docs/design/draft-push-pull.txt:
27595 * docs/design/draft-query.txt:
27596 * docs/design/part-overview.txt:
27597 Docs updates, added general overview doc.
27599 2005-05-21 David Schleef <ds@schleef.org>
27601 * docs/gst/tmpl/old/GstBin.sgml:
27602 * docs/gst/tmpl/old/GstBuffer.sgml:
27603 * docs/gst/tmpl/old/GstCaps.sgml:
27604 * docs/gst/tmpl/old/GstClock.sgml:
27605 * docs/gst/tmpl/old/GstCompat.sgml:
27606 * docs/gst/tmpl/old/GstData.sgml:
27607 * docs/gst/tmpl/old/GstElement.sgml:
27608 * docs/gst/tmpl/old/GstEvent.sgml:
27609 * docs/gst/tmpl/old/GstIndex.sgml:
27610 * docs/gst/tmpl/old/GstStructure.sgml:
27611 * docs/gst/tmpl/old/GstTag.sgml:
27612 * docs/gst/tmpl/old/cothreads.sgml:
27613 * docs/gst/tmpl/old/cothreads_compat.sgml:
27614 * docs/gst/tmpl/old/gettext.sgml:
27615 * docs/gst/tmpl/old/gobject2gtk.sgml:
27616 * docs/gst/tmpl/old/grammar.tab.sgml:
27617 * docs/gst/tmpl/old/gst-i18n-app.sgml:
27618 * docs/gst/tmpl/old/gst-i18n-lib.sgml:
27619 * docs/gst/tmpl/old/gst_private.sgml:
27620 * docs/gst/tmpl/old/gstaggregator.sgml:
27621 * docs/gst/tmpl/old/gstarch.sgml:
27622 * docs/gst/tmpl/old/gstatomic_impl.sgml:
27623 * docs/gst/tmpl/old/gstbufferstore.sgml:
27624 * docs/gst/tmpl/old/gstdata_private.sgml:
27625 * docs/gst/tmpl/old/gstdisksink.sgml:
27626 * docs/gst/tmpl/old/gstdisksrc.sgml:
27627 * docs/gst/tmpl/old/gstelementfactory.sgml:
27628 * docs/gst/tmpl/old/gstextratypes.sgml:
27629 * docs/gst/tmpl/old/gstfakesink.sgml:
27630 * docs/gst/tmpl/old/gstfakesrc.sgml:
27631 * docs/gst/tmpl/old/gstfdsink.sgml:
27632 * docs/gst/tmpl/old/gstfdsrc.sgml:
27633 * docs/gst/tmpl/old/gstfilesink.sgml:
27634 * docs/gst/tmpl/old/gstfilesrc.sgml:
27635 * docs/gst/tmpl/old/gsthttpsrc.sgml:
27636 * docs/gst/tmpl/old/gstidentity.sgml:
27637 * docs/gst/tmpl/old/gstindexfactory.sgml:
27638 * docs/gst/tmpl/old/gstmarshal.sgml:
27639 * docs/gst/tmpl/old/gstmd5sink.sgml:
27640 * docs/gst/tmpl/old/gstmultidisksrc.sgml:
27641 * docs/gst/tmpl/old/gstmultifilesrc.sgml:
27642 * docs/gst/tmpl/old/gstpadtemplate.sgml:
27643 * docs/gst/tmpl/old/gstpipefilter.sgml:
27644 * docs/gst/tmpl/old/gstschedulerfactory.sgml:
27645 * docs/gst/tmpl/old/gstsearchfuncs.sgml:
27646 * docs/gst/tmpl/old/gstshaper.sgml:
27647 * docs/gst/tmpl/old/gstspider.sgml:
27648 * docs/gst/tmpl/old/gstspideridentity.sgml:
27649 * docs/gst/tmpl/old/gststatistics.sgml:
27650 * docs/gst/tmpl/old/gsttee.sgml:
27651 * docs/gst/tmpl/old/gsttimecache.sgml:
27652 * docs/gst/tmpl/old/gsttypefindfactory.sgml:
27653 * docs/gst/tmpl/old/gstxmlregistry.sgml:
27654 * docs/gst/tmpl/old/gthread-cothreads.sgml:
27655 * docs/gst/tmpl/old/types.sgml:
27656 I didn't intend to add these or check them in.
27658 2005-05-19 David Schleef <ds@schleef.org>
27660 * configure.ac: Use -no-common everywhere. In a sane world, it
27661 would be the default in libtool, because without it, you can't
27662 build DLLs on Windows.
27663 * docs/gst/gstreamer-docs.sgml: Remove GstCpu, GstData, GstThread
27664 * docs/gst/gstreamer-sections.txt:
27665 * docs/gst/tmpl/gstcpu.sgml:
27666 * docs/gst/tmpl/gstdata.sgml:
27667 * docs/gst/tmpl/gstthread.sgml:
27669 2005-05-19 David Schleef <ds@schleef.org>
27671 * gst/gstminiobject.c: (gst_value_set_mini_object),
27672 (gst_value_take_mini_object), (gst_value_get_mini_object):
27673 * gst/gstminiobject.h: Add GValue set/get functions.
27675 2005-05-19 Wim Taymans <wim@fluendo.com>
27677 * gst/gstbuffer.c: (gst_buffer_init), (gst_subbuffer_get_type),
27678 (gst_subbuffer_class_init), (gst_subbuffer_finalize),
27679 (gst_subbuffer_init), (gst_buffer_is_span_fast):
27681 * gst/gstbus.c: (gst_bus_post):
27682 * gst/gstelement.c: (gst_element_get_random_pad):
27683 * gst/gstmessage.c: (gst_message_init), (gst_message_finalize):
27684 Make subbufer unref the parent in finalize.
27685 some more debugging info.
27688 2005-05-19 Wim Taymans <wim@fluendo.com>
27690 * gst/base/gstbasesink.c: (gst_basesink_class_init),
27691 (gst_basesink_init), (gst_basesink_finalize),
27692 (gst_basesink_activate), (gst_basesink_change_state):
27693 Don't free preroll queue too early.
27695 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27699 Hi, I'm outdated. Please shoot me.
27701 2005-05-19 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27703 * gst/gstpipeline.c: (gst_pipeline_send_event):
27704 Do not access variables after they have been deleted.
27706 2005-05-19 Wim Taymans <wim@fluendo.com>
27708 * tools/gst-inspect.c: (print_plugin_features):
27709 A plugin feature does unfortunatly not use the
27712 2005-05-18 Wim Taymans <wim@fluendo.com>
27714 * gst/gstbuffer.c: (gst_buffer_is_span_fast), (gst_buffer_span):
27715 Port _span() functions to new subbuffers.
27717 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27719 * gst/gstbin.c: (gst_bin_add_func):
27720 Fix clock settery in bins when adding kids after the clock has
27723 2005-05-18 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27725 * gst/elements/gstidentity.c: (gst_identity_class_init):
27726 Workaround until signals support GstMiniObject.
27728 2005-05-18 Jan Schmidt <thaytan@mad.scientist.com>
27731 Oops, fix a typo GST_TYPE_BUFFER -> GST_TYPE_SUBBUFFER.
27733 2005-05-18 Wim Taymans <wim@fluendo.com>
27735 * gst/base/Makefile.am:
27736 * gst/base/gstadapter.c: (gst_adapter_base_init),
27737 (gst_adapter_class_init), (gst_adapter_init),
27738 (gst_adapter_dispose), (gst_adapter_finalize), (gst_adapter_new),
27739 (gst_adapter_clear), (gst_adapter_push), (gst_adapter_peek),
27740 (gst_adapter_flush), (gst_adapter_available),
27741 (gst_adapter_available_fast):
27742 * gst/base/gstadapter.h:
27743 Ported and added adapter to the base classes.
27745 2005-05-17 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
27748 * gst/gstmessage.c:
27749 Make sure the class is reffed/unreffed once before threads can be
27750 used. Fixes #304551.
27752 2005-05-17 Wim Taymans <wim@fluendo.com>
27754 * gst/base/gstbasesink.c: (gst_basesink_finish_preroll),
27755 (gst_basesink_chain_unlocked), (gst_basesink_activate):
27756 * gst/gstminiobject.c: (gst_mini_object_get_type),
27757 (gst_mini_object_free):
27758 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query),
27759 (gst_pad_push), (gst_pad_push_event):
27760 * gst/gstqueue.c: (gst_queue_change_state):
27761 Don't queue buffers in basesink when we are flushing.
27762 Unref buffer when flushing in basesink.
27763 Flush queue when going to READY
27764 Unref buffer when _push() returns an error.
27765 Don't free MiniObject instance when refcount is incremented
27766 in _finalize() so that we can recover objects.
27768 2005-05-17 Thomas Vander Stichele <thomas at apestaart dot org>
27770 * docs/manual/advanced-schedulers.xml:
27771 * docs/manual/appendix-checklist.xml:
27772 * docs/pwg/advanced-clock.xml:
27773 * docs/pwg/advanced-interfaces.xml:
27774 * docs/pwg/advanced-request.xml:
27775 * docs/pwg/advanced-types.xml:
27776 * docs/pwg/intro-preface.xml:
27777 * examples/plugins/example.c: (gst_example_get_type),
27778 (gst_example_class_init), (gst_example_chain),
27779 (gst_example_set_property), (gst_example_get_property),
27780 (gst_example_change_state), (plugin_init):
27781 * examples/plugins/example.h:
27784 2005-05-17 Wim Taymans <wim@fluendo.com>
27786 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_set_caps),
27787 (gst_pad_alloc_buffer), (gst_pad_query), (gst_pad_push):
27788 * gst/gstqueue.c: (gst_queue_change_state):
27789 Clear queue when going to READY.
27790 Remove IN_SETCAPS flag too.
27792 2005-05-17 Tim-Philipp Müller <tim at centricular dot net>
27794 * gst/base/gstbasesrc.c: (gst_basesrc_change_state):
27795 Remove implicit cast from gboolean to GstElementStateReturn;
27796 make sure we still return failure in paused => ready case if
27797 the parent class fails to change state and our own stop
27800 2005-05-17 Wim Taymans <wim@fluendo.com>
27802 * tools/gst-launch.c: (event_loop):
27803 Message was unreffed too soon.
27805 2005-05-16 Andy Wingo <wingo@pobox.com>
27807 * gst/gstbin.c (sink_iterator_filter): Err... um...
27809 * check/gst/gstbin.c (test_ghost_pads): New test for the
27810 ghosting-if-elements-not-in-same-bin behavior.
27812 2005-05-16 David Schleef <ds@schleef.org>
27814 * gst/gstminiobject.c: Use g_atomic_int_get() instead of
27815 accessing refcount directly.
27817 2005-05-15 David Schleef <ds@schleef.org>
27819 * check/Makefile.am: remove GstData checks
27820 * check/gst-libs/gdp.c: (START_TEST): fix for API changes
27821 * gst/Makefile.am: add miniobject, remove data
27822 * gst/gst.h: add miniobject, remove data
27823 * gst/gstdata.c: remove
27824 * gst/gstdata.h: remove
27825 * gst/gstdata_private.h: remove
27826 * gst/gsttypes.h: remove GstEvent and GstMessage
27827 * gst/gstelement.c: (gst_element_post_message): fix for API changes
27828 * gst/gstmarshal.list: change BOXED -> OBJECT
27830 Implement GstMiniObject.
27831 * gst/gstminiobject.c:
27832 * gst/gstminiobject.h:
27834 Modify to be subclasses of GstMiniObject.
27835 * gst/gstbuffer.c: (_gst_buffer_initialize), (gst_buffer_get_type),
27836 (gst_buffer_class_init), (gst_buffer_finalize), (_gst_buffer_copy),
27837 (gst_buffer_init), (gst_buffer_new), (gst_buffer_new_and_alloc),
27838 (gst_subbuffer_get_type), (gst_subbuffer_init),
27839 (gst_buffer_create_sub), (gst_buffer_is_span_fast),
27842 * gst/gstevent.c: (_gst_event_initialize), (gst_event_get_type),
27843 (gst_event_class_init), (gst_event_init), (gst_event_finalize),
27844 (_gst_event_copy), (gst_event_new):
27846 * gst/gstmessage.c: (_gst_message_initialize),
27847 (gst_message_get_type), (gst_message_class_init),
27848 (gst_message_init), (gst_message_finalize), (_gst_message_copy),
27849 (gst_message_new), (gst_message_new_error),
27850 (gst_message_new_warning), (gst_message_new_tag),
27851 (gst_message_new_state_changed), (gst_message_new_application):
27852 * gst/gstmessage.h:
27853 * gst/gstprobe.c: (gst_probe_perform),
27854 (gst_probe_dispatcher_dispatch):
27856 * gst/gstquery.c: (_gst_query_initialize), (gst_query_get_type),
27857 (gst_query_class_init), (gst_query_finalize), (gst_query_init),
27858 (_gst_query_copy), (gst_query_new):
27860 Update elements for GstData -> GstMiniObject changes
27862 * gst/gstqueue.c: (gst_queue_finalize), (gst_queue_locked_flush),
27863 (gst_queue_chain), (gst_queue_loop):
27864 * gst/elements/gstbufferstore.c:
27865 (gst_buffer_store_add_buffer_func),
27866 (gst_buffer_store_cleared_func), (gst_buffer_store_get_buffer):
27867 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
27868 (gst_fakesink_render):
27869 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
27870 * gst/elements/gstfilesrc.c: (gst_mmap_buffer_get_type),
27871 (gst_mmap_buffer_class_init), (gst_mmap_buffer_init),
27872 (gst_mmap_buffer_finalize), (gst_filesrc_map_region),
27873 (gst_filesrc_create_read):
27874 * gst/elements/gstidentity.c: (gst_identity_class_init):
27875 * gst/elements/gsttypefindelement.c:
27876 (gst_type_find_element_src_event), (free_entry_buffers),
27877 (gst_type_find_element_handle_event):
27878 * libs/gst/dataprotocol/dataprotocol.c:
27879 (gst_dp_header_from_buffer):
27880 * libs/gst/dataprotocol/dataprotocol.h:
27881 * libs/gst/dataprotocol/dp-private.h:
27883 2005-05-15 David Schleef <ds@schleef.org>
27885 * gst/elements/gstelements.c: Don't include headers that were
27888 2005-05-15 David Schleef <ds@schleef.org>
27890 * gst/elements/Makefile.am: Remove some elements that don't
27891 need to be in the core (or even exist at all).
27892 * gst/elements/gstaggregator.c:
27893 * gst/elements/gstaggregator.h:
27894 * gst/elements/gstmd5sink.c:
27895 * gst/elements/gstmd5sink.h:
27896 * gst/elements/gstmultifilesrc.c:
27897 * gst/elements/gstmultifilesrc.h:
27898 * gst/elements/gstpipefilter.c:
27899 * gst/elements/gstpipefilter.h:
27900 * gst/elements/gstshaper.c:
27901 * gst/elements/gstshaper.h:
27902 * gst/elements/gststatistics.c:
27903 * gst/elements/gststatistics.h:
27904 * po/POTFILES.in: Remove above files.
27906 2005-05-14 Andy Wingo <wingo@pobox.com>
27908 * gst/gstbin.c (gst_bin_iterate_sinks): Use sink_iterator_filter
27909 so as to get the refs right.
27910 (sink_iterator_filter): New function, wraps bin_element_is_sink,
27911 unreffing objects that don't pass the filter.
27913 * gst/gstpipeline.c (gst_pipeline_init): Drop ref on bus after
27914 gst_element_set_bus.
27915 (gst_pipeline_dispose): Set the bus on the pipeline to NULL. In
27916 normal cases, this will destroy the bus.
27918 * gst/gstutils.c (prepare_link_maybe_ghosting): Drop ref on root
27921 * gst/gstbin.c (gst_bin_change_state): Fix state changes if a bin
27924 2005-05-13 Andy Wingo <wingo@pobox.com>
27926 * gst/gstutils.c (gst_element_link_pads): Instead of calling
27927 gst_pad_link, call pad_link_maybe_ghosting,
27928 (pad_link_maybe_ghosting): Links pads, making sure that the
27929 elements being linked are in the same bin.
27930 (find_common_root, object_has_ancestor, ghost_up, remove_pad):
27931 Helpers for pad_link_maybe_ghosting.
27933 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
27936 Require GLib >= 2.4.0 (for the g_atomic_* funcs)
27938 2005-05-13 Tim-Philipp Müller <tim at centricular dot net>
27940 * docs/design/part-element-source.txt:
27943 2005-05-12 Wim Taymans <wim@fluendo.com>
27945 * gst/base/gstbasesink.c: (gst_basesink_init),
27946 (gst_basesink_activate):
27947 * gst/base/gstbasesrc.c: (gst_basesrc_unlock),
27948 (gst_basesrc_is_seekable):
27949 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_remove_func),
27950 (bin_element_is_sink), (gst_bin_change_state):
27951 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
27952 * gst/gstelement.h:
27953 Identify sinks by their flag to avoid overly complicated
27955 Do state changes even for elements not reachable from the
27957 BaseSink is a sink now :)
27958 Some more debugging info in the basesrc.
27961 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27963 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_query):
27964 Implement _query on a bin, similar to _send_event.
27966 2005-05-12 Tim-Philipp Müller <tim at centricular dot net>
27968 * gst/base/gstbasesrc.c: (gst_basesrc_do_seek):
27969 Discont event offset format should be GST_FORMAT_BYTES,
27970 not GST_FORMAT_TIME.
27972 2005-05-12 Wim Taymans <wim@fluendo.com>
27974 * gst/gstbin.c: (gst_bin_remove_func), (gst_bin_get_state):
27975 Same fix as Ronald's but without the signal.
27977 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27979 * gst/gstutils.c: (gst_element_query_position):
27980 No, an element is not a pad.
27982 2005-05-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
27984 * gst/gstbin.c: (gst_bin_add_func), (cb_parent_unset),
27985 (gst_bin_get_state):
27986 If a child is removed from a bin while we remove the child from
27987 the bin and while we're retrieving its state, signal this to the
27988 get_state function so we abort the wait (instead of waiting for
27989 a timeout) and can immediately re-iterate over all other elements.
27991 2005-05-12 Wim Taymans <wim@fluendo.com>
27993 * gst/base/Makefile.am:
27994 * gst/base/gstbasesrc.c: (gst_basesrc_is_seekable),
27995 (gst_basesrc_start):
27996 * gst/base/gstbasesrc.h:
27997 * gst/base/gstpushsrc.c: (gst_pushsrc_get_type),
27998 (gst_pushsrc_base_init), (gst_pushsrc_class_init),
27999 (gst_pushsrc_init), (gst_pushsrc_create):
28000 * gst/base/gstpushsrc.h:
28001 Added is_seekable to BaseSrc
28002 Added simple PushSrc.
28004 2005-05-11 Wim Taymans <wim@fluendo.com>
28006 * gst/gstelement.c: (gst_element_add_pad), (gst_element_query):
28007 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28008 (gst_element_link_pads), (gst_element_query_position),
28009 (gst_element_query_convert), (intersect_caps_func),
28010 (gst_pad_query_position), (gst_pad_query_convert):
28011 Fix refcounting in utils function.
28012 No point in trying to activate a pad when it's added, it could
28013 be added from the state change function and then we deadlock, the
28014 element has to decide what to do.
28016 2005-05-10 Andy Wingo <wingo@pobox.com>
28018 * gst/elements/gstfakesink.c (gst_fakesink_render): Er, emit with
28019 *all* the arguments.
28021 * gst/base/gstbasetransform.c (gst_base_transform_event): Grab the
28022 stream lock if it's a FLUSH_DONE; normal flushes don't get the
28023 lock (according to the docs -- if this is wrong change the docs).
28025 * gst/gstpipeline.c (gst_pipeline_change_state): Set the bus to
28026 flush messages in the NULL state.
28028 * gst/gstbus.c (gst_bus_post): If a bus is flushing, unref the
28029 message immediately and return.
28030 (gst_bus_set_flushing): New function. If a bus is flushing, it
28031 flushes out any queued messages and immediately unrefs new
28032 messages. This is so when an element goes to NULL, all of the
28033 unhandled messages coming from it can be freed, and their
28034 references to the element dropped. In other words: message source
28035 ref considered harmful :P
28037 * gst/gstbin.c (gst_bin_change_state): Unref peer element when
28038 we're finished with it.
28040 * gst/gstmessage.c (gst_message_new_state_changed):
28042 2005-05-10 Wim Taymans <wim@fluendo.com>
28044 * gst/gstvalue.c: (gst_value_compare_flags),
28045 (gst_value_serialize_flags), (gst_value_deserialize_flags),
28046 (_gst_value_initialize):
28047 Added flags serialize/deserialize/compare code.
28049 2005-05-09 Andy Wingo <wingo@pobox.com>
28051 * gst/base/gstbasetransform.c (gst_base_transform_proxy_getcaps):
28052 Intersect the peer's caps with our caps.
28054 2005-05-09 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28056 * gst/base/gsttypefindhelper.c: (helper_find_peek):
28057 * gst/elements/gsttypefindelement.c: (find_peek):
28058 Handle negative offsets better. Fixes decodebin.
28060 2005-05-09 Wim Taymans <wim@fluendo.com>
28062 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps),
28063 (gst_base_transform_event):
28064 * gst/gstpad.c: (gst_pad_accept_caps), (gst_pad_query):
28065 Implement accept_caps.
28066 Fix silly lock/unlock mismatch in base class.
28068 2005-05-09 Wim Taymans <wim@fluendo.com>
28070 * docs/design/draft-push-pull.txt:
28071 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_query):
28072 * gst/elements/gstfilesink.c: (gst_filesink_init),
28073 (gst_filesink_query):
28074 * gst/elements/gsttypefindelement.c: (gst_type_find_element_init),
28075 (gst_type_find_handle_src_query), (find_element_get_length):
28076 * gst/gstelement.c: (gst_element_seek), (gst_element_query):
28077 * gst/gstelement.h:
28078 * gst/gstmessage.c:
28079 * gst/gstmessage.h:
28080 * gst/gstpad.c: (gst_real_pad_init), (gst_pad_get_query_types),
28081 (gst_real_pad_get_caps_unlocked),
28082 (gst_pad_get_internal_links_default), (gst_pad_get_internal_links),
28083 (gst_pad_event_default_dispatch), (gst_pad_event_default),
28084 (gst_pad_dispatcher), (gst_pad_query), (gst_pad_query_default),
28085 (gst_real_pad_dispose), (gst_real_pad_finalize),
28086 (gst_pad_load_and_link), (gst_pad_save_thyself),
28087 (gst_ghost_pad_save_thyself), (handle_pad_block), (gst_pad_push),
28088 (gst_pad_check_pull_range), (gst_pad_pull_range),
28089 (gst_pad_template_get_type), (gst_pad_template_class_init),
28090 (gst_pad_template_init), (gst_pad_template_dispose),
28091 (name_is_valid), (gst_static_pad_template_get),
28092 (gst_pad_template_new), (gst_static_pad_template_get_caps),
28093 (gst_pad_template_get_caps), (gst_pad_set_element_private),
28094 (gst_pad_get_element_private), (gst_pad_start_task),
28095 (gst_pad_pause_task), (gst_pad_stop_task),
28096 (gst_ghost_pad_get_type), (gst_ghost_pad_class_init),
28097 (gst_ghost_pad_init), (gst_ghost_pad_dispose),
28098 (gst_ghost_pad_set_property), (gst_ghost_pad_get_property),
28099 (gst_ghost_pad_new):
28101 * gst/gstquery.c: (_gst_query_initialize), (gst_query_new),
28102 (gst_query_new_position), (gst_query_set_position),
28103 (gst_query_parse_position), (gst_query_new_convert),
28104 (gst_query_set_convert), (gst_query_parse_convert):
28106 * gst/gstqueryutils.c:
28107 * gst/gstqueryutils.h:
28108 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28109 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28110 (gst_queue_handle_src_query):
28111 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28112 (gst_element_query_position), (gst_element_query_convert),
28113 (intersect_caps_func), (gst_pad_query_position),
28114 (gst_pad_query_convert):
28116 * tools/gst-inspect.c: (print_pad_info):
28117 * tools/gst-xmlinspect.c: (print_element_info):
28118 Remove old query functions. Ported old code.
28119 Added position/convert helper functions to gstutils.
28120 Reordered gstpad.c code, grouping relevant things.
28121 Remove gst_message_new(), always need to speficy a specific
28125 2005-05-09 Andy Wingo <wingo@pobox.com>
28127 * gst/gstiterator.h: Add some includes.
28129 * gst/gstqueryutils.h: Include more headers.
28132 * gst/gstpad.c (gst_pad_query_position): New routine, replaces
28133 some uses of gst_pad_query.
28135 * gst/gstqueryutils.c: Build fixes. Make parse functions ignore
28136 NULL out parameters.
28137 (gst_query_new_position): New proc, allocates a new position
28140 * gst/Makefile.am (libgstreamer_@GST_MAJORMINOR@_la_SOURCES): Add
28141 gstqueryutils.c to the build.
28143 * gst/gststructure.c (gst_structure_set_valist): Implement with
28144 the generic G_VALUE_COLLECT.
28146 2005-05-08 Edward Hervey <bilboed@bilboed.com>
28148 * gst/Makefile.am: (gst_headers):
28149 Added gstqueryutils.h to the list of headers to install, that was
28150 a 'nachty' move wingo :)
28152 2005-05-06 Andy Wingo <wingo@pobox.com>
28155 * gst/gstquery.c (_gst_query_initialize): Extend GstQuery from
28156 GstData, init a memchunk.
28157 (standard_definitions): Add a few query types, deprecate a few.
28158 (gst_query_get_type): New proc.
28159 (_gst_query_copy, _gst_query_free, gst_query_new): GstData
28161 (gst_query_new_application, gst_query_get_structure): New public
28164 * docs/design/draft-query.txt: Removed LINKS from the query types,
28165 because all the rest can be dispatched to other pads -- seemed
28166 ugly to have a query that couldn't be dispatched. internal_links
28167 is fine as a pad method.
28169 * gst/gstpad.h: Add query2 as a pad method, add the new functions
28170 in gstpad.c, but maintain binary compatibility for the moment.
28171 Will fix before 0.9 is out.
28173 * gst/gstqueryutils.c:
28174 * gst/gstqueryutils.h: New files, implement 3 methods for each
28175 query type: parse_query, parse_response, and set. Probably need an
28178 * gst/gst.h: Add gstquery.h and gstqueryutils.h to the list.
28180 * gst/elements/gstfilesink.c (gst_filesink_query2):
28181 * gst/base/gstbasesrc.c (gst_basesrc_query2): Replace old query,
28182 query_types, and formats methods.
28184 * gst/gstpad.c (gst_pad_query2, gst_pad_query2_default)
28185 (gst_pad_set_query2_function): New functions.
28186 (gst_real_pad_init): Set query2_default as the default query2
28187 function. Basically just dispatches to internally linked pads.
28191 * gst/gstdata_private.h (_GST_DATA_INIT): Set data->refcount to 1
28192 without using the atomic operations. Only one thread can possibly
28193 be accessing the data at this point. Changed so as to avoid
28194 gst_atomic operations.
28196 2005-05-06 Wim Taymans <wim@fluendo.com>
28198 * gst/gstpad.c: (gst_pad_alloc_buffer), (gst_pad_push):
28199 Also set caps if we use the fallback buffer alloc.
28201 2005-05-06 Tim-Philipp Müller <tim at centricular dot net>
28203 * docs/gst/Makefile.am:
28204 * docs/gst/gstreamer-docs.sgml:
28205 * docs/gst/gstreamer-sections.txt:
28206 * docs/gst/tmpl/gstatomic.sgml:
28207 * docs/gst/tmpl/gstmemchunk.sgml:
28208 * testsuite/elements/struct_i386.h:
28209 * win32/GStreamer.vcproj:
28211 Purge GstAtomic stuff from docs and win32 makefiles as well
28213 2005-05-06 Wim Taymans <wim@fluendo.com>
28215 * gst/base/gstbasetransform.c: (gst_base_transform_proxy_getcaps):
28216 * gst/elements/gstcapsfilter.c: (gst_capsfilter_getcaps):
28217 * gst/gstpad.c: (gst_pad_peer_get_caps):
28218 * gst/gstqueue.c: (gst_queue_init), (gst_queue_getcaps),
28219 (gst_queue_bufferalloc), (gst_queue_handle_sink_event),
28220 (gst_queue_src_activate), (gst_queue_change_state):
28222 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28223 (intersect_caps_func):
28224 Fix gst_pad_peer_get_caps(), make it return NULL if no peer.
28225 Always take QUEUE_LOCK after STREAM_LOCK or we might deadlock.
28226 Some fixes for the peer_get_caps() change.
28228 2005-05-06 Wim Taymans <wim@fluendo.com>
28230 * gst/base/gstbasesink.c: (gst_basesink_preroll_queue_empty),
28231 (gst_basesink_handle_buffer), (gst_basesink_chain_unlocked),
28232 (gst_basesink_activate):
28233 Actually do something with error codes returned from the push
28236 2005-05-06 Wim Taymans <wim@fluendo.com>
28238 * docs/design/part-element-sink.txt:
28239 * docs/design/part-element-source.txt:
28240 * gst/base/gstbasesink.c: (gst_basesink_class_init),
28241 (gst_basesink_event), (gst_basesink_activate):
28242 * gst/base/gstbasesink.h:
28243 * gst/base/gstbasesrc.c: (gst_basesrc_init), (gst_basesrc_unlock),
28244 (gst_basesrc_activate):
28245 * gst/base/gstbasesrc.h:
28246 * gst/gstelement.c: (gst_element_pads_activate):
28247 Some more documentation.
28248 Fixed scheduling decision in _pads_activate().
28250 2005-05-05 Andy Wingo <wingo@pobox.com>
28252 * check/pipelines/simple_launch_lines.c (test_2_elements): "Fix"
28255 2005-05-05 Wim Taymans <wim@fluendo.com>
28257 * gst/base/Makefile.am:
28258 * gst/base/gstbasesink.h:
28259 * gst/base/gstbasesrc.c: (gst_basesrc_init),
28260 (gst_basesrc_set_dataflow_funcs), (gst_basesrc_query):
28261 * gst/base/gstcollectpads.c: (gst_collectpads_get_type),
28262 (gst_collectpads_class_init), (gst_collectpads_init),
28263 (gst_collectpads_finalize), (gst_collectpads_new),
28264 (gst_collectpads_set_function), (gst_collectpads_add_pad),
28265 (find_pad), (gst_collectpads_remove_pad),
28266 (gst_collectpads_is_active), (gst_collectpads_collect),
28267 (gst_collectpads_collect_range), (gst_collectpads_start),
28268 (gst_collectpads_stop), (gst_collectpads_peek),
28269 (gst_collectpads_pop), (gst_collectpads_available),
28270 (gst_collectpads_read), (gst_collectpads_flush),
28271 (gst_collectpads_chain):
28272 * gst/base/gstcollectpads.h:
28273 * gst/elements/Makefile.am:
28274 * gst/elements/gstelements.c:
28275 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28276 (gst_fakesink_get_times), (gst_fakesink_event),
28277 (gst_fakesink_preroll), (gst_fakesink_render):
28278 * gst/elements/gstfilesink.c: (gst_filesink_class_init),
28279 (gst_filesink_init), (gst_filesink_set_location),
28280 (gst_filesink_open_file), (gst_filesink_close_file),
28281 (gst_filesink_pad_query), (gst_filesink_event),
28282 (gst_filesink_render), (gst_filesink_change_state):
28283 * gst/elements/gstfilesink.h:
28284 Added object to help in making collect pad based elements.
28286 Make event function in sink baseclass return gboolean.
28288 2005-05-05 Wim Taymans <wim@fluendo.com>
28290 * gst/gstbin.c: (gst_bin_send_event), (compare_name),
28291 (gst_bin_get_by_name):
28293 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_class_init),
28294 (gst_clock_finalize):
28295 * gst/gstdata.c: (gst_data_replace):
28297 * gst/gstelement.c: (gst_element_request_pad),
28298 (gst_element_pads_activate):
28299 * gst/gstobject.c: (gst_object_init), (gst_object_ref),
28300 (gst_object_unref):
28301 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28302 (gst_pad_set_checkgetrange_function),
28303 (gst_pad_link_check_compatible_unlocked), (gst_pad_set_caps),
28304 (gst_pad_check_pull_range), (gst_pad_pull_range),
28305 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28306 (gst_pad_pause_task), (gst_pad_stop_task):
28307 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
28308 (gst_element_request_pad), (gst_pad_proxy_getcaps):
28309 Fix name lookup in GstBin.
28310 Added _data_replace() function and _buffer_replace()
28311 Use finalize method to clean up clock.
28312 Fix refcounting on request pads.
28313 Fix pad schedule mode error.
28314 Some more object refcounting debug info,
28317 2005-05-04 Andy Wingo <wingo@pobox.com>
28319 * check/Makefile.am:
28320 * docs/gst/tmpl/gstatomic.sgml:
28321 * docs/gst/tmpl/gstplugin.sgml:
28322 * gst/base/gstbasesink.c: (gst_basesink_activate):
28323 * gst/base/gstbasesrc.c: (gst_basesrc_class_init),
28324 (gst_basesrc_init), (gst_basesrc_set_dataflow_funcs),
28325 (gst_basesrc_query), (gst_basesrc_set_property),
28326 (gst_basesrc_get_property), (gst_basesrc_check_get_range),
28327 (gst_basesrc_activate):
28328 * gst/base/gstbasesrc.h:
28329 * gst/base/gstbasetransform.c: (gst_base_transform_sink_activate),
28330 (gst_base_transform_src_activate):
28331 * gst/elements/gstelements.c:
28332 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28333 (gst_fakesrc_set_property), (gst_fakesrc_get_property):
28334 * gst/elements/gsttee.c: (gst_tee_sink_activate):
28335 * gst/elements/gsttypefindelement.c: (find_element_get_length),
28336 (gst_type_find_element_checkgetrange),
28337 (gst_type_find_element_activate):
28338 * gst/gstbin.c: (gst_bin_save_thyself), (gst_bin_restore_thyself):
28339 * gst/gstcaps.c: (gst_caps_do_simplify), (gst_caps_save_thyself),
28340 (gst_caps_load_thyself):
28341 * gst/gstelement.c: (gst_element_pads_activate),
28342 (gst_element_save_thyself), (gst_element_restore_thyself):
28343 * gst/gstpad.c: (gst_pad_load_and_link), (gst_pad_save_thyself),
28344 (gst_ghost_pad_save_thyself), (gst_pad_check_pull_range):
28346 * gst/gstxml.c: (gst_xml_write), (gst_xml_parse_doc),
28347 (gst_xml_parse_file), (gst_xml_parse_memory),
28348 (gst_xml_get_element), (gst_xml_make_element):
28349 * gst/indexers/gstfileindex.c: (gst_file_index_load),
28350 (_file_index_id_save_xml), (gst_file_index_commit):
28351 * gst/registries/gstlibxmlregistry.c: (read_string), (read_uint),
28352 (read_enum), (load_pad_template), (load_feature), (load_plugin),
28354 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_caps),
28355 (gst_dp_packet_from_event), (gst_dp_caps_from_packet):
28356 * tools/gst-complete.c: (main):
28357 * tools/gst-compprep.c: (main):
28358 * tools/gst-inspect.c: (print_element_properties_info):
28359 * tools/gst-launch.c: (xmllaunch_parse_cmdline):
28360 * tools/gst-xmlinspect.c: (print_element_properties):
28363 2005-05-03 Thomas Vander Stichele <thomas at apestaart dot org>
28365 * gst/gstplugin.c: (gst_plugin_check_module),
28366 (gst_plugin_check_file), (gst_plugin_load_file):
28367 apply patch from #172526 to make register work on MacOSX
28369 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28371 * docs/gst/tmpl/gstconfig.sgml:
28372 * gst/gstconfig.h.in:
28373 move documentation for some symbols. Add doc for GST_PTR_FORMAT
28374 * testsuite/debug/printf_extension.c: (main):
28375 Do not use GST_PTR_FORMAT on pointers to types with
28376 sizeof < sizeof(gpointer). Fixes test on 64-bit
28377 * testsuite/elements/property.h:
28378 use correct printf format
28380 2005-05-02 Wim Taymans <wim@fluendo.com>
28382 * docs/design/draft-push-pull.txt:
28383 * docs/design/draft-query.txt:
28384 * gst/base/gstbasesrc.c: (gst_basesrc_get_range_unlocked),
28385 (gst_basesrc_start):
28386 Added draft for new query API.
28387 Added draft for better selecting scheduling methods.
28388 Make basesrc ignore length if the subclass does not support
28391 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28394 possible fixes for automake-1.5 - _LIBADD is reserved
28396 2005-05-02 Thomas Vander Stichele <thomas at apestaart dot org>
28398 * docs/faq/Makefile.am:
28399 * docs/manual/Makefile.am:
28400 * docs/manuals.mak:
28401 * docs/pwg/Makefile.am:
28403 possible fixes for automake-1.5
28405 2005-04-28 Wim Taymans <wim@fluendo.com>
28407 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28408 (gst_basesink_pad_getcaps), (gst_basesink_init),
28409 (gst_basesink_do_sync):
28410 * gst/gstclock.c: (gst_clock_entry_new):
28411 * gst/gstevent.c: (gst_event_discont_get_value):
28412 * gst/gstpipeline.c: (pipeline_bus_handler),
28413 (gst_pipeline_change_state):
28414 * gst/gstsystemclock.c: (gst_system_clock_id_wait_unlocked):
28415 Better debugging of clocking info.
28416 Allow NULL values when getting discont values.
28418 2005-04-27 Wim Taymans <wim@fluendo.com>
28420 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
28421 * check/gst/gstpad.c: (gst_pad_suite):
28422 Increase timeout for checks.
28424 2005-04-27 Thomas Vander Stichele <thomas (at) apestaart (dot) org>
28426 * check/Makefile.am:
28427 fix the broken rule for cleanup. Apparently this rule is
28428 only needed on FC2, so maybe this warrants further autotool
28431 2005-04-26 Wim Taymans <wim@fluendo.com>
28433 * gst/gsttrashstack.h:
28434 Ooohh. a nasty one! After having a failed pop() from the stack,
28435 it's possible that the stack is empty. In that case, don't
28436 follow the NULL pointer.
28438 2005-04-25 Wim Taymans <wim@fluendo.com>
28440 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28441 (gst_pad_set_checkgetrange_function),
28442 (gst_pad_link_check_compatible_unlocked), (gst_pad_link_prepare),
28443 (gst_pad_check_pull_range), (gst_pad_pull_range),
28444 (gst_static_pad_template_get_caps), (gst_pad_start_task),
28445 (gst_pad_pause_task), (gst_pad_stop_task):
28446 * gst/gstplugin.c: (gst_plugin_load):
28448 Remove gst_library_load as it does more harm than good with
28449 the new g_module flags.
28450 Revert bogus caps template check in pad linking, pad caps
28451 are important when linking not the template, which is more
28452 general than the current caps.
28454 2005-04-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28456 * gst/autoplug/.cvsignore:
28457 * gst/autoplug/Makefile.am:
28458 * gst/autoplug/gstsearchfuncs.c:
28459 * gst/autoplug/gstsearchfuncs.h:
28460 * gst/autoplug/gstspider.c:
28461 * gst/autoplug/gstspider.h:
28462 * gst/autoplug/gstspideridentity.c:
28463 * gst/autoplug/gstspideridentity.h:
28464 * gst/autoplug/spidertest.c:
28467 2005-04-25 Wim Taymans <wim@fluendo.com>
28469 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28470 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28471 (gst_pad_pull_range), (gst_static_pad_template_get_caps),
28472 (gst_pad_start_task), (gst_pad_pause_task), (gst_pad_stop_task):
28474 Added stubs for unimplemented functions.
28476 2005-04-24 David Schleef <ds@schleef.org>
28478 * gst/gstpad.h: Disable some unimplemented functions. Wim,
28481 2005-04-24 David Schleef <ds@schleef.org>
28483 Convert everything from GstAtomicInt to g_atomic_int_*, and
28488 * gst/gstatomic_impl.h:
28496 * gst/gstdata_private.h:
28500 * gst/gstmessage.c:
28503 * gst/gststructure.c:
28504 * gst/gststructure.h:
28505 * gst/gstutils.c: Add gst_atomic_int_set() compaitibility function.
28508 2005-04-24 David Schleef <ds@schleef.org>
28510 * check/gst/gstpad.c: (START_TEST): Oh yeah, it's always nice to
28511 make the regressions tests work. Remove some code that is no
28513 * gst/gstpad.c: (gst_pad_link_check_templates_compatible_unlocked):
28514 Disable warning for pads without templates.
28516 2005-04-24 David Schleef <ds@schleef.org>
28518 * gst/gstpad.c: Remove handling of filtered caps. Fix/merge
28519 functions that handle filtered links.
28520 * gst/gstpad.h: Remove 'appfilter' field and prototypes of
28522 * gst/gstutils.c: Fix/remove utility functions that handle
28525 * gst/gstvalue.c: Add serialization/deserialization of caps
28526 * gst/parse/grammar.y: Ignore filtered caps when linking. This
28527 requires fixing so that the filter caps notation creates
28528 a capsfilter element and sets the filter_caps property. I
28529 think everyone probably wants to keep the shorthand notation.
28530 * docs/gst/tmpl/gstelement.sgml: updates for API changes.
28531 * docs/gst/tmpl/gstpad.sgml:
28533 * gst/elements/gstelements.c: Register capsfilter element.
28534 * gst/Makefile.am: fix spacing
28535 * docs/random/ds/0.9-suggested-changes: random
28537 2005-04-23 David Schleef <ds@schleef.org>
28539 * gst/elements/Makefile.am:
28540 * gst/elements/gstcapsfilter.c: New element that acts like an
28541 identity, but filters caps. Will eventually replace filtered
28542 caps in pad linking.
28543 * gst/gstutils.c: (gst_element_create_all_pads): New function
28544 to create all the ALWAYS pads that are registered with an
28545 element class. This functionality should eventually be
28546 merged in with GstElement initialization.
28548 * testsuite/trigger/README: part of trigger test code that should
28549 have been checked in a long time ago.
28551 2005-04-23 David Schleef <ds@schleef.org>
28553 * gst/Makefile.am: Remove as-libtool stuff. It's likely not
28554 needed with new versions of libtool (nobody will confirm this),
28555 and hard to carry around.
28556 * gst/autoplug/Makefile.am:
28557 * gst/base/Makefile.am:
28558 * gst/elements/Makefile.am:
28559 * gst/indexers/Makefile.am:
28560 * gst/schedulers/Makefile.am:
28561 * libs/gst/bytestream/Makefile.am:
28562 * libs/gst/control/Makefile.am:
28563 * libs/gst/dataprotocol/Makefile.am:
28564 * libs/gst/getbits/Makefile.am:
28566 2005-04-21 Wim Taymans <wim@fluendo.com>
28568 * docs/design/draft-push-pull.txt:
28569 * docs/design/part-MT-refcounting.txt:
28570 * docs/design/part-TODO.txt:
28571 * docs/design/part-caps.txt:
28572 * docs/design/part-events.txt:
28573 * docs/design/part-gstbus.txt:
28574 * docs/design/part-gstpipeline.txt:
28575 * docs/design/part-messages.txt:
28576 * docs/design/part-push-pull.txt:
28577 * docs/design/part-query.txt:
28580 2005-04-21 Wim Taymans <wim@fluendo.com>
28582 * gst/gstmessage.c: (_gst_message_copy), (_gst_message_free),
28583 (gst_message_new), (gst_message_new_error),
28584 (gst_message_new_warning), (gst_message_new_tag),
28585 (gst_message_new_state_changed), (gst_message_new_application),
28586 (gst_message_get_structure):
28587 * gst/gstmessage.h:
28588 * gst/gststructure.c: (gst_structure_set_parent_refcount),
28589 (gst_structure_copy_conditional):
28590 Use parent refcount in GstMessage to ensure GstStructure
28592 Cleaned up headers a bit.
28595 2005-04-20 Wim Taymans <wim@fluendo.com>
28597 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28598 (gst_basesink_pad_getcaps), (gst_basesink_init),
28599 (gst_basesink_chain_unlocked):
28600 * gst/base/gsttypefindhelper.c: (helper_find_suggest),
28601 (gst_type_find_helper):
28602 * gst/elements/gsttypefindelement.c:
28603 (gst_type_find_element_have_type), (gst_type_find_element_init),
28604 (stop_typefinding), (gst_type_find_element_handle_event),
28605 (find_suggest), (gst_type_find_element_chain),
28606 (gst_type_find_element_checkgetrange),
28607 (gst_type_find_element_getrange), (do_typefind),
28608 (gst_type_find_element_activate):
28609 * gst/gstbuffer.c: (_gst_buffer_sub_free),
28610 (gst_buffer_default_free), (gst_buffer_default_copy),
28611 (gst_buffer_set_caps):
28612 * gst/gstcaps.c: (gst_caps_ref), (gst_caps_unref),
28613 (gst_caps_replace):
28614 * gst/gstmessage.c: (gst_message_new),
28615 (gst_message_new_state_changed):
28616 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28617 (gst_pad_set_checkgetrange_function),
28618 (gst_pad_link_prepare_filtered), (gst_pad_relink_filtered),
28619 (gst_pad_set_caps), (gst_pad_check_pull_range),
28620 (gst_pad_pull_range), (gst_static_pad_template_get_caps):
28622 * gst/gsttypefind.c: (gst_type_find_register):
28623 Make gst_caps_replace() work like other _replace() functions.
28624 Use _caps_replace() where possible.
28625 Make sure _message_new() initialises its field.
28626 Add gst_static_pad_template_get_caps()
28629 2005-04-18 Andy Wingo <wingo@pobox.com>
28631 * gst/gstelement.c (gst_element_pads_activate): Check pull_range
28632 on the peer, not the pad. I think that was a typo. Pass an extra
28633 arg to see if random access is possible. Activate the pads as
28634 PULL_RANGE if possible.
28636 * gst/elements/gstfakesrc.c: s/ARG_/PROP_/.
28638 * gst/base/gstbasesrc.c (gst_basesrc_set_property)
28639 (gst_basesrc_get_property): BLOCKSIZE is a ULONG. Rename ARG_...
28642 2005-04-14 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28644 * docs/faq/using.xml:
28645 Add note on gstreamer-properties (#154996).
28647 2005-04-13 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28649 * docs/random/bbb/optional-properties:
28650 Some analysis on optional properties.
28652 2005-04-12 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
28654 * docs/gst/tmpl/gstelementfactory.sgml:
28655 * gst/gstelement.h:
28656 * gst/gstelementfactory.c: (gst_element_factory_init),
28657 (gst_element_factory_cleanup), (gst_element_register),
28658 (__gst_element_factory_add_static_pad_template),
28659 (gst_element_factory_get_static_pad_templates),
28660 (gst_element_factory_can_src_caps),
28661 (gst_element_factory_can_sink_caps):
28662 * gst/registries/Makefile.am:
28663 * gst/registries/gstlibxmlregistry.c: (gst_xml_registry_get_type),
28664 (gst_xml_registry_class_init), (gst_xml_registry_init),
28665 (gst_xml_registry_new), (gst_xml_registry_set_property),
28666 (gst_xml_registry_get_property), (get_time), (make_dir),
28667 (gst_xml_registry_get_perms_func),
28668 (plugin_times_older_than_recurse), (plugin_times_older_than),
28669 (gst_xml_registry_open_func), (gst_xml_registry_load_func),
28670 (gst_xml_registry_save_func), (gst_xml_registry_close_func),
28671 (add_to_char_array), (read_string), (read_uint), (read_enum),
28672 (load_pad_template), (load_feature), (load_plugin), (load_paths),
28673 (gst_xml_registry_load), (gst_xml_registry_load_plugin),
28674 (gst_xml_registry_save_caps), (gst_xml_registry_save_pad_template),
28675 (gst_xml_registry_save_feature), (gst_xml_registry_save_plugin),
28676 (gst_xml_registry_save), (gst_xml_registry_rebuild_recurse),
28677 (gst_xml_registry_rebuild):
28678 * gst/registries/gstlibxmlregistry.h:
28679 * tools/gst-compprep.c: (main):
28680 * tools/gst-inspect.c: (print_pad_templates_info):
28681 * tools/gst-xmlinspect.c: (print_element_info):
28682 Use libxml2 for registry parsing, use staticpadtemplates in
28683 elementfactories. Makes gst_init() +/- 10x faster.
28685 2005-04-12 Wim Taymans <wim@fluendo.com>
28687 * gst/base/Makefile.am:
28688 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28689 (gst_basesink_pad_getcaps), (gst_basesink_init),
28690 (gst_basesink_event), (gst_basesink_change_state):
28691 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28692 (gst_basesrc_init), (gst_basesrc_query),
28693 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28694 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28695 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28696 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28697 (gst_basesrc_stop), (gst_basesrc_activate),
28698 (gst_basesrc_change_state):
28699 * gst/base/gsttypefindhelper.c: (helper_find_peek),
28700 (helper_find_suggest), (gst_type_find_helper):
28701 * gst/base/gsttypefindhelper.h:
28702 * gst/elements/Makefile.am:
28703 * gst/elements/gstelements.c:
28704 * gst/elements/gstfakesink.c: (gst_fakesink_class_init),
28705 (gst_fakesink_get_times), (gst_fakesink_event),
28706 (gst_fakesink_preroll), (gst_fakesink_render):
28707 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
28708 (gst_fakesrc_init), (gst_fakesrc_event_handler),
28709 (gst_fakesrc_get_property), (gst_fakesrc_create),
28710 (gst_fakesrc_start), (gst_fakesrc_stop):
28711 * gst/elements/gstfakesrc.h:
28712 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init),
28713 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28714 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28715 (gst_filesrc_create_read), (gst_filesrc_create),
28716 (gst_filesrc_is_seekable), (gst_filesrc_get_size),
28717 (gst_filesrc_start):
28718 * gst/elements/gsttypefindelement.c:
28719 (gst_type_find_element_have_type), (gst_type_find_element_init),
28720 (start_typefinding), (stop_typefinding), (push_buffer_store),
28721 (gst_type_find_element_handle_event),
28722 (gst_type_find_element_chain),
28723 (gst_type_find_element_checkgetrange),
28724 (gst_type_find_element_getrange), (do_typefind),
28725 (gst_type_find_element_activate),
28726 (gst_type_find_element_change_state):
28727 * gst/elements/gsttypefindelement.h:
28728 * gst/gstpipeline.c: (pipeline_bus_handler):
28729 Added typefind helper.
28730 Small preroll fix in the base sink.
28731 Disable typefind code in basesrc.
28732 Crude port of typefindelement.
28736 2005-04-11 Wim Taymans <wim@fluendo.com>
28738 * check/gst/gstbus.c: (gstbus_suite):
28739 * check/gst/gstdata.c: (thread_ref), (gst_data_suite):
28740 * check/gstcheck.h:
28741 Fix up the timeout so that the test does not fail.
28743 2005-04-06 Wim Taymans <wim@fluendo.com>
28746 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28747 (gst_basesrc_init), (gst_basesrc_get_formats), (gst_basesrc_query),
28748 (gst_basesrc_get_event_mask), (gst_basesrc_do_seek),
28749 (gst_basesrc_event_handler), (gst_basesrc_get_range_unlocked),
28750 (gst_basesrc_check_get_range), (gst_basesrc_loop),
28751 (gst_basesrc_unlock), (gst_basesrc_get_size), (gst_basesrc_start),
28752 (gst_basesrc_stop), (gst_basesrc_activate),
28753 (gst_basesrc_change_state), (basesrc_find_peek),
28754 (basesrc_find_suggest), (gst_basesrc_type_find):
28755 * gst/base/gstbasesrc.h:
28756 * gst/elements/gstfilesrc.c: (gst_filesrc_base_init),
28757 (gst_filesrc_class_init), (gst_filesrc_init),
28758 (gst_filesrc_finalize), (gst_filesrc_set_location),
28759 (gst_filesrc_set_property), (gst_filesrc_get_property),
28760 (gst_filesrc_free_parent_mmap), (gst_filesrc_map_region),
28761 (gst_filesrc_map_small_region), (gst_filesrc_create_mmap),
28762 (gst_filesrc_create_read), (gst_filesrc_create),
28763 (gst_filesrc_get_size), (gst_filesrc_start), (gst_filesrc_stop):
28764 * gst/elements/gstfilesrc.h:
28765 * gst/gstelement.c: (gst_element_get_state_func),
28766 (gst_element_lost_state), (gst_element_pads_activate):
28767 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28768 (gst_pad_set_checkgetrange_function), (gst_pad_check_pull_range),
28769 (gst_pad_pull_range):
28771 More work on the generic source base class, implement seeking,
28773 Make filesrc extend the base source class.
28774 Added gst_pad_set_checkgetrange_function to GstPad.
28776 2005-04-06 Andy Wingo <wingo@pobox.com>
28778 * pkgconfig/gstreamer-base.pc.in:
28779 * pkgconfig/gstreamer-base-uninstalled.pc.in: New files.
28781 * pkgconfig/Makefile.am:
28782 * configure.ac (AC_OUTPUT): Add gstreamer-base pkgconfig files.
28784 2005-04-04 Wim Taymans <wim@fluendo.com>
28786 * gst/base/Makefile.am:
28788 * gst/base/gstbasesink.c: (gst_basesink_base_init),
28789 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28790 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28791 (gst_basesink_do_sync), (gst_basesink_chain_unlocked):
28792 * gst/base/gstbasesrc.c: (gst_basesrc_get_type),
28793 (gst_basesrc_base_init), (gst_basesrc_class_init),
28794 (gst_basesrc_init), (gst_basesrc_get_formats),
28795 (gst_basesrc_get_query_types), (gst_basesrc_query),
28796 (gst_basesrc_get_event_mask), (gst_basesrc_event_handler),
28797 (gst_basesrc_set_property), (gst_basesrc_get_property),
28798 (gst_basesrc_get_range_unlocked), (gst_basesrc_get_range),
28799 (gst_basesrc_loop), (gst_basesrc_activate),
28800 (gst_basesrc_change_state):
28801 * gst/base/gstbasesrc.h:
28802 * gst/elements/gstfakesrc.c: (gst_fakesrc_base_init),
28803 (gst_fakesrc_class_init), (gst_fakesrc_init),
28804 (gst_fakesrc_event_handler), (gst_fakesrc_set_property),
28805 (gst_fakesrc_get_property), (gst_fakesrc_create):
28806 * gst/elements/gstfakesrc.h:
28807 * gst/elements/gstfilesrc.c: (gst_filesrc_getrange),
28808 (gst_filesrc_open_file), (gst_filesrc_loop),
28809 (gst_filesrc_activate), (filesrc_find_peek),
28810 (gst_filesrc_type_find):
28811 Made base source class, make fakesrc extend it.
28812 Add comments to basesink class.
28813 Some filesrc cleanup.
28815 2005-03-31 David Schleef <ds@schleef.org>
28817 * gst/gstplugin.c: (gst_plugin_check_file), (gst_plugin_load_file):
28818 Switch to using G_MODULE_BIND_LOCAL, which means plugins are now
28819 expected to link against libgstreamer.
28820 * gst/base/Makefile.am: link against libgstreamer
28821 * gst/elements/Makefile.am: same
28823 2005-03-31 Andy Wingo <wingo@pobox.com>
28825 * tests/instantiate/Makefile.am:
28826 * tests/instantiate/caps.c: Add test to test speed of caps copy
28829 * tests/memchunk/gmemchunktest.c (main): Use alloc only on the
28830 GMemChunk to be fair.
28832 * gst/gsttrashstack.h: Remove warning about using the fallback
28833 trash stack implementation, it's still faster than malloc.
28835 2005-03-30 Andy Wingo <wingo@pobox.com>
28837 * tests/complexity.c: Add a copyright.
28839 2005-03-31 Wim Taymans <wim@fluendo.com>
28841 * gst/base/gstbasetransform.c: (gst_base_transform_base_init),
28842 (gst_base_transform_class_init), (gst_base_transform_init),
28843 (gst_base_transform_setcaps), (gst_base_transform_handle_buffer),
28844 (gst_base_transform_get_property),
28845 (gst_base_transform_sink_activate),
28846 (gst_base_transform_src_activate),
28847 (gst_base_transform_change_state):
28848 * gst/base/gstbasetransform.h:
28849 * gst/elements/gstidentity.c: (gst_identity_class_init),
28850 (gst_identity_event), (gst_identity_check_perfect),
28851 (gst_identity_transform), (gst_identity_start),
28852 (gst_identity_stop):
28853 Added start/stop methods to transform base class so subclasses
28854 don't need to deal with state changes even.
28856 2005-03-31 Wim Taymans <wim@fluendo.com>
28858 * gst/gstevent.c: (gst_event_new_discontinuous_valist),
28859 (gst_event_new_discontinuous), (gst_event_discont_get_value):
28861 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28862 (gst_pad_pull_range):
28863 Added rate to the discont event to prepare for variable speed
28864 and reverse playback.
28866 2005-03-29 David Schleef <ds@schleef.org>
28869 * testsuite/trigger/Makefile.am:
28870 * testsuite/trigger/trigger.c: A little example program to show
28871 how trigger-based elements can work.
28873 2005-03-29 Wim Taymans <wim@fluendo.com>
28875 * gst/base/Makefile.am:
28877 * gst/base/gstbasesink.c: (gst_basesink_get_type),
28878 (gst_basesink_base_init), (gst_basesink_class_init),
28879 (gst_basesink_pad_getcaps), (gst_basesink_init),
28880 (gst_basesink_activate), (gst_basesink_change_state):
28881 * gst/base/gstbasesink.h:
28882 * gst/base/gstbasetransform.c: (gst_base_transform_get_type),
28883 (gst_base_transform_base_init), (gst_base_transform_finalize),
28884 (gst_base_transform_class_init), (gst_base_transform_init),
28885 (gst_base_transform_proxy_getcaps), (gst_base_transform_setcaps),
28886 (gst_base_transform_event), (gst_base_transform_getrange),
28887 (gst_base_transform_chain), (gst_base_transform_handle_buffer),
28888 (gst_base_transform_set_property),
28889 (gst_base_transform_get_property),
28890 (gst_base_transform_sink_activate),
28891 (gst_base_transform_src_activate),
28892 (gst_base_transform_change_state):
28893 * gst/base/gstbasetransform.h:
28894 * gst/elements/gstidentity.c: (gst_identity_finalize),
28895 (gst_identity_class_init), (gst_identity_init),
28896 (gst_identity_event), (gst_identity_check_perfect),
28897 (gst_identity_transform), (gst_identity_set_property),
28898 (gst_identity_get_property), (gst_identity_change_state):
28899 * gst/elements/gstidentity.h:
28900 * gst/gstelement.c: (gst_element_get_state_func),
28901 (gst_element_lost_state), (gst_element_pads_activate):
28902 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_peer_set_active),
28903 (gst_pad_check_pull_range), (gst_pad_pull_range):
28905 Simplify pad activation.
28906 Added function to check if pull_range can be performed.
28907 Error out when pulling inactive or flushing pads.
28908 Removed const from refcounted types as it does not make sense.
28909 Simplify pad templates in basesink
28910 Added base class for simple 1-to-1 transforms.
28911 Make identity subclass the base transform.
28913 2005-03-29 Andy Wingo <wingo@pobox.com>
28915 * docs/libs/gstreamer-libs-overrides.txt:
28916 * docs/gst/gstreamer-overrides.txt: Add these files to CVS. Now I
28917 really don't understand what's going on, but like whatever. I want
28920 * docs/gst/Makefile.am:
28921 * docs/libs/Makefile.am: Dist the overrides files.
28923 * check/Makefile.am (clean-local): Remove .libs directories.
28925 * gst/elements/Makefile.am (EXTRA_DIST): Add all the attic
28926 elements to EXTRA_DIST, so po/ files are happy.
28928 * po/POTFILES.in: Er, remove it here.
28930 * po/POTFILES: Remove gstspider.c.
28932 * configure.ac (AC_OUTPUT): Add missing testsuite makefiles.
28934 * docs/libs/gstreamer-libs-docs.sgml:
28935 * docs/libs/gstreamer-libs-sections.txt: Remove the section on
28938 * tests/complexity.c (main): Set the length of the preroll queue
28939 on the sinks to prevent a lockup.
28941 * libs/gst/dataprotocol/Makefile.am:
28942 * libs/gst/dataprotocol/dataprotocol-test.c: Remove test, it's
28943 the same as the one in check/gst-libs/gdp.c.
28945 * po/, docs/gst/: Commit automatic changes to docs and po files.
28947 * gst/elements/Makefile.am (libgstelements_la_LDFLAGS): Link to
28948 the versioned libgstbase.
28950 * check/Makefile.am: Depend on an unversioned gst-register, seems
28951 to make autoconf happier.
28953 * gst/base/Makefile.am: Make libgstbase a versioned lib.
28955 2005-03-28 Wim Taymans <wim@fluendo.com>
28958 * docs/design/part-gstelement.txt:
28959 * docs/design/part-negotiation.txt:
28960 * docs/design/part-preroll.txt:
28961 * docs/design/part-scheduling.txt:
28962 * docs/design/part-states.txt:
28964 * gst/base/Makefile.am:
28966 * gst/base/gstbasesink.c: (gst_basesink_get_template),
28967 (gst_basesink_base_init), (gst_basesink_class_init),
28968 (gst_basesink_pad_getcaps), (gst_basesink_pad_setcaps),
28969 (gst_basesink_pad_buffer_alloc), (gst_basesink_init),
28970 (gst_basesink_set_pad_functions),
28971 (gst_basesink_set_all_pad_functions), (gst_basesink_set_clock),
28972 (gst_basesink_set_property), (gst_basesink_get_property),
28973 (gst_base_sink_get_template), (gst_base_sink_get_caps),
28974 (gst_base_sink_set_caps), (gst_base_sink_buffer_alloc),
28975 (gst_basesink_preroll_queue_push),
28976 (gst_basesink_preroll_queue_empty),
28977 (gst_basesink_preroll_queue_flush), (gst_basesink_finish_preroll),
28978 (gst_basesink_event), (gst_basesink_get_times),
28979 (gst_basesink_do_sync), (gst_basesink_handle_buffer),
28980 (gst_basesink_chain_unlocked), (gst_basesink_chain),
28981 (gst_basesink_loop), (gst_basesink_activate),
28982 (gst_basesink_change_state):
28983 * gst/base/gstbasesink.h:
28984 * gst/elements/Makefile.am:
28985 * gst/elements/gstfakesink.c: (gst_fakesink_base_init),
28986 (gst_fakesink_class_init), (gst_fakesink_init),
28987 (gst_fakesink_set_property), (gst_fakesink_get_property),
28988 (gst_fakesink_get_times), (gst_fakesink_event),
28989 (gst_fakesink_preroll), (gst_fakesink_render),
28990 (gst_fakesink_change_state):
28991 * gst/elements/gstfakesink.h:
28992 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
28993 (gst_bin_get_state), (gst_bin_change_state), (gst_bin_send_event):
28994 * gst/gstelement.c: (gst_element_add_pad),
28995 (gst_element_get_state_func), (gst_element_abort_state),
28996 (gst_element_commit_state), (gst_element_lost_state),
28997 (gst_element_set_state), (gst_element_pads_activate):
28998 * gst/gstpad.c: (gst_pad_set_active), (gst_pad_event_default):
28999 * gst/gstpipeline.c: (gst_pipeline_send_event),
29000 (gst_pipeline_change_state):
29001 Added state change code.
29002 Added/updated docs.
29003 Added sink base class, make fakesink extend the base class.
29004 Small cleanups in GstPipeline.
29006 2005-03-26 David Schleef <ds@schleef.org>
29008 * gst/Makefile.am: remove gstcpu.[ch]. The gst_cpu functionality
29009 is broken and should be implemented in a different library.
29010 * gst/gst.c: (init_post): don't call _gst_cpu_initialize()
29011 * gst/gst.h: remove gstcpu.h
29012 * gst/gstcpu.c: remove
29013 * gst/gstcpu.h: remove
29014 * gst/Makefile.am.future: Remove this file. It's ancient.
29016 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29018 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_manager),
29019 (gst_bin_send_event):
29020 Add default event/set_manager handlers. The set_manager handler
29021 takes care that the manager is distributed over kids that were
29022 already in the bin before the manager was set. The event handler
29023 is a utility virtual function that sends the event over all sinks,
29024 so that gst_element_send_event (bin, event); has the expected
29026 * gst/gstpad.c: (gst_pad_event_default):
29027 Re-install default event handling for discontinuities, so that
29028 seeking works without requiring hacks in applications or extra
29030 * gst/gstpipeline.c: (gst_pipeline_class_init),
29031 (gst_pipeline_send_event):
29032 Half hack, half utility: set a pipeline to PAUSED for seek events,
29033 since that is the only way we can guarantee a/v sync. Means that
29034 you can do gst_element_seek (pipeline, method, pos); on a pipeline
29035 and it "just works".
29037 2005-03-25 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
29039 * gst/gstpipeline.c: (gst_pipeline_use_clock):
29040 Lock/unlock mismatch.
29042 2005-03-25 Thomas Vander Stichele <thomas at apestaart dot org>
29044 * docs/faq/gst-uninstalled:
29045 add gst-plugins-base
29046 * docs/gst/Makefile.am:
29047 don't error out until docs are fixed
29048 * docs/gst/gstreamer.types:
29051 2005-03-22 Wim Taymans <wim@fluendo.com>
29053 * check/Makefile.am:
29054 * check/gst/gstmessage.c: (START_TEST), (gst_data_suite), (main):
29055 * gst/gststructure.c: (gst_structure_set_valist),
29056 (gst_structure_copy_conditional):
29057 Activated more tests.
29058 Added message test.
29059 Added G_TYPE_POINTER to GstStructure.
29062 2005-03-22 Wim Taymans <wim@fluendo.com>
29064 * docs/design/part-TODO.txt:
29065 * docs/design/part-events.txt:
29066 * docs/design/part-gstbin.txt:
29067 * docs/design/part-gstbus.txt:
29068 * docs/design/part-gstpipeline.txt:
29069 * docs/design/part-messages.txt:
29071 * gst/gstmessage.c:
29074 2005-03-21 Wim Taymans <wim@fluendo.com>
29076 * gst/gstbus.c: (gst_bus_post):
29077 Fix copy-and-paste error.
29079 2005-03-21 Wim Taymans <wim@fluendo.com>
29081 * check/Makefile.am:
29083 * gst/elements/Makefile.am:
29084 * gst/elements/gstelements.c:
29085 * gst/elements/gstfakesink.c: (gst_fakesink_init),
29086 (gst_fakesink_event), (gst_fakesink_chain):
29087 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init),
29088 (gst_fakesrc_init), (gst_fakesrc_get_event_mask),
29089 (gst_fakesrc_event_handler), (gst_fakesrc_set_pad_functions),
29090 (gst_fakesrc_set_all_pad_functions), (gst_fakesrc_request_new_pad),
29091 (gst_fakesrc_set_property), (gst_fakesrc_get_property),
29092 (gst_fakesrc_get_range_unlocked), (gst_fakesrc_get_range),
29093 (gst_fakesrc_loop), (gst_fakesrc_activate),
29094 (gst_fakesrc_change_state):
29095 * gst/elements/gstfakesrc.h:
29096 * gst/elements/gstfilesrc.c: (gst_filesrc_init),
29097 (gst_filesrc_get_read), (gst_filesrc_getrange), (gst_filesrc_get),
29098 (gst_filesrc_open_file), (gst_filesrc_loop),
29099 (gst_filesrc_activate), (gst_filesrc_change_state),
29100 (filesrc_find_peek), (filesrc_find_suggest),
29101 (gst_filesrc_type_find):
29102 * gst/elements/gstidentity.c: (gst_identity_finalize),
29103 (gst_identity_class_init), (gst_identity_init),
29104 (gst_identity_proxy_getcaps), (identity_queue_push),
29105 (identity_queue_pop), (identity_queue_flush), (gst_identity_event),
29106 (gst_identity_getrange), (gst_identity_chain),
29107 (gst_identity_sink_loop), (gst_identity_src_loop),
29108 (gst_identity_handle_buffer), (gst_identity_set_dataflow_funcs),
29109 (gst_identity_set_property), (gst_identity_get_property),
29110 (gst_identity_change_state):
29111 * gst/elements/gstidentity.h:
29112 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_init),
29113 (gst_tee_update_pad_functions), (gst_tee_request_new_pad),
29114 (gst_tee_set_property), (gst_tee_get_property), (gst_tee_do_push),
29115 (gst_tee_handle_buffer), (gst_tee_chain), (gst_tee_loop),
29116 (gst_tee_sink_activate):
29117 * gst/elements/gsttee.h:
29118 * gst/gst.c: (gst_register_core_elements), (init_post):
29120 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_bus),
29121 (gst_bin_set_scheduler), (gst_bin_add_func), (gst_bin_add),
29122 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_get_state),
29123 (gst_bin_change_state):
29125 * gst/gstbus.c: (gst_bus_get_type), (gst_bus_class_init),
29126 (gst_bus_init), (gst_bus_dispose), (gst_bus_set_property),
29127 (gst_bus_get_property), (gst_bus_new), (gst_bus_post),
29128 (gst_bus_have_pending), (gst_bus_pop), (gst_bus_peek),
29129 (gst_bus_set_sync_handler), (gst_bus_create_watch),
29130 (bus_watch_callback), (bus_watch_destroy),
29131 (gst_bus_add_watch_full), (gst_bus_add_watch), (poll_handler),
29132 (poll_timeout), (gst_bus_poll):
29136 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29137 (gst_element_post_message), (gst_element_message_full),
29138 (gst_element_get_state_func), (gst_element_get_state),
29139 (gst_element_abort_state), (gst_element_commit_state),
29140 (gst_element_lost_state), (gst_element_set_state),
29141 (gst_element_pads_activate), (gst_element_change_state),
29142 (gst_element_dispose), (gst_element_set_manager_func),
29143 (gst_element_set_bus_func), (gst_element_set_scheduler_func),
29144 (gst_element_set_manager), (gst_element_get_manager),
29145 (gst_element_set_bus), (gst_element_get_bus),
29146 (gst_element_set_scheduler), (gst_element_get_scheduler):
29147 * gst/gstelement.h:
29148 * gst/gstevent.c: (gst_event_new_segment_seek),
29149 (gst_event_new_flush):
29151 * gst/gstmessage.c: (_gst_message_initialize), (_gst_message_copy),
29152 (_gst_message_free), (gst_message_get_type), (gst_message_new),
29153 (gst_message_new_eos), (gst_message_new_error),
29154 (gst_message_new_warning), (gst_message_new_tag),
29155 (gst_message_new_state_changed), (gst_message_new_application),
29156 (gst_message_get_structure), (gst_message_parse_tag),
29157 (gst_message_parse_state_changed), (gst_message_parse_error),
29158 (gst_message_parse_warning):
29159 * gst/gstmessage.h:
29160 * gst/gstpad.c: (gst_real_pad_class_init), (gst_real_pad_init),
29161 (gst_real_pad_set_property), (gst_pad_set_active),
29162 (gst_pad_is_active), (gst_pad_set_blocked_async),
29163 (gst_pad_set_blocked), (gst_pad_is_blocked),
29164 (gst_pad_set_activate_function), (gst_pad_set_loop_function),
29165 (gst_pad_set_getrange_function), (gst_pad_set_acceptcaps_function),
29166 (gst_pad_set_fixatecaps_function), (gst_pad_set_setcaps_function),
29167 (gst_pad_unlink), (gst_pad_link_prepare_filtered),
29168 (gst_pad_link_filtered), (gst_pad_relink_filtered),
29169 (gst_real_pad_get_caps_unlocked), (gst_pad_get_caps),
29170 (gst_pad_peer_get_caps), (gst_pad_fixate_caps),
29171 (gst_pad_accept_caps), (gst_pad_peer_accept_caps),
29172 (gst_pad_set_caps), (gst_pad_configure_sink),
29173 (gst_pad_configure_src), (gst_pad_get_negotiated_caps),
29174 (gst_pad_get_filter_caps), (gst_pad_alloc_buffer),
29175 (gst_real_pad_dispose), (gst_real_pad_finalize),
29176 (handle_pad_block), (gst_pad_push), (gst_pad_pull_range),
29177 (gst_pad_event_default_dispatch), (gst_pad_event_default),
29178 (gst_pad_push_event), (gst_pad_send_event), (gst_pad_get_formats):
29180 * gst/gstpipeline.c: (gst_pipeline_init), (is_eos),
29181 (pipeline_bus_handler), (gst_pipeline_change_state),
29182 (gst_pipeline_get_scheduler), (gst_pipeline_get_bus):
29183 * gst/gstpipeline.h:
29185 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_init),
29186 (gst_queue_finalize), (gst_queue_getcaps), (gst_queue_link_sink),
29187 (gst_queue_link_src), (gst_queue_bufferalloc),
29188 (gst_queue_locked_flush), (gst_queue_handle_sink_event),
29189 (gst_queue_is_empty), (gst_queue_is_filled), (gst_queue_chain),
29190 (gst_queue_loop), (gst_queue_handle_src_event),
29191 (gst_queue_handle_src_query), (gst_queue_src_activate),
29192 (gst_queue_change_state):
29194 * gst/gstscheduler.c: (gst_scheduler_init),
29195 (gst_scheduler_dispose), (gst_scheduler_create_task),
29196 (gst_scheduler_factory_create):
29197 * gst/gstscheduler.h:
29198 * gst/gststructure.c: (gst_structure_get_type),
29199 (gst_structure_copy_conditional):
29200 * gst/gststructure.h:
29201 * gst/gsttaginterface.h:
29202 * gst/gsttask.c: (gst_task_get_type), (gst_task_class_init),
29203 (gst_task_init), (gst_task_dispose), (gst_task_create),
29204 (gst_task_get_state), (gst_task_start), (gst_task_stop),
29210 * gst/schedulers/Makefile.am:
29211 * gst/schedulers/cothreads_compat.h:
29212 * gst/schedulers/entryscheduler.c:
29213 * gst/schedulers/faircothreads.c:
29214 * gst/schedulers/faircothreads.h:
29215 * gst/schedulers/fairscheduler.c:
29216 * gst/schedulers/gstbasicscheduler.c:
29217 * gst/schedulers/gstoptimalscheduler.c:
29218 * gst/schedulers/gthread-cothreads.h:
29219 * gst/schedulers/threadscheduler.c:
29220 (gst_thread_scheduler_task_get_type),
29221 (gst_thread_scheduler_task_class_init),
29222 (gst_thread_scheduler_task_init),
29223 (gst_thread_scheduler_task_start),
29224 (gst_thread_scheduler_task_stop),
29225 (gst_thread_scheduler_task_pause), (gst_thread_scheduler_get_type),
29226 (gst_thread_scheduler_class_init), (gst_thread_scheduler_func),
29227 (gst_thread_scheduler_init), (gst_thread_scheduler_create_task),
29228 (gst_thread_scheduler_setup), (gst_thread_scheduler_reset),
29230 * libs/gst/Makefile.am:
29231 * libs/gst/bytestream/bytestream.c: (gst_bytestream_get_next_buf):
29232 * libs/gst/bytestream/filepad.c: (gst_file_pad_init),
29233 (gst_file_pad_parent_set):
29234 * libs/gst/dataprotocol/dataprotocol.c: (gst_dp_packet_from_event),
29235 (gst_dp_event_from_packet):
29236 * tests/complexity.c: (main):
29237 * tests/mass_elements.c: (main):
29238 * testsuite/states/locked.c: (message_received), (main):
29239 * testsuite/states/parent.c: (main):
29240 * tools/gst-inspect.c: (print_element_flag_info),
29241 (print_implementation_info), (print_pad_info):
29242 * tools/gst-launch.c: (check_intr), (play_handler), (event_loop),
29244 * tools/gst-md5sum.c: (event_loop), (main):
29245 * tools/gst-typefind.c: (main):
29246 * tools/gst-xmlinspect.c: (print_element_info):
29248 Added GstBus for mainloop integration.
29249 Added GstMessage for sending notifications on the bus.
29250 Added GstTask as an abstraction for pipeline entry points.
29252 Removed Schedulers.
29253 Simplified GstQueue for multithreaded core.
29254 Made _link threadsafe, removed old capsnego.
29255 Added STREAM_LOCK and PREROLL_LOCK in GstPad.
29256 Added pad blocking functions.
29257 Reworked scheduling functions in GstPad to prepare for
29258 scheduling updates soon.
29259 Moved events out of data stream.
29260 Simplified GstEvent types.
29261 Added return values to push/pull.
29262 Removed clocking from GstElement.
29263 Added prototypes for state change function for next merge.
29264 Removed iterate from bins and state change management.
29265 Fixed some elements, disabled others for now.
29266 Fixed -inspect and -launch.
29267 Added check for GstBus.
29269 2005-03-10 Wim Taymans <wim@fluendo.com>
29271 * docs/design/part-MT-refcounting.txt:
29272 * docs/design/part-clocks.txt:
29273 * docs/design/part-gstelement.txt:
29274 * docs/design/part-gstobject.txt:
29275 * docs/design/part-standards.txt:
29276 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29277 (gst_bin_remove_func), (gst_bin_remove):
29281 * testsuite/clock/clock1.c: (main):
29282 * testsuite/clock/clock2.c: (gst_clock_debug), (element_wait),
29284 * testsuite/dlopen/loadgst.c: (do_test):
29285 * testsuite/refcounting/bin.c: (add_remove_test1),
29286 (add_remove_test2), (main):
29287 * testsuite/refcounting/element.c: (main):
29288 * testsuite/refcounting/element_pad.c: (main):
29289 * testsuite/refcounting/pad.c: (main):
29290 * tools/gst-launch.c: (sigint_handler_sighandler):
29291 * tools/gst-typefind.c: (main):
29293 Added doc about clock.
29294 removed gst_bin_iterate_recurse_up(), marked methods
29296 Fix more testsuites.
29298 2005-03-09 Wim Taymans <wim@fluendo.com>
29300 * gst/gstpad.c: (gst_pad_get_direction),
29301 (_gst_pad_default_fixate_foreach), (gst_pad_collectv),
29302 (gst_pad_collect_valist):
29303 * testsuite/bins/interface.c: (main):
29304 * testsuite/caps/audioscale.c: (test_caps):
29305 * testsuite/caps/caps.c: (test1), (test2), (test3):
29306 * testsuite/caps/deserialize.c: (main):
29307 * testsuite/caps/enumcaps.c: (main):
29308 * testsuite/caps/filtercaps.c: (main):
29309 * testsuite/caps/intersect2.c: (main):
29310 * testsuite/caps/random.c: (main):
29311 * testsuite/caps/renegotiate.c: (my_fixate), (main):
29312 * testsuite/caps/sets.c: (check_caps):
29313 * testsuite/caps/simplify.c: (check_caps), (main):
29314 * testsuite/caps/subtract.c: (check_caps):
29315 Fix _pad_get_direction wrt ghostpads.
29316 Fix caps testsuite.
29318 2005-03-09 Wim Taymans <wim@fluendo.com>
29320 * check/Makefile.am:
29321 * check/gst/gstbin.c: (START_TEST), (gst_bin_suite), (main):
29322 * check/gst/gstsystemclock.c: (START_TEST), (gst_clock_debug),
29323 (ok_callback), (error_callback), (gst_systemclock_suite), (main):
29324 * gst/gstbin.c: (gst_bin_class_init), (gst_bin_set_index_func),
29325 (gst_bin_set_clock_func), (gst_bin_get_clock_func),
29326 (gst_bin_add_func), (gst_bin_add), (gst_bin_remove_func),
29327 (gst_bin_remove), (gst_bin_iterate_recurse_up),
29328 (bin_element_is_sink), (gst_bin_iterate_sinks),
29329 (gst_bin_iterate_all_by_interface):
29331 * gst/gstelement.c: (gst_element_init), (gst_element_error_full),
29332 (gst_element_change_state), (gst_element_dispose),
29333 (gst_element_finalize), (gst_element_set_loop_function):
29334 * gst/gstelement.h:
29335 * gst/gstiterator.c: (find_custom_fold_func):
29336 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29337 (gst_pad_collectv), (gst_pad_collect_valist),
29338 (gst_pad_template_new):
29339 * gst/gstpipeline.c: (gst_pipeline_class_init),
29340 (gst_pipeline_dispose), (gst_pipeline_set_property),
29341 (gst_pipeline_get_property), (gst_pipeline_get_clock_func),
29342 (gst_pipeline_get_clock), (gst_pipeline_use_clock),
29343 (gst_pipeline_set_clock), (gst_pipeline_auto_clock):
29345 * gst/schedulers/entryscheduler.c:
29346 * gst/schedulers/gstbasicscheduler.c:
29347 (gst_basic_scheduler_cothreaded_chain),
29348 (gst_basic_scheduler_chain_add_element):
29349 * testsuite/bins/interface.c: (main):
29351 Added GstSystemClock test.
29352 Implemented clock distribution code in GstBin.
29353 Implemented iterate sinks method for future use.
29354 Rearranged gstelement.h
29355 Fix GstIterator comparison bug.
29356 Moved some code to GstPipeline, mostly clocking related.
29358 2005-03-09 Wim Taymans <wim@fluendo.com>
29361 * gst/gst_private.h:
29362 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29363 (gst_bin_remove_func), (gst_bin_remove),
29364 (gst_bin_get_by_name_recurse_up):
29365 * gst/gstclock.c: (gst_clock_id_ref), (gst_clock_id_unref),
29366 (gst_clock_id_compare_func), (gst_clock_id_wait),
29367 (gst_clock_id_wait_async), (gst_clock_init),
29368 (gst_clock_adjust_unlocked), (gst_clock_get_time):
29369 * gst/gstelement.h:
29370 * gst/gstinfo.c: (_gst_debug_init):
29372 * gst/gstpad.c: (_gst_pad_default_fixate_foreach),
29373 (gst_pad_collectv), (gst_pad_collect_valist), (gst_pad_query):
29375 Bump version number, we're now 0.9.0
29376 Add future debugging category.
29377 Fix NULL _unref() in _get_by_name_recurse_up
29378 Rearrange gstpad.h.
29381 2005-03-08 Wim Taymans <wim@fluendo.com>
29383 * gst/elements/gstaggregator.c: (gst_aggregator_class_init):
29384 * gst/elements/gstfakesink.c: (gst_fakesink_class_init):
29385 * gst/elements/gstfakesrc.c: (gst_fakesrc_class_init):
29386 * gst/elements/gstfdsink.c: (gst_fdsink_class_init):
29387 * gst/elements/gstfdsrc.c: (gst_fdsrc_class_init):
29388 * gst/elements/gstfilesink.c: (gst_filesink_class_init):
29389 * gst/elements/gstfilesrc.c: (gst_filesrc_class_init):
29390 * gst/elements/gstidentity.c: (gst_identity_class_init):
29391 * gst/elements/gstmd5sink.c: (gst_md5sink_class_init):
29392 * gst/elements/gstmultifilesrc.c: (gst_multifilesrc_class_init):
29393 * gst/elements/gstshaper.c: (gst_shaper_class_init):
29394 * gst/elements/gststatistics.c: (gst_statistics_class_init):
29395 * gst/elements/gsttee.c: (gst_tee_class_init), (gst_tee_getcaps),
29397 * gst/gstelement.c: (gst_element_class_init),
29398 (gst_element_base_class_init), (gst_element_init),
29399 (gst_element_get_random_pad), (gst_element_wait_state_change),
29400 (gst_element_change_state), (gst_element_dispose),
29401 (gst_element_finalize), (gst_element_set_loop_function):
29402 * gst/gstelement.h:
29403 * gst/gstqueue.c: (gst_queue_class_init), (gst_queue_link_src):
29404 * gst/gstthread.c: (gst_thread_class_init),
29405 (gst_thread_release_children_locks), (gst_thread_change_state):
29406 * gst/schedulers/gstbasicscheduler.c:
29407 (gst_basic_scheduler_loopfunc_wrapper),
29408 (gst_basic_scheduler_chain_wrapper),
29409 (gst_basic_scheduler_src_wrapper),
29410 (gst_basic_scheduler_remove_element):
29411 * gst/schedulers/gstoptimalscheduler.c: (schedule_group):
29412 Remove threadsafe properties. Fix elements because GObject
29413 complains when installing a property before declaring a
29414 set/get_property handler.
29415 Rearrange gstelement.h file, use STATE macros for state locks.
29416 Free mutexes in the finalize method instead of dispose.
29418 2005-03-08 Wim Taymans <wim@fluendo.com>
29420 * check/gst/gstobject.c: (START_TEST), (gst_object_suite):
29421 * gst/gstthread.c: (gst_thread_release_children_locks):
29422 Added parentage check.
29423 Fix build og GstThread again.
29425 2005-03-08 Wim Taymans <wim@fluendo.com>
29427 * docs/design/part-MT-refcounting.txt:
29428 * docs/design/part-conventions.txt:
29429 * docs/design/part-gstobject.txt:
29430 * docs/design/part-relations.txt:
29431 * docs/design/part-standards.txt:
29432 * gst/gstbin.c: (gst_bin_add_func), (gst_bin_add),
29433 (gst_bin_remove_func), (gst_bin_remove), (gst_bin_iterate_recurse),
29434 (gst_bin_get_by_name), (gst_bin_get_by_interface),
29435 (gst_bin_iterate_all_by_interface):
29438 * gst/gstelement.c: (gst_element_class_init),
29439 (gst_element_change_state), (gst_element_set_loop_function):
29440 * gst/gstelement.h:
29441 * gst/gstiterator.c:
29442 * gst/gstobject.c: (gst_object_class_init), (gst_object_ref),
29443 (gst_object_unref), (gst_object_sink), (gst_object_dispose),
29444 (gst_object_dispatch_properties_changed), (gst_object_set_name),
29445 (gst_object_set_parent), (gst_object_unparent),
29446 (gst_object_check_uniqueness):
29448 Docs updates, clean up some headers.
29450 2005-03-07 Wim Taymans <wim@fluendo.com>
29452 * check/.cvsignore:
29453 * check/Makefile.am:
29454 * check/gst-libs/.cvsignore:
29455 * check/gst-libs/gdp.c: (START_TEST), (gst_object_suite), (main):
29456 * check/gst/.cvsignore:
29457 * check/gst/gstbus.c: (pound_bus_with_messages), (pull_messages),
29458 (START_TEST), (gstbus_suite), (main):
29459 * check/gst/gstcaps.c: (START_TEST), (gst_caps_suite), (main):
29460 * check/gst/gstdata.c: (START_TEST), (thread_ref), (thread_unref),
29461 (gst_data_suite), (main):
29462 * check/gst/gstiterator.c: (make_list_of_ints), (START_TEST),
29463 (add_fold_func), (gstiterator_suite), (main):
29464 * check/gst/gstobject.c: (gst_fake_object_get_type), (START_TEST),
29465 (thread_name_object), (thread_name_object_default),
29466 (gst_object_name_compare), (gst_object_suite), (main):
29467 * check/gst/gstpad.c: (START_TEST), (thread_link_unlink),
29468 (gst_pad_suite), (main):
29469 * check/gstcheck.c: (gst_check_log_message_func),
29470 (gst_check_log_critical_func), (gst_check_init):
29471 * check/gstcheck.h:
29472 * check/pipelines/simple_launch_lines.c: (setup_pipeline),
29473 (run_pipeline), (START_TEST), (simple_launch_lines_suite), (main):
29476 2005-03-07 Wim Taymans <wim@fluendo.com>
29478 * gst/gstiterator.c: (gst_iterator_init), (gst_iterator_new),
29479 (gst_list_iterator_next), (gst_list_iterator_resync),
29480 (gst_list_iterator_free), (gst_iterator_new_list),
29481 (gst_iterator_pop), (gst_iterator_next), (gst_iterator_resync),
29482 (gst_iterator_free), (gst_iterator_push), (filter_next),
29483 (filter_resync), (filter_uninit), (filter_free),
29484 (gst_iterator_filter), (gst_iterator_fold), (foreach_fold_func),
29485 (gst_iterator_foreach), (find_custom_fold_func),
29486 (gst_iterator_find_custom):
29487 * gst/gstiterator.h:
29488 Added missing files.
29490 2005-03-07 Wim Taymans <wim@fluendo.com>
29494 * docs/design/part-MT-refcounting.txt:
29495 * docs/design/part-conventions.txt:
29496 * docs/design/part-gstobject.txt:
29497 * docs/design/part-relations.txt:
29498 * examples/mixer/mixer.c: (main):
29499 * examples/thread/thread.c: (eos), (main):
29501 * gst/autoplug/gstsearchfuncs.c: (gst_autoplug_caps_intersect):
29502 * gst/autoplug/gstspider.c: (gst_spider_identity_plug),
29503 (gst_spider_plug_from_srcpad):
29504 * gst/autoplug/gstspideridentity.c: (gst_spider_identity_getcaps),
29505 (gst_spider_identity_change_state),
29506 (gst_spider_identity_sink_loop_type_finding):
29507 * gst/elements/gstfakesrc.c: (gst_fakesrc_loop):
29508 * gst/elements/gstidentity.c: (gst_identity_init):
29509 * gst/elements/gsttee.c: (gst_tee_init), (gst_tee_getcaps),
29510 (gst_tee_link), (gst_tee_request_new_pad), (gst_tee_chain):
29511 * gst/elements/gsttypefindelement.c: (free_entry):
29514 * gst/gstbin.c: (gst_bin_init), (gst_bin_get_clock_func),
29515 (gst_bin_set_clock_func), (gst_bin_auto_clock),
29516 (gst_bin_set_index), (gst_bin_set_element_sched),
29517 (gst_bin_unset_element_sched), (gst_bin_add_func), (gst_bin_add),
29518 (gst_bin_remove_func), (gst_bin_remove), (iterate_child),
29519 (gst_bin_iterate_elements), (iterate_child_recurse),
29520 (gst_bin_iterate_recurse), (gst_bin_dispose), (compare_name),
29521 (gst_bin_get_by_name), (gst_bin_get_by_name_recurse_up),
29522 (compare_interface), (gst_bin_get_by_interface),
29523 (gst_bin_iterate_all_by_interface), (gst_bin_iterate_func):
29525 * gst/gstbuffer.c: (gst_buffer_get_type), (_gst_buffer_sub_free),
29526 (gst_buffer_default_free), (gst_buffer_default_copy),
29527 (gst_buffer_new), (gst_buffer_get_caps), (gst_buffer_set_caps),
29528 (gst_buffer_create_sub):
29530 * gst/gstcaps.c: (gst_caps_get_type), (gst_caps_new_empty),
29531 (_gst_caps_free), (gst_caps_make_writable), (gst_caps_ref),
29532 (gst_caps_unref), (gst_static_caps_get),
29533 (gst_caps_remove_and_get_structure), (gst_caps_append),
29534 (gst_caps_append_structure), (gst_caps_remove_structure),
29535 (gst_caps_copy_nth), (gst_caps_set_simple),
29536 (gst_caps_set_simple_valist), (gst_caps_is_fixed_foreach),
29537 (gst_structure_is_equal_foreach), (gst_caps_is_subset),
29538 (gst_caps_structure_intersect_field), (gst_caps_intersect),
29539 (gst_caps_structure_subtract_field), (gst_caps_subtract),
29540 (gst_caps_normalize_foreach), (gst_caps_compare_structures),
29541 (gst_caps_structure_figure_out_union),
29542 (gst_caps_switch_structures), (gst_caps_do_simplify),
29543 (gst_caps_replace), (gst_caps_from_string),
29544 (gst_caps_copy_conditional):
29546 * gst/gstclock.c: (gst_clock_entry_new), (gst_clock_id_ref),
29547 (_gst_clock_id_free), (gst_clock_id_unref),
29548 (gst_clock_id_compare_func), (gst_clock_id_wait),
29549 (gst_clock_id_wait_async), (gst_clock_class_init),
29550 (gst_clock_init), (gst_clock_dispose), (gst_clock_adjust_unlocked),
29551 (gst_clock_get_time), (gst_clock_set_time_adjust),
29552 (gst_clock_set_property), (gst_clock_get_property):
29555 * gst/gstcpu.c: (_gst_cpu_initialize_i386), (gst_cpu_get_flags):
29556 * gst/gstdata.c: (gst_data_is_writable), (gst_data_copy_on_write):
29558 * gst/gstelement.c: (gst_element_class_init), (gst_element_init),
29559 (gst_element_requires_clock), (gst_element_provides_clock),
29560 (gst_element_set_clock), (gst_element_clock_wait),
29561 (gst_element_wait), (gst_element_set_time_delay),
29562 (gst_element_is_indexable), (gst_element_add_pad),
29563 (gst_element_add_ghost_pad), (gst_element_remove_pad),
29564 (pad_compare_name), (gst_element_get_static_pad),
29565 (gst_element_request_pad), (gst_element_get_request_pad),
29566 (gst_element_get_pad), (iterate_pad), (gst_element_iterate_pads),
29567 (gst_element_class_get_pad_template_list),
29568 (gst_element_class_get_pad_template), (gst_element_error_func),
29569 (gst_element_get_random_pad), (gst_element_get_event_masks),
29570 (gst_element_send_event), (gst_element_seek),
29571 (gst_element_get_query_types), (gst_element_query),
29572 (gst_element_get_formats), (gst_element_convert),
29573 (gst_element_is_locked_state), (gst_element_set_locked_state),
29574 (gst_element_sync_state_with_parent), (gst_element_change_state),
29575 (gst_element_finalize), (gst_element_yield),
29576 (gst_element_interrupt), (gst_element_set_scheduler),
29577 (gst_element_get_scheduler), (gst_element_set_loop_function):
29578 * gst/gstelement.h:
29580 * gst/gstformat.c: (_gst_format_initialize), (gst_format_register),
29581 (gst_format_get_by_nick), (gst_format_get_details),
29582 (gst_format_iterate_definitions):
29584 * gst/gstindex.c: (gst_index_gtype_resolver):
29587 * gst/gstmemchunk.c: (gst_mem_chunk_alloc), (gst_mem_chunk_alloc0),
29588 (gst_mem_chunk_free):
29589 * gst/gstobject.c: (gst_object_class_init), (gst_object_init),
29590 (gst_object_ref), (gst_object_unref), (gst_object_sink),
29591 (gst_object_replace), (gst_object_dispose), (gst_object_finalize),
29592 (gst_object_dispatch_properties_changed),
29593 (gst_object_set_name_default), (gst_object_set_name),
29594 (gst_object_get_name), (gst_object_set_name_prefix),
29595 (gst_object_get_name_prefix), (gst_object_set_parent),
29596 (gst_object_get_parent), (gst_object_unparent),
29597 (gst_object_check_uniqueness), (gst_object_save_thyself),
29598 (gst_object_restore_thyself), (gst_object_real_restore_thyself),
29599 (gst_object_set_property), (gst_object_get_property),
29600 (gst_object_get_path_string):
29602 * gst/gstpad.c: (gst_pad_dispose), (gst_real_pad_class_init),
29603 (gst_real_pad_init), (gst_real_pad_get_property),
29604 (gst_pad_custom_new), (gst_pad_get_direction),
29605 (gst_pad_set_active), (gst_pad_is_active),
29606 (gst_pad_set_event_function), (gst_pad_is_linked),
29607 (gst_pad_link_free), (gst_pad_link_intersect),
29608 (gst_pad_link_fixate), (gst_pad_set_caps),
29609 (gst_pad_try_set_caps_nonfixed), (gst_pad_set_pad_template),
29610 (gst_pad_get_real_parent), (gst_pad_add_ghost_pad),
29611 (gst_pad_remove_ghost_pad), (_gst_pad_default_fixate_foreach),
29612 (gst_pad_link_unnegotiate), (gst_pad_proxy_fixate),
29613 (gst_pad_get_caps), (gst_pad_peer_get_caps),
29614 (gst_pad_get_pad_template_caps), (gst_pad_get_peer),
29615 (gst_pad_realize), (gst_pad_get_allowed_caps),
29616 (gst_real_pad_dispose), (gst_real_pad_finalize),
29617 (gst_pad_collectv), (gst_pad_collect_valist),
29618 (gst_pad_template_dispose), (gst_pad_template_new),
29619 (gst_pad_get_internal_links):
29621 * gst/gstpipeline.c: (gst_pipeline_dispose),
29622 (gst_pipeline_change_state):
29623 * gst/gstpipeline.h:
29625 * gst/gstpluginfeature.c: (gst_plugin_feature_get_name),
29626 (gst_plugin_feature_set_rank), (gst_plugin_feature_get_rank):
29627 * gst/gstpluginfeature.h:
29628 * gst/gstprobe.c: (gst_probe_dispatcher_dispatch):
29629 * gst/gstquery.c: (_gst_query_type_initialize),
29630 (gst_query_type_register), (gst_query_type_get_by_nick),
29631 (gst_query_type_get_details), (gst_query_type_iterate_definitions):
29633 * gst/gstqueue.c: (gst_queue_link_sink), (gst_queue_link_src):
29634 * gst/gstscheduler.c: (gst_scheduler_add_element),
29635 (gst_scheduler_factory_create):
29636 * gst/gststructure.c: (gst_structure_set_parent_refcount),
29637 (gst_structure_free), (gst_structure_set_name),
29638 (gst_structure_id_set_value), (gst_structure_set_value),
29639 (gst_structure_set_valist), (gst_structure_remove_field),
29640 (gst_structure_remove_fields),
29641 (gst_structure_remove_fields_valist),
29642 (gst_structure_remove_all_fields), (gst_structure_foreach),
29643 (gst_structure_map_in_place),
29644 (gst_caps_structure_fixate_field_nearest_int),
29645 (gst_caps_structure_fixate_field_nearest_double):
29646 * gst/gststructure.h:
29647 * gst/gstsystemclock.c: (gst_system_clock_class_init),
29648 (gst_system_clock_init), (gst_system_clock_dispose),
29649 (gst_system_clock_async_thread),
29650 (gst_system_clock_id_wait_unlocked), (gst_system_clock_id_wait),
29651 (gst_system_clock_id_wait_async), (gst_system_clock_id_unschedule):
29652 * gst/gstsystemclock.h:
29653 * gst/gsttag.c: (gst_tag_list_add_value_internal),
29654 (gst_tag_list_copy_foreach), (structure_foreach_wrapper):
29655 * gst/gsttaginterface.c:
29656 * gst/gstthread.c: (gst_thread_dispose),
29657 (gst_thread_release_children_locks), (gst_thread_change_state),
29658 (gst_thread_main_loop):
29659 * gst/gsttrashstack.h:
29660 * gst/gsttypefind.c: (gst_type_find_factory_dispose):
29662 * gst/gstutils.c: (gst_element_get_compatible_pad_template),
29663 (gst_element_request_pad), (gst_element_get_pad_from_template),
29664 (gst_element_request_compatible_pad),
29665 (gst_element_get_compatible_pad_filtered),
29666 (gst_element_get_compatible_pad), (gst_element_state_get_name),
29667 (gst_element_link_pads_filtered), (gst_element_link_filtered),
29668 (gst_element_link_many), (gst_element_link),
29669 (gst_element_link_pads), (gst_element_unlink_pads),
29670 (gst_element_unlink_many), (gst_element_unlink),
29671 (gst_pad_can_link_filtered), (gst_pad_can_link),
29672 (gst_pad_use_fixed_caps), (gst_pad_get_fixed_caps_func),
29673 (gst_object_default_error), (gst_bin_add_many),
29674 (gst_bin_remove_many), (gst_element_populate_std_props),
29675 (gst_element_class_install_std_props), (gst_buffer_merge),
29676 (gst_buffer_stamp), (intersect_caps_func), (gst_pad_proxy_getcaps),
29677 (link_fold_func), (gst_pad_proxy_setcaps):
29679 * gst/gstvalue.c: (gst_value_deserialize_string):
29680 * gst/parse/grammar.y:
29681 * gst/schedulers/gstbasicscheduler.c:
29682 (gst_basic_scheduler_cothreaded_chain),
29683 (gst_basic_scheduler_chain_recursive_add),
29684 (gst_basic_scheduler_pad_link):
29685 * gst/schedulers/gstoptimalscheduler.c:
29686 (get_group_schedule_function),
29687 (gst_opt_scheduler_state_transition),
29688 (gst_opt_scheduler_add_element), (element_get_reachables_func):
29689 * libs/gst/bytestream/bytestream.c:
29690 * libs/gst/dataprotocol/dataprotocol.c:
29691 (gst_dp_header_from_buffer):
29694 * tests/threadstate/threadstate2.c: (eos):
29695 * tools/gst-compprep.c: (main):
29696 * tools/gst-inspect.c: (print_field), (print_element_flag_info),
29697 (print_pad_info), (print_children_info):
29698 * tools/gst-launch.c: (idle_func), (main):
29699 * tools/gst-md5sum.c: (idle_func), (main):
29700 * tools/gst-xmlinspect.c: (print_element_info):
29701 First THREADED backport attempt, focusing on adding locks and
29702 making sure the API is threadsafe. Needs more work. More docs
29705 2005-02-24 Andy Wingo <wingo@pobox.com>
29707 * tests/bench-complexity.scm:
29708 * tests/complexity.gnuplot: New files, good for running complexity
29711 * tests/Makefile.am:
29712 * tests/complexity.c: New test, sets up N elements, at each level
29713 teeing into M streams per element. Eeeenteresting.
29715 * tests/mass_elements.gnuplot: gnuplot file for the mass_elements
29716 benchmark. Run as gnuplot mass_elements.gnuplot > foo.ps, after
29717 running bench-mass_elements.scm.
29719 * tests/bench-mass_elements.scm: New script, runs mass_elements
29720 for various numbers of identities, outputting the results to a
29721 file. Requires guile 1.6. Just for testing.
29723 2005-02-23 Thomas Vander Stichele <thomas at apestaart dot org>
29725 * gst/schedulers/fairscheduler.c:
29726 compile with debug disabled
29728 2005-02-22 Thomas Vander Stichele <thomas at apestaart dot org>
29731 hunting season on 0.9 is now OPEN